/* POV Live (viewer). The video is the screen; the camera's marks sit on it.
   Overlays are solid film base or clear, square-cornered, with one meaning per colour (see base.css). */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
#app { position: fixed; inset: 0; display: flex; justify-content: center; background: var(--base); }
#stage { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; --safe-t: env(safe-area-inset-top); --safe-b: env(safe-area-inset-bottom); }
@media (min-aspect-ratio: 3/4) { #stage { max-width: calc(100dvh * 9 / 16); box-shadow: 0 0 0 1px var(--line); } }
button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-ui); font-stretch: 75%; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ── Media ── */
#media { position: absolute; inset: 0; }
#media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
#media video.off { opacity: 0; }
.shade-top { position: absolute; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(180deg, rgba(8,6,4,.62), rgba(8,6,4,0)); pointer-events: none; z-index: 1; transition: opacity .3s var(--ease-out); }
.shade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(0deg, rgba(8,6,4,.7), rgba(8,6,4,.18) 55%, rgba(8,6,4,0)); pointer-events: none; z-index: 1; transition: opacity .3s var(--ease-out); }
.tap { position: absolute; inset: 0; z-index: 2; }
#stage.immersive .hud, #stage.immersive .shade-top, #stage.immersive .shade-bottom { opacity: 0; pointer-events: none; }
.hud { transition: opacity .3s var(--ease-out); z-index: 4; }
.ts { text-shadow: 0 1px 8px rgba(0,0,0,.55); }

/* ── Top: LIVE stamp, place in edge print, who ── */
#hud-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(12px + var(--safe-t)) 12px 0 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.where { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.live-pill[data-pulse="HIGH"] { box-shadow: 0 0 0 3px var(--rec-dim); }
.live-pill[data-pulse="SURGE"] { animation: pp 1.2s var(--ease-out) infinite; }
@keyframes pp { 50% { box-shadow: 0 0 0 6px rgba(255,59,47,.28); } }
.live-pill.replay { background: var(--veil) !important; color: var(--ink); } .live-pill.replay .live-dot { display: none; }
.demo-tag { height: 22px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: var(--r-1); border: 1px solid var(--line-2); font-stretch: 62.5%; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink); background: var(--veil-lo); }
.place { font-stretch: 62.5%; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-shadow: 0 1px 10px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 66vw; }
.creator { font-size: 15px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.watching { font-family: var(--f-stamp); font-weight: 900; font-size: 13px; letter-spacing: .06em; color: var(--stamp); text-shadow: 0 1px 6px rgba(0,0,0,.6); white-space: nowrap; }
.follow { height: 28px; padding: 0 10px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 12.5px; font-weight: 800; letter-spacing: .01em; }
.follow.on { background: var(--veil-lo); border: 1px solid var(--line-2); color: var(--ink); }
.follow.icon { padding: 0 8px; min-width: 32px; background: var(--veil-lo); color: var(--ink); border: 1px solid var(--line-2); }
.follow.icon.on, #h-party.on { background: var(--marker-dim); border-color: var(--marker); color: var(--marker); }
.now { font-size: 13px; color: var(--ink); text-shadow: 0 1px 10px rgba(0,0,0,.65); max-width: 62vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now i { font-style: normal; font-stretch: 62.5%; font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--stamp); margin-right: 6px; text-transform: uppercase; }
.h-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.h-coins { height: 36px; padding: 0 10px; border-radius: var(--r-2); font-family: var(--f-stamp); font-size: 13px; font-weight: 900; letter-spacing: .06em; color: var(--stamp); background: var(--veil); border: 1px solid var(--line); }
.h-explore { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-2); display: grid; place-items: center; background: var(--veil); border: 1px solid var(--line); }
/* Explore mark: a viewfinder square with the live dot */
.portal { width: 18px; height: 18px; border-radius: var(--r-1); border: 2px solid var(--ink); position: relative; }
.portal::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--rec); }

/* ── Mission chip: what is happening now ── */
.mission { position: absolute; left: 12px; right: auto; max-width: calc(100% - 24px); top: calc(108px + var(--safe-t)); z-index: 4; padding: 8px 12px 9px; border-radius: var(--r-2); background: var(--veil); border: 0; border-left: 0; box-shadow: inset 0 0 0 1px var(--stamp-line); display: flex; flex-direction: column; gap: 2px; animation: drop .4s var(--ease-out); }
.mission.done { box-shadow: inset 0 0 0 1px var(--ok); }
.mission.failed { box-shadow: inset 0 0 0 1px var(--line-2); }
.mission.confirm { box-shadow: inset 0 0 0 1px var(--marker); padding-top: 10px; padding-bottom: 10px; }
.m-state { font-stretch: 62.5%; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--stamp); display: flex; align-items: center; gap: 7px; }
.mission.done .m-state { color: var(--ok); }
.m-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.m-text { font-size: 15px; font-weight: 700; line-height: 1.25; }
.m-meta { font-size: 12px !important; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.m-meta .qp { display: flex; flex-wrap: wrap; gap: 4px 10px; width: 100%; }
.m-meta .qp b { font-weight: 500; opacity: .6; } .m-meta .qp b.done { opacity: 1; color: var(--ok); } .m-meta .qp b.now { opacity: 1; font-weight: 800; color: var(--ink); }
.mission .yn { display: flex; gap: 8px; margin-top: 8px; }
.mission .yn button { flex: 1; height: 44px; border-radius: var(--r-2); font-weight: 800; font-size: 14px; background: var(--ink); color: var(--base); }
.mission .yn button[data-confirm="0"] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.m-back { margin-left: 8px; height: 28px; padding: 0 10px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 12px; font-weight: 800; vertical-align: middle; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }

/* ── Quests & requests: the strip above the dock ── */
.requests { position: absolute; left: 12px; right: 12px; bottom: calc(68px + var(--safe-b, 0px)); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: opacity .25s var(--ease-out); }
#stage.qd-on .requests { opacity: 0; pointer-events: none; }
.sect, .decision, .ask { text-shadow: 0 1px 8px rgba(0,0,0,.7); padding: 0 2px 2px; }
.sect { font-stretch: 62.5%; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--stamp); display: flex; justify-content: space-between; align-self: stretch; }
.sect span { color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.decision { font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ask { font-size: 15px; font-weight: 800; }
.ask small { display: block; font-stretch: 62.5%; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--stamp); margin-bottom: 2px; text-transform: uppercase; }
.versus { align-self: center; font-size: 12px; color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.7); } .versus b { color: var(--stamp); font-family: var(--f-stamp); }

/* Quest strip (current overlay) */
.qs { position: relative; align-self: stretch; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 10px 10px 14px 12px; border-radius: var(--r-2); background: var(--veil); border: 0; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; animation: fadein .3s var(--ease-out); }
.qs.ok { box-shadow: inset 0 0 0 1px var(--ok); }
.qs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qs-k { font-stretch: 62.5%; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.qs.ok .qs-k { color: var(--ok); }
.qs-t { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-s { font-size: 12px; color: var(--muted); }
.qs-bar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 4px; background: rgba(243,236,226,.18); }
.qs-bar i { display: block; height: 100%; background: var(--stamp); transition: width .6s steps(6, end); }
.qs .add { flex-shrink: 0; height: 40px; min-width: 0; padding: 0 14px; border-radius: var(--r-2); font-size: 13.5px; font-weight: 800; }
.qs .add.vote { background: var(--ink); color: var(--base); }
.qs .add.done { background: transparent; color: var(--marker); padding: 0 4px; height: auto; }
.qs .qs-buy { flex-shrink: 0; flex-basis: auto; width: auto; height: 40px; margin: 0; padding: 0 12px; border-radius: var(--r-2); background: var(--stamp); color: var(--base); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; order: 3; font-variant-numeric: tabular-nums; }
.qs-more { height: 32px; padding: 0 10px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }

/* Request rows (lists, older overlay states) */
.rq { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background .3s var(--ease-out); }
.rq .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--stamp); transition: width .6s steps(6, end); }
.rq .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rq .ins { font-size: 14.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rq .meta { font-size: 12px; color: var(--muted); }
.meta .inq { color: var(--ok); font-weight: 700; }
.rq .amt { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.rq .amt b { font-family: var(--f-stamp); font-size: 18px; font-weight: 900; color: var(--stamp); }
.rq .amt span { font-stretch: 62.5%; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.rq .add { flex-shrink: 0; height: 40px; min-width: 52px; padding: 0 12px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 13px; font-weight: 800; }
.rq .add.vote { display: inline-flex; align-items: center; gap: 5px; }
.rq .add.vote:disabled { background: var(--marker-dim); color: var(--marker); }
.rq .add.done { background: transparent; color: var(--marker); display: inline-flex; align-items: center; height: auto; min-width: 0; }
.add.fund { background: var(--stamp); color: var(--base); }
.add.done { font-size: 12px; color: var(--muted); align-self: center; padding: 0 6px; }
.rq.hot, .rq.lead { box-shadow: inset 0 0 0 1px var(--stamp-line); }
.rq.lead .ins { font-size: 17px; font-weight: 800; }
.rq.minor { padding-top: 8px; padding-bottom: 8px; } .rq.minor .ins { font-size: 14px; -webkit-line-clamp: 1; }
.rq.small { padding: 7px 10px 7px 12px; } .rq.small .ins { font-size: 13px; -webkit-line-clamp: 1; } .rq.small .amt b { font-size: 14px; } .rq.small .add { height: 36px; min-width: 44px; font-size: 12px; }
.rq.flash-up { animation: glow .9s var(--ease-out); }
@keyframes glow { 0% { background: rgba(255,138,31,.32); } 100% { background: var(--veil); } }
.rq .pos { align-self: flex-start; margin-top: 3px; flex-shrink: 0; font-family: var(--f-stamp); font-size: 12px; font-weight: 900; color: var(--stamp); }
.rq .urgent, .rq .gk { flex-basis: 100%; font-stretch: 62.5%; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; }
.rq .gk { flex-basis: auto; } .rq .gk.ok { color: var(--ok); }
.rq .trend { font-stretch: 62.5%; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); margin-right: 6px; padding: 1px 4px; border-radius: var(--r-1); }
.rq .trend.t-TOP, .rq .trend.t-HOT { background: var(--stamp); color: var(--base); }
.rq .trend.t-RISING { background: var(--ok-dim); color: var(--ok); }
.rq .trend.t-NEW { background: rgba(243,236,226,.14); color: var(--ink); }
.rq .trend.t-IN_PROGRESS { background: var(--ink); color: var(--base); }
.rq .ttl { color: var(--stamp); font-weight: 800; }
.rq .goal { position: relative; height: 18px; border-radius: 0; background: rgba(243,236,226,.14); overflow: hidden; margin: 4px 0 2px; -webkit-mask-image: none; mask-image: none; }
.rq .goal i { position: absolute; inset: 0 auto 0 0; background: var(--stamp-dim); box-shadow: inset -2px 0 0 var(--stamp); }
.rq .goal span { position: relative; font-stretch: 75%; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 0 8px; line-height: 18px; font-variant-numeric: tabular-nums; }
.rq .goal span b { color: var(--ink); }
.rq .qdesc { font-size: 12.5px; color: var(--muted); margin: 2px 0 4px; line-height: 1.35; }
.rq .qspon { font-stretch: 62.5%; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin: 2px 0; }
.rq.opt .letter { width: 24px; height: 24px; border-radius: var(--r-1); box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; font-family: var(--f-stamp); font-size: 12px; font-weight: 900; flex-shrink: 0; }
.rq-more { align-self: flex-start; font-size: 12.5px; color: var(--ink); padding: 6px; }
.float-amt { position: absolute; right: 70px; top: 6px; font-family: var(--f-stamp); font-size: 14px; font-weight: 900; color: var(--stamp); animation: rise 1.2s var(--ease-out) forwards; pointer-events: none; }
@keyframes rise { to { transform: translateY(-26px); opacity: 0; } }
.rq.pulse, .qs.pulse { animation: rq-pulse .65s var(--ease-out); }
@keyframes rq-pulse { 0% { box-shadow: inset 0 0 0 1px var(--stamp), 0 0 0 0 rgba(255,138,31,.5); } 100% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 10px rgba(255,138,31,0); } }

/* Free support burst: a stamp ring and frame chips from the button */
.sup-burst { position: absolute; z-index: 9; width: 0; height: 0; pointer-events: none; }
.sup-burst b { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: var(--r-1); border: 2px solid var(--marker); animation: sb-ring .7s var(--ease-out) forwards; }
.sup-burst i { position: absolute; left: -3px; top: -2px; width: 7px; height: 4px; background: var(--stamp); animation: sb-dot .75s var(--ease-out) forwards; }
.sup-burst i:nth-child(1) { --dx: -22px; --dy: -26px; } .sup-burst i:nth-child(2) { --dx: 0px; --dy: -34px; background: var(--marker); }
.sup-burst i:nth-child(3) { --dx: 22px; --dy: -26px; } .sup-burst i:nth-child(4) { --dx: -30px; --dy: -6px; background: var(--marker); } .sup-burst i:nth-child(5) { --dx: 30px; --dy: -6px; }
@keyframes sb-ring { from { transform: scale(.5) rotate(0); opacity: 1; } to { transform: scale(1.7) rotate(8deg); opacity: 0; } }
@keyframes sb-dot { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

/* ── Quick Decision: the audience circles a frame ── */
.qd { position: absolute; left: 12px; right: 12px; bottom: calc(68px + var(--safe-b, 0px)); z-index: 8; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 10px 12px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--stamp-line); animation: rc-in .3s var(--ease-out); }
.qd > :not(.qd-o) { grid-column: 1 / -1; }
.qd-k { font-stretch: 62.5%; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--stamp); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.qd-q { font-size: 16px; font-weight: 800; line-height: 1.2; }
.qd-t { height: 4px; background: rgba(243,236,226,.16); overflow: hidden; }
.qd-t i { display: block; height: 100%; width: 100%; background: var(--stamp); transform-origin: left; }
.qd-o { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 0 10px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(243,236,226,.06); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-align: left; overflow: visible; }
.qd-o i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--stamp-dim); transition: width .5s var(--ease-out); border-radius: var(--r-2) 0 0 var(--r-2); }
.qd-o span, .qd-o b { position: relative; } .qd-o span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-o b { font-family: var(--f-stamp); font-weight: 900; color: var(--stamp); font-variant-numeric: tabular-nums; }
.qd-o.mine { box-shadow: inset 0 0 0 1px var(--marker); }
.qd-o.mine::after { content: ''; position: absolute; inset: -4px -5px; border: 2px solid var(--marker); border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%; transform: rotate(-1.2deg); pointer-events: none; animation: mark-in .35s var(--ease-out); }
@keyframes mark-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.qd-o.win { box-shadow: inset 0 0 0 2px var(--stamp); } .qd-o.win i { background: rgba(255,138,31,.34); }
.qd-o:disabled { opacity: 1; cursor: default; }
.qd-f { font-size: 12px; color: var(--muted); }
.qd.qd-new { animation: qdIn .5s var(--ease-out); box-shadow: inset 0 0 0 2px var(--stamp), 0 14px 40px rgba(0,0,0,.5); }
.qd.qd-new::before { content: 'NEW QUESTION · VOTE NOW'; position: absolute; left: 10px; top: -11px; padding: 3px 7px; border-radius: var(--r-1); background: var(--stamp); color: var(--base); font: 800 11px/1 var(--f-ui); font-stretch: 62.5%; letter-spacing: .12em; white-space: nowrap; }
@keyframes qdIn { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Chat & reactions ── */
.chatlog { position: absolute; left: 14px; right: 34%; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.3; max-height: 16vh; overflow: hidden; pointer-events: auto; cursor: pointer; -webkit-mask-image: linear-gradient(to top, #000 70%, transparent); mask-image: linear-gradient(to top, #000 70%, transparent); }
#stage.qd-on .chatlog { opacity: 0; transition: opacity .25s var(--ease-out); }
.chatlog .msg { text-shadow: 0 1px 8px rgba(0,0,0,.75); animation: fadein .25s var(--ease-out); }
.chatlog .msg b { font-weight: 700; color: var(--muted); margin-right: 5px; }
.chatlog .msg.sys { color: var(--stamp-hi); font-weight: 600; }
.chatlog .msg.old { opacity: .45; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.reactions { position: absolute; right: 18px; bottom: calc(140px + var(--safe-b, 0px)); width: 60px; height: 50%; pointer-events: none; z-index: 5; }
.reactions span { position: absolute; bottom: 0; font-size: 26px; animation: floatup 2.4s var(--ease-out) forwards; }
@keyframes floatup { to { transform: translateY(-300px) scale(1.2); opacity: 0; } }

/* ── Dock: square controls on film base ── */
.dock { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b, 0px)); display: flex; align-items: center; gap: 6px; }
.dock > button { height: 44px; min-width: 44px; border-radius: var(--r-2); background: var(--veil); border: 0; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; font-weight: 700; }
.dock > button:active { background: var(--base-2); }
.dock .dock-main { flex: 1; white-space: nowrap; padding: 0 16px; gap: 6px; min-width: 0; background: var(--ink); color: var(--base); box-shadow: none; font-weight: 800; }
.dock .dock-main .plus { font-size: 20px; font-weight: 500; margin-top: -2px; flex-shrink: 0; }
.dock .dock-main:disabled { background: rgba(243,236,226,.2); color: var(--muted); }
.dock .dock-povs { padding: 0; width: 44px; justify-content: center; }
.dock-say { flex: 1.1; min-width: 0; height: 44px; display: flex; }
.dock-say input { width: 100%; height: 44px; padding: 0 12px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--veil); color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.dock-say input::placeholder { color: var(--muted); }
.dock-say input:focus { box-shadow: inset 0 0 0 1px var(--stamp-line); background: rgba(14,12,10,.88); }
.dock:has(#d-say-in:focus) .dock-react, .dock:has(#d-say-in:focus) #d-tip { display: none; }
.dock-react { position: relative; flex: none; width: auto; min-width: 0; display: flex; align-items: center; gap: 0; height: 44px; padding: 0 2px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); }
.dock-react button { flex: none; width: 32px; height: 40px; font-size: 17px; line-height: 1; border-radius: var(--r-2); background: transparent; transition: transform .12s var(--ease-out), background .12s; }
.dock-react button:active { transform: scale(.86); background: rgba(243,236,226,.12); }
.dock-react button.pop { animation: rx-pop .35s var(--ease-out); }
@keyframes rx-pop { 40% { transform: scale(1.35); } }
.dock-react .rx-more, .dock-react .rx-extra { display: none !important; }
.react-ico { font-size: 20px; }
#d-tip[hidden] { display: none; }

/* ── Event flash: the camera fires, then the result is stamped ── */
.flash { position: absolute; left: 0; right: 0; top: 34%; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 28px; text-align: center; pointer-events: none; }
.flash::before { content: ''; position: fixed; inset: 0; background: #FFF8EC; opacity: 0; animation: pov-flash .45s var(--ease-out); pointer-events: none; z-index: -1; }
.f-k { font-family: var(--f-stamp); font-size: 14px; font-weight: 900; letter-spacing: .22em; color: var(--stamp); text-shadow: 0 1px 8px rgba(0,0,0,.6); animation: pov-stamp-in .5s var(--ease-out) .12s both; }
.flash.done .f-k { color: var(--ok); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.f-t { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.6); animation: fadein .4s var(--ease-out) .2s both; }
.f-s { font-size: 14px; color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.banner-ev { position: absolute; left: 50%; top: calc(170px + var(--safe-t)); transform: translateX(-50%); z-index: 7; padding: 7px 11px; border-radius: var(--r-1); background: var(--stamp); color: var(--base); font-stretch: 75%; font-size: 13px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; animation: evpop 2.2s var(--ease-out) forwards; pointer-events: none; }
@keyframes evpop { 0% { opacity: 0; transform: translate(-50%, 8px); } 12% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -10px); } }

/* ── Teleport: frame advance between Lives ── */
.teleport { position: absolute; inset: 0; z-index: 9; background: var(--base); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; animation: fadein .12s var(--ease-out); }
.t-ring { width: 72px; height: 44px; border-radius: var(--r-1); border: 2px solid var(--stamp); position: relative; overflow: hidden; }
.t-ring::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--stamp) 0 4px, transparent 4px 12px); opacity: .7; animation: advance .6s steps(3, end) infinite; }
@keyframes advance { to { transform: translateX(12px); } }
.t-place { font-stretch: 62.5%; font-size: 22px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.t-sub { font-size: 12.5px; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Small notices ── */
.toast { position: absolute; left: 50%; top: calc(64px + var(--safe-t)); transform: translateX(-50%); z-index: 30; background: var(--base-1); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0,0,0,.45); border-radius: var(--r-2); padding: 10px 14px; font-size: 13.5px; font-weight: 600; max-width: 86%; text-align: center; animation: fadein .2s var(--ease-out); }
.sound-hint { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 3; padding: 9px 13px; border-radius: var(--r-2); background: var(--veil); font-size: 13.5px; font-weight: 700; pointer-events: none; }
.credit { position: absolute; right: 14px; top: calc(54px + var(--safe-t)); z-index: 3; font-size: 9.5px; line-height: 1.3; color: rgba(243,236,226,.55); max-width: 34%; text-align: right; }
.credit a { color: inherit; }
.notif { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 50; padding: 12px 14px; border-radius: var(--r-2); background: var(--base-1); box-shadow: inset 0 0 0 1px var(--stamp-line), 0 12px 30px rgba(0,0,0,.5); color: var(--ink); display: grid; grid-template-columns: 1fr auto auto; gap: 2px 8px; align-items: center; }
.notif b { grid-column: 1; font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; } .notif span { grid-column: 1; font-size: 14px; }
.notif #n-go { grid-row: 1 / span 2; grid-column: 2; height: 40px; padding: 0 12px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-weight: 800; }
.notif #n-x { grid-row: 1 / span 2; grid-column: 3; width: 36px; height: 40px; background: none; color: var(--ink); font-size: 16px; }
#stage.cam-paused::after { content: attr(data-paused); position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 3; padding: 9px 14px; border-radius: var(--r-2); background: var(--veil); font-size: 14px; font-weight: 700; color: var(--ink); pointer-events: none; }
.creator-paused { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(14,12,10,.7); pointer-events: none; text-align: center; }
.creator-paused[hidden] { display: none; }
.creator-paused b { font-family: var(--f-stamp); font-size: 20px; font-weight: 900; letter-spacing: .14em; color: var(--stamp); }
.creator-paused span { font-size: 14px; color: var(--muted); }

/* ── Sheets: the Live stays visible above ── */
.sheet-wrap { position: absolute; inset: 0; z-index: 20; }
.scrim { position: absolute; inset: 0; background: rgba(8,6,4,.45); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 78%; display: flex; flex-direction: column; background: var(--base-1); border-radius: var(--r-3) var(--r-3) 0 0; box-shadow: 0 -1px 0 var(--line-2), 0 -20px 50px rgba(0,0,0,.45); padding: 8px 18px calc(18px + var(--safe-b, 0px)); 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: 12px; flex-shrink: 0; }
#sheet { overflow-y: auto; margin: 0 -18px; padding: 0 18px; -webkit-overflow-scrolling: touch; }
@keyframes up { from { transform: translateY(100%); } }
.sh-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sh-t { font-family: var(--f-display); font-stretch: 112%; font-size: 21px; font-weight: 900; letter-spacing: -.01em; line-height: 1.08; }
.sh-s { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.x { width: 44px; height: 44px; margin: -6px -10px 0 0; display: grid; place-items: center; flex-shrink: 0; }
.kick { font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; margin: 18px 0 8px; }
textarea.in, input.in { width: 100%; box-sizing: border-box; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--base); color: var(--ink); font: inherit; font-size: 16px; padding: 12px 14px; outline: none; resize: none; }
textarea.in:focus, input.in:focus { box-shadow: inset 0 0 0 1px var(--stamp); }
textarea.in { min-height: 76px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 13px; border-radius: var(--r-2); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 700; }
.chip.on { background: var(--ink); color: var(--base); box-shadow: none; }
.chip:disabled { opacity: .38; }
.cta { width: 100%; height: 52px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 16px; font-weight: 800; margin-top: 16px; letter-spacing: .005em; transition: transform .12s var(--ease-out); }
.cta:active { transform: scale(.985); }
.cta:disabled { opacity: .45; }
.cta.accent { background: var(--stamp); color: var(--base); }
.cta.done { background: var(--ok-dim); color: var(--ok); }
.err { color: var(--bad); font-size: 13.5px; line-height: 1.45; margin-top: 10px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.linkbtn { background: none; border: 0; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.lrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; border-bottom: 1px solid var(--line); text-align: left; }
.lrow .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lrow .t1 { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .t2 { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .r { font-family: var(--f-stamp); font-weight: 900; color: var(--stamp); font-size: 13px; text-align: right; flex-shrink: 0; }
.lrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); flex-shrink: 0; }
.lrow .dot.demo { background: var(--muted); animation: none; }
.lrow.cur { opacity: .5; }
.tag { font-stretch: 62.5%; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-1); padding: 1px 5px; margin-left: 6px; color: var(--ink); vertical-align: 2px; }
.tag.m { box-shadow: inset 0 0 0 1px var(--stamp-line); color: var(--stamp); }
.bal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bal div { padding: 14px; border-radius: var(--r-2); background: var(--base-2); display: flex; flex-direction: column; gap: 3px; }
.bal b { font-family: var(--f-stamp); font-size: 22px; font-weight: 900; color: var(--stamp); }
.bal span { font-size: 12.5px; color: var(--muted); }
.map { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: var(--r-2); background: var(--base); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; margin-top: 4px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pt { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; }
.map .pt i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px var(--rec-dim); }
.map .pt.demo i { background: var(--muted); box-shadow: 0 0 0 4px rgba(243,236,226,.1); }
.amtrow { display: flex; align-items: center; gap: 10px; } .amtrow input { flex: 1; }
.big-amt { font-family: var(--f-stamp); font-size: 36px; font-weight: 900; color: var(--stamp); text-align: center; margin: 6px 0; }
.vis { font-size: 12.5px; margin: 10px 0 2px; color: var(--muted); }
.vis span { font-weight: 800; letter-spacing: .1em; font-size: 11px; }
.vis .v-high { color: var(--ok); } .vis .v-good { color: var(--stamp); } .vis .v-low { color: var(--muted); }
.mine-row { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.mine-row b { color: var(--ink); font-weight: 800; }
.p-send { display: flex; gap: 8px; align-items: center; } .p-send .in { flex: 1; } .p-send .chip { flex-shrink: 0; height: 44px; }
.party { position: absolute; left: 12px; bottom: calc(160px + var(--safe-b, 0px)); z-index: 5; }
.p-chip { height: 32px; padding: 0 10px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); font-stretch: 75%; font-size: 12px; font-weight: 800; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 5px; }
.p-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; } .p-chip i.on { background: var(--ok); }
.react { display: flex; gap: 8px; margin: 12px 0 6px; } .react button { font-size: 22px; width: 44px; height: 44px; border-radius: var(--r-2); background: rgba(243,236,226,.08); }
.p-msgs { font-size: 13.5px; line-height: 1.5; max-height: 140px; overflow-y: auto; margin: 6px 0 10px; color: var(--ink); }
.more-links { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-size: 14px; } .more-links a { color: var(--ink); }
.pay-acct { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--base-1); }
.pay-acct b { display: block; font-size: 15px; } .pay-acct small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.pay-acct.ok { box-shadow: inset 0 0 0 1px var(--ok); } .pay-acct.ok b { color: var(--ok); } .pay-acct.warn { box-shadow: inset 0 0 0 1px var(--stamp-line); }

/* Tip / coins / gifts */
.tip-amts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 4px 0 10px; }
.tip-amts button { height: 64px; border-radius: var(--r-2); background: var(--base-2); box-shadow: inset 0 0 0 1px var(--line); color: inherit; font: inherit; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tip-amts button small { display: block; font-size: 11px; opacity: .65; font-weight: 600; }
.tip-amts button:active { background: var(--stamp); color: var(--base); }
.coin-pks { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.coin-pks button { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 16px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; }
.coin-pks button span { display: flex; flex-direction: column; gap: 2px; } .coin-pks button small { font-size: 12px; color: var(--ok); }
.coin-pks button.rec { box-shadow: inset 0 0 0 2px var(--stamp); background: var(--stamp-dim); } .coin-pks button:disabled { opacity: .45; }
.coin-pks .cp-p { font-weight: 800; font-variant-numeric: tabular-nums; }
.gifts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.gifts button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.gifts button i { font-style: normal; font-size: 26px; } .gifts button b { font-size: 12.5px; font-variant-numeric: tabular-nums; } .gifts button span { font-size: 11px; color: var(--muted); }
.gifts button:disabled { opacity: .45; }
.gift-pop { position: absolute; left: 50%; top: 42%; z-index: 9; font-size: 84px; transform: translate(-50%, -50%) scale(.4); animation: giftPop 1.5s var(--ease-out) forwards; pointer-events: none; }
@keyframes giftPop { 20% { transform: translate(-50%, -50%) scale(1.1); } 70% { transform: translate(-50%, -60%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -80%) scale(.9); opacity: 0; } }

/* ── Recognition banner (paid support) ── */
.recog { position: absolute; left: 12px; z-index: 7; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 96px); padding: 7px 12px 7px 7px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; animation: rc-in .32s var(--ease-out); }
.recog.out { animation: rc-out .26s var(--ease-in) forwards; }
@keyframes rc-in { from { transform: translateX(-16px); opacity: 0; } }
@keyframes rc-out { to { transform: translateX(-10px); opacity: 0; } }
.recog .av { flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--r-1); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: hsl(var(--h, 24) 45% 38%); }
.recog .av.anon { background: rgba(243,236,226,.16); }
.recog .rg { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.recog .r1 { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .recog .r1 b { font-weight: 800; }
.recog .r2 { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recog .ra { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; margin-left: 4px; }
.recog .ra b { font-family: var(--f-stamp); font-size: 14px; font-weight: 900; color: var(--stamp); }
.recog .ra span, .recog .rk { font-stretch: 62.5%; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.recog .rk { color: var(--stamp); }
.recog .r-show { pointer-events: auto; margin-left: 4px; padding: 6px 9px; border-radius: var(--r-2); background: rgba(243,236,226,.14); color: var(--ink); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.recog.r-meaningful { box-shadow: inset 0 0 0 1px var(--stamp-line); padding-top: 9px; padding-bottom: 9px; } .recog.r-meaningful .ra b { font-size: 16px; }
.recog.r-major { box-shadow: inset 0 0 0 2px var(--stamp), 0 10px 30px rgba(0,0,0,.4); padding: 10px 14px 10px 9px; }
.recog.r-major .av { width: 34px; height: 34px; font-size: 15px; } .recog.r-major .r1 { font-size: 14px; } .recog.r-major .ra b { font-size: 18px; }

/* ── Presence picker ── */
.feel { position: absolute; right: 12px; bottom: calc(68px + var(--safe-b, 0px)); z-index: 9; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--r-2); background: var(--base-1); box-shadow: inset 0 0 0 1px var(--line-2); animation: rc-in .2s var(--ease-out); }
.fe-r { display: flex; gap: 4px; }
.fe-r button { width: 44px; height: 44px; border-radius: var(--r-2); font-size: 22px; background: rgba(243,236,226,.06); }
.fe-r button:active { transform: scale(1.15); }

/* ── Sponsored moment: always disclosed, never covering ── */
.spm { position: absolute; left: 12px; right: 12px; bottom: calc(150px + var(--safe-b, 0px)); z-index: 8; padding: 10px 12px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 3px; animation: rc-in .3s var(--ease-out); }
.spm-k { font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; }
.spm-l { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.spm-o { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--ink); }
.spm-o a { flex: none; padding: 9px 12px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-weight: 800; font-size: 13px; text-decoration: none; }
.spm-d { font-stretch: 62.5%; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
#h-ad { position: absolute; left: 12px; right: 12px; bottom: calc(84px + var(--safe-b, 0px)); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 12px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--line); pointer-events: auto; }
#h-ad[hidden] { display: none; }
.adbar .ad-by { font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adbar .ad-cta { flex: none; height: 36px; padding: 0 14px; border-radius: var(--r-2); border: 0; background: var(--ink); color: var(--base); font-weight: 800; font-size: 13px; cursor: pointer; }

/* ── New Quest card: the creator offers something ── */
.newq { position: absolute; inset: 0; z-index: 25; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8,6,4,0); transition: background .25s var(--ease-out); pointer-events: auto; }
.newq[hidden] { display: none; }
.newq.in { background: rgba(8,6,4,.55); }
.nq-card { position: relative; width: 100%; max-width: 360px; padding: 22px 20px 18px; border-radius: var(--r-2); background: var(--base-1); box-shadow: inset 0 0 0 2px var(--stamp), 0 24px 60px rgba(0,0,0,.6); text-align: left; transform: translateY(18px); opacity: 0; transition: transform .4s var(--ease-out), opacity .2s; }
.newq.in .nq-card { transform: none; opacity: 1; }
.nq-k { display: inline-block; padding: 4px 7px; border-radius: var(--r-1); background: var(--stamp); color: var(--base); font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.nq-t { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 26px; line-height: 1.04; margin: 12px 0 8px; text-wrap: balance; }
.nq-s { font-size: 14px; color: var(--muted); }
.nq-go { margin-top: 16px; width: 100%; height: 52px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-weight: 800; font-size: 16px; }
.nq-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.nq-yn button { height: 52px; border-radius: var(--r-2); font-weight: 800; font-size: 16px; background: var(--ink); color: var(--base); }
.nq-yn button[data-cf="0"] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.nq-bar { height: 4px; background: rgba(243,236,226,.14); margin-top: 14px; overflow: hidden; color: var(--stamp); }
.nq-bar i { display: block; height: 100%; background: currentColor; transform-origin: left; animation: nqbar linear forwards; }
@keyframes nqbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ── Format bar ── */
.fbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; pointer-events: none; }
.fbar[hidden] { display: none; }
.fbar > span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: var(--r-1); background: var(--veil); font-size: 12.5px; color: var(--ink); text-transform: none; }
.fbar > span:first-letter { text-transform: uppercase; }
.fbar b { font-family: var(--f-stamp); font-weight: 900; color: var(--stamp); }
.fbar .fb-team.up { box-shadow: inset 0 0 0 1.5px var(--stamp); }
.fbar .fb-vs { background: none !important; padding: 0 2px !important; font-size: 11px; color: var(--muted); }
.fbar .fb-s { color: var(--muted); }
.fbar .fb-t.low b { color: var(--rec); }
.fbar .fb-win { background: var(--stamp); color: var(--base); font-weight: 800; } .fbar .fb-win b { color: var(--base); }

/* ── Explore tiles: contact sheet ── */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 10px 0 6px; }
.tile { position: relative; aspect-ratio: 9 / 13; border-radius: var(--r-1); overflow: hidden; background: var(--base-2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; padding: 0; }
.tile.cur { box-shadow: inset 0 0 0 2px var(--marker); }
.tile video, .tile .t-ph, .tile .t-top, .tile .t-bot { pointer-events: none; }
.tile video, .tile .t-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .t-ph { display: grid; place-items: center; font-family: var(--f-display); font-stretch: 125%; font-size: 40px; font-weight: 900; color: rgba(243,236,226,.2); }
.tile .t-top { position: absolute; left: 6px; right: 6px; top: 6px; display: flex; justify-content: space-between; gap: 6px; }
.tile .t-live, .tile .t-here, .t-red, .t-om { font-family: var(--f-stamp); font-size: 10.5px; font-weight: 900; letter-spacing: .1em; padding: 3px 5px; border-radius: var(--r-1); background: var(--rec); color: var(--base); }
.tile .t-here, .t-rep { background: var(--veil); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 3px 5px; border-radius: var(--r-1); }
.tile .t-v, .tile .t-ago { font-family: var(--f-stamp); font-size: 11px; font-weight: 900; padding: 3px 5px; border-radius: var(--r-1); background: var(--veil); color: var(--stamp); margin-left: auto; white-space: nowrap; }
.tile .t-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 8px 8px; background: linear-gradient(transparent, rgba(8,6,4,.86)); display: flex; flex-direction: column; gap: 2px; }
.tile .t-bot b { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .t-bot span { font-size: 12px; color: var(--ink); opacity: .82; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .t-bot small { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }
.tile.rec video { filter: saturate(.85); }
.tile.att .t-bot b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 14px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.tile.att.live { box-shadow: inset 0 0 0 2px var(--rec); }
.tile.att.live .t-bot span { color: var(--stamp-hi); font-weight: 700; }

/* ── Replays in the feed ── */
.is-replay #dock, .is-replay #requests, .is-replay #chatlog { display: none !important; }
.live-next { position: absolute; left: 12px; right: 12px; bottom: calc(18px + var(--safe-b, 0px)); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-2); border: 0; background: var(--base-1); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 700 14px var(--f-ui); text-align: left; }
.live-next i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); flex: none; }
.live-next span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-next b { flex: none; font-size: 16px; }

/* ── Nobody live: the landing ── */
.empty { position: absolute; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(28px + var(--safe-t)) 20px calc(24px + var(--safe-b)); background: #000 url('/marketing/photos/01-nightlife.jpg') center / cover no-repeat; }
.empty::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,4,.55), rgba(8,6,4,.1) 28%, rgba(8,6,4,.8) 56%, rgba(8,6,4,.96)); }
.empty > * { position: relative; }
.empty .e-top { position: absolute; top: calc(20px + var(--safe-t)); left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; }
.empty .e-logo { position: static; height: 20px; width: auto; }
.empty .e-badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px; border-radius: var(--r-1); background: var(--veil); font-family: var(--f-stamp); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); }
.empty .e-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.empty .e-eyebrow { font-family: var(--f-stamp); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); ; margin-bottom: 12px; }
.empty h1 { font-size: clamp(34px, 10.5vw, 56px); line-height: .9; margin: 0 0 14px; letter-spacing: -.015em; text-transform: uppercase; }
.empty h1 em { font-style: normal; color: var(--stamp); }
.empty .e-sub { font-size: 16px; line-height: 1.45; max-width: 34ch; margin: 0 0 18px; color: var(--ink); }
.empty .e-steps { display: flex; flex-direction: row; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-2); }
.empty .e-steps li { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 11px 12px; font-size: 14px; font-weight: 700; line-height: 1.2; background: var(--veil-lo); }
.empty .e-steps li + li { box-shadow: inset 1px 0 0 var(--line-2); }
.empty .e-steps b { font-family: var(--f-stamp); font-size: 12px; font-weight: 900; color: var(--stamp); }
.empty .e-next { padding: 12px 14px; border-radius: var(--r-2); background: var(--veil); box-shadow: inset 0 0 0 1px var(--stamp-line); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.empty .e-next .k { font-stretch: 62.5%; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--stamp); text-transform: uppercase; }
.empty .e-next .t { font-size: 17px; font-weight: 800; margin-top: 3px; }
.empty .e-next .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.empty .e-cta { display: flex; align-items: center; justify-content: center; gap: 9px; height: 54px; border-radius: var(--r-2); background: var(--ink); color: var(--base); font-size: 16px; font-weight: 800; text-decoration: none; margin-bottom: 10px; }
.empty .e-cta.on { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.empty .e-link { text-align: center; font-size: 14px; color: var(--ink); padding: 8px; }
.empty .e-link a { font-weight: 800; }
.empty .e-rec { margin: 4px 0 12px; } .empty .e-rec .tiles { margin-top: 8px; }

/* Until boot decides (live vs nobody live): the mark, exposing. */
#stage.booting .hud, #stage.booting .shade-top, #stage.booting .shade-bottom { visibility: hidden; }
#stage.booting { background: var(--base); }
#stage.booting::after { content: ''; position: absolute; left: 50%; top: 50%; width: 104px; height: 34px; transform: translate(-50%, -50%); background: url('/brand/pov-logo.svg') center / contain no-repeat; animation: expose 1.4s var(--ease-out) infinite alternate; }
@keyframes expose { from { opacity: .25; filter: blur(3px); } to { opacity: .9; filter: none; } }
@media (prefers-reduced-motion: reduce) { .qd.qd-new, .nq-card, .flash::before { animation: none; transition: none; } }

/* Legibility over bright video: stamps sit on a small film-base plate. */
.watching { padding: 2px 5px; border-radius: var(--r-1); background: var(--veil); }
.shade-top { height: 200px; background: linear-gradient(180deg, rgba(8,6,4,.7), rgba(8,6,4,.25) 60%, rgba(8,6,4,0)); }
.mission { top: calc(124px + var(--safe-t)); }
.f-k { padding: 5px 8px; border-radius: var(--r-1); background: var(--base); }
.flash.done .f-k { background: var(--base); }
.f-s { padding: 4px 8px; border-radius: var(--r-1); background: var(--veil); font-weight: 600; }
.empty .e-eyebrow { display: none; }
.in-creator-app .empty .e-link, .in-creator-app .empty .e-cta { display: none !important; }
.empty .e-badge { display: none !important; }
/* Nobody live: the POV reel plays behind the landing instead of a still photo */
.empty-reel { display: none; z-index: 14 !important; }
#stage:has(#empty:not([hidden])) .empty-reel { display: block; }
.empty { background: transparent !important; animation: none !important; }
.empty::before { background: linear-gradient(180deg, rgba(10,10,11,.2), rgba(10,10,11,0) 30%, rgba(10,10,11,.55) 60%, rgba(10,10,11,.9)) !important; }
/* Instant open: the landing and its POV reel are in the page itself, so they show on the first frame; no logo splash. */
#stage.booting::after { display: none !important; }
#stage.booting .empty-reel { display: block; }
/* Same landing, two audiences: viewers on pov.now, creators inside the creator app */
.for-creator { display: none !important; }
.in-creator-app .for-web { display: none !important; }
.in-creator-app .empty h1.for-creator { display: block !important; }
.in-creator-app .empty .e-sub.for-creator { display: block !important; }
.in-creator-app .empty .e-cta.for-creator { display: flex !important; background: var(--rec) !important; color: #fff !important; }
.in-creator-app .empty .e-cta:not(.for-creator) { display: none !important; }
/* The three steps read as a sequence, not as buttons */
.empty .e-steps { display: flex !important; gap: 0 !important; margin: 0 0 20px !important; padding: 0 !important; list-style: none; box-shadow: none !important; }
.empty .e-steps li { flex: 1; background: none !important; box-shadow: none !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 0 !important; font-size: 14px !important; font-weight: 600; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.empty .e-steps li + li { padding-left: 14px !important; box-shadow: inset 1px 0 0 rgba(255,255,255,.18) !important; margin-left: 14px; }
.empty .e-steps b { display: block !important; font: 900 12px 'Doto', monospace !important; color: var(--rec) !important; letter-spacing: .1em !important; }
.h-explore { color: var(--ink); }
