@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#0f172a;--surface:#151d32;--surface-2:#1d2740;--text:#f8fafc;--muted:#a6afc1;--primary:#ec4899;--primary-2:#db2777;--accent:#60a5fa;--success:#34d399;--border:rgba(255,255,255,.1);--shadow:0 24px 70px rgba(0,0,0,.38);--r-sm:14px;--r-md:20px;--r-lg:28px;--safe-bottom:max(14px,env(safe-area-inset-bottom));font-family:Inter,system-ui,sans-serif;color-scheme:dark}
[data-initial-focus]:focus{outline:none}
*{box-sizing:border-box}html{background:#080d18}body{margin:0;background:radial-gradient(circle at 50% -10%,#382045 0,#0f172a 42%,#080d18 100%);color:var(--text);min-height:100dvh}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.skip-link{position:fixed;left:12px;top:-60px;background:#fff;color:#111;padding:10px 14px;z-index:2000}.skip-link:focus{top:12px}.shell{width:100%;min-height:100dvh;background:var(--bg);position:relative;overflow:hidden}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--border);position:sticky;top:0;background:rgba(15,23,42,.9);backdrop-filter:blur(18px);z-index:20}.brand{font-weight:800;font-size:19px;display:flex;gap:9px;align-items:center}.brand-mark{width:25px;height:25px;border-radius:9px 9px 9px 3px;background:linear-gradient(135deg,var(--primary),#8b5cf6);box-shadow:0 0 20px rgba(236,72,153,.35);position:relative}.brand-mark:after{content:"";position:absolute;width:7px;height:7px;background:#fff;border-radius:50%;right:5px;top:5px}.coin-button{border:1px solid var(--border);background:var(--surface-2);border-radius:999px;min-height:44px;padding:0 14px;display:flex;gap:7px;align-items:center;font-weight:700}.coin-button svg{width:20px;fill:none;stroke:#fbbf24;stroke-width:1.8}.screen{display:none;padding:24px 18px 112px;min-height:calc(100dvh - 72px)}.screen.active{display:block;animation:fadeIn .22s ease-out}.hero-copy{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.eyebrow{margin:0 0 8px;color:#f9a8d4;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.11em}.pulse-dot{width:7px;height:7px;background:var(--success);display:inline-block;border-radius:50%;box-shadow:0 0 0 5px rgba(52,211,153,.12);margin-right:7px}.hero-copy h1,.page-heading h1{font-size:32px;line-height:1.08;letter-spacing:-.04em;margin:0}.icon-button,.close-button{width:48px;height:48px;border-radius:16px;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center}.icon-button svg,.close-button svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8}.stories{display:flex;gap:17px;overflow:auto;padding:2px 0 20px;scrollbar-width:none}.stories::-webkit-scrollbar{display:none}.story{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:61px;font-size:12px}.story-ring{width:59px;height:59px;border-radius:50%;padding:3px;background:var(--surface-2);display:grid;place-items:center}.story-ring.live{background:linear-gradient(145deg,#f472b6,#8b5cf6,#38bdf8)}.avatar,.story-add{width:51px;height:51px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:800;border:3px solid var(--bg)}.story-add{border-style:dashed;border-color:#56617a;color:#94a3b8}.avatar-l,.visual-l{background:linear-gradient(145deg,#ffd6e7,#9d5c7d)}.avatar-a,.visual-a{background:linear-gradient(145deg,#f5d0fe,#7254a8)}.avatar-n,.visual-n{background:linear-gradient(145deg,#bae6fd,#446e8e)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:8px 0 14px}.section-heading h2{font-size:19px;margin:0}.section-heading span{font-size:12px;color:var(--muted)}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-card{position:relative;aspect-ratio:.78;border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;padding:0;background:var(--surface);text-align:left;isolation:isolate}.profile-card:active{transform:scale(.98)}.profile-art{position:absolute;inset:0;display:grid;place-items:center;font-size:56px;font-weight:800;color:rgba(255,255,255,.83)}.profile-art:before{content:"";position:absolute;width:72%;height:72%;border-radius:50% 50% 42% 42%;background:rgba(255,255,255,.12);filter:blur(2px)}.profile-letter{position:relative;z-index:1}.profile-card:nth-child(4n+1) .profile-art{background:linear-gradient(145deg,#9d466f,#39234c)}.profile-card:nth-child(4n+2) .profile-art{background:linear-gradient(145deg,#6750a4,#252452)}.profile-card:nth-child(4n+3) .profile-art{background:linear-gradient(145deg,#307f85,#16394a)}.profile-card:nth-child(4n+4) .profile-art{background:linear-gradient(145deg,#a65b42,#3f2732)}.profile-overlay{position:absolute;inset:auto 0 0;padding:48px 13px 13px;background:linear-gradient(transparent,rgba(3,6,14,.94));z-index:2}.profile-overlay h3{margin:0 0 5px;font-size:17px}.profile-overlay p{margin:0;color:#d8deea;font-size:12px}.card-badges{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:space-between;z-index:3}.live-badge,.distance-badge{font-size:10px;font-weight:800;padding:6px 8px;border-radius:999px;background:rgba(7,10,20,.7);backdrop-filter:blur(8px)}.live-badge{background:#db2777}.distance-badge{margin-left:auto}.page-heading{margin:4px 0 24px}.page-heading p:last-child{color:var(--muted);line-height:1.5}.live-list{display:grid;gap:14px}.live-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);overflow:hidden;display:grid;grid-template-columns:112px 1fr;min-height:140px}.live-preview{display:grid;place-items:center;font-size:42px;font-weight:800;position:relative}.live-preview:after{content:"LIVE";position:absolute;left:9px;top:9px;background:var(--primary-2);font-size:9px;padding:5px 7px;border-radius:999px}.live-content{padding:16px 14px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.live-content h3{margin:0 0 5px}.live-content p{margin:0 0 13px;color:var(--muted);font-size:12px;line-height:1.45}.small-button{border:0;background:#fff;color:#111827;font-weight:700;border-radius:12px;min-height:40px;padding:0 13px}.empty-state{text-align:center;padding:70px 24px}.empty-icon{width:76px;height:76px;border-radius:24px;background:var(--surface-2);display:grid;place-items:center;margin:0 auto 20px}.empty-icon svg{width:34px;fill:none;stroke:#f9a8d4;stroke-width:1.5}.empty-state h2{margin:0 0 8px}.empty-state p{color:var(--muted);line-height:1.55;margin:0 0 24px}.primary-button{min-height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--primary-2));font-weight:800;padding:0 20px;box-shadow:0 12px 28px rgba(219,39,119,.24)}.primary-button.full{width:100%}.chat-list{display:grid;gap:10px}.chat-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--border)}.chat-item .avatar{border:0;flex:0 0 51px}.chat-item div{min-width:0}.chat-item h3{margin:0 0 4px;font-size:15px}.chat-item p{margin:0;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.my-profile{text-align:center;padding:24px 0 32px}.my-avatar{width:94px;height:94px;border-radius:32px;background:linear-gradient(145deg,#60a5fa,#8b5cf6);display:grid;place-items:center;font-size:38px;font-weight:800;margin:auto;box-shadow:0 16px 40px rgba(96,165,250,.2)}.my-profile h1{font-size:26px;margin:14px 0 5px}.my-profile p{color:var(--muted);margin:0 0 12px}.verified{font-size:12px;color:#a7f3d0;display:inline-flex;align-items:center;gap:5px}.verified svg{width:18px;fill:none;stroke:currentColor;stroke-width:2}.settings-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden}.settings-card button{min-height:76px;width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:14px 16px}.settings-card button:last-child{border-bottom:0}.settings-card strong,.settings-card small{display:block}.settings-card small{color:var(--muted);margin-top:4px}.settings-card svg{width:22px;fill:none;stroke:var(--muted);stroke-width:1.8}.switch{width:46px;height:26px;border-radius:999px;background:#3a4357;position:relative;transition:.2s}.switch:after{content:"";position:absolute;width:20px;height:20px;background:#fff;border-radius:50%;top:3px;left:3px;transition:.2s}.switch.on{background:var(--success)}.switch.on:after{transform:translateX(20px)}.test-badge{font-size:11px;font-weight:800;padding:6px 9px;border-radius:8px;background:rgba(52,211,153,.13);color:#6ee7b7}.bottom-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;height:calc(76px + var(--safe-bottom));padding:7px 8px var(--safe-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(15,23,42,.95);backdrop-filter:blur(20px);border-top:1px solid var(--border)}.bottom-nav button{border:0;background:transparent;color:#8290aa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;position:relative;font-size:10px;font-weight:600}.bottom-nav button.active{color:#f9a8d4}.bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.bottom-nav i{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--primary);top:5px;right:28%}.modal{display:none;position:fixed;inset:0;z-index:100}.modal.open{display:block}.modal-scrim{position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(5px)}.profile-sheet,.wallet-sheet{position:absolute;bottom:0;left:0;right:0;background:var(--surface);border-radius:30px 30px 0 0;max-height:93dvh;overflow:auto;box-shadow:var(--shadow);animation:sheetUp .25s ease-out}.close-button{position:absolute;right:14px;top:14px;z-index:4;background:rgba(10,15,28,.7);border-radius:50%}.profile-visual{height:44dvh;min-height:290px;max-height:450px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#9d466f,#39234c)}.portrait-letter{font-size:104px;font-weight:800;position:relative;z-index:1;color:rgba(255,255,255,.8)}.live-gradient{position:absolute;inset:40% 0 0;background:linear-gradient(transparent,var(--surface));z-index:2}.live-pill,.distance-pill{position:absolute;top:17px;z-index:3;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.live-pill{left:16px;background:var(--primary-2)}.distance-pill{right:70px;background:rgba(10,15,28,.72)}.profile-info{padding:16px 18px calc(22px + var(--safe-bottom))}.profile-info h2{margin:0 0 6px;font-size:25px}.profile-info p{color:var(--muted);margin:0;line-height:1.5}.online-label{display:inline-flex;align-items:center;gap:7px;margin:15px 0;font-size:12px;color:#a7f3d0}.online-label span{width:7px;height:7px;background:var(--success);border-radius:50%}.trust-row{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}.trust-row span{font-size:10px;padding:7px 9px;border-radius:9px;background:var(--surface-2);color:#cbd5e1}.watch-button{width:100%;min-height:52px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2);display:flex;align-items:center;padding:0 15px;margin-bottom:10px}.watch-button svg{width:24px;fill:none;stroke:#f9a8d4;stroke-width:1.8;margin-right:9px}.watch-button span{font-weight:700}.watch-button b{margin-left:auto;font-size:11px;color:#a7f3d0}.fine-print{font-size:10px!important;text-align:center;margin-top:10px!important}.wallet-sheet{padding:28px 18px calc(24px + var(--safe-bottom))}.wallet-sheet h2{font-size:34px;margin:0 0 8px}.wallet-sheet>p:not(.eyebrow){color:var(--muted);line-height:1.5}.coin-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.coin-packs button{min-height:94px;border:1px solid var(--border);background:var(--surface-2);border-radius:16px}.coin-packs strong,.coin-packs span{display:block}.coin-packs strong{font-size:20px;color:#fbbf24}.coin-packs span{font-size:9px;color:var(--muted);margin-top:5px}.toast{position:fixed;z-index:1000;left:50%;bottom:100px;transform:translate(-50%,20px);background:#f8fafc;color:#111827;border-radius:14px;padding:12px 16px;max-width:calc(100% - 32px);font-size:13px;font-weight:700;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:700px){body{padding:28px}.shell{max-width:430px;margin:0 auto;min-height:calc(100dvh - 56px);border-radius:34px;border:1px solid var(--border);box-shadow:0 30px 100px rgba(0,0,0,.5)}.bottom-nav{left:50%;right:auto;width:430px;transform:translateX(-50%);bottom:28px;border-radius:0 0 34px 34px}.profile-sheet,.wallet-sheet{max-width:430px;left:50%;transform:translateX(-50%);border-radius:30px;bottom:28px}.profile-sheet{animation:sheetUpDesktop .25s ease-out}}
@media (orientation:landscape) and (max-height:600px){.profile-visual{height:58dvh;min-height:220px}.screen{padding-bottom:100px}.hero-copy h1,.page-heading h1{font-size:26px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes sheetUp{from{transform:translateY(24px);opacity:0}}@keyframes sheetUpDesktop{from{transform:translate(-50%,24px);opacity:0}}

/* Explicit chat entry points */
.profile-open{position:absolute;inset:0;border:0;background:transparent;padding:0;text-align:left}
.profile-overlay{padding:48px 104px 14px 13px}
.card-chat{position:absolute;z-index:5;right:10px;bottom:10px;width:84px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(8,13,24,.82);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:750;box-shadow:0 6px 18px rgba(0,0,0,.24);transition:background .2s ease,border-color .2s ease}
.card-chat:hover{background:rgba(20,28,45,.96);border-color:rgba(255,255,255,.38)}
.card-chat svg{width:17px;fill:none;stroke:#f9a8d4;stroke-width:1.9}
.live-actions{display:flex;gap:8px;flex-wrap:wrap}
.small-button.chat{background:var(--primary);color:#fff}
.video-request-button{width:100%;min-height:62px;border:1px solid rgba(96,165,250,.38);border-radius:16px;background:rgba(37,99,235,.14);display:flex;align-items:center;gap:11px;padding:9px 14px;margin:0 0 10px;text-align:left}
.video-request-button svg{width:25px;flex:0 0 25px;fill:none;stroke:#93c5fd;stroke-width:1.8}
.video-request-button span{display:flex;flex-direction:column;gap:3px}
.video-request-button strong{font-size:13px}.video-request-button small{font-size:10px;color:#a9b8d0}.video-request-button b{margin-left:auto;color:#bfdbfe;font-size:11px;white-space:nowrap}

/* ---------------------------------------------------------------------------
   Vertical mock flow: chat thread, video request, wallet ledger, safety, call
   --------------------------------------------------------------------------- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.avatar-s,.visual-s{background:linear-gradient(145deg,#fde68a,#a16d3b)}
.avatar-d,.visual-d{background:linear-gradient(145deg,#c7d2fe,#4f5aa8)}
.avatar-f,.visual-f{background:linear-gradient(145deg,#a7f3d0,#2f7d6b)}
.avatar{color:#0b1020}
.story-ring .avatar,.chat-item .avatar{color:#0b1020}
.avatar.small{width:40px;height:40px;font-size:16px;border:0;flex:0 0 40px}
.avatar.huge{width:132px;height:132px;font-size:54px;border:0}
.story-list{display:contents}
.muted-note{color:var(--muted)}
.coin-button small{font-size:11px;color:#93c5fd;font-weight:700}
button,a,label{transition:background-color .2s,border-color .2s,color .2s,opacity .2s}
button:disabled{opacity:.5;cursor:not-allowed}

/* Chat list */
.chat-item{width:100%;text-align:left}
.chat-item div{flex:1}
.unread{min-width:22px;height:22px;border-radius:999px;background:var(--primary);font-size:11px;font-weight:800;display:grid;place-items:center;padding:0 6px}

/* Thread */
body.in-thread .bottom-nav{display:none}
.thread-screen.active{display:flex;flex-direction:column;padding:0;height:calc(100dvh - 72px);min-height:0}
.thread-header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}
.icon-button.ghost{background:transparent;border-color:transparent}
.icon-button.video{border-color:rgba(96,165,250,.45);background:rgba(37,99,235,.18);color:#bfdbfe}
.icon-button.video.busy{border-color:rgba(52,211,153,.5);background:rgba(52,211,153,.14);color:#a7f3d0}
.icon-button svg{fill:none;stroke:currentColor}
.thread-person{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border:0;background:transparent;text-align:left;padding:4px}
.thread-person strong,.thread-person small{display:block}
.thread-person small{color:var(--muted);font-size:12px;margin-top:2px}
.thread-messages{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:8px}
.thread-intro{font-size:12px;color:var(--muted);text-align:center;line-height:1.5;margin:0 12px 10px}
.bubble{max-width:78%;padding:10px 13px;border-radius:18px;line-height:1.4;font-size:14px;display:flex;flex-direction:column;gap:3px;word-wrap:break-word}
.bubble time{font-size:10px;opacity:.65;align-self:flex-end}
.bubble.me{align-self:flex-end;background:linear-gradient(135deg,var(--primary),var(--primary-2));border-bottom-right-radius:6px}
.bubble.them{align-self:flex-start;background:var(--surface-2);border-bottom-left-radius:6px}
.composer{padding:10px 12px calc(10px + var(--safe-bottom));border-top:1px solid var(--border);background:var(--bg)}
.composer-main,.composer-recording{display:flex;align-items:center;gap:6px}
.composer-recording{display:none}
.composer.recording .composer-main{display:none}
.composer.recording .composer-recording{display:flex}
.composer input{flex:1;min-width:0;min-height:46px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:0 14px;font:inherit;font-size:16px}
.composer input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(236,72,153,.2)}
.composer-send{width:46px;height:46px;flex:0 0 46px;border:0;border-radius:14px;background:var(--primary);display:grid;place-items:center}
.composer-icon{width:42px;height:46px;flex:0 0 42px;border:0;border-radius:14px;background:transparent;color:#cbd5e1;display:grid;place-items:center}
.composer-icon:hover{background:var(--surface-2);color:#fff}
.composer svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.composer-send svg{width:20px;stroke:#fff}
.rec-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:recPulse 1s ease-in-out infinite}
.rec-timer{font-weight:800;font-variant-numeric:tabular-nums}
.rec-hint{flex:1;color:var(--muted);font-size:13px}
@keyframes recPulse{50%{opacity:.3}}

/* Request card in thread */
.request-card{align-self:stretch;border:1px solid rgba(96,165,250,.35);background:rgba(37,99,235,.1);border-radius:18px;padding:14px;margin:6px 0}
.request-card header{display:flex;align-items:center;gap:8px}
.request-card header svg{width:20px;fill:none;stroke:#93c5fd;stroke-width:1.8}
.request-card header strong{font-size:14px;flex:1}
.request-card p{margin:10px 0;font-size:13px;line-height:1.5;color:#dbe3f0}
.status-chip{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:rgba(96,165,250,.2);color:#bfdbfe}
.status-accepted .status-chip,.status-paid .status-chip{background:rgba(52,211,153,.18);color:#a7f3d0}
.status-completed{border-color:rgba(52,211,153,.35);background:rgba(52,211,153,.08)}
.status-completed .status-chip{background:rgba(52,211,153,.18);color:#a7f3d0}
.status-refunded{border-color:var(--border);background:var(--surface)}
.status-refunded .status-chip{background:rgba(251,191,36,.16);color:#fde68a}
.demo-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border-radius:12px;border:1px dashed rgba(255,255,255,.18);margin-bottom:4px}
.demo-row span{font-size:11px;color:var(--muted);flex-basis:100%}
.demo-row button{flex:1;min-height:40px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);font-weight:700;font-size:13px}
.demo-row button:first-of-type{background:rgba(52,211,153,.18);border-color:rgba(52,211,153,.4)}
.trail{display:block;font-size:10px;color:#7b88a3;margin-top:8px}
.text-button{display:block;margin:10px auto 0;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:600;min-height:40px;padding:0 12px;text-decoration:underline;text-underline-offset:3px}
.text-button:hover{color:var(--text)}

/* Profile sheet additions */
.chat-cta{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:10px}
.chat-cta svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.chat-cta small{font-weight:600;opacity:.85}
.safety-links{display:flex;justify-content:center;gap:18px;margin-top:6px}
.safety-links button{border:0;background:transparent;color:#fca5a5;font-size:12px;font-weight:700;min-height:40px}

/* Generic sheets */
.sheet{position:absolute;bottom:0;left:0;right:0;background:var(--surface);border-radius:30px 30px 0 0;max-height:93dvh;overflow:auto;box-shadow:var(--shadow);animation:sheetUp .25s ease-out}
.form-sheet{padding:28px 18px calc(24px + var(--safe-bottom))}
.form-sheet h2{margin:0 0 12px;font-size:24px;padding-right:56px}
.sheet-text{color:var(--muted);line-height:1.5;margin:0 0 16px}
.request-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 16px}
.request-terms div{background:var(--surface-2);border-radius:14px;padding:12px}
.request-terms dt{font-size:10px;color:var(--muted);margin-bottom:4px}
.request-terms dd{margin:0;font-weight:800;font-size:14px}
.request-steps{margin:0 0 18px;padding-left:20px;color:#cbd5e1;font-size:13px;line-height:1.55;display:grid;gap:6px}
.choice-list{border:0;padding:0;margin:0 0 12px;display:grid;gap:8px}
.choice-list label,.check-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border-radius:14px;background:var(--surface-2);font-size:14px;cursor:pointer;line-height:1.4}
.check-row{margin-bottom:10px}
.choice-list input,.check-row input{width:20px;height:20px;accent-color:var(--primary);flex:0 0 20px}
.action-list{display:grid;gap:8px}
.action-list button{min-height:52px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);font-weight:700}
.action-list .danger{color:#fca5a5}
.primary-button.danger{background:linear-gradient(135deg,#ef4444,var(--destructive,#dc2626));box-shadow:none}
.safety-facts{margin:0 0 14px;padding-left:20px;color:#cbd5e1;font-size:13px;line-height:1.55;display:grid;gap:6px}

/* Wallet ledger + blocked list */
.wallet-reserved{color:#93c5fd!important;font-weight:600;margin:0 0 6px}
.ledger-title{font-size:14px;margin:22px 0 10px;color:#cbd5e1}
.ledger,.blocked-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ledger li,.blocked-list li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--surface-2);font-size:13px}
.ledger li>span{flex:1;min-width:0}
.ledger strong,.ledger small{display:block}
.ledger small{color:var(--muted);font-size:11px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ledger b{font-variant-numeric:tabular-nums}
.ledger-topup b,.ledger-refund b{color:#6ee7b7}
.ledger-reserve b{color:#93c5fd}
.ledger-release b{color:#cbd5e1}
.ledger-empty{color:var(--muted);justify-content:center}
.blocked-list li>span:nth-child(2){flex:1}

/* Real-time call: video owns the canvas; chrome stays quiet and legible. */
.call-modal .call-screen{position:absolute;inset:0;background:#080b12;display:flex;flex-direction:column;align-items:center;padding:0 18px calc(18px + var(--safe-bottom));overflow:hidden}
.call-video{display:block;object-fit:cover;background:#080b12}
.call-video-remote{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .22s ease}
.call-video-remote.visible{opacity:1}
.call-video-remote:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.45),transparent 28%,transparent 66%,rgba(0,0,0,.72))}
.call-remote-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;background:#111827}
.call-remote-placeholder strong{margin-top:8px;font-size:17px}
.call-remote-placeholder small{max-width:260px;color:#aeb8ca;line-height:1.45}
.call-top{position:relative;z-index:2;width:100%;display:flex;align-items:flex-start;justify-content:space-between;padding-top:max(18px,env(safe-area-inset-top));text-align:left;text-shadow:0 1px 8px rgba(0,0,0,.8)}
.call-person h2{margin:0 0 3px;font-size:18px;letter-spacing:-.02em}.call-person p{margin:0;color:#fff;font-variant-numeric:tabular-nums;font-size:13px}
.call-secure{font-size:10px;color:#dbe4ef;background:rgba(5,8,14,.5);border:1px solid rgba(255,255,255,.15);padding:7px 9px;border-radius:999px;backdrop-filter:blur(10px)}
.call-self{position:absolute;z-index:3;right:18px;top:94px;width:94px;height:132px;border-radius:14px;border:1px solid rgba(255,255,255,.25);box-shadow:0 10px 30px rgba(0,0,0,.35);background:#1f2937;transition:opacity .2s ease}
.call-self.camera-off{opacity:.18}
.call-controls{position:relative;z-index:4;margin-top:auto;display:flex;gap:16px;align-items:center;padding:16px;border-radius:28px;background:rgba(6,9,16,.58);backdrop-filter:blur(16px)}
.call-controls button{width:56px;height:56px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);display:grid;place-items:center;transition:background .2s ease,border-color .2s ease}
.call-controls button:hover{background:rgba(255,255,255,.2)}
.call-controls button[aria-pressed="true"]{background:#fff;color:#111827;border-color:#fff}
.call-controls button.end{width:64px;height:64px;background:var(--destructive,#dc2626);border:0}
.call-controls svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.call-problem{position:relative;z-index:4;min-height:44px;margin-top:8px;border:0;background:transparent;color:#e4e9f2;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.request-waiting{display:block;margin-top:10px;color:#b7c1d2;font-size:12px;text-align:center}
.settings-card .danger-row strong{color:#fca5a5}.settings-card .danger-row svg{stroke:#f87171}
.legal-sheet{max-height:92dvh;overflow:auto;padding-bottom:calc(28px + var(--safe-bottom))}.legal-sheet h3{font-size:15px;margin:22px 0 6px}.legal-sheet p{color:#c4cede;line-height:1.55;margin:0}.legal-sheet .legal-note{margin-top:24px;padding:14px;border-radius:14px;background:var(--surface-2);font-size:12px}

/* Direct broadcast MVP. The stream uses the full canvas and the controls stay
   clear of the system gesture area on Android and iOS. */
.live-room-modal .live-room{position:absolute;inset:0;background:#080b12;overflow:hidden;padding:0 18px calc(18px + var(--safe-bottom))}
.live-room>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#080b12}
.live-room-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#111827;text-align:center;color:#fff}
.live-room-empty[hidden]{display:none}.live-room-empty small{color:var(--muted)}
.live-room-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;padding-top:max(18px,env(safe-area-inset-top));text-shadow:0 2px 12px #000}
.live-room-top h2{font-size:18px;margin:8px 0 0}.live-room-top>span{font-size:12px;background:rgba(5,8,14,.55);padding:8px 10px;border-radius:999px}
.live-room-badge{display:inline-block;background:#db2777;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800}
.live-room-controls{position:absolute;z-index:3;left:50%;bottom:calc(18px + var(--safe-bottom));transform:translateX(-50%);display:flex;gap:14px;padding:12px;border-radius:24px;background:rgba(6,9,16,.64);backdrop-filter:blur(16px)}
.live-room-controls button{width:54px;height:54px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.14);display:grid;place-items:center}.live-room-controls .end{background:#dc2626;border:0}
.live-room-controls svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Compact phone layout. Keep controls touch-safe while reducing the visual
   scale on 360–420 px Android viewports. */
@media (max-width:420px){
  .call-modal .call-screen{padding-left:14px;padding-right:14px;padding-bottom:calc(12px + var(--safe-bottom))}
  .call-top{padding-top:max(12px,env(safe-area-inset-top))}
  .call-person h2{font-size:16px}.call-person p{font-size:12px}
  .call-secure{font-size:9px;padding:6px 8px}
  .call-remote-placeholder{gap:7px;padding:18px}
  .call-remote-placeholder .avatar.huge{width:96px;height:96px;font-size:40px}
  .call-remote-placeholder strong{font-size:15px;margin-top:7px}
  .call-remote-placeholder small{max-width:230px;font-size:12px}
  .call-self{right:14px;top:70px;width:72px;height:101px;border-radius:12px}
  .call-controls{gap:12px;padding:10px;border-radius:22px}
  .call-controls button{width:48px;height:48px}
  .call-controls button.end{width:56px;height:56px}
  .call-controls svg{width:22px}
  .call-problem{margin-top:4px;font-size:11px}
}

@media (min-width:700px){
  .sheet{max-width:430px;left:50%;transform:translateX(-50%);border-radius:30px;bottom:28px;animation:sheetUpDesktop .25s ease-out}
  .thread-screen.active{height:calc(100dvh - 56px - 72px)}
  .call-modal .call-screen{max-width:430px;left:50%;transform:translateX(-50%);top:28px;bottom:28px;border-radius:34px}
}

/* Voice + media bubbles */
.bubble.voice{min-width:220px}
.voice-row{display:flex;align-items:center;gap:10px}
.voice-play{width:38px;height:38px;flex:0 0 38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#111827;display:grid;place-items:center}
.voice-play svg{width:16px;fill:currentColor;stroke:currentColor;stroke-width:2.4;stroke-linejoin:round}
.wave{flex:1;height:26px;display:flex;align-items:center;gap:2px}
.wave i{flex:1;border-radius:2px;background:rgba(255,255,255,.55)}
.wave.playing i{animation:wave 1s ease-in-out infinite alternate}
.wave.playing i:nth-child(odd){animation-delay:.3s}
@keyframes wave{to{opacity:.35}}
.voice-len{font-size:12px;font-variant-numeric:tabular-nums;opacity:.85}
.media-note{font-size:11px;opacity:.7}
.media-bubble{flex-direction:row;align-items:center;gap:10px;border:0;color:inherit;text-align:left;font:inherit;min-width:230px}
.media-bubble time{align-self:flex-end}
.media-bubble.inert{opacity:.75}
.media-bubble.once:not(.inert){box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}
.media-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center}
.media-icon svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.media-text{flex:1;display:flex;flex-direction:column;gap:2px}
.media-text strong{font-size:14px}
.media-text small{font-size:11px;opacity:.8}

/* Attach sheet */
.attach-preview{border-radius:18px;overflow:hidden;background:#000;margin-bottom:12px;max-height:46dvh;display:grid;place-items:center}
.attach-preview img,.attach-preview video{max-width:100%;max-height:46dvh;display:block}
.once-toggle span{display:flex;flex-direction:column;gap:3px}
.once-toggle small{color:var(--muted);font-size:12px}

/* View-once viewer */
.media-modal .media-viewer{position:absolute;inset:0;background:#000;display:flex;flex-direction:column;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.media-top{position:absolute;top:0;left:0;right:0;z-index:5;padding:12px 14px;background:linear-gradient(rgba(0,0,0,.7),transparent)}
.media-progress{height:3px;border-radius:2px;background:rgba(255,255,255,.25);overflow:hidden;margin-bottom:10px}
.media-progress i{display:block;height:100%;width:0;background:#fff}
.media-top-row{display:flex;align-items:center;justify-content:space-between}
.media-top .close-button{position:static}
.once-pill{font-size:11px;font-weight:800;padding:6px 10px;border-radius:999px;background:rgba(236,72,153,.9)}
.media-stage{flex:1;display:grid;place-items:center;overflow:hidden}
.media-stage canvas,.media-stage video{max-width:100%;max-height:100%;object-fit:contain;display:block;pointer-events:none}
.media-guard{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:auto}
.watermark{position:absolute;inset:-40%;display:flex;flex-wrap:wrap;gap:60px 40px;align-content:center;justify-content:center;transform:rotate(-24deg);opacity:.16;font-size:15px;font-weight:800;white-space:nowrap;pointer-events:none}
.media-shield{position:absolute;inset:0;z-index:6;display:none;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:0;background:rgba(5,8,16,.97);color:#fff;text-align:center;padding:24px}
.media-shield span{color:var(--muted);font-size:13px}
.media-modal.shielded .media-shield{display:flex}
.media-bottom{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:30px 18px calc(14px + var(--safe-bottom));background:linear-gradient(transparent,rgba(0,0,0,.8));text-align:center}
.media-bottom p{margin:0;font-size:11px;color:#cbd5e1;line-height:1.45}
.media-bottom .text-button{margin-top:4px;color:#fca5a5}

@media (min-width:700px){
  .media-modal .media-viewer{max-width:430px;left:50%;transform:translateX(-50%);top:28px;bottom:28px;border-radius:34px;overflow:hidden}
}

/* Money / settings */
.coin-packs strong{font-size:17px;color:#fbbf24}
.coin-packs span{font-size:11px;color:var(--muted);margin-top:6px}
.settings-title{font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:22px 4px 10px}
.settings-card+.settings-title{margin-top:24px}
.setting-value{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;white-space:nowrap}
.setting-value b{color:var(--text);font-weight:700}
.setting-value .chev{width:20px}
.picker-sheet h2{margin-bottom:16px}
.picker-list{display:grid;gap:6px}
.picker-item{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 12px;border-radius:16px;border:1px solid transparent;background:var(--surface-2);text-align:left;width:100%}
.picker-item:hover:not(:disabled){border-color:rgba(255,255,255,.14)}
.picker-item.active{border-color:rgba(236,72,153,.55);background:rgba(236,72,153,.1)}
.picker-item:disabled{opacity:.45;cursor:default}
.picker-badge{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--bg);display:grid;place-items:center;font-weight:800;font-size:15px;color:#f9a8d4}
.picker-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.picker-text strong{font-size:15px}
.picker-text small{font-size:12px;color:var(--muted)}
.picker-check{width:24px;height:24px;flex:0 0 24px;color:var(--primary)}
.picker-check svg{width:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.picker-note{font-size:12px;color:var(--muted);line-height:1.5;margin:14px 2px 0}
.picker-note a{color:#93c5fd}
.picker-badge.long{font-size:12px;letter-spacing:.02em}

/* Token packs */
.token-pack{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:118px!important;padding:14px 6px 12px}
.token-pack strong{font-size:24px!important;color:#fbbf24;line-height:1}
.token-pack span{font-size:11px!important;color:var(--muted);margin:0 0 8px!important}
.pack-price{font-size:13px;font-weight:800;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;white-space:nowrap}
.pack-bonus{position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10px;font-weight:800;padding:3px 7px;border-radius:999px;background:var(--success);color:#052e1f}
.coin-packs{padding-top:8px}
.payment-unavailable{grid-column:1/-1;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2);text-align:center}.payment-unavailable strong,.payment-unavailable span{display:block}.payment-unavailable strong{color:var(--text);font-size:16px}.payment-unavailable span{margin-top:7px!important;color:var(--muted);font-size:12px!important}

/* Auth */
.auth-modal .auth-screen{position:absolute;inset:0;overflow-y:auto;background:#101827;padding:28px 22px calc(28px + var(--safe-bottom))}
.auth-screen>div:not(.auth-brand){max-width:400px;margin:0 auto}
[hidden]{display:none!important}
.auth-brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:17px;max-width:400px;margin:0 auto 42px}
.auth-screen h1{font-size:29px;letter-spacing:-.035em;margin:0 0 7px}
.auth-sub{color:var(--muted);margin:0 0 22px;line-height:1.5}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0;border-radius:0;background:transparent;border-bottom:1px solid var(--border);margin-bottom:22px}
.auth-tabs button{min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:650}
.auth-tabs button[aria-selected="true"]{background:transparent;color:var(--text);border-bottom-color:var(--primary)}
.auth-form{display:grid;gap:12px}
.field{display:grid;gap:6px;border:0;padding:0;margin:0}
.field>span,.field legend{font-size:13px;color:#cbd5e1;font-weight:600;padding:0;margin-bottom:6px}
.field input{min-height:50px;border-radius:10px;border:1px solid #344057;background:#151f32;color:var(--text);padding:0 14px;font:inherit;font-size:16px;width:100%}
.field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(236,72,153,.2)}
.dob{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px}
.dob input{text-align:center}
.form-error{min-height:0;margin:0;color:#fca5a5;font-size:13px;line-height:1.4}
.form-error:empty{display:none}
.auth-form .check-row{margin:0}
.auth-form .check-row{background:transparent!important;border:0!important;padding:5px 0!important;min-height:44px}
.auth-form .primary-button{margin-top:5px;background:#e33d8f;box-shadow:none;border-radius:12px}
@media (min-width:700px){.auth-modal .auth-screen{max-width:430px;left:50%;transform:translateX(-50%);top:28px;bottom:28px;border-radius:34px}}

/* Discovery states */
.state-card{grid-column:1/-1;text-align:center;padding:36px 20px;border:1px dashed rgba(255,255,255,.14);border-radius:var(--r-md);color:var(--muted);line-height:1.55}
.state-card h3{color:var(--text);margin:0 0 6px}
.state-card .primary-button{margin-top:14px}
.wallet-earned{color:#a7f3d0!important;font-weight:600;margin:0 0 6px}
.request-card .row-actions{display:flex;gap:8px;margin-top:4px}
.request-card .row-actions button{flex:1;min-height:44px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);font-weight:700}
.request-card .row-actions .accept{background:rgba(52,211,153,.18);border-color:rgba(52,211,153,.4)}

/* Onboarding */
.onboard-modal{background:var(--bg)}
.onboard-modal .onboard-screen{position:absolute;inset:0;display:flex;flex-direction:column;background:radial-gradient(circle at 50% -10%,#3b2150 0,var(--bg) 55%);padding:14px 20px calc(18px + var(--safe-bottom));overflow-y:auto}
.onboard-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.ob-progress{flex:1;height:6px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.ob-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--primary),#8b5cf6);border-radius:inherit;transition:width .25s ease}
.ob-step{margin:0 0 6px;color:#f9a8d4;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.onboard-screen h1{font-size:28px;letter-spacing:-.03em;margin:0 0 6px}
.ob-body{flex:1}
.ob-foot{position:sticky;bottom:0;padding-top:14px;background:linear-gradient(transparent,var(--bg) 30%)}
.ob-options{display:grid;gap:10px}
.ob-option{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px;border-radius:18px;border:1px solid var(--border);background:var(--surface-2);text-align:left;font-weight:700;font-size:16px;width:100%}
.ob-option .picker-check{margin-left:auto}
.ob-option.active{border-color:rgba(236,72,153,.6);background:rgba(236,72,153,.12)}
.ob-option svg.lead{width:26px;fill:none;stroke:#f9a8d4;stroke-width:1.8}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);font-weight:600;font-size:14px}
.chip.active{background:linear-gradient(135deg,var(--primary),var(--primary-2));border-color:transparent;color:#fff}
.chip:disabled{opacity:.4;cursor:default}
.ob-counter{font-size:13px;color:var(--muted);margin:14px 0 0}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.photo-slot{position:relative;aspect-ratio:.78;border-radius:16px;border:1.5px dashed rgba(255,255,255,.2);background:var(--surface-2);display:grid;place-items:center;overflow:hidden;padding:0}
.photo-slot.filled{border-style:solid;border-color:transparent}
.photo-slot img{width:100%;height:100%;object-fit:cover;display:block}
.photo-slot .plus{width:34px;height:34px;border-radius:50%;background:var(--primary);display:grid;place-items:center}
.photo-slot .plus svg{width:18px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round}
.photo-slot .main-tag{position:absolute;left:6px;bottom:6px;font-size:10px;font-weight:800;padding:4px 7px;border-radius:999px;background:rgba(7,10,20,.75)}
.photo-remove{position:absolute;right:6px;top:6px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(7,10,20,.75);display:grid;place-items:center;z-index:2}
.photo-remove svg{width:14px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round}
.photo-slot.loading::after{content:"";position:absolute;inset:0;background:rgba(7,10,20,.55)}
.ob-textarea{width:100%;min-height:140px;border-radius:16px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:14px;font:inherit;font-size:16px;resize:vertical}
.ob-textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(236,72,153,.2)}
.interest-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.interest-tags span{font-size:12px;font-weight:600;padding:6px 10px;border-radius:999px;background:var(--surface-2);color:#e2e8f0}
.profile-art.has-photo,.profile-visual.has-photo{background-size:cover!important;background-position:center!important}
.profile-art.has-photo:before,.profile-art.has-photo .profile-letter,.profile-visual.has-photo .portrait-letter{display:none}
.my-avatar.has-photo{background-size:cover;background-position:center;color:transparent}
@media (min-width:700px){.onboard-modal .onboard-screen{max-width:430px;left:50%;transform:translateX(-50%);top:28px;bottom:28px;border-radius:34px}}
.ob-skip{border:0;background:transparent;color:var(--muted);font-weight:700;font-size:14px;min-height:44px;padding:0 6px}
.ob-skip:hover{color:var(--text)}
.profile-nudge{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 6px;padding:14px 16px;border-radius:18px;border:1px solid rgba(236,72,153,.45);background:rgba(236,72,153,.1);text-align:left}
.profile-nudge strong,.profile-nudge small{display:block}
.profile-nudge small{color:var(--muted);margin-top:3px;font-size:12px}
.profile-nudge svg{width:22px;flex:0 0 22px;fill:none;stroke:#f9a8d4;stroke-width:1.8;margin-left:auto}
.ob-visible{margin-top:12px}
.ob-visible span{display:flex;flex-direction:column;gap:3px}
.ob-visible small{color:var(--muted);font-size:12px}
.ob-visible.disabled{opacity:.5}
.interest-tags .tag-accent{background:rgba(236,72,153,.18);color:#fbcfe8}
.ob-visible{margin-top:18px!important}

/* Product polish: restrained, editorial onboarding/profile instead of a
   generated-looking stack of oversized gradient cards. */
.onboard-modal .onboard-screen{background:#101827;padding-left:22px;padding-right:22px}
.onboard-head{margin-bottom:28px}.ob-progress{height:3px;background:#2a3447}.ob-progress i{background:var(--primary)}
.ob-step{color:#9ca9bd;font-size:11px;letter-spacing:.08em}.onboard-screen h1{font-size:30px;line-height:1.12;margin-bottom:9px}
.onboard-screen .auth-sub{max-width:350px;color:#aeb8ca;font-size:14px}
.ob-context{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:-8px 0 22px;padding:7px 10px;border:1px solid #2d3a50;border-radius:999px;color:#a8d9c4;background:#142238;font-size:11px;font-weight:650}
.ob-context svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:#6ee7b7;stroke-width:1.8}
.ob-options{gap:0;border-top:1px solid var(--border)}
.ob-option{min-height:58px;padding:10px 2px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;font-size:15px}
.ob-option.active{border-color:var(--border);background:transparent;color:#fff}.ob-option.active .picker-check{color:var(--primary)}
.onboard-screen .chips{gap:8px}.onboard-screen .chip{min-height:44px;border-radius:12px;background:transparent;border-color:#344057;color:#c9d2df}
.onboard-screen .chip.active{background:#f1e8ed;border-color:#f1e8ed;color:#17131a}
.onboard-screen .ob-foot{padding-top:20px;background:linear-gradient(transparent,#101827 28%)}
.onboard-screen .ob-foot .primary-button{background:#e33d8f;box-shadow:none;border-radius:14px}
.onboard-screen .photo-slot{border-radius:12px;background:#182236}.onboard-screen .photo-slot .plus{background:#e33d8f}
.onboard-screen .ob-textarea{background:#182236;border-radius:12px}
.my-profile{display:grid;grid-template-columns:76px 1fr;grid-template-rows:auto auto auto;column-gap:16px;text-align:left;padding:18px 4px 24px}
.my-avatar{grid-row:1/4;width:76px;height:76px;border-radius:24px;margin:0;box-shadow:none;font-size:30px;background:#7156c8}
.my-profile h1{font-size:24px;margin:2px 0 2px}.my-profile p{font-size:13px;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.my-profile .verified{justify-self:start}.profile-nudge{border-radius:14px;border-color:var(--border);background:#172135;padding:13px 14px}
.profile-nudge svg{stroke:#c4ccda}.settings-title{margin-left:2px;letter-spacing:.06em;font-size:11px}.settings-card{border-radius:16px;background:#141e31}
.settings-card button{min-height:68px;padding:12px 14px}.settings-card strong{font-size:14px}.settings-card small{font-size:11px}

@media (orientation:landscape) and (max-height:600px){
  .call-self{top:58px;width:80px;height:104px}.call-controls{padding:8px}.call-controls button{width:48px;height:48px}.call-controls button.end{width:56px;height:56px}.call-problem{margin-top:2px}
}

/* Keep app content inside the device frame. Screens scroll under their own
   control, so profile settings cannot leak below the fixed navigation. */
html,body{height:100%;overflow:hidden}
body{height:100dvh;min-height:0}
.shell{height:100dvh;min-height:0}
.shell main{height:calc(100dvh - 72px);overflow:hidden}
.screen{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}
@media (min-width:700px){
  .shell{height:calc(100dvh - 56px);min-height:0}
  .shell main{height:calc(100dvh - 128px)}
}
.check-row a,.state-card a{color:#93c5fd;text-decoration:underline;text-underline-offset:2px}
.settings-card .settings-link{min-height:76px;width:100%;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;text-align:left;padding:14px 16px;color:inherit;text-decoration:none}
.settings-card .settings-link strong,.settings-card .settings-link small{display:block}
.settings-card .settings-link small{color:var(--muted);margin-top:4px}

/* Live room: chat, gifts, report (SFU lives) */
.live-room-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.live-room-meta>span{font-size:12px;background:rgba(5,8,14,.55);padding:7px 10px;border-radius:999px}
#liveEarned{color:#fde68a}
.live-report{width:40px;height:40px;border-radius:50%;border:0;background:rgba(5,8,14,.55);display:grid;place-items:center;color:#fff}
.live-report svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.live-room-top{position:relative}
.live-side{position:absolute;z-index:3;left:12px;right:12px;bottom:calc(100px + var(--safe-bottom));display:flex;flex-direction:column;gap:8px;pointer-events:none}
.live-side>*{pointer-events:auto}
.live-chat{max-height:32dvh;overflow-y:auto;display:flex;flex-direction:column;gap:4px;padding-right:40px;
  -webkit-mask-image:linear-gradient(transparent,#000 24px);mask-image:linear-gradient(transparent,#000 24px)}
.live-msg{margin:0;align-self:flex-start;max-width:100%;padding:6px 10px;border-radius:14px;background:rgba(5,8,14,.55);font-size:13px;line-height:1.35;word-break:break-word}
.live-msg b{color:#f9a8d4;font-weight:700;margin-right:4px}
.live-msg.gift{background:rgba(236,72,153,.3)}
.live-msg.gift b{color:#fff}
.live-gifts{display:flex;gap:6px}
.live-gifts button{min-width:52px;height:36px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(5,8,14,.55);color:#fde68a;font-weight:800;font-size:13px}
.live-chat-form{display:flex;gap:6px}
.live-chat-form input{flex:1;min-width:0;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(5,8,14,.55);color:#fff;padding:0 14px;font:inherit;font-size:16px}
.live-chat-form button{width:42px;height:42px;border-radius:50%;border:0;background:var(--primary);display:grid;place-items:center}
.live-chat-form svg{width:18px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linejoin:round}
#reportModal,#walletModal,#confirmModal{z-index:130}
.story-ring .avatar.has-photo,.live-preview.has-photo{background-size:cover;background-position:center}
.live-preview.has-photo:after{content:"LIVE"}

/* Live: whole frame on wide screens + blurred backdrop; gift panel */
.live-room>video#liveRoomVideo{object-fit:contain;z-index:1;background:transparent}
.live-room>video.live-backdrop{z-index:0;object-fit:cover;filter:blur(32px) brightness(.55);transform:scale(1.15)}
@media (max-aspect-ratio:3/4){.live-room>video#liveRoomVideo{object-fit:cover}}
.live-room-empty{z-index:2}
.live-gift-toggle{width:42px;height:42px;flex:0 0 42px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(5,8,14,.55);display:grid;place-items:center;color:#fde68a}
.live-gift-toggle[aria-expanded="true"]{background:#fde68a;color:#111827;border-color:transparent}
.live-gift-toggle svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.live-gift-panel{max-width:420px;padding:14px;border-radius:20px;background:rgba(10,14,24,.92);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.12)}
.live-gift-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.live-gift-head span{font-size:12px;color:var(--muted)}
.live-gift-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.live-gift-option{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff}
.live-gift-option svg{width:22px;fill:none;stroke:#fde68a;stroke-width:1.7;stroke-linejoin:round;margin-bottom:2px}
.live-gift-option strong{font-size:17px}
.live-gift-option small{font-size:10px;color:var(--muted)}
.live-gift-option.active{border-color:#fde68a;background:rgba(253,230,138,.14)}
.live-gift-panel .primary-button{min-height:44px}
.live-msg.gift{display:flex;align-items:center;gap:6px}
.live-msg.gift svg{width:16px;flex:0 0 16px;fill:none;stroke:#fde68a;stroke-width:1.8}
.live-chat-form,.live-chat{max-width:520px}
.live-unmute{position:absolute;z-index:4;left:50%;top:40%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;border:0;background:#fff;color:#111827;font-weight:800;font-size:16px;box-shadow:0 12px 40px rgba(0,0,0,.45)}
.live-unmute svg{width:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}

/* Discovery filters */
.filter-button{position:relative}
.filter-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:var(--primary)}
.filters-sheet h2{margin-bottom:6px}
.filter-label{font-size:13px;color:var(--muted);font-weight:700;margin:18px 0 10px}
.age-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stepper{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;background:var(--surface-2)}
.stepper span{color:var(--muted);font-size:13px;margin-right:auto}
.stepper b{min-width:34px;text-align:center;font-size:17px;font-variant-numeric:tabular-nums}
.stepper button{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:var(--bg);font-size:18px;font-weight:700}
.filter-check{margin-top:18px}
.filter-check span{display:flex;flex-direction:column;gap:3px}
.filter-check small{color:var(--muted);font-size:12px}
.filters-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
.filters-actions .text-button{margin:0}
.filters-actions .primary-button{flex:1}

.push-ask{text-align:center}
.push-ask h2{padding-right:0}
.push-ask-icon{width:56px;height:56px;margin:4px auto 12px;border-radius:18px;background:rgba(236,72,153,.15);display:grid;place-items:center}
.push-ask-icon svg{width:28px;fill:none;stroke:#f9a8d4;stroke-width:1.8;stroke-linejoin:round}
.install-ask .eyebrow{margin-bottom:8px}
.install-benefits{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:-2px 0 18px}
.install-benefits span{padding:7px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:#cbd5e1;font-size:11px;font-weight:700}
.desktop-discovery-aside{display:none}

/* Desktop: use the available canvas instead of reproducing a narrow phone. */
@media (min-width:900px){
  body{padding:24px}
  .shell{max-width:1240px;height:calc(100dvh - 48px);min-height:0;margin:0 auto;border-radius:30px;border:1px solid var(--border);box-shadow:0 30px 100px rgba(0,0,0,.5);overflow:hidden}
  .topbar{margin-left:112px;padding-left:32px;padding-right:32px}
  .shell main{height:calc(100dvh - 120px);margin-left:112px;overflow:hidden}
  .screen{height:100%;min-height:0;overflow-y:auto;padding:34px 34px 48px}
  .bottom-nav{left:max(24px,calc(50% - 620px));right:auto;top:24px;bottom:24px;width:112px;height:auto;transform:none;padding:92px 12px 22px;grid-template-columns:1fr;grid-auto-rows:minmax(74px,auto);align-content:start;gap:8px;border:0;border-right:1px solid var(--border);border-radius:30px 0 0 30px;background:rgba(15,23,42,.97)}
  .bottom-nav button{border-radius:18px;font-size:12px;gap:8px}
  .bottom-nav button:hover,.bottom-nav button.active{background:var(--surface-2)}
  .bottom-nav i{top:13px;right:27px}
  .hero-copy,.page-heading,.desktop-discovery-layout,.live-list,.chat-list,.my-profile,.profile-nudge,.settings-title,.settings-card,.empty-state{max-width:1040px;margin-left:auto;margin-right:auto}
  .hero-copy{padding:4px 0 26px;margin-bottom:0;border-bottom:1px solid var(--border)}
  .hero-copy h1{font-size:42px;max-width:620px}
  .desktop-discovery-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:30px;padding-top:26px;align-items:start}
  .desktop-results{min-width:0}
  .desktop-results .stories,.desktop-results .section-heading,.desktop-results .profile-grid{max-width:none;margin-left:0;margin-right:0}
  .desktop-results .stories{min-height:82px;padding-bottom:26px}
  .desktop-results .section-heading{margin-top:0}
  .profile-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:18px}
  .profile-card{max-height:420px}
  .desktop-discovery-aside{display:grid;gap:16px;position:sticky;top:0}
  .desktop-summary-card,.desktop-tip-card{border:1px solid var(--border);border-radius:22px;background:var(--surface);padding:22px}
  .desktop-summary-card .eyebrow{margin-bottom:16px}
  .desktop-stat-row{display:grid;grid-template-columns:52px 1fr;align-items:baseline;gap:8px;padding:13px 0;border-top:1px solid var(--border)}
  .desktop-stat-row strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}
  .desktop-stat-row span{color:var(--muted);font-size:13px}
  .desktop-secondary-button{width:100%;min-height:46px;margin-top:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2);font-weight:700}
  .desktop-tip-icon{width:44px;height:44px;border-radius:14px;background:rgba(52,211,153,.12);display:grid;place-items:center;color:#6ee7b7}
  .desktop-tip-icon svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.8}
  .desktop-tip-card h2{font-size:17px;margin:16px 0 8px}
  .desktop-tip-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
  .live-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .chat-list,.settings-card{max-width:760px}
  .profile-nudge,.settings-title{max-width:760px}
  .my-profile{max-width:760px}
  .thread-screen{padding:0;max-width:none}
  .thread-header,.thread-messages,.composer{max-width:860px;margin-left:auto;margin-right:auto}
  .profile-sheet,.wallet-sheet,.form-sheet{max-width:520px}
  .auth-modal{background:rgba(5,8,16,.78);backdrop-filter:blur(12px)}
  .auth-modal .auth-screen{max-width:560px;top:48px;bottom:48px;padding-left:44px;padding-right:44px;border:1px solid var(--border);box-shadow:0 28px 90px rgba(0,0,0,.5)}
  .onboard-modal .onboard-screen{max-width:620px}
}
