/* ============================================================
   OLEACĂ DE IMPRO · v2
   Dark stage, cream type, one amber spotlight.
   Motion rule: still at rest, alive under the cursor and on scroll.
   ============================================================ */

:root {
  --bg: #0e0b07;
  --bg-2: #14100a;
  --surface: #1b160f;
  --surface-2: #241d13;
  --paper: #f4ead2;
  --paper-2: #c9bea2;
  --mute: #8a7e64;
  --line: rgba(244, 234, 210, 0.12);
  --line-2: rgba(244, 234, 210, 0.24);
  --amber: #f4b41a;
  --amber-d: #d99c0c;
  --amber-soft: rgba(244, 180, 26, 0.14);
  --red: #e0492f;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gx: clamp(16px, 5vw, 88px);
  --sy: clamp(96px, 12vw, 184px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mx: 50vw;
  --my: 30vh;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }
::selection { background: var(--amber); color: var(--bg); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--amber); color: var(--bg); padding: 10px 16px; border-radius: 999px; font: 700 12px var(--mono); }
.skip:focus { top: 12px; }

/* ---------- stage atmosphere ---------- */
.stage-light {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(640px circle at var(--mx) var(--my), rgba(244, 180, 26, 0.075), transparent 62%);
}
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .hdr, .ftr { position: relative; z-index: 1; }

/* ---------- type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font: 600 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; transform-origin: left; transition: transform 1s var(--ease) .2s; }
.js-motion .eyebrow[data-reveal]:not(.is-in)::after { transform: scaleX(0); }

.h2 {
  font: 400 clamp(48px, 7vw, 112px)/.92 var(--display);
  text-transform: uppercase; letter-spacing: 0; margin: 0; text-wrap: balance;
}
.h2 em, .hand-em {
  font: 700 .74em/1 var(--hand); font-style: normal; text-transform: none;
  color: var(--amber); display: inline-block; transform: rotate(-2deg); letter-spacing: 0;
}
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--paper-2); max-width: 54ch; margin: 24px 0 0; }
.lede strong { color: var(--paper); font-weight: 600; }
.marker { color: var(--paper); background: linear-gradient(var(--amber-soft), var(--amber-soft)) 0 88% / 100% 40% no-repeat; padding: 0 2px; }

.wrap { max-width: 1440px; margin: 0 auto; }
.sec { padding: var(--sy) var(--gx); position: relative; }

.sec-num { position: absolute; top: clamp(28px, 4vw, 56px); right: var(--gx); text-align: right; pointer-events: none; line-height: 1; }
.sec-num b { display: block; font: 400 clamp(40px, 4.6vw, 72px)/1 var(--display); color: var(--mute); opacity: .55; }
.sec-num i { display: block; font: 600 20px/1 var(--hand); font-style: normal; color: var(--amber); transform: rotate(-4deg); margin-top: 4px; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; isolation: isolate; overflow: hidden;
  padding: 17px 26px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper);
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease), border-color .3s, color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--bg); border-color: var(--paper); }
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.btn--primary::before { background: var(--paper); }
.btn--sm { padding: 12px 18px; font-size: 11px; }

.link-u { position: relative; color: var(--amber); }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform-origin: right; transition: transform .45s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }

/* ---------- reveal ---------- */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gx);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled { background: rgba(14, 11, 7, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { justify-self: start; display: block; }
.hdr__logo img { height: 40px; width: auto; transition: transform .5s var(--ease); transform-origin: left center; }
.hdr__logo:hover img { transform: scale(1.6) rotate(-3deg); }

.hdr__nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.roll { position: relative; display: inline-block; overflow: hidden; font: 600 11px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2); padding: 6px 0; }
.roll span { display: block; transition: transform .45s var(--ease); }
.roll span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--amber); }
.roll:hover span { transform: translateY(-100%); }
.roll[aria-current="page"] { color: var(--amber); }
.roll[aria-current="page"]::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber); }

.hdr__show {
  justify-self: end; display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color .3s, background .3s;
}
.hdr__show:hover { border-color: var(--amber); background: var(--amber-soft); }
.hdr__show b { display: block; font: 700 11px/1.2 var(--mono); letter-spacing: .16em; }
.hdr__show small { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); flex: none; }

.burger { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--hdr) + 24px) var(--gx) 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font: 400 clamp(44px, 12vw, 72px)/1.05 var(--display); text-transform: uppercase; border-bottom: 1px solid var(--line);
  padding: 6px 0; display: flex; justify-content: space-between; align-items: baseline;
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease), color .2s;
}
.menu nav a small { font: 600 11px var(--mono); color: var(--mute); letter-spacing: .2em; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--amber); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .25s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font: 500 12px var(--mono); color: var(--paper-2); letter-spacing: .08em; }
.menu__foot a { color: var(--amber); }

@media (max-width: 1080px) {
  .hdr { grid-template-columns: 1fr auto; }
  .hdr__nav { display: none; }
  .hdr__show { display: none; }
  .burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; padding: calc(var(--hdr) + clamp(24px, 4vw, 56px)) var(--gx) clamp(24px, 3vw, 40px);
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); position: relative; overflow: hidden;
}
.hero__grid > * { min-width: 0; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 72px); align-items: center; max-width: 1440px; width: 100%; margin: 0 auto; }
.hero__title {
  font: 400 clamp(68px, 10.4vw, 168px)/.9 var(--display); text-transform: uppercase; margin: 0 0 28px; letter-spacing: 0;
}
.ln { display: block; padding-bottom: .02em; }
.ln.clip { overflow: hidden; }
.w { display: inline-block; will-change: transform; }
.w.hand { font: 700 .6em/1 var(--hand); text-transform: none; color: var(--amber); transform: rotate(-2deg); margin-left: .12em; vertical-align: .08em; }
.w.hand.sm { font-weight: 400; font-size: .34em; color: var(--mute); margin-left: .18em; vertical-align: .55em; }
.ln--lynx { display: block; position: relative; width: fit-content; }
.lynx {
  position: absolute; left: 100%; top: 50%; width: .92em; height: auto; margin-left: -.06em; z-index: -1;
  opacity: 0; transform: translate(-70%, -50%) rotate(-10deg) scale(.6);
  transition: transform .7s var(--ease), opacity .4s;
  pointer-events: none; user-select: none;
}
.hero:hover .lynx, .hero:focus-within .lynx { opacity: 1; transform: translate(0, -55%) rotate(8deg) scale(1); }
@media (hover: none) { .lynx { opacity: 1; transform: translate(0, -55%) rotate(8deg); } }
.ln--script { font-size: .5em; line-height: 1.15; margin-top: .12em; }
.w.script { font: 700 1em/1.1 var(--hand); text-transform: none; color: var(--amber); position: relative; transform: rotate(-1.5deg); }
.w.script::after {
  content: ""; position: absolute; left: 0; right: -.04em; bottom: .02em; height: .1em; background: var(--amber); border-radius: 2px; z-index: -1;
  transform-origin: left; transform: scaleX(0); animation: draw 1.1s var(--ease) 1.2s forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

.hero__lede { font-size: clamp(16px, 1.2vw, 18px); color: var(--paper-2); max-width: 46ch; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; justify-self: end; width: 100%; display: flex; justify-content: flex-end; perspective: 1200px; }
.polaroid {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(100%, 460px, calc((100svh - 300px) * .74));
  background: var(--surface); border: 1px solid var(--amber); border-radius: 4px; padding: 14px 14px 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4);
  transform: rotate(-2deg) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--ease);
  transform-style: preserve-3d;
}
.polaroid__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); border-radius: 2px; }
.reel { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.reel li { position: absolute; inset: 0; opacity: 0; animation: reel-fade 24s linear infinite; }
.reel li:nth-child(2) { animation-delay: 6s; }
.reel li:nth-child(3) { animation-delay: 12s; }
.reel li:nth-child(4) { animation-delay: 18s; }
.reel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); animation: kenburns 24s ease-in-out infinite; animation-delay: inherit; }
.reel li:nth-child(1) img { transform-origin: 30% 40%; }
.reel li:nth-child(2) img { transform-origin: 70% 30%; }
.reel li:nth-child(3) img { transform-origin: 40% 70%; }
.reel li:nth-child(4) img { transform-origin: 60% 60%; }
@keyframes reel-fade { 0% { opacity: 0; } 3% { opacity: 1; } 23% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kenburns { 0% { transform: scale(1.04) translate(-2%, 1%); } 28% { transform: scale(1.22) translate(2%, -1.5%); } 100% { transform: scale(1.22) translate(2%, -1.5%); } }
.polaroid__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,11,7,.45)); pointer-events: none; }
.polaroid figcaption { text-align: center; margin-top: 12px; transform: rotate(-1.5deg); line-height: 1.05; }
.polaroid figcaption span { display: block; font: 600 clamp(20px, 2vw, 26px)/1.05 var(--hand); color: var(--paper); }
.polaroid figcaption em { display: block; font: 700 clamp(24px, 2.4vw, 32px)/1.05 var(--hand); font-style: normal; color: var(--amber); }

.stamp {
  position: absolute; left: -28px; bottom: 22%; z-index: 3; transform: rotate(-9deg) translateZ(40px);
  background: var(--amber); color: var(--bg); border-radius: 4px; padding: 10px 14px 9px; text-align: center; line-height: 1;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7);
}
.stamp b { display: block; font: 700 10px var(--mono); letter-spacing: .2em; }
.stamp strong { display: block; font: 400 46px/1 var(--display); margin: 2px 0; }
.stamp small { display: block; font: 700 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; }

.hero__bar {
  max-width: 1440px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; border-top: 1px solid var(--line);
}
.hero__bar > * { padding: 18px 24px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.hero__bar > * + * { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__bar small { font: 600 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hero__bar strong { font: 400 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.hero__bar a strong { transition: color .2s; }
.hero__bar a:hover strong { color: var(--amber); }
.scroll-cue { align-items: center; justify-content: center; font: 600 10px var(--mono); letter-spacing: .2em; color: var(--mute); text-transform: uppercase; }
.scroll-cue svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; justify-content: center; margin-top: 8px; }
  .polaroid { width: min(86vw, 400px); }
  .stamp { left: -10px; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__bar > *:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scroll-cue { display: none !important; }
  .hero__bar > *:first-child { grid-column: 1 / -1; padding-right: 0; }
  .hero__bar > *:nth-child(2) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .hero__bar > *:nth-child(3) { border-left: 1px solid var(--line); padding-left: 16px; }
  .hero__bar strong { font-size: 19px; }
}
@media (max-width: 700px) {
  .sec-num { display: none; }
  .ticket__title { line-height: 1.08; }
}

/* ============================================================
   SALA DECIDE (suggestion deck)
   ============================================================ */
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: center; max-width: 1440px; margin: 0 auto; }
.deck { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.deck__stack { position: relative; width: min(100%, 460px); aspect-ratio: 5 / 4; }
.deck__ghost, .sugg {
  position: absolute; inset: 0; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface);
}
.deck__ghost:nth-child(1) { transform: rotate(5deg) translate(14px, 8px); opacity: .5; }
.deck__ghost:nth-child(2) { transform: rotate(-3deg) translate(-10px, 4px); opacity: .75; }
.sugg {
  background: var(--paper); color: var(--bg); border-color: var(--paper);
  padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.8); transform: rotate(-1deg);
}
.sugg__k { font: 700 11px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #6d5f43; }
.sugg__v { font: 700 clamp(44px, 5.4vw, 76px)/.95 var(--hand); color: var(--bg); text-wrap: balance; }
.sugg__f { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--mono); letter-spacing: .14em; color: #6d5f43; text-transform: uppercase; }
.sugg__f b { font: 400 28px/1 var(--display); color: var(--amber-d); letter-spacing: 0; }
.deck__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn svg.spin-on-hover { transition: transform .6s var(--ease); }
.btn:hover svg.spin-on-hover { transform: rotate(-180deg); }

@media (max-width: 900px) { .decide { grid-template-columns: 1fr; } }

/* ============================================================
   SHOW (ticket)
   ============================================================ */
.show { background: var(--bg-2); border-block: 1px solid var(--line); }
.show__head { max-width: 1440px; margin: 0 auto clamp(40px, 5vw, 72px); }
.show__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 64px); align-items: start; }

.ticket {
  --notch: 18px;
  display: grid; grid-template-columns: auto 1fr auto; background: var(--surface); border-radius: 10px; position: relative;
  border: 1px solid var(--line-2);
  -webkit-mask: radial-gradient(circle var(--notch) at var(--cut, calc(100% - 150px)) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at var(--cut, calc(100% - 150px)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at var(--cut, calc(100% - 150px)) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at var(--cut, calc(100% - 150px)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__date { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; justify-content: center; min-width: 180px; }
.ticket__date small { font: 700 12px var(--mono); letter-spacing: .24em; color: var(--amber); }
.ticket__date .ticket__num { font: 400 clamp(96px, 10vw, 156px)/.86 var(--display); letter-spacing: 0; color: var(--paper); display: block; margin: 8px 0; }
.ticket__date span { font: 600 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2); }
.ticket__date em { display: block; margin-top: 14px; font: 700 26px/1 var(--hand); font-style: normal; color: var(--amber); }

.ticket__body { padding: clamp(24px, 3vw, 44px); min-width: 0; }
.ticket__title { font: 400 clamp(28px, 2.8vw, 44px)/1 var(--display); text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; }
.ticket__sub { color: var(--paper-2); margin: 0 0 24px; max-width: 52ch; }
.facts { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.facts li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts b { font: 600 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.ticket__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ps { margin: 26px 0 0; font: 600 22px/1.15 var(--hand); color: var(--paper-2); transform: rotate(-1.5deg); }
.ps b { color: var(--amber); margin-right: 6px; }

.ticket__stub {
  width: 150px; border-left: 2px dashed var(--line-2); padding: 28px 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
}
.ticket__stub strong { font: 400 44px/1 var(--display); color: var(--amber); }
.ticket__stub small { font: 600 10px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.barcode { width: 100%; height: 56px; background: repeating-linear-gradient(90deg, var(--paper-2) 0 2px, transparent 2px 4px, var(--paper-2) 4px 5px, transparent 5px 9px, var(--paper-2) 9px 12px, transparent 12px 14px); opacity: .6; }

.sched h3 { font: 600 11px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin: 6px 0 16px; }
.sched ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sched li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.sched li:hover { padding-left: 8px; }
.sched li b { font: 400 34px/1 var(--display); }
.sched li b small { display: block; font: 600 10px var(--mono); letter-spacing: .16em; color: var(--mute); margin-top: 4px; }
.sched li span { font: 600 20px/1.15 var(--hand); color: var(--paper-2); }
.sched__note { margin: 16px 0 0; font-size: 13px; color: var(--mute); }

@media (max-width: 1100px) { .show__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket__date { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 10px 14px; text-align: left; }
  .ticket__date .ticket__num { margin: 0; font-size: 88px; }
  .ticket__date em { margin: 0; }
  .ticket__stub { width: auto; border-left: 0; border-top: 2px dashed var(--line-2); flex-direction: row; gap: 16px; }
  .barcode { width: 90px; height: 40px; }
}

/* ============================================================
   RULES (Ce-i improv?)
   ============================================================ */
.rules { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 120px); }
.rules__aside { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
.rules__count { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; font: 600 12px var(--mono); letter-spacing: .2em; color: var(--mute); }
.rules__count b { font: 400 64px/1 var(--display); color: var(--amber); letter-spacing: 0; min-width: 1.2em; }
.rules__list { list-style: none; margin: 0; padding: 0; }
.rule { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 88px 1fr; gap: 24px; transition: opacity .6s var(--ease); }
.js-motion .rule { opacity: .26; }
.js-motion .rule.is-active { opacity: 1; }
.rule__n { font: 400 64px/.9 var(--display); color: var(--amber); }
.rule h3 { font: 400 clamp(28px, 3vw, 44px)/1 var(--display); text-transform: uppercase; margin: 4px 0 14px; letter-spacing: .01em; }
.rule p { margin: 0; color: var(--paper-2); max-width: 50ch; font-size: 17px; }
.rule p strong { color: var(--paper); }
@media (max-width: 900px) {
  .rules { grid-template-columns: 1fr; }
  .rules__aside { position: static; }
  .rules__count { display: none; }
  .rule { grid-template-columns: 56px 1fr; }
  .rule__n { font-size: 44px; }
  .js-motion .rule { opacity: 1; }
}

/* ============================================================
   BAND
   ============================================================ */
.band__head { max-width: 1440px; margin: 0 auto clamp(40px, 5vw, 72px); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.band__note { font: 600 26px/1.1 var(--hand); color: var(--paper-2); transform: rotate(-3deg); display: inline-flex; gap: 10px; align-items: center; }
.band__note svg { width: 56px; color: var(--mute); }
.band__grid { max-width: 1440px; margin: 0 auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; perspective: 1200px; }
.member {
  --rx: 0deg; --ry: 0deg; --gx2: 50%; --gy2: 30%;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease), border-color .3s;
}
.member:hover { border-color: var(--amber); }
.member__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); }
.member__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); transition: filter .7s var(--ease), transform 1s var(--ease); }
.member__ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx2) var(--gy2), rgba(244,180,26,.35), transparent 55%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s; }
.member:hover .member__ph img { filter: none; transform: scale(1.05); }
.member:hover .member__ph::after { opacity: 1; }
.member__tag { position: absolute; left: 12px; top: 12px; z-index: 2; font: 700 10px var(--mono); letter-spacing: .14em; background: var(--amber); color: var(--bg); padding: 4px 8px; border-radius: 3px; transform: rotate(-4deg) translateY(-6px); opacity: 0; transition: .4s var(--ease); }
.member:hover .member__tag { opacity: 1; transform: rotate(-4deg); }
.member__body { padding: 18px 18px 22px; }
.member h3 { font: 400 26px/1 var(--display); text-transform: uppercase; margin: 0 0 6px; letter-spacing: .03em; }
.member__role { font: 600 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.member__bio { font-size: 14px; color: var(--paper-2); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.55; }
@media (max-width: 1180px) {
  .band__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; margin-right: calc(var(--gx) * -1); padding-right: var(--gx); scrollbar-width: none; }
  .band__grid::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 min(72vw, 280px); scroll-snap-align: start; }
}
@media (hover: none) { .member__ph img { filter: saturate(.9); } }

/* ============================================================
   GALLERY TEASER
   ============================================================ */
.teaser { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.fan { position: relative; height: clamp(320px, 36vw, 480px); display: block; }
.fan__card {
  position: absolute; left: 50%; top: 50%; width: clamp(160px, 18vw, 250px); aspect-ratio: 4 / 5;
  background: var(--surface); border: 1px solid var(--line-2); padding: 8px 8px 30px; border-radius: 4px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
  transform: translate(-50%, -50%) rotate(var(--r)) translateX(var(--x0));
  transition: transform .8s var(--ease), border-color .3s;
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; }
.fan__card span { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 600 17px/1 var(--hand); color: var(--amber); }
.fan__card:nth-child(1) { --r: -12deg; --x0: -40%; --x1: -120%; }
.fan__card:nth-child(2) { --r: -3deg; --x0: -12%; --x1: -40%; }
.fan__card:nth-child(3) { --r: 5deg; --x0: 14%; --x1: 40%; }
.fan__card:nth-child(4) { --r: 13deg; --x0: 40%; --x1: 120%; }
.fan:hover .fan__card { transform: translate(-50%, -50%) rotate(calc(var(--r) * .6)) translateX(var(--x1)); }
.fan:hover .fan__card:hover { border-color: var(--amber); transform: translate(-50%, -54%) rotate(0deg) translateX(var(--x1)) scale(1.06); z-index: 5; }
@media (max-width: 900px) {
  .teaser { grid-template-columns: 1fr; }
  .fan__card:nth-child(1) { --x1: -70%; } .fan__card:nth-child(4) { --x1: 70%; }
}

/* ============================================================
   FOOTER / FINALE
   ============================================================ */
.finale { text-align: center; padding: var(--sy) var(--gx) clamp(64px, 8vw, 120px); position: relative; overflow: hidden; }
.finale::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 120vw); height: 100%; transform: translateX(-50%); background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(244,180,26,.16), transparent 70%); pointer-events: none; }
.finale__t { font: 400 clamp(56px, 11vw, 184px)/.88 var(--display); text-transform: uppercase; margin: 0 0 36px; position: relative; text-wrap: balance; }
.finale__t em { display: block; font: 700 .62em/1 var(--hand); font-style: normal; text-transform: none; color: var(--amber); transform: rotate(-2deg); margin-top: .06em; }
.finale__sub { font: 600 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2); margin: 0 0 36px; display: inline-flex; gap: 10px; align-items: center; }
.finale__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }

.ftr { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) var(--gx) 28px; }
.ftr__cols { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ftr__brand img { height: 52px; width: auto; margin-bottom: 16px; }
.ftr__brand p { margin: 0; font: 600 22px/1.15 var(--hand); color: var(--paper-2); max-width: 22ch; }
.ftr h4 { font: 600 10px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin: 6px 0 14px; }
.ftr p, .ftr li { font-size: 14px; color: var(--paper-2); margin: 0; line-height: 1.75; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr a:not(.btn) { transition: color .2s; }
.ftr a:not(.btn):hover { color: var(--amber); }
.ftr__mute { color: var(--mute); }
.ftr__bottom { max-width: 1440px; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--mute); }
.ftr__top { color: var(--paper-2); }
@media (max-width: 900px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ============================================================
   PAGE HEAD (inner pages)
   ============================================================ */
.phead { padding: calc(var(--hdr) + clamp(56px, 8vw, 120px)) var(--gx) clamp(48px, 6vw, 88px); max-width: 1440px; margin: 0 auto; position: relative; }
.phead__t { font: 400 clamp(60px, 10vw, 160px)/.9 var(--display); text-transform: uppercase; margin: 0; text-wrap: balance; }
.phead__t em { font: 700 .62em/1 var(--hand); font-style: normal; text-transform: none; color: var(--amber); display: inline-block; transform: rotate(-2deg); }
.phead .lede em { font: 700 1.25em/1 var(--hand); font-style: normal; color: var(--amber); }

/* ---------- timeline ---------- */
.tl { max-width: 1100px; margin: 0 auto; padding: 0 var(--gx) var(--sy); position: relative; }
.tl__rail { position: absolute; left: calc(var(--gx) + 150px); top: 0; bottom: var(--sy); width: 1px; background: var(--line-2); }
.tl__fill { position: absolute; inset: 0; background: var(--amber); transform-origin: top; }
.tl ol { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 150px 1fr; gap: 0 56px; padding-bottom: clamp(48px, 6vw, 88px); position: relative; }
.tl li::before { content: ""; position: absolute; left: 150px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--amber); transform: translateX(-6px); transition: background .4s, box-shadow .4s; }
.tl li.is-in::before, .tl li:hover::before { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft); }
.tl__y { font: 400 clamp(44px, 5vw, 68px)/1 var(--display); color: var(--amber); text-align: right; padding-right: 8px; position: sticky; top: calc(var(--hdr) + 32px); align-self: start; }
.tl__y small { display: block; font: 600 11px var(--mono); letter-spacing: .16em; color: var(--mute); margin-top: 6px; }
.tl__b { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.4vw, 32px); transition: border-color .3s, transform .6s var(--ease); }
.tl li:hover .tl__b { border-color: var(--amber); transform: translateX(6px); }
.tl li.is-key .tl__b { border-color: rgba(244,180,26,.5); background: linear-gradient(135deg, rgba(244,180,26,.08), transparent 60%), var(--surface); }
.tl__b h3 { font: 400 clamp(22px, 2.2vw, 30px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 12px; letter-spacing: .02em; }
.tl__b p { margin: 0; color: var(--paper-2); }
.tl__b em { font-style: normal; color: var(--paper); font-weight: 600; }
.tl__end { text-align: center; padding: 0 var(--gx) var(--sy); }
.tl__end p { font: 600 clamp(26px, 3vw, 38px)/1.15 var(--hand); color: var(--paper); transform: rotate(-1.5deg); margin: 0 0 28px; }
.tl__end div { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .tl__rail { left: var(--gx); }
  .tl li { grid-template-columns: 1fr; padding-left: 32px; gap: 10px; }
  .tl li::before { left: 0; }
  .tl__y { text-align: left; position: static; }
}

/* ---------- gallery page ---------- */
.gtools { max-width: 1440px; margin: 0 auto; padding: 0 var(--gx) 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; position: relative; }
.seg button { position: relative; z-index: 1; padding: 10px 16px; font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-2); border-radius: 999px; transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--bg); background: var(--amber); }
.seg button sup { font-size: 9px; opacity: .7; margin-left: 4px; }
.gtools__hint { font: 600 22px/1 var(--hand); color: var(--mute); transform: rotate(-2deg); }

.table { position: relative; height: clamp(900px, 150vw, 1500px); margin: 0 var(--gx) var(--sy); border-radius: 10px; border: 1px dashed var(--line); background: radial-gradient(circle at 50% 30%, rgba(244,180,26,.05), transparent 60%); overflow: hidden; }
.table .g { position: absolute; width: clamp(170px, 17vw, 250px); }
.g { list-style: none; cursor: grab; touch-action: none; }
.g:active { cursor: grabbing; }
.g__f { background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 8px 34px; position: relative; box-shadow: 0 20px 40px -18px rgba(0,0,0,.85); transition: border-color .3s, box-shadow .3s; }
.g:hover .g__f { border-color: var(--amber); box-shadow: 0 30px 60px -18px rgba(0,0,0,.9); }
.g__f img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); transition: filter .4s; pointer-events: none; }
.g:hover .g__f img { filter: none; }
.g[data-kind="video"] .g__f img { aspect-ratio: 16 / 12; }
.g__c { position: absolute; left: 10px; right: 10px; bottom: 8px; font: 600 17px/1 var(--hand); color: var(--amber); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g__play { position: absolute; left: 50%; top: calc(50% - 13px); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--amber); color: var(--bg); display: grid; place-items: center; transition: transform .4s var(--ease); }
.g__play svg { width: 18px; height: 18px; margin-left: 3px; }
.g:hover .g__play { transform: scale(1.15); }
.g.is-hidden { display: none; }

.table.is-grid { height: auto; border: 0; background: none; overflow: visible; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 0; margin-top: 0; }
.table.is-grid .g { position: relative; left: auto !important; top: auto !important; width: auto; transform: none !important; cursor: zoom-in; touch-action: auto; }
.table.is-grid .g__f img, .table.is-grid .g[data-kind="video"] .g__f img { aspect-ratio: 4 / 5; }

.lb { position: fixed; inset: 0; z-index: 250; background: rgba(8, 6, 4, .94); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lb__media { max-width: min(1100px, 100%); width: 100%; display: flex; justify-content: center; transform: scale(.96); transition: transform .5s var(--ease); }
.lb.is-open .lb__media { transform: none; }
.lb__media img { max-height: 78svh; width: auto; max-width: 100%; border-radius: 4px; }
.lb__media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; }
.lb__cap { font: 600 26px/1 var(--hand); color: var(--amber); text-align: center; }
.lb__count { font: 600 11px var(--mono); letter-spacing: .2em; color: var(--mute); }
.lb__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; justify-self: center; transition: border-color .3s, background .3s, color .3s; }
.lb__btn:hover { border-color: var(--amber); background: var(--amber); color: var(--bg); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 700px) {
  .lb { grid-template-columns: 1fr; padding: 72px 12px 24px; }
  .lb__prev, .lb__next { position: absolute; bottom: 20px; }
  .lb__prev { left: 20px; } .lb__next { right: 20px; }
  .table:not(.is-grid) { height: 300vw; }
}

/* ---------- contact page ---------- */
.contact { max-width: 1440px; margin: 0 auto; padding: 0 var(--gx) var(--sy); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows a, .rows div { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease); }
.rows small { font: 600 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.rows strong { font: 400 clamp(22px, 2.2vw, 32px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.rows svg { width: 22px; height: 22px; color: var(--mute); transition: transform .45s var(--ease), color .3s; }
.rows a:hover { padding-left: 12px; }
.rows a:hover strong { color: var(--amber); }
.rows a:hover svg { color: var(--amber); transform: translate(4px, -4px); }

.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--hdr) + 24px); }
.form h2 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.form > p { color: var(--paper-2); margin: 0 0 24px; font-size: 15px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--paper); font-size: 17px;
  padding: 26px 0 10px; outline: 0; resize: vertical; transition: border-color .3s;
}
.field textarea { min-height: 120px; }
.field label { position: absolute; left: 0; top: 24px; font-size: 16px; color: var(--mute); pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .35s var(--ease); transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--amber); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.72); color: var(--amber); letter-spacing: .04em; }
.field__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field input:focus ~ .field__bar, .field textarea:focus ~ .field__bar { transform: scaleX(1); }
.form .btn { width: 100%; justify-content: center; margin-top: 10px; }
.form__ok { display: none; text-align: center; padding: 28px 0 8px; }
.form__ok b { display: block; font: 700 40px/1 var(--hand); color: var(--amber); margin-bottom: 8px; }
.form.is-sent .form__fields { display: none; }
.form.is-sent .form__ok { display: block; animation: pop .7s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .form { position: static; } .rows a, .rows div { grid-template-columns: 1fr auto; } .rows small { grid-column: 1 / -1; } }

/* ============================================================
   CURSOR FOLLOWER (fine pointers only)
   ============================================================ */
.cursor { position: fixed; left: 0; top: 0; z-index: 260; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--amber); mix-blend-mode: difference; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; display: grid; place-items: center; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--paper); mix-blend-mode: normal; }
.cursor span { font: 700 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .25s; }
.cursor.is-big span { opacity: 1; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reel li:nth-child(1) { opacity: 1; animation: none; }
  .reel img { animation: none; transform: none; }
  .w.script::after { transform: none; }
}

/* ============================================================
   LIVE (phone, during the show)
   ============================================================ */
.live { min-height: 100svh; }
.lv-top { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; padding-top: max(12px, env(safe-area-inset-top)); background: rgba(14,11,7,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lv-top__brand img { height: 32px; width: auto; }
.onair { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--red); color: var(--paper); font: 700 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.onair__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.lv { max-width: 560px; margin: 0 auto; padding: 16px 16px 64px; position: relative; z-index: 1; }
.lv-ctx { display: flex; justify-content: space-between; gap: 12px; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 4px 2px 14px; }
.lv-ctx b { color: var(--amber); }

.game { position: relative; background: var(--paper); color: var(--bg); border-radius: 18px; padding: 24px 20px 22px; margin-bottom: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); overflow: hidden; }
.game__tag { margin: 0 0 14px; font: 700 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-d); }
.game__t { font: 400 clamp(36px, 10vw, 52px)/.95 var(--display); text-transform: uppercase; margin: 0 0 8px; letter-spacing: 0; }
.game__sub { margin: 0 0 20px; color: #5d5038; font-size: 15px; }
.game__form { position: relative; display: grid; gap: 10px; }
.game__in { width: 100%; font: 400 24px/1.2 var(--display); color: var(--bg); background: rgba(14,11,7,.05); border: 1.5px solid rgba(14,11,7,.2); border-radius: 12px; padding: 16px 52px 16px 16px; outline: 0; transition: border-color .2s, background .2s; }
.game__in::placeholder { color: rgba(14,11,7,.35); }
.game__in:focus { border-color: var(--amber-d); background: #fff8e6; }
.game__left { position: absolute; right: 14px; top: 20px; font: 600 11px var(--mono); color: rgba(14,11,7,.4); }
.game .btn { justify-content: center; padding: 18px; font-size: 13px; }
.game .btn--primary::before { background: var(--bg); }
.game .btn--primary:hover { color: var(--paper); border-color: var(--bg); }
.game__fine { margin: 12px 0 0; font: 600 11px var(--mono); letter-spacing: .08em; color: #6d5f43; }

.vote { display: grid; gap: 8px; }
.vote__opt { position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(14,11,7,.16); text-align: left; overflow: hidden; color: var(--bg); transition: border-color .2s; }
.vote__opt:not(:disabled):hover { border-color: var(--bg); }
.vote__bar { position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(244,180,26,.32); z-index: 0; transition: width .9s var(--ease); }
.vote__opt > :not(.vote__bar) { position: relative; z-index: 1; }
.vote__e { font-size: 24px; }
.vote__l { font: 400 20px/1 var(--display); text-transform: uppercase; }
.vote__p { font: 700 13px var(--mono); }
.vote__opt.is-mine { border-color: var(--bg); }
.vote__opt.is-mine .vote__bar { background: var(--amber); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(14,11,7,.2); font: 600 15px var(--sans); color: var(--bg); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.chip:hover { border-color: var(--bg); }
.chip.is-on { background: var(--bg); color: var(--amber); border-color: var(--bg); transform: rotate(-2deg) scale(1.04); }

.rate { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rate__b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 10px; border-radius: 12px; border: 1.5px solid rgba(14,11,7,.14); transition: background .25s, border-color .25s; }
.rate__b span { font-size: 28px; filter: grayscale(.8); transition: filter .25s, transform .3s var(--ease); }
.rate__b small { font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #6d5f43; text-align: center; }
.rate__b.is-on { background: rgba(244,180,26,.35); border-color: var(--amber-d); }
.rate__b.is-on span { filter: none; transform: scale(1.15); }

.sent { position: absolute; right: 16px; top: 16px; z-index: 5; border: 3px solid var(--red); color: var(--red); border-radius: 8px; padding: 6px 12px; text-align: center; transform: rotate(-8deg); background: rgba(244,234,210,.92); pointer-events: none; max-width: 60%; }
.sent b { display: block; font: 400 26px/1 var(--display); text-transform: uppercase; }
.sent span { display: block; font: 700 18px/1 var(--hand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.react { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 22px; }
.react__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 12px; font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-2); }
.react__head b { color: var(--amber); font-size: 12px; font-variant-numeric: tabular-nums; }
.react__btns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.react__btns button { aspect-ratio: 1; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: clamp(22px, 6vw, 28px); transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.react__btns button:hover { border-color: var(--amber); background: var(--surface-2); }
.bursts { position: fixed; inset: 0; pointer-events: none; z-index: 150; }
.bursts span { position: absolute; font-size: 30px; margin: -15px 0 0 -15px; will-change: transform, opacity; }

.feed__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 10px; }
.feed__head h2 { margin: 0; font: 600 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.feed__head h2::before { content: "\2605  "; }
.feed__head span { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.feed__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 6px; }
.feed__list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.feed__list li.is-you { border-color: var(--amber); background: linear-gradient(90deg, rgba(244,180,26,.12), transparent 70%), var(--surface); }
.feed__list li.is-empty { display: block; color: var(--mute); font: 600 18px var(--hand); text-align: center; }
.feed__list .who { font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.feed__list .is-you .who { color: var(--amber); }
.feed__list .what { font: 700 21px/1.1 var(--hand); color: var(--paper); }
.feed__list .when { font: 500 10px var(--mono); color: var(--mute); }

.demo { border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px; margin-bottom: 22px; }
.demo p { margin: 0 0 10px; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.demo__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.demo__btns button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 12px var(--sans); color: var(--paper-2); }
.demo__btns button[aria-pressed="true"] { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.lv-help { text-align: center; font: 600 19px/1.3 var(--hand); color: var(--paper-2); transform: rotate(-1deg); margin: 0; }

/* ============================================================
   LIVE v2: phases, choices, likes, onboarding
   ============================================================ */
.onair[data-phase="break"] { background: var(--amber); color: var(--bg); }
.onair[data-phase="break"] .onair__dot { background: var(--bg); }
.onair[data-phase="idle"] { background: var(--paper); color: var(--bg); }
.onair[data-phase="idle"] .onair__dot { background: var(--red); }
.onair[data-phase="end"] { background: var(--surface-2); color: var(--paper-2); }
.onair[data-phase="end"] .onair__dot { animation: none; background: var(--mute); }

.lv-me { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 6px 10px; margin: -6px -10px; border-radius: 999px; transition: background .2s, color .2s; }
.lv-me b { color: var(--paper-2); }
.lv-me:hover { background: var(--surface); color: var(--paper-2); }

.lv-banner { display: flex; gap: 10px; align-items: center; background: var(--amber); color: var(--bg); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.lv-banner p { margin: 0; font: 700 15px/1.3 var(--sans); }
.lv-banner[hidden] { display: none; }

.game__row { display: flex; gap: 10px; flex-wrap: wrap; }
.game__row .btn { flex: 1; justify-content: center; }
.game .btn:not(.btn--primary) { color: var(--bg); border-color: rgba(14,11,7,.25); }
.game .btn:not(.btn--primary)::before { background: var(--bg); }
.game .btn:not(.btn--primary):hover { color: var(--paper); }

.onstage { background: var(--bg); color: var(--paper); border-radius: 14px; padding: 18px 16px 16px; margin: 6px 0 16px; text-align: center; transform: rotate(-1deg); }
.onstage small { display: block; font: 700 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.onstage b { display: block; font: 700 clamp(38px, 11vw, 56px)/1 var(--hand); color: var(--paper); margin: 6px 0 4px; overflow-wrap: anywhere; }
.onstage span { font: 600 11px var(--mono); letter-spacing: .06em; color: var(--paper-2); }

.mine, .closed { border: 1.5px dashed rgba(14,11,7,.3); border-radius: 14px; padding: 16px; display: grid; gap: 6px; justify-items: start; }
.mine small { font: 700 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #6d5f43; }
.mine b { font: 700 34px/1 var(--hand); overflow-wrap: anywhere; }
.mine .btn { margin-top: 6px; padding: 10px 16px; }
.closed b { font: 400 24px/1 var(--display); text-transform: uppercase; }
.closed span { color: #5d5038; font-size: 14px; }

.countdown { font: 400 clamp(72px, 24vw, 120px)/.9 var(--display); margin: 4px 0 12px; font-variant-numeric: tabular-nums; }

.ideas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.ideas span { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6d5f43; margin-right: 2px; }
.ideas button { padding: 7px 12px; border-radius: 999px; background: rgba(14,11,7,.07); font: 600 13px var(--sans); color: var(--bg); transition: background .2s; }
.ideas button:hover { background: rgba(244,180,26,.4); }
.sheet__skip { display: block; margin: 12px auto 0; font: 600 12px var(--sans); color: #6d5f43; text-decoration: underline; text-underline-offset: 3px; }

/* choices: one component, three looks */
.opts { display: grid; gap: 8px; }
.opts--chips { display: flex; flex-wrap: wrap; }
.opts--scale { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; border-radius: 12px; border: 1.5px solid rgba(14,11,7,.18); color: var(--bg); overflow: hidden; text-align: left; transition: border-color .2s, transform .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.opt:not(:disabled):hover { border-color: var(--bg); }
.opt:not(:disabled):active { transform: scale(.98); }
.opt > :not(.opt__bar) { position: relative; z-index: 1; }
.opt__bar { position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(244,180,26,.3); transition: width .9s var(--ease); }
.opt__l { font: 400 20px/1.1 var(--display); text-transform: uppercase; }
.opt__p { font: 700 13px var(--mono); }
.opt.is-mine { border-color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bg); }
.opt.is-mine .opt__bar { background: var(--amber); }
.opt.is-mine .opt__l::after { content: " ✓"; }
.opt:disabled { cursor: default; }
.opt--chips { border-radius: 999px; padding: 11px 16px; }
.opt--chips .opt__l { font: 600 15px var(--sans); text-transform: none; }
.opt--chips .opt__p { font-size: 11px; }
.opt--scale { flex-direction: column; justify-content: flex-end; padding: 12px 4px 10px; text-align: center; min-height: 92px; }
.opt--scale .opt__bar { inset: auto 0 0 0; width: auto; height: var(--p); transition: height .9s var(--ease); }
.opt--scale .opt__l { font: 600 10px/1.3 var(--mono); letter-spacing: .04em; }
.opt--scale .opt__l::first-letter { font-size: 26px; }
.opt--scale.is-mine .opt__l::after { content: ""; }

/* feed likes */
.feed[hidden], .react[hidden] { display: none; }
.feed__head { gap: 12px; }
.feed__sort { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.feed__sort button { padding: 5px 11px; border-radius: 999px; font: 700 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.feed__sort button[aria-pressed="true"] { background: var(--paper); color: var(--bg); }
.feed__hint { margin: 0 4px 10px; font-size: 13px; color: var(--mute); }
.feed__list li { grid-template-columns: auto 1fr auto; }
.feed__list li.is-picked { border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
.feed__list li.is-picked .what::after { content: "  · pe scenă"; font: 700 10px var(--mono); letter-spacing: .1em; color: var(--amber); text-transform: uppercase; }
.like { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 12px var(--mono); color: var(--mute); transition: color .2s, border-color .2s, background .2s, transform .3s var(--ease); min-width: 52px; justify-content: center; }
.like:not(:disabled):hover { border-color: var(--red); color: var(--paper); }
.like.is-on { background: var(--red); border-color: var(--red); color: var(--paper); }
.like:active:not(:disabled) { transform: scale(.9); }
.like:disabled { opacity: .5; cursor: default; }

.howto { border: 1px solid var(--line); border-radius: 14px; padding: 2px 14px; margin-bottom: 12px; background: var(--surface); }
.howto summary { cursor: pointer; padding: 10px 0; font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-2); list-style: none; display: flex; justify-content: space-between; }
.howto summary::after { content: "+"; color: var(--amber); font-size: 16px; transition: transform .3s var(--ease); }
.howto[open] summary::after { transform: rotate(45deg); }
.howto ol { margin: 0 0 12px; counter-reset: none; padding-left: 20px; display: grid; gap: 8px; color: var(--paper-2); font-size: 14px; }
.howto b { color: var(--paper); }

.sheet { position: fixed; inset: 0; z-index: 180; background: rgba(8,6,4,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.sheet[hidden] { display: none; }
.sheet__card { width: min(100%, 520px); background: var(--paper); color: var(--bg); border-radius: 22px; padding: 24px 20px 18px; display: grid; gap: 10px; margin-bottom: env(safe-area-inset-bottom); }
.sheet__card .game__sub { margin: 0 0 4px; }
.sheet__card .ideas { margin: 0 0 4px; }
.sheet__card .btn { justify-content: center; padding: 18px; }
.sheet__card .btn--primary::before { background: var(--bg); }
.sheet__card .btn--primary:hover { color: var(--paper); }

/* ============================================================
   OPERATOR REMOTE
   The host presents and operates at once: one hand, a glance, one tap.
   ============================================================ */
.host { min-height: 100svh; }
kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; border: 1px solid currentColor; font: 700 10px var(--mono); opacity: .6; }
.hc-h { margin: 0; font: 600 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hc-h b { color: var(--paper); margin-left: 6px; font-variant-numeric: tabular-nums; }
.hs-mute { font-size: 13px; color: var(--mute); margin: 0; line-height: 1.5; }
.hs-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 14px var(--sans); color: var(--paper-2); transition: border-color .2s, color .2s, background .2s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.hs-icon:hover { border-color: var(--paper-2); color: var(--paper); }
.hs-icon.is-on { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.hs-icon b { font-weight: 600; opacity: .7; }
.hs-link { font: 600 13px var(--sans); color: var(--paper-2); text-decoration: underline; text-underline-offset: 4px; min-height: 36px; }

.hs-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(14,11,7,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hs-top .onair { font-size: 10px; padding: 8px 12px; white-space: nowrap; }
.hs-top .hs-stat { white-space: nowrap; }
@media (max-width: 380px) { .hs-top .hs-stat { display: none; } .hs-top .hs-icon:first-of-type { margin-left: auto; } }
.hs-top__n { font: 400 20px var(--display); color: var(--paper-2); }
.hs-stat { margin-left: auto; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hs-stat b { font: 400 18px var(--display); color: var(--paper); letter-spacing: 0; margin-right: 3px; }
.hs-top .hs-icon { padding: 8px 12px; font-size: 13px; }

.remote { max-width: 620px; margin: 0 auto; padding: 16px 14px 40px; display: grid; gap: 20px; position: relative; z-index: 1; }
.now { display: grid; gap: 14px; }
.now__tag { margin: 6px 0 -6px; font: 700 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.now__t { margin: 0; font: 400 clamp(34px, 9vw, 56px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.flow li + li { border-left: 1px solid var(--line-2); }
.flow button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px; font: 600 13px var(--sans); color: var(--mute); transition: background .25s, color .25s; }
.flow button span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font: 700 10px var(--mono); flex: none; }
.flow button.is-done { color: var(--paper-2); }
.flow button.is-done span { background: var(--paper-2); color: var(--bg); border-color: var(--paper-2); }
.flow button.is-on { background: var(--paper); color: var(--bg); }
.flow button.is-on span { background: var(--bg); color: var(--paper); border-color: var(--bg); }

/* the one big button: a thumb-sized "what's next" */
.now__go { display: grid; gap: 4px; justify-items: center; text-align: center; width: 100%; min-height: 96px; padding: 18px; border-radius: 18px; background: var(--amber); color: var(--bg); box-shadow: 0 16px 40px -18px rgba(244,180,26,.7); transition: transform .2s var(--ease), background .2s; -webkit-tap-highlight-color: transparent; }
.now__go:active { transform: scale(.98); }
.now__go small { font: 700 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.now__go span { font: 400 clamp(24px, 6.4vw, 32px)/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.now__go[data-phase="idle"], .now__go[data-phase="break"] { background: var(--paper); box-shadow: none; }
.now__go[data-phase="end"] { background: var(--surface-2); color: var(--paper); box-shadow: none; }

.now__side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.now__side .hs-icon { padding: 10px 6px; font-size: 13px; }
.now__msgline { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font: 600 14px var(--sans); cursor: pointer; }
.now__msgline[hidden] { display: none; }

.answers__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.answers__empty { text-align: center; padding: 32px 16px; border: 1px dashed var(--line-2); border-radius: 14px; font: 400 22px/1.2 var(--display); text-transform: uppercase; color: var(--paper-2); margin: 0; }
.answers__empty span { display: block; font: 600 20px var(--hand); text-transform: none; color: var(--mute); margin-top: 6px; }
.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.res li { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: stretch; border-radius: 14px; background: var(--surface); overflow: hidden; }
.res li.is-hidden { opacity: .35; }
.res li.is-hidden b { text-decoration: line-through; }
.res li.is-picked { box-shadow: inset 0 0 0 2px var(--amber); }
.res__main { position: relative; display: grid; grid-template-columns: 24px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 6px 12px 14px; text-align: left; min-height: 60px; min-width: 0; -webkit-tap-highlight-color: transparent; }
.res__main:active { background: var(--surface-2); }
.res__k { font: 400 20px/1 var(--display); color: var(--mute); text-align: center; }
.res li:first-child:not(.is-hidden) .res__k { color: var(--amber); }
.res__v { display: grid; min-width: 0; position: relative; }
.res__v b { font: 700 24px/1.05 var(--hand); color: var(--paper); overflow-wrap: anywhere; }
.res__v small { font: 500 11px var(--sans); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res__l { font: 700 12px var(--mono); color: var(--paper-2); }
.res__go { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(244,180,26,.4); }
.is-picked .res__go { background: var(--amber); color: var(--bg); }
.res__x { width: 44px; color: var(--mute); font-size: 13px; border-left: 1px solid var(--line); }
.res__x:active { color: var(--red); }
.res--choice li { grid-template-columns: 1fr; }
.res--choice .res__main { grid-template-columns: 1fr auto; padding: 16px; }
.res__bar { position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(244,180,26,.12); transition: width .6s var(--ease); }
.res--choice li.is-lead .res__bar { background: rgba(244,180,26,.28); }
.res--choice .res__v b { font: 400 20px/1.1 var(--display); text-transform: uppercase; }
.res__pct { position: relative; font: 400 26px/1 var(--display); color: var(--paper-2); }
.res--choice li.is-lead .res__pct { color: var(--amber); }
.remote__next { margin: 0; text-align: center; font-size: 13px; color: var(--mute); }
.remote__next b { color: var(--paper-2); font-weight: 600; }

/* drawer: bottom sheet on phones, side panel on laptops */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8,6,4,.6); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88svh; background: var(--bg-2); border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .4s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer__h h2 { margin: 0; font: 400 24px/1 var(--display); text-transform: uppercase; }
.drawer__h .hs-icon { width: 44px; padding: 0; }
.drawer__body { padding: 18px; display: grid; gap: 14px; overflow: auto; align-content: start; }
.drawer__body[hidden] { display: none; }
@media (min-width: 900px) {
  .drawer__panel { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; border-top: 0; border-left: 1px solid var(--line-2); transform: translateX(100%); }
}

.now__act { display: flex; align-items: center; gap: 10px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.now__act b { color: var(--paper); font: 400 22px var(--display); min-width: 1.2em; text-align: center; }
.now__act button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--paper-2); font-size: 16px; }
.setlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.setlist li { display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 12px; background: var(--surface); }
.setlist li.is-live { box-shadow: inset 3px 0 0 var(--amber); }
.setlist li.is-past { opacity: .5; }
.setlist__main { display: flex; gap: 12px; align-items: center; padding: 12px; text-align: left; min-width: 0; min-height: 56px; }
.setlist__n { font: 400 20px/1 var(--display); color: var(--mute); min-width: 24px; }
.is-live .setlist__n { color: var(--amber); }
.setlist__t { display: grid; gap: 2px; font-size: 14px; font-weight: 500; line-height: 1.25; min-width: 0; color: var(--paper-2); }
.is-live .setlist__t { color: var(--paper); font-weight: 600; }
.setlist__t small { font: 600 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.setlist__t small b { color: var(--amber); }
.setlist__t small em { font-style: normal; color: var(--paper-2); }
.setlist__ops { display: flex; padding-right: 4px; }
.setlist__ops button { width: 36px; height: 40px; border-radius: 8px; color: var(--mute); font-size: 13px; }
.setlist__ops button:hover:not(:disabled) { color: var(--amber); }
.setlist__ops button:disabled { opacity: .2; }
.hs-add { display: flex; gap: 8px; }
.hs-end { border-color: rgba(224,73,47,.4); color: var(--red); }
.hs-add select, .hs-field input, .hs-field select, .hs-field textarea, .msgform input {
  width: 100%; background: var(--bg); color: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; font: 500 16px var(--sans); outline: 0; transition: border-color .2s;
}
.hs-add select:focus, .hs-field :is(input, select, textarea):focus, .msgform input:focus { border-color: var(--amber); }
.hs-field { display: grid; gap: 6px; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hs-field[hidden] { display: none; }
.hs-field textarea { resize: vertical; line-height: 1.5; }
.msgform { display: grid; gap: 12px; }
.msgform .btn, #goLive { justify-content: center; padding: 18px; }
.hs-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.hs-quick button { padding: 8px 12px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--paper-2); min-height: 36px; }
.screens { display: grid; gap: 8px; }
.screens .hs-icon { justify-content: flex-start; }
.toggle { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; font-weight: 600; }
.toggle small { display: block; font-weight: 400; font-size: 12px; color: var(--mute); margin-top: 3px; }
.toggle input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-2); transition: transform .3s var(--ease), background .2s; }
.toggle input:checked { background: var(--amber); border-color: var(--amber); }
.toggle input:checked::after { transform: translateX(18px); background: var(--bg); }
.keys dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 10px 0 0; font-size: 13px; color: var(--paper-2); }
.keys dt { display: flex; gap: 4px; }
.keys dd { margin: 0; }
@media (hover: none) { .keys { display: none; } }
.hs-reset { justify-self: start; border-color: rgba(224,73,47,.5); color: var(--red); }

/* ============================================================
   PROJECTOR SCREEN
   Sized from the viewport so 1024x768 and 1920x1080 read the same.
   Few elements, huge type, no hairlines (they vanish on cheap projectors).
   ============================================================ */
.scr { height: 100vh; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 30% 10%, rgba(244,180,26,.12), transparent 70%), var(--bg); cursor: default; }
.scr.is-idle { cursor: none; }
.scr__frame {
  height: 100vh; display: grid; gap: 2.4vh 4vw; padding: 4vh 4.5vw;
  grid-template-columns: minmax(0, 1fr) 44%; grid-template-rows: auto auto 1fr auto;
  grid-template-areas: "top top" "msg msg" "main join" "foot join";
}
.scr__top { grid-area: top; display: flex; align-items: center; gap: 2.4vw; }
.scr__top img { height: 7vh; width: auto; }
.scr__ctx { margin: 0; font: 700 2.2vh var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--paper-2); }
.scr .onair { margin-left: auto; font-size: 2.2vh; padding: 1vh 1.8vh; gap: 1vh; }
.scr .onair__dot { width: 1.2vh; height: 1.2vh; }

.scr__msg { grid-area: msg; display: flex; align-items: center; gap: 2vh; background: var(--amber); color: var(--bg); border-radius: 2vh; padding: 1.8vh 3vh; }
.scr__msg[hidden] { display: none; }
.scr__msg span { font-size: 4vh; }
.scr__msg p { margin: 0; font: 700 4vh/1.15 var(--sans); }

.scr__main { grid-area: main; align-self: center; min-width: 0; }
.scr__main.is-in > * { animation: scr-in .9s var(--ease) both; }
.scr__main.is-in > *:nth-child(2) { animation-delay: .08s; }
.scr__main.is-in > *:nth-child(3) { animation-delay: .16s; }
.scr__main.is-in > *:nth-child(4) { animation-delay: .24s; }
@keyframes scr-in { from { opacity: 0; transform: translateY(4vh); } }
.scr__tag { margin: 0 0 2vh; font: 700 3vh var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.scr__t { margin: 0 0 3vh; font: 400 clamp(36px, min(11vh, 7.2vw), 200px)/1.02 var(--display); text-transform: uppercase; text-wrap: balance; }
.scr__sub { margin: 0; font: 600 3.4vh/1.35 var(--sans); color: var(--paper-2); max-width: 34ch; }
.scr__sub b { color: var(--paper); }
.scr__chosen { margin: 0 0 2vh; font: 700 clamp(44px, min(20vh, 11vw), 320px)/.9 var(--hand); color: var(--paper); transform: rotate(-2deg); overflow-wrap: anywhere; text-shadow: 0 0 8vh rgba(244,180,26,.35); }
.scr__clock { margin: 0 0 2.4vh; font: 400 min(26vh, 13vw)/.85 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; }

.scr__bars { list-style: none; margin: 4vh 0 0; padding: 0; display: grid; gap: 1.6vh; }
.scr__bars li { --p: 0%; position: relative; display: flex; justify-content: space-between; align-items: center; padding: 2vh 2.6vh; border-radius: 1.6vh; background: var(--surface); overflow: hidden; }
.scr__bar { position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(244,180,26,.28); transition: width 1s var(--ease); }
.scr__bars li.is-lead .scr__bar { background: var(--amber); }
.scr__bars b, .scr__bars i { position: relative; font: 400 5vh/1 var(--display); text-transform: uppercase; font-style: normal; }
.scr__bars li.is-lead b, .scr__bars li.is-lead i { color: var(--bg); }

.scr__cloud { list-style: none; margin: 4vh 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4vh 2.4vh; align-items: baseline; }
.scr__cloud li { font: 700 calc(4.4vh * var(--s, 1))/1 var(--hand); color: var(--paper); animation: scr-in .6s var(--ease) both; }
.scr__cloud li:first-child { color: var(--amber); }

/* the join card stays put so people learn where to look */
.scr__join { grid-area: join; align-self: stretch; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6vh; background: #fff; color: #0e0b07; border-radius: 3vh; padding: 3.2vh; text-align: center; transition: transform .6s var(--ease), opacity .6s; }
.scr__qr { flex: 1 1 0; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; line-height: 0; position: relative; overflow: hidden; }
.scr__qr img, .scr__qr canvas { position: absolute; max-width: 100%; max-height: 100%; }
.scr__qr img, .scr__qr canvas { display: block; border-radius: 1vh; }
.scr__ask { margin: 0; font: 400 min(5vh, 2.8vw)/1 var(--display); text-transform: uppercase; }
.scr__url { margin: 0; font: 700 min(2.8vh, 1.6vw) var(--mono); letter-spacing: .02em; word-break: break-all; }
.scr[data-phase="idle"] .scr__join { transform: scale(.82); transform-origin: right center; opacity: .9; }
.scr[data-phase="end"] .scr__join { opacity: .6; }

.scr__foot { grid-area: foot; display: flex; gap: 4vw; font: 700 2.4vh var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.scr__rx b { color: var(--paper); font: 400 3vh var(--display); letter-spacing: 0; margin-right: .6vh; }

.scr__float { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.scr__float span { position: absolute; bottom: -10vh; font-size: 8vh; animation: scr-up 3s var(--ease) forwards; }
@keyframes scr-up { to { transform: translate(var(--dx, 0), -95vh) rotate(12deg); opacity: 0; } }

.scr__ctrl { position: fixed; left: 50%; top: 2vh; transform: translateX(-50%); display: flex; gap: 1vh; z-index: 5; }
.scr.is-idle .scr__ctrl .scr__fs:not(#snd) { opacity: 0; }
#snd { background: var(--amber); color: var(--bg); border-color: var(--amber); font-weight: 700; }
#snd[hidden] { display: none; }
.scr__bed { position: fixed; left: 4.5vw; bottom: 2vh; margin: 0; font: 700 2vh var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.scr__bed[hidden] { display: none; }
.scr__fs { position: relative; padding: 1vh 1.6vh; border-radius: 999px; border: 1px solid var(--line-2); font: 600 1.8vh var(--sans); color: var(--paper-2); background: var(--bg-2); transition: opacity .3s; }
.scr.is-idle .scr__fs:not(#snd) { opacity: 0; }
.scr__fs[hidden] { display: none; }

@media (max-aspect-ratio: 5/4) {
  .scr__frame { grid-template-columns: 1fr; grid-template-areas: "top" "msg" "main" "join" "foot"; grid-template-rows: auto auto 1fr auto auto; }
  .scr__join { grid-auto-flow: column; justify-self: start; }
}

/* ============================================================
   OPERATOR: sound + desktop layout
   ============================================================ */
/* phone sound bar: background on/off + 4 effects + "more" */
.sbar { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: stretch; }
.sbar__bed { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); font: 600 13px var(--sans); color: var(--paper-2); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.sbar__bed[aria-pressed="true"] { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.sbar__eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.sbar__eq i { width: 3px; height: 4px; background: currentColor; border-radius: 1px; }
.sbar__bed[aria-pressed="true"] .sbar__eq i { animation: eq .9s ease-in-out infinite; }
.sbar__bed[aria-pressed="true"] .sbar__eq i:nth-child(2) { animation-delay: .2s; }
.sbar__bed[aria-pressed="true"] .sbar__eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 50% { height: 14px; } }
.sbar__fx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sbar__fx button, .pads button { position: relative; display: grid; place-items: center; gap: 2px; min-height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 22px; line-height: 1; -webkit-tap-highlight-color: transparent; transition: border-color .2s, transform .15s var(--ease); }
.sbar__fx button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sbar__fx button:active, .pads button:active { transform: scale(.92); }
.sbar__fx button.hit, .pads button.hit { animation: hit .5s var(--ease); }
@keyframes hit { 0% { border-color: var(--amber); box-shadow: 0 0 0 0 rgba(244,180,26,.6); } 100% { box-shadow: 0 0 0 12px rgba(244,180,26,0); } }
.sbar__more { min-width: 48px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 20px; color: var(--paper-2); }
.sbar__warn { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(244,180,26,.5); color: var(--amber); font-size: 13px; line-height: 1.4; }
.sbar__warn[hidden] { display: none; }
@media (max-width: 400px) { .sbar { grid-template-columns: 1fr auto; } .sbar__fx { grid-column: 1 / -1; grid-row: 2; } }

.pane__h { margin: 0; font: 400 22px/1 var(--display); text-transform: uppercase; }
.pane__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.seg--full { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.seg--full button { padding: 12px 8px; letter-spacing: .06em; font-size: 11px; }
.seg button[aria-pressed="true"] { color: var(--bg); background: var(--amber); }
.beds { display: flex; flex-wrap: wrap; gap: 6px; }
.beds button { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px var(--sans); color: var(--paper-2); min-height: 44px; }
.beds button.is-on { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pads button { min-height: 76px; padding: 10px 4px; font-size: 26px; }
.pads button span { font: 600 11px var(--sans); color: var(--paper-2); }
input[type="range"] { accent-color: var(--amber); padding: 0; }
.hs-field input[type="range"] { border: 0; background: none; }

/* desktop: three columns, details always on hand */
.desk { position: relative; z-index: 1; }
.desk__l, .desk__r { display: none; }
@media (min-width: 1100px) {
  .desk { display: grid; grid-template-columns: 280px minmax(440px, 1fr) 380px; gap: 24px; padding: 20px 24px 40px; max-width: 1640px; margin: 0 auto; align-items: start; }
  .desk__l, .desk__r { display: grid; gap: 14px; position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; scrollbar-width: thin; }
  .desk .remote { max-width: none; padding: 0; margin: 0; }
  .desk__l .drawer__body, .desk__r .drawer__body { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; overflow: visible; }
  .desk__l .drawer__body { background: transparent; border: 0; padding: 0; }
  .desk__l .setlist li { background: transparent; }
  .desk__l .setlist li:hover, .desk__l .setlist li.is-sel { background: var(--surface); }
  .desk__l .setlist li.is-sel { box-shadow: inset 0 0 0 1px var(--paper-2); }
  .desk__l .setlist li { position: relative; display: block; }
  .desk__l .setlist__ops { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: var(--surface-2); border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .desk__l .setlist li:hover .setlist__ops, .desk__l .setlist li:focus-within .setlist__ops { pointer-events: auto; }
  .desk__l .setlist li:hover .setlist__ops, .desk__l .setlist li:focus-within .setlist__ops { opacity: 1; }
  .is-desk .hs-top [data-open="setlist"], .is-desk .hs-top [data-open="settings"], .is-desk .now__side [data-open="message"], .is-desk .sbar__more { display: none; }
  .is-desk .now__side { grid-template-columns: 1fr 1fr; }
  .is-desk .sbar { grid-template-columns: auto 1fr; }
  .is-desk .now__t { font-size: clamp(40px, 3.6vw, 64px); }
  .is-desk .pads { grid-template-columns: repeat(3, 1fr); }
  .is-desk .pads button { min-height: 64px; }
  .drawer__body.flash { animation: flash 1s var(--ease); }
}
@keyframes flash { 0% { box-shadow: 0 0 0 2px var(--amber); } 100% { box-shadow: 0 0 0 2px transparent; } }

/* in the phone sheet the sheet title already names the pane */
.drawer__panel .pane__h, .drawer__panel .pane__row { display: none; }

/* ============================================================
   PLANNING + ANSWER LIMITS
   ============================================================ */
/* operator: live limit + private note under the title */
.now__limit { margin: -4px 0 0; font: 700 13px var(--mono); letter-spacing: .08em; color: var(--amber); font-variant-numeric: tabular-nums; }
.now__limit[hidden], .now__note[hidden] { display: none; }
.now__note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface); border-left: 0; font-size: 14px; color: var(--paper-2); }

/* editor groups */
.fs { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; }
.fs legend { padding: 0 6px; font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.fs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.unit { position: relative; display: block; }
.unit input { padding-right: 88px !important; }
.unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 12px var(--sans); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--mute); pointer-events: none; }
.toggle--sm { border: 0; padding: 10px 0; font-size: 14px; align-items: center; }
.toggle--sm[hidden] { display: none; }

/* running order grouped by act */
.desk__l .setlist li.setlist__act, .setlist li.setlist__act { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 4px; background: none !important; box-shadow: none !important; font: 700 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.setlist li.setlist__act:first-child { padding-top: 2px; }
.setlist__act span { color: var(--mute); letter-spacing: .08em; }
.setlist__t i { font: 500 10px var(--mono); font-style: normal; color: var(--mute); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan__sum { margin: 2px 0 0; font: 600 12px var(--mono); color: var(--paper-2); }
.plans { border: 1px solid var(--line); border-radius: 12px; padding: 2px 12px; }
.plans summary { cursor: pointer; padding: 10px 0; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-2); }
.plans__body { display: grid; gap: 10px; padding-bottom: 12px; }
.plans__body input { flex: 1; min-width: 0; background: var(--bg); color: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: 500 14px var(--sans); outline: 0; }
.plans__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plans__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--bg); font-size: 14px; }
.plans__list li small { display: block; font: 500 10px var(--mono); color: var(--mute); }
.plans__list .res__x { width: 32px; height: 32px; border: 0; opacity: 1; }

/* audience: a draining bar so nobody has to read a number */
.game__clock { position: relative; height: 30px; margin: -8px -4px 16px; border-radius: 999px; background: rgba(14,11,7,.08); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.game__clockbar { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transition: transform .3s linear, background .3s; }
.game__clock b { position: relative; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); }
.game__clock.is-low .game__clockbar { background: var(--red); }
.game__clock.is-low b { color: var(--bg); }

/* projector: limit next to the tag */
.scr__limit { display: inline-block; white-space: nowrap; margin-left: 3vh; padding: .6vh 1.6vh; border-radius: 999px; background: var(--surface); color: var(--paper); font: 700 2.6vh var(--mono); letter-spacing: .06em; text-transform: none; font-variant-numeric: tabular-nums; }
.scr__limit:empty { display: none; }
.scr__limit.is-low { background: var(--red); }

[data-oneword].is-nudge { animation: nudge .45s var(--ease); color: var(--red); }
@keyframes nudge { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* ============================================================
   SOUND LIBRARY EDITOR
   ============================================================ */
.lib { border: 1px solid var(--line); border-radius: 12px; padding: 2px 12px; }
.lib summary { cursor: pointer; padding: 12px 0; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-2); }
.lib[open] summary { color: var(--amber); }
.lib > p { margin: 0 0 12px; }
.lib__list { display: grid; gap: 6px; }
.snd { border-radius: 12px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.snd.is-open { border-color: var(--line-2); }
.snd__row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.snd__play { height: 52px; color: var(--amber); font-size: 14px; }
.snd__play:hover { background: var(--surface); }
.snd__name { display: grid; text-align: left; padding: 8px 4px; min-width: 0; }
.snd__name b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd__name small { font: 500 10px var(--mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd__star { height: 52px; font-size: 16px; color: var(--line-2); transition: color .2s; }
.snd__star.is-on { color: var(--amber); }
.snd__edit { display: none; padding: 4px 12px 14px; gap: 12px; }
.snd.is-open .snd__edit { display: grid; }
.snd__grid { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.snd__file { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--paper-2); }
.snd__file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snd__ops { display: flex; gap: 16px; flex-wrap: wrap; }
.snd__ops [disabled] { opacity: .3; }
.snd__del { color: var(--red); margin-left: auto; }
.lib__add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.credits { padding: 10px 0 14px; border-top: 1px solid var(--line); }
.credits ul { margin: 8px 0 0; padding-left: 18px; font-size: 12px; color: var(--mute); display: grid; gap: 3px; }
.scr__credits { margin: 4vh 0 0; font: 600 1.8vh/1.5 var(--sans); color: var(--mute); max-width: 60ch; }

/* ============================================================
   DRAG TO REORDER
   ============================================================ */
.grip { display: grid; place-items: center; width: 28px; align-self: stretch; color: var(--mute); font-size: 16px; line-height: 1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 8px; }
.grip:hover, .grip:focus-visible { color: var(--paper); }
.is-sorting, .is-sorting * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
.setlist li[data-i], .desk__l .setlist li[data-i] { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; }
.desk__l .setlist li[data-i] { grid-template-columns: 28px 1fr; }
.setlist li.is-break { background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(244,180,26,.05) 8px 16px), var(--surface); }
.desk__l .setlist li.is-break { background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(244,180,26,.05) 8px 16px); }
.setlist li.is-break .setlist__n { color: var(--amber); }
.snd__row { grid-template-columns: 28px 40px 1fr 40px; }
.is-dragging { position: relative; z-index: 30; transition: none !important; box-shadow: 0 18px 40px -12px rgba(0,0,0,.9), 0 0 0 1px var(--amber) !important; background: var(--surface-2) !important; opacity: .96; }
.is-dragging .grip { color: var(--amber); }
.drop-before { box-shadow: inset 0 3px 0 var(--amber) !important; }
.drop-after { box-shadow: inset 0 -3px 0 var(--amber) !important; }
.hs-addbreak { width: 100%; border-style: dashed; color: var(--amber); border-color: rgba(244,180,26,.4); }

/* ============================================================
   COMMAND PANEL (operator console)
   A desk, not a page: fixed frame, panels, lights, keys.
   ============================================================ */
.cmd { --c-bg: #0b0906; --c-panel: #141009; --c-panel-2: #1b160e; --c-line: rgba(244,234,210,.09); --c-line-2: rgba(244,234,210,.18); --c-green: #5fd38a; background: var(--c-bg); }
.cmd [hidden] { display: none !important; }
.cmd .stage-light, .cmd .grain { display: none; }

/* ---------- status bar ---------- */
.cmd .bar { display: flex; align-items: stretch; gap: 0; padding: 0; min-height: 52px; background: var(--c-panel); border-bottom: 1px solid var(--c-line-2); }
.cmd .bar > * { border-right: 1px solid var(--c-line); }
.cmd .bar .onair { margin: 8px 10px; border-right: 0; align-self: center; font-size: 10px; padding: 7px 11px; white-space: nowrap; }
.bar__cell { display: grid; align-content: center; padding: 0 14px; line-height: 1.05; }
.bar__cell small { font: 600 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.bar__cell b { font: 400 20px var(--display); color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bar__timer b { color: var(--amber); }
.bar__timer.is-low b { color: var(--red); animation: blink 1s steps(2) infinite; }
.bar__leds { display: flex; align-items: center; gap: 14px; padding: 0 14px; margin-left: auto; }
.led { display: inline-flex; align-items: center; gap: 6px; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.led i { width: 9px; height: 9px; border-radius: 50%; background: #3a3226; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); }
.led[data-state="on"] { color: var(--paper-2); }
.led[data-state="on"] i { background: var(--c-green); box-shadow: 0 0 8px var(--c-green); }
.led[data-state="warn"] i { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: blink 1.2s ease-in-out infinite; }
.led em { font-style: normal; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.bar__clock { display: grid; place-items: center; padding: 0 14px; font: 700 15px var(--mono); color: var(--paper-2); font-variant-numeric: tabular-nums; }
.cmd .bar__btn { border: 0; border-radius: 0; min-height: 52px; padding: 0 16px; font-size: 15px; }
.cmd .bar__btn:last-child { border-right: 0; }
@media (max-width: 760px) {
  .bar__reacts, .bar__clock, .led { font-size: 0; gap: 0; }
  .bar__reacts { display: none; }
  .bar__clock { display: none; }
  .bar__leds { gap: 8px; padding: 0 10px; }
  .bar__cell { padding: 0 10px; }
  .bar__btn span { display: none; }
}

/* ---------- panels ---------- */
.cmd .panel { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.panel__h, .cmd .pane__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 9px 14px; background: var(--c-panel-2); border-bottom: 1px solid var(--c-line); font: 700 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--paper-2); }
.panel__h b { color: var(--amber); margin-left: 6px; }
.pane__meta { font: 500 10px var(--mono); letter-spacing: .04em; text-transform: none; color: var(--mute); }
.panel__act { font: 600 11px var(--sans); letter-spacing: 0; text-transform: none; color: var(--paper-2); padding: 4px 8px; border-radius: 6px; }
.panel__act:hover { background: var(--c-panel); color: var(--amber); }
.now__body, .pane__in { padding: 14px; display: grid; gap: 12px; }
.cmd .remote { gap: 12px; padding: 12px; }
.cmd .now { gap: 0; }

/* current game header */
.now__head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.now__kind { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--c-panel-2); border: 1px solid var(--c-line-2); font-size: 26px; }
.cmd .now__tag { margin: 0 0 2px; font-size: 10px; }
.cmd .now__t { font-size: clamp(26px, 5.4vw, 40px); line-height: 1; }
.cmd .now__note { background: var(--c-panel-2); border: 1px dashed var(--c-line-2); font-size: 13px; }

/* limit meter: drains as time/slots run out */
.meter { position: relative; height: 28px; border-radius: 8px; background: var(--c-panel-2); overflow: hidden; display: flex; align-items: center; padding: 0 12px; }
.meter__fill { position: absolute; inset: 0; background: rgba(244,180,26,.28); transform-origin: left; transition: transform .45s linear, background .3s; }
.meter.is-low .meter__fill { background: rgba(224,73,47,.5); }
.meter.is-done .meter__fill { background: rgba(244,234,210,.08); }
.meter b { position: relative; font: 700 11px var(--mono); letter-spacing: .06em; color: var(--paper); }

/* transport: three hardware-style keys */
.cmd .keys3 { border: 0; border-radius: 0; gap: 8px; overflow: visible; }
.cmd .keys3 li + li { border-left: 0; }
.cmd .keys3 button { position: relative; flex-direction: column; gap: 4px; min-height: 76px; padding: 12px 6px 10px; border-radius: 12px; background: linear-gradient(#211b12, #18130c); border: 1px solid var(--c-line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 2px 0 rgba(0,0,0,.5); color: var(--paper-2); font-size: 12px; }
.cmd .keys3 button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.key__led { position: absolute; top: 8px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: #3a3226; }
.key__ico { font-size: 20px; line-height: 1; }
.cmd .keys3 button b { font-weight: 600; }
.cmd .keys3 button kbd { position: absolute; top: 6px; right: 6px; margin: 0; }
.cmd .keys3 button span:not(.key__ico) { display: none; }
.cmd .keys3 button.is-done { color: var(--paper-2); background: linear-gradient(#1d180f, #16110a); }
.cmd .keys3 button.is-done .key__led { background: var(--paper-2); }
.cmd .keys3 button.is-on { background: linear-gradient(#f6c444, #e9a713); color: var(--bg); border-color: var(--amber); }
.cmd .keys3 button.is-on .key__led { background: var(--red); box-shadow: 0 0 8px var(--red); }
.cmd .keys3 button.is-on kbd { color: var(--bg); }

/* GO */
.cmd .now__go { position: relative; min-height: 84px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 #9a6d06, 0 16px 34px -18px rgba(244,180,26,.8); }
.cmd .now__go:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 #9a6d06; }
.cmd .now__go kbd { position: absolute; right: 12px; top: 10px; color: var(--bg); }
.cmd .now__go[data-phase="idle"], .cmd .now__go[data-phase="break"] { box-shadow: inset 0 1px 0 #fff, 0 3px 0 #9d9278; }

/* secondary keys */
.cmd .now__side { gap: 8px; }
.cmd .key { flex-direction: column; gap: 2px; min-height: 64px; border-radius: 12px; background: var(--c-panel-2); border-color: var(--c-line-2); padding: 8px 4px; }
.cmd .key .key__ico { font-size: 18px; }
.cmd .key b { font-size: 12px; font-weight: 600; color: var(--paper); opacity: 1; }
.cmd .key small { font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.cmd .key.is-on { background: var(--amber); border-color: var(--amber); }
.cmd .key.is-on b, .cmd .key.is-on small { color: var(--bg); }
.cmd .sbar__bed, .cmd .sbar__more, .cmd .sbar__fx button { background: var(--c-panel-2); border-color: var(--c-line-2); }

/* answers */
.answers__body { padding: 8px; }
.cmd .res li { background: var(--c-panel-2); border-radius: 10px; }
.cmd .answers .remote__next { padding: 0 14px 12px; text-align: left; }
.cmd .answers__empty { margin: 4px; }

/* ---------- visual controls ---------- */
.vfield { display: grid; gap: 8px; }
.vfield > small, .tiles__h { margin: 0; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.tiles { display: grid; gap: 8px; }
.tiles--2 { grid-template-columns: 1fr 1fr; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--add { grid-template-columns: repeat(4, 1fr); }
.tiles--msg { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 84px; padding: 10px 6px; border-radius: 12px; background: var(--c-panel-2); border: 1px solid var(--c-line-2); text-align: center; cursor: pointer; color: var(--paper-2); transition: border-color .2s, background .2s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.tile:hover { border-color: var(--paper-2); }
.tile:active { transform: scale(.97); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__ico { font-size: 24px; line-height: 1; }
.tile b { font-size: 13px; font-weight: 600; color: var(--paper); }
.tile small { font-size: 10px; color: var(--mute); line-height: 1.2; }
.tile:has(input:checked), .tile[aria-pressed="true"] { border-color: var(--amber); background: linear-gradient(rgba(244,180,26,.16), rgba(244,180,26,.06)); box-shadow: inset 0 0 0 1px var(--amber); }
.tile:has(input:checked)::after, .tile[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 6px; right: 8px; font: 700 11px var(--mono); color: var(--amber); }
.tile:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.tile--sm { min-height: 66px; }
.tile--sm .tile__ico { font-size: 20px; }
.tile--sm b { font-size: 11px; }
.tile.hit { animation: hit .5s var(--ease); }
.tiles--msg button { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--c-panel-2); border: 1px solid var(--c-line-2); font-size: 20px; }
.tiles--msg button span { font: 600 10px var(--sans); color: var(--paper-2); }

/* style previews: a tiny drawing of how the phone will look */
.pv { display: flex; width: 70px; height: 34px; padding: 4px; border-radius: 6px; background: var(--paper); gap: 3px; }
.pv i { display: block; border-radius: 3px; }
.pv--list { flex-direction: column; justify-content: space-between; }
.pv--list i { height: 6px; width: var(--w); background: var(--amber); }
.pv--chips { flex-wrap: wrap; align-content: center; }
.pv--chips i { width: 18px; height: 9px; border-radius: 9px; border: 1.5px solid #6d5f43; }
.pv--chips i:nth-child(2) { background: var(--bg); border-color: var(--bg); }
.pv--scale { align-items: flex-end; }
.pv--scale i { flex: 1; background: rgba(14,11,7,.15); }
.pv--scale i:nth-child(1) { height: 20%; } .pv--scale i:nth-child(2) { height: 40%; } .pv--scale i:nth-child(3) { height: 60%; background: var(--amber); } .pv--scale i:nth-child(4) { height: 80%; background: var(--amber); } .pv--scale i:nth-child(5) { height: 100%; }

/* stepper + chips */
.stp { display: grid; grid-template-columns: 44px auto 1fr 44px; align-items: center; height: 46px; border-radius: 10px; border: 1px solid var(--c-line-2); background: var(--bg); overflow: hidden; }
.stp button { height: 100%; font-size: 20px; color: var(--paper); background: var(--c-panel-2); }
.stp button:active { background: var(--amber); color: var(--bg); }
.stp input { width: 4.2ch; border: 0 !important; background: transparent !important; color: var(--paper) !important; font: 400 22px var(--display) !important; text-align: right; padding: 0 6px 0 0 !important; -moz-appearance: textfield; }
.stp input::-webkit-inner-spin-button, .stp input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stp span { font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { min-width: 44px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--c-line-2); font: 700 11px var(--mono); color: var(--paper-2); }
.chips button.is-on { background: var(--amber); border-color: var(--amber); color: var(--bg); }

/* switch with icon */
.switch { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--c-panel-2); border: 1px solid var(--c-line); cursor: pointer; }
.switch input { appearance: none; order: 3; justify-self: end; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-2); transition: transform .3s var(--ease), background .2s; }
.switch input:checked { background: var(--amber); border-color: var(--amber); }
.switch input:checked::after { transform: translateX(18px); background: var(--bg); }
.switch__ico { order: 1; font-size: 20px; }
.switch > span:last-of-type { order: 2; display: grid; }
.switch b { font-size: 14px; font-weight: 600; }
.switch small { font-size: 11px; color: var(--mute); }
.switch[hidden] { display: none; }

/* act segmented radios */
.seg--3 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; }
.seg--3 label { position: relative; }
.seg--3 input { position: absolute; opacity: 0; }
.seg--3 span { display: block; text-align: center; padding: 10px 4px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-2); cursor: pointer; }
.seg--3 input:checked + span { background: var(--amber); color: var(--bg); }
.seg--3 input:focus-visible + span { outline: 2px solid var(--amber); }

.vol { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--c-panel-2); }
.vol input { width: 100%; height: 28px; }
.actsel { display: flex; justify-content: space-between; align-items: center; }
.actsel small { font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.actsel .stepper { height: 38px; width: 130px; }
.cmd .tiles--2 a.tile { color: inherit; }
.msgform__row { display: flex; gap: 8px; flex-wrap: wrap; }
.msgform__row .btn { flex: 1; justify-content: center; }
.cmd .pads button { background: var(--c-panel-2); border-color: var(--c-line-2); }
.cmd .drawer__panel { background: var(--c-panel); }
.cmd .drawer .drawer__body { padding: 0; }
.cmd .fs { border-color: var(--c-line-2); }

@media (max-width: 420px) { .tiles--add { grid-template-columns: repeat(3, 1fr); } .tiles--msg { grid-template-columns: repeat(2, 1fr); } }

/* ---------- desktop: a fixed desk, panels scroll inside ---------- */
@media (min-width: 1100px) {
  .cmd.is-desk { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
  .cmd.is-desk .bar { position: static; flex: none; }
  .cmd.is-desk .desk { flex: 1; min-height: 0; max-width: none; padding: 12px; gap: 12px; grid-template-columns: 300px minmax(460px, 1fr) 400px; align-items: stretch; }
  .cmd.is-desk .desk__l, .cmd.is-desk .desk__r { position: static; max-height: none; height: 100%; overflow: auto; align-content: start; gap: 12px; }
  .cmd.is-desk .remote { padding: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; min-height: 0; }
  .cmd.is-desk .answers { display: flex; flex-direction: column; min-height: 0; }
  .cmd.is-desk .answers__body { flex: 1; overflow: auto; }
  .cmd.is-desk .desk__l .drawer__body, .cmd.is-desk .desk__r .drawer__body { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 12px; padding: 0; overflow: visible; }
  .cmd.is-desk .desk__l .drawer__body { background: var(--c-panel); border: 1px solid var(--c-line); }
  .cmd.is-desk .pane__row { padding: 0; }
  .cmd.is-desk .pane__row .pane__h { flex: 1; }
  .cmd.is-desk .pane__row { display: flex; align-items: stretch; background: var(--c-panel-2); border-bottom: 1px solid var(--c-line); }
  .cmd.is-desk .pane__row .pane__h { border: 0; }
  .cmd.is-desk .pane__row .hs-link { padding: 0 12px; }
  .cmd.is-desk .now__t { font-size: clamp(30px, 2.6vw, 46px); }
  .cmd.is-desk .bar__btn, .cmd.is-desk .panel__act[data-open="edit-live"] { display: none; }
  .cmd.is-desk .now__side [data-open="message"] { display: flex; }
  .cmd.is-desk .sbar__more { display: none; }
  .cmd.is-desk .tiles--add { grid-template-columns: repeat(4, 1fr); }
}
.cmd .keys3 button span.key__ico, .cmd .keys3 button.is-on span.key__ico, .cmd .keys3 button.is-done span.key__ico { width: auto; height: auto; border: 0; border-radius: 0; background: none; color: inherit; font-size: 20px; display: block; }
@media (min-width: 1100px) { .cmd.is-desk .now__side { grid-template-columns: repeat(3, 1fr); } }
.cmd .stepper { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--c-line-2); border-radius: 10px; overflow: hidden; background: var(--bg); }
.cmd .stepper button { width: 40px; height: 100%; font-size: 18px; color: var(--paper); background: var(--c-panel-2); }
.cmd .stepper button:active { background: var(--amber); color: var(--bg); }
.cmd .stepper b { min-width: 46px; text-align: center; font: 400 22px var(--display); color: var(--paper); }
.cmd .pane__h { flex-wrap: wrap; row-gap: 2px; }
.cmd .pane__meta { flex-basis: 100%; }
@media (min-width: 1100px) { html:has(.cmd.is-desk) { overflow: hidden; } }

@media (max-width: 760px) {
  .cmd .bar { min-height: 48px; }
  .cmd .bar .onair { margin: 6px 8px; padding: 6px 9px; }
  .cmd .bar__cell { padding: 0 8px; }
  .cmd .bar__cell b { font-size: 18px; }
  .cmd .bar__btn { min-height: 48px; padding: 0 12px; }
  .cmd .bar__leds { margin-left: auto; }
}
@media (max-width: 430px) { .cmd .bar__people { display: none; } }

/* ============================================================
   USE ALL THE SPACE
   ============================================================ */
.cmd .remote { max-width: none; width: 100%; margin: 0; }
@media (min-width: 1100px) {
  .cmd.is-desk .desk { max-width: none; width: 100%; grid-template-columns: minmax(260px, 22%) minmax(0, 1fr) minmax(340px, 28%); }
}
@media (min-width: 1700px) {
  .cmd.is-desk .desk { grid-template-columns: minmax(300px, 20%) minmax(0, 1fr) minmax(400px, 26%); }
  .cmd.is-desk .now__t { font-size: clamp(40px, 2.8vw, 64px); }
  .cmd.is-desk .res__v b { font-size: 30px; }
}
@media (max-width: 1099px) {
  .cmd .remote { padding: 8px; gap: 8px; }
  .cmd .panel { border-radius: 10px; }
}

/* ============================================================
   SCROLLBARS: thin, warm, and only there when you need them
   ============================================================ */
.cmd *, .live *, .scr * { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.cmd *:hover, .cmd *:focus-within, .live *:hover, .is-scrolling { scrollbar-color: rgba(244,180,26,.45) transparent; }
.cmd ::-webkit-scrollbar, .live ::-webkit-scrollbar, .scr ::-webkit-scrollbar { width: 6px; height: 6px; }
.cmd ::-webkit-scrollbar-track, .live ::-webkit-scrollbar-track, .scr ::-webkit-scrollbar-track { background: transparent; }
.cmd ::-webkit-scrollbar-thumb, .live ::-webkit-scrollbar-thumb, .scr ::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.cmd :hover::-webkit-scrollbar-thumb, .live :hover::-webkit-scrollbar-thumb, .is-scrolling::-webkit-scrollbar-thumb { background: rgba(244,180,26,.45); }
.cmd ::-webkit-scrollbar-thumb:hover, .live ::-webkit-scrollbar-thumb:hover { background: var(--amber); }
.cmd ::-webkit-scrollbar-corner { background: transparent; }
html:has(.cmd), html:has(.live), html:has(.scr) { scrollbar-width: none; }
html:has(.cmd)::-webkit-scrollbar, html:has(.live)::-webkit-scrollbar, html:has(.scr)::-webkit-scrollbar { display: none; }
.scr * { scrollbar-width: none; }

/* ---------- projector: QR big only when input is needed ---------- */
.scr[data-need="false"] .scr__frame { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "msg" "main" "foot"; }
.scr[data-need="false"] .scr__join { position: fixed; right: 3vh; bottom: 3vh; width: min(17vh, 14vw); height: auto; padding: 1.1vh; gap: .7vh; border-radius: 1.8vh; transform: none; opacity: .9; box-shadow: 0 1.5vh 4vh -1vh rgba(0,0,0,.7); animation: qr-min .5s var(--ease); }
.scr[data-need="false"] .scr__qr { flex: none; aspect-ratio: 1; }
.scr[data-need="false"] .scr__ask { font-size: 1.6vh; }
.scr[data-need="false"] .scr__url { display: none; }
.scr[data-need="true"] .scr__join { animation: qr-max .55s var(--ease); }
.scr[data-need="false"] .scr__foot { padding-right: 22vh; }
@keyframes qr-min { from { opacity: 0; transform: scale(1.6); transform-origin: right bottom; } }
@keyframes qr-max { from { opacity: 0; transform: scale(.6); transform-origin: right center; } }

/* the only control on the projector: a discreet fullscreen icon */
.scr .scr__fs { position: fixed; left: 2vh; bottom: 2vh; right: auto; top: auto; z-index: 5; width: 5vh; height: 5vh; min-width: 34px; min-height: 34px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(14,11,7,.5); color: var(--mute); font-size: 2.4vh; opacity: .35; transition: opacity .4s, color .2s, border-color .2s; }
.scr .scr__fs:hover { opacity: 1; color: var(--paper); border-color: var(--line-2); }
.scr.is-idle .scr__fs { opacity: 0; pointer-events: none; }
.scr__fs[hidden] { display: none !important; }
.scr .scr__bed { left: auto; right: 4.5vw; top: 2.2vh; bottom: auto; }

/* ---------- projector: one frame, every element on it ---------- */
.scr { --fx: 4.5vw; --fy: 4vh; }
.scr .scr__frame { padding: var(--fy) var(--fx); }
.scr .scr__top { gap: 2vw; }
.scr .scr__top .scr__fs { position: static; margin-left: auto; width: 4.4vh; height: 4.4vh; min-width: 30px; min-height: 30px; font-size: 2.1vh; }
.scr .scr__top .onair { margin-left: 0; }
.scr__foot { align-items: baseline; }
.scr__foot > :empty { display: none; }
.scr .scr__bed { position: static; font: 700 2.2vh var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0; }
.scr__chosen { transform-origin: left center; margin-left: -.04em; }
.scr[data-need="false"] .scr__join { right: var(--fx); bottom: var(--fy); }
.scr[data-need="false"] .scr__foot { padding-right: calc(min(17vh, 14vw) + 3vw); }

/* projector: the small QR badge gets its own cell, so it never covers content */
.scr[data-need="false"] .scr__frame { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top top" "msg msg" "main main" "foot join"; }
.scr[data-need="false"] .scr__join { position: static; align-self: end; justify-self: end; width: min(15vh, 12vw); }
.scr[data-need="false"] .scr__foot { padding-right: 0; align-self: end; }
/* vote bars: the leader stands out without hiding its own numbers */
.scr__bars li.is-lead { box-shadow: inset 0 0 0 .35vh var(--amber); }
.scr__bars li.is-lead .scr__bar { background: rgba(244,180,26,.5); }
.scr__bars li.is-lead b { color: var(--paper); }
.scr__bars li.is-lead i { color: var(--amber); }
/* vote screens: fit title + bars above the footer row, never under the badge */
.scr__main { min-height: 0; }
.scr__main:has(.scr__bars) .scr__t { font-size: clamp(32px, min(8.5vh, 6vw), 150px); margin-bottom: 1.6vh; }
.scr__main:has(.scr__bars) .scr__sub { font-size: 2.8vh; }
.scr__main:has(.scr__bars) .scr__tag { margin-bottom: 1.2vh; }
.scr__main:has(.scr__bars) .scr__bars { margin-top: 2.6vh; gap: 1.2vh; }
.scr__main:has(.scr__bars) .scr__bars li { padding: 1.5vh 2.4vh; }
.scr__main:has(.scr__bars) .scr__bars b, .scr__main:has(.scr__bars) .scr__bars i { font-size: 4.2vh; }

/* ---------- emoji picker ---------- */
.emoji-field { display: grid; grid-template-columns: 1fr 46px; gap: 6px; }
.emoji-field input { text-align: center; font-size: 20px !important; padding: 8px !important; }
.emoji-btn { display: grid; place-items: center; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 20px; }
.emoji-btn:hover { border-color: var(--amber); }
.emoji-btn--text { display: inline-flex; gap: 6px; min-height: 30px; padding: 4px 10px; font: 600 11px var(--sans); letter-spacing: 0; text-transform: none; color: var(--paper-2); }
.opt-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.emo { position: fixed; z-index: 400; background: #1b160e; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.85); display: grid; gap: 8px; }
.emo[hidden] { display: none; }
.emo__q { width: 100%; background: var(--bg); color: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: 500 14px var(--sans); outline: 0; }
.emo__q:focus { border-color: var(--amber); }
.emo__tabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emo__tabs button { height: 34px; border-radius: 8px; font-size: 17px; opacity: .55; }
.emo__tabs button[aria-selected="true"] { opacity: 1; background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--amber); }
.emo__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 220px; overflow: auto; }
.emo__grid button { aspect-ratio: 1; border-radius: 8px; font-size: 22px; line-height: 1; }
.emo__grid button:hover, .emo__grid button:focus-visible { background: var(--surface-2); outline: 0; transform: scale(1.15); }
.emo__none { grid-column: 1 / -1; margin: 10px 0; text-align: center; font-size: 13px; color: var(--mute); }
.emo__hint { margin: 0; font: 500 10px var(--mono); color: var(--mute); }
@media (min-width: 1100px) { html:has(.cmd.is-desk), .cmd.is-desk { overflow: clip; } }
.emoji-field input, .emo__grid button, .emo__tabs button, .tile__ico, .key__ico { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, sans-serif !important; }

/* ============================================================
   CONSOLE TYPE: legible from a distance
   Atkinson Hyperlegible: distinct shapes for 1 l I, 0 O, rn m.
   Sentence case, moderate tracking, tabular numbers, bigger labels.
   ============================================================ */
.cmd {
  --display: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --hand: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  font-family: var(--sans); font-size: 16px; font-variant-numeric: tabular-nums;
}
.cmd b, .cmd strong { font-weight: 700; }
/* labels: bigger, calmer tracking */
.cmd .panel__h, .cmd .pane__h, .cmd .hc-h, .cmd .vfield > small, .cmd .tiles__h, .cmd .bar__cell small, .cmd .led, .cmd .fs legend,
.cmd .setlist__t small, .cmd .stp span, .cmd .actsel small, .cmd .now__tag, .cmd .key small, .cmd .hs-field { font-size: 12px; letter-spacing: .06em; font-weight: 700; }
.cmd .panel__h, .cmd .pane__h { font-size: 13px; color: var(--paper); }
/* big readouts */
.cmd .bar__cell b { font: 800 24px var(--mono); letter-spacing: 0; }
.cmd .bar__clock { font: 700 18px var(--mono); }
.cmd .onair { font: 800 12px var(--sans); letter-spacing: .08em; }
.cmd .now__tag { font-size: 13px; letter-spacing: .08em; }
.cmd .now__t { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: -.01em; line-height: 1.05; }
.cmd.is-desk .now__t { font-size: clamp(32px, 2.6vw, 52px); }
.cmd .meter b { font: 700 14px var(--mono); letter-spacing: 0; }
/* keys */
.cmd .keys3 button { font-size: 15px; }
.cmd .keys3 button b { font-weight: 800; }
.cmd .now__go small { font: 700 12px var(--sans); letter-spacing: .08em; }
.cmd .now__go span { font: 800 clamp(24px, 2.2vw, 34px)/1.1 var(--display); text-transform: none; letter-spacing: -.005em; }
.cmd .key b { font-size: 15px; font-weight: 800; }
.cmd .key small { font-size: 11px; letter-spacing: .04em; }
.cmd kbd { font: 700 11px var(--mono); }
/* answers: readable, not handwritten */
.cmd .res__v b { font: 700 22px/1.2 var(--sans); }
.cmd.is-desk .res__v b { font-size: clamp(22px, 1.6vw, 28px); }
.cmd .res__v small { font-size: 13px; }
.cmd .res__k { font: 800 22px var(--mono); }
.cmd .res__l { font: 700 15px var(--mono); }
.cmd .res__go { font: 800 12px var(--sans); letter-spacing: .06em; padding: 9px 12px; }
.cmd .res--choice .res__v b { font: 800 22px var(--sans); text-transform: none; }
.cmd .res__pct { font: 800 28px var(--mono); }
.cmd .answers__empty { font: 800 22px var(--sans); text-transform: none; }
.cmd .answers__empty span { font: 500 16px var(--sans); }
.cmd .remote__next { font-size: 15px; }
/* running order */
.cmd .setlist__n { font: 800 20px var(--mono); }
.cmd .setlist__t { font-size: 15px; font-weight: 600; }
.cmd .setlist__t i { font: 500 12px var(--mono); }
.cmd .setlist li.setlist__act { font-size: 12px; letter-spacing: .08em; }
/* controls */
.cmd .tile b { font-size: 15px; font-weight: 800; }
.cmd .tile small { font-size: 12px; }
.cmd .stp input { font: 800 24px var(--mono) !important; }
.cmd .chips button { font: 700 13px var(--mono); }
.cmd .switch b { font-size: 15px; }
.cmd .switch small { font-size: 13px; }
.cmd .hs-field input, .cmd .hs-field textarea, .cmd .hs-field select, .cmd .msgform input { font: 500 16px var(--sans); }
.cmd .seg--3 span { font: 800 13px var(--sans); letter-spacing: .04em; }
.cmd .sbar__bed b { font-size: 14px; font-weight: 700; }
.cmd .snd__name b { font-size: 15px; }
.cmd .snd__name small { font: 500 12px var(--mono); }
.cmd .pads button span { font: 700 12px var(--sans); }
.cmd .beds button { font: 700 14px var(--sans); }
.cmd .hs-mute, .cmd .sbar__warn, .cmd .now__msgline { font-size: 14px; }
.cmd .drawer__h h2 { font: 800 22px var(--sans); text-transform: none; }
@media (max-width: 760px) {
  .cmd .bar .led { font-size: 0; gap: 0; }
  .cmd .bar .led i { width: 11px; height: 11px; }
  .cmd .bar .bar__cell b { font-size: 20px; }
  .cmd .bar .bar__cell small { font-size: 10px; letter-spacing: .04em; }
  .cmd .bar .onair { font-size: 11px; }
}
.cmd .plans__body .hs-add { flex-wrap: wrap; }
.cmd .plans__body .hs-add input { min-width: 0; flex: 1 1 140px; }
.cmd .meter { height: auto; min-height: 34px; padding: 7px 12px; }
.cmd .meter b { line-height: 1.25; }
/* brand QR card: cream like the code, amber frame */
.scr .scr__join { background: #f4ead2; box-shadow: inset 0 0 0 .5vh var(--amber), 0 2vh 5vh -2vh rgba(0,0,0,.7); }
.scr__qr svg { position: absolute; max-width: 100%; max-height: 100%; display: block; }
.scr__ask { color: #0e0b07; }
.scr__url { color: #6d5f43; }
.scr__qr svg { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; }

/* ============================================================
   DOCK: quick controls out of the game flow
   ============================================================ */
.dock { display: flex; align-items: stretch; gap: 8px; padding: 8px; background: var(--c-panel); border: 1px solid var(--c-line-2); border-radius: 12px; position: relative; }
.dock__group { display: flex; gap: 6px; align-items: stretch; }
.dock__sound { flex: 1; min-width: 0; }
.dock__sep { width: 1px; background: var(--c-line-2); margin: 4px 2px; }
.dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 12px; border-radius: 10px; background: var(--c-panel-2); border: 1px solid var(--c-line-2); color: var(--paper); font: 700 14px var(--sans); white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s; }
.dock__btn span { font-size: 18px; line-height: 1; }
.dock__btn small { font: 700 12px var(--mono); color: var(--mute); }
.dock__btn:hover { border-color: var(--paper-2); }
.dock__btn.is-on { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.dock__btn.is-on small { color: var(--bg); }
.dock .sbar__bed { min-width: 0; }
.dock .sbar__bed[aria-pressed="true"] { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.dock .sbar__bed b { overflow: hidden; text-overflow: ellipsis; max-width: 11em; }
.dock .sbar__fx { display: flex; gap: 6px; flex: 1; min-width: 0; }
.dock .sbar__fx button { flex: 1; min-width: 44px; min-height: 48px; border-radius: 10px; font-size: 20px; }
.dock .sbar__more { min-width: 44px; padding: 0; font-size: 18px; }
.dock__warn { position: absolute; left: 12px; right: 12px; top: -14px; transform: translateY(-100%); padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(244,180,26,.5); background: #2a2010; color: var(--amber); font: 700 13px var(--sans); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 8px 20px -8px rgba(0,0,0,.8); }
.dock__warn::after { content: " · Sunet ›"; color: var(--paper-2); font-weight: 600; }

/* desktop: dock pinned to the bottom of the centre column */
@media (min-width: 1100px) {
  .cmd.is-desk .remote { grid-template-rows: auto minmax(0, 1fr) auto; }
  .cmd.is-desk .dock__warn { position: static; transform: none; align-self: center; max-width: 34%; }
  .cmd.is-desk .bar__btn { display: inline-flex; }
  .cmd.is-desk .bar__btn[aria-pressed="false"] { color: var(--mute); }
  .cmd.is-desk .bar__btn[aria-pressed="true"] { color: var(--amber); }
  .cmd.is-desk .sbar__more { display: inline-flex; }
  .cmd.is-desk.hide-l .desk__l, .cmd.is-desk.hide-r .desk__r { display: none; }
  .cmd.is-desk.hide-l .desk { grid-template-columns: minmax(0, 1fr) minmax(340px, 28%); }
  .cmd.is-desk.hide-r .desk { grid-template-columns: minmax(260px, 22%) minmax(0, 1fr); }
  .cmd.is-desk.hide-l.hide-r .desk { grid-template-columns: minmax(0, 1fr); }
}

/* phones/tablets: sticky dock at the bottom of the screen */
@media (max-width: 1099px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-radius: 16px 16px 0 0; border-width: 1px 0 0; padding: 8px 8px max(8px, env(safe-area-inset-bottom)); box-shadow: 0 -12px 30px -12px rgba(0,0,0,.8); }
  .cmd .remote { padding-bottom: 150px; }
}
@media (max-width: 640px) {
  .dock { flex-wrap: wrap; }
  .dock__sep { display: none; }
  .dock__group:first-child { width: 100%; }
  .dock__group:first-child .dock__btn { flex: 1; }
  .dock__sound { width: 100%; }
  .dock .sbar__bed b { max-width: 6.5em; }
  .dock__btn small { display: none; }
}
/* the centre column (and its dock) must be allowed to shrink to its track */
.cmd .remote, .cmd .dock, .cmd .dock__group, .cmd .now, .cmd .answers { min-width: 0; }
.cmd.is-desk .remote { height: 100%; min-height: 0; overflow: hidden; }
.cmd.is-desk .dock__warn { position: absolute; left: 12px; right: auto; max-width: calc(100% - 24px); top: -10px; transform: translateY(-100%); }
.dock .sbar__bed b { min-width: 0; }
@media (min-width: 1100px) and (max-width: 1500px) {
  .cmd.is-desk .dock__btn { padding: 0 9px; gap: 5px; }
  .cmd.is-desk .dock__btn small { display: none; }
  .cmd.is-desk .dock .sbar__bed b { max-width: 6em; }
}
@media (max-width: 640px) { .dock .sbar__fx button { min-width: 0; } .dock .sbar__bed { padding: 0 10px; } }

/* program: no acts; opening/closing screens as bookends */
.cmd .setlist li.is-bookend { background: linear-gradient(90deg, rgba(244,180,26,.10), transparent 70%), var(--c-panel-2); }
.cmd .desk__l .setlist li.is-bookend { background: linear-gradient(90deg, rgba(244,180,26,.10), transparent 70%); }
.cmd .now.is-static .keys3, .cmd .now.is-static .meter { display: none; }
.cmd .tiles--3:has(input[value="outro"]) { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.cmd .timein { height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-line-2); background: var(--bg); color: var(--paper); font: 800 22px var(--mono); color-scheme: dark; }
/* projector: room for Romanian accents between stacked caps */
.scr__t { line-height: 1.28 !important; }
.scr__t br + * , .scr__t { padding-top: .04em; }
.scr__clock--sm { font-size: min(18vh, 10vw) !important; }
.scr [hidden] { display: none !important; }

/* right column tabs (desktop) */
.rtabs { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--c-panel); border: 1px solid var(--c-line-2); border-radius: 12px; }
.rtabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; border-radius: 9px; font: 700 13px var(--sans); color: var(--paper-2); transition: background .2s, color .2s; }
.rtabs button span { font-size: 17px; line-height: 1; }
.rtabs button:hover { background: var(--c-panel-2); color: var(--paper); }
.rtabs button[aria-selected="true"] { background: var(--c-panel-2); color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
.rtabs__dot { position: absolute; top: 6px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); display: none; }
.rtabs .has-dot .rtabs__dot { display: block; }
.cmd.is-desk .desk__r { scroll-padding-top: 70px; }
@media (min-width: 1100px) { .cmd.is-desk .desk__r [data-pane]:not([data-pane="edit"]) > .pane__h { display: none; } }

/* ============================================================
   GOODBYE: feedback, testimonial, share
   ============================================================ */
.bye { display: grid; gap: 12px; margin-top: 6px; }
.bye__step { border: 1.5px solid rgba(14,11,7,.14); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.bye__step h3 { margin: 0; display: flex; align-items: center; gap: 10px; font: 400 22px/1 var(--display); text-transform: uppercase; }
.bye__step h3 b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--amber); font: 700 14px var(--mono); }
.bye .game__sub { margin: 0; }
.fb { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 6px; }
.fb button { aspect-ratio: 1; border-radius: 14px; border: 1.5px solid rgba(14,11,7,.16); font-size: clamp(26px, 8vw, 36px); filter: grayscale(.6); transition: filter .2s, transform .25s var(--ease), border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.fb button:active { transform: scale(.9); }
.fb button.is-on { filter: none; transform: scale(1.08); border-color: var(--bg); background: rgba(244,180,26,.35); }
.fb:has(.is-on) button:not(.is-on) { opacity: .55; }
.bye__form { display: grid; gap: 10px; }
.bye__ta { font: 500 17px/1.4 var(--sans) !important; resize: vertical; min-height: 92px; padding: 12px 14px !important; }
.bye__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #5d5038; }
.bye__consent input { margin-top: 2px; accent-color: var(--bg); width: 18px; height: 18px; }
.bye__note { margin: 4px 0; font: 600 16px/1.4 var(--sans); }
.tagchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchips button { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg); color: var(--amber); font: 700 16px var(--mono); }
.tagchips small { font: 600 11px var(--sans); color: var(--paper-2); }
.tagchips button.is-done { background: var(--amber); color: var(--bg); }
.tagchips button.is-done small { color: var(--bg); }

/* projector goodbye */
.scr__t--bye { font-size: clamp(32px, min(8vh, 5.6vw), 140px) !important; margin-bottom: 3vh; }
.scr__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2vh; }
.scr__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 2vh; align-items: center; }
.scr__steps li > b { grid-row: span 2; display: grid; place-items: center; width: 6vh; height: 6vh; border-radius: 50%; background: var(--amber); color: var(--bg); font: 700 3vh var(--mono); }
.scr__steps span { font: 600 3.4vh/1.2 var(--sans); color: var(--paper); }
.scr__steps em { font-style: normal; }
.scr__fb { display: flex; gap: 2vh; margin-top: .6vh; }
.scr__fb i { position: relative; font-style: normal; font-size: 5vh; line-height: 1; }
.scr__fb small { position: absolute; right: -1.2vh; top: -1vh; min-width: 2.6vh; padding: 0 .6vh; border-radius: 999px; background: var(--paper); color: var(--bg); font: 700 1.6vh/2.6vh var(--mono); text-align: center; }
.scr__fb small:empty { display: none; }
.scr__quote { font: 600 2.6vh/1.35 var(--sans); color: var(--paper-2); max-width: 46ch; }
.scr__tags { font: 700 3.4vh var(--mono); color: var(--amber); }

/* operator goodbye results */
.byeres { display: grid; gap: 12px; padding: 6px; }
.byeres__fb { display: flex; gap: 10px; align-items: flex-end; height: 140px; padding: 0 6px; }
.byeres__col { flex: 1; height: 100%; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 4px; }
.byeres__bar { align-self: end; width: 70%; height: var(--h); min-height: 3px; border-radius: 6px 6px 0 0; background: var(--amber); transition: height .5s var(--ease); }
.byeres__col b { font: 800 18px var(--mono); }
.byeres__col i { font-style: normal; font-size: 26px; }
.byeres__h { display: flex; justify-content: space-between; align-items: center; }
.emoji-field--wide { grid-template-columns: 1fr 46px; }
.emoji-field--wide input { text-align: left; letter-spacing: .2em; }
.game__t { line-height: 1.12; }
.emoji-field input { background: var(--bg); color: var(--paper); border: 1px solid var(--c-line-2, var(--line-2)); border-radius: 10px; }

/* ---------- projector goodbye: three equal invitations, QR secondary ---------- */
.scr[data-phase="end"] .scr__frame { grid-template-columns: minmax(0, 1fr) 24%; column-gap: 3vw; }
.scr[data-phase="end"] .scr__join { padding: 2.4vh; }
.scr[data-phase="end"] .scr__ask { font-size: min(3.6vh, 2vw); }
.scr[data-phase="end"] .scr__main { align-self: center; }
.scr__t--bye { font-size: clamp(30px, min(7.4vh, 4.6vw), 120px) !important; line-height: 1.22 !important; margin: 0 0 4.5vh !important; max-width: 22ch; }
.scr .scr__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8vw; }
.scr .scr__steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 1.8vh; padding: 3vh 2.4vh 3.2vh; border-radius: 2.2vh; background: var(--surface); border: 1px solid var(--line-2); min-height: 30vh; }
.scr .scr__steps li > b { width: 4.6vh; height: 4.6vh; font-size: 2.3vh; grid-row: auto; }
.scr .scr__steps span { font: 400 min(4.4vh, 2.6vw)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--paper); }
.scr .scr__fb { flex-wrap: wrap; gap: 1.6vh 1.4vw; margin-top: auto; }
.scr .scr__fb i { font-size: min(5.4vh, 3vw); }
.scr .scr__quote { margin-top: auto; display: grid; gap: .8vh; font: 600 min(2.6vh, 1.5vw)/1.4 var(--sans); color: var(--paper); }
.scr .scr__quote small { font: 600 min(2vh, 1.2vw) var(--mono); color: var(--amber); }
.scr__hint { margin-top: auto; font: 500 min(2.5vh, 1.45vw)/1.4 var(--sans); color: var(--paper-2); }
.scr .scr__tags { margin-top: auto; display: grid; gap: .8vh; font: 700 min(2.9vh, 1.65vw) var(--mono); color: var(--amber); word-break: break-all; }
.scr .scr__tags i { font-style: normal; }
.scr__foot .scr__credits { margin: 0 0 0 auto; max-width: 55%; font: 500 1.5vh/1.4 var(--sans); color: var(--mute); text-align: right; }
.scr[data-phase="end"] .scr__join { align-self: center; height: auto; }
.scr[data-phase="end"] .scr__qr { flex: none; width: 100%; aspect-ratio: 1; }
.scr[data-phase="end"] .scr__url { font-size: min(1.8vh, 1vw); }
.scr .scr__fb { flex-wrap: nowrap; gap: .9vw; }
.scr .scr__fb i { font-size: min(4.6vh, 2.2vw); }
.scr__foot .scr__credits { font: 500 1.5vh/1.4 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }

/* goodbye on phones: one question at a time */
.bye__dots { display: flex; gap: 6px; margin-bottom: 14px; }
.bye__dots i { width: 22px; height: 5px; border-radius: 3px; background: rgba(14,11,7,.14); transition: background .3s; }
.bye__dots i.is-on { background: var(--amber-d); }
.fb--big { grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 6px 0 10px; }
.fb--big button { font-size: clamp(30px, 10vw, 46px); filter: none; border-width: 2px; background: rgba(14,11,7,.03); }
.fb--big button:hover { border-color: var(--bg); }
.bye__choice { display: grid; gap: 10px; margin-top: 6px; }
.bye__choice .btn, .bye__done, .bye__pick { justify-content: center; width: 100%; }
.bye__ways { display: grid; gap: 10px; margin-top: 4px; }
.bye__way { display: grid; gap: 10px; padding: 14px; border-radius: 14px; border: 1.5px solid rgba(14,11,7,.14); }
.bye__way h3 { margin: 0; font: 700 16px/1.2 var(--sans); }
.bye__way .btn { justify-content: center; }
.bye__pick { cursor: pointer; }
.bye__mail { font-size: 13px; color: #5d5038; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.bye__done { margin-top: 12px; }

/* hero: room above the diacritic row so the Â in RÂS doesn't fuse into the O above */
.hero__title { line-height: 1; }
.hero__title .ln--lynx { padding-top: .1em; }

/* name sheet: opt in to play */
.sheet__vol { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(14,11,7,.14); cursor: pointer; }
.sheet__vol input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--amber-d); }
.sheet__vol span { display: grid; gap: 3px; }
.sheet__vol b { font: 700 16px/1.25 var(--sans); color: #1a140b; }
.sheet__vol small { font-size: 13px; line-height: 1.4; color: #5d5038; }
.sheet__vol:has(input:checked) { border-color: var(--amber-d); background: rgba(242,178,26,.12); }

/* projector: more than an hour before the show, poster only */
body[data-early="true"] .scr__join { display: none !important; }

/* projector: mirror the top bar's height at the bottom so the content + QR sit on the screen's true centre */
.scr[data-need="true"] .scr__frame { padding-bottom: calc(var(--fy) + 11.8vh); }

/* how it works: three steps you can read at a glance */
.howto .howto__steps { list-style: none; padding: 0; margin: 2px 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: step; }
.howto__steps li { position: relative; counter-increment: step; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; padding: 14px 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.howto__steps li::before { content: counter(step); position: absolute; top: 7px; left: 9px; font: 700 11px var(--mono); color: var(--amber); }
.howto__steps li + li::after { content: "›"; position: absolute; left: -8px; top: 26px; width: 8px; text-align: center; color: var(--amber); font: 700 16px/1 var(--sans); }
.howto__ic { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.howto__steps b { font: 700 14px/1.25 var(--sans); color: var(--paper); }
.howto__steps small { font-size: 12px; line-height: 1.35; color: var(--paper-mute, var(--paper-2)); }

/* projector slideshow before the countdown: slow crossfade, gentle drift */
.scr__slides { position: fixed; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.scr__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,11,7,.92) 0%, rgba(14,11,7,.6) 55%, rgba(14,11,7,.35) 100%), linear-gradient(0deg, rgba(14,11,7,.7), transparent 40%); }
.scr__slides > div { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 2.4s ease, transform 10s linear; }
.scr__slides > div.is-on { opacity: 1; transform: scale(1); }
body[data-early="true"] .scr__slides { opacity: 1; }
.scr .scr__frame { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .scr__slides > div { transform: none; transition: opacity 2.4s ease; } }

/* ---------- phones: legibility floor (min 12px labels, 13px+ text, AA contrast) ---------- */
body.live { -webkit-text-size-adjust: 100%; }
body.live .onair { font-size: 12px; letter-spacing: .12em; }
body.live .onair:not([data-phase="break"]):not([data-phase="idle"]):not([data-phase="end"]) { background: #b3321c; }
body.live .onair[data-phase="idle"] { color: #0e0b07; background: #f4ead2; }
body.live .onair[data-phase="end"] { color: var(--paper); }
body.live .lv-ctx > b { font-size: 12px; letter-spacing: .08em; }
body.live [data-sort] { font-size: 13px; }
body.live [data-sort][aria-pressed="false"] { color: var(--paper-2); }
body.live .react__head span { font-size: 13px; letter-spacing: .04em; }
body.live .lv-me, body.live .lv-me b, body.live .lv-bar b { font-size: 12px; letter-spacing: .08em; }
body.live .lv-me { color: var(--paper-2); }
body.live .howto summary { font-size: 12px; letter-spacing: .12em; color: var(--paper); }
body.live .howto__steps small { font-size: 13px; color: var(--paper-2); }
body.live .game__tag { font-size: 12px; letter-spacing: .14em; color: #7a4f00; }
body.live .game__fine { font: 500 14px/1.45 var(--sans); letter-spacing: 0; color: #4f4430; }
body.live .game__sub { font-size: 16px; line-height: 1.45; }
body.live .game .btn, body.live .sheet .btn { font-size: 14px; }
body.live .ideas button, body.live .ideas span { font-size: 14px; }
body.live .ideas span { font-size: 12px; color: #4f4430; }
body.live .feed h2 { font-size: 12px; letter-spacing: .12em; }
body.live .feed [role="tab"], body.live .feed__tabs button { font-size: 13px; }
body.live .feed__hint { font-size: 14px; color: var(--paper-2); }
body.live .game__left, body.live .game__clock b { font-size: 13px; }
body.live .sheet__skip, body.live .bye__mail { font-size: 14px; }
body.live .tagchips small { font-size: 12px; }
body.live .lv-ctx { gap: 10px; min-width: 0; }
body.live .lv-ctx > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.live .lv-ctx > b { flex: none; }
body.live .onair { white-space: nowrap; flex: none; }
.startin { display: flex; gap: 8px; flex-wrap: wrap; }
.startin .timein { flex: 1 1 140px; min-width: 0; }
body.live .lv-me[hidden] { display: none !important; }

/* how it works v2: a short vertical timeline, one line of meaning per step */
.howto .howto__steps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: none; }
.howto__steps li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 10px 0; text-align: left; background: none; border-radius: 0; position: relative; justify-items: stretch; }
.howto__steps li::before { content: none; }
.howto__steps li + li::after { content: ""; position: absolute; left: 21px; top: -10px; height: 20px; width: 2px; border-radius: 2px; background: rgba(244,180,26,.35); }
.howto__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(244,180,26,.14); box-shadow: inset 0 0 0 1.5px rgba(244,180,26,.45); font-size: 22px; margin: 0; }
.howto__steps p { margin: 0; display: grid; gap: 2px; }
body.live .howto__steps b { font: 700 16px/1.25 var(--sans); color: var(--paper); }
body.live .howto__steps small { font-size: 14px; line-height: 1.35; color: var(--paper-2); }

/* console: presentation script */
.present { display: grid; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--c-panel-2, rgba(255,255,255,.05)); border: 1px solid rgba(244,180,26,.35); }
.present small { font: 700 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.present h3 { margin: 0; font: 400 clamp(28px, 3vw, 40px)/1.05 var(--display); text-transform: uppercase; color: var(--paper); }
.present p { margin: 0; font: 500 18px/1.5 var(--sans); color: var(--paper); max-width: 60ch; }
.present span { font-size: 14px; color: var(--paper-2); }

/* phones during a scene: a quiet reminder, nothing to do */
body.live .game:has(.remind) { background: transparent; box-shadow: none; border: 1px solid var(--line); padding: 18px 20px; }
.remind { display: grid; gap: 6px; }
.remind small { font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.remind p { margin: 0; font: 600 20px/1.3 var(--sans); color: var(--paper); }
.remind p b { color: var(--amber); }
.remind span { font-size: 14px; color: var(--paper-2); }
.dock__btn[aria-pressed="true"] { background: var(--amber); color: #0e0b07; }

/* operator templates */
.tpl { position: relative; display: grid; }
.tpl__del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; color: var(--paper-2); background: rgba(0,0,0,.35); opacity: 0; transition: opacity .2s; }
.tpl:hover .tpl__del, .tpl__del:focus-visible { opacity: 1; }
@media (hover: none) { .tpl__del { opacity: .8; } }
.tpl-save { width: 100%; justify-content: center; margin-top: 8px; }

/* per-actor questions: editor */
.asks { display: grid; gap: 10px; margin-top: 10px; }
.asks[hidden] { display: none; }
.asks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.asks__row { display: grid; grid-template-columns: 24px minmax(0, .8fr) minmax(0, 1.2fr) 30px; gap: 6px; align-items: center; }
.asks__n { font: 700 13px var(--mono); color: var(--amber); text-align: center; }
.asks__row input { min-width: 0; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--c-line-2, rgba(255,255,255,.14)); background: var(--c-panel-2, rgba(255,255,255,.04)); color: var(--paper); font: 500 15px var(--sans); }
.asks__row input:focus { outline: 2px solid var(--amber); outline-offset: 0; }
.asks__del { width: 30px; height: 30px; border-radius: 8px; color: var(--paper-2); }
.asks__del:hover { background: rgba(255,255,255,.08); color: var(--paper); }
.asks__h { margin: 4px 0 0; font: 700 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-2); }
.asks__quick { flex-wrap: wrap; }
/* per-actor results: console */
.cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cast li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.cast li span { font: 700 15px var(--sans); color: var(--paper); }
.cast li small { font-size: 13px; color: var(--paper-2); }
.cast li b { font: 700 17px var(--sans); color: var(--paper-2); }
.cast li.is-set b { color: var(--amber); }
.cast li.is-now { box-shadow: inset 0 0 0 1.5px var(--amber); }
/* phones + projector: who got what */
.remind__cast { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 4px; }
.remind__cast li { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; color: var(--paper-2); }
.remind__cast b { color: var(--amber); text-align: right; }
.scr__cast { list-style: none; margin: 2vh 0 0; padding: 0; display: grid; gap: 1.6vh; }
.scr__cast li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 3vw; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 1.4vh; }
.scr__cast span { font: 700 3.4vh var(--sans); color: var(--paper-2); }
.scr__cast b { font: 400 7vh/1 var(--display); text-transform: uppercase; color: var(--amber); }

/* troupe: placeholder until real portraits arrive */
.member__ph--empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(244,180,26,.22), transparent 60%), var(--surface-2, #1c1711); }
.member__ini { font: 400 clamp(56px, 7vw, 96px)/1 var(--display); color: var(--amber); letter-spacing: .02em; }

/* header logo: big at the top of the page, eases down to its normal size once you scroll */
.hdr__logo img { transform-origin: left top; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.hdr:not(.is-scrolled) .hdr__logo img { transform: translateY(2px) scale(1.75); }
.hdr:not(.is-scrolled) .hdr__logo:hover img { transform: translateY(2px) scale(1.85) rotate(-3deg); }
@media (max-width: 700px) {
  .hdr:not(.is-scrolled) .hdr__logo img { transform: translateY(4px) scale(1.5); }
  .hdr:not(.is-scrolled) .hdr__logo:hover img { transform: translateY(4px) scale(1.55) rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) { .hdr__logo img { transition: none; } }
