/* NOVA talk: a 1920x1080 stage scaled to the projector, over a full-window WebGL world.
   Colour encodes who did the work: cyan = NOVA (the AI), amber = Osama (the human). */
:root {
  --ink0: #05080c; --ink1: #0b1118; --ink2: #121a24; --line: rgba(140, 190, 215, .16); --line2: rgba(140, 190, 215, .32);
  --text: #e9f0f4; --dim: #8b9ba8; --nova: #7de3f4; --human: #ffb454; --fear: #ff7a66;
  --paper: #efe5cf; --ink: #1c1610; --ink-dim: #5c5142; --rubric: #9e2b1f;
  --lcd-body: #26292c; --lcd-bg: #a3b392; --lcd-on: #1b2217; --lcd-off: rgba(27, 34, 23, .09);
  --display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Arabic", ui-monospace, monospace;
  --serif: "EB Garamond", "Amiri", Georgia, serif;
  --naskh: "Amiri", "EB Garamond", serif;
  --black: "UnifrakturMaguntia", "EB Garamond", serif;
  --out: cubic-bezier(.23, 1, .32, 1);
  --inout: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink0); color: var(--text); font-family: var(--display); }
body { cursor: default; -webkit-font-smoothing: antialiased; }
body.hide-cursor { cursor: none; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }

/* ---------- stage ---------- */
#stage { position: fixed; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); pointer-events: none; }
#stage > * { pointer-events: none; }
#stage .interactive, #stage .interactive * { pointer-events: auto; }
.view { position: absolute; inset: 0; padding: 150px 150px 170px; display: flex; flex-direction: column; justify-content: center; }
.view.entering > *, .view.entering [style*="--i"] { animation: rise 720ms var(--out) both; animation-delay: calc(var(--i, 0) * 70ms + var(--base, 120ms)); }
.view.leaving { animation: sink 260ms var(--out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sink { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }

/* in the studio, a soft scrim keeps the words readable over the glowing screens */
body[data-world="lab"] .view { isolation: isolate; }
body[data-world="lab"] .view::before { content: ""; position: absolute; inset: -200px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 5, 8, .88) 0%, rgba(3, 5, 8, .62) 38%, rgba(3, 5, 8, 0) 62%); }
body[data-world="lab"] .view[dir="rtl"]::before { background: linear-gradient(270deg, rgba(3, 5, 8, .88) 0%, rgba(3, 5, 8, .62) 38%, rgba(3, 5, 8, 0) 62%); }

/* ---------- type ---------- */
.kicker { font-family: var(--mono); font-size: 24px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); display: flex; gap: 18px; align-items: center; }
.kicker b { color: var(--nova); font-weight: 500; }
[dir="rtl"] .kicker { letter-spacing: .02em; font-family: var(--display); font-size: 26px; }
.t-xxl { font-size: 168px; line-height: 1.02; font-weight: 600; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.t-xl { font-size: 116px; line-height: 1.06; font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.t-l { font-size: 84px; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.t-m { font-size: 60px; line-height: 1.15; font-weight: 500; margin: 0; text-wrap: balance; }
[dir="rtl"] .t-xxl, [dir="rtl"] .t-xl, [dir="rtl"] .t-l { letter-spacing: 0; line-height: 1.3; }
.lede { font-size: 38px; line-height: 1.45; color: var(--dim); margin: 0; max-width: 1180px; }
.meta { font-size: 26px; line-height: 1.5; color: var(--dim); margin: 0; font-variant-numeric: tabular-nums; }
::selection { background: rgba(125, 227, 244, .32); color: var(--text); }
input, textarea { caret-color: var(--nova); }
* { scrollbar-color: rgba(140, 190, 215, .35) transparent; scrollbar-width: thin; }
.nova-c { color: var(--nova); } .human-c { color: var(--human); } .fear-c { color: var(--fear); }
.stack { display: flex; flex-direction: column; gap: 34px; }
.center { align-items: center; text-align: center; }

/* ---------- chips: real numbers ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip { display: inline-flex; align-items: baseline; gap: 12px; padding: 14px 22px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(8, 13, 19, .82); font-size: 28px; color: var(--text); }
.chip strong { font-family: var(--mono); font-weight: 500; color: var(--nova); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.chip.h strong { color: var(--human); }

/* ---------- who did what ---------- */
.duo { display: grid; gap: 18px; font-size: 32px; line-height: 1.4; }
.duo div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline; }
.duo span:first-child { font-family: var(--mono); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; padding-top: 6px; }
[dir="rtl"] .duo span:first-child { letter-spacing: 0; font-family: var(--display); font-size: 26px; }
.duo .ai span:first-child { color: var(--nova); }
.duo .me span:first-child { color: var(--human); }

/* ---------- split layout: words + the real thing ---------- */
.split { display: grid; grid-template-columns: 640px 1fr; gap: 80px; align-items: center; height: 100%; }
.split.wide-media { grid-template-columns: 560px 1fr; }
.split > .words { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.split > .media { display: flex; justify-content: center; align-items: center; min-width: 0; height: 100%; }

/* ---------- frames ---------- */
.frame { position: relative; border-radius: 18px; background: #070b10; box-shadow: 0 0 0 1px var(--line2), 0 30px 120px rgba(0, 0, 0, .55), 0 0 80px rgba(125, 227, 244, .08); overflow: hidden; }
.frame.browser { width: 1000px; height: 650px; display: flex; flex-direction: column; }
.frame.browser .bar { height: 46px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: #0e151d; border-bottom: 1px solid var(--line); }
.frame.browser .bar i { width: 12px; height: 12px; border-radius: 50%; background: #2a3440; }
.frame.browser .bar span { margin-inline-start: 16px; flex: 1; height: 28px; border-radius: 8px; background: #070b10; color: var(--dim); font: 17px var(--mono); display: flex; align-items: center; padding: 0 14px; direction: ltr; }
.frame.browser iframe, .frame.browser img { flex: 1; width: 100%; border: 0; background: #fff; display: block; object-fit: cover; object-position: top; }
.frame.monitor { width: 1040px; aspect-ratio: 16 / 9; }
.frame.monitor video, .frame.monitor img, .frame.monitor iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.phones { display: flex; gap: 46px; align-items: center; justify-content: center; }
.frame.phone { width: 340px; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 12px; background: #0a0e13; box-shadow: 0 0 0 2px #1e2833, 0 30px 100px rgba(0, 0, 0, .6), 0 0 60px rgba(125, 227, 244, .1); }
.frame.phone.lg { width: 400px; }
.frame.phone > * { width: 100%; height: 100%; border-radius: 35px; object-fit: cover; display: block; background: #000; }
.frame.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.frame.watch { width: 220px; aspect-ratio: 41 / 49; border-radius: 52px; padding: 14px; background: #0a0e13; box-shadow: 0 0 0 2px #1e2833, 0 24px 80px rgba(0, 0, 0, .6); }
.frame.watch > * { width: 100%; height: 100%; border-radius: 40px; object-fit: cover; display: block; background: #000; }
.media-missing { display: none !important; }

/* ---------- sequences (only where order matters) ---------- */
.seq { display: grid; gap: 22px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.seq li { display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: baseline; font-size: 36px; line-height: 1.35; counter-increment: s; }
.seq li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 26px; color: var(--nova); }
.seq li small { display: block; grid-column: 2; font-size: 26px; color: var(--dim); margin-top: -12px; }
.seq.human li::before { color: var(--human); }

/* ---------- hex panel (reverse engineering) ---------- */
.hex { font-family: var(--mono); font-size: 25px; line-height: 1.55; color: var(--dim); background: rgba(5, 9, 13, .82); border: 1px solid var(--line2); border-radius: 16px; padding: 28px 34px; direction: ltr; text-align: left; white-space: pre; width: 1000px; overflow: hidden; }
.hex .o { color: #4b5a66; } .hex .k { color: var(--nova); } .hex .h { color: var(--human); }

/* ---------- live poll ---------- */
.poll { display: grid; gap: 30px; width: 1300px; }
.pbar { display: grid; grid-template-columns: 330px 1fr 150px; gap: 28px; align-items: center; font-size: 40px; }
.pbar .track { height: 30px; border-radius: 16px; background: rgba(140, 190, 215, .1); overflow: hidden; }
.pbar .fill { height: 100%; width: 0; border-radius: 16px; background: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 60%, transparent); transition: width 900ms var(--out); }
.pbar .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: end; }
.pbar[data-c="yes"] { --c: var(--nova); } .pbar[data-c="partly"] { --c: #9aa7b3; } .pbar[data-c="no"] { --c: var(--human); }
/* poll countdown */
.countdown { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cd-label { font: 500 28px var(--display); color: var(--nova); letter-spacing: .03em; }
.countdown b { font: 600 132px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); transition: color 300ms; }
.countdown.last b { color: var(--human); }
.countdown.done b { font: 600 60px/1.2 var(--display); color: var(--dim); }
.cd-track { width: 560px; height: 6px; border-radius: 3px; background: rgba(140, 190, 215, .12); overflow: hidden; }
.cd-track i { display: block; height: 100%; background: var(--nova); transform-origin: left; transition: transform 250ms linear; }
[dir="rtl"] .cd-track i { transform-origin: right; }
.countdown.last .cd-track i { background: var(--human); }
.countdown.done .cd-track { visibility: hidden; height: 0; }
.poll.sealed .fill { width: 0 !important; }
.poll.sealed .num { font-size: 0; }
.poll.sealed .num::after { content: "?"; font-size: 40px; color: var(--dim); }
.poll-meta { font-family: var(--mono); font-size: 24px; color: var(--dim); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; width: 1560px; }
.compare .poll { width: auto; }
.compare .pbar { grid-template-columns: 230px 1fr 120px; font-size: 32px; }
.offline-note { font-size: 30px; color: var(--dim); }

/* ---------- QR ---------- */
.qr { background: #f4f7f8; border-radius: 22px; padding: 22px; display: grid; gap: 14px; justify-items: center; color: #0b1116; box-shadow: 0 0 0 1px var(--line2), 0 0 90px rgba(125, 227, 244, .18); }
.qr svg { display: block; width: 100%; height: auto; }
.qr span { font: 500 22px var(--mono); letter-spacing: .02em; direction: ltr; }
.lobby { display: grid; grid-template-columns: 1fr 440px; gap: 110px; align-items: center; height: 100%; }
.lobby .qr { width: 440px; }
.people { font-family: var(--mono); font-size: 30px; color: var(--nova); font-variant-numeric: tabular-nums; display: flex; gap: 14px; align-items: center; }
.people::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--nova); box-shadow: 0 0 16px var(--nova); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- boot terminal ---------- */
.terminal { font-family: var(--mono); font-size: 28px; line-height: 1.7; color: var(--dim); direction: ltr; text-align: left; width: 980px; }
.terminal .ok { color: var(--nova); }
.terminal p { margin: 0; opacity: 0; animation: type-in 10ms linear forwards; animation-delay: calc(var(--d) * 1ms); }
@keyframes type-in { to { opacity: 1; } }

/* ---------- fears ---------- */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .55; mix-blend-mode: screen; }
.glitch::before { color: var(--fear); transform: translate(4px, 0); clip-path: inset(0 0 55% 0); animation: jitter 2.4s steps(2) infinite; }
.glitch::after { color: var(--nova); transform: translate(-4px, 0); clip-path: inset(55% 0 0 0); animation: jitter 3.1s steps(2) infinite reverse; }
@keyframes jitter { 0%, 92% { transform: translate(0, 0); } 94% { transform: translate(6px, -2px); } 97% { transform: translate(-5px, 2px); } }

/* ---------- paper world (1450 / 1727) ---------- */
body[data-world="paper"] { --text: var(--ink); --dim: var(--ink-dim); --line: rgba(28, 22, 16, .18); --line2: rgba(28, 22, 16, .3); }
.paper-year { font-family: var(--black); font-size: 230px; line-height: .9; color: var(--ink); margin: 0; }
.paper-year .rub { color: var(--rubric); }
.paper-year.naskh { font-family: var(--naskh); font-weight: 700; font-size: 210px; }
.paper-place { font-family: var(--serif); font-style: italic; font-size: 46px; color: var(--ink-dim); margin: 0; }
[dir="rtl"] .paper-place { font-family: var(--naskh); font-style: normal; }
.paper-text { font-family: var(--serif); font-size: 44px; line-height: 1.45; color: var(--ink); max-width: 1080px; margin: 0; }
[dir="rtl"] .paper-text { font-family: var(--naskh); font-size: 48px; line-height: 1.7; }
.paper-text .rub { color: var(--rubric); }
.paper-note { font-family: var(--serif); font-size: 28px; color: var(--ink-dim); margin: 0; }
[dir="rtl"] .paper-note { font-family: var(--naskh); font-size: 30px; }
.timeline { position: relative; width: 1580px; height: 230px; direction: ltr; margin-top: 10px; }
.timeline .rule { position: absolute; left: 0; right: 0; top: 120px; height: 3px; background: var(--ink); transform-origin: left; animation: draw 2.4s var(--inout) both .3s; }
@keyframes draw { from { transform: scaleX(0); } }
.timeline .tick { position: absolute; top: 108px; width: 2px; height: 26px; background: var(--ink); opacity: .45; }
.timeline .end { position: absolute; top: 0; display: grid; gap: 6px; transform: translateX(-50%); text-align: center; }
.timeline .end b { font-family: var(--serif); font-size: 60px; font-weight: 500; color: var(--ink); }
.timeline .end span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink-dim); }
.timeline .gap { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); font-family: var(--serif); font-size: 58px; color: var(--rubric); white-space: nowrap; }
.timeline .gap small { font-size: 32px; color: var(--ink-dim); }

/* printed plates on the paper: old prints pinned beside the text */
.plates-row { display: flex; align-items: center; justify-content: center; gap: 70px; height: 100%; padding-top: 260px; }
.plate { margin: 0; background: #f7f1e3; padding: 14px; box-shadow: 0 22px 44px rgba(28, 22, 16, .28), 0 0 0 1px rgba(28, 22, 16, .22); width: 380px; flex: none; }
.plate img { display: block; width: 100%; height: 420px; object-fit: cover; filter: sepia(.18) contrast(1.03); }
.plate.tilt-l { rotate: -2deg; } .plate.tilt-r { rotate: 1.6deg; }
.plate.book { position: absolute; inset-inline-end: 170px; top: 120px; width: 210px; }
.plate.book img { height: 290px; object-fit: contain; background: #efe6d1; }

/* ---------- LCD world (1986) ---------- */
.calc-row { display: flex; align-items: center; justify-content: center; gap: 90px; height: 100%; }
.calc-photo { width: 360px; height: 640px; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .55); }
.calc { display: grid; gap: 40px; justify-items: center; }
.lcd { background: linear-gradient(180deg, #aebd9c, var(--lcd-bg)); border-radius: 14px; padding: 34px 46px; box-shadow: inset 0 6px 18px rgba(0, 0, 0, .35), 0 0 0 14px #1b1d1f, 0 0 0 16px #3a3e42, 0 40px 90px rgba(0, 0, 0, .5); direction: ltr; display: flex; gap: 22px; align-items: flex-end; }
.lcd svg { height: 160px; width: auto; display: block; }
.lcd .seg { fill: var(--lcd-off); }
.lcd .seg.on { fill: var(--lcd-on); }
.lcd-line { font-family: var(--mono); font-size: 40px; line-height: 1.5; color: #c9d5bd; text-align: center; max-width: 1400px; margin: 0; }
[dir="rtl"] .lcd-line { font-family: var(--display); }
.lcd-line em { font-style: normal; color: #eaf3df; }
.lcd-text { background: linear-gradient(180deg, #aebd9c, var(--lcd-bg)); border-radius: 10px; padding: 22px 54px; box-shadow: inset 0 4px 12px rgba(0, 0, 0, .35), 0 0 0 10px #1b1d1f, 0 0 0 12px #3a3e42; direction: ltr; font-family: var(--mono); font-weight: 600; font-size: 56px; letter-spacing: .08em; color: var(--lcd-on); white-space: nowrap; }
.lcd-scroll { width: 1100px; overflow: hidden; background: var(--lcd-bg); border-radius: 10px; padding: 18px 0; box-shadow: inset 0 4px 12px rgba(0, 0, 0, .35); direction: ltr; }
.lcd-scroll span { display: inline-block; white-space: nowrap; padding-left: 100%; font-family: var(--mono); font-weight: 600; font-size: 46px; color: var(--lcd-on); animation: marquee 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- lab labels (projected from 3D) ---------- */
#labels { position: fixed; inset: 0; pointer-events: none; }
.plabel { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; font-family: var(--mono); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); text-align: center; opacity: 0; transition: opacity 500ms var(--out), color 400ms ease; }
.plabel b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 500; margin-top: 4px; }
.plabel.on { opacity: 1; }
.plabel.active { color: var(--nova); }

/* ---------- diagram: Claude <-> MCP <-> Unity ---------- */
.diagram { width: 1060px; height: 560px; }
.diagram .node rect { fill: rgba(10, 16, 24, .85); stroke: var(--line2); stroke-width: 2; }
.diagram .node text { fill: var(--text); font: 600 32px var(--display); }
.diagram .node .sub { fill: var(--dim); font: 400 21px var(--mono); }
.diagram .wire { fill: none; stroke: rgba(125, 227, 244, .35); stroke-width: 3; stroke-dasharray: 10 12; animation: flow 1.2s linear infinite; }
.diagram .wire.back { stroke: rgba(255, 180, 84, .4); animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -44; } }
.diagram .pulse { fill: var(--nova); filter: drop-shadow(0 0 10px var(--nova)); }

/* ---------- chrome: status bar, progress, caption, small QR ---------- */
#chrome { position: fixed; inset: 0; pointer-events: none; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 64px; padding: 0 max(36px, 2.2vw); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-family: var(--mono); font-size: clamp(12px, .85vw, 17px); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color 600ms ease, opacity 400ms ease; }
.status .mark { color: var(--text); font-weight: 600; letter-spacing: .3em; }
.status .mark b { color: var(--nova); font-weight: 600; }
.status .mid { text-align: center; }
.status .right { display: flex; justify-content: flex-end; gap: 26px; align-items: center; }
.status .live { display: inline-flex; align-items: center; gap: 9px; }
.status .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status .live.on::before { background: var(--nova); box-shadow: 0 0 10px var(--nova); }
.status .live.rehearsal::before { background: var(--human); box-shadow: 0 0 10px var(--human); }
.progress { position: absolute; left: max(36px, 2.2vw); right: max(36px, 2.2vw); bottom: 26px; display: flex; gap: 8px; height: 3px; }
.progress i { flex: var(--w, 1); background: rgba(140, 190, 215, .18); border-radius: 2px; position: relative; overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--nova); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 600ms var(--out); }
[dir="rtl"] .progress i::after { transform-origin: right; }
.caption { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); width: min(1500px, 82vw); display: flex; gap: 18px; align-items: baseline; justify-content: center; font-size: clamp(18px, 1.55vw, 31px); line-height: 1.45; color: var(--text); opacity: 0; transition: opacity 450ms var(--out); text-align: center; text-wrap: balance; }
.caption.on { opacity: 1; }
.caption .who { font-family: var(--mono); font-size: .62em; letter-spacing: .24em; color: var(--nova); flex: none; }
.caption .txt::after { content: ""; display: inline-block; width: .5em; height: 1em; vertical-align: -.12em; background: var(--nova); margin-inline-start: 6px; animation: blink 1s steps(1) infinite; }
.caption.done .txt::after { display: none; }
body[data-world="paper"] .caption .txt::after { background: var(--rubric); }
.corner-qr { position: absolute; bottom: 48px; inset-inline-end: max(36px, 2.2vw); width: clamp(90px, 6.5vw, 128px); padding: 8px; border-radius: 12px; background: #f4f7f8; opacity: 0; transition: opacity 500ms var(--out); }
.corner-qr.on { opacity: .92; }
.corner-qr svg { display: block; width: 100%; height: auto; }
body[data-world="paper"] .status, body[data-world="paper"] .caption { color: var(--ink); }
body[data-world="paper"] .status .mark b, body[data-world="paper"] .caption .who { color: var(--rubric); }
body[data-world="paper"] .progress i { background: rgba(28, 22, 16, .15); }
body[data-world="paper"] .progress i::after { background: var(--rubric); }
body[data-world="paper"] .caption { font-family: var(--serif); }
body[data-world="lcd"] .caption .who, body[data-world="lcd"] .status .mark b { color: #c9d5bd; }
body[data-world="fear"] .caption .who, body[data-world="fear"] .status .mark b { color: var(--fear); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(3, 5, 8, .86); backdrop-filter: blur(10px); z-index: 20; opacity: 0; pointer-events: none; transition: opacity 260ms var(--out); }
.overlay.on { opacity: 1; pointer-events: auto; }
#blank { background: #000; backdrop-filter: none; z-index: 40; transition-duration: 400ms; }
.panel { width: min(960px, 90vw); max-height: 86vh; overflow: auto; background: var(--ink1); border: 1px solid var(--line2); border-radius: 18px; padding: 34px 38px; display: grid; gap: 18px; font-size: 18px; }
.panel h2 { margin: 0; font-size: 26px; font-weight: 600; }
.panel p { margin: 0; color: var(--dim); line-height: 1.5; }
.panel label { display: grid; gap: 8px; font-size: 15px; color: var(--dim); }
.panel input { font: 17px var(--mono); color: var(--text); background: var(--ink0); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; }
.panel input:focus-visible, .panel button:focus-visible { outline: 2px solid var(--nova); outline-offset: 2px; }
.panel .row { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.panel button { font: 600 16px var(--display); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; background: var(--ink2); color: var(--text); }
.panel button.primary { background: var(--nova); color: #041014; }
.keys { display: grid; grid-template-columns: 170px 1fr; gap: 10px 22px; font-size: 17px; }
.keys kbd { font: 500 15px var(--mono); color: var(--nova); }
.timer { position: fixed; top: 76px; inset-inline-end: 36px; font: 500 26px var(--mono); color: var(--human); background: rgba(5, 8, 12, .8); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 16px; display: none; z-index: 15; font-variant-numeric: tabular-nums; }
.timer.on { display: block; }
.flash { position: fixed; top: 80px; left: 50%; transform: translate(-50%, -8px); font: 500 16px var(--mono); letter-spacing: .08em; color: var(--text); background: rgba(5, 8, 12, .85); border: 1px solid var(--line2); border-radius: 999px; padding: 10px 18px; opacity: 0; transition: opacity 200ms var(--out), transform 200ms var(--out); z-index: 30; pointer-events: none; }
.flash.on { opacity: 1; transform: translate(-50%, 0); }
.panel #chapterJump button { font-weight: 500; }

/* ---------- Q&A ---------- */
.qa { display: grid; gap: 18px; width: 1500px; }
.qa-item { display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: center; padding: 22px 28px; border-radius: 16px; background: rgba(10, 16, 24, .72); border: 1px solid var(--line); font-size: 36px; line-height: 1.35; }
.qa-item b { font-family: var(--mono); font-weight: 500; color: var(--human); font-size: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.qa-item.done { opacity: .38; }
.qa-item.top { border-color: color-mix(in srgb, var(--human) 55%, transparent); box-shadow: 0 0 50px rgba(255, 180, 84, .12); }
.qa-empty { font-size: 36px; color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
body.test *, body.test *::before, body.test *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }

/* 3D design: three views of one sculpture */
.views3d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.views3d figure { margin: 0; border-radius: 18px; overflow: hidden; background: #070b10; box-shadow: 0 0 0 1px var(--line2), 0 30px 90px rgba(0, 0, 0, .5); }
.views3d img { display: block; width: 100%; height: auto; }
/* the boot terminal sits over NOVA's sphere: give it a dark backing so it stays readable */
.terminal { background: rgba(4, 7, 11, .78); border: 1px solid var(--line); border-radius: 14px; padding: 22px 28px; }

/* QR card: the code always fits its card, and the long address wraps instead of spilling */
.qr { width: 360px; max-width: 100%; }
.lobby .qr { width: 440px; }
.qr [data-qr-svg] { width: 100%; }
.qr [data-qr-svg] svg { width: 100%; height: auto; }
.qr span[data-join-url] { font-size: 17px; word-break: break-all; text-align: center; line-height: 1.35; }

/* 1986 picket signs: the slogans Education Week reported (16 April 1986) */
.signs { display: flex; gap: 28px; justify-content: center; margin-top: 10px; direction: ltr; }
.sign { display: grid; justify-items: center; }
.sign b { background: #f3f0e6; color: #1b1d1f; font: 700 26px var(--mono); padding: 18px 22px; border-radius: 6px; max-width: 360px; text-align: center; line-height: 1.25; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); rotate: -2deg; }
.sign:nth-child(2) b { rotate: 2.5deg; }
.sign i { width: 10px; height: 70px; background: linear-gradient(#8a6a46, #5d452c); }

/* generated images: always shown with a visible "generated" badge */
.gen-pair { display: flex; gap: 46px; justify-content: center; }
.gen { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px rgba(0, 0, 0, .55); }
.gen img { display: block; height: 520px; width: auto; }
.gen span { position: absolute; top: 16px; inset-inline-start: 16px; background: rgba(5, 8, 12, .85); color: var(--human); font: 600 22px var(--display); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 180, 84, .5); }
.gen.media-missing, .frame.media-missing { display: none !important; }

/* a compact list when a step has many items, so nothing runs under the progress bar */
.seq.compact { gap: 14px; }
.seq.compact li { font-size: 30px; grid-template-columns: 60px 1fr; }
.seq.compact li small { font-size: 22px; margin-top: -6px; }
/* a licence credit that must stay with its image (CC BY-SA) */
.credit-fig { margin: 0; display: grid; gap: 10px; }
.credit-fig figcaption { font: 16px var(--mono); color: var(--dim); text-align: end; direction: ltr; }

/* ---------- NOVA answers the audience (three live slides) ----------
   NOVA's particle body sits on the left (gl pose 'answer'); the question arrives
   as a message from the phones; beams of light run from NOVA to each idea. */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.answer { position: absolute; inset: 0; direction: rtl; }
.answer .reveal { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(10px); transition: opacity 800ms var(--out), transform 800ms var(--out), filter 800ms var(--out); }
.answer .reveal.on { opacity: 1; transform: none; filter: none; }

/* NOVA's "port": a soft ring behind the particles where the beams start */
.ans-port { position: absolute; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(125, 227, 244, .16), rgba(125, 227, 244, .05) 55%, transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(125, 227, 244, .10); animation: port 5s ease-in-out infinite; }
.ans-port::before, .ans-port::after { content: ""; position: absolute; inset: 38px; border-radius: 50%; border: 1px dashed rgba(125, 227, 244, .22); animation: orbit 28s linear infinite; }
.ans-port::after { inset: 96px; border-style: solid; border-color: rgba(255, 180, 84, .16) transparent; animation-duration: 14s; animation-direction: reverse; }
@keyframes port { 50% { transform: scale(1.04); } }
@keyframes orbit { to { transform: rotate(360deg); } }

/* the question: a message that flew in from the audience's phones */
.ans-bubble { position: absolute; top: 112px; right: 150px; width: 1010px; padding: 26px 34px 30px; border-radius: 30px 30px 8px 30px;
  background: linear-gradient(160deg, rgba(20, 31, 42, .92), rgba(10, 16, 23, .88)); box-shadow: inset 0 0 0 1px var(--line2), 0 40px 90px rgba(0, 0, 0, .45);
  overflow: hidden; animation: fly-in 1000ms var(--out) both; }
.ans-bubble p { margin: 14px 0 0; font: 600 46px/1.35 var(--display); color: var(--text); text-align: right; unicode-bidi: plaintext; text-wrap: balance; }
.ans-scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(125, 227, 244, .22) 45%, rgba(125, 227, 244, .5) 50%, transparent 56%); transform: translateX(110%); animation: scan-x 1.6s var(--inout) 900ms both; }
@keyframes fly-in { from { opacity: 0; transform: translateY(160px) scale(.86) rotate(-1.5deg); filter: blur(12px); } }
@keyframes scan-x { to { transform: translateX(-110%); } }
.ans-from { display: flex; align-items: center; gap: 14px; font: 500 22px var(--mono); color: var(--nova); letter-spacing: .05em; }
.ans-from > i { width: 12px; height: 12px; border-radius: 50%; background: var(--nova); box-shadow: 0 0 16px var(--nova); animation: blink 1.6s infinite; }
.ans-from b { margin-inline-start: auto; color: var(--human); font-weight: 600; font-variant-numeric: tabular-nums; padding: 4px 14px; border-radius: 999px; background: rgba(255, 180, 84, .12); box-shadow: inset 0 0 0 1px rgba(255, 180, 84, .35); }

/* NOVA's answer, on the right */
.ans-main { position: absolute; top: 400px; right: 150px; width: 1010px; bottom: 150px; display: flex; flex-direction: column; gap: 30px; }
.ans-title { margin: 0; font: 700 50px/1.25 var(--display); }
.ans-title span { background: linear-gradient(90deg, var(--human), #ffd9a0 40%, var(--nova) 60%, var(--human)); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -250% 0; } }
.ans-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }

/* glass with a moving light on its edge */
.ans-card, .ans-col, .ans-num { position: relative; border-radius: 22px; background: rgba(10, 16, 23, .78); isolation: isolate; }
.ans-card::before, .ans-col::before, .ans-num::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--spin), rgba(125, 227, 244, .15), rgba(125, 227, 244, .9), rgba(255, 180, 84, .7), rgba(125, 227, 244, .15) 40%, rgba(125, 227, 244, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }

.ans-cards { display: flex; flex-direction: column; gap: 22px; }
.ans-card { display: flex; align-items: center; gap: 26px; padding: 24px 32px; font: 500 34px/1.4 var(--display); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ans-card i { font: 600 26px var(--mono); font-style: normal; color: var(--nova); text-shadow: 0 0 18px rgba(125, 227, 244, .7); }

.ans-steps { list-style: none; margin: 0; padding: 0 70px 0 0; position: relative; display: flex; flex-direction: column; gap: 30px; }
.ans-steps::before { content: ""; position: absolute; right: 25px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px;
  background: linear-gradient(var(--nova), var(--human)); box-shadow: 0 0 18px rgba(125, 227, 244, .5); transform-origin: top; animation: grow 3.2s var(--out) 600ms both; }
.ans-steps::after { content: ""; position: absolute; right: 21px; top: 0; width: 11px; height: 40px; border-radius: 6px; background: #fff; box-shadow: 0 0 22px var(--nova); animation: flow-down 2.4s ease-in-out 1.2s infinite; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes flow-down { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(420px); opacity: 0; } }
.ans-steps li { position: relative; font: 500 34px/1.4 var(--display); color: var(--text); }
.ans-steps li i { position: absolute; right: -70px; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; display: grid; place-items: center;
  font: 600 24px var(--mono); font-style: normal; color: var(--ink0); background: var(--nova); box-shadow: 0 0 0 8px rgba(125, 227, 244, .14), 0 0 34px rgba(125, 227, 244, .6); }

.ans-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ans-col { padding: 32px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ans-col h4 { margin: 0 0 18px; font: 700 36px var(--display); }
.ans-col.a h4 { color: var(--nova); } .ans-col.b h4 { color: var(--human); }
.ans-col ul { margin: 0; padding-inline-start: 26px; display: grid; gap: 14px; font: 500 30px/1.4 var(--display); color: var(--text); }
.answer .ans-col.a.reveal:not(.on) { transform: translateX(60px); } .answer .ans-col.b.reveal:not(.on) { transform: translateX(-60px); }

.ans-num { display: flex; align-items: center; gap: 44px; padding: 34px 44px; align-self: flex-start; }
.ans-num b { font: 600 150px/1 var(--mono); color: var(--nova); text-shadow: 0 0 50px rgba(125, 227, 244, .5); font-variant-numeric: tabular-nums; direction: ltr; }
.ans-num span { font: 500 34px/1.35 var(--display); color: var(--text); max-width: 520px; }
.ans-chips { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.ans-chips span { padding: 14px 24px; border-radius: 999px; font: 500 28px var(--display); color: var(--text); background: rgba(125, 227, 244, .08); box-shadow: inset 0 0 0 1px rgba(125, 227, 244, .3); }

.ans-quote { margin: 0; position: relative; padding: 10px 70px 0 0; font: 600 62px/1.4 var(--display); text-wrap: balance; }
.ans-quote::before { content: "”"; position: absolute; right: -10px; top: -60px; font: 400 200px/1 var(--serif); color: var(--human); opacity: .5; }
.ans-quote .w { color: rgba(233, 240, 244, .22); transition: color 500ms var(--out), text-shadow 500ms var(--out); }
.ans-quote .w.lit { color: var(--text); text-shadow: 0 0 28px rgba(125, 227, 244, .35); }

/* the beams */
.ans-beams { position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: visible; pointer-events: none; }
.ans-beams .beam { fill: none; stroke: url(#beamGrad); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(125, 227, 244, .8)); transition: stroke-dashoffset 1100ms var(--out); }
.ans-beams .pulse { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: .05 1; stroke-dashoffset: .05; opacity: 0; filter: drop-shadow(0 0 8px #7de3f4); }
.ans-beams .tip { fill: var(--nova); opacity: 0; filter: drop-shadow(0 0 10px #7de3f4); transition: opacity 400ms 900ms; }
.ans-beams g.on .beam { stroke-dashoffset: 0; }
.ans-beams g.on .pulse { opacity: 1; animation: pulse-run 2.6s cubic-bezier(.45, 0, .55, 1) 1.1s infinite; }
.ans-beams g.on .tip { opacity: 1; }
@keyframes pulse-run { from { stroke-dashoffset: .05; } to { stroke-dashoffset: -1; } }

.ans-progress { position: absolute; right: 150px; width: 1010px; bottom: 112px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ans-progress i { display: block; height: 100%; background: linear-gradient(270deg, var(--nova), var(--human)); transform: scaleX(0); transform-origin: right; transition: transform 120ms linear; box-shadow: 0 0 12px var(--nova); }

/* while NOVA picks the questions */
.ans-wait { position: absolute; top: 150px; right: 150px; width: 1060px; bottom: 150px; display: flex; flex-direction: column; gap: 34px; justify-content: center; }
.ans-wait-title { margin: 0; font: 600 56px/1.3 var(--display); color: var(--text); text-wrap: balance; }
.ans-wait .dots { display: inline-flex; gap: 8px; }
.ans-wait .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--nova); animation: blink 1.1s infinite; }
.ans-wait .dots i:nth-child(2) { animation-delay: .18s; } .ans-wait .dots i:nth-child(3) { animation-delay: .36s; }
.ans-cloud { display: flex; flex-direction: column; gap: 16px; }
.ans-chip { align-self: flex-start; display: flex; gap: 18px; align-items: baseline; max-width: 100%; padding: 16px 26px; border-radius: 22px 22px 6px 22px;
  background: rgba(11, 17, 24, .78); box-shadow: inset 0 0 0 1px var(--line); font: 500 30px/1.4 var(--display); color: var(--dim);
  animation: fly-in 900ms var(--out) calc(200ms + var(--k) * 160ms) both, read 3s ease-in-out calc(1.4s + var(--k) * .6s) infinite; }
.ans-chip:nth-child(even) { margin-inline-start: 90px; }
.ans-chip b { color: var(--human); font: 600 22px var(--mono); white-space: nowrap; }
@keyframes read { 0%, 70%, 100% { color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); } 35% { color: var(--text); box-shadow: inset 0 0 0 1px rgba(125, 227, 244, .6), 0 0 30px rgba(125, 227, 244, .18); } }
body.test .answer .reveal, body.test .ans-beams .beam { transition: none; }

/* ---------- the Mizan site: desktop width in a glass window ---------- */
.split.mizan { grid-template-columns: 520px 1fr; gap: 64px; }
.frame.browser.desk { width: 1120px; height: 720px; border-radius: 22px; background: rgba(12, 18, 24, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 130px rgba(0, 0, 0, .6), 0 0 110px rgba(70, 190, 130, .14); }
.frame.browser.desk .bar { height: 52px; background: linear-gradient(180deg, #1b232d, #121920); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.frame.browser.desk .bar i:nth-child(1) { background: #ff5f57; }
.frame.browser.desk .bar i:nth-child(2) { background: #febc2e; }
.frame.browser.desk .bar i:nth-child(3) { background: #28c840; }
.frame.browser.desk .bar span { justify-content: center; gap: 10px; max-width: 520px; margin-inline: auto; background: rgba(0, 0, 0, .35); color: #cfe9dc; }
.frame.browser.desk .bar span::before { content: ""; width: 12px; height: 10px; margin-top: 4px; border-radius: 2px; background: #57c48b; box-shadow: 0 -7px 0 -3px #57c48b; flex: none; }
.frame.browser.desk .vp { position: relative; flex: 1; overflow: hidden; direction: ltr; background: #0f1d17; }
.frame.browser.desk .vp iframe { position: absolute; left: 0; top: 0; width: 1440px; height: calc((720px - 52px) / .7778); transform: scale(.7778); transform-origin: 0 0; border: 0; background: #fff; }
.frame.browser.desk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, .07), transparent 32%); pointer-events: none; }

/* ---------- cinema: a 16:9 film as large as the stage allows ---------- */
.view:has(> .cinema) { padding: 96px 120px 118px; }
.cinema { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 0; }
.frame.monitor.cinema { width: 1440px; max-width: 100%; border-radius: 20px; box-shadow: 0 0 0 1px var(--line2), 0 40px 140px rgba(0, 0, 0, .65), 0 0 120px rgba(125, 227, 244, .07); }
.cinema-cap { margin: 0; font-size: 26px; color: var(--dim); text-align: center; }

/* the screen runs without the presenter key: polls and NOVA's answers are off */
.status .live.nokey { color: #ff8a7a; }
.status .live.nokey::before { background: #ff5a47; box-shadow: 0 0 10px #ff5a47; animation: nokey 1s ease-in-out infinite alternate; }
@keyframes nokey { to { opacity: .25; } }
.panel .keynote { color: #ffb4a8; background: rgba(255, 90, 71, .1); border: 1px solid rgba(255, 90, 71, .35); border-radius: 10px; padding: 10px 14px; line-height: 1.7; font-family: "Readex Pro", system-ui, sans-serif; }

/* the QR in the corner: big enough to scan from the back rows */
.corner-qr { width: clamp(170px, 11.5vw, 236px); padding: 12px 12px 10px; border-radius: 18px; background: #f4f7f8; box-shadow: 0 0 0 2px rgba(125, 227, 244, .55), 0 0 60px rgba(125, 227, 244, .35); display: grid; gap: 6px; justify-items: center; bottom: 40px; }
.corner-qr.on { opacity: 1; }
.corner-qr .cq-label { font: 600 15px "Readex Pro", system-ui, sans-serif; color: #0b1116; letter-spacing: .01em; }
.qr { width: 420px; }
.lobby .qr { width: 520px; }

/* video sound control */
.vol { position: fixed; bottom: 34px; inset-inline-start: 36px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(10, 16, 22, .72); border: 1px solid rgba(125, 227, 244, .28); backdrop-filter: blur(10px); color: #e7eef3; opacity: .55; transition: opacity 300ms ease; font: 600 14px "IBM Plex Mono", monospace; }
.vol:hover, .vol:focus-within { opacity: 1; }
body.hide-cursor .vol:not(:hover) { opacity: .28; }
.vol button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(125, 227, 244, .14); color: #7de3f4; display: grid; place-items: center; cursor: pointer; }
.vol button svg { width: 24px; height: 24px; }
.vol svg path.w1, .vol svg path.w2, .vol svg path.x { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vol svg .x { display: none; }
.vol.muted svg .x { display: block; } .vol.muted svg .w1, .vol.muted svg .w2 { display: none; }
.vol.muted button { color: #ff8a7a; background: rgba(255, 90, 71, .14); }
.vol input { -webkit-appearance: none; appearance: none; width: 150px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #7de3f4 var(--v, 90%), rgba(255, 255, 255, .16) var(--v, 90%)); cursor: pointer; }
.vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #f2feff; box-shadow: 0 0 12px #7de3f4; }
.vol input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #f2feff; }
.vol span { min-width: 44px; text-align: end; font-variant-numeric: tabular-nums; }

/* DropBeat top score from the phones */
.game-badge { position: fixed; top: 74px; inset-inline-start: 40px; z-index: 30; display: grid; gap: 2px; padding: 14px 22px; border-radius: 16px; background: rgba(10, 16, 22, .7); border: 1px solid rgba(255, 180, 84, .4); box-shadow: 0 0 40px rgba(255, 92, 170, .18); backdrop-filter: blur(10px); color: #e7eef3; font-family: "Readex Pro", system-ui, sans-serif; animation: rise 700ms var(--out) both; }
.game-badge small { font-size: 14px; color: #ffb454; }
.game-badge b { font: 700 40px "IBM Plex Mono", monospace; color: #f2feff; text-shadow: 0 0 18px rgba(255, 92, 170, .6); font-variant-numeric: tabular-nums; }
.game-badge span { font-size: 14px; color: #8796a3; }

.vol[hidden], .game-badge[hidden] { display: none; }

.panel details.adv { margin-top: 6px; color: #8796a3; font-size: 14px; }
.panel details.adv summary { cursor: pointer; padding: 4px 0; }
.panel details.adv input { margin-top: 8px; width: 100%; }

.panel .conn { margin: 4px 0 0; font: 13px/1.5 var(--mono); color: #8fdcec; }

/* several real screens of one system: one large, two small under it */
.shots { width: 100%; max-width: 1060px; height: 450px; align-self: start; margin-top: -40px; display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.shots figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #0b1016; box-shadow: 0 0 0 1px var(--line2), 0 30px 60px -30px rgba(0,0,0,.8); }
.shots figure.big { grid-row: 1 / -1; }
.shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shots figcaption { position: absolute; inset: auto 0 0; padding: 26px 14px 10px; font: 500 18px var(--display); color: #fff; background: linear-gradient(transparent, rgba(4,8,12,.88)); }
.frame.browser.desk > img { display: block; width: 100%; height: auto; }
.shots figure.big img { object-position: center; }

/* seven areas on the arc: smaller names so neighbours never touch */
.plabel b { font-size: 21px; white-space: normal; max-width: 210px; line-height: 1.25; }
