@import url(/fonts/fonts.css);

/* FreyaINC: a late-night corporate quiz show. Cobalt studio, highlighter yellow, rubber-stamp red. */
:root {
  --stage: #1733D1;
  --stage-hi: #2A4BF0;
  --stage-lo: #0C1C86;
  --ink: #0A1446;
  --paper: #FFFFFF;
  --paper-2: #EEF1FB;
  --hi: #FFD84A;
  --hi-ink: #3A2C00;
  --red: #FF4B3A;
  --mist: rgba(255, 255, 255, .74);
  --faint: rgba(255, 255, 255, .16);
  --soft: #8FE0FF; --tudor: #FF8A4C; --rob: #3DDC84; --razvan: #C79BFF; --dani: #FF8FC8; --guest: #C9CEDF;
  --disp: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --panel: #0B1550;
  --panel-2: #13206A;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { background: #050B33; color: #fff; font-family: var(--body); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 4px solid var(--hi); outline-offset: 3px; }

/* ---------- stage frame (1920x1080 virtual, scaled) ---------- */
#wrap { position: fixed; inset: 0; display: flex; }
#viewport { position: relative; flex: 1; overflow: hidden; }
#stage {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--stage-hi), transparent 70%),
    radial-gradient(900px 600px at 110% 110%, #3a1ea8 0%, transparent 60%),
    linear-gradient(180deg, var(--stage) 0%, var(--stage-lo) 100%);
}
#stage::before { /* faint spreadsheet grid: it's a company, after all */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 96px 54px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
#stage.shake { animation: shake .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake { 10%, 90% { transform: var(--tf) translate(-3px, 0); } 20%, 80% { transform: var(--tf) translate(6px, 2px); } 30%, 50%, 70% { transform: var(--tf) translate(-10px, -2px); } 40%, 60% { transform: var(--tf) translate(10px, 1px); } }
.paused #scene *, .paused #scene { animation-play-state: paused !important; }

/* ---------- top bar ---------- */
#top { position: absolute; left: 0; right: 0; top: 0; height: 112px; display: flex; align-items: center; padding: 0 44px; gap: 28px; z-index: 20; transition: background .3s; }
#stage.fullbleed #top { background: rgba(8, 16, 70, .88); }
#brand { font-family: var(--disp); font-weight: 800; font-size: 38px; letter-spacing: -.02em; font-stretch: 85%; }
#brand b { color: var(--hi); font-weight: 800; }
#seglabel { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 600; color: var(--mist); }
#seglabel .cnt { font-family: var(--disp); font-weight: 700; color: var(--ink); background: var(--hi); border-radius: 10px; padding: 2px 12px; font-size: 24px; }
#scores { margin-left: auto; display: flex; gap: 14px; }
.pill { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 40px; background: rgba(6, 14, 70, .55); border: 2px solid var(--faint); min-width: 214px; transition: background .3s, border-color .3s, opacity .3s; }
.pill.off { opacity: .45; }
.pill.me { border-color: rgba(255, 255, 255, .7); }
.pill .nm { font-weight: 700; font-size: 22px; line-height: 1; }
.pill .sc { font-family: var(--disp); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.pill .tx { display: flex; flex-direction: column; gap: 4px; }
.pill .st { position: absolute; right: -6px; top: -8px; width: 36px; height: 36px; border-radius: 50%; background: var(--hi); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 22px; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.pill.ans .st { transform: scale(1); }
.pill .fire { font-size: 20px; margin-left: 2px; }
.pill .rk { position: absolute; left: -10px; top: -10px; font-size: 26px; }

/* ---------- avatars ---------- */
.av { --c: var(--guest); width: 56px; height: 56px; border-radius: 50%; background: var(--c); color: rgba(0, 0, 0, .72); display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 24px; flex: none; letter-spacing: -.03em; }
.av.lg { width: 120px; height: 120px; font-size: 50px; }
.av.xl { width: 220px; height: 220px; font-size: 92px; }
.av.sm { width: 40px; height: 40px; font-size: 17px; }
.av.xs { width: 30px; height: 30px; font-size: 13px; }
.av.mystery { background: transparent; border: 4px dashed rgba(255, 255, 255, .7); color: #fff; }
.c-soft { --c: var(--soft); } .c-tudor { --c: var(--tudor); } .c-rob { --c: var(--rob); } .c-razvan { --c: var(--razvan); } .c-dani { --c: var(--dani); }

/* ---------- scene area ---------- */
#scene { position: absolute; left: 0; right: 0; top: 112px; bottom: 104px; z-index: 5; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 120px; }
.scene.enter { animation: sceneIn .45s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(26px) scale(.985); } }
.instant, .instant * { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }

/* labels */
.tag { display: inline-flex; align-items: center; gap: 10px; background: var(--hi); color: var(--hi-ink); font-weight: 700; font-size: 28px; padding: 6px 18px; border-radius: 12px; transform: rotate(-1.5deg); }

/* title */
.t-title { text-align: center; }
.t-title h1 { font-family: var(--disp); font-weight: 800; font-size: 200px; line-height: .92; letter-spacing: -.028em; margin: 0; font-stretch: 80%; text-wrap: balance; }
.t-title h1.logo { font-size: 300px; }
.t-title h1.logo b { color: var(--hi); font-weight: 800; }
.t-title h1 .ch { display: inline-block; animation: drop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes drop { from { transform: translateY(-140px) rotate(-8deg); opacity: 0; } }
.t-title .sub { margin-top: 34px; font-size: 52px; font-weight: 600; color: var(--mist); animation: fadeUp .6s .5s both; }
.t-title.round .sub { display: inline-block; color: var(--ink); background: var(--hi); padding: 10px 30px; border-radius: 18px; font-family: var(--disp); font-weight: 800; font-size: 84px; transform: rotate(-2deg); }
.slam { animation: slam .55s cubic-bezier(.2, 1.3, .35, 1) both; }
@keyframes slam { 0% { transform: scale(2.4) rotate(-4deg); opacity: 0; filter: blur(8px); } 60% { opacity: 1; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.mult { position: absolute; right: 230px; top: 140px; font-family: var(--disp); font-weight: 800; font-size: 170px; color: var(--red); transform: rotate(12deg); border: 10px solid var(--red); border-radius: 30px; padding: 0 30px; line-height: 1.1; animation: stampIn .4s 1.2s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stampIn { from { transform: rotate(12deg) scale(3); opacity: 0; } }

/* caption */
.t-caption { align-items: flex-start; }
.t-caption .box { max-width: 1480px; display: flex; gap: 40px; align-items: flex-start; }
.t-caption .txt { font-family: var(--disp); font-weight: 700; font-size: 82px; line-height: 1.06; letter-spacing: -.02em; text-wrap: pretty; }
.t-caption.big .txt { font-size: 104px; letter-spacing: -.03em; }
.t-caption .tag { margin-bottom: 30px; }
.w { display: inline-block; animation: wordIn .5s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.35em); } }
.persons { display: flex; gap: 26px; margin-top: 60px; }
.persons .av { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pop { from { transform: scale(0); } }

/* quote */
.t-quote .q { font-family: var(--disp); font-weight: 700; font-size: 110px; line-height: 1.02; letter-spacing: -.03em; max-width: 1500px; text-align: center; text-wrap: balance; }
.t-quote .q::before { content: '„'; color: var(--hi); }
.t-quote .q::after { content: '”'; color: var(--hi); }
.t-quote .by { display: flex; align-items: center; gap: 18px; margin-top: 50px; font-size: 34px; color: var(--mist); animation: fadeUp .6s 1s both; }
.t-quote .by b { color: #fff; }
.stamp { position: absolute; font-family: var(--disp); font-weight: 800; color: var(--red); border: 8px solid var(--red); border-radius: 18px; padding: 4px 26px; font-size: 76px; transform: rotate(-9deg); mix-blend-mode: screen; animation: stampIn .35s cubic-bezier(.2, 1.6, .4, 1) both; letter-spacing: .02em; text-transform: uppercase; }

/* chat */
.t-chat { justify-content: flex-end; padding-bottom: 30px; }
.t-chat .head { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); }
.chat { width: 1180px; max-height: 800px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent 0, #000 120px); padding-top: 120px; }
.msg { display: flex; gap: 18px; align-items: flex-end; animation: bubIn .38s cubic-bezier(.2, 1.3, .4, 1) both; transform-origin: 0 100%; }
@keyframes bubIn { from { opacity: 0; transform: translateY(30px) scale(.85); } }
.msg .bub { background: var(--paper); color: var(--ink); border-radius: 26px 26px 26px 8px; padding: 14px 24px 16px; max-width: 1000px; box-shadow: 0 8px 0 rgba(0, 0, 0, .12); }
.msg .who { display: flex; align-items: baseline; gap: 14px; font-weight: 700; font-size: 24px; margin-bottom: 4px; }
.msg .who .tm { font-weight: 500; font-size: 20px; color: #6a7397; }
.msg .text { font-size: 40px; line-height: 1.22; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mystery .bub { background: #FFF6CC; }
.msg.mystery .who { color: #8a6d00; }
.msg.img .text { font-style: italic; color: #6a7397; }
.msg.bot .bub { background: #E4E8F7; font-family: var(--body); }
.msg.bot .text { font-size: 32px; font-weight: 600; }
.typing { display: flex; gap: 14px; align-items: center; color: var(--mist); font-size: 26px; animation: fadeUp .25s both; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--mist); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-8px); opacity: 1; } }
.gap { align-self: center; color: var(--mist); font-size: 26px; letter-spacing: .3em; animation: fadeUp .3s both; }
.vnote { display: flex; align-items: center; gap: 18px; min-width: 620px; }
.vnote .play { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 26px; flex: none; }
.wave { flex: 1; height: 56px; display: flex; align-items: center; gap: 4px; }
.wave i { flex: 1; background: #c4cbe6; border-radius: 3px; height: var(--h); transition: background .2s; }
.wave i.on { background: var(--ink); }
.vnote .dur { font-size: 22px; color: #6a7397; font-variant-numeric: tabular-nums; }
.vsub { font-size: 30px; color: var(--ink); margin-top: 8px; min-height: 1.2em; font-style: italic; }

/* question */
.t-question { justify-content: flex-start; padding-top: 34px; }
.tbar { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: rgba(255, 255, 255, .14); }
.tbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--hi); transform-origin: 0 50%; }
.tbar.urgent i { background: var(--red); }
.secs { position: absolute; right: 60px; top: 34px; font-family: var(--disp); font-weight: 800; font-size: 92px; line-height: 1; font-variant-numeric: tabular-nums; }
.secs.urgent { color: var(--red); animation: pulse .5s infinite alternate; }
@keyframes pulse { to { transform: scale(1.12); } }
.prompt { font-family: var(--disp); font-weight: 800; font-size: 76px; line-height: 1.02; letter-spacing: -.025em; text-align: center; max-width: 1500px; text-wrap: balance; animation: slam .5s both; }
.qquote { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: 1400px; }
.qquote .bub { background: #FFF6CC; color: var(--ink); border-radius: 24px; padding: 14px 28px; font-size: 44px; line-height: 1.2; white-space: pre-wrap; text-align: left; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.qquote.many .bub { font-size: 30px; }
.answers { position: absolute; left: 100px; right: 100px; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.opts { width: 100%; display: grid; gap: 22px; }
.opts.persons { grid-template-columns: repeat(var(--n), 1fr); }
.opts.text { grid-template-columns: 1fr 1fr; }
.opt { position: relative; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); padding: 18px 26px; display: flex; align-items: center; gap: 20px; text-align: left; box-shadow: 0 9px 0 rgba(0, 0, 0, .22); transition: transform .15s, box-shadow .15s, opacity .3s, filter .3s; animation: optIn .45s cubic-bezier(.2, 1.3, .4, 1) both; min-height: 112px; }
@keyframes optIn { from { opacity: 0; transform: translateY(40px); } }
.opt:not([disabled]):hover { transform: translateY(-4px); box-shadow: 0 13px 0 rgba(0, 0, 0, .22); }
.opt:not([disabled]):active { transform: translateY(5px); box-shadow: 0 3px 0 rgba(0, 0, 0, .22); }
.opt[disabled] { cursor: default; }
.opt .k { font-family: var(--disp); font-weight: 800; font-size: 40px; width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.opt .l { font-size: 36px; font-weight: 600; line-height: 1.15; }
.opts.persons .opt { flex-direction: column; justify-content: center; padding: 22px 10px; gap: 12px; text-align: center; background: var(--c); }
.opts.persons .opt .l { font-family: var(--disp); font-weight: 800; font-size: 46px; }
.opts.persons .opt .av { background: rgba(255, 255, 255, .55); }
.opt.picked { outline: 8px solid #fff; outline-offset: 4px; }
.opts.done .opt:not(.picked) { opacity: .45; filter: saturate(.4); }
.opt .rnk { position: absolute; right: 14px; top: 10px; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 800; font-size: 32px; display: grid; place-items: center; animation: pop .3s cubic-bezier(.2, 1.6, .4, 1) both; }
.qnote { background: var(--hi); color: var(--hi-ink); font-weight: 700; font-size: 30px; padding: 12px 26px; border-radius: 16px; white-space: nowrap; animation: fadeUp .3s both; }
.qnote.sent { background: #fff; color: var(--ink); }
.rankbar { display: flex; gap: 16px; align-items: center; }
.btn { border: 0; border-radius: 18px; background: var(--hi); color: var(--ink); font-weight: 800; font-size: 34px; padding: 14px 34px; box-shadow: 0 7px 0 rgba(0, 0, 0, .25); font-family: var(--disp); }
.btn.ghost { background: rgba(255, 255, 255, .15); color: #fff; }
.btn[disabled] { opacity: .4; cursor: default; }
.numin { display: flex; gap: 18px; align-items: center; margin-bottom: 40px; }
.numin input { width: 520px; font-family: var(--disp); font-weight: 800; font-size: 96px; text-align: center; border: 0; border-radius: 26px; padding: 8px 20px; color: var(--ink); background: #fff; box-shadow: 0 9px 0 rgba(0, 0, 0, .22); }
.numin .u { font-size: 44px; font-weight: 700; }
.frame-bg { position: absolute; inset: -112px 0 -104px; background-size: cover; background-position: center; filter: brightness(.38) saturate(.8); z-index: -1; }
.pausestamp { position: absolute; left: 110px; top: 190px; font-family: var(--disp); font-weight: 800; font-size: 120px; color: var(--red); border: 10px solid var(--red); border-radius: 24px; padding: 0 28px; transform: rotate(-8deg); animation: stampIn .35s cubic-bezier(.2, 1.6, .4, 1) both; background: rgba(0, 0, 0, .25); }

/* reveal */
.t-reveal { justify-content: flex-start; padding-top: 40px; }
.t-reveal .opts { width: 100%; margin-top: auto; }
.rfoot { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; padding-top: 22px; }
.voters { position: absolute; left: 14px; top: -30px; display: flex; }
.voters.low { top: auto; bottom: -28px; }
.voters .av { width: 52px; height: 52px; font-size: 22px; border: 3px solid #fff; margin-right: -8px; animation: pop .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.opt.right { box-shadow: 0 0 0 10px var(--hi), 0 0 80px 10px rgba(255, 216, 74, .65); transform: scale(1.04); z-index: 2; }
.opt.wrong { opacity: .62; filter: grayscale(.7) brightness(.85); transform: scale(.97); }
.pts { position: absolute; right: 14px; top: -30px; background: var(--hi); color: var(--ink); font-family: var(--disp); font-weight: 800; font-size: 28px; padding: 2px 14px; border-radius: 12px; animation: ptsUp .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ptsUp { from { opacity: 0; transform: translateY(30px) scale(.6); } }
.verdict { font-family: var(--disp); font-weight: 800; font-size: 120px; letter-spacing: -.04em; line-height: 1; margin-top: 24px; display: flex; align-items: center; gap: 34px; }
.verdict.big { font-size: 150px; }
.mysbox { display: flex; gap: 26px; align-items: center; margin-top: 12px; max-width: 1500px; }
.mysbox .qquote { margin: 0; align-items: flex-start; }
.mysbox ~ .verdict { min-height: 1em; margin-bottom: 24px; } /* reserve "Era X!" + room for the voters/points chips */
.flip { animation: flip .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes flip { 0% { transform: rotateY(90deg) scale(.6); } }
.quip { font-size: 38px; font-weight: 600; color: #fff; text-align: center; animation: fadeUp .5s both; }
.t-board .quip, .t-reveal > .quip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; white-space: nowrap; }
.ribbons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }
.ribbon { background: rgba(6, 14, 70, .6); border: 2px solid var(--faint); border-radius: 16px; padding: 8px 18px; font-size: 28px; font-weight: 600; animation: fadeUp .4s both; display: flex; align-items: center; gap: 10px; }
.ribbon b { color: var(--hi); }

/* rank / number reveal */
.rank-list { width: 1300px; display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.rrow { display: flex; align-items: center; gap: 24px; background: rgba(6, 14, 70, .45); border-radius: 22px; padding: 12px 24px; animation: rowIn .5s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-60px); } }
.rrow .pl { font-family: var(--disp); font-weight: 800; font-size: 60px; width: 80px; color: var(--hi); }
.rrow .nm { font-family: var(--disp); font-weight: 800; font-size: 52px; width: 300px; }
.rrow .bar { flex: 1; height: 34px; background: rgba(255, 255, 255, .12); border-radius: 12px; overflow: hidden; }
.rrow .bar i { display: block; height: 100%; background: var(--c); border-radius: 12px; width: 0; transition: width 1s cubic-bezier(.2, .9, .3, 1); }
.rrow .v { font-family: var(--disp); font-weight: 800; font-size: 48px; width: 230px; text-align: right; font-variant-numeric: tabular-nums; }
.hits { display: flex; gap: 22px; margin-top: 28px; }
.hit { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 20px; padding: 10px 20px 10px 10px; font-weight: 700; font-size: 30px; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1) both; }
.hit .p { background: var(--hi); border-radius: 10px; padding: 0 10px; font-family: var(--disp); font-weight: 800; }
.nline { position: relative; width: 1500px; height: 300px; margin-top: 50px; }
.nline .axis { position: absolute; left: 0; right: 0; top: 200px; height: 8px; background: rgba(255, 255, 255, .3); border-radius: 4px; }
.nline .mk { position: absolute; top: 120px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1) both; transition: left 1s; }
.nline .mk .val { font-family: var(--disp); font-weight: 800; font-size: 30px; }
.nline .ans { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; animation: dropIn .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.nline .ans .v { background: var(--hi); color: var(--ink); font-family: var(--disp); font-weight: 800; font-size: 56px; border-radius: 16px; padding: 0 18px; }
.nline .ans .stick { width: 8px; height: 150px; background: var(--hi); }
@keyframes dropIn { from { transform: translate(-50%, -120px); opacity: 0; } }
.bignum { font-family: var(--disp); font-weight: 800; font-size: 250px; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bignum small { font-size: .4em; letter-spacing: -.02em; }

/* card (time card) */
.t-card { background: var(--hi); color: var(--ink); inset: -112px 0 -104px; z-index: 30; position: absolute; overflow: hidden; }
.t-card::before { content: ''; position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .28) 0 10deg, transparent 10deg 20deg); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.t-card .txt { position: relative; font-family: var(--disp); font-weight: 800; font-style: italic; font-size: 150px; line-height: .98; letter-spacing: -.04em; text-align: center; max-width: 1600px; transform: rotate(-3deg); text-wrap: balance; animation: cardIn .7s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes cardIn { from { transform: rotate(-12deg) scale(.3); opacity: 0; } }

/* bumper */
.t-bumper { background: #07091c; inset: -112px 0 -104px; position: absolute; z-index: 30; }
.leader { width: 380px; height: 380px; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .85); display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 220px; position: relative; }
.leader::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(rgba(255, 255, 255, .25) var(--a, 0deg), transparent 0); }
.leader::after { content: ''; position: absolute; left: 50%; top: -60px; bottom: -60px; width: 4px; background: rgba(255, 255, 255, .5); }
.t-bumper .ttl { font-family: var(--disp); font-weight: 800; font-size: 160px; letter-spacing: -.04em; animation: slam .5s both; }
.t-bumper .ttl b { color: var(--hi); }
.grain { position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .3s steps(3) infinite; pointer-events: none; }
@keyframes grain { 50% { transform: translate(-20px, 10px); } }

/* media */
.t-media { padding: 0; }
.vid { position: relative; height: 820px; max-width: 1700px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #000; animation: fadeUp .4s both; }
.vid video { display: block; height: 100%; width: auto; max-width: 1700px; }
.vid.wide { height: auto; width: 1460px; }
.vid.wide video { width: 100%; height: auto; }
.backdrop { position: absolute; inset: -112px 0 -104px; background-size: cover; background-position: center; filter: blur(40px) brightness(.45) saturate(1.3); transform: scale(1.2); z-index: -1; }
.subs { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: max-content; max-width: 1500px; text-align: center; font-size: 40px; font-weight: 700; line-height: 1.2; color: #fff; background: rgba(0, 0, 0, .62); padding: 8px 20px; border-radius: 12px; }
.subs:empty { display: none; }
.voice { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 1400px; }
.voice .hd { display: flex; align-items: center; gap: 30px; }
.voice .hd .nm { font-family: var(--disp); font-weight: 800; font-size: 72px; line-height: 1; }
.voice .hd .dt { font-size: 32px; color: var(--mist); margin-top: 10px; }
.voice .wave { width: 1300px; height: 170px; gap: 7px; flex: none; }
.voice .wave i { background: rgba(255, 255, 255, .25); }
.voice .wave i.on { background: var(--hi); }
.voice .vs .dim { opacity: .28; }
.voice .vs { font-family: var(--disp); font-weight: 700; font-size: 58px; line-height: 1.12; text-align: center; min-height: 2.3em; max-width: 1450px; text-wrap: balance; }
.surprise-pop { animation: surp .6s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes surp { from { transform: translate(600px, 300px) scale(.2) rotate(20deg); opacity: 0; } }
.ring { width: 150px; height: 150px; border-radius: 50%; position: relative; }
.ring::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 6px solid var(--hi); animation: ring 1.2s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* counter / bars / clock / sign */
.t-counter .lbl { font-size: 58px; font-weight: 700; text-align: center; animation: fadeUp .5s both; display: flex; align-items: center; gap: 24px; }
.t-counter .bignum { margin-top: 30px; }
.t-counter .sub { margin-top: 36px; font-size: 44px; color: var(--mist); font-weight: 600; animation: fadeUp .5s both; text-align: center; max-width: 1400px; }
.t-bars h2, .t-clock h2, .t-board h2 { font-family: var(--disp); font-weight: 800; font-size: 66px; letter-spacing: -.02em; margin: 0 0 40px; text-align: center; }
.t-clock h2 { margin-bottom: 10px; }
.bars { width: 1500px; display: flex; flex-direction: column; gap: 26px; }
.brow { display: flex; align-items: center; gap: 26px; animation: rowIn .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.brow .nm { width: 330px; display: flex; align-items: center; gap: 16px; font-family: var(--disp); font-weight: 800; font-size: 46px; }
.brow .track { flex: 1; height: 70px; position: relative; }
.brow .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--c); border-radius: 16px; transition: width 1.1s cubic-bezier(.2, .9, .3, 1); }
.brow .fill.over { transition: width 1.6s cubic-bezier(.5, 0, .3, 1); }
.brow .val { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--disp); font-weight: 800; font-size: 52px; white-space: nowrap; padding-left: 20px; transition: left 1.1s cubic-bezier(.2, .9, .3, 1); font-variant-numeric: tabular-nums; }
.brow .note { margin-left: 24px; font-family: var(--body); font-size: 36px; color: var(--hi); font-weight: 700; animation: fadeUp .4s both; white-space: nowrap; }
.clockw { display: flex; align-items: center; gap: 80px; }
.clockw svg { width: 600px; height: 600px; overflow: visible; margin: 30px 40px 0; }
.clock-side { width: 640px; display: flex; flex-direction: column; gap: 34px; }
.clock-side .big { font-family: var(--disp); font-weight: 800; font-size: 120px; line-height: .95; letter-spacing: -.04em; }
.clock-side .sm { font-size: 38px; color: var(--mist); font-weight: 600; }
.clock-side > div { animation: fadeUp .5s both; }
.sign { position: relative; background: #F5F7FF; color: var(--ink); border-radius: 22px; padding: 60px 90px 54px; width: 1240px; box-shadow: 0 30px 0 rgba(0, 0, 0, .18), inset 0 0 0 6px #D5DBF2; animation: signIn .7s cubic-bezier(.2, 1.3, .4, 1) both; transform: rotate(-1deg); }
@keyframes signIn { from { transform: translateY(-500px) rotate(-8deg); } }
.sign::before, .sign::after { content: ''; position: absolute; top: 24px; width: 22px; height: 22px; border-radius: 50%; background: #AEB6D6; box-shadow: 0 0 0 4px #E1E5F5; }
.sign::before { left: 28px; } .sign::after { right: 28px; }
.sign h3 { margin: 0; font-family: var(--disp); font-weight: 800; font-size: 96px; letter-spacing: -.03em; line-height: 1; }
.sign .s { font-size: 34px; color: #5a648c; font-weight: 600; margin-top: 8px; }
.sign .rows { margin-top: 36px; border-top: 4px solid var(--ink); }
.sign .row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 18px 0; border-bottom: 2px solid #CBD1EA; font-size: 40px; font-weight: 600; animation: fadeUp .35s both; position: relative; }
.sign .row b { font-family: var(--disp); font-weight: 800; font-size: 54px; white-space: nowrap; }
.sign .row .who { display: flex; align-items: center; gap: 18px; }
.sign .ft { margin-top: 26px; font-size: 30px; font-style: italic; color: #5a648c; animation: fadeUp .5s both; }
.sign .stamp { right: 60px; bottom: 40px; mix-blend-mode: multiply; }

/* board / podium */
.board { width: 1400px; position: relative; height: 640px; }
.brd { position: absolute; left: 0; right: 0; height: 140px; display: flex; align-items: center; gap: 30px; background: rgba(6, 14, 70, .5); border: 2px solid var(--faint); border-radius: 28px; padding: 0 34px; transition: top 1.2s cubic-bezier(.5, 0, .2, 1), background .4s; }
.brd.lead { background: rgba(255, 216, 74, .16); border-color: var(--hi); }
.brd .pl { font-family: var(--disp); font-weight: 800; font-size: 76px; width: 80px; }
.brd .nm { font-family: var(--disp); font-weight: 800; font-size: 64px; flex: 1; display: flex; align-items: center; gap: 18px; }
.brd .sc { font-family: var(--disp); font-weight: 800; font-size: 76px; font-variant-numeric: tabular-nums; }
.brd .dl { font-size: 34px; font-weight: 700; color: var(--hi); width: 190px; text-align: right; }
.brd .mv { font-size: 34px; width: 60px; text-align: center; }
.brd .tagx { font-size: 26px; font-weight: 700; background: var(--red); color: #fff; padding: 4px 14px; border-radius: 10px; transform: rotate(-3deg); animation: pop .4s cubic-bezier(.2, 1.6, .4, 1) both; }
.t-podium { justify-content: flex-end; }
.podium { display: flex; align-items: flex-end; gap: 40px; height: 700px; position: relative; }
.pod { width: 380px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pod .blk { width: 100%; background: linear-gradient(180deg, #fff, #dfe5ff); color: var(--ink); border-radius: 24px 24px 0 0; display: grid; place-items: center; font-family: var(--disp); font-weight: 800; font-size: 140px; transform-origin: bottom; animation: rise .8s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes rise { from { transform: scaleY(0); } }
.pod .nm { font-family: var(--disp); font-weight: 800; font-size: 60px; animation: fadeUp .5s .5s both; }
.pod .sc { font-size: 40px; font-weight: 700; color: var(--mist); animation: fadeUp .5s .6s both; }
.pod .av { animation: pop .6s .4s cubic-bezier(.2, 1.6, .4, 1) both; }
.fourth { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 30px; animation: fadeUp .5s both; transition: opacity .6s, transform .6s; z-index: 3; white-space: nowrap; }
.fourth.gone { opacity: 0; transform: translate(-50%, -80%); }
.fourth .av { width: 120px; height: 120px; font-size: 50px; }
.fourth .nm { font-family: var(--disp); font-weight: 800; font-size: 84px; }
.fourth .stamp { position: relative; font-size: 70px; margin-left: 20px; }
.champ { position: absolute; top: 0; left: 50%; transform: translateX(-50%); text-align: center; font-family: var(--disp); font-weight: 800; font-size: 72px; white-space: nowrap; animation: slam .6s both; }
.champ b { color: var(--hi); }

/* lobby / end */
.t-lobby .logo, .t-end .logo { font-family: var(--disp); font-weight: 800; font-size: 200px; letter-spacing: -.05em; line-height: .9; font-stretch: 80%; }
.t-lobby .logo b, .t-end .logo b { color: var(--hi); }
.t-lobby .sub { font-size: 46px; color: var(--mist); font-weight: 600; margin: 18px 0 60px; }
.pontaj { width: 1100px; background: #F5F7FF; color: var(--ink); border-radius: 26px; padding: 30px 46px; box-shadow: 0 20px 0 rgba(0, 0, 0, .18); }
.pontaj h3 { margin: 0 0 12px; font-family: var(--disp); font-weight: 800; font-size: 52px; display: flex; justify-content: space-between; align-items: baseline; }
.pontaj h3 span { font-family: var(--body); font-size: 26px; color: #5a648c; font-weight: 600; }
.prow { display: flex; align-items: center; gap: 22px; padding: 14px 0; border-top: 2px solid #D5DBF2; font-size: 34px; font-weight: 600; }
.prow .nm { font-family: var(--disp); font-weight: 800; font-size: 44px; width: 220px; }
.prow .ci { flex: 1; color: #5a648c; }
.prow .ci.in { color: var(--ink); }
.prow .dl { width: 220px; height: 14px; background: #D5DBF2; border-radius: 7px; overflow: hidden; }
.prow .dl i { display: block; height: 100%; background: var(--stage); width: 0; transition: width .4s; }
.prow .on { width: 18px; height: 18px; border-radius: 50%; background: #B8BFDA; }
.prow .on.y { background: #22C55E; box-shadow: 0 0 0 6px rgba(34, 197, 94, .2); }

/* bottom bar */
#bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; display: flex; align-items: center; padding: 0 44px; gap: 20px; z-index: 20; }
#status { font-size: 28px; font-weight: 600; color: var(--mist); display: flex; align-items: center; gap: 14px; }
#status .chip { background: rgba(6, 14, 70, .6); border: 2px solid var(--faint); border-radius: 30px; padding: 8px 22px; display: flex; gap: 12px; align-items: center; }
#status .chip.test { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
#status .chip.wait { border-color: var(--hi); color: #fff; animation: breathe 2s infinite; }
@keyframes breathe { 50% { border-color: transparent; } }
#reacts { margin-left: auto; display: flex; gap: 10px; }
#reacts button { width: 70px; height: 70px; border-radius: 20px; border: 2px solid var(--faint); background: rgba(6, 14, 70, .55); font-size: 38px; transition: transform .1s; }
#reacts button:active { transform: scale(.88); }
#vol { width: 70px; height: 70px; border-radius: 20px; border: 2px solid var(--faint); background: rgba(6, 14, 70, .55); font-size: 30px; }
#volpanel { position: absolute; right: 40px; bottom: 110px; background: var(--panel); border-radius: 22px; padding: 24px 30px; display: none; flex-direction: column; gap: 18px; z-index: 50; width: 440px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
#volpanel.on { display: flex; }
#volpanel label { display: flex; justify-content: space-between; align-items: center; font-size: 26px; gap: 20px; }
#volpanel input { width: 230px; accent-color: var(--hi); }
#floats { position: absolute; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.fl { position: absolute; bottom: 90px; display: flex; flex-direction: column; align-items: center; animation: floatUp 2.8s cubic-bezier(.2, .6, .4, 1) forwards; }
.fl .e { font-size: 76px; line-height: 1; }
.fl .n { font-size: 20px; font-weight: 700; background: var(--c); color: rgba(0, 0, 0, .75); padding: 2px 10px; border-radius: 8px; margin-top: 4px; }
@keyframes floatUp { 0% { transform: translateY(0) scale(.4); opacity: 0; } 12% { transform: translateY(-60px) scale(1.15); opacity: 1; } 100% { transform: translateY(-640px) translateX(var(--dx)) scale(.9); opacity: 0; } }
#fx { position: absolute; inset: 0; pointer-events: none; z-index: 45; }
#pausebig { position: absolute; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(4, 8, 40, .55); backdrop-filter: blur(3px); }
#pausebig.on { display: grid; }
#pausebig div { font-family: var(--disp); font-weight: 800; font-size: 160px; letter-spacing: -.04em; }
#pausebig div small { display: block; font-family: var(--body); font-size: 36px; color: var(--mist); font-weight: 600; letter-spacing: 0; text-align: center; margin-top: 10px; }

/* ---------- overlays: login / gate ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(1000px 700px at 50% 0, var(--stage-hi), transparent 70%), linear-gradient(180deg, var(--stage), var(--stage-lo)); padding: 16px; }
.overlay .card { width: min(560px, 100%); text-align: center; }
.overlay .logo { font-family: var(--disp); font-weight: 800; font-size: clamp(64px, 14vw, 120px); letter-spacing: -.05em; line-height: .9; font-stretch: 80%; }
.overlay .logo b { color: var(--hi); }
.overlay p { color: var(--mist); font-size: 19px; line-height: 1.45; margin: 18px 0 28px; }
.overlay input { width: 100%; font-family: var(--disp); font-weight: 800; font-size: 40px; text-align: center; letter-spacing: .18em; text-transform: uppercase; border: 0; border-radius: 18px; padding: 14px; color: var(--ink); }
.overlay .btn { margin-top: 18px; width: 100%; font-size: 28px; }
.overlay .err { color: #FFD0CB; background: rgba(255, 75, 58, .25); border-radius: 12px; padding: 10px 14px; margin-top: 16px; font-size: 18px; display: none; }
.overlay .err.on { display: block; }
.hidden { display: none !important; }

/* ---------- host panel ---------- */
#panel { width: 430px; flex: none; background: var(--panel); border-left: 1px solid rgba(255, 255, 255, .1); overflow-y: auto; padding: 18px 18px 40px; font-size: 15px; display: none; }
.host #panel { display: block; }
#panel h4 { margin: 22px 0 10px; font-size: 13px; color: rgba(255, 255, 255, .55); font-weight: 700; letter-spacing: .02em; }
#panel .now { background: var(--panel-2); border-radius: 14px; padding: 14px; }
#panel .now .l1 { font-size: 13px; color: rgba(255, 255, 255, .6); }
#panel .now .l2 { font-size: 19px; font-weight: 700; margin: 4px 0 8px; }
#panel .now .prog { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
#panel .now .prog i { display: block; height: 100%; background: var(--hi); width: 0; }
#panel .now .l3 { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 8px; display: flex; justify-content: space-between; }
#panel .ans { margin-top: 10px; background: rgba(255, 216, 74, .12); border: 1px solid rgba(255, 216, 74, .4); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
#panel .hnote { margin-top: 8px; background: rgba(255, 75, 58, .14); border: 1px solid rgba(255, 75, 58, .4); border-radius: 10px; padding: 8px 10px; font-size: 14px; line-height: 1.4; }
.hb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.hb button { border: 0; border-radius: 12px; padding: 12px 8px; background: var(--panel-2); font-weight: 700; font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hb button kbd { font-family: var(--body); font-size: 11px; opacity: .6; font-weight: 600; }
.hb button.primary { grid-column: span 2; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .55); border: 1px dashed rgba(255, 255, 255, .22); font-size: 17px; padding: 14px; }
.hb button.primary.go { background: linear-gradient(180deg, #FFE27A, #F2B705); color: #2A1E00; border: 0; font-size: 21px; padding: 17px; box-shadow: 0 0 0 2px #FFD84A, 0 8px 28px rgba(255, 200, 40, .45); animation: glow 1.4s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(255, 216, 74, .35); } }
.hb button.warn { background: #5a1a22; }
.plist .pr { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.plist .pr .dot { width: 10px; height: 10px; border-radius: 50%; background: #59607f; flex: none; }
.plist .pr .dot.y { background: #22C55E; }
.plist .pr .n { font-weight: 700; flex: 1; }
.plist .pr .a { font-size: 13px; color: var(--hi); max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist .pr .s { font-weight: 800; width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.plist .pr button { border: 0; background: var(--panel-2); border-radius: 8px; width: 34px; height: 28px; font-weight: 800; }
.plist .pr .m { font-size: 11px; color: rgba(255, 255, 255, .45); width: 46px; text-align: right; }
.tg { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.tg button { border: 0; border-radius: 20px; width: 54px; height: 28px; background: #3a4270; position: relative; }
.tg button::after { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.tg button.on { background: #22C55E; }
.tg button.on::after { left: 30px; }
.solo { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 0 4px; }
.solo button { border: 0; border-radius: 10px; padding: 8px 10px; background: var(--panel-2); font-weight: 700; font-size: 13px; }
.solo button.on { background: var(--hi); color: var(--ink); }
.spd { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; }
.spd b { color: var(--hi); }
.spd input { width: 150px; accent-color: var(--hi); }
.spd small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; }
.tg small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; }
.rd { max-height: 360px; overflow-y: auto; border-radius: 12px; background: rgba(0, 0, 0, .2); }
.rd .ri { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 13px; }
.rd .ri.cur { background: rgba(255, 216, 74, .18); }
.rd .ri.done { opacity: .5; }
.rd .ri .k { width: 22px; color: rgba(255, 255, 255, .45); text-align: right; flex: none; }
.rd .ri .t { flex: 1; min-width: 0; }
.rd .ri .t b { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); font-weight: 600; }
.rd .ri button { border: 0; background: var(--panel-2); border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rd .ri button.arm { background: var(--red); }
.danger { display: flex; gap: 8px; margin-top: 8px; }
.danger button { flex: 1; border: 0; border-radius: 10px; padding: 10px; background: #3a1420; font-weight: 700; font-size: 13px; }
.danger button.arm { background: var(--red); }
#hmsg { font-size: 13px; color: var(--hi); min-height: 18px; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .w, .msg, .opt, .slam, .t-title h1 .ch, .fl { animation-duration: .01s !important; }
  .t-card::before { animation: none; }
}

/* C3: quote with a visible author (citat_autor) */
.qquote.by .bub { background: #fff; }
.qby { display: flex; align-items: center; gap: 12px; font-family: var(--disp); font-weight: 800; font-size: 30px; color: #fff; align-self: flex-start; }
.mysbox .qby { display: none; }

/* C5: video remix (content/remix.json): ▶ / ❚❚ / ◀◀ on-screen display, VHS rewind, CRINGE stamp */
.remix .vid video { transition: filter .12s; }
.rx-osd { position: absolute; top: 22px; left: 26px; font: 700 54px/1 Consolas, 'Courier New', monospace; color: #fff; letter-spacing: -.08em; text-shadow: 3px 3px 0 rgba(0, 0, 0, .7), -2px 0 0 rgba(255, 0, 80, .55), 2px 0 0 rgba(0, 220, 255, .55); opacity: 0; pointer-events: none; }
.remix[data-mode="freeze"] .rx-osd, .remix[data-mode="stamp"] .rx-osd, .remix[data-mode="rewind"] .rx-osd { opacity: 1; }
.remix[data-mode="play"] .rx-osd.flash { animation: rxOsdOut 1s steps(1) both; }
@keyframes rxOsdOut { 0% { opacity: 1; } 100% { opacity: 0; } }
.remix[data-mode="rewind"] .rx-osd { animation: rxBlink .5s steps(1) infinite; }
@keyframes rxBlink { 50% { opacity: .25; } }
.rx-vhs { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 5px); mix-blend-mode: multiply; }
.rx-vhs i { position: absolute; left: -5%; right: -5%; height: 70px; top: -80px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .55) 30%, rgba(200, 200, 255, .25) 60%, transparent); filter: blur(1px); mix-blend-mode: screen; }
.remix[data-mode="rewind"] .rx-vhs { opacity: 1; }
.remix[data-mode="rewind"] .rx-vhs i { animation: rxBand .55s linear infinite; }
@keyframes rxBand { from { transform: translateY(0); } to { transform: translateY(980px); } }
.remix[data-mode="rewind"] .vid video { filter: saturate(.55) contrast(1.3) brightness(1.08) hue-rotate(-8deg); animation: rxJit .16s steps(2) infinite; }
@keyframes rxJit { 0% { transform: translate(0, 0); } 25% { transform: translate(-6px, 1px) skewX(-1.2deg); } 50% { transform: translate(4px, -1px); } 75% { transform: translate(-2px, 2px) skewX(.8deg); } }
.remix[data-mode="stamp"] .vid video { filter: saturate(.75) brightness(.8); }
.rx-stamp { position: absolute; left: 50%; top: 46%; z-index: 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(2.6); }
.rx-stamp span { display: block; font-family: var(--disp); font-weight: 800; font-size: 190px; line-height: .95; letter-spacing: .02em; color: var(--red); border: 14px solid var(--red); border-radius: 28px; padding: 10px 46px 18px; background: rgba(20, 0, 0, .25); text-shadow: 0 6px 30px rgba(0, 0, 0, .5); box-shadow: 0 0 0 6px rgba(0, 0, 0, .15), 0 30px 90px rgba(0, 0, 0, .55); }
.rx-stamp.on { opacity: 1; animation: rxStamp .32s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes rxStamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(2.6); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); } }
.rx-stamp.on { transform: translate(-50%, -50%) rotate(-11deg) scale(1); }
.t-reveal .rprompt { font-size: 54px; margin-top: 18px; max-width: 1400px; }
/* chat markers: [[stamp TEXT]] over the chat; leader pill in the top bar */
.t-chat .stamp.cst { right: 110px; top: 150px; z-index: 6; font-size: 68px; max-width: 1150px; text-align: center; line-height: 1.05; mix-blend-mode: normal; background: rgba(255, 255, 255, .9); transform: rotate(var(--r, -8deg)); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); pointer-events: none; }
.pill.lead { border-color: var(--hi); box-shadow: 0 0 0 3px rgba(255, 216, 74, .35); }
.pill.lead .crown { margin-right: 4px; }
