/* ================= SweetDate — design system ================= */
:root {
  --navy: #12164f;
  --navy-2: #1e2a78;
  --blue: #1f5fe0;
  --violet: #7b2ff7;
  --pink: #ff2e7e;
  --rose: #e11d74;
  --grad: linear-gradient(120deg, #1f5fe0 0%, #7b2ff7 48%, #ff2e7e 100%);
  --grad-soft: linear-gradient(120deg, rgba(31,95,224,.12), rgba(255,46,126,.12));
  --gold-1: #fff3c4;
  --gold-2: #f6d365;
  --gold-3: #d9a21b;
  --gold-4: #9c6b07;
  --gold: linear-gradient(135deg, #fff1b8 0%, #f6d365 30%, #d9a21b 62%, #fbe39a 100%);
  --ink: #141833;
  --ink-2: #4a5070;
  --ink-3: #8a90a8;
  --line: rgba(20, 24, 51, .1);
  --glass: rgba(255, 255, 255, .82);
  --glass-strong: rgba(255, 255, 255, .93);
  --glass-dark: rgba(14, 16, 44, .55);
  --ok: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;
  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --shadow: 0 10px 40px rgba(18, 22, 79, .18);
  --shadow-sm: 0 4px 16px rgba(18, 22, 79, .12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 68px;
  --tab-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #0d0f2a; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; margin: 0 0 .5em; line-height: 1.1; }
p { line-height: 1.65; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- page background (fixed, crisp, full-bleed) ---------- */
.page-bg { position: fixed; inset: 0; z-index: -2; background: #0d0f2a; }
.page-bg .bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.page-bg .bg-img.on { opacity: 1; }
.page-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,35,.45) 0%, rgba(8,10,35,0) 18%, rgba(8,10,35,0) 80%, rgba(8,10,35,.25) 100%); pointer-events: none; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 clamp(16px, 4vw, 48px); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header.solid { background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.brand .word b { font-weight: 800; background: linear-gradient(90deg, #ff6aa6, #ff2e7e); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.header.solid .brand .word { color: var(--navy); text-shadow: none; }
.header.solid .brand .word b { background: linear-gradient(90deg, var(--rose), var(--pink)); -webkit-background-clip: text; background-clip: text; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: rgba(255,255,255,.92); font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,.35); display: flex; align-items: center; gap: 7px; position: relative; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.18); }
.header.solid .nav a { color: var(--ink-2); text-shadow: none; }
.header.solid .nav a:hover { background: rgba(20,24,51,.06); }
.header.solid .nav a.active { color: var(--rose); background: rgba(225,29,116,.08); }
.header .spacer { flex: 1; }
.header .actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; position: relative; transition: background .2s, transform .15s; backdrop-filter: blur(8px); }
.icon-btn:hover { background: rgba(255,255,255,.3); }
.icon-btn:active { transform: scale(.94); }
.header.solid .icon-btn { background: rgba(20,24,51,.06); color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.badge-dot { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.nav .badge-dot { position: static; border: 0; margin-left: 2px; }
.avatar-btn { border: 0; padding: 0; background: none; border-radius: 50%; position: relative; }
.avatar-btn .crown-mini { z-index: 3; position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-8deg); width: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(225,29,116,.35); background-size: 160% 100%; background-position: 0 0; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 10px 30px rgba(225,29,116,.45); }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.3); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(20,24,51,.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(20,24,51,.1); }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }
.btn-gold { background: var(--gold); color: #4a3200; box-shadow: 0 8px 24px rgba(217,162,27,.4); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.header .btn { padding: 10px 20px; font-size: 14.5px; }

/* ---------- layout ---------- */
.app { padding-top: var(--header-h); min-height: 100vh; padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.wrap-sm { width: min(760px, 100% - 32px); margin: 0 auto; }
.page { padding: 28px 0 60px; animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.glass { background: var(--glass); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgba(255,255,255,.6); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card { background: var(--glass-strong); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 22px; border: 1px solid rgba(255,255,255,.7); }
.panel { padding: clamp(18px, 3vw, 32px); }
.page-title { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); font-size: clamp(28px, 4vw, 42px); margin-bottom: 6px; }
.page-sub { color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.5); margin: 0 0 22px; font-weight: 500; }
.title-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(10px); margin-bottom: 14px; }
.grid { display: grid; gap: 18px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap-row { flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.input, .select, .textarea { width: 100%; border: 1.5px solid rgba(20,24,51,.14); background: #fff; border-radius: 14px; padding: 13px 15px; font-size: 15.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,47,247,.14); }
.textarea { resize: vertical; min-height: 100px; }
.check { display: block; position: relative; padding-left: 30px; font-size: 14px; color: var(--ink-2); margin: 10px 0; cursor: pointer; line-height: 1.5; }
.check input { position: absolute; left: 0; top: 1px; width: 19px; height: 19px; accent-color: var(--rose); margin: 0; }
label.check[style*="border"] { padding-left: 42px; }
label.check[style*="border"] input { left: 13px; top: 12px; }
.seg { display: flex; background: rgba(20,24,51,.06); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 11px; border-radius: 11px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg button.on { background: #fff; color: var(--rose); box-shadow: var(--shadow-sm); }
.otp-boxes { display: flex; gap: 8px; justify-content: center; }
.otp-boxes input { width: 48px; height: 58px; text-align: center; font-size: 24px; font-weight: 800; border: 1.5px solid rgba(20,24,51,.16); border-radius: 14px; outline: none; background: #fff; }
.otp-boxes input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,47,247,.14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(20,24,51,.06); color: var(--ink-2); font-size: 13px; font-weight: 600; border: 1.5px solid transparent; }
button.chip:hover { background: rgba(20,24,51,.1); }
.chip.on { background: rgba(225,29,116,.1); color: var(--rose); border-color: rgba(225,29,116,.35); }
.chip.light { background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #d5d8e4; border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--rose); }
.switch input:checked + span::before { transform: translateX(20px); }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: 0; }
.setting b { display: block; font-size: 15px; }
.setting small { color: var(--ink-3); }

/* ---------- avatars ---------- */
.avatar { border-radius: 50%; object-fit: cover; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; flex-shrink: 0; overflow: hidden; position: relative; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.gold-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #e7b83a; }
.online-dot { position: absolute; right: 2%; bottom: 2%; width: 26%; height: 26%; max-width: 14px; max-height: 14px; border-radius: 50%; background: var(--ok); border: 2.5px solid #fff; }
.avatar-wrap { position: relative; flex-shrink: 0; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1f9cf0; color: #fff; vertical-align: -2px; }
.verified svg { width: 11px; height: 11px; }
.crown { display: inline-block; width: 20px; height: 20px; vertical-align: -3px; }
.gold-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; background: var(--gold); color: #4a3200; font-weight: 800; font-size: 12px; letter-spacing: .03em; box-shadow: 0 3px 10px rgba(217,162,27,.35); }
.gold-pill svg { width: 15px; height: 15px; }

/* ---------- toast / modal ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { pointer-events: auto; background: rgba(20,24,51,.94); color: #fff; padding: 13px 16px; border-radius: 16px; box-shadow: var(--shadow); font-size: 14.5px; display: flex; gap: 11px; align-items: flex-start; animation: toastIn .35s cubic-bezier(.2,.9,.3,1.2) both; backdrop-filter: blur(10px); }
.toast.warn { background: linear-gradient(135deg, #b45309, #dc2626); }
.toast.ok { background: linear-gradient(135deg, #059669, #10b981); }
.toast.love { background: var(--grad); }
.toast b { display: block; margin-bottom: 2px; }
.toast .x { margin-left: auto; background: none; border: 0; color: #fff; opacity: .7; padding: 0 0 0 6px; font-size: 18px; line-height: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-bg { position: fixed; inset: 0; background: rgba(8,10,35,.6); backdrop-filter: blur(6px); z-index: 300; display: grid; place-items: center; padding: 16px; animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; border-radius: var(--r-lg); width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; box-shadow: var(--shadow); animation: pop .35s cubic-bezier(.2,.9,.3,1.15) both; position: relative; }
.modal.wide { width: min(720px, 100%); }
.modal h3 { font-size: 22px; }
.modal .close { position: absolute; top: 14px; right: 14px; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
@media (max-width: 640px) {
  .modal-bg { place-items: end center; padding: 0; }
  .modal { border-radius: 26px 26px 0 0; width: 100%; padding-bottom: calc(26px + var(--safe-b)); animation: sheet .35s cubic-bezier(.2,.9,.3,1) both; }
  @keyframes sheet { from { transform: translateY(100%); } }
}
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 6px; min-width: 210px; z-index: 60; animation: pop .2s both; }
.menu button, .menu a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 13px; border: 0; background: none; border-radius: 11px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-align: left; text-decoration: none !important; }
.menu button:hover, .menu a:hover { background: rgba(20,24,51,.06); }
.menu .danger { color: #dc2626; }
.menu svg { width: 18px; height: 18px; color: var(--ink-3); }
.menu .danger svg { color: #dc2626; }

/* ---------- mobile tab bar (app-like) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .nav.app-nav { display: none; }
  body.authed { --tab-h: 66px; }
  body.authed .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255,255,255,.94); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-top: 1px solid var(--line); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-3); font-size: 11px; font-weight: 700; text-decoration: none !important; position: relative; }
  .tabbar a svg { width: 24px; height: 24px; transition: transform .2s; }
  .tabbar a.active { color: var(--rose); }
  .tabbar a.active svg { transform: translateY(-2px) scale(1.08); }
  .tabbar a.gold-tab.active, .tabbar a.gold-tab { color: #b7860b; }
  .tabbar .badge-dot { top: 5px; right: calc(50% - 22px); }
  .brand .word { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .header .btn { padding: 9px 15px; font-size: 13.5px; }
}
@media (max-width: 860px) { .nav.public-nav { display: none; } }
@media (min-width: 861px) { .only-mobile { display: none !important; } }
@media (max-width: 860px) { .only-desktop { display: none !important; } }

/* ================= HOME ================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; margin-top: calc(-1 * var(--header-h)); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.hero video.on { opacity: 1; animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,40,.62) 0%, rgba(10,12,40,.28) 45%, rgba(10,12,40,0) 70%), linear-gradient(0deg, rgba(10,12,40,.55) 0%, rgba(10,12,40,0) 35%); pointer-events: none; }
.hero-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(70px, 14vh, 140px); }
.hero h1 { font-size: clamp(40px, 7vw, 86px); font-weight: 800; line-height: .98; max-width: 820px; text-shadow: 0 4px 30px rgba(0,0,0,.35); margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffd1e4, #ff7cb0 40%, #c9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; color: rgba(255,255,255,.94); margin: 0 0 28px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: #7ef0c1; }
.hero-dots { position: absolute; z-index: 3; right: clamp(16px, 4vw, 48px); bottom: clamp(70px, 14vh, 140px); display: flex; flex-direction: column; gap: 8px; }
.hero-dots button { width: 6px; height: 26px; border-radius: 4px; border: 0; background: rgba(255,255,255,.4); padding: 0; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ''; position: absolute; left: 0; right: 0; top: 0; background: #fff; animation: dotfill 7.6s linear both; }
@keyframes dotfill { from { height: 0; } to { height: 100%; } }
.hero-caption { position: absolute; z-index: 3; left: clamp(16px, 4vw, 48px); bottom: 22px; font-size: 12.5px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; opacity: .85; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(0deg, rgba(10,12,40,.78) 0%, rgba(10,12,40,.35) 45%, rgba(10,12,40,.1) 100%); }
  .hero-dots { flex-direction: row; bottom: auto; top: calc(var(--header-h) + 12px); right: 16px; }
  .hero-dots button { width: 22px; height: 4px; }
  .hero-dots button.on::after { bottom: 0; animation: dotfillx 7.6s linear both; }
  @keyframes dotfillx { from { width: 0; height: 100%; } to { width: 100%; height: 100%; } }
  .hero .btn-lg { padding: 14px 24px; font-size: 16px; }
  .hero-trust { gap: 14px; font-size: 13px; }
}

.section { position: relative; isolation: isolate; padding: clamp(60px, 9vw, 110px) 0; }
.section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; z-index: -1; }
@media (max-width: 860px), (hover: none) { .section-bg { background-attachment: scroll; } }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p { color: var(--ink-2); font-size: 17px; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; color: var(--rose); margin-bottom: 12px; }
.on-image .section-head h2, .on-image .section-head p { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.on-image .eyebrow { color: #ffd1e4; }
.light-section { background: linear-gradient(180deg, #fff 0%, #fdf2f8 100%); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 400px; color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .35s; }
.step:hover { transform: translateY(-6px); }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.step:hover img { transform: scale(1.06); }
.step::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,12,40,.92) 0%, rgba(10,12,40,.4) 45%, rgba(10,12,40,0) 70%); }
.step .num { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.22); backdrop-filter: blur(10px); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; border: 1px solid rgba(255,255,255,.4); }
.step .body { padding: 22px; }
.step h3 { font-size: 22px; }
.step p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.9); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 320px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.86); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-sm); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(123,47,247,.3); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.bento figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.bento figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.bento figure:hover img { transform: scale(1.07); }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-weight: 700; font-size: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.6); display: flex; align-items: center; gap: 6px; }
.bento figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); pointer-events: none; }
.bento .b1 { grid-column: span 2; grid-row: span 2; }
.bento .b4 { grid-column: span 2; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .bento .b1 { grid-column: span 2; } .bento .b4 { grid-column: span 2; } }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,6,20,.92); display: grid; place-items: center; padding: 20px; animation: fade .2s both; cursor: zoom-out; }
.lightbox img { max-height: 88vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

.safety-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.safety-list { display: grid; gap: 14px; }
.safety-item { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); }
.safety-item .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--grad-soft); color: var(--violet); display: grid; place-items: center; flex-shrink: 0; }
.safety-item .ic svg { width: 22px; height: 22px; }
.safety-item h4 { margin: 0 0 4px; font-size: 16.5px; }
.safety-item p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .safety-split { grid-template-columns: 1fr; } }

.gold-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 56px); color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.gold-band::before { content: ''; position: absolute; inset: 0; background: url(/assets/img/india-gate.jpg) center/cover; z-index: -2; }
.gold-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,14,0,.82) 0%, rgba(40,26,0,.55) 50%, rgba(0,0,0,.1) 100%); z-index: -1; }
.gold-band h2 { font-size: clamp(30px, 4vw, 48px); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-band ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.gold-band li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.gold-band li svg { width: 20px; height: 20px; color: var(--gold-2); }

.faq-list { display: grid; gap: 10px; }
.faq-item { background: rgba(255,255,255,.92); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.7); }
.faq-item summary { list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--rose); transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ci .ic svg { width: 22px; height: 22px; }
.ci b { display: block; }
.ci span, .ci a { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.footer { background: #0b0d2b; color: rgba(255,255,255,.75); padding: 56px 0 calc(28px + var(--tab-h) + var(--safe-b)); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: rgba(255,255,255,.75); display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .brand .word { color: #fff; }
.footer .legal-line { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: span 2; } }

/* ================= AUTH ================= */
.auth-shell { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr minmax(360px, 480px); align-items: center; gap: 40px; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 30px 0 50px; }
.auth-hero { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.auth-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
.auth-hero p { font-size: 18px; max-width: 460px; }
.auth-card { padding: clamp(22px, 4vw, 34px); }
.auth-card h2 { font-size: 28px; margin-bottom: 4px; }
.steps-bar { display: flex; gap: 6px; margin: 16px 0 22px; }
.steps-bar i { flex: 1; height: 5px; border-radius: 3px; background: rgba(20,24,51,.1); }
.steps-bar i.on { background: var(--grad); }
.demo-otp { background: #fff7ed; border: 1px dashed #f59e0b; color: #92400e; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 14px; }
.gender-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gender-pick button { border: 1.5px solid rgba(20,24,51,.14); background: #fff; border-radius: 16px; padding: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--ink-2); }
.gender-pick button.on { border-color: var(--rose); background: rgba(225,29,116,.06); color: var(--rose); box-shadow: 0 0 0 3px rgba(225,29,116,.12); }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; padding-top: 16px; } .auth-hero { display: none; } }

/* ================= DISCOVER ================= */
.discover-layout { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 28px; align-items: start; justify-content: center; }
.deck { position: relative; aspect-ratio: 3 / 4.15; width: 100%; max-height: calc(100vh - var(--header-h) - var(--tab-h) - 150px); margin: 0 auto; }
.pcard { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); background: #222; color: #fff; touch-action: pan-y; user-select: none; transition: transform .35s ease, opacity .35s; will-change: transform; }
.pcard.back { transform: scale(.94) translateY(16px); opacity: .7; }
.pcard .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pcard .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 120px; color: rgba(255,255,255,.9); }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,25,.92) 0%, rgba(5,6,25,.45) 38%, rgba(5,6,25,0) 62%); pointer-events: none; }
.pcard .info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; }
.pcard h3 { font-size: 32px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.pcard h3 .age { font-weight: 400; }
.pcard .meta { display: flex; gap: 14px; font-size: 14px; opacity: .92; margin-bottom: 10px; flex-wrap: wrap; }
.pcard .meta span { display: flex; align-items: center; gap: 5px; }
.pcard .meta svg { width: 15px; height: 15px; }
.pcard .bio { font-size: 14.5px; opacity: .92; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .photo-bars { position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; }
.pcard .photo-bars i { flex: 1; height: 3.5px; border-radius: 2px; background: rgba(255,255,255,.4); }
.pcard .photo-bars i.on { background: #fff; }
.pcard .tap-l, .pcard .tap-r { position: absolute; top: 0; bottom: 40%; width: 40%; z-index: 2; }
.pcard .tap-l { left: 0; } .pcard .tap-r { right: 0; }
.pcard .stamp { position: absolute; z-index: 4; top: 40px; padding: 8px 18px; border: 4px solid; border-radius: 14px; font-family: var(--display); font-weight: 900; font-size: 34px; letter-spacing: .06em; opacity: 0; transform: rotate(-14deg); }
.pcard .stamp.like { left: 24px; color: #34d399; border-color: #34d399; }
.pcard .stamp.nope { right: 24px; color: #fb7185; border-color: #fb7185; transform: rotate(14deg); }
.pcard .online-tag { position: absolute; z-index: 3; top: 24px; left: 14px; display: flex; align-items: center; gap: 6px; background: rgba(16,185,129,.9); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pcard .online-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.pcard.gold-card { box-shadow: 0 0 0 3px #e7b83a, 0 20px 50px rgba(0,0,0,.35); }
.deck-actions { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 20px; }
.round { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .15s; }
.round:hover { transform: scale(1.08); }
.round:active { transform: scale(.94); }
.round svg { width: 30px; height: 30px; }
.round.pass { color: #f43f5e; }
.round.like { width: 76px; height: 76px; background: var(--grad); color: #fff; }
.round.like svg { width: 36px; height: 36px; }
.round.sm { width: 52px; height: 52px; color: var(--violet); }
.round.sm svg { width: 22px; height: 22px; }
.empty-state { text-align: center; padding: 40px 24px; }
.empty-state .big-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; margin: 0 auto 18px; color: var(--rose); }
.empty-state .big-ic svg { width: 40px; height: 40px; }
.discover-side { display: grid; gap: 18px; }
.likes-left { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.5); justify-content: center; margin-top: 12px; font-size: 14px; }
@media (max-width: 860px) {
  .discover-layout { grid-template-columns: 1fr; }
  .discover-side { display: none; }
  .deck { max-height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b) - 168px); aspect-ratio: auto; height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b) - 168px); }
  .likes-left { margin-top: 8px; font-size: 12.5px; padding: 4px 12px; }
  .page.discover-page { padding-top: 12px; padding-bottom: 10px; }
  .deck-actions { margin-top: 14px; }
}
.match-modal { text-align: center; background: linear-gradient(160deg, #1f1550, #5b1f6e 55%, #b0185c); color: #fff; }
.match-modal h2 { font-size: 46px; font-weight: 900; background: linear-gradient(90deg, #fff, #ffc2dc); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.match-pics { display: flex; justify-content: center; margin: 24px 0; }
.match-pics .avatar { width: 120px; height: 120px; font-size: 42px; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.match-pics .avatar:first-child { transform: rotate(-8deg) translateX(12px); }
.match-pics .avatar:last-child { transform: rotate(8deg) translateX(-12px); }

/* ================= people grids ================= */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.person { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; background: #222; color: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s; display: block; text-decoration: none !important; }
.person:hover { transform: translateY(-4px); }
.person .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.person .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.9); }
.person::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 50%); }
.person .info { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; }
.person .info b { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.person .info small { opacity: .9; }
.person .top-tag { position: absolute; z-index: 2; top: 10px; left: 10px; }
.person .act { position: absolute; z-index: 3; right: 10px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--rose); display: grid; place-items: center; }
.person .act svg { width: 20px; height: 20px; }
.person.blurred .photo, .person.blurred .noimg { filter: blur(16px); transform: scale(1.15); }
.person.gold { box-shadow: 0 0 0 3px #e7b83a, var(--shadow-sm); }
@media (max-width: 560px) { .people { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ================= CHAT ================= */
.chat-shell { display: grid; grid-template-columns: 360px 1fr; height: calc(100vh - var(--header-h) - 48px); height: calc(100svh - var(--header-h) - 48px); margin-top: 24px; overflow: hidden; }
.chat-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: rgba(255,255,255,.55); }
.chat-side .head { padding: 18px 18px 10px; }
.chat-side .head h2 { font-size: 26px; margin-bottom: 12px; }
.online-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 18px 14px; scrollbar-width: none; }
.online-strip::-webkit-scrollbar { display: none; }
.online-strip button { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.online-strip .avatar { width: 58px; height: 58px; font-size: 22px; box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--ok); }
.conv-list { flex: 1; overflow-y: auto; padding: 0 8px 12px; }
.conv { display: flex; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 16px; cursor: pointer; text-decoration: none !important; color: inherit; }
.conv:hover { background: rgba(20,24,51,.05); }
.conv.active { background: rgba(225,29,116,.08); }
.conv .avatar { width: 52px; height: 52px; font-size: 19px; }
.conv .mid { flex: 1; min-width: 0; }
.conv b { display: flex; align-items: center; gap: 5px; font-size: 15.5px; }
.conv .last { color: var(--ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.conv.unread .last { color: var(--ink); font-weight: 700; }
.conv .right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-size: 11.5px; color: var(--ink-3); flex-shrink: 0; }
.conv .count { background: var(--pink); color: #fff; border-radius: 10px; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.req-tag { font-size: 10.5px; font-weight: 800; color: var(--violet); background: rgba(123,47,247,.1); padding: 2px 7px; border-radius: 6px; }
.online-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; padding: 4px 12px 16px; }
.online-card { border: 0; background: #fff; border-radius: 18px; padding: 14px 10px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.online-card .avatar { width: 70px; height: 70px; font-size: 26px; }
.online-card b { font-size: 14.5px; display: flex; align-items: center; gap: 4px; }
.online-card small { color: var(--ink-3); font-size: 12px; }
.chat-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: rgba(255,255,255,.35); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.75); }
.chat-head .avatar { width: 46px; height: 46px; font-size: 18px; }
.chat-head .who { flex: 1; min-width: 0; cursor: pointer; }
.chat-head .who b { display: flex; align-items: center; gap: 6px; font-size: 16.5px; }
.chat-head .who small { color: var(--ink-3); }
.chat-head .who small.on { color: var(--ok); font-weight: 700; }
.chat-head .icon-btn { background: rgba(20,24,51,.06); color: var(--ink); }
.chat-head .icon-btn.call { color: var(--violet); }
.msgs { flex: 1; overflow-y: auto; padding: 18px clamp(12px, 3vw, 28px); display: flex; flex-direction: column; gap: 4px; }
.day-sep { align-self: center; font-size: 12px; font-weight: 700; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 999px; margin: 10px 0; box-shadow: var(--shadow-sm); }
.bubble { max-width: min(78%, 520px); padding: 10px 14px 7px; border-radius: 20px; font-size: 15px; line-height: 1.45; position: relative; word-wrap: break-word; white-space: pre-wrap; box-shadow: 0 2px 8px rgba(18,22,79,.08); animation: bubbleIn .25s ease both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.bubble .t { display: flex; justify-content: flex-end; gap: 4px; align-items: center; font-size: 11px; opacity: .7; margin-top: 3px; }
.bubble .t svg { width: 15px; height: 15px; }
.bubble.flagged { outline: 2px dashed rgba(245,158,11,.8); }
.bubble.removed { font-style: italic; opacity: .7; }
.bubble.pending { opacity: .6; }
.typing { align-self: flex-start; background: #fff; border-radius: 20px; padding: 12px 16px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-note { margin: 0 16px 8px; padding: 10px 14px; border-radius: 14px; background: rgba(123,47,247,.08); color: var(--violet); font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.chat-note.bad { background: #fee2e2; color: #b91c1c; }
.composer { display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px calc(12px); border-top: 1px solid var(--line); background: rgba(255,255,255,.85); }
.composer textarea { flex: 1; border: 1.5px solid rgba(20,24,51,.12); border-radius: 22px; padding: 12px 16px; resize: none; max-height: 120px; min-height: 46px; outline: none; font-size: 15px; background: #fff; line-height: 1.35; }
.composer textarea:focus { border-color: var(--violet); }
.composer .send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 16px rgba(225,29,116,.35); }
.composer .send svg { width: 21px; height: 21px; }
.emoji-row { display: flex; gap: 4px; padding: 0 14px 6px; overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,.85); }
.emoji-row button { border: 0; background: rgba(20,24,51,.05); border-radius: 10px; padding: 4px 8px; font-size: 18px; }
.chat-empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 30px; }
@media (max-width: 860px) {
  .page.chat-page { padding: 0; }
  .chat-page .wrap { width: 100%; }
  .chat-shell { grid-template-columns: 1fr; margin-top: 0; border-radius: 0; height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b)); border: 0; }
  .chat-shell.open .chat-side { display: none; }
  .chat-shell:not(.open) .chat-main { display: none; }
  body.in-convo { --tab-h: 0px; }
  body.in-convo .tabbar { display: none !important; }
  .composer { padding-bottom: calc(12px + var(--safe-b)); }
}

/* ================= CALL ================= */
.call-ui { position: fixed; inset: 0; z-index: 600; background: radial-gradient(circle at 50% 30%, #3b1f73, #120b2e 70%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fade .3s both; }
.call-ui video.remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.call-ui video.local { position: absolute; z-index: 3; right: 16px; top: 16px; width: clamp(100px, 22vw, 200px); aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; border: 2px solid rgba(255,255,255,.7); box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: scaleX(-1); background: #222; }
.call-ui .who { position: relative; z-index: 2; text-align: center; }
.call-ui .who .avatar { width: 130px; height: 130px; font-size: 48px; margin: 0 auto 18px; box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 0 0 18px rgba(255,255,255,.05); }
.call-ui.ringing .who .avatar { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 8px rgba(255,46,126,.25), 0 0 0 18px rgba(255,46,126,.12); } 50% { box-shadow: 0 0 0 16px rgba(255,46,126,.18), 0 0 0 34px rgba(255,46,126,.06); } }
.call-ui h2 { font-size: 30px; margin-bottom: 6px; }
.call-ui .status { opacity: .85; font-weight: 600; }
.call-ui.video-live .who { position: absolute; top: 20px; left: 20px; text-align: left; }
.call-ui.video-live .who .avatar { display: none; }
.call-ui.video-live h2 { font-size: 20px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.call-controls { position: absolute; z-index: 4; bottom: calc(40px + var(--safe-b)); left: 0; right: 0; display: flex; justify-content: center; gap: 18px; }
.call-controls button { width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; backdrop-filter: blur(10px); }
.call-controls button svg { width: 28px; height: 28px; }
.call-controls button.off { background: #fff; color: #111; }
.call-controls .end { background: #ef4444; }
.call-controls .accept { background: #10b981; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }

/* ================= PROFILE / PREMIUM ================= */
.profile-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-hero .avatar { width: 116px; height: 116px; font-size: 42px; }
.profile-hero h2 { font-size: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.profile-card.gold-member { background: linear-gradient(135deg, rgba(255,249,225,.96), rgba(255,240,196,.94)); border: 1.5px solid #e9c46a; box-shadow: 0 0 0 4px rgba(233,196,106,.25), var(--shadow); position: relative; overflow: hidden; }
.profile-card.gold-member::before { content: ''; position: absolute; top: -60%; left: -30%; width: 40%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: rotate(18deg); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { left: -40%; } 60%, 100% { left: 130%; } }
.gold-name { background: linear-gradient(90deg, #8a5a00, #d9a21b, #8a5a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-crown { width: 34px; height: 34px; filter: drop-shadow(0 2px 4px rgba(156,107,7,.4)); animation: crownFloat 3s ease-in-out infinite; }
@keyframes crownFloat { 50% { transform: translateY(-3px) rotate(-4deg); } }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-slot { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: rgba(20,24,51,.05); border: 2px dashed rgba(20,24,51,.18); display: grid; place-items: center; color: var(--ink-3); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.filled { border: 0; }
.photo-slot .tools { position: absolute; z-index: 2; bottom: 6px; right: 6px; display: flex; gap: 5px; }
.photo-slot .tools button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink); }
.photo-slot .tools svg { width: 16px; height: 16px; }
.photo-slot .main-tag { position: absolute; z-index: 2; top: 6px; left: 6px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.photo-slot label { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.photo-slot label svg { width: 30px; height: 30px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.plan { position: relative; border-radius: 26px; padding: 28px 24px; background: linear-gradient(160deg, rgba(40,28,4,.92), rgba(18,12,0,.94)); color: #fff; border: 1.5px solid rgba(233,196,106,.55); box-shadow: 0 20px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; transition: transform .3s; overflow: hidden; }
.plan:hover { transform: translateY(-6px); }
.plan.featured { border-color: #f6d365; box-shadow: 0 0 0 3px rgba(246,211,101,.4), 0 24px 60px rgba(0,0,0,.4); }
.plan .ribbon { position: absolute; top: 16px; right: 16px; background: var(--gold); color: #4a3200; font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 8px; color: var(--gold-2); }
.plan .price { font-family: var(--display); font-size: 46px; font-weight: 800; margin: 10px 0 0; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .per { opacity: .75; font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--gold-2); flex-shrink: 0; margin-top: 2px; }
.gold-status { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 24px; background: var(--gold); color: #3d2a00; box-shadow: 0 14px 40px rgba(217,162,27,.4); position: relative; overflow: hidden; }
.gold-status::before { content: ''; position: absolute; top: -60%; left: -30%; width: 35%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: rotate(18deg); animation: shine 4s ease-in-out infinite; }
.gold-status .crown-xl { width: 64px; height: 64px; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(120,80,0,.35)); }
.gold-status h3 { margin: 0 0 2px; font-size: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid rgba(20,24,51,.12); background: #fff; font-weight: 700; text-align: left; }
.pay-method.on { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(225,29,116,.12); }
.pay-method svg { width: 26px; height: 26px; color: var(--violet); }
.summary-box { background: rgba(20,24,51,.04); border-radius: 16px; padding: 14px 16px; font-size: 14.5px; }
.summary-box .row { justify-content: space-between; padding: 4px 0; }
.success-tick { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(217,162,27,.45); animation: pop .5s cubic-bezier(.2,.9,.3,1.4) both; }
.success-tick svg { width: 46px; height: 46px; }

/* ---------- user profile view ---------- */
.uprofile { display: grid; grid-template-columns: 420px 1fr; gap: 24px; align-items: start; }
.gallery { position: relative; aspect-ratio: 3/4; border-radius: 26px; overflow: hidden; background: #222; box-shadow: var(--shadow); }
.gallery .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gallery .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 120px; color: #fff; font-family: var(--display); font-weight: 800; }
.gallery .nav-l, .gallery .nav-r { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; border: 0; background: transparent; }
.gallery .nav-l { left: 0; } .gallery .nav-r { right: 0; }
.gallery .photo-bars { position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; }
.gallery .photo-bars i { flex: 1; height: 3.5px; border-radius: 2px; background: rgba(255,255,255,.4); }
.gallery .photo-bars i.on { background: #fff; }
@media (max-width: 860px) { .uprofile { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { font-size: 15.5px; color: var(--ink); }
.legal h2 { font-size: 21px; margin: 30px 0 10px; color: var(--navy); }
.legal ul, .legal ol { padding-left: 22px; line-height: 1.65; }
.legal li { margin-bottom: 6px; }
.legal .legal-meta { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.legal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- notifications ---------- */
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); z-index: 70; animation: pop .2s both; }
.notif-panel .head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 8px; position: sticky; top: 0; background: #fff; }
.notif { display: flex; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); text-decoration: none !important; color: inherit; cursor: pointer; }
.notif:hover { background: rgba(20,24,51,.03); }
.notif.unread { background: rgba(225,29,116,.05); }
.notif .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--grad-soft); font-size: 18px; }
.notif .ic.warning { background: #fef3c7; }
.notif b { font-size: 14px; display: block; }
.notif p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.notif small { color: var(--ink-3); font-size: 11.5px; }
@media (max-width: 640px) { .notif-panel { position: fixed; left: 12px; right: 12px; width: auto; top: calc(var(--header-h) + 6px); } }

/* ---------- AI chatbot ---------- */
.bot-fab { position: fixed; z-index: 90; right: 20px; bottom: calc(20px + var(--tab-h) + var(--safe-b)); width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(123,47,247,.45); display: grid; place-items: center; transition: transform .2s; }
.bot-fab:hover { transform: scale(1.07) rotate(-4deg); }
.bot-fab svg { width: 30px; height: 30px; }
.bot-fab::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255,46,126,.5); animation: halo 2.4s ease-out infinite; }
@keyframes halo { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
body.in-convo .bot-fab { display: none; }
.bot { position: fixed; z-index: 95; right: 20px; bottom: calc(96px + var(--tab-h) + var(--safe-b)); width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 160px)); background: #fff; border-radius: 24px; box-shadow: 0 24px 70px rgba(18,22,79,.35); display: flex; flex-direction: column; overflow: hidden; animation: pop .3s cubic-bezier(.2,.9,.3,1.15) both; }
.bot-head { background: var(--grad); color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.bot-head .ava { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.bot-head .ava img { width: 32px; }
.bot-head b { display: block; font-size: 16px; }
.bot-head small { opacity: .9; display: flex; align-items: center; gap: 5px; }
.bot-head small i { width: 7px; height: 7px; border-radius: 50%; background: #7ef0c1; }
.bot-head .icon-btn { margin-left: auto; width: 36px; height: 36px; }
.bot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f7fc; }
.bot-msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.bot-msg.a { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(18,22,79,.06); }
.bot-msg.u { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bot-msg a.more { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 13px; }
.bot-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-sugg button { border: 1.5px solid rgba(123,47,247,.3); background: #fff; color: var(--violet); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.bot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.bot-input input { flex: 1; border: 1.5px solid rgba(20,24,51,.12); border-radius: 999px; padding: 11px 16px; outline: none; }
.bot-input input:focus { border-color: var(--violet); }
.bot-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; }
.bot-input svg { width: 19px; height: 19px; }
@media (max-width: 640px) { .bot { right: 12px; left: 12px; width: auto; bottom: calc(88px + var(--tab-h) + var(--safe-b)); height: min(560px, calc(100svh - 190px)); } .bot-fab { right: 14px; width: 56px; height: 56px; } }

.loader { width: 34px; height: 34px; border-radius: 50%; border: 3.5px solid rgba(225,29,116,.2); border-top-color: var(--rose); animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.75), rgba(255,255,255,.4)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 22px; }
@keyframes sk { to { background-position: -200% 0; } }
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--tab-h) + var(--safe-b)); z-index: 92; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; gap: 12px; align-items: center; max-width: 460px; margin: 0 auto; animation: pop .3s both; }
.install-banner img { width: 44px; height: 44px; border-radius: 12px; }

/* legibility on photo backgrounds (image stays clear around content) */
.header.solid .btn-glass { color: var(--ink); border-color: rgba(20,24,51,.18); background: rgba(255,255,255,.6); }
.on-image .section-head { background: rgba(10,12,40,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 26px; padding: 22px 28px; width: max-content; max-width: min(680px, 100%); }
.on-image .section-head p { margin-bottom: 0; }
.safety-split .section-head { width: auto; }
.page-title, .page-sub { position: relative; }
.page > .wrap > .page-title, .page > .wrap-sm > .page-title { display: inline-block; background: rgba(10,12,40,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 18px; border-radius: 18px; }
.page > .wrap > .page-sub, .page > .wrap-sm > .page-sub { display: table; background: rgba(10,12,40,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 12px; }

.profile-card.gold-member > *, .gold-status > * { position: relative; z-index: 1; }
.profile-card.gold-member::before, .gold-status::before { z-index: 0; }
.seg svg { width: 18px; height: 18px; flex-shrink: 0; }
.page-title { display: inline-block; background: rgba(10,12,40,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 18px; border-radius: 18px; }
.page-sub { display: table; background: rgba(10,12,40,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 12px; }
.likes-left { background: rgba(10,12,40,.38); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 14px; width: max-content; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { body.route-discover .bot-fab, body.route-discover .bot { display: none; } }

:where(svg[class=""]:not([width])) { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.gender-pick svg { width: 22px; height: 22px; }
html, body { max-width: 100%; }
@media (max-width: 860px) { .likes-left { display: none; } }

/* ================= COMPACT SIZING (v2) ================= */
html { font-size: 15px; }
body { font-size: 14.5px; }
:root { --header-h: 60px; --r: 16px; --r-lg: 22px; }
.wrap { width: min(1100px, 100% - 32px); }
.wrap-sm { width: min(700px, 100% - 32px); }
.page { padding: 20px 0 44px; }
.brand img { width: 34px; height: 34px; }
.brand .word { font-size: 21px; }
.nav a { font-size: 13.5px; padding: 7px 12px; }
.icon-btn { width: 38px; height: 38px; }
.icon-btn svg { width: 19px; height: 19px; }
.btn { padding: 10px 18px; font-size: 14px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 15.5px; }
.header .btn { padding: 8px 16px; font-size: 13.5px; }
.input, .select, .textarea { padding: 11px 13px; font-size: 15px; border-radius: 12px; }
.field { margin-bottom: 13px; }
.panel { padding: clamp(16px, 2.4vw, 24px); }
.card { padding: 18px; }
.page-title { font-size: clamp(22px, 2.6vw, 30px); padding: 6px 14px; border-radius: 14px; }
.page-sub { font-size: 14px; padding: 6px 12px; margin-bottom: 16px; }
.title-chip { font-size: 11.5px; padding: 6px 12px; margin-bottom: 10px; }
.glass { border-radius: 22px; }
h3 { font-size: 18px; }

/* home */
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); margin-bottom: 14px; max-width: 640px; }
.hero p.lead { font-size: clamp(14.5px, 1.2vw, 17px); max-width: 500px; margin-bottom: 22px; }
.hero-trust { margin-top: 22px; font-size: 13px; }
.hero-content { bottom: clamp(56px, 11vh, 110px); }
.section { padding: clamp(44px, 6.5vw, 76px) 0; }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head p { font-size: 15px; }
.on-image .section-head { padding: 16px 22px; border-radius: 20px; }
.eyebrow { font-size: 11.5px; margin-bottom: 8px; }
.steps { gap: 14px; }
.step { min-height: 300px; border-radius: 20px; }
.step h3 { font-size: 18px; }
.step p { font-size: 13.5px; }
.step .body { padding: 16px; }
.step .num { width: 36px; height: 36px; font-size: 17px; border-radius: 11px; }
.features { gap: 14px; }
.feature { padding: 18px; border-radius: 20px; }
.feature .ic { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 12px; }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; }
.bento { grid-auto-rows: 180px; gap: 10px; }
.bento figcaption { font-size: 12.5px; }
.safety-item { padding: 14px; gap: 12px; border-radius: 16px; }
.safety-item .ic { width: 38px; height: 38px; }
.safety-item h4 { font-size: 15px; }
.safety-item p { font-size: 13px; }
.safety-list { gap: 10px; }
.gold-band { padding: clamp(22px, 4vw, 40px); border-radius: 24px; }
.gold-band h2 { font-size: clamp(24px, 3vw, 36px); }
.gold-band ul { margin: 14px 0 20px; gap: 8px; font-size: 14px; }
.faq-item summary { padding: 14px 18px; font-size: 14.5px; }
.faq-item p { padding: 0 18px 16px; font-size: 14px; }
.faq-item { border-radius: 14px; }
.ci .ic { width: 40px; height: 40px; border-radius: 12px; }
.ci .ic svg { width: 19px; height: 19px; }
.footer { font-size: 13.5px; padding-top: 44px; }

/* auth */
.auth-shell { grid-template-columns: 1fr minmax(320px, 420px); gap: 32px; }
.auth-hero h1 { font-size: clamp(30px, 3.8vw, 46px); }
.auth-hero p { font-size: 16px; }
.auth-card h2 { font-size: 24px; }
.otp-boxes input { width: 44px; height: 52px; font-size: 21px; }
.gender-pick button { padding: 11px; }

/* discover */
.discover-layout { grid-template-columns: minmax(0, 380px) minmax(0, 420px); gap: 26px; }
.deck { aspect-ratio: 3 / 4; max-height: min(520px, calc(100vh - var(--header-h) - 150px)); }
.pcard { border-radius: 22px; }
.pcard .info { padding: 18px; }
.pcard h3 { font-size: 25px; }
.pcard .meta { font-size: 13px; margin-bottom: 8px; }
.pcard .bio { font-size: 13.5px; margin-bottom: 10px; }
.pcard .chip.light { font-size: 12px; padding: 5px 10px; }
.round { width: 54px; height: 54px; }
.round svg { width: 25px; height: 25px; }
.round.like { width: 64px; height: 64px; }
.round.like svg { width: 30px; height: 30px; }
.round.sm { width: 44px; height: 44px; }
.round.sm svg { width: 19px; height: 19px; }
.deck-actions { margin-top: 14px; gap: 14px; }
.match-pics .avatar { width: 96px; height: 96px; }
.match-modal h2 { font-size: 36px; }

/* grids */
.people { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.person { border-radius: 18px; }
.person .info b { font-size: 15px; }
.person .act { width: 36px; height: 36px; }

/* chat */
.chat-shell { grid-template-columns: 310px 1fr; height: calc(100vh - var(--header-h) - 36px); margin-top: 16px; }
.chat-side .head h2 { font-size: 21px; }
.chat-side .head { padding: 14px 14px 8px; }
.seg button { padding: 9px; font-size: 13.5px; }
.online-strip .avatar { width: 50px; height: 50px; }
.online-strip button { width: 56px; font-size: 11.5px; }
.conv .avatar { width: 44px; height: 44px; }
.conv b { font-size: 14.5px; }
.conv .last { font-size: 13px; }
.chat-head { padding: 10px 14px; }
.chat-head .avatar { width: 40px; height: 40px; }
.chat-head .who b { font-size: 15px; }
.bubble { font-size: 14.5px; padding: 9px 13px 6px; }
.composer textarea { min-height: 42px; padding: 10px 14px; font-size: 14.5px; }
.composer .send { width: 42px; height: 42px; }
.online-card .avatar { width: 60px; height: 60px; }
.online-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }

/* profile / premium */
.profile-hero .avatar { width: 92px; height: 92px; font-size: 34px; }
.profile-hero h2 { font-size: 25px; }
.big-crown { width: 28px; height: 28px; }
.photo-grid { gap: 8px; }
.photo-slot { border-radius: 14px; }
.plans { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.plan { padding: 22px 20px; border-radius: 22px; }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 36px; margin-top: 6px; }
.plan .per { font-size: 13px; margin-bottom: 14px; }
.plan li { font-size: 13.5px; }
.plan ul { gap: 8px; margin-bottom: 18px; }
.gold-status { padding: 16px 18px; border-radius: 20px; }
.gold-status .crown-xl { width: 48px; height: 48px; }
.gold-status h3 { font-size: 19px; }
.uprofile { grid-template-columns: 360px 1fr; gap: 20px; }
.legal { font-size: 14.5px; }
.legal h2 { font-size: 18px; margin-top: 24px; }
.setting b { font-size: 14px; }
.setting { padding: 11px 0; }
.modal { padding: 22px; border-radius: 22px; }
.modal h3 { font-size: 19px; }
.bot-fab { width: 54px; height: 54px; }
.bot-fab svg { width: 26px; height: 26px; }
.bot { width: min(360px, calc(100vw - 24px)); height: min(540px, calc(100vh - 150px)); }
.bot-msg { font-size: 13.5px; }
.toast { font-size: 13.5px; padding: 11px 14px; }

@media (max-width: 860px) {
  :root { --header-h: 56px; }
  body.authed { --tab-h: 60px; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a { font-size: 10.5px; }
  .discover-layout { grid-template-columns: 1fr; }
  .deck { aspect-ratio: auto; max-height: none; height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b) - 120px); max-width: 420px; }
  .chat-shell { grid-template-columns: 1fr; height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b)); margin-top: 0; }
  .hero h1 { font-size: 34px; }
  .uprofile { grid-template-columns: 1fr; }
  .gallery { max-height: 62vh; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { min-height: 260px; }
  .bento { grid-auto-rows: 140px; }
}
@media (max-width: 860px) { body.authed.in-convo { --tab-h: 0px; } }
/* camera */
.ava-cam { position: relative; flex-shrink: 0; }
.cam-badge { position: absolute; right: -2px; bottom: -2px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 2; }
.cam-badge svg { width: 17px; height: 17px; }
.cam-box { position: relative; aspect-ratio: 3/4; max-height: 60vh; margin: 0 auto; background: #111; border-radius: 18px; overflow: hidden; }
.cam-box video, .cam-box canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-box video.mirror { transform: scaleX(-1); }
.cam-guide { position: absolute; left: 50%; top: 44%; width: 58%; aspect-ratio: 3/4; transform: translate(-50%, -50%); border: 2.5px dashed rgba(255,255,255,.7); border-radius: 50%; pointer-events: none; }
.cam-box canvas:not(.hidden) ~ .cam-guide { display: none; }
.cam-msg { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.cam-msg:empty { display: none; }
.cam-actions { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.modal h3 svg { width: 20px; height: 20px; vertical-align: -3px; color: var(--violet); }
.photo-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 640px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.hero h1 { font-size: clamp(30px, 4vw, 52px); }
.photo-slot label svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .deck { height: calc(100svh - var(--header-h) - var(--tab-h) - var(--safe-b) - 168px); } .page.discover-page { padding-top: 10px; } }

/* ================= HOME v3 ================= */
.h3-hero { height: 100svh; min-height: 560px; max-height: 900px; }
.h3-hero::after { background: linear-gradient(95deg, rgba(10,12,40,.72) 0%, rgba(10,12,40,.38) 42%, rgba(10,12,40,.05) 70%), linear-gradient(0deg, rgba(10,12,40,.5) 0%, rgba(10,12,40,0) 30%); }
.h3-hero-in { position: absolute; z-index: 2; inset: var(--header-h) 0 0; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; }
.h3-copy { max-width: 520px; }
.h3-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); margin-bottom: 16px; }
.h3-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.h3-hero h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; margin-bottom: 14px; max-width: 520px; }
.h3-hero p.lead { font-size: 15.5px; line-height: 1.6; max-width: 440px; margin-bottom: 22px; opacity: .95; }
.h3-hero .btn-lg { padding: 12px 22px; font-size: 15px; }
.h3-proof { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.88); line-height: 1.35; }
.h3-proof b { color: #fff; }
.h3-faces { display: flex; }
.h3-faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -9px; }
.h3-faces img:first-child { margin-left: 0; }
.h3-phone-wrap { position: relative; justify-self: center; width: 260px; height: 520px; }
.h3-phone { position: absolute; inset: 0; border-radius: 40px; background: #0d0f2a; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.18) inset; transform: rotate(4deg); animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: rotate(4deg) translateY(-10px); } }
.h3-notch { position: absolute; top: 14px; left: 50%; width: 80px; height: 20px; border-radius: 12px; background: #000; transform: translateX(-50%); z-index: 3; }
.h3-card { position: relative; height: calc(100% - 78px); border-radius: 30px; overflow: hidden; }
.h3-card img { width: 100%; height: 100%; object-fit: cover; }
.h3-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 45%); }
.h3-card-info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.h3-card-info b { display: flex; align-items: center; gap: 5px; font-size: 18px; font-family: var(--display); }
.h3-card-info .crown { width: 18px; height: 18px; }
.h3-card-info span { font-size: 11.5px; opacity: .9; display: flex; align-items: center; gap: 4px; }
.h3-actions { display: flex; justify-content: center; gap: 16px; padding-top: 12px; }
.h3-actions span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #f43f5e; }
.h3-actions .h { background: var(--grad); color: #fff; width: 52px; height: 52px; margin-top: -3px; }
.h3-float { position: absolute; z-index: 4; background: rgba(255,255,255,.95); color: var(--ink); padding: 10px 14px; border-radius: 14px; font-size: 12.5px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 7px; white-space: nowrap; animation: chipFloat 5s ease-in-out infinite; }
.h3-float svg { color: var(--violet); }
.h3-float small { display: block; color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.h3-float.f1 { top: 70px; left: -90px; }
.h3-float.f2 { top: 250px; right: -110px; animation-delay: -1.5s; flex-wrap: wrap; max-width: 170px; white-space: normal; }
.h3-float.f3 { bottom: 70px; left: -70px; animation-delay: -3s; }
@keyframes chipFloat { 50% { transform: translateY(-8px); } }
.h3-hero .hero-dots { bottom: 26px; right: clamp(16px, 4vw, 48px); flex-direction: row; top: auto; }
.h3-hero .hero-dots button { width: 18px; height: 4px; }
.h3-hero .hero-dots button.on::after { bottom: 0; animation: dotfillx 7.6s linear both; }
@keyframes dotfillx { from { width: 0; height: 100%; } to { width: 100%; height: 100%; } }
.h3-hero .hero-caption { bottom: 20px; }

.h3-trust { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.h3-trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 0; }
.h3-trust-item { display: flex; gap: 11px; align-items: center; }
.h3-trust-item .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--violet); flex-shrink: 0; }
.h3-trust-item .ic svg { width: 18px; height: 18px; }
.h3-trust-item b { font-size: 13.5px; display: block; }
.h3-trust-item small { font-size: 12px; color: var(--ink-3); }

.h3-sec { position: relative; isolation: isolate; padding: clamp(44px, 6vw, 70px) 0; }
.h3-light { background: linear-gradient(180deg, #fff, #fbf5fb); }
.h3-dark { background: #0d0f2a; }
.h3-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.h3-head h2, .h3-why h2, .h3-safety-card h2, .h3-gold h2, .h3-cta h2 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.15; }
.h3-head p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.h3-head.light h2 { color: #fff; } .h3-head.light p { color: rgba(255,255,255,.75); } .h3-head.light .eyebrow { color: #ff9cc6; }
.h3-contact .h3-head.light { background: rgba(10,12,40,.45); backdrop-filter: blur(8px); padding: 14px 22px; border-radius: 18px; width: max-content; max-width: 100%; }

.h3-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h3-step { background: #fff; border-radius: 18px; padding: 10px 10px 16px; box-shadow: 0 6px 24px rgba(18,22,79,.07); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.h3-step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(18,22,79,.12); }
.h3-step .img { position: relative; height: 150px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.h3-step .img img { width: 100%; height: 100%; object-fit: cover; }
.h3-step .img span { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--rose); font: 800 12px var(--display); padding: 4px 9px; border-radius: 8px; }
.h3-step h3 { font-size: 15.5px; margin: 0 6px 6px; }
.h3-step p { font-size: 13px; color: var(--ink-2); margin: 0 6px; line-height: 1.55; }

.h3-why { background: #fff; }
.h3-why-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.h3-why-img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow); }
.h3-why-img img { width: 100%; height: 100%; object-fit: cover; }
.h3-why-badge { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; }
.h3-why-badge .crown { width: 26px; height: 26px; }
.h3-why-badge small { display: block; color: var(--ink-3); }
.h3-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 18px; }
.h3-feat { display: flex; gap: 11px; }
.h3-feat .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 14px rgba(123,47,247,.25); }
.h3-feat .ic svg { width: 17px; height: 17px; }
.h3-feat b { font-size: 14px; }
.h3-feat p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

.h3-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; }
.h3-gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.h3-gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.h3-gallery figure:hover img { transform: scale(1.07); }
.h3-gallery figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%); }
.h3-gallery figcaption { position: absolute; z-index: 2; left: 10px; bottom: 9px; right: 10px; color: #fff; font-size: 12px; font-weight: 700; display: flex; gap: 4px; align-items: center; }
.h3-gallery .g1 { grid-column: span 2; grid-row: span 2; }
.h3-gallery .g4 { grid-column: span 2; }

.h3-safety { padding: clamp(50px, 7vw, 90px) 0; }
.h3-safety-card { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-radius: 24px; padding: clamp(20px, 3vw, 32px); max-width: 920px; box-shadow: var(--shadow); }
.h3-safety-card p { color: var(--ink-2); font-size: 14px; }
.h3-safety-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h3-safety-card li { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.h3-safety-card li .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); color: var(--violet); display: grid; place-items: center; flex-shrink: 0; }
.h3-safety-card li .ic svg { width: 16px; height: 16px; }
.h3-safety-card li b { font-size: 13.5px; display: block; }
.h3-safety-card li small { font-size: 12px; color: var(--ink-3); }

.h3-gold { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.h3-gold::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(/assets/img/india-gate.jpg) center/cover; }
.h3-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,14,0,.88), rgba(35,24,0,.6) 60%, rgba(0,0,0,.35)); }
.h3-gold h2 { margin: 12px 0 8px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3-gold p { font-size: 14px; color: rgba(255,255,255,.85); max-width: 380px; }
.h3-gold-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h3-plan { position: relative; text-align: center; border-radius: 16px; padding: 18px 8px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(246,211,101,.45); color: #fff; text-decoration: none !important; backdrop-filter: blur(6px); transition: transform .2s, background .2s; }
.h3-plan:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.h3-plan.hot { border-color: #f6d365; box-shadow: 0 0 0 2px rgba(246,211,101,.35); }
.h3-plan em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #4a3200; font: 800 10px var(--font); padding: 3px 8px; border-radius: 999px; font-style: normal; white-space: nowrap; }
.h3-plan b { display: block; font-size: 13px; color: var(--gold-2); }
.h3-plan .pr { display: block; font: 800 22px var(--display); margin: 4px 0 2px; }
.h3-plan small { font-size: 11.5px; opacity: .75; }

.h3-faq { background: #fff; }
.h3-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.h3-faq .faq-item { box-shadow: none; border: 1px solid var(--line); background: #fafbff; }
.h3-cta { background: var(--grad); color: #fff; padding: 34px 0; }
.h3-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.h3-cta h2 { margin: 0 0 4px; }
.h3-cta p { margin: 0; opacity: .9; font-size: 14px; }
.h3-contact { padding: clamp(44px, 6vw, 70px) 0; }

@media (max-width: 1000px) {
  .h3-hero-in { grid-template-columns: 1fr; }
  .h3-trust-in { grid-template-columns: 1fr 1fr; }
  .h3-steps { grid-template-columns: 1fr 1fr; }
  .h3-why-in, .h3-safety-card, .h3-gold { grid-template-columns: 1fr; }
  .h3-why-img { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .h3-hero-in { align-items: end; padding-bottom: 70px; }
  .h3-hero h1 { font-size: 30px; }
  .h3-hero p.lead { font-size: 14.5px; }
  .h3-trust-in { gap: 14px; padding: 16px 0; }
  .h3-trust-item small { display: none; }
  .h3-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .h3-step .img { height: 110px; }
  .h3-step p { font-size: 12px; }
  .h3-feats { grid-template-columns: 1fr; }
  .h3-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .h3-gallery .g4 { grid-column: span 2; }
  .h3-faq-grid { grid-template-columns: 1fr; }
  .h3-gold-plans { gap: 6px; }
  .h3-plan .pr { font-size: 18px; }
}
/* registration: mobile OTP + state/city */
.field > span em.req { font-style: normal; font-weight: 600; color: var(--rose); font-size: 11.5px; }
.mob-row { display: flex; gap: 8px; align-items: stretch; }
.mob-row .cc { display: grid; place-items: center; padding: 0 10px; border: 1.5px solid rgba(20,24,51,.14); border-radius: 12px; background: #f7f8fc; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.mob-row .input { flex: 1; min-width: 0; }
.mob-row .btn { flex-shrink: 0; }
.mob-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #ecfdf5; border: 1.5px solid #a7f3d0; color: #065f46; font-size: 14px; }
.mob-ok svg { width: 17px; height: 17px; }
.ok-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; background: #10b981; color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ok-pill svg { width: 12px; height: 12px; }
select.select:disabled { opacity: .6; }
/* ===== stylish AI assistant button ===== */
.bot-fab { display: none; }
.bot-fab2 { position: fixed; z-index: 90; right: 20px; bottom: calc(20px + var(--tab-h) + var(--safe-b)); width: 60px; height: 60px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.bot-fab2:hover { transform: scale(1.08) translateY(-2px); }
.bot-fab2 .ring { position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, #ff2e7e, #f6c945, #34d399, #1f5fe0, #7b2ff7, #ff2e7e); animation: ringSpin 4s linear infinite; filter: saturate(1.2); }
.bot-fab2 .ring::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: inherit; filter: blur(12px); opacity: .55; z-index: -1; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.bot-fab2 .core { position: absolute; inset: 2px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #ff6aa6 0%, #e11d74 35%, #7b2ff7 75%, #3b1fb0 100%); box-shadow: inset 0 2px 6px rgba(255,255,255,.45), inset 0 -6px 12px rgba(30,10,90,.45); color: #fff; }
.bot-fab2 .core svg { width: 32px; height: 32px; animation: botBob 3s ease-in-out infinite; }
.bot-fab2.open .core svg { width: 24px; height: 24px; animation: none; }
@keyframes botBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-6deg); } }
.bot-fab2 .live { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2.5px solid #fff; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.bot-fab2 .tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: #0d0f2a; color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .2s; }
.bot-fab2:hover .tip { opacity: 1; transform: translateY(-50%); }
.bot-fab2.open .tip { display: none; }
.bot-hello { position: fixed; z-index: 89; right: 20px; bottom: calc(92px + var(--tab-h) + var(--safe-b)); width: 240px; background: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); box-shadow: 0 14px 40px rgba(18,22,79,.22); cursor: pointer; opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: .35s cubic-bezier(.2,.9,.3,1.2); }
.bot-hello.show { opacity: 1; transform: none; pointer-events: auto; }
.bot-hello b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.bot-hello .hx { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 17px; color: var(--ink-3); cursor: pointer; }
.bot-head .ava2 { background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.5); }
.bot-head .ava2 svg { width: 28px; height: 28px; }
body.in-convo .bot-fab2, body.in-convo .bot-hello { display: none; }
@media (max-width: 860px) { body.route-discover .bot-fab2, body.route-discover .bot-hello { display: none; } }
@media (max-width: 640px) { .bot-fab2 { right: 14px; width: 54px; height: 54px; } .bot-fab2 .tip { display: none; } .bot-hello { right: 14px; bottom: calc(80px + var(--tab-h) + var(--safe-b)); } }
.field > span em.opt { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.mob-otp-box { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(123,47,247,.06); border: 1px dashed rgba(123,47,247,.35); }
.mob-otp-box .demo-otp { margin-bottom: 10px; }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; gap: 0; } .mob-row .cc { padding: 0 8px; font-size: 12.5px; } .mob-row .btn { padding: 8px 12px; } }
body.route-join .bot-hello, body.route-login .bot-hello, body.route-forgot .bot-hello { display: none; }
/* chat: vertical people list + live warning */
.list-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-3); padding: 10px 10px 4px; }
button.conv { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.online-row .say-hi { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--rose); background: rgba(225,29,116,.08); padding: 6px 10px; border-radius: 999px; flex-shrink: 0; }
.online-row .say-hi svg { width: 14px; height: 14px; }
.online-row:hover .say-hi { background: var(--grad); color: #fff; }
.sys-warn { align-self: center; max-width: min(92%, 520px); text-align: center; margin: 8px 0; padding: 10px 14px; border-radius: 14px; background: #fff1f2; border: 1.5px solid #fecdd3; color: #9f1239; font-size: 13.5px; line-height: 1.45; box-shadow: 0 4px 14px rgba(225,29,72,.12); animation: bubbleIn .3s both; }
.sys-warn b { display: block; font-size: 14px; margin-bottom: 2px; }
.sys-warn small { display: block; margin-top: 4px; color: #be123c; font-weight: 600; }
/* header home button */
.home-btn { text-decoration: none !important; }
.warn-modal .wm-head { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #dc2626, #b45309); color: #fff; margin: -22px -22px 14px; padding: 18px 22px; border-radius: 22px 22px 0 0; }
.warn-modal .wm-head .ic { font-size: 30px; }
.warn-modal .wm-head h3 { margin: 0; color: #fff; }
.warn-modal .wm-item { border: 1px solid #fecdd3; background: #fff1f2; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; color: #881337; }
.warn-modal .wm-item b { display: block; color: #9f1239; }
.warn-modal .wm-item small { color: #be123c; }
.warn-modal .modal .close, .modal.warn-modal .close { color: #fff !important; background: rgba(255,255,255,.2) !important; z-index: 2; }
/* DOB 18+ hint */
.dob-hint{display:block;margin-top:5px;font-size:12px;color:#6b7280;font-weight:600}
.dob-hint.good{color:#059669}.dob-hint.bad{color:#dc2626}
#jfb:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.4)}
/* account already exists */
.exists-modal .exists-ic{width:64px;height:64px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff4d6d,#c9184a);color:#fff;box-shadow:0 10px 26px rgba(201,24,74,.35)}
.exists-modal .exists-ic svg{width:30px;height:30px}
.exists-target{display:inline-block;margin:6px 0 16px;padding:6px 14px;border-radius:999px;background:#fff1f3;color:#be123c;font-weight:800;font-size:14px}
.free-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:linear-gradient(135deg,#fff1f3,#ffe4ea);color:#be123c;font-weight:800;font-size:12.5px;border:1px solid #fecdd3}

/* ===== "No Subscription, 100% Free" banner ===== */
.kick-free{background:linear-gradient(90deg,#ffd60a,#ffb703);color:#3b0a1a;padding:1px 8px;border-radius:999px;font-weight:900;font-size:.92em;margin-left:2px}
.h3-why-badge.free{background:linear-gradient(135deg,#fff,#fff1f3)}
.fz{position:relative;overflow:hidden;isolation:isolate;padding:58px 0 0;background:radial-gradient(1200px 500px at 85% -10%,#ffe3ea 0%,transparent 60%),linear-gradient(160deg,#fff7f8 0%,#ffeef2 45%,#fff5ec 100%);color:#1d1d3b}
.fz-blob{position:absolute;z-index:-1;filter:blur(2px);opacity:.9}
.fz-blob.b1{width:560px;height:560px;left:-180px;top:-120px;background:radial-gradient(circle at 40% 40%,#ff8fab,#ff4d6d 55%,transparent 70%);opacity:.28;animation:fzMorph 14s ease-in-out infinite}
.fz-blob.b2{width:420px;height:420px;right:-140px;bottom:20px;background:radial-gradient(circle,#ffd166,transparent 65%);opacity:.35;animation:fzMorph 18s ease-in-out infinite reverse}
@keyframes fzMorph{0%,100%{border-radius:42% 58% 63% 37%/45% 41% 59% 55%;transform:translate(0,0) rotate(0)}50%{border-radius:61% 39% 35% 65%/58% 62% 38% 42%;transform:translate(30px,20px) rotate(18deg)}}
.fz-hearts span{position:absolute;bottom:-30px;color:#ff4d6d;opacity:0;animation:fzFloat 9s linear infinite;z-index:0}
@keyframes fzFloat{0%{transform:translateY(0) scale(.6);opacity:0}15%{opacity:.55}100%{transform:translateY(-560px) scale(1.15) rotate(18deg);opacity:0}}
.fz-in{display:grid;grid-template-columns:minmax(280px,.92fr) 1.08fr;gap:34px;align-items:end;position:relative;z-index:1}
.fz-art{position:relative;align-self:end;max-width:470px;width:100%;justify-self:center}
.fz-disc{position:absolute;left:6%;right:4%;bottom:0;aspect-ratio:1;border-radius:46% 54% 50% 50%/55% 52% 48% 45%;background:linear-gradient(150deg,#ff6b8b 0%,#ff2e63 55%,#d61f69 100%);box-shadow:0 30px 60px -20px rgba(214,31,105,.55);animation:fzMorph 12s ease-in-out infinite}
.fz-ring{position:absolute;left:0;right:-2%;bottom:-4%;aspect-ratio:1;border-radius:50%;border:2px dashed rgba(255,77,109,.45);animation:fzSpin 40s linear infinite}
@keyframes fzSpin{to{transform:rotate(360deg)}}
.fz-couple{position:relative;display:block;width:100%;height:auto;filter:drop-shadow(0 18px 30px rgba(120,10,50,.25))}
.fz-chip{position:absolute;z-index:2;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-radius:14px;padding:8px 12px;font-size:13px;box-shadow:0 12px 28px rgba(80,10,40,.18);display:flex;align-items:center;gap:6px;white-space:nowrap;animation:fzBob 4.5s ease-in-out infinite}
.fz-chip.c1{left:-4%;top:18%}
.fz-chip.c2{right:-2%;top:44%;animation-delay:-2s}
.fz-chip .dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:fzPing 1.8s infinite}
@keyframes fzBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes fzPing{70%{box-shadow:0 0 0 9px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.fz-stamp{position:absolute;z-index:2;right:4%;top:2%;width:86px;height:86px;border-radius:50%;display:grid;place-content:center;text-align:center;background:conic-gradient(from 0deg,#ffd60a,#ffb703,#ffd60a);color:#3b0a1a;box-shadow:0 12px 26px rgba(255,183,3,.45),inset 0 0 0 4px rgba(255,255,255,.55);transform:rotate(-12deg);animation:fzWob 3.6s ease-in-out infinite}
.fz-stamp b{font-family:var(--display);font-size:28px;line-height:1;font-weight:900}
.fz-stamp small{font-size:10px;font-weight:800;line-height:1.15;text-transform:uppercase;letter-spacing:.04em}
@keyframes fzWob{0%,100%{transform:rotate(-12deg) scale(1)}50%{transform:rotate(-4deg) scale(1.06)}}
.fz-copy{padding-bottom:46px}
.fz-eyebrow{display:inline-block;font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#d61f69;background:#fff;border:1px solid #ffd1dc;padding:6px 12px;border-radius:999px;box-shadow:0 6px 16px rgba(214,31,105,.08)}
.fz-title{margin:16px 0 12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-weight:900;letter-spacing:-.025em;line-height:1}
.fz-title .r1{font-size:clamp(28px,4.2vw,50px);color:#fff;background:linear-gradient(100deg,#ff2e63,#e11d48 60%,#ff4d6d);padding:10px 20px 12px;border-radius:16px 22px 18px 14px;transform:rotate(-2deg);box-shadow:0 14px 30px -10px rgba(225,29,72,.6);text-shadow:0 2px 0 rgba(120,0,30,.25)}
.fz-title .r2{position:relative;overflow:hidden;font-size:clamp(36px,5.6vw,68px);color:#14143a;background:linear-gradient(100deg,#ffe14d,#ffc300);padding:10px 24px 18px;border-radius:14px 20px 16px 22px;transform:rotate(-1deg) translateX(18px);box-shadow:0 16px 34px -12px rgba(255,170,0,.65)}
.fz-title .r2::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.65) 48%,transparent 62%);transform:translateX(-120%);animation:fzShine 3.8s ease-in-out infinite}
@keyframes fzShine{55%,100%{transform:translateX(120%)}}
.fz-title .r2 svg{position:absolute;left:20px;right:20px;bottom:6px;width:calc(100% - 40px);height:12px}
.fz-title .r2 svg path{fill:none;stroke:#e11d48;stroke-width:5;stroke-linecap:round;stroke-dasharray:320;stroke-dashoffset:320;animation:fzDraw 1.6s .4s ease forwards}
@keyframes fzDraw{to{stroke-dashoffset:0}}
.fz-lead{max-width:540px;color:#4b4b6b;font-size:15.5px;line-height:1.6;margin:18px 0 18px}
.fz-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:620px}
.fz-badge{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.85);border:1px solid #ffe0e7;border-radius:16px;padding:12px;box-shadow:0 10px 24px -14px rgba(214,31,105,.45);transition:transform .25s,box-shadow .25s;animation:fzUp .7s var(--d) both}
.fz-badge:hover{transform:translateY(-4px);box-shadow:0 18px 32px -14px rgba(214,31,105,.55)}
.fz-badge b{display:block;font-size:14px;line-height:1.15;color:#1d1d3b}
.fz-badge small{display:block;font-size:11.5px;color:#6b6b85;line-height:1.3;margin-top:2px}
@keyframes fzUp{from{opacity:0;transform:translateY(14px)}}
.fz-ic{flex:0 0 42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(140deg,#ff6b8b,#e11d48);box-shadow:0 0 0 4px #ffe4ea}
.fz-ic svg{width:22px;height:22px}
.fz-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.fz-go{animation:fzPulse 2.4s infinite}
@keyframes fzPulse{0%{box-shadow:0 0 0 0 rgba(255,46,99,.5)}70%{box-shadow:0 0 0 16px rgba(255,46,99,0)}100%{box-shadow:0 0 0 0 rgba(255,46,99,0)}}
.fz-script{font-family:'Caveat',cursive;font-size:28px;color:#1d1d3b;transform:rotate(-4deg);display:inline-block}
.fz-script em{color:#e11d48;font-style:normal}
.fz-ticker{position:relative;z-index:2;background:linear-gradient(90deg,#e11d48,#ff2e63,#e11d48);color:#fff;overflow:hidden;padding:11px 0;transform:rotate(-1.2deg) scale(1.03);margin-top:-6px;box-shadow:0 -6px 22px rgba(225,29,72,.25)}
.fz-track{display:flex;width:max-content;gap:18px;animation:fzTick 26s linear infinite;font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.fz-track i{font-style:normal;color:#ffd60a}
@keyframes fzTick{to{transform:translateX(-50%)}}
@media (max-width:860px){
  .fz{padding-top:34px}
  .fz-in{grid-template-columns:1fr;gap:6px}
  .fz-copy{order:-1;padding-bottom:6px;text-align:left}
  .fz-art{max-width:340px}
  .fz-title .r2{transform:rotate(-1deg) translateX(10px)}
  .fz-badges{grid-template-columns:1fr;gap:9px}
  .fz-badge{padding:10px 12px}
  .fz-script{font-size:24px}
  .fz-chip{font-size:12px;padding:6px 10px}
  .fz-chip.c1{left:-2%}
  .fz-stamp{width:70px;height:70px}.fz-stamp b{font-size:22px}
}
@media (prefers-reduced-motion:reduce){.fz *,.fz *::after{animation:none!important}}
.fz-couple{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%);mask-image:linear-gradient(90deg,transparent 0,#000 9%)}
.fz-script{font-family:'Caveat','Segoe Script','Brush Script MT','Snell Roundhand',cursive}
@media (max-width:430px){
  #header .brand .word{font-size:20px}
  #header .brand img{width:32px;height:32px}
  #header .actions{gap:6px}
  #header .actions .btn{padding:8px 12px;font-size:13px}
  #header .icon-btn.home-btn{width:36px;height:36px}
}

/* ===== SweetDate wordmark ===== */
.brand .word{display:inline-flex;align-items:baseline;gap:1px;letter-spacing:-.01em}
.brand .word i{font-family:'Dancing Script',cursive;font-style:normal;font-weight:700;font-size:1.22em;line-height:1;background:linear-gradient(100deg,#ff4f9a,#ff1f6d 55%,#ff7a59);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:2px;filter:drop-shadow(0 2px 8px rgba(0,0,0,.25))}
.brand .word b{font-family:var(--display);font-weight:800;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.header.solid .brand .word b{color:#2a1374!important;text-shadow:none}
.header.solid .brand .word i{filter:none}
.footer .brand .word b{color:#fff!important}
.brand img{object-fit:contain}
.ntuv-line{display:inline-block;margin:2px 0 8px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);font-size:12.5px;letter-spacing:.02em}
.ntuv-line b{color:#ffd166}
.legal-ntuv{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#fff1f6;border:1px solid #fecdd3;font-size:13.5px}

/* ===== SweetDate brand intro (home) ===== */
.sd-brand{position:relative;overflow:hidden;isolation:isolate;padding:56px 0;background:radial-gradient(900px 420px at 15% 20%,#ffe1ec 0%,transparent 60%),radial-gradient(700px 380px at 90% 90%,#ece4ff 0%,transparent 60%),#fffafc;color:#1d1d3b}
.sd-brand-in{display:grid;grid-template-columns:minmax(260px,440px) 1fr;gap:48px;align-items:center}
.sd-logo-wrap{position:relative;display:grid;place-items:center;aspect-ratio:1/0.9}
.sd-logo{position:relative;z-index:2;width:100%;height:auto;filter:drop-shadow(0 22px 36px rgba(120,20,90,.22));animation:sdFloat 6s ease-in-out infinite}
.sd-glow{position:absolute;inset:8% 6%;border-radius:50%;background:radial-gradient(circle,#ff9ec4 0%,#c4a5ff 45%,transparent 70%);filter:blur(30px);opacity:.55;animation:sdPulse 5s ease-in-out infinite}
.sd-ring{position:absolute;inset:0 4%;border-radius:50%;border:2px dashed rgba(225,29,116,.25);animation:fzSpin 50s linear infinite}
.sd-h{position:absolute;z-index:3;color:#ff2e7e;animation:sdFloat 4s ease-in-out infinite;text-shadow:0 6px 14px rgba(255,46,126,.35)}
.sd-h.h1{top:6%;left:8%;font-size:26px}.sd-h.h2{top:14%;right:4%;font-size:18px;animation-delay:-1.5s;color:#7c3aed}.sd-h.h3{bottom:12%;left:2%;font-size:20px;animation-delay:-2.6s}
@keyframes sdFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes sdPulse{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.06);opacity:.7}}
.sd-brand-copy h2{font-size:clamp(28px,3.6vw,44px);margin:10px 0 12px}
.sd-brand-copy p{color:#4b4b6b;font-size:15.5px;line-height:1.6;max-width:560px}
.sd-pills{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.sd-pills span{background:#fff;border:1px solid #f3d3e1;border-radius:999px;padding:7px 13px;font-weight:700;font-size:13px;box-shadow:0 6px 14px -8px rgba(214,31,105,.4)}
.sd-venture{display:inline-block;margin-top:6px;padding:6px 14px;border-radius:999px;background:linear-gradient(90deg,#2a1374,#5b21b6);color:#fff!important;font-size:13px!important;letter-spacing:.02em}
.sd-venture b{color:#ffd166}
@media (max-width:860px){.sd-brand{padding:34px 0}.sd-brand-in{grid-template-columns:1fr;gap:14px;text-align:center}.sd-logo-wrap{max-width:320px;margin:0 auto}.sd-pills{justify-content:center}.sd-brand-copy p{margin-left:auto;margin-right:auto}}
.auth-card .auth-logo{display:block;width:150px;height:auto;margin:-6px auto 8px;filter:drop-shadow(0 8px 16px rgba(120,20,90,.15))}
@media (max-width:860px){.auth-card .auth-logo{width:120px}}
.otp-via{font-size:13px;color:#5b5b78;margin:0 0 8px;line-height:1.5}
.link-btn{border:0;background:none;padding:0;color:#e11d74;font-weight:800;cursor:pointer;font-size:12.5px;text-decoration:underline}

/* ===== Checkout ===== */
.ck-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.ck-head img{width:40px;height:40px;border-radius:10px}
.ck-head b{display:block}.ck-head small{color:#6b6b85}
.ck-amt{margin-left:auto;font-family:var(--display);font-weight:900;font-size:22px;color:#2a1374}
.ck-body{display:grid;grid-template-columns:150px 1fr;gap:12px;margin-top:10px}
.ck-tabs{display:flex;flex-direction:column;gap:6px}
.ck-tab{display:flex;align-items:center;gap:8px;border:1px solid #e7e7f2;background:#fff;border-radius:12px;padding:10px;font:inherit;font-weight:700;font-size:13px;cursor:pointer;text-align:left;color:#3b3b5c}
.ck-tab svg{width:17px;height:17px}
.ck-tab.on{border-color:#e11d74;background:#fff1f6;color:#be123c}
.ck-pane{min-height:210px;border:1px solid #eee;border-radius:14px;padding:12px;background:#fcfcff}
.ck-upi{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:start}
.ck-qr{width:150px;height:150px;background:#fff;border:1px solid #eee;border-radius:12px;display:grid;place-items:center;padding:6px}
.ck-qr svg{width:100%;height:100%}
.ck-apps{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
.ck-apps span{font-size:11.5px;font-weight:800;background:#eef2ff;color:#3730a3;border-radius:999px;padding:3px 9px}
.ck-or{font-size:12px;color:#8a8aa3;margin:8px 0 6px;font-weight:700}
.ck-card{display:flex;flex-direction:column;gap:8px}.ck-card .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ck-banks{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:13px}
.ck-banks label{display:flex;gap:6px;align-items:center;border:1px solid #eee;border-radius:10px;padding:8px;background:#fff;cursor:pointer}
@media (max-width:560px){.ck-body{grid-template-columns:1fr}.ck-tabs{flex-direction:row;overflow-x:auto}.ck-tab{white-space:nowrap}.ck-upi{grid-template-columns:1fr;justify-items:center;text-align:center}.ck-banks{grid-template-columns:1fr}}

/* ===== Online members ===== */
.ol-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.live-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:fzPing 1.8s infinite;vertical-align:middle;margin-right:6px}
.ol-tools{display:flex;gap:10px;align-items:center}
.ol-tools .input{min-width:230px}
.ol-count{background:#dcfce7;color:#166534;font-weight:800;border-radius:999px;padding:7px 12px;font-size:13px;white-space:nowrap}
.ol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.ol-card{background:rgba(255,255,255,.96);border-radius:20px;overflow:hidden;box-shadow:0 14px 34px -18px rgba(20,10,60,.45);cursor:pointer;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.ol-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -18px rgba(20,10,60,.55)}
.ol-ph{position:relative;aspect-ratio:4/4.4;overflow:hidden;background:#eee}
.ol-ph .photo-layer,.ol-ph img{width:100%;height:100%;object-fit:cover}
.ol-badge{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.92);color:#166534;font-weight:800;font-size:11.5px;border-radius:999px;padding:4px 9px}
.ol-badge i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:fzPing 1.8s infinite}
.ol-ver{position:absolute;right:10px;top:10px}
.ol-info{padding:10px 12px 4px;color:#1d1d3b}
.ol-info b{display:block;font-size:15px}
.ol-info small{color:#6b6b85;font-size:12px}
.ol-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.ol-tags span{font-size:10.5px;font-weight:700;background:#f3f0ff;color:#5b21b6;border-radius:999px;padding:2px 8px}
.ol-act{display:flex;gap:6px;padding:8px 12px 12px;margin-top:auto}
.ol-act .btn{flex:1}
.ol-ic{width:38px;height:38px;border-radius:12px;border:0;cursor:pointer;display:grid;place-items:center;background:#dcfce7;color:#15803d}
.ol-ic.v{background:#ede9fe;color:#6d28d9}
.ol-ic svg{width:18px;height:18px}
@media (max-width:600px){.ol-grid{grid-template-columns:1fr 1fr;gap:10px}.ol-tools{width:100%}.ol-tools .input{min-width:0;flex:1}.ol-act{flex-wrap:wrap}.ol-act .btn{flex:1 1 100%}.ol-ic{flex:1}}
.call-ui.sim.video-live .who{position:relative;top:auto;left:auto;text-align:center}
.call-ui.sim.video-live .who .avatar{display:grid!important;margin:0 auto}
.call-ui.sim .remote{display:none!important}
.remember{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;cursor:pointer}
.remember input{width:17px;height:17px;accent-color:#e11d74}

/* ===== 24/7 support band ===== */
.sup247{position:relative;padding:48px 0;background:linear-gradient(120deg,#1b0f4d 0%,#2a1374 45%,#7a1758 100%);color:#fff;overflow:hidden;isolation:isolate}
.sup247::before{content:"";position:absolute;inset:-40% -10% auto auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,79,154,.35),transparent 65%);z-index:-1}
.sup-in{display:grid;grid-template-columns:auto 1fr;gap:20px 32px;align-items:center}
.sup-badge{position:relative;width:140px;height:140px;border-radius:50%;display:grid;place-content:center;text-align:center;background:linear-gradient(135deg,#ff4f9a,#ff7a59);box-shadow:0 18px 40px rgba(255,79,154,.45)}
.sup-badge b{font-family:var(--display);font-size:42px;font-weight:900;line-height:1}
.sup-badge small{font-size:12px;font-weight:800;letter-spacing:.2em}
.sup-ring{position:absolute;inset:-10px;border-radius:50%;border:2px dashed rgba(255,255,255,.5);animation:fzSpin 24s linear infinite}
.sup-copy h2{color:#fff;margin:6px 0 8px;font-size:clamp(26px,3vw,38px)}
.sup-copy p{color:rgba(255,255,255,.82);max-width:620px;margin:0}
.sup-copy .eyebrow{color:#ffd166}
.sup-cards{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:8px}
.sup-card{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);color:#fff;text-decoration:none;font:inherit;cursor:pointer;text-align:left;transition:transform .2s,background .2s}
.sup-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.18)}
.sup-card .si{font-size:24px}.sup-card b{font-size:15px}.sup-card small{color:rgba(255,255,255,.75);font-size:12px}
.sup-card.danger{background:rgba(255,80,80,.18);border-color:rgba(255,120,120,.4)}
@media (max-width:900px){.sup-cards{grid-template-columns:1fr 1fr}.sup-in{grid-template-columns:1fr;justify-items:center;text-align:center}.sup-copy p{margin:0 auto}}
.ol-ph .photo,.ol-ph .noimg{position:absolute;inset:0;background-size:cover;background-position:center 25%;display:grid;place-items:center;color:#fff;font-size:42px;font-weight:800}
.modal.ck-modal,.ck-modal{width:min(700px,calc(100vw - 24px))!important;max-width:700px!important}
.ck-head{padding-right:44px}

/* ===== Payment methods checkout ===== */
.pm-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:12px 0}
.pm-tab{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:1.5px solid #ece6f3;background:#fff;border-radius:14px;padding:10px 12px;font:inherit;cursor:pointer;text-align:left;color:#2b2550}
.pm-tab span{font-size:20px}.pm-tab b{font-size:14px}.pm-tab small{font-size:11px;color:#7a7395}
.pm-tab.on{border-color:#e11d74;background:linear-gradient(135deg,#fff1f6,#fff);box-shadow:0 8px 18px -10px rgba(225,29,116,.6)}
.pm-upi{display:grid;grid-template-columns:160px 1fr;gap:14px;align-items:start}
.pm-upi .ck-qr{width:160px;height:160px}
.pm-upi .btn{margin-top:8px}
.cp{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;border:1px dashed #d6cdea;background:#faf8ff;border-radius:10px;padding:8px 10px;font:700 14px ui-monospace,Menlo,monospace;color:#2a1374;cursor:pointer;margin:6px 0;overflow-wrap:anywhere;text-align:left}
.cp span{font:700 11px var(--font,system-ui);color:#e11d74;flex-shrink:0}
.pm-qrimg{display:flex;gap:14px;align-items:center}.pm-qrimg img{width:180px;max-width:45%;border-radius:12px;border:1px solid #eee;background:#fff}
.pm-bank .bk-row{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:8px;font-size:13.5px}
.pm-bank .bk-row span{color:#6b6b85;font-weight:600}
.pm-rz{text-align:center;padding:10px 0}
.pay-st{font-weight:800;font-size:12px;border-radius:999px;padding:3px 9px;white-space:nowrap}
.pay-st.paid{background:#dcfce7;color:#166534}.pay-st.pending{background:#fef3c7;color:#92400e}.pay-st.failed{background:#fee2e2;color:#991b1b}.pay-st.refunded{background:#e0e7ff;color:#3730a3}
.inv-card{border:1px solid #ece6f3;border-radius:16px;padding:14px;background:linear-gradient(180deg,#fff,#fbf9ff);text-align:left}
.inv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.inv-top b{display:block;letter-spacing:.08em;color:#2a1374}.inv-top small{color:#6b6b85;font-family:ui-monospace,monospace}.inv-top img{width:38px;border-radius:9px}
.inv-row{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px dashed #eee;font-size:13.5px}.inv-row span{color:#6b6b85}
.inv-row.tot{border-bottom:0;font-size:16px}.inv-row.tot b{color:#e11d74}
@media (max-width:560px){.pm-upi{grid-template-columns:1fr;justify-items:center;text-align:center}.pm-qrimg{flex-direction:column;text-align:center}.pm-qrimg img{max-width:220px}}

/* ===== Validity chip + renewal line ===== */
.valid-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 11px;border-radius:999px;background:linear-gradient(135deg,#fff7d6,#ffe9a8);color:#6b4a00;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px -6px rgba(160,110,0,.6)}
.valid-chip b{color:#3d2a00}
@media (max-width:860px){.valid-chip span{display:none}.valid-chip{padding:5px 8px;font-size:11px}}
.renew-bar{position:fixed;left:0;right:0;top:calc(var(--hh,64px) + env(safe-area-inset-top,0px));z-index:45;display:flex;align-items:center;gap:10px;padding:8px max(14px,env(safe-area-inset-left,0px));background:linear-gradient(90deg,#2a1374,#7a1758);color:#fff;font-size:13px;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.renew-bar.urgent{background:linear-gradient(90deg,#b91c1c,#e11d74)}
.renew-bar .rb-txt{flex:1;min-width:0}
.renew-bar .rb-btn{background:#ffd166;color:#3d2a00;font-weight:800;border-radius:999px;padding:6px 12px;text-decoration:none;white-space:nowrap;animation:fzPulse 2.4s infinite}
.renew-bar .rb-x{background:none;border:0;color:#fff;font-size:20px;cursor:pointer;line-height:1}
body.has-renew .app{padding-top:calc(var(--header-h) + 38px)}

/* ===== Chat media ===== */
.composer .attach{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;cursor:pointer;color:#e11d74;background:#fff1f6}
.composer .attach svg{width:20px;height:20px}
.bubble.has-media{padding:5px;max-width:min(280px,75%)}
.bubble .media{display:block;width:100%;border-radius:12px;overflow:hidden;background:#000}
.bubble .media img,.bubble video.media{display:block;width:100%;max-height:340px;object-fit:cover;border-radius:12px}
.bubble .exp{display:block;font-size:10.5px;opacity:.75;margin:4px 4px 0}
.bubble .expired{font-style:italic;opacity:.7;font-size:13px}
.bubble .upl{font-size:13px;padding:6px 8px;display:block}

/* ===== App download / install / updates ===== */
.app-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 13px;border-radius:999px;background:linear-gradient(135deg,#ff4f9a,#7c3aed);color:#fff;font-weight:800;font-size:13px;text-decoration:none;box-shadow:0 8px 18px -8px rgba(124,58,237,.7);white-space:nowrap}
body.is-app .app-btn,body.is-app .store-badge,body.is-app .dl-banner{display:none!important}
@media (max-width:860px){.app-btn span{display:none}.app-btn{padding:8px 10px}}
.store-badge{display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:9px 16px;border-radius:14px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.3);color:#fff;text-decoration:none;backdrop-filter:blur(8px)}
.store-badge .sb-ic{font-size:24px}.store-badge small{display:block;font-size:10.5px;opacity:.8}.store-badge b{font-size:15px}.store-badge .sb-os{font-size:11px;opacity:.75;border-left:1px solid rgba(255,255,255,.3);padding-left:10px}
.upd-pill{position:fixed;top:calc(10px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);z-index:120;border:0;border-radius:999px;padding:10px 18px;font:600 13.5px var(--font,system-ui);color:#fff;background:linear-gradient(135deg,#ff2e7e,#7c3aed);box-shadow:0 10px 26px rgba(124,58,237,.5);cursor:pointer;animation:updBlink 1.1s ease-in-out infinite}
@keyframes updBlink{0%,100%{opacity:1;transform:translateX(-50%) scale(1)}50%{opacity:.55;transform:translateX(-50%) scale(1.05)}}
.push-nudge{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:110;display:flex;align-items:center;gap:10px;max-width:520px;margin:0 auto;padding:12px 14px;border-radius:18px;background:#fff;color:#1d1640;box-shadow:0 18px 40px rgba(20,10,60,.3);border:1px solid #f1e3ec}
.push-nudge .pn-ic{font-size:26px}.push-nudge div{flex:1;min-width:0}.push-nudge b{display:block}.push-nudge small{color:#6b6b85;font-size:12px}
.push-nudge .pn-x{border:0;background:none;font-size:22px;color:#999;cursor:pointer}
.dl-banner{position:relative;z-index:60;display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fff;color:#1d1640;border-bottom:1px solid #f1e3ec}
.dl-banner img{width:38px;height:38px;border-radius:10px}.dl-banner div{flex:1}.dl-banner b{display:block;font-size:14px}.dl-banner small{color:#6b6b85;font-size:11.5px}
.dl-banner .dl-x{border:0;background:none;font-size:20px;color:#999}
body.has-dl #header{top:54px}
.app-dl .ad-hero{text-align:center;margin-bottom:18px}.app-dl .ad-hero img{width:190px;filter:drop-shadow(0 12px 22px rgba(120,20,90,.25))}
.app-dl h1{font-size:clamp(26px,5vw,36px);margin:8px 0}.app-dl .ad-hero p{max-width:560px;margin:0 auto;color:#5b5b78}
.ad-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ad-card{background:rgba(255,255,255,.96);border-radius:20px;padding:16px;color:#1d1640;box-shadow:0 14px 30px -18px rgba(20,10,60,.5);display:flex;flex-direction:column;gap:8px}
.ad-card .ad-ic{font-size:34px}.ad-card h3{margin:0}.ad-card small{color:#6b6b85}.ad-card ol{margin:0;padding-left:20px;font-size:14px;line-height:1.7}
.ad-card.android{border-top:4px solid #22c55e}.ad-card.ios{border-top:4px solid #0ea5e9}.ad-card.desk{border-top:4px solid #a855f7;align-items:center;text-align:center}
.ad-qr{width:170px;height:170px;background:#fff;border-radius:12px;padding:6px}.ad-qr svg{width:100%;height:100%}
.ios-share{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#e0f2fe;color:#0369a1;font-size:13px}
.ad-feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}
.ad-feat div{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);border-radius:16px;padding:12px;color:#fff}
.ad-feat span{font-size:22px}.ad-feat b{display:block}.ad-feat small{opacity:.8;font-size:12px}

/* ===== Colourful app look (installed app / phone) ===== */
@media (max-width:860px){
  .tabbar{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px);border-top:0!important;box-shadow:0 -10px 30px rgba(40,10,80,.15);border-radius:22px 22px 0 0}
  .tabbar a{color:#8b84a8!important;transition:transform .2s}
  .tabbar a.active{color:#fff!important}
  .tabbar a.active svg{background:linear-gradient(135deg,#ff4f9a,#7c3aed);border-radius:14px;padding:6px;width:36px!important;height:36px!important;box-shadow:0 8px 16px -6px rgba(124,58,237,.7);transform:translateY(-6px)}
  .tabbar a.active span:not(.badge-dot){color:#7c3aed;font-weight:800}
  .tabbar a:nth-child(1) svg{color:#f97316}.tabbar a:nth-child(2) svg{color:#22c55e}.tabbar a:nth-child(3) svg{color:#0ea5e9}.tabbar a:nth-child(4) svg{color:#ec4899}.tabbar a:nth-child(5) svg{color:#8b5cf6}
  .tabbar a.active svg{color:#fff!important}
  body.authed .header{background:linear-gradient(90deg,rgba(42,19,116,.94),rgba(122,23,88,.94))!important;backdrop-filter:blur(14px)}
  body.authed .header .brand .word b{color:#fff!important}
  body.authed .header .icon-btn{background:rgba(255,255,255,.15);color:#fff}
  img,video{max-width:100%}
  .pcard .photo,.ol-ph .photo{background-size:cover;background-position:center 25%}
}
body.is-app{overscroll-behavior-y:contain;-webkit-tap-highlight-color:transparent}
body.is-app .footer{display:none}
.call-ui .net{display:inline-block;font-size:12px;letter-spacing:1px;font-weight:800;margin-bottom:2px}
.call-ui .net.q2{color:#4ade80}.call-ui .net.q1{color:#facc15}.call-ui .net.q0{color:#f87171;animation:updBlink 1s infinite}
.call-ui.ringing .net{display:none}
@media (max-width:860px){
  body.authed .header .app-btn{display:none}
  .valid-chip{padding:4px 7px;font-size:10.5px;gap:2px}
  .valid-chip span{display:none}
  #header .actions{gap:6px}
}
.app-dl .ad-hero{background:rgba(255,255,255,.94);border-radius:24px;padding:18px 16px;color:#1d1640;box-shadow:0 18px 40px -20px rgba(20,10,60,.5)}
.app-dl .ad-hero h1{color:#2a1374}

@media (max-width:480px){body.has-dl .header .app-btn{display:none}}
.my-id{margin:0 0 6px;font-size:13px;color:var(--muted,#6b6b80)}.my-id b{font-family:ui-monospace,Menlo,monospace;letter-spacing:.4px;color:#4b2bb8;background:#efe9ff;padding:2px 8px;border-radius:999px}

/* ===== Download the SweetDate app (home) ===== */
.adl{position:relative;padding:72px 0 64px;background:linear-gradient(180deg,#fff0f5 0%,#fde6ef 100%);overflow:hidden}
.adl-in{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center}
.adl-copy h2{margin:0 0 12px;font-size:clamp(32px,4.4vw,52px);line-height:1.05;font-weight:900;color:#1d1a2e;letter-spacing:-.5px}
.adl-brand{background:linear-gradient(90deg,#b0124f,#e91e63 55%,#ff5c8a);-webkit-background-clip:text;background-clip:text;color:transparent}
.adl-copy>p{margin:0 0 24px;color:#4a4560;font-size:17px;max-width:520px}
.adl-card{background:#fff;border-radius:24px;padding:22px 24px;box-shadow:0 18px 50px rgba(176,18,79,.10);max-width:500px}
.adl-hint{margin:0 0 16px;text-align:center;color:#4a4560;font-size:14px}
.adl-row{display:flex;gap:22px;align-items:center;justify-content:center;flex-wrap:wrap}
.adl-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:6px}
.adl-qr-wrap small{color:#6b6680;font-size:12px}
.adl-qr{width:118px;height:118px;background:#fff}
.adl-qr svg{width:100%;height:100%;display:block}
.adl-btns{display:flex;flex-direction:column;gap:12px}
.adl-store{display:flex;align-items:center;gap:12px;min-width:196px;padding:10px 18px;border-radius:12px;background:#111;color:#fff;border:0;cursor:pointer;text-decoration:none;font:inherit;text-align:left;transition:transform .15s,box-shadow .15s}
.adl-store:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.25);color:#fff}
.adl-store svg{width:26px;height:26px;flex:none}
.adl-store span{display:flex;flex-direction:column;line-height:1.1}
.adl-store small{font-size:10px;letter-spacing:.4px;font-weight:700;opacity:.85}
.adl-store b{font-size:19px;font-weight:800}
.adl-look{display:flex;align-items:center;gap:10px;justify-content:center;margin-top:16px;color:#6b6680;font-size:12.5px}
.adl-look img{border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.adl-art{position:relative;height:440px}
.adl-phone{position:absolute;width:210px;height:420px;border-radius:34px;background:#141420;padding:9px;box-shadow:0 28px 60px rgba(42,19,116,.28)}
.adl-phone.p1{left:6%;top:0;transform:rotate(-4deg)}
.adl-phone.p2{left:50%;top:26px;transform:rotate(4deg)}
.adl-notch{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:74px;height:18px;background:#141420;border-radius:0 0 12px 12px;z-index:2}
.adl-scr{height:100%;border-radius:26px;background:#fff;overflow:hidden;display:flex;flex-direction:column;padding:26px 10px 8px}
.adl-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#1d1a2e;margin-bottom:8px}
.adl-tabs{display:flex;gap:5px;margin-bottom:8px}
.adl-tabs span{font-size:9.5px;padding:3px 8px;border-radius:999px;background:#f2eef8;color:#5b5670;font-weight:600}
.adl-tabs span.on{background:#e91e63;color:#fff}
.adl-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:8px}
.adl-stats div{background:#fbf3f7;border-radius:10px;padding:6px 2px;text-align:center}
.adl-stats b{display:block;color:#c2185b;font-size:15px}
.adl-stats small{font-size:8.5px;color:#6b6680}
.adl-pc{position:relative;flex:1;border-radius:16px;background-size:cover;background-position:center;overflow:hidden}
.adl-pc:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.75))}
.adl-ver,.adl-on{position:absolute;top:8px;left:8px;z-index:1;font-size:9.5px;font-weight:700;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#16803c}
.adl-pi{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:8px 9px;color:#fff}
.adl-pi b{display:block;font-size:14px}
.adl-pi small{display:block;font-size:9px;opacity:.9;margin-bottom:6px}
.adl-acts{display:flex;justify-content:space-around}
.adl-acts span{display:flex;flex-direction:column;align-items:center;font-size:14px}
.adl-acts i{font-style:normal;font-size:8.5px;margin-top:1px}
.adl-nav{display:flex;justify-content:space-around;padding-top:7px;font-size:15px}
.adl-chip{position:absolute;z-index:3;background:#fff;color:#1d1a2e;font-size:13px;font-weight:700;padding:9px 14px;border-radius:999px;box-shadow:0 10px 26px rgba(42,19,116,.16);white-space:nowrap;animation:adlFloat 4s ease-in-out infinite}
.adl-chip.c1{left:-2%;top:250px}
.adl-chip.c2{right:0;top:200px;animation-delay:1.2s}
.adl-chip.c3{left:18%;bottom:8px;animation-delay:2.2s}
@keyframes adlFloat{50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.adl-chip{animation:none}}
@media (max-width:900px){.adl{padding:52px 0 40px}.adl-in{grid-template-columns:1fr;gap:26px}.adl-copy{text-align:center}.adl-copy>p,.adl-card{margin-left:auto;margin-right:auto}.adl-art{height:400px;max-width:420px;width:100%;margin:0 auto}}
@media (max-width:480px){.adl-art{height:350px}.adl-phone{width:170px;height:340px;border-radius:28px}.adl-phone.p1{left:0}.adl-phone.p2{left:auto;right:0;top:22px}.adl-chip{font-size:11px;padding:7px 11px}.adl-chip.c2{top:160px}.adl-store{min-width:170px}.adl-store b{font-size:17px}}

/* ===== Sponsored ads (Admin → Ad Studio) ===== */
.sdad{position:relative;display:flex;text-decoration:none;color:#1d1a2e;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 22px rgba(42,19,116,.10);transition:transform .2s,box-shadow .2s}
.sdad:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(42,19,116,.16)}
.sdad.t-dark{background:#1b1630;color:#fff}.sdad.t-brand{background:linear-gradient(120deg,#2a1374,#c2185b);color:#fff}
.sdad-tag{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.3px;opacity:.6;text-transform:uppercase}
.sdad-cta{display:inline-flex;align-items:center;white-space:nowrap;font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;background:#e91e63;color:#fff}
.t-brand .sdad-cta,.t-dark .sdad-cta{background:#fff;color:#2a1374}
.sdad-slot{position:relative;z-index:1}
.sdad-top{padding:12px 0 0}.sdad-bottom{padding:8px 0 22px}.sdad-middle{margin:18px 0}
.sdad-banner{align-items:center;gap:12px;padding:10px 14px 10px 10px;min-height:64px}
.sdad-bimg{width:52px;height:52px;border-radius:12px;object-fit:cover;flex:none;display:grid;place-items:center;background:#fdeef3;font-size:24px}
.sdad-btxt{flex:1;min-width:0;display:flex;flex-direction:column}
.sdad-btxt b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sdad-btxt small{font-size:12.5px;opacity:.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sdad-banner .sdad-tag{position:absolute;top:4px;right:10px;font-size:9px}
.sdad-stack{flex-direction:column;max-width:420px;margin:0 auto}
.sdad-simg{display:block;aspect-ratio:16/10;background:#fdeef3;overflow:hidden}.sdad-simg img{width:100%;height:100%;object-fit:cover;display:block}
.sdad-sbody{display:flex;flex-direction:column;gap:5px;padding:12px 14px 14px}.sdad-sbody b{font-size:16px;line-height:1.25}.sdad-sbody small{font-size:13px;opacity:.78}
.sdad-sbody .sdad-cta{align-self:flex-start;margin-top:4px}
.sdad-rail{position:fixed;top:190px;width:200px;z-index:5}
.sdad-rail-left{left:calc((100vw - 1100px)/2 - 220px)}.sdad-rail-right{right:calc((100vw - 1100px)/2 - 220px)}
.sdad-rail .sdad-sbody b{font-size:14px}.sdad-rail .sdad-sbody small{font-size:12px}
/* mini card: roams corner → corner */
.sdad-mini{position:fixed;left:12px;bottom:92px;z-index:250;width:236px;border-radius:16px;background:#fff;box-shadow:0 14px 40px rgba(42,19,116,.28);overflow:hidden;animation:sdRoam var(--roam,24s) ease-in-out infinite;will-change:transform}
.sdad-mini:hover{animation-play-state:paused}
.sdad-mini.t-dark{background:#1b1630;color:#fff}.sdad-mini.t-brand{background:linear-gradient(120deg,#2a1374,#c2185b);color:#fff}
.sdad-mini a{display:flex;gap:10px;align-items:center;padding:8px;text-decoration:none;color:inherit}
.sdad-mpics{position:relative;width:72px;height:72px;border-radius:12px;overflow:hidden;flex:none;background:#fdeef3;display:grid;place-items:center;font-size:26px}
.sdad-mpics img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}.sdad-mpics img.on{opacity:1}
.sdad-mtxt{display:flex;flex-direction:column;gap:3px;min-width:0}.sdad-mtxt b{font-size:13.5px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sdad-mtxt .sdad-cta{align-self:flex-start;font-size:11.5px;padding:5px 10px}
.sdad-x{position:absolute;top:4px;right:4px;z-index:2;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.45);color:#fff;font-size:15px;line-height:1;cursor:pointer}
@keyframes sdRoam{
  0%,8%{transform:translate(0,0)}
  25%,33%{transform:translate(calc(100vw - 236px - 24px),0)}
  50%,58%{transform:translate(calc(100vw - 236px - 24px),calc(-100vh + 92px + 100px + 110px))}
  75%,83%{transform:translate(0,calc(-100vh + 92px + 100px + 110px))}
  100%{transform:translate(0,0)}}
@media (max-width:600px){.sdad-mini{width:206px;bottom:86px}.sdad-mpics{width:60px;height:60px}
  @keyframes sdRoam{0%,8%{transform:translate(0,0)}25%,33%{transform:translate(calc(100vw - 206px - 24px),0)}50%,58%{transform:translate(calc(100vw - 206px - 24px),calc(-100vh + 86px + 90px + 100px))}75%,83%{transform:translate(0,calc(-100vh + 86px + 90px + 100px))}100%{transform:translate(0,0)}}
  .sdad-banner{padding:8px 10px 8px 8px}.sdad-bimg{width:44px;height:44px}.sdad-cta{padding:7px 11px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.sdad-mini{animation:none}}
body.in-convo .sdad-mini{display:none}
.sdad-top{padding:14px 0 4px}.route-home .sdad-top,.route-home .sdad-middle{padding:18px 0;margin:0;background:#fff7fa}
.sdad-middle .sdad-stack{max-width:420px}

/* ===== chat: select & delete ===== */
.chat-main{position:relative}
.sel-bar{position:absolute;left:0;right:0;top:0;z-index:6;display:flex;align-items:center;gap:12px;padding:12px 14px;background:linear-gradient(120deg,#2a1374,#c2185b);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.18);animation:selIn .15s ease}
.sel-bar b{flex:1;font-size:15px}.sel-bar .icon-btn{color:#fff;background:rgba(255,255,255,.15)}
.sel-bar .btn[disabled]{opacity:.5}
@keyframes selIn{from{transform:translateY(-100%)}}
.selecting .bubble[data-id]{cursor:pointer;user-select:none}
.bubble.sel{outline:3px solid #ff5c8a;outline-offset:2px;filter:saturate(1.2)}
.selecting .bubble.sel::before{content:"✓";position:absolute;top:-8px;width:20px;height:20px;border-radius:50%;background:#e91e63;color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.selecting .bubble.out.sel::before{left:-26px}.selecting .bubble.in.sel::before{right:-26px}
.bubble{position:relative}
.bubble .deleted{font-style:italic;opacity:.75}
.msgs{-webkit-touch-callout:none}
.del-opts{display:flex;flex-direction:column;gap:10px;margin-top:14px}

/* ===== iPhone "Add to Home Screen" guide ===== */
.ios-sheet-bg{position:fixed;inset:0;z-index:500;background:rgba(10,8,30,.55);backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;animation:iosFade .2s ease}
@keyframes iosFade{from{opacity:0}}
.ios-sheet{position:relative;width:100%;max-width:440px;background:#fff;color:#1d1640;border-radius:24px 24px 0 0;padding:20px 18px calc(110px + env(safe-area-inset-bottom,0px));box-shadow:0 -20px 50px rgba(0,0,0,.25);animation:iosUp .28s cubic-bezier(.2,.9,.3,1.2)}
@media (min-width:600px){.ios-sheet-bg{align-items:center}.ios-sheet{border-radius:24px;padding-bottom:20px}}
@keyframes iosUp{from{transform:translateY(60%)}}
.ios-x{position:absolute;top:10px;right:12px;width:32px;height:32px;border-radius:50%;border:0;background:#f2eef8;font-size:20px;color:#555}
.ios-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}.ios-head img{border-radius:14px;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.ios-head b{display:block;font-size:17px}.ios-head small{color:#6b6680}
.ios-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ios-steps li{display:flex;gap:12px;align-items:flex-start;background:#faf7fd;border-radius:14px;padding:11px 12px;font-size:14.5px;line-height:1.45}
.ios-steps .n{flex:none;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#ff2e7e,#7c3aed);color:#fff;font-weight:800;display:grid;place-items:center;font-size:13px}
.ios-steps svg{vertical-align:middle;margin:0 2px}
.ios-qr{width:170px;height:170px;margin:0 auto}.ios-qr svg{width:100%;height:100%}
.ios-phone{display:none}
.ios-arrow{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:501;font-size:40px;color:#fff;text-shadow:0 4px 14px rgba(0,0,0,.5);animation:iosBounce 1s ease-in-out infinite}
@keyframes iosBounce{50%{transform:translate(-50%,10px)}}

/* ===== blinking Update button (top) ===== */
.upd-pill{top:calc(var(--header-h,64px) + 8px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:6px;padding:9px 16px 9px 12px;font-size:14px;z-index:140;white-space:nowrap}
.upd-pill small{font-weight:500;opacity:.9;font-size:12px}
.upd-pill .upd-ic{display:inline-block;animation:updSpin 1.4s linear infinite}
.upd-pill::after{content:"";position:absolute;inset:-4px;border-radius:999px;border:2px solid rgba(255,46,126,.7);animation:updRing 1.1s ease-out infinite}
@keyframes updRing{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.25)}}
@keyframes updSpin{0%,60%{transform:none}80%{transform:translateY(-3px)}100%{transform:none}}
body.has-dl .upd-pill{top:calc(var(--header-h,64px) + 62px)}

/* ads: only as wide as the text, gliding left ↔ right */
.sdad-slot .wrap{display:block}
.sdad-banner{display:inline-flex;width:auto;max-width:min(100%,640px);vertical-align:top}
.sdad-banner .sdad-btxt b,.sdad-banner .sdad-btxt small{white-space:normal}
.sdad-banner .sdad-cta{margin-left:6px}
.sdad-slot .sdad-stack{margin:0;display:inline-flex;max-width:min(100%,380px)}
.sdad.roam{animation:sdGlide var(--dur,12s) ease-in-out infinite alternate}
.sdad.roam:hover,.sdad.roam:focus-within{animation-play-state:paused}
@keyframes sdGlide{0%,6%{transform:translateX(0)}94%,100%{transform:translateX(var(--run,0))}}

/* Continue with Google */
.g-wrap{margin:14px 0 4px}.g-wrap:empty{display:none}
.g-slot{display:flex;justify-content:center;min-height:44px}
.g-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px 16px;border-radius:999px;border:1.5px solid #dadce0;background:#fff;color:#1f1f1f;font-weight:600;font-size:15px;cursor:pointer}
.g-btn:active{background:#f6f6f6}
.or-line{display:flex;align-items:center;gap:12px;margin:14px 0 2px;color:var(--muted,#8a86a0);font-size:13px}
.or-line::before,.or-line::after{content:"";flex:1;height:1px;background:rgba(120,110,160,.25)}
.g-hello{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:#f3fbf6;border:1px solid #bfe8cf;margin:12px 0}
.g-hello img{width:44px;height:44px;border-radius:50%}.g-hello b{display:block}.g-hello small{color:#5b5670}
.link-btn{border:0;background:none;color:#c2185b;font-weight:700;cursor:pointer;margin-left:auto}

/* ===== Delete account flow ===== */
.del-flow{text-align:left}
.del-ico{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:30px;background:linear-gradient(135deg,#fff1f5,#ffe4ec);margin:0 auto 8px}
.del-flow h3{text-align:center;margin:4px 0 6px;font-size:20px}.del-flow>p{text-align:center}
.del-reasons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.del-r{cursor:pointer}.del-r input{position:absolute;opacity:0;pointer-events:none}
.del-r span{display:inline-block;padding:8px 13px;border-radius:99px;border:1.5px solid rgba(20,24,51,.12);font-size:13px;font-weight:600;background:#fff;transition:.15s}
.del-r input:checked+span{border-color:#e11d74;background:#fff0f6;color:#be185d;box-shadow:0 0 0 3px rgba(225,29,116,.12)}
.del-r input:focus-visible+span{outline:2px solid #e11d74}
.del-warn{background:#fff8eb;border:1px solid #fde3b0;border-radius:14px;padding:12px 14px;font-size:13px;margin:10px 0}
.del-warn ul{margin:6px 0 0;padding-left:18px}.del-warn li{margin:3px 0}
.del-ok{display:flex;gap:9px;align-items:flex-start;font-size:13px;font-weight:600;margin:10px 0}.del-ok input{margin-top:2px;width:17px;height:17px;accent-color:#e11d74}
.del-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.del-btns .btn{flex:1;min-width:140px;justify-content:center}
.del-btns .btn-danger:disabled{opacity:.45}
.del-rec{background:linear-gradient(135deg,#eef4ff,#fdf0ff);border-radius:16px;padding:14px;margin-top:12px;display:flex;flex-direction:column;gap:4px}
.del-rec small{color:var(--ink-2,#4a5070)}
.legal-card .del-warn{margin:12px 0 18px}

/* ===== Ads v3: sizes, uncropped photos, movement (Admin → Ad Studio) ===== */
.sdad-fit{position:relative;display:block;overflow:hidden;background:#f6f1fb;isolation:isolate}
.sdad-fit::before{content:'';position:absolute;inset:-14px;background:var(--img) center/cover no-repeat;filter:blur(14px) saturate(1.15);opacity:.55;z-index:-1}
.sdad-fit img{width:100%;height:100%;object-fit:contain;display:block}
.sdad-banner .sdad-bimg{width:auto;height:54px;aspect-ratio:4/3;border-radius:12px;padding:0;background:#f6f1fb}
.sdad-banner.sz-s .sdad-bimg{height:40px}.sdad-banner.sz-l .sdad-bimg{height:78px}
.sdad-banner.sz-s{max-width:min(100%,420px);min-height:54px;padding:7px 12px 7px 7px}.sdad-banner.sz-s .sdad-btxt b{font-size:13.5px}.sdad-banner.sz-s .sdad-btxt small{font-size:11.5px}.sdad-banner.sz-s .sdad-cta{font-size:12px;padding:6px 11px}
.sdad-banner.sz-m{max-width:min(100%,580px)}
.sdad-banner.sz-l{max-width:min(100%,780px);min-height:96px;padding:12px 18px 12px 12px;gap:16px}.sdad-banner.sz-l .sdad-btxt b{font-size:18px}.sdad-banner.sz-l .sdad-btxt small{font-size:14px}.sdad-banner.sz-l .sdad-cta{font-size:14.5px;padding:10px 18px}
.sdad-stack .sdad-simg{aspect-ratio:16/10}
.sdad-slot .sdad-stack.sz-s{max-width:min(100%,280px)}.sdad-slot .sdad-stack.sz-m{max-width:min(100%,380px)}.sdad-slot .sdad-stack.sz-l{max-width:min(100%,500px)}
.sdad-stack.sz-l .sdad-sbody b{font-size:18px}.sdad-stack.sz-s .sdad-sbody b{font-size:14px}
.sdad-slot.moving{overflow:hidden}
.sdad-slot.moving .sdad{will-change:transform}
.sdad-slot.moving .sdad:hover{transform:none}
.sdad-slot.lane{padding-bottom:calc(var(--lane,40px) + 10px)!important}
.sdad.roam{animation:none}
@media (max-width:600px){.sdad-slot.moving .sdad{max-width:calc(100% - 46px)!important}.sdad-banner.sz-l .sdad-bimg{height:62px}.sdad-banner.sz-l .sdad-btxt b{font-size:16px}}

/* floating card — over the whole screen */
.sdad-float{position:fixed;left:0;top:0;z-index:250;opacity:0;transition:opacity .45s;will-change:transform;border-radius:16px;filter:drop-shadow(0 14px 30px rgba(42,19,116,.28))}
.sdad-float.in{opacity:1}
.sdad-float .sdad{box-shadow:none;max-width:100%!important;width:100%}
.sdad-float .sdad:hover{transform:none}
.sdad-float.f-banner.sz-s{width:min(86vw,300px)}.sdad-float.f-banner.sz-m{width:min(88vw,380px)}.sdad-float.f-banner.sz-l{width:min(92vw,480px)}
.sdad-float.f-stack.sz-s{width:min(56vw,200px)}.sdad-float.f-stack.sz-m{width:min(64vw,250px)}.sdad-float.f-stack.sz-l{width:min(74vw,310px)}
.sdad-float.f-banner .sdad-tag{right:30px}
.sdad-float.f-mini{background:#fff;color:#1d1a2e;overflow:hidden}
.sdad-float.f-mini.t-dark{background:#1b1630;color:#fff}.sdad-float.f-mini.t-brand{background:linear-gradient(120deg,#2a1374,#c2185b);color:#fff}
.sdad-float.f-mini.sz-s{width:200px}.sdad-float.f-mini.sz-m{width:244px}.sdad-float.f-mini.sz-l{width:min(86vw,310px)}
.f-mini a{display:flex;gap:10px;align-items:center;padding:8px;text-decoration:none;color:inherit}
.f-mini .sdad-mpics{position:relative;width:72px;height:72px;border-radius:12px;overflow:hidden;flex:none;background:#fdeef3;display:grid;place-items:center;font-size:26px}
.f-mini.sz-s .sdad-mpics{width:56px;height:56px}.f-mini.sz-l .sdad-mpics{width:100px;height:100px}
.f-mini .sdad-mpics .sdad-fit{position:absolute;inset:0;opacity:0;transition:opacity .6s}.f-mini .sdad-mpics .sdad-fit.on{opacity:1}
.f-mini .sdad-mtxt{display:flex;flex-direction:column;gap:3px;min-width:0;padding-right:14px}
.f-mini .sdad-mtxt b{font-size:13.5px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.f-mini.sz-l .sdad-mtxt b{font-size:15.5px}.f-mini .sdad-mtxt small{font-size:12px;opacity:.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.f-mini .sdad-mtxt .sdad-cta{align-self:flex-start;font-size:11.5px;padding:5px 10px}
.sdad-float .sdad-x{top:5px;right:5px;z-index:3}
body.in-convo .sdad-float{display:none}
.f-mini .sdad-mpics .sdad-fit img{position:static;opacity:1;inset:auto}
.sdad-banner .sdad-btxt b{text-overflow:clip;overflow-wrap:break-word;hyphens:auto}

/* ===== Group chats + voice messages ===== */
.seg.seg3 button{padding:10px 6px;font-size:13.5px;gap:5px}
.seg-n:not(:empty){background:var(--rose,#e11d74);color:#fff;border-radius:99px;font-size:11px;padding:1px 7px;line-height:1.4}
.g-av{display:inline-grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#fde7f1,#ede7ff);flex:none;line-height:1}
.g-av.g-plus{width:52px;height:52px;font-size:26px;color:#7b2ff7;background:linear-gradient(135deg,#f3e8ff,#fde7f1);font-weight:800}
.g-new{display:flex;align-items:center;gap:12px;width:100%;border:1.5px dashed rgba(123,47,247,.35);background:#fff;border-radius:18px;padding:10px 12px;margin:4px 0 8px;text-align:left;cursor:pointer}
.g-new .mid{display:flex;flex-direction:column}.g-new .last{font-size:12.5px;color:var(--ink-3,#8a90a8)}
.g-inv{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:18px;background:linear-gradient(135deg,#fff7fb,#f7f3ff);border:1px solid #f3d6e6;margin-bottom:8px}
.g-inv .mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.g-inv .last{font-size:12.5px;color:var(--ink-2,#4a5070)}
.g-inv-btns{display:flex;gap:8px;margin-top:6px}
.g-form h3{margin:0 0 10px;text-align:left}
.g-emojis{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:12px}
.g-emojis button{font-size:22px;padding:8px 0;border-radius:12px;border:1.5px solid rgba(20,24,51,.1);background:#fff;cursor:pointer}
.g-emojis button.on{border-color:#e11d74;background:#fff0f6;box-shadow:0 0 0 3px rgba(225,29,116,.12)}
.g-code{display:flex;gap:8px}.g-code .input{flex:1;text-transform:uppercase}
.g-pick,.g-mem{max-height:46vh;overflow:auto;display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.g-cand{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;cursor:pointer}
.g-cand:hover{background:rgba(20,24,51,.04)}.g-cand.dis{opacity:.6;cursor:default}
.g-cand .mid{flex:1;min-width:0;display:flex;flex-direction:column}.g-cand .mid small{color:var(--ink-3,#8a90a8);font-size:12px}
.g-cand input[type=checkbox]{width:20px;height:20px;accent-color:#e11d74}
.g-tag{font-size:11px;font-weight:700;background:#eef0f8;color:#4a5070;border-radius:99px;padding:3px 9px;white-space:nowrap}.g-tag.adm{background:#f3e8ff;color:#6d28d9}
.g-info-top{text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;margin-bottom:10px}.g-info-top h3{text-align:center;margin:6px 0 0}
.g-info-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.g-row{display:flex;gap:8px;align-items:flex-end;max-width:100%}.g-row.out{justify-content:flex-end}
.g-row .bubble{max-width:min(78%,520px)}
.g-ava{width:30px;flex:none;display:block}
.g-name{display:block;font-size:12px;margin-bottom:2px}
.g-sys{align-self:center;background:rgba(20,24,51,.06);color:var(--ink-2,#4a5070);font-size:12px;padding:5px 12px;border-radius:99px;margin:6px auto;text-align:center;max-width:90%}
/* voice */
.composer .mic{width:46px;height:46px;border-radius:50%;border:0;background:#f1edff;font-size:20px;display:grid;place-items:center;flex-shrink:0;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;transition:transform .15s}
.composer .mic.rec{background:#ef4444;transform:scale(1.18);box-shadow:0 0 0 8px rgba(239,68,68,.18)}
.composer{position:relative}
.composer.recording textarea,.composer.recording .attach{visibility:hidden}
.vrec{position:absolute;left:12px;right:68px;top:50%;transform:translate(var(--dx,0),-50%);display:flex;align-items:center;gap:10px;background:#fff;border-radius:22px;padding:10px 14px;box-shadow:0 4px 14px rgba(0,0,0,.08);z-index:2}
.vrec-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:vrecBlink 1s infinite}
.vrec-t{font-variant-numeric:tabular-nums;min-width:38px}.vrec-hint{flex:1;font-size:13px;color:var(--ink-3,#8a90a8);text-align:center}
.vrec-x,.vrec-ok{display:none;border:0;border-radius:50%;width:36px;height:36px;font-size:16px;cursor:pointer}
.vrec-x{background:#fee2e2;color:#b91c1c}.vrec-ok{background:var(--grad,#e11d74);color:#fff}
.composer.locked .vrec{right:12px}.composer.locked .vrec-x,.composer.locked .vrec-ok{display:grid;place-items:center}.composer.locked .vrec-hint{visibility:hidden}.composer.locked .mic{display:none}
@keyframes vrecBlink{50%{opacity:.25}}
.vn{display:flex;align-items:center;gap:10px;min-width:210px;max-width:280px;padding:2px 0;cursor:pointer}
.vn-play{width:38px;height:38px;border-radius:50%;border:0;flex:none;font-size:14px;background:rgba(255,255,255,.95);color:#e11d74;box-shadow:0 2px 6px rgba(0,0,0,.12);cursor:pointer}
.bubble.in .vn-play{background:var(--grad,#e11d74);color:#fff}
.vn-wave{flex:1;display:flex;align-items:center;gap:2px;height:30px}
.vn-wave i{flex:1;border-radius:2px;background:currentColor;opacity:.35;min-height:3px}.vn-wave i.on{opacity:1}
.vn-t{font-size:12px;font-variant-numeric:tabular-nums;opacity:.85;min-width:30px;text-align:right}
.bubble.has-voice .exp{display:block;margin-top:2px}
/* phones: sharp portrait hero videos, gentler zoom so they stay crisp */
@media (max-width:899px) and (orientation:portrait){
  .hero video{transform:none}
  .hero video.on{animation:kenburnsS 9s linear both}
}
@keyframes kenburnsS{from{transform:scale(1)}to{transform:scale(1.04)}}

/* ===== Discover home (phones) ===== */
.dh .wrap{padding-top:6px;padding-bottom:110px}
.dh-hero{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:18px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#e11d74 0%,#a21caf 55%,#6d28d9 100%);box-shadow:0 14px 30px rgba(162,28,175,.28);margin-bottom:14px;position:relative;overflow:hidden}
.dh-hero::after{content:'';position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.12)}
.dh-hero small{opacity:.9;font-weight:600}.dh-hero h2{margin:2px 0 4px;font-size:21px;line-height:1.2;color:#fff}.dh-hero p{margin:0;font-size:13px;opacity:.92}
.dh-go{position:relative;z-index:1;flex:none;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:#fff;color:#be185d;border-radius:20px;padding:12px 14px;font-size:12.5px;box-shadow:0 8px 20px rgba(0,0,0,.18);cursor:pointer;animation:dhPulse 2.4s ease-in-out infinite}
.dh-go span{font-size:26px;line-height:1}
@keyframes dhPulse{50%{transform:scale(1.06)}}
.dh-prof{display:block;background:#fff;border-radius:20px;padding:14px 16px;margin-bottom:18px;color:inherit;text-decoration:none;box-shadow:0 4px 16px rgba(20,24,51,.06)}
.dh-prof b{font-size:16px}.dh-link{color:#be185d;font-weight:700;font-size:14px}
.dh-bar{height:10px;border-radius:99px;background:#f3e8ee;margin:10px 0 6px;overflow:hidden}.dh-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fbbf24,#f97316,#e11d74)}
.dh-prof small{color:var(--ink-2,#4a5070)}
.dh-sec{margin-bottom:20px}
.dh-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.dh-head h3{margin:0;font-size:19px;display:flex;align-items:center;gap:6px}.dh-head h3 span{font-weight:600;color:var(--ink-3,#8a90a8);font-size:16px}
.dh-head a{color:#be185d;font-weight:700;font-size:14px;text-decoration:none}
.dh-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;margin:0 -16px;padding-left:16px;padding-right:16px;scrollbar-width:none}
.dh-row::-webkit-scrollbar{display:none}
.dh-card{flex:none;width:42vw;max-width:170px;scroll-snap-align:start;border:0;background:none;padding:0;text-align:left;cursor:pointer;color:inherit}
.dh-card.sk{height:240px;border-radius:20px;background:linear-gradient(90deg,#f1eef5,#faf8fc,#f1eef5);background-size:200% 100%;animation:sk 1.2s infinite}
.dh-ph{position:relative;display:block;aspect-ratio:3/4;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#fde7f1,#ede7ff);box-shadow:0 8px 20px rgba(20,24,51,.12);transition:transform .15s}
.dh-card:active .dh-ph{transform:scale(.97)}
.dh-ph img{width:100%;height:100%;object-fit:cover;display:block}
.dh-ini{display:grid;place-items:center;height:100%;font:800 44px var(--display,sans-serif);color:#be185d}
.dh-on{position:absolute;left:10px;top:10px;width:14px;height:14px;border-radius:50%;background:#22c55e;border:2.5px solid #fff;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:gcPulse2 1.8s infinite}
@keyframes gcPulse2{70%{box-shadow:0 0 0 8px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.dh-pct{position:absolute;right:8px;top:8px;font-style:normal;font-weight:800;font-size:12.5px;color:#fff;background:linear-gradient(135deg,#e11d74,#f43f5e);border-radius:99px;padding:4px 9px;box-shadow:0 4px 10px rgba(225,29,116,.35)}
.dh-ver{position:absolute;right:8px;bottom:8px}
.dh-card b{display:block;margin-top:8px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dh-card small{display:block;color:var(--ink-3,#8a90a8);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dk-top{align-items:center;gap:10px}
.dk-back{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);color:inherit;flex:none}
@keyframes sk{to{background-position:-200% 0}}
/* Discover home: soft solid background so names stay readable */
.page.dh{background:linear-gradient(180deg,#fff6f9 0%,#fdf2f8 60%,#f8f3ff 100%);min-height:100svh}
.page.dh .dh-head h3{color:#1d1a2e}
/* swipe screen on phones: hide the bottom menu (Back button is on top) so ✕ ❤️ are always visible */
@media (max-width:860px){
  body:has(.swipe-mode) .tabbar{display:none!important}
  .swipe-mode .deck{height:calc(100svh - var(--header-h) - var(--safe-b) - 215px);max-height:none}
  .swipe-mode .deck-actions{margin-top:12px}
  .swipe-mode .dk-top h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* ===== SweetDate Team (official help chat) ===== */
.team-av{width:48px;height:48px;border-radius:50%;flex:none;display:inline-grid;place-items:center;font:800 16px var(--display,sans-serif);color:#fff;background:linear-gradient(135deg,#e11d74,#7b2ff7);box-shadow:0 0 0 3px #fff,0 0 0 5px rgba(123,47,247,.35)}
.team-av.img{object-fit:cover;padding:0}.team-av.big{width:72px;height:72px;font-size:24px}
.team-tick{font-size:11px;font-weight:800;color:#fff;background:#2563eb;border-radius:99px;padding:1px 7px;vertical-align:2px;margin-left:4px}
.team-row{background:linear-gradient(135deg,#fff7fb,#f5f0ff);border:1px solid #ecdcf7;margin-bottom:6px}
.team-page .wrap-sm{max-width:760px}
.team-shell{display:flex;flex-direction:column;height:calc(100svh - var(--header-h) - 40px);border-radius:24px;overflow:hidden}
.team-shell .msgs{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:16px}
.team-head{gap:12px}
.team-in{display:flex;gap:8px;align-items:flex-end}.team-in .team-av{width:30px;height:30px;font-size:11px;box-shadow:none}
.team-from{display:block;font-size:12px;color:#7b2ff7;margin-bottom:2px}.team-from span{color:#2563eb;font-weight:700}
.team-welcome{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 20px 18px}.team-welcome h3{margin:6px 0 0}
.team-quick{display:flex;gap:8px;overflow-x:auto;padding:0 12px 8px;scrollbar-width:none}
.team-quick button{flex:none;border:1px solid #e9d5ff;background:#faf5ff;color:#6d28d9;border-radius:99px;padding:8px 12px;font-size:13px;font-weight:600;cursor:pointer}
@media (max-width:860px){.page.team-page{padding:0}.team-page .wrap-sm{padding:0}.team-shell{height:calc(100svh - var(--header-h));border-radius:0}}

/* ===== Refer & Earn ===== */
.ref-hello{display:flex;gap:10px;align-items:center;background:linear-gradient(135deg,#fff7ed,#fdf2f8);border:1px solid #fbcfe8;border-radius:14px;padding:10px 12px;margin:6px 0 12px;font-size:22px}
.ref-hello b{display:block;font-size:14px}.ref-hello small{font-size:12.5px;color:var(--ink-2,#4a5070)}
.dh-refer{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;margin-bottom:18px;text-decoration:none;color:#1d1a2e;background:linear-gradient(135deg,#fff7ed,#fef3c7);border:1px solid #fde68a;box-shadow:0 4px 14px rgba(245,158,11,.12)}
.dh-refer>span{font-size:28px}.dh-refer div{flex:1}.dh-refer b{display:block;font-size:15px}.dh-refer small{color:#92400e;font-size:12.5px}.dh-refer i{font-style:normal;font-size:22px;color:#b45309}
.page.refer{background:linear-gradient(180deg,#fff6f9,#f8f3ff);min-height:100svh}
.page.refer .wrap-sm{max-width:620px;display:flex;flex-direction:column;gap:14px;padding-bottom:110px}
.rf-hero{text-align:center;color:#fff;border-radius:28px;padding:26px 20px 22px;background:linear-gradient(135deg,#e11d74,#a21caf 55%,#6d28d9);box-shadow:0 16px 34px rgba(162,28,175,.3);position:relative;overflow:hidden}
.rf-hero::before{content:'';position:absolute;left:-50px;bottom:-60px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.1)}
.rf-gift{font-size:54px;animation:dhPulse 2.4s ease-in-out infinite}
.rf-hero h1{color:#fff;margin:6px 0 8px;font-size:28px;line-height:1.15}.rf-hero p{margin:0 auto 14px;max-width:420px;opacity:.95;font-size:14.5px}
.rf-code{display:inline-flex;flex-direction:column;background:rgba(255,255,255,.16);border:1.5px dashed rgba(255,255,255,.6);border-radius:16px;padding:8px 22px;margin-bottom:14px}
.rf-code small{font-size:11px;opacity:.85;letter-spacing:.06em;text-transform:uppercase}.rf-code b{font-size:24px;letter-spacing:.08em}
.rf-share{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;position:relative;z-index:1}
.rf-btn{border:0;border-radius:99px;padding:11px 16px;font-weight:700;font-size:14px;background:#fff;color:#7e22ce;cursor:pointer;text-decoration:none}
.rf-btn.wa{background:#22c55e;color:#fff}
.rf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.rf-stats div{background:#fff;border-radius:18px;padding:12px;text-align:center;box-shadow:0 4px 14px rgba(20,24,51,.06)}
.rf-stats b{display:block;font-size:24px;color:#be185d}.rf-stats small{color:var(--ink-3,#8a90a8);font-size:12px}
.refer .panel h3{margin:0 0 10px;font-size:17px}
.rf-step{display:flex;gap:12px;align-items:flex-start;margin:10px 0}.rf-step>span{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#e11d74,#7b2ff7)}
.rf-step b{display:block;font-size:14.5px}.rf-step small{color:var(--ink-2,#4a5070)}
.rf-fr{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(20,24,51,.06)}.rf-fr:last-child{border:0}
.rf-fr img,.rf-ini{width:42px;height:42px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#fde7f1;color:#be185d;font-weight:800}
.rf-fr div{flex:1}.rf-fr b{display:block}.rf-fr small{color:var(--ink-3,#8a90a8);font-size:12px}
.rf-st{font-size:12px;font-weight:700;border-radius:99px;padding:4px 10px;background:#f1f5f9;color:#475569}.rf-st.ok{background:#dcfce7;color:#15803d}

/* ===== Unlock with Gold sheet (free member reaches a limit / taps a Gold-only tool) ===== */
.modal.up-modal{max-width:440px;padding:22px 20px 18px}
.up-sheet{text-align:center}
.up-crown{width:74px;height:74px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:var(--gold);box-shadow:0 10px 26px rgba(217,162,27,.35)}
.up-sheet h3{margin:4px 0 6px;font-size:20px}
.up-why{margin:0 auto 12px;max-width:340px;color:var(--ink-2);font-size:14.5px;background:#fff7e0;border:1px solid #f6e2a3;border-radius:12px;padding:8px 12px}
.up-cmp{text-align:left;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 12px;font-size:13.5px}
.up-cmp-h,.up-cmp-r{display:grid;grid-template-columns:1fr 78px 86px;gap:6px;align-items:center;padding:7px 12px}
.up-cmp-h{background:#f6f7fb;font-size:12px;color:var(--ink-2)}.up-cmp-h b{text-align:center}.up-cmp-h b.g{color:var(--gold-4)}
.up-cmp-r+.up-cmp-r{border-top:1px solid var(--line)}
.up-cmp-r em{font-style:normal;text-align:center;color:var(--ink-3)}
.up-cmp-r strong{text-align:center;color:var(--gold-4);background:#fff8df;border-radius:8px;padding:2px 4px}
.up-plans{display:grid;gap:8px;margin:0 0 12px}
.up-plan{position:relative;display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:12px 14px;border-radius:14px;border:2px solid var(--line);background:#fff;cursor:pointer;font:inherit;color:inherit}
.up-plan.on{border-color:var(--gold-3);background:#fffaf0;box-shadow:0 6px 18px rgba(217,162,27,.18)}
.up-plan i{position:absolute;top:-9px;right:12px;font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.3px;background:var(--grad);color:#fff;padding:2px 8px;border-radius:999px}
.up-radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--ink-3);flex-shrink:0}
.up-plan.on .up-radio{border-color:var(--gold-3);background:radial-gradient(circle,var(--gold-3) 45%,transparent 50%)}
.up-pn{flex:1;display:flex;flex-direction:column}.up-pn small{color:var(--ink-3);font-size:12px}
.up-pr{font-weight:800;font-size:17px}
.up-note{margin:10px 0 0;line-height:1.6}
.up-teaser{text-align:center;margin-top:30px}
/* Gold-only tool in the composer */
.composer .attach.gold-lock{position:relative;border:0;color:#b8860b;background:#fff6db}
.composer .attach.gold-lock i{position:absolute;top:-6px;right:-4px;font-style:normal;font-size:13px}
/* Word counter (free word limit) */
.composer .wc{position:absolute;top:-11px;right:66px;z-index:2;font-size:11.5px;font-weight:700;background:#fff;border:1px solid var(--line);border-radius:999px;padding:2px 9px;color:var(--ink-2)}
.composer .wc.over{background:#fee2e2;color:#b91c1c;border-color:#fca5a5}
/* Mobile number on own profile + auto bio */
.my-phone b{font-family:inherit;letter-spacing:.2px;color:#0f5132;background:#e3f7ec}
.my-phone .ok-tag{font-size:11.5px;font-weight:700;color:#0f766e}
.my-phone small{font-size:11.5px}
.bio-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bio-ai{margin-left:auto;border:0;cursor:pointer;font:inherit;font-size:12.5px;font-weight:700;color:#fff;background:var(--grad);padding:5px 12px;border-radius:999px;box-shadow:0 4px 12px rgba(123,47,247,.25)}
.bio-ai:disabled{opacity:.7}
.bio-tip{display:block;margin-top:5px;font-size:12px;line-height:1.45}
.textarea.bio-new{animation:bioPop .9s ease-out}
@keyframes bioPop{0%{box-shadow:0 0 0 0 rgba(123,47,247,.5)}100%{box-shadow:0 0 0 10px rgba(123,47,247,0)}}

/* ===== Call permission cards in chat ===== */
.bubble.sys-call{align-self:center;max-width:min(92%,420px);background:#f4f1ff;color:var(--ink);border:1px solid #e3dcff;border-radius:16px;text-align:center;padding:10px 14px 8px;box-shadow:none}
.bubble.sys-call.callok{background:#eafaf1;border-color:#bfe8d1}
.bubble.sys-call.callno{background:#f5f5f7;border-color:#e6e6ea;color:var(--ink-2)}
.bubble.sys-call .sc-txt{display:block;font-size:14px;line-height:1.45}
.bubble.sys-call .sc-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:9px}
.bubble.sys-call .sc-btns .btn svg{width:15px;height:15px;vertical-align:-2px}
.bubble.sys-call .sc-note{display:block;margin-top:6px;font-size:11.5px;color:var(--ink-3)}
.bubble.sys-call .t{display:block;margin-top:4px;color:var(--ink-3)!important;float:none}
.call-ask .ca-ic{font-size:40px;width:76px;height:76px;margin:0 auto 6px;border-radius:50%;display:grid;place-items:center;background:var(--grad-soft)}
.call-ask h3{margin:6px 0}

/* ===== Blocked members ===== */
.blk-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.blk-list{display:grid;gap:10px}
.blk-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px}
.blk-row img,.blk-ini{width:52px;height:52px;border-radius:50%;object-fit:cover;flex-shrink:0;filter:grayscale(.6)}
.blk-ini{display:grid;place-items:center;font-weight:800;font-size:20px;background:#eceef4;color:var(--ink-2)}
.blk-info{flex:1;min-width:0;display:flex;flex-direction:column}.blk-info small{color:var(--ink-3)}
.blk-side{display:block;text-align:center;font-size:13px;color:var(--ink-3);padding:14px 10px 6px;text-decoration:none}
.blk-side:hover{color:var(--rose)}
.dh-refer.blk-link{background:linear-gradient(135deg,#f6f6fa,#fff);border-color:#e4e4ee;box-shadow:none}.dh-refer.blk-link small{color:var(--ink-3)}.dh-refer.blk-link i{color:var(--ink-3)}

/* ===== Gold perks ===== */
.perks{padding:20px 18px;border-radius:var(--r-lg);margin-bottom:20px}
.perks h2{margin:0 0 14px;font-size:22px;text-align:center}
.perk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.perk{display:flex;gap:11px;align-items:flex-start;padding:12px;border-radius:14px;background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid #f6e2a3}
.perk-i{font-size:22px;width:42px;height:42px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;background:var(--gold);box-shadow:0 4px 12px rgba(217,162,27,.25)}
.perk b{display:block;font-size:14.5px}.perk small{color:var(--ink-2);font-size:12.5px;line-height:1.35}
.plan-perks li span{display:inline-block;width:20px;text-align:center}
.plan-perks li.more{color:var(--gold-4);font-weight:700}
.up-perks{text-align:left;margin:0 0 12px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid #f6e2a3}
.up-perks b{display:block;font-size:13px;margin-bottom:6px;color:var(--gold-4)}
.up-perks div{display:flex;flex-wrap:wrap;gap:6px}
.up-perks span{font-size:12.5px;background:#fff;border:1px solid #f3e3b5;border-radius:999px;padding:3px 9px}
/* ===== Golden status line ===== */
.renew-bar.gold-bar{background:linear-gradient(90deg,#8a5a00,#d9a21b 45%,#f6d365 70%,#c98a0b);color:#2b1a00;padding-top:6px;padding-bottom:6px;font-size:13px;text-shadow:0 1px 0 rgba(255,255,255,.25)}
.renew-bar.gold-bar .rb-txt b{color:#1f1300}
.renew-bar.gold-bar .rb-ic{font-size:16px}
.renew-bar.gold-bar .rb-btn{border:0;cursor:pointer;background:#1f1300;color:#ffe08a;font:inherit;font-weight:800;font-size:12.5px}
.renew-bar.gold-bar .rb-x{color:#3d2a00}
.renew-bar.gold-bar.gb-off{background:linear-gradient(90deg,#3d2a00,#8a5a00 40%,#d9a21b);color:#fff7dc;text-shadow:none}
.renew-bar.gold-bar.gb-off .rb-txt b{color:#fff}
.renew-bar.gold-bar.gb-off .rb-x{color:#fff}
.bubble.sys-call{white-space:normal}
body.has-renew .app{padding-top:calc(var(--header-h) + var(--barh,38px))}
@media (max-width:560px){.renew-bar.gold-bar .rb-txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}}
/* Inside an open chat the screen is full height — no gold / renewal line there (it covered the chat header) */
body.in-convo .renew-bar{display:none!important}
body.in-convo.has-renew .app{padding-top:var(--header-h)}

.team-in .bubble a.tm-gold{display:inline-block;margin:4px 0;padding:6px 12px;border-radius:999px;background:var(--gold);color:#3d2a00;font-weight:800;text-decoration:none}

/* ===== Moving ad row (ticker) — every ad of one place, one behind another ===== */
.sdad-ticker{position:relative;overflow:hidden;margin:10px 0;padding:4px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.sdad-track{display:flex;gap:14px;width:max-content;will-change:transform}
.sdad-tick{position:relative;flex:0 0 auto;width:clamp(240px,72vw,320px);height:150px;display:flex;border-radius:20px;overflow:hidden;text-decoration:none;color:#fff;background:linear-gradient(135deg,#1e2a78,#7b2ff7);box-shadow:0 10px 24px -12px rgba(18,22,79,.55)}
.sdad-tick.t-light{background:linear-gradient(135deg,#fff,#fff6ea);color:#1d1a2e;border:1px solid #f1e2c6}
.sdad-tick.t-dark{background:linear-gradient(135deg,#141833,#2a1374)}
.sdad-tick.t-brand{background:linear-gradient(135deg,#e11d74,#7b2ff7)}
.sdad-tick .sdad-timg{flex:0 0 44%;height:100%;border-radius:0}
.sdad-tick .sdad-timg.sdad-noimg{display:grid;place-items:center;font-size:34px;background:rgba(255,255,255,.12)}
.sdad-tick .sdad-tbody{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:12px 12px 12px 14px}
.sdad-tick .sdad-tag{position:static;align-self:flex-start;font-style:normal;font-size:9.5px;letter-spacing:.5px;text-transform:uppercase;opacity:.75}
.sdad-tick b{font-size:16px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sdad-tick small{font-size:12.5px;opacity:.85;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sdad-tick .sdad-cta{align-self:flex-start;margin-top:5px;padding:6px 12px;border-radius:999px;font-weight:800;font-size:12.5px;background:linear-gradient(135deg,#ffe08a,#f6b73c);color:#3d2a00;white-space:nowrap}
@media (min-width:861px){.sdad-tick{width:340px;height:160px}}
.sdad-slot>.wrap{padding-top:0!important;padding-bottom:0!important}

/* ===== Desktop side panels (rails.js) — fill the empty sides of member pages on big screens ===== */
:root{--shell:max(14px,calc((100vw - 1600px) / 2));--rail-w:280px}
@media (max-width:1399px){:root{--rail-w:244px}}
body.has-rails .app{padding-left:calc(var(--shell) + var(--rail-w) + 18px);padding-right:calc(var(--shell) + var(--rail-w) + 18px)}
body.has-rails .app .wrap,body.has-rails .app .wrap-sm{max-width:100%}
.rail{position:fixed;top:var(--rail-top,140px);bottom:14px;width:var(--rail-w);z-index:30;display:flex;flex-direction:column;gap:12px;overflow-y:auto;scrollbar-width:none;padding-bottom:8px}
.rail::-webkit-scrollbar{display:none}
.rail-l{left:var(--shell)}.rail-r{right:var(--shell)}
.rl-card{background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.7);border-radius:20px;padding:14px;box-shadow:0 10px 30px -14px rgba(40,20,80,.35);flex-shrink:0}
.rl-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14.5px}.rl-h a{font-size:12.5px;font-weight:700;color:var(--rose);text-decoration:none}
.rl-muted{margin:0;font-size:12.5px;color:var(--ink-3)}
/* greeting */
.rl-hi{background:linear-gradient(135deg,#be185d,#e11d74 45%,#fb7185);color:#fff;border:0}
.rl-hi small{opacity:.85;font-size:12px}.rl-hi h3{margin:4px 0 6px;font-size:19px;color:#fff}.rl-hi p{margin:0 0 10px;font-size:13.5px;opacity:.95}
.rl-hi-btn{display:inline-block;background:#fff;color:#be185d;font-weight:800;font-size:13px;padding:7px 14px;border-radius:999px;text-decoration:none;box-shadow:0 6px 16px rgba(0,0,0,.15)}
/* activity */
.rl-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rl-st{display:flex;flex-direction:column;gap:1px;padding:10px;border-radius:14px;text-decoration:none;color:var(--ink);transition:transform .15s}
.rl-st:hover{transform:translateY(-2px)}
.rl-st span{font-size:17px}.rl-st b{font-size:21px;font-family:var(--display)}.rl-st small{font-size:11.5px;color:var(--ink-2)}
.rl-st.pink{background:#fde7f1}.rl-st.pink b{color:#db2777}.rl-st.green{background:#e3f7ec}.rl-st.green b{color:#059669}.rl-st.blue{background:#e5efff}.rl-st.blue b{color:#2563eb}.rl-st.amber{background:#fff3dc}.rl-st.amber b{color:#d97706}
/* online now */
.rl-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2);margin-right:4px;vertical-align:1px}
.rl-online{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.rl-online a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--ink)}
.rl-online img,.rl-online span{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2.5px solid #22c55e;padding:2px;background:#fff}
.rl-online span{display:grid;place-items:center;font-weight:800;background:#f1f1f6}
.rl-online i{position:absolute;top:40px;right:calc(50% - 26px);width:12px;height:12px;border-radius:50%;background:#22c55e;border:2px solid #fff}
.rl-online small{font-size:11.5px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* links */
.rl-links{display:flex;flex-direction:column;gap:4px;padding:8px}
.rl-links a{display:flex;gap:10px;align-items:center;padding:8px;border-radius:12px;text-decoration:none;color:var(--ink)}.rl-links a:hover{background:#f6f3fb}
.rl-links a>span{font-size:20px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f6f1ff}
.rl-links b{display:block;font-size:13.5px}.rl-links small{font-size:11.5px;color:var(--ink-3)}
/* my profile */
.rl-me{text-align:center;display:flex;flex-direction:column;align-items:center}
.rl-ring{position:relative;width:112px;height:112px;border-radius:50%;padding:6px;background:conic-gradient(#16a34a calc(var(--p) * 1%),#e5e7eb 0);margin-bottom:8px}
.rl-ring img,.rl-ring span{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff;display:grid;place-items:center;background:#f3e8ff;font-size:34px;font-weight:800;color:#7b2ff7}
.rl-ring em{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);font-style:normal;font-size:11.5px;font-weight:800;background:#16a34a;color:#fff;padding:2px 9px;border-radius:999px;border:2px solid #fff}
.rl-name{font-size:17px;margin-top:4px}.rl-me>small{color:var(--ink-3);font-size:12.5px}
.rl-next{margin:8px 0;font-size:12.5px;color:var(--ink-2)}.rl-next.ok{color:#059669;font-weight:700}
.rl-btn{display:block;width:100%;padding:10px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:800;text-decoration:none;font-size:14px}
.rl-mini{display:flex;justify-content:center;gap:14px;margin-top:9px}.rl-mini a{font-size:12.5px;font-weight:700;color:#4f46e5;text-decoration:none}
/* gold */
.rl-gold{text-align:center;background:linear-gradient(135deg,#3d2a00,#8a5a00 55%,#c98a0b);color:#fff7dc;border:0}
.rl-gold .rl-crown{font-size:30px}.rl-gold b{display:block;font-size:16px;color:#ffe08a}.rl-gold small{display:block;font-size:12.5px;opacity:.9;margin-top:2px}
.rl-gbtn{margin-top:10px;width:100%;border:0;cursor:pointer;padding:9px;border-radius:12px;background:linear-gradient(135deg,#ffe08a,#f6b73c);color:#3d2a00;font:inherit;font-weight:800}
/* sponsored */
.rl-spons{font-size:11.5px;letter-spacing:.6px;text-transform:uppercase;color:#b45309}
.rl-adbox .rl-ad .sdad-stack{max-width:100%!important;width:100%;margin:0;display:flex}
.rl-tip{background:#f0fdf4;border-color:#bbf7d0}.rl-tip b{font-size:13.5px}.rl-tip small{display:block;margin-top:4px;font-size:12px;color:#166534;line-height:1.45}

/* ===== Premium / Gold status card under the header (dark brown + gold, easy to read) ===== */
.renew-bar.gold-bar{left:12px;right:12px;padding:10px 12px 10px 14px;gap:14px;border-radius:18px;text-shadow:none;
  background:linear-gradient(100deg,#241500 0%,#3f2804 45%,#5e3d07 100%);border:1.5px solid #d9a21b;color:#fff4d6;
  box-shadow:0 12px 30px -10px rgba(61,42,0,.55),inset 0 1px 0 rgba(255,224,138,.25)}
.renew-bar.gold-bar .gb-crown{flex:0 0 auto;width:42px;height:42px;display:grid;place-items:center;filter:drop-shadow(0 3px 6px rgba(0,0,0,.35))}
.renew-bar.gold-bar .gb-crown svg{width:40px;height:40px}
.renew-bar.gold-bar .gb-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.renew-bar.gold-bar .gb-txt b{font-family:var(--display);font-size:16px;font-weight:800;color:#ffd977;letter-spacing:.1px}
.renew-bar.gold-bar .gb-txt small{font-size:12.5px;color:#f1e2bd;line-height:1.35}
.renew-bar.gold-bar .gb-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;border:1.5px solid #fff1b8;cursor:pointer;font:inherit;font-weight:800;font-size:14px;color:#3d2a00;
  padding:9px 18px;border-radius:999px;background:linear-gradient(180deg,#ffe9a3,#f4c14d 55%,#d99a1c);box-shadow:0 6px 16px rgba(217,154,28,.45),inset 0 1px 0 #fff8dc;white-space:nowrap}
.renew-bar.gold-bar .gb-btn:hover{filter:brightness(1.06)}
.renew-bar.gold-bar .gb-btn svg{width:20px;height:20px}
.renew-bar.gold-bar .rb-x{color:#f1e2bd;opacity:.75;font-size:20px}
.renew-bar.gold-bar.gb-off{background:linear-gradient(100deg,#2a0f14,#4a1520 50%,#5e3d07);border-color:#f4c14d}
@media (max-width:560px){
  .renew-bar.gold-bar{left:8px;right:8px;padding:8px 8px 8px 10px;gap:9px;border-radius:14px}
  .renew-bar.gold-bar .gb-crown,.renew-bar.gold-bar .gb-crown svg{width:30px;height:30px}
  .renew-bar.gold-bar .gb-txt b{font-size:13.5px;line-height:1.2;white-space:normal}
  .renew-bar.gold-bar .gb-txt small{font-size:11.5px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
  .renew-bar.gold-bar .gb-btn{padding:7px 11px;font-size:12.5px;gap:4px}.renew-bar.gold-bar .gb-btn svg{width:15px;height:15px}
  .renew-bar.gold-bar .rb-x{padding:0 2px}
}

/* ===== Phone browser = app look (body.m-app, ≤ 860 px) ===== */
@media (max-width:860px){
  body:not(.authed){--tab-h:62px}
  body:not(.authed) .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:55;height:calc(var(--tab-h) + var(--safe-b));padding-bottom:var(--safe-b);background:rgba(255,255,255,.96);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border-top:1px solid var(--line)}
  .tabbar a.join-tab{color:var(--rose)}
  .tabbar .tb-join{display:grid;place-items:center;width:46px;height:46px;margin-top:-22px;border-radius:50%;background:var(--grad);color:#fff;box-shadow:0 8px 20px rgba(225,29,116,.4);border:3px solid #fff}
  .tabbar .tb-join svg{width:22px!important;height:22px!important;fill:#fff}
  .tabbar a.join-tab.active svg{transform:none}
}
body.m-app .app-btn,body.m-app .dl-banner{display:none!important}
body.m-app{overscroll-behavior-y:contain;-webkit-tap-highlight-color:transparent}
body.m-app.authed .footer{display:none}
body.m-app .tabbar a,body.m-app .btn,body.m-app .icon-btn{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.m-app .tabbar a:active{transform:scale(.94)}

/* ===== "Upload your photo" message at the top of member pages ===== */
.photo-nudge{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 12px 12px 14px;border-radius:18px;background:linear-gradient(120deg,#fff1f7,#f5edff);border:1.5px solid #f9a8d4;box-shadow:0 8px 22px -12px rgba(225,29,116,.45);position:relative;z-index:2}
.photo-nudge.flag{background:linear-gradient(120deg,#fff7ed,#fff1f2);border-color:#fb923c}
.photo-nudge .pn-ic{font-size:24px;width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.06)}
.photo-nudge .pn-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.photo-nudge .pn-txt b{font-size:15px;color:#9d174d}.photo-nudge.flag .pn-txt b{color:#c2410c}
.photo-nudge .pn-txt small{font-size:12.5px;color:var(--ink-2);line-height:1.35}
.photo-nudge .pn-btn{flex:0 0 auto;padding:9px 14px;border-radius:999px;background:var(--grad);color:#fff;font-weight:800;font-size:13px;text-decoration:none;white-space:nowrap;box-shadow:0 6px 14px rgba(225,29,116,.3)}
.photo-nudge .pn-x{position:absolute;top:2px;right:6px;border:0;background:none;font-size:18px;color:var(--ink-3);cursor:pointer;padding:2px}
@media (max-width:480px){.photo-nudge{gap:9px;padding:10px 10px 10px 11px}.photo-nudge .pn-ic{width:36px;height:36px;font-size:19px}.photo-nudge .pn-txt b{font-size:13.5px}.photo-nudge .pn-txt small{font-size:11.5px}.photo-nudge .pn-btn{padding:8px 11px;font-size:12px}}
/* Join: sign up with mobile OR email */
.via-pick{background:linear-gradient(135deg,#fff5f8,#fff);border:1.5px solid #ffd0de;border-radius:16px;padding:12px;margin:4px 0 14px}
.via-head{font-size:14px;color:#5a2236;margin-bottom:8px;text-align:center}
.via-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff;border-radius:12px;padding:4px;border:1px solid #f2d6df}
.via-tabs button{border:0;background:transparent;border-radius:9px;padding:10px 6px;font-weight:700;font-size:14px;color:#7a5763;cursor:pointer}
.via-tabs button.on{background:var(--grad,#e91e63);color:#fff;box-shadow:0 4px 12px rgba(233,30,99,.25)}
.via-note{display:block;margin-top:8px;font-size:12.5px;color:#7a5763;text-align:center;line-height:1.4}

/* "Install the app" popup (mobile browsers) */
.ip-bg{position:fixed;inset:0;z-index:9999;background:rgba(20,8,16,.45);backdrop-filter:blur(2px);display:flex;align-items:flex-start;justify-content:center;padding:calc(env(safe-area-inset-top) + 14px) 14px 14px;opacity:0;transition:opacity .25s}
.ip-bg.on,#apkGuide.ip-bg{opacity:1}
.ip-card{width:100%;max-width:420px;background:#fff;border-radius:22px;padding:18px;box-shadow:0 18px 50px rgba(80,10,40,.35);transform:translateY(-30px);transition:transform .3s cubic-bezier(.2,.9,.3,1.2)}
.ip-bg.on .ip-card,#apkGuide .ip-card{transform:none}
.ip-head{display:flex;gap:12px;align-items:center}
.ip-head img{border-radius:16px;box-shadow:0 4px 14px rgba(233,30,99,.25)}
.ip-head b{display:block;font-size:18px;color:#2a0f1c}.ip-head small{color:#7a5763;font-size:13px}
.ip-perks{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.ip-perks span{background:#fff0f5;color:#8a2349;border-radius:999px;padding:6px 10px;font-size:12.5px;font-weight:600}
.ip-btns{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}
.ip-btns .btn{padding:12px;font-size:15px;justify-content:center}
.ip-steps{list-style:none;padding:0;margin:14px 0 8px;display:grid;gap:10px}
.ip-steps li{display:flex;gap:10px;font-size:14px;line-height:1.4;color:#3a2230}
.ip-steps li>span{flex:none;width:26px;height:26px;border-radius:50%;background:var(--grad,#e91e63);color:#fff;font-weight:800;display:grid;place-items:center;font-size:13px}
.ip-safe{font-size:12.5px;color:#2f855a;margin:0 0 12px;text-align:center}
.dh-tag{position:absolute;left:6px;bottom:6px;background:rgba(233,30,99,.92);color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:999px;padding:3px 8px}
.pcard .liked-tag{position:absolute;z-index:4;left:12px;top:44px;background:rgba(233,30,99,.92);color:#fff;font-weight:800;font-size:13px;border-radius:999px;padding:5px 11px;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.nh-h{margin:16px 0 4px;font-size:15px}.nh-row small b{display:inline;font-weight:700;font-size:inherit}
.upd-msg{font-size:15px;color:#2a0f1c;margin:14px 0 10px;line-height:1.45}
.upd-bar{height:10px;border-radius:999px;background:#fde4ec;overflow:hidden}.upd-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e91e63,#7b2ff7);transition:width .3s}
.upd-bar i.ind{animation:updInd 1.2s ease-in-out infinite}@keyframes updInd{0%{margin-left:-35%}100%{margin-left:100%}}
