/* POV creator app (also inside the iOS and Android WebViews). Glanceable, one shutter, one stamped number.
   One title per screen, edge-print section labels, one kind of row, one primary action per screen, one sheet. */
:root {
  --s1: var(--base-1); --s2: var(--base-2); --line2: var(--line-2);
  --accent-soft: var(--rec-dim); --accent-line: var(--stamp-line);
  --ok-soft: var(--ok-dim); --warn: var(--stamp);
  --display: var(--f-display); --body: var(--f-ui); --mono: 'Geist', system-ui, sans-serif;
  --r-card: var(--r-3); --r-row: var(--r-2); --tabbar: calc(64px + env(safe-area-inset-bottom));
}
html, body { margin: 0; background: var(--base); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow: auto; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }

/* ── App frame ── */
.app { max-width: 520px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 20px calc(var(--tabbar) + 28px); display: flex; flex-direction: column; gap: 14px; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; }
.apphead { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.apphead-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.eyebrow { font: 700 12px var(--mono); letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; }
.eyebrow:empty { display: none; }
.apphead h1, h1#setup-h { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.avatar { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 800; font-size: 16px; flex: none; display: grid; place-items: center; }
.tab, #setup-main { display: flex; flex-direction: column; gap: 12px; }
#setup-main[hidden] { display: none; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; padding: 4px 8px env(safe-area-inset-bottom); background: var(--base); border-top: 1px solid var(--line); }
.tabbar-in { width: 100%; max-width: 520px; display: flex; }
.tabbar button { position: relative; flex: 1; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.on { color: var(--ink); }
.tabbar button.on::before { content: ''; position: absolute; top: -5px; left: 30%; right: 30%; height: 2px; background: var(--stamp); }

/* ── Type & labels ── */
.step-k, .kick, .lab, .pl-k { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); margin: 16px 0 0; }
.step-k:first-child, .kick:first-child { margin-top: 2px; }
.note, .lede { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }
.err { color: var(--bad); font-size: 14px; }
.hl { color: var(--ok) !important; font-weight: 800; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── Buttons: square frames ── */
.cta { width: 100%; height: 56px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 17px; font-weight: 800; margin: 0; padding: 0 20px; transition: transform .12s var(--ease-out), background .15s; }
.cta:active { transform: scale(.985); }
.cta.accent { background: var(--stamp); color: var(--base); }
.cta:disabled { opacity: .45; }
.cta.done { background: var(--ok-dim); color: var(--ok); }
.pill { flex: none; height: 44px; padding: 0 16px; border-radius: var(--r-2); background: var(--s2); color: var(--ink); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.linkbtn { font-size: 14px; font-weight: 700; color: var(--ink); padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.yes { background: var(--ink); color: var(--base); } .no { background: var(--s2); color: var(--ink); }
.acts { display: flex; gap: 8px; } .acts button { flex: 1; height: 52px; border-radius: var(--r-2); font-size: 15px; font-weight: 800; }

/* ── Inputs ── */
label.f { display: flex; flex-direction: column; gap: 6px; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
label.f span { font-size: 13px; color: var(--muted); }
.in { width: 100%; box-sizing: border-box; height: 52px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--base); color: var(--ink); font: 16px var(--body); letter-spacing: 0; text-transform: none; padding: 0 14px; outline: none; -webkit-appearance: none; appearance: none; }
.in:focus { box-shadow: inset 0 0 0 1px var(--stamp); }
.in::placeholder { color: var(--faint); }
select.in { background: var(--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FF8A1F' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
textarea.in { height: auto; min-height: 120px; padding: 14px; line-height: 1.45; resize: vertical; }
.row2 { display: flex; gap: 10px; } .row2 > * { flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.chip.on { background: var(--ink); color: var(--base); box-shadow: none; }
.chip:disabled { opacity: .35; }
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; } .quick::-webkit-scrollbar { display: none; }
.quick button { flex: none; height: 44px; padding: 0 14px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 700; }
.quick button.on { background: var(--stamp); box-shadow: none; color: var(--base); }
.modes { display: grid; gap: 8px; } .modes.m3 { grid-template-columns: 1fr; }
.mode { text-align: left; padding: 14px 16px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.mode b { font-size: 15.5px; } .mode span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.mode.on { box-shadow: inset 0 0 0 2px var(--stamp); background: var(--stamp-dim); }

/* ── Rows: the one list item ── */
.ml, .row-item, .pay-acct { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); border: 0; text-align: left; color: var(--ink); width: 100%; box-sizing: border-box; }
.ml .g, .row-item .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ml b, .row-item b { display: block; font-size: 16px; font-weight: 800; line-height: 1.25; }
.ml small, .row-item small, .pay-acct small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; font-weight: 400; }
.row-item .lead { width: 40px; height: 40px; border-radius: var(--r-2); background: var(--s2); display: grid; place-items: center; flex: none; color: var(--stamp); }
.row-item .lead svg { width: 22px; height: 22px; }
.chev { color: var(--faint); font-size: 22px; flex: none; }
.pay-acct > div { flex: 1; min-width: 0; } .pay-acct b { font-size: 16px; } .pay-acct.ok { box-shadow: inset 0 0 0 1px var(--ok); } .pay-acct.warn { box-shadow: inset 0 0 0 1px var(--stamp-line); }
#replay-list { display: flex; flex-direction: column; gap: 8px; }
#replay-list:empty { display: none; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: var(--r-1); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--s2); color: var(--muted); white-space: nowrap; vertical-align: 2px; margin-left: 6px; }
.badge.ok { background: var(--ok-dim); color: var(--ok); } .badge.warn { background: var(--stamp-dim); color: var(--stamp); } .badge.bad { background: var(--rec-dim); color: var(--bad); } .badge.test { background: var(--marker-dim); color: var(--marker); }
.ml-sw { position: relative; flex: none; width: 52px; height: 30px; }
.ml-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ml-sw i { position: absolute; inset: 0; border-radius: var(--r-2); background: var(--base-3); transition: background .15s; pointer-events: none; }
.ml-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: var(--r-1); background: var(--ink); transition: transform .2s var(--ease-out); }
.ml-sw input:checked + i { background: var(--stamp); } .ml-sw input:checked + i::after { transform: translateX(22px); background: var(--base); }
.ml-sw input:focus-visible + i { outline: 2px solid var(--marker); outline-offset: 2px; }

/* ── Panels ── */
.pl, .gate, .earn-hero { border-radius: var(--r-3); padding: 20px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pl-k { margin: 0; }
.pl-s { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pl .acts2 { display: flex; gap: 8px; flex-wrap: wrap; } .pl .acts2 .cta { flex: 1; min-width: 140px; height: 48px; font-size: 15px; }
.g-help { font-size: 13.5px; line-height: 1.5; color: var(--muted); } .g-help b { color: var(--ink); font-weight: 700; }
.gate h2 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 24px; line-height: 1.04; }
.gate .ok { color: var(--ok); font-size: 14px; } .gate .bad { color: var(--bad); font-size: 14px; }
.earn-hero b.big { font-family: var(--f-stamp); font-weight: 900; font-size: 44px; line-height: 1; color: var(--stamp); }
.stats, .sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); overflow: hidden; }
.stats > div, .sum div { padding: 14px 16px; background: var(--s1); display: flex; flex-direction: column; gap: 4px; box-shadow: inset -1px -1px 0 var(--line); }
.stats b, .sum b { font: 900 24px var(--f-stamp); color: var(--stamp); font-variant-numeric: tabular-nums; } .stats span, .sum span { font-size: 13px; color: var(--muted); }
details.more { border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; }
details.more summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 16px 0; font-size: 16px; font-weight: 800; cursor: pointer; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--stamp); }
details.more[open] summary::after { content: '−'; }
details.more[open] { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
.opening { display: flex; flex-direction: column; gap: 8px; } .op-opts { display: flex; flex-direction: column; gap: 8px; }
.preview { position: relative; width: 100%; aspect-ratio: 9/12; border-radius: var(--r-2); overflow: hidden; background: var(--s1); } .preview video { width: 100%; height: 100%; object-fit: cover; }

/* ── Sheets ── */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; }
.scrim { position: absolute; inset: 0; background: rgba(8,6,4,.62); width: 100%; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; background: var(--s1); border-radius: var(--r-3) var(--r-3) 0 0; box-shadow: 0 -1px 0 var(--line-2); padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; box-sizing: border-box; animation: up .32s var(--ease-out); }
.sheet .grab { align-self: center; width: 40px; height: 4px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); margin-bottom: 14px; flex-shrink: 0; }
#sheet { display: flex; flex-direction: column; gap: 12px; }
#sheet .cta { margin-top: 4px; }
.sh-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sh-t { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.06; letter-spacing: -.01em; }
.sh-s { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.toast { position: fixed; left: 50%; top: calc(18px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; background: var(--base-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px rgba(0,0,0,.45); border-radius: var(--r-2); padding: 12px 16px; font-size: 14px; font-weight: 600; max-width: calc(100% - 40px); text-align: center; }

/* ── Sub-screen (Live settings) ── */
.subview { position: fixed; inset: 0; z-index: 30; background: var(--base); overflow-y: auto; }
.subview-in { max-width: 520px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.subview-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.subview-h h2 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 26px; }
.iconbtn { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; flex: none; }
.iconbtn svg { width: 22px; height: 22px; }

/* ── Simulcast & misc ── */
.dests { display: flex; flex-direction: column; gap: 8px; }
.dest .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .dest .nm b { font-size: 15px; } .dest .nm span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest.off { opacity: .55; }
.plat { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); } .plat .hd { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; } .plat .el { font-size: 13px; color: var(--muted); line-height: 1.4; }
.plat button.sm { height: 44px; border-radius: var(--r-2); padding: 0 16px; font-weight: 800; font-size: 14px; background: var(--s2); }
.hrow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; } .hrow .g { flex: 1; min-width: 0; } .hrow .g div:last-child { font-size: 12.5px; color: var(--muted); }
.strip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.strip .g { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .strip button { height: 40px; padding: 0 14px; border-radius: var(--r-2); font-weight: 800; font-size: 13.5px; background: rgba(243,236,226,.12); }

/* ── Live screen: the creator glances, acts ── */
#live { position: fixed; inset: 0; background: #000; z-index: 20; }
#live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#live .shade-top { position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(180deg, rgba(8,6,4,.78), rgba(8,6,4,0)); pointer-events: none; }
#live .shade-bottom { position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(0deg, rgba(8,6,4,.9), rgba(8,6,4,0)); pointer-events: none; }
.ctop { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
.ctop .live-pill { height: 34px; padding: 0 9px; font-size: 13px; flex: none; }
.stat { height: 34px; padding: 0 8px; border-radius: var(--r-2); background: var(--veil); display: inline-flex; align-items: center; gap: 6px; font: 900 14px var(--f-stamp); letter-spacing: .04em; color: var(--stamp); ; flex: none; font-variant-numeric: tabular-nums; }
button.stat { font: 800 13.5px var(--f-ui); color: var(--ink); ; letter-spacing: 0; }
#c-earn { color: var(--ok); }
.ctop .spacer { flex: 1; }
#c-prefs { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 18px; }
.endbtn { height: 44px; padding: 0 14px; border-radius: var(--r-2); background: var(--rec); color: var(--base); font-weight: 800; font-size: 15px; flex: none; }
.health { gap: 5px; } .health i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-live { background: var(--ok); } .dot-warn { background: var(--stamp); } .dot-bad { background: var(--bad); } .dot-idle { background: var(--faint); }
.pz { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); } .pz-active { background: var(--ink); } .pz-high { background: var(--stamp); } .pz-surge { background: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-dim); }
.cbody { position: absolute; left: 14px; right: 14px; top: calc(64px + env(safe-area-inset-top)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 3; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none; }
.cbody::-webkit-scrollbar { display: none; }
.cbody > :first-child { margin-top: auto; }
#live:not(.no-cact) .cbody { bottom: calc(100px + env(safe-area-inset-bottom)); }
.cact { position: absolute; left: 14px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 4; display: flex; gap: 8px; }
.cact button { flex: 1; height: 64px; border-radius: var(--r-2); font-weight: 800; font-size: 17px; }
.cact .cact-ask { background: var(--ink); color: var(--base); }
.cact .cact-q { background: var(--veil); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.card { padding: 16px; border-radius: var(--r-2); background: rgba(23,20,15,.92); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.card.hap { box-shadow: inset 0 0 0 2px var(--stamp); }
.card .k { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); }
.card .t { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.06; }
.card .s { font: 600 13px var(--mono); letter-spacing: .02em; color: var(--muted); } .card .s.sans { font-family: var(--body); font-size: 13.5px; letter-spacing: 0; }
.card.quiet { background: var(--veil); }
.card .acts button { height: 56px; font-size: 16px; }
.card.hap .acts button.yes { flex: 2; }
.earn-big { display: flex; align-items: baseline; gap: 8px; } .earn-big b { font: 900 32px var(--f-stamp); color: var(--ok); } .earn-big span { font-size: 13px; color: var(--muted); }
.earn { font: 700 14px var(--mono); color: var(--ok); }
.qd-o { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; height: 52px; border-radius: var(--r-2); background: rgba(243,236,226,.07); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: 17px; font-weight: 800; }
.qd-o i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--stamp-dim); transition: width .5s var(--ease-out); }
.qd-o span, .qd-o b { position: relative; } .qd-o b { font-family: var(--f-stamp); font-weight: 900; color: var(--stamp); }
.qd-o.win { box-shadow: inset 0 0 0 2px var(--stamp); } .qd-o.win i { background: rgba(255,138,31,.34); }
.qd-new { display: flex; gap: 8px; } .qd-new .in { flex: 1; min-width: 0; } .qd-new .yes { flex: none; padding: 0 22px; height: 52px; border-radius: var(--r-2); font-weight: 800; }
.ql-h { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); padding: 6px 2px 0; }
.ql { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); }
.ql.on { background: rgba(40,24,10,.9); box-shadow: inset 0 0 0 2px var(--stamp); }
.ql-g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ql-k { font: 700 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; } .ql.on .ql-k { color: var(--stamp); }
.ql-t { font-size: 17px; font-weight: 800; line-height: 1.2; }
.ql-bar { height: 5px; background: rgba(243,236,226,.16); overflow: hidden; } .ql-bar i { display: block; height: 100%; background: var(--stamp); }
.ql-start { height: 48px; padding: 0 18px; border-radius: var(--r-2); background: var(--stamp); color: var(--base); font-weight: 800; font-size: 15px; flex: none; }
.ql-next { font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); flex: none; }
.ql-more { width: 44px; height: 44px; border-radius: var(--r-2); background: rgba(243,236,226,.08); font-size: 18px; flex: none; }
.ql-empty { padding: 16px; border-radius: var(--r-2); background: var(--veil); color: var(--ink); font-size: 15px; }
.heard { position: absolute; left: 50%; top: calc(62px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 6; max-width: 86%; padding: 8px 12px; border-radius: var(--r-2); background: var(--base-1); box-shadow: inset 0 0 0 1px var(--stamp-line); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv { display: flex; align-items: center; gap: 8px; } .mv .g { flex: 1; min-width: 0; } .mv button { height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--r-2); font-weight: 800; font-size: 14px; }
#earn-body { display: flex; flex-direction: column; gap: 12px; } #earn-body .step-k { margin-top: 10px; }
@media (max-width: 380px) { #c-earn { display: none; } .ctop .stat { padding: 0 6px; font-size: 13px; } }

/* ── The POV grammar sheet ── */
.gram-link { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.gram { display: grid; gap: 14px; }
.gram-t { font-family: var(--display); font-stretch: 112%; font-size: 22px; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.gram-l { display: grid; gap: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); }
.gram-l div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: baseline; padding: 11px 14px; border-top: 1px solid var(--line); }
.gram-l div:first-child { border-top: 0; }
.gram-l b { font: 700 12.5px var(--mono); letter-spacing: .1em; color: var(--stamp); text-transform: uppercase; }
.gram-l span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.gram-q { font-size: 15.5px; font-weight: 700; line-height: 1.4; text-wrap: balance; }

/* ── Best moment / share ── */
.best { display: grid; gap: 10px; margin: 6px 0 4px; }
.best video { width: 100%; max-height: 46vh; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-2); background: #000; }
.best-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share { display: grid; gap: 6px; margin-top: 4px; }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: none; color: inherit; text-align: left; cursor: pointer; }
.share-row b { font-size: 15px; } .share-row span { font-size: 13px; color: var(--muted); text-align: right; }
.compose { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.compose video { width: 100%; max-height: 40vh; border-radius: var(--r-2); background: #000; }
.cp-who { display: flex; align-items: center; gap: 10px; font-size: 14px; } .cp-who svg { width: 22px; height: 22px; flex: none; }
.togs { display: flex; flex-wrap: wrap; gap: 8px; }
.tog { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.tog input { accent-color: var(--stamp); width: 18px; height: 18px; margin: 0; }
#replay-list .ml { flex-wrap: wrap; row-gap: 12px; margin-bottom: 8px; }
#replay-list .ml .g { flex: 1 1 100%; order: 0; }
#replay-list .ml .pill { order: 3; height: 40px; padding: 0 14px; font-size: 14px; }
#replay-list .ml [data-share] { order: 1; background: var(--ink); color: var(--base); }
#replay-list .ml a.pill { order: 2; }
#replay-list .ml [data-del] { order: 4; margin-left: auto; background: none; color: var(--muted); }

.shr { display: flex; flex-direction: column; gap: 14px; }
.shr-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
/* The share card is a print: white border, stamped corner. */
.shr-card { position: relative; align-self: center; width: min(62vw, 260px); aspect-ratio: 9 / 16; border-radius: var(--r-1); overflow: hidden; background: #000; box-shadow: 0 0 0 6px var(--ink), 0 22px 50px rgba(0,0,0,.6); margin: 6px 0; }
.shr-card img:not(.sig-pov), .shr-card video, .shr-blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shr-blank { background: var(--base-2); }
.shr-card::after { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(rgba(0,0,0,.5), transparent); pointer-events: none; }
.sig-live { position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: var(--r-1); background: var(--rec); font: 900 11px var(--f-stamp); letter-spacing: .12em; color: var(--base); }
.sig-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--base); }
.sig-pov { position: absolute; z-index: 2; right: 10px; top: 12px; height: 16px; width: auto; }
.sig-who { position: absolute; z-index: 2; left: 11px; top: 40px; font-size: 12.5px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.shr-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(8,6,4,.55); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--ink); }
.shr-play svg { width: 28px; height: 28px; margin-left: 3px; }
.shr-why { text-align: center; }
.shr-prog { position: relative; height: 36px; border-radius: var(--r-2); background: var(--s1); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.shr-prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--stamp-dim); box-shadow: inset -2px 0 0 var(--stamp); transition: width .3s steps(5, end); }
.shr-prog span { position: relative; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shr-prog.done { background: var(--ok-dim); } .shr-prog.done span { color: var(--ok); } .shr-prog.done i { display: none; }
.dests3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dest { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.dest svg { width: 28px; height: 28px; margin-bottom: 2px; } .dest b { font-size: 14px; } .dest span { font-size: 12px; color: var(--muted); }
.shr-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.pillbtn { height: 44px; padding: 0 16px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: none; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.shr-wait { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-2); background: var(--s1); }
.shr-wait b, .shr-done b { display: block; font-size: 15px; } .shr-wait span, .shr-done span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.shr-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--r-2); background: var(--s1); }
.spin { flex: none; width: 24px; height: 16px; border-radius: var(--r-1); border: 2px solid var(--stamp); background: repeating-linear-gradient(90deg, var(--stamp) 0 3px, transparent 3px 7px); animation: advance .5s steps(2, end) infinite; }
@keyframes advance { to { background-position: 7px 0; } }

/* ── End of a Live ── */
.res { display: flex; flex-direction: column; gap: 14px; }
.res-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); overflow: hidden; }
.res-stats div { padding: 14px 12px; background: var(--s1); box-shadow: inset -1px 0 0 var(--line); }
.res-stats b { display: block; font: 900 24px var(--f-stamp); color: var(--stamp); font-variant-numeric: tabular-nums; } .res-stats span { font-size: 12.5px; color: var(--muted); }

/* ── Your POVs: contact sheet ── */
.povgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.povcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pc-media { position: relative; aspect-ratio: 9 / 14; border-radius: var(--r-1); overflow: hidden; background: var(--base-2); padding: 0; box-shadow: inset 0 0 0 1px var(--line); }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: var(--r-1); background: var(--veil); font: 900 12px var(--f-stamp); color: var(--stamp); }
.pc-state { position: absolute; left: 6px; top: 6px; padding: 3px 6px; border-radius: var(--r-1); background: var(--veil); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pc-meta { min-width: 0; } .pc-meta b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pc-meta small { font-size: 12.5px; color: var(--muted); }
.pc-acts { display: flex; gap: 6px; }
.pc-share { flex: 1; height: 40px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-weight: 800; font-size: 14px; }
.pc-share:disabled, .pc-media:disabled { opacity: .45; }
.pc-more { width: 44px; height: 40px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 18px; line-height: 1; }
.menu { display: flex; flex-direction: column; gap: 0; }
.menu .sh-s { margin-bottom: 8px; }
.menu-i { display: block; width: 100%; padding: 15px 2px; border-top: 1px solid var(--line); text-align: left; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.menu-i.danger { color: var(--bad); }

/* ── Home: the shutter ── */
.home-glasses { padding: 14px 16px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.home-glasses b { color: var(--ink); }
.home-glasses .g-help { margin-top: 8px; font-size: 13px; color: var(--faint); }
.home-glasses .cta { margin-top: 2px; }
.home-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 0 12px; }
.golive, .home-hero .golive, #go.golive { position: relative; flex: none; width: 212px; height: 212px; min-height: 212px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--rec); color: #fff; font: 900 21px/1.02 var(--display); font-stretch: 125%; letter-spacing: .005em; padding: 0 36px; text-wrap: balance;
  box-shadow: 0 0 0 7px var(--base), 0 0 0 10px var(--ink), 0 24px 50px rgba(0,0,0,.55); transition: transform .14s var(--ease-out), box-shadow .2s; }
.golive::after { content: ''; position: absolute; inset: -22px; border-radius: 50%; background: repeating-conic-gradient(var(--stamp) 0 1.2deg, transparent 1.2deg 7.5deg); -webkit-mask: radial-gradient(circle, transparent 69%, #000 69.5%, #000 74%, transparent 74.5%); mask: radial-gradient(circle, transparent 69%, #000 69.5%, #000 74%, transparent 74.5%); opacity: .8; animation: dial 24s linear infinite; pointer-events: none; }
@keyframes dial { to { transform: rotate(360deg); } }
.golive:active { transform: scale(.965); box-shadow: 0 0 0 7px var(--base), 0 0 0 10px var(--stamp), 0 12px 30px rgba(0,0,0,.55); }
.golive:disabled { opacity: .55; } .golive:disabled::after { display: none; }
.home-hero .go-q { text-align: center; font-size: 15px; color: var(--muted); max-width: 300px; line-height: 1.45; }
.home-hero .gram-link { margin: 0; }
.lastpov { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.lastpov .lp-img { flex: none; width: 46px; height: 64px; border-radius: var(--r-1); overflow: hidden; background: var(--s2); position: relative; }
.lastpov .lp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lastpov .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lastpov small { font: 700 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); } .lastpov b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lastpov .pc-share { flex: none; width: 92px; }
.home-rows { display: flex; flex-direction: column; gap: 8px; }
.row-item.loc { cursor: text; } .row-item.loc small { font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.in-bare { width: 100%; border: 0; background: none; color: var(--ink); font: 700 16px var(--body); padding: 2px 0 0; outline: none; }
.in-bare::placeholder { color: var(--faint); font-weight: 500; }
.home-rows .row-item.loc { display: flex; flex-direction: row; align-items: center; text-align: left; }
.home-rows .row-item.loc .g { align-items: flex-start; }

/* ── Your POVs: profile header ── */
.me { display: flex; align-items: center; gap: 12px; }
.me-av { flex: none; width: 52px; height: 52px; border-radius: var(--r-2); background: var(--s2); display: grid; place-items: center; font: 900 20px var(--display); overflow: hidden; }
.me-av img { width: 100%; height: 100%; object-fit: cover; }
.me .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .me b { font-size: 17px; } .me small { font-size: 13px; color: var(--muted); }
.me .fc { font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); }
.me-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 12px 2px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.me-stats b { font: 900 16px var(--f-stamp); color: var(--stamp); }
.me-stats a { margin-left: auto; color: var(--ink); font-weight: 700; text-decoration: none; }

/* ── Sign up ── */
.gate-hero { display: flex; flex-direction: column; gap: 20px; margin-bottom: 18px; }
.gate-h { font: 900 30px/1 var(--display); font-stretch: 125%; letter-spacing: -.015em; text-wrap: balance; }
.gate-h em { font-style: normal; color: var(--stamp); display: block; }
.gate-pts { display: flex; flex-direction: column; gap: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-2); }
.gate-pts div { padding: 12px 14px; border-top: 1px solid var(--line); }
.gate-pts div:first-child { border-top: 0; }
.gate-pts b { display: block; font-size: 15.5px; } .gate-pts span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ── Live settings ── */
.set-sec { display: flex; flex-direction: column; gap: 10px; }
.set-more { border-radius: var(--r-2); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 4px 16px; }
.set-more summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; }
.set-more summary::after { content: '+'; color: var(--stamp); font-weight: 400; } .set-more[open] summary::after { content: '−'; }
.set-more[open] { padding-bottom: 16px; } .set-more > * + * { margin-top: 12px; }
@keyframes up { from { transform: translateY(100%); } }
.loc-use { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.loc-use[hidden] { display: none; }

/* Home fits one screen: glasses status, the record button sized to the viewport, two rows. */
#setup { min-height: 100dvh; padding-bottom: calc(var(--tabbar) + 14px) !important; gap: 10px !important; }
#setup .apphead { padding: 0 0 4px !important; }
#setup .apphead h1 { font-size: 24px !important; }
#tab-next { flex: 1; gap: 10px !important; }
#tab-next .home-hero { flex: 1; justify-content: center; padding: 6px 0 !important; gap: 16px !important; --gs: clamp(148px, 24dvh, 212px); }
#tab-next .home-hero .golive, #go.golive { width: var(--gs) !important; height: var(--gs) !important; min-height: var(--gs) !important; font-size: clamp(17px, 2.6dvh, 22px) !important; padding: 0 22px !important; }
#tab-next .home-hero::before { width: calc(var(--gs) + 40px) !important; height: calc(var(--gs) + 40px) !important; margin-left: calc((var(--gs) + 40px) / -2) !important; top: calc(6px - 20px + 6px) !important; }
#tab-next .home-hero .go-q { font-size: 13.5px; }
#tab-next .gram-link { font-size: 13px; padding: 2px 8px; }
#tab-next .home-rows { gap: 8px; }
#tab-next .row-item { padding: 10px 14px !important; }
#tab-next .row-item .lead { width: 36px; height: 36px; }
/* Glasses status: one compact row */
.home-glasses { padding: 10px 12px 10px 14px !important; border-radius: 16px !important; background: rgba(28,28,31,.5) !important; backdrop-filter: blur(20px); }
.gl { display: flex; align-items: center; gap: 12px; }
.gl-ic { width: 26px; height: 26px; flex: none; color: var(--ink); }
.gl-g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gl-g b { font-size: 15px; font-weight: 600; color: var(--ink); }
.gl-g small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.gl-dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(155,220,138,.7); }
.gl-dot.warn { background: #FFB547; box-shadow: 0 0 10px rgba(255,181,71,.6); animation: livepulse 1.6s ease-in-out infinite; }
.gl-check { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.gl-help { margin-top: 8px; } .gl-help summary { list-style: none; cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 600; } .gl-help summary::-webkit-details-marker { display: none; } .gl-help summary::after { content: ' +'; } .gl-help[open] summary::after { content: ' −'; }
.gl-help .g-help { margin-top: 6px !important; font-size: 12.5px !important; }
#tab-next .home-hero::before { display: none !important; }
#tab-next .home-hero .golive::after { display: block !important; content: ''; position: absolute; inset: -22px; border-radius: 0; opacity: 1; animation: none; -webkit-mask: none; mask: none; pointer-events: none; --c: rgba(255,255,255,.7); --l: 24px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; }
#tab-next .home-hero { padding-top: 26px !important; padding-bottom: 22px !important; }
#tab-next .home-hero { gap: 34px !important; padding-top: 30px !important; }
.apphead { align-items: center !important; min-height: 48px; } .apphead-t { justify-content: center; } .apphead .avatar { width: 40px; height: 40px; font-size: 15px; }
#tab-next .home-glasses { margin: 0; }
/* Home rows read the same way: icon tile · bold value on top · small hint below · action on the right */
.gl-ic { width: 36px !important; height: 36px !important; padding: 7px; border-radius: 12px; background: var(--base-2); box-sizing: border-box; }
.home-glasses { padding: 10px 14px !important; }
.row-item.loc .g { flex-direction: column-reverse !important; gap: 2px !important; }
.row-item.loc small { font: 400 13px var(--f-ui) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--muted) !important; }
.row-item.loc .in-bare { font: 600 16px var(--f-ui) !important; padding: 0 !important; }
.loc-use { width: 40px; height: 40px; padding: 0 !important; display: grid; place-items: center; }
.row-item b, .gl-g b { font-size: 16px !important; font-weight: 600 !important; }
.row-item small, .gl-g small { font-size: 13px !important; }
.apphead { gap: 8px !important; }
.apphead .help { width: 40px; height: 40px; border-radius: 999px; font: 600 17px var(--f-ui); color: var(--ink); background: rgba(255,255,255,.08) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important; }
.apphead .help[hidden] { display: none; }
.apphead .avatar { overflow: hidden; padding: 0; }
.apphead .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Balance the one-screen home: the record button sits in the middle of the free space */
#setup-main { flex: 1; display: flex; flex-direction: column; }
#tab-next:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
#tab-next .home-rows { margin-top: auto; }

/* ── Watch: the viewer feed full screen above the tab bar; the red record button sits in the middle of the bar ── */
#tab-watch { position: fixed; left: 0; right: 0; top: 0; bottom: var(--tabbar); z-index: 5; background: #000; }
#tab-watch[hidden] { display: none !important; }
#tab-watch iframe { width: 100%; height: 100%; border: 0; display: block; }
body.on-watch .apphead { display: none !important; }
body.on-watch .tabbar { background: rgba(0,0,0,.92) !important; }
.tabbar .rec-tab { flex: 0 0 auto !important; width: 84px; }
.rec-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 8px 24px rgba(255,59,47,.35); margin-top: -14px; transition: transform .18s cubic-bezier(.16,1,.3,1); }
.rec-btn i { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #FF6A4D, #FF3B2F 60%, #D81F14); }
.tabbar .rec-tab:active .rec-btn { transform: scale(.92); }
.tabbar .rec-tab.on .rec-btn { box-shadow: 0 0 0 3px #FF3B2F, 0 8px 24px rgba(255,59,47,.5); }
.tabbar .rec-tab { width: 76px; } .tabbar button { min-width: 0; }
#gate.gate { background: transparent !important; box-shadow: none !important; padding: 8px 0 !important; } #gate .gate-pts { background: rgba(20,20,22,.45); backdrop-filter: blur(16px); }
/* How to POV guide: one idea per screen */
.sheet:has(.guide) { min-height: 62%; }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 6px 2px 4px; }
.gd-dots { display: flex; gap: 6px; } .gd-dots i { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,.16); } .gd-dots i.on { background: var(--rec); }
.gd-n { margin-top: 14px; font: 900 13px 'Doto', monospace; letter-spacing: .12em; color: var(--muted); }
.gd-t { font: 900 30px/1 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.gd-a { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.gd-b { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.gd-acts { display: flex; gap: 8px; margin-top: 18px; } .gd-acts .cta { flex: 1; margin: 0 !important; } .gd-back { flex: 0 0 34% !important; background: rgba(255,255,255,.1) !important; color: var(--ink) !important; }
.gd-skip { align-self: center; color: var(--muted); font-size: 14px; }
.gate-h em { color: #FF5A3C !important; }
#gate .cta.accent { background: var(--ink) !important; color: var(--base) !important; box-shadow: none !important; }

/* Profile: one full screen, one header, one grouped list, sign out last and quiet. The header avatar is gone: Profile lives in the tab bar. */
.apphead .avatar { display: none !important; }
.sheet:has(.pf) { top: 0; max-height: none !important; height: 100%; max-width: none; border-radius: 0 !important; padding-top: calc(10px + env(safe-area-inset-top)) !important; background: var(--base) !important; }
.sheet:has(.pf) .grab { display: none; }
.pf { display: flex; flex-direction: column; gap: 22px; max-width: 520px; width: 100%; margin: 0 auto; }
.pf-top { display: flex; justify-content: flex-end; } .pf-top .x { margin: 0; }
.pf-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pf-av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--base-2); font: 900 38px 'Archivo', var(--f-ui); font-stretch: 125%; box-shadow: 0 0 0 3px var(--base), 0 0 0 5px rgba(255,255,255,.16); }
.pf-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-name { font: 900 24px 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; margin-top: 6px; }
.pf-mail { font-size: 14px; color: var(--muted); }
.pf-list { border-radius: 18px; background: rgba(28,28,31,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.pf-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; text-align: left; color: var(--ink); text-decoration: none; background: none; border: 0; }
.pf-row + .pf-row { box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.pf-row .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .pf-row b { font-size: 16px; font-weight: 600; } .pf-row small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-row .chev { color: var(--faint); display: grid; }
.pf-row:active { background: rgba(255,255,255,.05); }
.pf-out { align-self: center; padding: 12px 20px; background: none; border: 0; color: var(--bad); font-size: 15px; font-weight: 600; }
.how { display: flex; flex-direction: column; gap: 0; border-radius: 18px; background: rgba(28,28,31,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.how-t { padding: 18px 18px 10px; font: 900 20px 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; }
.how-r { display: flex; flex-direction: column; gap: 3px; padding: 13px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); } .how-r b { font-size: 15.5px; font-weight: 600; } .how-r span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.how-z { padding: 12px 18px 16px; font-size: 13px; color: var(--faint); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.empty-povs { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 40px 12px; } .ep-t { font: 900 22px 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; } .empty-povs p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 30ch; } .empty-povs .cta { max-width: 240px; background: var(--rec) !important; color: #fff !important; }

/* POVs tab: only the POVs. Share sits on the card, the menu in its corner. */
.povcard { position: relative; }
.pc-shr { position: absolute; left: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: rgba(28,28,31,.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; }
.pc-shr svg { width: 16px; height: 16px; }
.povcard .pc-more { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 999px; background: rgba(28,28,31,.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 16px; }
.povcard .pc-state { top: 8px; left: 8px; }
.pf-stats { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pf-stats b { color: var(--ink); font-size: 15px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.pf-av-edit { position: relative; cursor: pointer; }
.pf-av-edit #pf-av-i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.pf-av-edit #pf-av-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-cam { position: absolute; right: 2px; bottom: 2px; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--base); box-shadow: 0 0 0 3px var(--base); }
.pf-cam svg { width: 17px; height: 17px; }
.pf-av-edit { overflow: visible !important; } .pf-av-edit img { border-radius: 50%; }

/* Profile tab: same page language as the other tabs, no sheet. */
.me2 { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.me2-top { display: flex; align-items: center; gap: 16px; }
.me2 .pf-av { width: 84px; height: 84px; flex: none; font-size: 32px; }
.me2-id { min-width: 0; display: grid; gap: 2px; }
.me2-id b { font: 900 22px/1.05 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; overflow-wrap: anywhere; }
.me2-id small { color: var(--muted); font-size: 14.5px; }
.me2 .pf-stats { justify-content: flex-start; margin: 0; gap: 22px; }
.me2-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.me2-b { height: 44px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.me2-b:active { transform: scale(.97); }
.me2 .pf-row { display: flex; align-items: center; gap: 14px; }
.me2 .pf-row .g { flex: 1; min-width: 0; }
.me2 .pf-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.me-ic svg { width: 19px; height: 19px; }
.me2 .pf-out { align-self: center; }
.me2-who { margin: 8px 0 -10px; text-align: center; color: var(--muted); font-size: 13px; }
/* Glasses screen */
.gv-st { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 26px 16px 28px; }
.gv-ic { position: relative; width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); margin-bottom: 8px; }
.gv-ic svg { width: 46px; height: 46px; }
.gv-ic i { position: absolute; right: 10px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 3px var(--base); }
.gv-st.ok .gv-ic i { background: var(--ok); }
.gv-t { font: 900 22px/1.1 'Archivo', var(--f-ui); font-stretch: 125%; text-transform: uppercase; }
.gv-s { margin: 0; color: var(--muted); font-size: 15px; max-width: 30ch; }
.gv-st .cta { margin-top: 12px; width: 100%; }
.gv-list { margin-top: 10px; }
/* Glasses row on Go Live opens the Glasses screen */
#glasses .gl { cursor: pointer; }
#glasses .gl .chev { margin-left: auto; color: var(--faint); display: grid; }
/* GO LIVE off until the glasses are on */
#go.golive.off { background: #2A2A2E !important; color: rgba(245,245,247,.38) !important; box-shadow: 0 0 0 6px rgba(255,255,255,.06) !important; animation: none !important; filter: none !important; }
#go.golive.off::before, #go.golive.off::after { display: none !important; }
#tab-next .home-hero:has(#go.off) { --gl-off: 1; }
