/* Лингора «Приведи друга» 2026-09-30 — one screen, one main action. Overflow-safe from 320px. */
.rf { align-items: stretch; text-align: center; gap: 14px; padding-top: 8px; }
.rf-hero { position: relative; align-self: center; width: 148px; height: 148px; margin-top: 4px; display: grid; place-items: center;
  border-radius: 44px; background: var(--grad-soft, rgba(168, 85, 247, .2)); border: 1px solid var(--line-2);
  box-shadow: 0 18px 48px rgba(192, 38, 142, .28), inset 0 1px 0 rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rf-lori { width: 118px; height: 118px; animation: rfBob 3.2s ease-in-out infinite; }
.rf-lori svg { width: 100%; height: 100%; overflow: visible; }
.rf-badge { position: absolute; right: -8px; top: -8px; min-width: 48px; height: 48px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px;
  background: var(--grad, linear-gradient(135deg, #8B2FD9, #C2268E)); color: #fff; font-weight: 900; font-size: 18px; box-shadow: 0 8px 22px rgba(194, 38, 142, .45); animation: rfPop .6s var(--spring, ease) .2s both; }
.rf-h { margin: 2px 0 0; font-size: clamp(28px, 9vw, 36px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; overflow-wrap: anywhere;
  background: linear-gradient(90deg, #F0C8FF, #FF6FB5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rf-sub { margin: -4px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.rf-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--pink-soft, rgba(255, 111, 181, .16));
  color: var(--ink); font-size: 13.5px; font-weight: 700; text-align: left; }
.rf-note svg { flex: 0 0 auto; color: var(--pink, #FF6FB5); }
.rf-note span { min-width: 0; overflow-wrap: anywhere; }
.rf-share { min-height: 60px; font-size: 19px; font-weight: 900; border-radius: 20px; gap: 10px; margin-top: 4px;
  background: var(--grad, linear-gradient(135deg, #8B2FD9, #C2268E)); border: 0; box-shadow: 0 12px 30px rgba(194, 38, 142, .38); }
.rf-share:active { transform: scale(.98); }
.rf-link { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.rf-url { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.rf-copy { flex: 0 0 auto; min-height: 48px; padding: 0 14px; border-radius: 14px; gap: 6px; font-weight: 800; }
.rf-count { align-self: center; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.rf-count b { color: var(--ink); font-weight: 900; }
.rf-rules { align-self: center; color: var(--muted); font-size: 13px; max-width: 100%; }
.rf-rules summary { cursor: pointer; list-style: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-weight: 700; text-decoration: underline dotted; text-underline-offset: 3px; }
.rf-rules summary::-webkit-details-marker { display: none; }
.rf-rules ul { margin: 0; padding: 0 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rf-rules li { overflow-wrap: anywhere; }
/* profile row */
.rf-lead { background: var(--grad, linear-gradient(135deg, #8B2FD9, #C2268E)) !important; color: #fff; }
.rf-pill { background: var(--pink-soft, rgba(255, 111, 181, .16)); color: var(--pink, #FF6FB5); border-color: transparent; font-weight: 800; }
/* home tile */
.invite .rf-tile-t { display: flex; flex-direction: column; min-width: 0; }
.invite .rf-tile-t .xs { color: var(--muted); }
@keyframes rfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes rfPop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 340px) { .rf-hero { width: 128px; height: 128px; border-radius: 38px; } .rf-lori { width: 100px; height: 100px; } .rf-copy span { display: none; } .rf-copy { width: 48px; padding: 0; } }
@media (prefers-reduced-motion: reduce) { .rf-lori, .rf-badge { animation: none !important; } }
