/* Not My Event: the look of "The Audacity!" (public/templates/the-audacity.html). One page that scrolls DOWN through five places of one breaking-news broadcast. Each scene is a section
   with a pinned picture behind it (.stage, drawn by audacity-art.js for the size of the screen) and its words and toys in front (.flow), which simply scroll: nothing is clipped on a small
   phone and nothing has to be finished to go on. The scroll frame in audacity.js writes only transform and opacity on a few layers. Plum, raspberry, blush and champagne. */
:root { --ac: #EBC795; --ac2: #FBE9C6; --rasp: #C94D76; --plum: #381D35; --night: #211827; --blush: #F4CEDD; --cream: #FFF4F4; --head: 'Anton', 'Arial Narrow', Impact, sans-serif; --ed: 'Playfair Display', Georgia, serif; --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--sans); line-height: 1.45; overflow-x: clip; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 9100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #57C7F2; outline-offset: 3px; }

/* ---------- the two controls at the top, the details pill, the sound hint ---------- */
#menu-wrap { position: fixed; left: 10px; top: 10px; z-index: 9040; }
#b-menu { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid rgba(255, 244, 244, .4); background: rgba(33, 24, 39, .88); color: #fff; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
#menu { margin-top: 8px; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(33, 24, 39, .97); border: 1px solid rgba(255, 244, 244, .25); min-width: 220px; }
#menu button { min-height: 44px; text-align: left; padding: 0 12px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 15px; }
#menu button[aria-pressed="true"] { background: var(--ac); color: #2A1A12; }
#ev-pill { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9030; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid rgba(255, 244, 244, .45); background: rgba(33, 24, 39, .9); color: #fff; font-size: 13px; letter-spacing: .04em; }
#snd-hint { position: fixed; left: 50%; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 48px); transform: translateX(-50%); z-index: 9030; padding: 6px 12px; border-radius: 14px; background: rgba(33, 24, 39, .9); color: #fff; font-size: 12px; white-space: nowrap; transition: opacity .4s; pointer-events: none; }
#snd-hint.gone { opacity: 0; }

/* ---------- a scene: a pinned picture, and the words in front ---------- */
.sc { position: relative; }
#s1, #s4 { background: #211827; } #s2 { background: #211827; } #s3 { background: #2A1630; } #s5 { background: #211827; }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; z-index: 0; }
.flow { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100lvh; }
.flow, .beat { pointer-events: none; }
.beat > * { pointer-events: auto; }
.ly, .ov { position: absolute; inset: 0; pointer-events: none; }
.ly svg { display: block; width: 100%; height: 100%; }
.ov { opacity: 0; z-index: 4; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 76px 16px 96px; text-align: center; }
.beat.tall { min-height: 125vh; justify-content: flex-start; padding-top: 15vh; }
.beat.out { min-height: 70vh; justify-content: flex-end; padding-bottom: 24vh; }
.cue { font-weight: 900; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 16px; background: rgba(33, 24, 39, .88); color: #fff; }
.cue::after { content: '  ↓'; }
.linkish { background: none; border: 0; padding: 10px 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: inherit; opacity: .9; }
.minor { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.fine { font-size: 12px; opacity: .78; }
.status { font-weight: 700; font-size: 14px; min-height: 1.4em; color: var(--blush); }
.plate { font-weight: 900; letter-spacing: .18em; font-size: clamp(11px, 3.2vw, 14px); padding: 8px 16px; border-radius: 4px; background: var(--rasp); color: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.unit { width: 100%; max-width: 640px; padding: 22px 18px 14px; border-radius: 16px; display: grid; gap: 14px; justify-items: center; }
.unit h2 { font-family: var(--ed); font-weight: 900; font-size: clamp(22px, 6vw, 32px); line-height: 1.12; }
.unit.glass { background: linear-gradient(180deg, rgba(74, 38, 70, .96), rgba(33, 24, 39, .97)); border: 2px solid var(--ac); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); }
.head { font-family: var(--ed); font-weight: 900; font-size: clamp(30px, 8.4vw, 60px); line-height: 1.06; max-width: 13em; color: var(--cream); text-shadow: 0 3px 12px rgba(0, 0, 0, .7); }
.order { font-family: var(--head); font-weight: 400; font-size: clamp(40px, 12vw, 96px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; max-width: 10em; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .4), 0 0 30px rgba(201, 77, 118, .6); overflow-wrap: anywhere; }
.tagline { font-family: var(--ed); font-style: italic; font-size: clamp(17px, 4.8vw, 24px); max-width: 26em; padding: 8px 14px; border-radius: 8px; background: rgba(33, 24, 39, .8); overflow-wrap: anywhere; }
.say { max-width: 32em; font-size: clamp(15px, 4.2vw, 19px); line-height: 1.4; padding: 10px 14px; border-radius: 10px; background: rgba(33, 24, 39, .9); color: #fff; border-left: 4px solid var(--rasp); text-align: left; overflow-wrap: anywhere; }
.say.in { background: rgba(0, 0, 0, .3); }
.say.in:empty { display: none; }
.say .who { display: block; font-weight: 900; font-size: .7em; letter-spacing: .14em; color: var(--ac); }
.btn-big { min-height: 56px; padding: 8px 24px; border-radius: 30px; border: 3px solid #fff; background: var(--rasp); color: #fff; font-family: var(--head); font-size: clamp(19px, 5.4vw, 26px); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 5px 0 #7A2244; touch-action: manipulation; }
.btn-big:active { transform: translateY(3px); box-shadow: 0 2px 0 #7A2244; }
.btn-big.champ { background: linear-gradient(180deg, #FBE9C6, #EBC795); color: #2A1A12; border-color: #2A1A12; box-shadow: 0 5px 0 #8A6A3A; }
.btn-big:disabled { opacity: .5; }
.done-line { font-weight: 700; color: var(--ac2); font-size: 15px; }

/* the ticker along the bottom of the studio: a LIVE tab and a line that slides by; at the party it becomes a champagne ribbon */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: stretch; background: var(--cream); color: var(--night); font-weight: 900; font-size: 14px; letter-spacing: .06em; overflow: hidden; z-index: 3; transition: background .8s, color .8s; }
.ticker b { flex: none; display: grid; place-items: center; padding: 0 14px; background: var(--rasp); color: #fff; letter-spacing: .14em; z-index: 1; }
.ticker span { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker i { font-style: normal; white-space: nowrap; padding-left: 100%; animation: tick 26s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
#s4.party .ticker { background: linear-gradient(180deg, #FBE9C6, #EBC795); } #s4.party .ticker b { background: #2A1A12; }

/* ---------- 1. breaking news ---------- */
.sweep { background: linear-gradient(100deg, #000 0 30%, #C94D76 42%, #EBC795 50%, #F4CEDD 58%, transparent 70%); background-size: 340% 100%; }
body.intro .sweep { opacity: 1; animation: sweep 1.5s ease-in both; }
@keyframes sweep { from { background-position: 0 0; opacity: 1; } 85% { opacity: 1; } to { background-position: 100% 0; opacity: 0; } }
.bn { overflow: hidden; }
.bn span { display: inline-block; padding: 8px 22px; background: var(--rasp); color: #fff; font-family: var(--head); font-size: clamp(22px, 7vw, 44px); letter-spacing: .1em; box-shadow: 0 6px 0 #7A2244, 0 14px 30px rgba(0, 0, 0, .5); }
body.intro .bn span { animation: bnin .5s cubic-bezier(.2, 1.4, .4, 1) 1s both; }
@keyframes bnin { from { transform: translateX(-120%); } }
.chyron { display: grid; justify-items: start; width: 100%; max-width: 520px; text-align: left; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.chyron small { padding: 3px 12px; background: var(--rasp); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .18em; }
.chyron b { width: 100%; padding: 8px 14px; background: var(--cream); color: var(--night); font-family: var(--head); font-weight: 400; font-size: clamp(24px, 7vw, 40px); line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; min-height: 1.3em; }
/* the host's photo, if there is one: framed as a live picture on a studio monitor */
.livepic { width: min(240px, 62vw); padding: 8px 8px 0; background: #15101A; border-radius: 10px; border: 2px solid var(--ac); box-shadow: 0 12px 26px rgba(0, 0, 0, .55); }
.lp-pic { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #5A2E56; }
.lp-pic img, .lp-pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.livepic figcaption { padding: 6px 2px 7px; font-weight: 900; font-size: 12px; letter-spacing: .12em; text-align: left; overflow-wrap: anywhere; }
.livepic figcaption b { background: #E0483A; color: #fff; padding: 1px 7px; border-radius: 3px; margin-right: 4px; }
.meter { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; text-align: left; }
.m-lab { grid-column: 1 / -1; font-weight: 900; font-size: 12px; letter-spacing: .16em; color: var(--ac); }
.m-bar { height: 22px; border-radius: 11px; background: #15101A; border: 2px solid var(--ac); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(.01); background: linear-gradient(90deg, #E0483A, var(--rasp)); border-radius: 9px; transition: transform .7s cubic-bezier(.3, 1.9, .5, 1); }
.m-num { font-family: var(--head); font-size: clamp(28px, 8vw, 40px); line-height: 1; min-width: 2.6em; text-align: right; }
.meter.jolt { animation: jolt .45s ease; }
@keyframes jolt { 20% { transform: translateX(-5px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.bench { display: grid; grid-template-columns: minmax(104px, 150px) 1fr; gap: 14px; width: 100%; align-items: start; }
.subject svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.zone { opacity: 0; transition: opacity .3s; }
.subject.a1 .z1, .subject.a2 .z2, .subject.a3 .z3 { opacity: 1; }
.scanline { opacity: 0; }
.subject.scan .scanline { opacity: .9; animation: scan 1.2s ease-in-out both; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(274px); } }
.alerts { display: grid; gap: 8px; text-align: left; align-content: start; }
.alerts li { padding: 9px 12px; border-radius: 8px; background: var(--cream); color: var(--night); font-weight: 700; font-size: clamp(14px, 3.9vw, 16px); line-height: 1.3; border-left: 6px solid #E0483A; animation: slam .35s cubic-bezier(.2, 1.5, .4, 1) both; overflow-wrap: anywhere; }
.alerts li small { display: block; font-weight: 900; font-size: 11px; letter-spacing: .14em; color: #B5281E; }
.alerts li.wait { background: rgba(255, 244, 244, .1); color: rgba(255, 244, 244, .6); border-left-color: rgba(255, 244, 244, .3); animation: none; font-weight: 400; }
@keyframes slam { from { opacity: 0; transform: scale(1.5) rotate(-3deg); } to { opacity: 1; transform: none; } }
.final { font-family: var(--head); font-size: clamp(26px, 8vw, 46px); line-height: 1.05; letter-spacing: .03em; color: var(--ac); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); animation: slam .45s cubic-bezier(.2, 1.5, .4, 1) both; overflow-wrap: anywhere; }
.stage.shake { animation: shake .3s ease-out; }
@keyframes shake { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(0, 4px); } 50% { transform: translate(0, -3px); } 75% { transform: translate(0, 2px); } }
@media (max-width: 420px) { .bench { grid-template-columns: 1fr; justify-items: center; } .subject { width: 44%; min-width: 120px; } .alerts { width: 100%; } }

/* ---------- 2. the simulator ---------- */
.round { font-weight: 900; font-size: 12px; letter-spacing: .18em; color: var(--ac); }
.prompt { width: 100%; padding: 16px 14px; border-radius: 18px 18px 18px 4px; background: var(--cream); color: var(--night); font-family: var(--ed); font-weight: 700; font-size: clamp(20px, 5.8vw, 28px); line-height: 1.2; text-align: left; overflow-wrap: anywhere; }
.prompt small { display: block; font-family: var(--sans); font-weight: 900; font-size: 11px; letter-spacing: .14em; color: var(--rasp); margin-bottom: 4px; }
.prompt.pop { animation: slam .35s cubic-bezier(.2, 1.5, .4, 1) both; }
.choices { width: 100%; display: grid; gap: 9px; }
.ch { min-height: 54px; padding: 9px 14px; border-radius: 12px; border: 2px solid var(--ac); background: rgba(255, 244, 244, .08); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.25; text-align: left; overflow-wrap: anywhere; }
.ch:active { transform: translateY(2px); }
.ch[aria-pressed="true"] { background: var(--ac); color: #2A1A12; }
.ch:disabled:not([aria-pressed="true"]) { opacity: .45; }
.finding { font-family: var(--head); font-size: clamp(22px, 6.6vw, 36px); letter-spacing: .04em; line-height: 1.1; color: #fff; background: #E0483A; padding: 6px 16px; border-radius: 6px; transform: rotate(-2deg); animation: slam .4s cubic-bezier(.2, 1.5, .4, 1) both; }

/* ---------- 3. the witnesses ---------- */
.wits { width: 100%; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 700px) { .wits { grid-template-columns: repeat(4, 1fr); } }
.wits li { display: grid; gap: 8px; align-content: start; }
.wt { width: 100%; padding: 10px 8px 8px; border-radius: 14px; border: 2px solid var(--ac); background: rgba(33, 24, 39, .92); color: #fff; display: grid; gap: 6px; justify-items: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.wt svg { display: block; width: min(100%, 130px); height: auto; }
.wt .nm { font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.wt .tap { font-size: 12px; opacity: .8; }
.wt[aria-expanded="true"] { background: var(--plum); border-color: #fff; }
.wt[aria-expanded="true"] svg { animation: react .5s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes react { 40% { transform: scale(1.12) rotate(-4deg); } }
.testi { padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: var(--cream); color: var(--night); font-size: 15px; font-weight: 700; line-height: 1.35; text-align: left; overflow-wrap: anywhere; animation: slam .3s ease both; }
.testi small { display: block; font-weight: 900; font-size: 10.5px; letter-spacing: .14em; color: var(--rasp); }
.status.light { color: #fff; background: rgba(33, 24, 39, .8); padding: 4px 12px; border-radius: 12px; }
.status.light:empty { display: none; }
.urgent { font-weight: 900; letter-spacing: .2em; font-size: 13px; padding: 5px 14px; background: #E0483A; color: #fff; border-radius: 4px; }
.flick { opacity: 0; }
#s3.flash .flick { animation: flick 1.1s ease-out both; }
@keyframes flick { 0% { opacity: 0; } 12% { opacity: .22; } 24% { opacity: 0; } 40% { opacity: .16; } 60%, 100% { opacity: 0; } }

/* ---------- 4. the breaking point, and the party ---------- */
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.dev { font-family: var(--head); font-size: clamp(40px, 13vw, 110px); line-height: .98; letter-spacing: .04em; color: #fff; text-shadow: 0 5px 0 #7A2244, 0 0 40px rgba(201, 77, 118, .7); max-width: 8em; }
.twist { font-family: var(--head); font-size: clamp(28px, 8.4vw, 64px); line-height: 1.04; letter-spacing: .02em; max-width: 13em; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.twist span { display: block; } .twist .gold { color: var(--ac); }
.era { max-width: 26em; font-family: var(--ed); font-style: italic; font-weight: 500; font-size: clamp(17px, 4.8vw, 24px); padding: 10px 16px; border-radius: 8px; background: rgba(33, 24, 39, .88); overflow-wrap: anywhere; }
.twist, .era, #b-reveal { display: none; }
#s4.party .twist { display: block; animation: slam .5s cubic-bezier(.2, 1.4, .4, 1) both; }
#s4.party .era { display: block; animation: fadein .5s 1s both; } #s4.party #b-reveal { display: inline-block; animation: fadein .5s 1.5s both; }
@keyframes fadein { from { opacity: 0; } }
#s4.party .dev, #s4.party #b-twist, #s4.party #l-decision { display: none; }
#s4.hold .dev { animation: hold 1s steps(1) both; }
@keyframes hold { from { transform: scale(1.06); } }
.armsup { opacity: 0; transition: opacity .6s; }
#s4.party .armsup { opacity: 1; }
#s4 .pled, #s4 .lights { opacity: 0; transition: opacity 1.2s; }
#s4.party .pled { opacity: .92; } #s4.party .lights { opacity: 1; }
#s4 .desk { transition: transform 1.1s cubic-bezier(.6, 0, .4, 1); } #s4.party .desk { transform: translateY(46%); }
#s4 .table { transform: translateY(46%); transition: transform 1s cubic-bezier(.3, 1.3, .5, 1) .7s; } #s4.party .table { transform: none; }
.camhead { transition: transform 1s cubic-bezier(.4, 0, .3, 1); }
#s4.party .camhead { transform: rotate(-52deg); }
#s4.party .tally { opacity: 0; }
#s4 .dark { background: #211827; }
.linkish.light { color: #fff; }

/* ---------- 5. the bulletin ---------- */
#s5 .beat { padding-top: 110px; }
.bulletin { position: relative; width: 100%; max-width: 600px; padding: clamp(30px, 7vw, 46px) clamp(16px, 5vw, 40px) clamp(20px, 5vw, 34px); display: grid; gap: 11px; justify-items: center; color: var(--night); background: linear-gradient(180deg, #FFF4F4, #FBE6EC); border-top: 10px solid var(--rasp); box-shadow: inset 0 0 0 1px #E7BFCB, 0 26px 50px rgba(0, 0, 0, .55); border-radius: 3px; }
.s-seal { position: absolute; right: clamp(8px, 3vw, 22px); top: -40px; width: 78px; transform: rotate(10deg); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
.s-seal svg { display: block; width: 100%; height: auto; }
.s-top { font-weight: 900; font-size: clamp(11px, 3.1vw, 13px); letter-spacing: .22em; color: var(--rasp); }
#t-title { font-family: var(--ed); font-weight: 900; font-size: clamp(24px, 6.8vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
.bulletin .rule { width: 60%; height: 3px; background: linear-gradient(90deg, transparent, var(--rasp), transparent); }
.bulletin .event { font-family: var(--ed); font-style: italic; font-size: clamp(18px, 5vw, 24px); overflow-wrap: anywhere; }
.bulletin .when { font-weight: 900; font-size: clamp(17px, 4.8vw, 21px); }
.bulletin .where { font-size: clamp(15px, 4.3vw, 18px); overflow-wrap: anywhere; }
.bulletin .dress, .bulletin .with { font-size: 15px; overflow-wrap: anywhere; }
.bulletin .closing { font-family: var(--ed); font-style: italic; font-size: clamp(15px, 4.2vw, 18px); color: #8A2E52; overflow-wrap: anywhere; }
.acts, .row-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; border-radius: 24px; border: 2px solid var(--ac); background: var(--ac); color: #2A1A12; font-weight: 900; font-size: 15px; letter-spacing: .03em; }
.btn.ghost { background: transparent; color: var(--ac); }
.bulletin .btn { border-color: var(--night); background: var(--night); color: var(--cream); } .bulletin .btn.ghost { background: transparent; color: var(--night); }
.btn:disabled { opacity: .5; }

/* ---------- the details, the reply, the headline card ---------- */
.after { position: relative; z-index: 2; background: var(--plum); color: var(--cream); padding: 30px 16px calc(96px + env(safe-area-inset-bottom)); display: grid; gap: 34px; justify-items: center; }
.after section { width: 100%; max-width: 560px; display: grid; gap: 14px; }
.after h2 { font-family: var(--ed); font-weight: 900; font-size: 26px; color: var(--ac); }
.det { display: grid; gap: 11px; }
.det div { display: grid; gap: 1px; padding-bottom: 10px; border-bottom: 1px solid rgba(235, 199, 149, .25); }
.det dt { font-weight: 900; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.det dd { font-size: 17px; overflow-wrap: anywhere; }
.row-acts { justify-content: flex-start; }
.going { font-size: 14px; color: var(--ac2); }
#rsvp-form { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; font-size: 14px; color: #E7D3DC; }
.f input[type="text"], .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(235, 199, 149, .6); background: var(--night); color: #fff; font: inherit; font-size: 16px; }
.ans { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ans label { display: flex; gap: 10px; align-items: center; min-height: 54px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(235, 199, 149, .45); background: var(--night); font-size: 15px; cursor: pointer; }
.ans label:has(input:checked) { border-color: var(--ac); background: #4A2646; box-shadow: inset 0 0 0 1px var(--ac); }
.ans input { width: 20px; height: 20px; accent-color: var(--rasp); flex: none; }
.ans b { color: var(--ac2); letter-spacing: .04em; }
.step { display: flex; align-items: center; gap: 14px; }
.step button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ac); background: transparent; color: var(--ac); font-size: 22px; }
.step output { min-width: 1.5em; text-align: center; font-size: 20px; color: #fff; }
#err { min-height: 1.3em; font-size: 14px; color: #E7D3DC; } #err.err { color: #FFB0B8; }
#done { display: grid; gap: 8px; padding: 18px; border-radius: 10px; border: 1px solid var(--ac); background: var(--night); justify-items: start; }
.r-stamp span { display: inline-block; font-family: var(--head); font-size: clamp(22px, 6.4vw, 34px); letter-spacing: .06em; line-height: 1.1; color: #fff; background: var(--rasp); border-radius: 6px; padding: 4px 12px; transform: rotate(-3deg); animation: slam .4s cubic-bezier(.2, 1.5, .4, 1) both; }
#done-t { font-family: var(--ed); font-weight: 900; font-size: 22px; color: var(--ac2); } #done-t:focus { outline: none; }
#r-closed { padding: 14px; border-radius: 10px; background: var(--night); }
#card { text-align: center; justify-items: center; padding: 24px 16px; border: 2px solid var(--ac); border-radius: 10px; background: var(--night); }
#card .c-top { font-weight: 900; letter-spacing: .16em; font-size: 11.5px; color: var(--rasp); background: var(--cream); padding: 3px 10px; border-radius: 3px; }
.after .c-h { font-family: var(--head); font-weight: 400; font-size: clamp(22px, 6.4vw, 34px); line-height: 1.1; letter-spacing: .03em; color: #fff; max-width: 16em; overflow-wrap: anywhere; }
.c-acts { justify-content: center; }
.foot { font-size: 12px; opacity: .65; text-align: center; max-width: 30em; }

/* ---------- the small motion in the pictures (slow, and never a strobe) ---------- */
.tile { animation: shimmer 5s ease-in-out infinite alternate; } .tile.t1 { animation-delay: -1.7s; } .tile.t2 { animation-delay: -3.3s; }
@keyframes shimmer { from { opacity: 1; } to { opacity: .72; } }
.lamp { animation: shimmer 4s ease-in-out infinite alternate; } .lamp.d { animation-delay: -2s; }
.tally, .onair { animation: tally 1.6s steps(2, jump-none) infinite; }
@keyframes tally { from { opacity: 1; } to { opacity: .45; } }
.needle { transform-origin: 0 12px; animation: needle 1.3s ease-in-out infinite alternate; }
@keyframes needle { from { transform: rotate(-8deg); } to { transform: rotate(96deg); } }
.beam { animation: sway 8s ease-in-out infinite alternate; } .beam.b1 { animation-duration: 9.5s; animation-delay: -3s; } .beam.b2 { animation-duration: 7s; animation-delay: -5s; } .beam.b3 { animation-duration: 10s; animation-delay: -1s; }
@keyframes sway { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.steam { animation: steam 2.4s ease-in-out infinite alternate; }
@keyframes steam { from { opacity: .3; transform: translateY(4px); } to { opacity: .9; transform: translateY(-4px); } }
.buzz { animation: tally .5s steps(2, jump-none) infinite; }
/* a scene off the screen rests */
.sc.off .stage *, .sc.off .flow * { animation-play-state: paused !important; }

/* ---------- reduced motion: every word and control stays; the camera, the shake, the sweep, the flicker, the confetti and the lights go ---------- */
body.rm *, body.rm *::before, body.rm *::after { animation: none !important; transition: none !important; }
body.rm .ov, body.rm #confetti, body.rm .flick, body.rm #s4 .lights { display: none; }
body.rm .ticker i { padding-left: 12px; }
body.rm .beat.tall { min-height: 100vh; }
@media (max-width: 380px) { .beat { padding-left: 10px; padding-right: 10px; } .unit { padding: 18px 10px 12px; } .ticker { font-size: 12.5px; } }
