/* A quiet dark room ruled with hairlines: near-black, one accent, thin tiles, in Brale's own faces. The Day Zero sun is the
   only illustration, and the audience is the only thing allowed to be loud. */
:root {
  color-scheme: dark;
  --bg: #0C0C12;
  --bg-2: #14141B;
  --bg-3: #1C1C25;
  --shadow: #000;
  --fg: #FAFAFA;
  --fg-70: rgba(250, 250, 250, .7);
  --fg-50: rgba(250, 250, 250, .56);
  --line: rgba(250, 250, 250, .09);
  --line-2: rgba(250, 250, 250, .18);
  --sun: #F1FF86;
  --dawn: #F73196;
  --bar: 46px;
  --f-body: InterVariable, Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --f-dots: "Bitcount Prop Single", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--fg); font: 400 14px/1.45 var(--f-body); -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
.label { font: 500 11px/1.2 var(--f-body); color: var(--fg-50); }
.dots { font-family: var(--f-dots); letter-spacing: .06em; }
.pill { display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(250,250,250,.04); color: var(--fg); font-weight: 500; font-size: 13px; transition: border-color .15s, background .15s; }
.pill:hover { border-color: var(--sun); background: rgba(241,255,134,.08); }

#app { display: flex; height: 100dvh; }

/* ---------- The room: everything is a share of the theater box ---------- */
.theater {
  --lights: .05;
  --screen-w: min(84cqw, calc((100cqh - var(--bar)) * .68 * 16 / 9));
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  container-type: size;
  background: var(--bg);
  isolation: isolate;
}
.layer { position: absolute; inset: 0; pointer-events: none; }

.wall { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.wall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: #FFF3DC;
  opacity: calc(var(--lights) * .1); transition: opacity 2s ease;
}
/* The floor: the same hairline grid as everything else, running back to the screen, lit by it. */
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; overflow: hidden; perspective: 40cqh; perspective-origin: 50% 0; background: radial-gradient(ellipse 70% 110% at 50% 0, #55557E, #20202D 72%, var(--bg)); }
.floor i {
  position: absolute; left: -300%; right: -300%; top: 0; height: 40cqh;
  transform-origin: 50% 0; transform: rotateX(68deg);
  background:
    repeating-linear-gradient(90deg, rgba(250,250,250,.14) 0 1px, transparent 1px 8cqh),
    repeating-linear-gradient(0deg, rgba(250,250,250,.14) 0 1px, transparent 1px 8cqh);
}
.floor-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.floor-canvas.flat { image-rendering: auto; }
.theater[data-floor="disco"] .floor { background: #05050C; }
.theater[data-floor="disco"] .floor i { background: none; }
.theater[data-floor="grass"] .floor {
  background: linear-gradient(#123522, #1D4F2A 45%, #2F7A33);
  -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%);  /* fades into the dark, no hard horizon */
}
.theater[data-floor="grass"] .floor i { display: none; }
.rail { position: absolute; z-index: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rail.left { left: calc((100cqw - var(--screen-w)) / 2); }
.rail.right { right: calc((100cqw - var(--screen-w)) / 2); }

.topbar {
  position: absolute; z-index: 8; left: 0; right: 0; top: 0; height: var(--bar);
  display: flex; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line);
}
.topbar > * { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--line); white-space: nowrap; }
.topbar > :last-child { border-right: 0; }
.sun-dot { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 14px rgba(241,255,134,.45); }
.marquee { flex: 0 1 auto; max-width: 34%; min-width: 0; gap: 9px; color: var(--fg-70); font-size: 13px; }
.marquee:has(+ .sponsors[hidden]) { flex: 1; max-width: none; }
.marquee span { overflow: hidden; text-overflow: ellipsis; }
.marquee.flash span { color: var(--sun); font-weight: 600; }
/* Sponsors: a ticker that runs for as long as the show does. Hovering holds it still so a link can be clicked. */
.topbar > .sponsors { flex: 1; min-width: 0; padding: 0; overflow: hidden; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.sponsor-track { display: flex; width: max-content; animation: ticker-right var(--ticker, 30s) linear infinite; }
.sponsor-track[data-dir="left"] { animation-name: ticker-left; }
.sponsors:hover .sponsor-track, .sponsors:focus-within .sponsor-track { animation-play-state: paused; }
@keyframes ticker-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes ticker-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sponsor-group { display: flex; flex: none; }
.sponsor { display: inline-flex; align-items: baseline; gap: 8px; padding-right: 44px; font-size: 13px; color: var(--fg-50); white-space: nowrap; }
.sponsor a, .sponsor b { color: var(--fg); font-weight: 500; text-decoration: none; }
.sponsor a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.live-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-50); }
.theater[data-phase="live"] .live-dot { background: var(--dawn); box-shadow: 0 0 0 3px rgba(247,49,150,.22); }
.hype { gap: 9px; }
.meter { width: clamp(40px, 7cqw, 96px); height: 3px; background: var(--line-2); display: block; border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--sun); transition: width .9s ease; }
.sound-prompt {
  position: absolute; z-index: 8; left: 50%; transform: translateX(-50%);
  top: calc(var(--bar) + 1.8cqh + var(--screen-w) * .5625 / 2 - 22px);
  padding: 10px 18px; border: 1px solid var(--sun); border-radius: 999px; background: rgba(12,12,18,.92); color: var(--fg); font-size: 15px; font-weight: 500;
  box-shadow: 0 0 30px rgba(241,255,134,.25);
}
.sound-prompt:hover { background: var(--bg-3); }
.sound { background: none; border: 0; color: var(--fg-50); font-size: 12px; }
.sound:hover { color: var(--fg); }
.sound[aria-pressed="true"] { color: var(--sun); }
body[data-mode="screen"] .sound { display: none; }

.screen {
  position: absolute; z-index: 1;
  left: 50%; top: calc(var(--bar) + 1.8cqh); transform: translateX(-50%);
  width: var(--screen-w); aspect-ratio: 16 / 9;
  background: #000; overflow: hidden; container-type: inline-size;
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 120px 10px rgba(130, 130, 220, .2);
}
.projector, .projector video, .projector iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.projector video { object-fit: contain; background: #000; }
.aim { position: absolute; inset: 0; touch-action: none; cursor: crosshair; z-index: 3; }
body.aiming .aim { cursor: cell; }
/* The big screen has nothing to aim, but the layer stays: a click on the video would otherwise go into the embedded
   player, where our page never hears it and YouTube's own buttons get pressed. */
body[data-mode="screen"] .aim { cursor: default; }
#splats { z-index: 5; overflow: hidden; }
#pointers { z-index: 6; }

.card { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; text-align: center; padding: 4cqw; background: var(--bg); }
.card .label { font-size: max(10px, 1.3cqw); }
.card .big { font-size: max(20px, 4.4cqw); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.big-quiet { font-size: max(14px, 2.4cqw); font-weight: 500; letter-spacing: -.015em; color: var(--fg-70); }
.lobby-riffs { list-style: none; margin: 1.6cqw 0 0; padding: 0; display: grid; gap: .9cqw; font-size: max(12px, 1.8cqw); color: var(--fg-70); }
.lobby-riffs small { display: block; color: var(--fg-50); font: 400 .66em var(--f-mono); }

.credits { display: block; padding: 0; overflow: hidden; background: #000; }
.roll { position: absolute; left: 0; right: 0; top: 0; padding: 0 8cqw; animation: roll var(--roll, 30s) linear infinite; }
.roll h2 { font-size: 5.8cqw; font-weight: 800; letter-spacing: -.05em; margin: 0 0 2cqw; }
.roll h3 { font: 500 max(10px, 1.3cqw)/1.2 var(--f-body); color: var(--fg-50); margin: 3.4cqw 0 1.1cqw; }
.roll p { font-size: max(12px, 2cqw); margin: .3cqw 0; color: var(--fg-70); }
.roll .big { color: var(--sun); font-size: 3.2cqw; font-weight: 500; }
@keyframes roll { from { transform: translateY(58cqw); } to { transform: translateY(-100%); } }

/* ---------- Preshow: the Day Zero slide on the left, the bill ruled out on the right ---------- */
.attract { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: 44% 1fr; background: var(--bg); pointer-events: none; }
.attract button { pointer-events: auto; }
.scene { position: relative; overflow: hidden; border-right: 1px solid var(--line); background: linear-gradient(#070823, #1F1860 40%, #3F2A8E 62%); }
.scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 62%; background: linear-gradient(#050726, #020316); }
.sun { position: absolute; z-index: 1; left: 50%; top: 62%; width: 20cqw; aspect-ratio: 1; transform: translate(-50%, -97%); border-radius: 50%; background: var(--dawn); box-shadow: 0 0 6cqw 1cqw rgba(247,49,150,.28); }
.glint {
  position: absolute; z-index: 2; left: 50%; top: 62.4%; width: 18cqw; height: 26%; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--dawn) 0 .18cqw, transparent .18cqw .75cqw);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}
.slug { position: absolute; z-index: 3; left: 2.2cqw; top: 2cqw; font-size: max(10px, 1.7cqw); color: var(--fg); }
.bill-col { display: flex; flex-direction: column; min-width: 0; padding: 3.4cqw 3.4cqw 0; }
.bill-col .label { font-size: max(9px, 1.1cqw); }
.attract h1 { margin-top: .9cqw; font-size: 5.8cqw; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tagline { margin-top: .7cqw; color: var(--fg-50); font-size: max(10px, 1.5cqw); }
.pre-actions { display: flex; align-items: center; gap: 1.6cqw; margin-top: 1.6cqw; flex-wrap: wrap; }
.pre-actions .pill { font-size: max(11px, 1.35cqw); padding: .7cqw 1.5cqw; }
.time { display: flex; align-items: baseline; gap: .7cqw; }
.time b { font: 600 max(13px, 2.1cqw) var(--f-body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--sun); }
.bill { list-style: none; margin: 1.8cqw -3.4cqw 0; padding: 0; border-top: 1px solid var(--line); font-size: max(9px, 1.25cqw); }
.bill li { display: flex; gap: 1.2cqw; padding: .55cqw 3.4cqw; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.bill em { flex: none; width: 2em; font: 400 1em var(--f-dots); letter-spacing: .06em; color: var(--fg-50); font-style: normal; }  /* Bitcount's digits vary in width */
.bill span { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.bill small { color: var(--fg-50); font-size: 1em; margin-left: auto; }
@container (max-width: 520px) {
  .attract { grid-template-columns: 34% 1fr; }
  .bill, .time .label { display: none; }
  .attract h1 { font-size: 7.4cqw; }
  .bill-col .label { font-size: 9px; }
  .sun { width: 15cqw; } .glint { width: 13cqw; }
}

.rerun-bar {
  position: absolute; z-index: 4; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 2cqw;
  padding: .8cqw 1.4cqw; background: rgba(12,12,18,.86); border-bottom: 1px solid var(--line); pointer-events: none; font-size: max(10px, 1.25cqw);
}
.rerun-now { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.rerun-now b { color: var(--sun); font-weight: 600; margin-right: .4em; }
.rerun-now small { color: var(--fg-50); font-size: 1em; font-weight: 400; margin-left: .5em; }
.rerun-next { flex: none; color: var(--fg-50); white-space: nowrap; }
.rerun-next b { color: var(--sun); font-weight: 600; font-variant-numeric: tabular-nums; }
@container (max-width: 520px) { .rerun-now small, .rerun-next span { display: none; } }

/* The intro slide, drawn the way the events site draws it. */
.slide-holder { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.slide-holder:empty { display: none; }
.act-slide {
  position: absolute; inset: 0; overflow: hidden; color: #F2F3EA; transition: opacity .6s ease;
  background: linear-gradient(180deg, var(--s1) 0%, var(--s2) var(--hz), #0A0B2A var(--hz), #05061A 100%);
}
.act-slide.leaving { opacity: 0; }
.s-skyclip { position: absolute; inset: 0 0 auto 0; height: var(--hz); overflow: hidden; }
.s-sun { position: absolute; left: var(--x); top: calc(100% - var(--y)); width: var(--r); aspect-ratio: 1; border-radius: 50%; background: var(--sc); transform: translate(-50%, -50%); box-shadow: 0 0 8cqw color-mix(in srgb, var(--sc) 45%, transparent); }
.s-refl { position: absolute; left: var(--x); top: var(--hz); width: calc(var(--r) * .9); height: 40%; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--sc) 0 .16cqw, transparent .16cqw .7cqw); opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%); mask-image: linear-gradient(180deg, #000, transparent 45%); }
.s-top { position: absolute; left: 4.4cqw; right: 4.4cqw; top: 3.6cqw; display: flex; justify-content: space-between; align-items: baseline; }
.s-ed { font: 400 2.2cqw/1 var(--f-dots); letter-spacing: .06em; }
.s-mark { font: 600 2.2cqw/1 var(--f-body); letter-spacing: -.02em; }
.s-body { position: absolute; left: 4.4cqw; right: 16cqw; bottom: 4.2cqw; display: grid; gap: 1.1cqw; }
.s-co { font: 500 1.5cqw/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.s-title { font: 800 5cqw/1 var(--f-body); letter-spacing: -.045em; text-wrap: balance; }
.s-by { font: 400 1.9cqw/1.2 var(--f-body); color: #A6A9CC; }
.act-slide.play .s-sun { animation: slidesun 2.6s cubic-bezier(.2, .8, .2, 1) both; }
.act-slide.play .s-refl { animation: slidefade 2s .9s ease both; }
.act-slide.play .s-top { animation: slidefade 1s .3s ease both; }
.act-slide.play .s-co, .act-slide.play .s-title, .act-slide.play .s-by { animation: sliderise 1s cubic-bezier(.2, .7, .2, 1) both; }
.act-slide.play .s-co { animation-delay: 1.3s; }
.act-slide.play .s-title { animation-delay: 1.55s; }
.act-slide.play .s-by { animation-delay: 1.85s; }
@keyframes slidesun { from { top: 125%; } }
@keyframes slidefade { from { opacity: 0; } }
@keyframes sliderise { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.sign {
  position: absolute; z-index: 9; left: 50%; top: calc(var(--bar) + 3cqh); transform: translateX(-50%);
  padding: .7cqh 2cqw; border-radius: 999px; background: var(--dawn); color: #fff; font-weight: 600; letter-spacing: -.02em; font-size: clamp(16px, 4.6cqh, 56px); line-height: 1.15;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.sign.on { opacity: 1; animation: pulse .8s ease-in-out infinite; box-shadow: 0 0 40px rgba(247,49,150,.65); }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- The dark. The patrons stay blocky sprites: the one bit of arcade left in the room. ---------- */
#puppets { z-index: 5; overflow: hidden; }
.puppet { position: absolute; bottom: 22cqh; height: 40cqh; aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; }
.puppet svg { height: 100%; fill: var(--shadow); overflow: visible; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .3)); }  /* a faint edge, so a shadow still shows on a dark video */
.puppet g { transform-box: fill-box; }
.puppet .jaw { transform-origin: 0 0; animation: jaw .4s steps(2) infinite alternate; }
@keyframes jaw { to { transform: translateY(45%) rotate(6deg); } }
.puppet .wing-l { transform-origin: 100% 40%; animation: flap-l .3s steps(2) infinite alternate; }
.puppet .wing-r { transform-origin: 0 40%; animation: flap-r .3s steps(2) infinite alternate; }
@keyframes flap-l { from { transform: rotate(14deg); } to { transform: rotate(-20deg); } }
@keyframes flap-r { from { transform: rotate(-14deg); } to { transform: rotate(20deg); } }
.puppet .ear-l, .puppet .ear-r { transform-origin: 50% 100%; animation: ear .5s steps(2) infinite alternate; }
.puppet .ear-r { animation-direction: alternate-reverse; }
@keyframes ear { from { transform: rotate(-7deg); } to { transform: rotate(9deg); } }
.puppet .claw-l { transform-origin: 70% 100%; animation: ear .25s steps(2) infinite alternate; }
.puppet .claw-r { transform-origin: 30% 100%; animation: ear .25s steps(2) infinite alternate-reverse; }
.puppet-crab svg { animation: scuttle .5s steps(3) infinite alternate; }
@keyframes scuttle { from { transform: translateX(-8%); } to { transform: translateX(8%); } }

.rows { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.row { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-end; justify-content: center; }
.row-C { width: 82cqw; bottom: 21.5cqh; --seat-h: 5.4cqh; }
.row-B { width: 92cqw; bottom: 11.5cqh; --seat-h: 6.4cqh; }
.row-A { width: 106cqw; bottom: 0; --seat-h: 8cqh; }
.seat { position: relative; flex: 1 1 0; height: var(--seat-h); pointer-events: auto; }
.seat:not(.taken) { cursor: pointer; }
.seatback { position: absolute; inset: 0 4%; width: 92%; height: 100%; fill: #09090E; z-index: 2; }
.seat.taken .seatback { fill: var(--shadow); }
.seat:not(.taken):hover .seatback { fill: #34344A; }
body[data-mode="screen"] .seat { pointer-events: none; }

.person { position: absolute; left: 6%; right: 6%; bottom: 28%; z-index: 1; transform-origin: 50% 100%; }
.fig { display: block; width: 100%; height: auto; fill: var(--shadow); overflow: visible; }
.person, .person * { animation-timing-function: steps(2, jump-end) !important; }
.fig g { transform-box: fill-box; }
.fig .head { transform-origin: 50% 100%; animation: bob var(--idle-len, 7s) var(--idle-delay, 0s) infinite; }
@keyframes bob { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-4%); } 70% { transform: translateX(4%); } }
.fig .arm { transform-origin: 50% 100%; transform: translateY(62%); visibility: hidden; }  /* resting arms would poke out under the chair */
.person.me::after {
  content: "You"; position: absolute; left: 50%; top: -15%; transform: translateX(-50%);
  font: 600 clamp(9px, 1.5cqh, 13px)/1 var(--f-body); color: #0B0C1F; background: var(--sun);
  padding: 2px 6px; border-radius: 99px; white-space: nowrap; z-index: 3;
}
.tag {
  position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); z-index: 4;
  padding: 1px 6px; border-radius: 4px; background: var(--bg-3); color: var(--fg-70); font: 400 clamp(9px, 1.5cqh, 13px)/1.3 var(--f-mono);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.person:hover .tag, .person.named .tag { opacity: 1; }

/* Floors where nobody needs a chair. Everyone stands on the floor line, with their legs showing. */
.fig .legs { display: none; }
.theater[data-floor="disco"] .seatback, .theater[data-floor="grass"] .seatback { display: none; }
.theater[data-floor="disco"] .person, .theater[data-floor="grass"] .person { bottom: 0; }
.theater[data-floor="disco"] .fig .legs, .theater[data-floor="grass"] .stands .fig .legs { display: block; }
.theater[data-floor="grass"] .stands .fig { transform: translateY(-46.7%); }
.theater[data-floor="disco"] .fig { animation: dance .9s var(--idle-delay, 0s) infinite; }
.theater[data-floor="disco"] .fig .arm-l { animation: pump 1.8s var(--idle-delay, 0s) infinite; }
.theater[data-floor="disco"] .fig .arm-r { animation: pump 1.8s calc(var(--idle-delay, 0s) - .9s) infinite; }
@keyframes dance {
  0%, 100% { transform: translate(0, -46.7%); }
  25% { transform: translate(-5%, -54%); }
  50% { transform: translate(0, -46.7%); }
  75% { transform: translate(5%, -54%); }
}
@keyframes pump { 0%, 40% { transform: translateY(0); } 50%, 100% { transform: translateY(62%); } }

/* The grass in front of each row, so people sit down in it or stand up out of it. */
.theater[data-floor="grass"] .row::after {
  content: ""; position: absolute; z-index: 3; left: -2%; right: -2%; bottom: -6%; height: calc(var(--seat-h) * 1.25); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath fill='%232F7A33' d='M0 40V22l4 8 3-16 4 15 5-20 3 19 5-13 3 14 5-22 4 21 4-15 3 16 5-20 3 19 5-12 3 13 5-22 4 22 4-16 3 16 5-19 3 18 5-13 3 14 5-21 4 20 4-15 3 16v15z'/%3E%3Cpath fill='%233C9138' d='M0 40V30l5 2 4-12 4 13 5-9 4 9 5-14 4 14 5-8 4 8 5-13 4 13 5-9 4 9 5-13 4 13 5-8 4 8 5-13 4 13 5-9 4 9 5-12 4 12 4-4v6z'/%3E%3C/svg%3E") 0 100% / 15cqh 100% repeat-x;
  transform-origin: 50% 100%; animation: tuft 3.6s ease-in-out infinite alternate;
}
.theater[data-floor="grass"] .row-C::after { filter: brightness(.72); animation-delay: -1.1s; }
.theater[data-floor="grass"] .row-B::after { filter: brightness(.88); animation-delay: -2.2s; }
@keyframes tuft { from { transform: skewX(-5deg); } to { transform: skewX(6deg); } }

/* Things people do. Each is a class the stage adds for a moment. */
.do-clap .arm, .arms-up .arm, .do-stand .arm, .do-mind .arm, .do-throw .arm-r, .do-puppet .arm, .do-stretch .arm { transform: translateY(0); }
.do-clap .arm, .arms-up .arm, .do-stand .arm, .do-mind .arm, .do-throw .arm-r, .do-puppet .arm, .do-stretch .arm, .do-munch .arm-r, .theater[data-floor="disco"] .fig .arm { visibility: visible; }
.do-clap .arm-l { animation: clap-l .24s infinite alternate; }
.do-clap .arm-r { animation: clap-r .24s infinite alternate; }
@keyframes clap-l { from { transform: translate(0, 0); } to { transform: translate(180%, 0); } }
@keyframes clap-r { from { transform: translate(0, 0); } to { transform: translate(-180%, 0); } }
.do-laugh { animation: laugh .24s 5 alternate; }
@keyframes laugh { from { transform: translateY(0); } to { transform: translateY(-6%); } }
.do-stand { animation: stand 1s; }
@keyframes stand { 25%, 70% { transform: translateY(-24%); } }
.do-mind .head { animation: mind .9s; }
@keyframes mind { 30%, 70% { transform: translateY(-32%); } }
.do-tip .hat { animation: tip .9s; }
@keyframes tip { 30%, 70% { transform: translateY(-30%); } }
.do-cringe { animation: cringe 1s; }
@keyframes cringe { 20%, 75% { transform: translateY(14%); } }
.do-throw { animation: lob .6s; }
@keyframes lob { 25% { transform: translate(-4%, -6%); } 55% { transform: translate(4%, -10%); } }
.do-talk .head { animation: talk .24s 6 alternate; }
@keyframes talk { to { transform: translateY(-5%); } }
.do-whisper .head { animation: lean-l 2.2s; }
.do-whisper-r .head { animation: lean-r 2.2s; }
@keyframes lean-l { 20%, 80% { transform: translateX(-20%); } }
@keyframes lean-r { 20%, 80% { transform: translateX(20%); } }
.do-look .head { animation: look 2.2s; }
@keyframes look { 15%, 45% { transform: translateX(-10%); } 60%, 85% { transform: translateX(10%); } }
.do-munch .arm-r { animation: munch 2.2s; }
@keyframes munch { 15%, 30%, 55%, 70% { transform: translate(-260%, 10%); } 42%, 85% { transform: translate(-260%, 26%); } }
.do-stretch .arm { animation: stretch 2.2s; }
@keyframes stretch { 40%, 70% { transform: translateY(-12%); } }
.do-settle { animation: settle 1.6s; }
@keyframes settle { 20% { transform: translate(-3%, 4%); } 50% { transform: translate(3%, -3%); } }

/* ---------- What flies around ---------- */
#fx { z-index: 7; overflow: hidden; }
.float, .thrown { position: absolute; font-size: clamp(16px, 4.6cqh, 52px); line-height: 1; will-change: transform; }
.splat {
  position: absolute; width: 10cqw; aspect-ratio: 1; opacity: .92;
  background:
    radial-gradient(circle at 50% 50%, #d3200f 0 32%, transparent 34%),
    radial-gradient(circle at 22% 30%, #d3200f 0 9%, transparent 10%),
    radial-gradient(circle at 80% 28%, #b91a0b 0 8%, transparent 9%),
    radial-gradient(circle at 72% 78%, #d3200f 0 11%, transparent 12%),
    radial-gradient(circle at 22% 74%, #e8452e 0 7%, transparent 8%),
    radial-gradient(circle at 50% 8%, #d3200f 0 5%, transparent 6%);
}
.heart-hit { position: absolute; width: 5cqw; min-width: 22px; aspect-ratio: 1; }
.heart-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: max(18px, 4.2cqw); line-height: 1; }
.drip { position: absolute; top: 48%; height: 0; border-radius: 0 0 99px 99px; background: linear-gradient(#D3142A, #8E0B1C); }
.landed { position: absolute; font-size: 3.6cqw; line-height: 1; }
.screen.quiet #splats { display: none; }

.laser {
  position: absolute; width: max(8px, 1cqw); aspect-ratio: 1; border-radius: 50%;
  background: var(--c); transform: translate(-50%, -50%); box-shadow: 0 0 10px 3px var(--c);
  transition: left .1s linear, top .1s linear;
}
.laser-name { position: absolute; left: 150%; top: 120%; font: 400 max(9px, 1.05cqw)/1.3 var(--f-mono); white-space: nowrap; color: var(--fg); background: rgba(12,12,18,.85); padding: 0 5px; border-radius: 3px; }

.bubble {
  --c: var(--sun);
  position: absolute; bottom: calc(30cqh + var(--lane, 0) * 9.5cqh); transform: translateX(-50%);
  max-width: min(40cqw, 560px); width: max-content;
  padding: .9cqh 1cqw; border-radius: 10px; background: rgba(20, 20, 27, .96); border: 1px solid var(--line-2);
  box-shadow: 0 10px 34px rgba(0,0,0,.55);
}
.bubble::after {
  content: ""; position: absolute; left: calc(50% + var(--tail, 0px)); top: 100%; width: 9px; height: 9px;
  transform: translate(-50%, -5px) rotate(45deg); background: #14141B; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.bubble-text { font-size: clamp(12px, 2.4cqh, 28px); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; overflow-wrap: anywhere; }
.riff-link { color: var(--sun); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.riff-link:hover { color: #fff; }
.bubble .riff-link { pointer-events: auto; }
.bubble-name { font: 400 clamp(9px, 1.45cqh, 15px)/1.3 var(--f-mono); color: var(--c); margin-top: 2px; }

.flashlight {
  position: absolute; bottom: 0; top: 40%; width: 18cqw; transform: translateX(-50%);
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  background: linear-gradient(rgba(255, 245, 190, .5), rgba(255, 245, 190, .1));
}

.featured {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 6;
  max-width: 78%; padding: 1cqw 1.6cqw; background: rgba(20,20,27,.96); border: 1px solid var(--line-2); border-radius: 10px; pointer-events: none;
}
.featured p { font-size: max(14px, 2.4cqw); font-weight: 500; letter-spacing: -.02em; line-height: 1.18; }
.featured small { color: var(--sun); font: 400 max(10px, 1.2cqw) var(--f-mono); }

.poll {
  position: absolute; z-index: 8; right: calc((100cqw - var(--screen-w)) / 2 + 1.2cqw); top: calc(var(--bar) + 3.4cqh);
  width: min(30cqw, 420px); padding: 1.6cqh 1.1cqw; background: rgba(20,20,27,.97); border: 1px solid var(--line-2); border-radius: 10px;
  display: grid; gap: .8cqh;
}
.poll .label { font-size: clamp(9px, 1.5cqh, 13px); }
.poll .q { font-weight: 500; letter-spacing: -.015em; font-size: clamp(12px, 2.3cqh, 25px); line-height: 1.2; }
.bar { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: .55cqh .7cqw; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: clamp(11px, 1.8cqh, 20px); }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(241,255,134,.22); transition: width .4s ease; }
.bar span, .bar b { position: relative; }
.bar b { font: 400 .95em var(--f-mono); }

.qr {
  position: absolute; z-index: 8; right: 1.2cqw; bottom: 1.2cqh; display: flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px; background: rgba(20,20,27,.97); border: 1px solid var(--line-2); border-radius: 12px;
}
.qr #qr-code { width: 13cqh; height: 13cqh; background: #fff; border-radius: 6px; padding: 2px; }
.qr #qr-code svg { display: block; width: 100%; height: 100%; }
.qr b { display: block; font-weight: 500; font-size: 2.8cqh; letter-spacing: -.02em; line-height: 1.15; }
.qr span { font: 400 1.7cqh var(--f-mono); color: var(--fg-50); }

.offline { position: absolute; z-index: 9; left: 50%; bottom: 3cqh; transform: translateX(-50%); padding: 6px 13px; background: var(--dawn); color: #fff; border-radius: 99px; font-size: 13px; white-space: nowrap; }

/* ---------- Big screen ---------- */
body[data-mode="screen"] #armrest { display: none; }
body[data-monitor] .qr, body[data-monitor] .gate { display: none !important; }
.back { position: fixed; z-index: 31; left: 14px; bottom: 14px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(20,20,27,.92); color: var(--fg); font-size: 13px; font-weight: 500; text-decoration: none; transition: opacity .3s; }
.back:hover { border-color: var(--sun); }
body.idle .back { opacity: 0; pointer-events: none; }
body.idle { cursor: none; }
.gate { position: fixed; z-index: 30; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(20,20,27,.94); white-space: nowrap; transition: opacity .3s; }
.gate small { color: var(--fg-50); font-size: 12.5px; }
body.idle .gate { opacity: 0; pointer-events: none; }

/* ---------- Armrest ---------- */
.armrest { width: 344px; flex: none; display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; }
.armrest > * { flex: none; }
.stub { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--bar); padding: 7px 14px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); }
.stub:hover { background: var(--bg-2); }
.stub-fig { width: 30px; height: 30px; flex: none; display: grid; place-items: end center; overflow: hidden; padding: 4px 6px 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; }
.stub-fig .fig { fill: var(--fg-70); }
.stub-fig .arm { display: none; }
.stub-who { flex: 1; min-width: 0; line-height: 1.25; }
.stub-who b, .stub-who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stub-who b { font-weight: 500; }
.stub small { color: var(--fg-50); font: 400 11px var(--f-mono); }
.stub-pts { text-align: right; line-height: 1.2; }
.stub-pts b { display: block; font: 400 16px var(--f-dots); letter-spacing: .04em; }
.stub-cta { flex: 1; font-weight: 500; color: var(--sun); }

/* The grid of tiles shares its hairlines, like cells in a table. */
.hold-spot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--fg-70); }
.hold-links { display: flex; gap: 12px; white-space: nowrap; }
.hold-links a { color: var(--sun); font-weight: 500; text-underline-offset: 3px; }
.hold-links a:hover { color: #fff; }
.tap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.tap { min-height: 50px; border: 0; background: var(--bg); font-size: 22px; line-height: 1; touch-action: manipulation; transition: background .12s; }
.tap:hover { background: var(--bg-2); }
.tap:active { background: var(--bg-3); }
body.clap-now .react-clap { background: rgba(247,49,150,.35); animation: pulse .8s ease-in-out infinite; }
.ammo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.ammo { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 18px; min-height: 44px; }
.ammo small { font-size: 12px; color: var(--fg-70); }
.ammo[aria-pressed="true"] { background: rgba(241,255,134,.12); box-shadow: inset 0 -2px 0 var(--sun); }
.ammo[aria-pressed="true"] small { color: var(--sun); }
.hint { color: var(--fg-50); font-size: 12px; line-height: 1.4; }
.armrest > .hint { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.hint.wide { grid-column: 1 / -1; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.chip-label { width: 100%; margin-bottom: 2px; font: 500 11px/1.2 var(--f-body); color: var(--fg-50); }
.chip { padding: 5px 11px; min-height: 30px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: 12.5px; transition: border-color .15s; }
.chip:hover { border-color: var(--fg-50); }
.chip.wave { margin-left: auto; color: var(--sun); border-color: rgba(241,255,134,.35); }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 11px 0; background: none; border: 0; border-right: 1px solid var(--line); color: var(--fg-50); font-weight: 500; font-size: 13px; }
.tab:last-child { border-right: 0; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--sun); }
.armrest > .panel { flex: 1 1 0; }
.panel { display: flex; flex-direction: column; gap: 9px; min-height: 210px; padding: 11px 14px; overflow-y: auto; overscroll-behavior: contain; }
.panel[hidden] { display: none; }
.panel > * { flex: none; }
.panel h3 { margin-top: 5px; font: 500 11px/1.2 var(--f-body); color: var(--fg-50); }
.riff-form { display: flex; gap: 6px; }
/* The box you type in stays put while the feed scrolls under it. */
.panel > .riff-form { position: sticky; top: -11px; z-index: 3; margin-top: -11px; padding: 11px 0 8px; background: var(--bg); }
.riff-form input { flex: 1; min-width: 0; padding: 8px 11px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; font-size: 16px; }
.riff-form input:focus, .note-form textarea:focus, .ticket input:focus { outline: none; border-color: var(--line-2); }
.send { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--fg); color: #0B0C1F; font-weight: 500; }
.send:hover { background: var(--sun); }
.starters { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.starter { flex: none; padding: 3px 9px; background: none; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; color: var(--fg-50); }
.starter:hover { color: var(--fg); border-color: var(--line-2); }
.feed { list-style: none; margin: 0 -14px; padding: 0; border-top: 1px solid var(--line); }
.feed li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.feed p { overflow-wrap: anywhere; line-height: 1.35; }
.feed small { color: var(--fg-50); font: 400 11px var(--f-mono); }
.feed .empty { color: var(--fg-50); font-size: 13px; border: 0; }
.riff-body { flex: 1; min-width: 0; }
.riff-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.reply-toggle { flex: none; padding: 2px 0 2px 8px; background: none; border: 0; color: var(--fg-50); font-size: 12px; }
.reply-toggle:hover, .reply-toggle[aria-expanded="true"] { color: var(--fg); }
.thread { margin-top: 7px; padding-left: 10px; border-left: 1px solid var(--line-2); display: grid; gap: 7px; }
.replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.replies:empty { display: none; }
.feed .replies li { padding: 0; border: 0; gap: 8px; }
.replies .plus { min-width: 30px; min-height: 24px; font-size: 11px; }
.reply-form { display: flex; gap: 5px; }
.reply-form input { flex: 1; min-width: 0; padding: 6px 9px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; font-size: 16px; }
.reply-form input:focus { outline: none; border-color: var(--line-2); }
.reply-form .send { padding: 6px 10px; font-size: 13px; }
.who { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.check { display: inline-grid; place-items: center; flex: none; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--sun); color: #0B0C1F; font: 700 .72em/1 var(--f-body); }
.tag .check, .bubble-name .check { display: inline-grid; margin-left: 4px; vertical-align: middle; }
.stub-who .who { max-width: 100%; }
.saved b { display: block; font-weight: 500; font-size: 16px; }
.saved small { color: var(--fg-50); font: 400 12px var(--f-mono); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { display: grid; gap: 2px; padding: 8px 10px; background: var(--bg); }
.stats b { font: 400 19px var(--f-dots); letter-spacing: .04em; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.history small { color: var(--fg-50); font: 400 11px var(--f-mono); }
.history p { overflow-wrap: anywhere; line-height: 1.35; }
.text-link { justify-self: start; align-self: flex-start; padding: 3px 0; background: none; border: 0; color: var(--fg-50); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--fg); }
.plus { flex: none; min-width: 34px; min-height: 28px; padding: 2px 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; color: var(--fg-70); font: 400 12px var(--f-mono); }
.plus:not(:disabled):hover { border-color: var(--sun); color: var(--sun); }
.plus.on { color: var(--sun); border-color: rgba(241,255,134,.35); }
.plus:disabled { cursor: default; }

.poll-box { display: grid; gap: 5px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.poll-box h3 { font: 500 11px/1.2 var(--f-body); color: var(--sun); margin: 0; }
.poll-box:empty { display: none; }
.poll-box .q, .panel .q { font-weight: 500; }
.vote { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: none; overflow: hidden; text-align: left; font-size: 13px; }
.vote i { position: absolute; inset: 0 auto 0 0; background: rgba(241,255,134,.16); transition: width .4s; }
.vote span, .vote b { position: relative; }
.vote b { font: 400 12px var(--f-mono); color: var(--fg-70); }
.vote.on { border-color: var(--sun); }
.stars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.star { min-height: 46px; font-size: 21px; background: var(--bg); border: 0; filter: grayscale(1) opacity(.5); }
.star.on { filter: none; background: var(--bg-2); }
.show-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.show-list li { display: flex; justify-content: space-between; gap: 8px; }
.show-list b { font: 500 12px var(--f-mono); }
.note-form { display: grid; gap: 6px; }
.note-form textarea { padding: 8px 11px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; resize: vertical; font-size: 16px; }
/* ---------- Login gate overlay ---------- */
.gated-controls { position: relative; }
.gated-controls.locked { pointer-events: none; opacity: .35; filter: grayscale(.6); }
.gate-overlay { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); text-align: center; cursor: pointer; }
.gate-overlay[hidden] { display: none; }
.gate-msg { font: 500 13px/1.3 var(--f-body); color: var(--fg-70); }
.gate-btn { padding: 8px 18px; border: 1px solid var(--sun); border-radius: 8px; background: none; color: var(--sun); font: 500 13px var(--f-body); cursor: pointer; transition: background .15s, color .15s; }
.gate-btn:hover { background: var(--sun); color: #0B0C1F; }
.riff-gate { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px; border: 0; border-bottom: 1px solid var(--line); background: var(--bg-2); color: var(--fg-50); font: 500 13px var(--f-body); cursor: pointer; transition: color .15s; }
.riff-gate[hidden] { display: none; }
.riff-gate:hover { color: var(--sun); }
.score-gate { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 14px; text-align: center; cursor: pointer; }
.score-gate[hidden] { display: none; }

.arm-foot { margin-top: auto; padding: 11px 14px; display: grid; gap: 7px; text-align: center; border-top: 1px solid var(--line); }
.bigscreen { color: var(--fg-50); font-size: 12px; }

/* ---------- Box office ---------- */
.box-office { width: min(470px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; background: var(--bg-2); color: var(--fg); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.box-office::backdrop { background: rgba(4,4,8,.7); }
.ticket { display: grid; gap: 12px; padding: 20px; }
.ticket .eyebrow { font: 500 11px/1.2 var(--f-body); color: var(--fg-50); }
.ticket h2 { font-size: 26px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.ticket .sub { color: var(--fg-50); font-size: 13px; }
.shapes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.shape { padding: 6px 8px 0; aspect-ratio: 1; overflow: hidden; background: radial-gradient(ellipse at 50% 20%, #4A4A70, #22222F); border: 1px solid var(--line); border-radius: 8px; }
.shape:hover { border-color: var(--line-2); }
.shape .arm { display: none; }
.shape[aria-checked="true"] { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.ticket label { display: grid; gap: 5px; }
.ticket label span { font: 500 11px/1.2 var(--f-body); color: var(--fg-50); }
.ticket input { padding: 9px 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--fg); font-size: 16px; }
.map-wrap { display: grid; gap: 4px; justify-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.screen-mark { width: 60%; text-align: center; font: 500 10px/1 var(--f-body); color: var(--fg-50); border-top: 2px solid var(--fg-50); padding-top: 4px; margin-bottom: 3px; }
.seatmap { display: grid; gap: 3px; justify-items: center; }
.maprow { display: flex; gap: 3px; }
.dot { width: 17px; height: 14px; padding: 0; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg-3); }
.dot:not(:disabled):hover { border-color: var(--sun); }
.dot.taken { background: #000; border-color: #000; cursor: not-allowed; }
.dot.on { background: var(--sun); border-color: var(--sun); }
.seat-label { margin-top: 3px; color: var(--fg-50); font: 400 11px var(--f-mono); }
.ticket-actions { display: flex; align-items: center; gap: 14px; }
.go { flex: 1; padding: 10px; border: 0; border-radius: 999px; background: var(--sun); color: #0B0C1F; font-weight: 500; font-size: 14px; }
.go:hover { background: #fff; }
.lurk { background: none; border: 0; color: var(--fg-50); font-size: 13px; padding: 6px 2px; }
.lurk:hover { color: var(--fg); }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 8px 14px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.6); }

/* ---------- Phone: theater on top, armrest below ---------- */
@container (max-width: 620px) {
  .hype, .poll, .marquee:has(+ .sponsors:not([hidden])) { display: none; } /* On a phone the poll lives in the Play tab, not over the picture. */
  .topbar > * { padding: 0 10px; }
  .theater[data-floor="disco"] .rows, .theater[data-floor="grass"] .rows { transform: translateY(6cqh); }  /* standing heads stay off the picture */
  .topbar > .marquee.flash { display: flex; max-width: 60%; }
  .marquee { font-size: 12px; }
  .bubble { max-width: 74cqw; bottom: 30cqh; }
  .bubble-text { font-size: 13px; }
  .bubble-name { font-size: 10px; }
}
@media (max-width: 900px) {
  :root { --bar: 38px; }
  #app { flex-direction: column; }
  body[data-mode="seat"] .theater { flex: none; width: 100%; aspect-ratio: 4 / 3; max-height: 52dvh; --screen-w: min(94cqw, calc((100cqh - var(--bar)) * .68 * 16 / 9)); }
  .armrest { width: 100%; flex: 1; min-height: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .armrest > .panel { flex: none; }
  .panel { min-height: 0; overflow: visible; }
  .bigscreen { display: none; }
  .poll { width: 46cqw; right: 3cqw; }
}

/* ---------- Quiet mode: just the video, no theater ---------- */
body[data-quiet] .theater { --screen-w: 100cqw; }
body[data-quiet] .screen {
  left: 0; right: 0; top: var(--bar); bottom: 0;
  width: auto; transform: none; aspect-ratio: auto;
  box-shadow: none;
}
body[data-quiet] .projector video { object-fit: contain; }
body[data-quiet] .rows,
body[data-quiet] #fx,
body[data-quiet] #splats,
body[data-quiet] #pointers,
body[data-quiet] #puppets,
body[data-quiet] .wall,
body[data-quiet] .rail,
body[data-quiet] .sign,
body[data-quiet] #poll,
body[data-quiet] .featured,
body[data-quiet] #qr,
body[data-quiet] .bubble,
body[data-quiet] #slide-holder { display: none; }
body[data-quiet] .armrest { display: none; }
body[data-quiet] .aim { pointer-events: none; cursor: default; }
body[data-quiet] #quiet { color: var(--sun); }
@media (max-width: 900px) {
  body[data-quiet][data-mode="seat"] .theater { max-height: none; aspect-ratio: auto; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .act-slide * { animation: none !important; }
  .fig .head, .puppet *, .row::after, .fig .arm, .theater[data-floor="disco"] .fig { animation: none !important; }
  .theater[data-floor="disco"] .fig { transform: translateY(-46.7%); }
  .sponsor-track { animation: none; }
  .topbar > .sponsors { overflow-x: auto; }
}
