/* TV board. Everything is laid out on a fixed 1920x1080 stage that board.js
   scales to fit the screen, so it looks identical on any 16:9 TV. */
:root {
  --bg: #010808;
  --aqua: #6ef5ec;
  --aqua-soft: #a9f3ee;
  --cream: #efe4c8;
  --gold: #d9b45f;
  --gold-hi: #f6e2a4;
  --white: #f4f7f6;
  --muted: #b9c9c7;
  --line: rgba(110, 215, 205, .34);
  --serif: 'Cinzel', 'Cardo', 'GFS Baskerville', 'Times New Roman', serif;
  --num: 'Libre Baskerville', 'Gelasio', 'Cardo', Georgia, serif;
  --sans: 'Montserrat', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; overflow: hidden; }
body { font-family: var(--sans); color: var(--white); -webkit-font-smoothing: antialiased; cursor: default; }
#viewport { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
#stage {
  position: relative; width: 1920px; height: 1080px; flex: none; overflow: hidden; transform-origin: center center;
  background:
    radial-gradient(1200px 520px at 50% 0%, rgba(20, 70, 66, .30), transparent 70%),
    radial-gradient(900px 600px at 15% 100%, rgba(10, 48, 46, .35), transparent 70%),
    radial-gradient(900px 600px at 85% 100%, rgba(10, 48, 46, .30), transparent 70%),
    linear-gradient(180deg, #020a0a 0%, #011010 45%, #010707 100%);
}
#stage.shake { animation: shake .5s linear 3; }
@keyframes shake {
  0%, 100% { transform: var(--stage-t) translate(0, 0); }
  20% { transform: var(--stage-t) translate(-7px, 4px); } 40% { transform: var(--stage-t) translate(6px, -5px); }
  60% { transform: var(--stage-t) translate(-5px, -3px); } 80% { transform: var(--stage-t) translate(5px, 4px); }
}

/* ---------- header ---------- */
.hdr { position: absolute; left: 0; top: 0; width: 1920px; height: 152px; }
.logo-l { position: absolute; left: 142px; top: 26px; width: 110px; height: 90px; }
.logo-l svg, .logo-l img { width: 100%; height: 100%; object-fit: contain; }
.logo-r { position: absolute; right: 96px; top: 30px; width: 190px; text-align: center; color: var(--cream); }
.logo-r img { max-width: 100%; max-height: 92px; object-fit: contain; }
.logo-r b { display: block; font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: 1; letter-spacing: .02em; }
.logo-r span { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: .42em; padding-left: .42em; }
.titles { position: absolute; left: 0; right: 0; top: 0; text-align: center; }
.eyebrow { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 34px; color: var(--cream); }
.eyebrow span { font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: .62em; padding-left: .62em; }
.eyebrow i { width: 210px; height: 2px; background: linear-gradient(90deg, transparent, rgba(217, 180, 95, .85)); }
.eyebrow i:last-child { transform: scaleX(-1); }
.hdr h1 {
  display: inline-block; margin-top: 2px; font-family: var(--serif); font-weight: 700; font-size: 54px; line-height: 1.12; letter-spacing: .035em; white-space: nowrap;
  background: linear-gradient(180deg, #fbf3dc 0%, #ecd9a8 55%, #cfae69 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(217, 180, 95, .18));
}
.dates { margin-top: 0; font-size: 22px; font-weight: 500; letter-spacing: .34em; padding-left: .34em; color: var(--white); }

.qr { position: absolute; left: 1478px; top: 12px; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: 0; color: var(--aqua-soft); cursor: pointer; font-family: var(--sans); }
.qr-code { display: block; width: 106px; height: 106px; padding: 4px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(110, 245, 236, .6), 0 0 22px rgba(110, 245, 236, .28); }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; padding-left: .2em; line-height: 1; white-space: nowrap; }
.qr.pulse .qr-code { animation: qrPulse 1.6s ease-in-out 3; }
@keyframes qrPulse { 50% { box-shadow: 0 0 0 3px rgba(110, 245, 236, .95), 0 0 46px rgba(110, 245, 236, .7); transform: scale(1.05); } }

/* ---------- panels ---------- */
.panel {
  position: absolute; border-radius: 16px; border: 1.5px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 38, 37, .78) 0%, rgba(3, 20, 20, .86) 55%, rgba(2, 14, 14, .9) 100%);
  box-shadow: inset 0 0 60px rgba(40, 150, 140, .07), 0 0 26px rgba(60, 200, 190, .08);
}
.panel::before, .panel::after {
  content: ''; position: absolute; left: 6%; right: 6%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(150, 250, 240, .75), transparent);
}
.panel::before { top: -1.5px; }
.panel::after { bottom: -1.5px; opacity: .55; }
.lbl { font-family: var(--serif); font-weight: 700; letter-spacing: .06em; color: var(--white); }
.sub { font-weight: 400; letter-spacing: .14em; color: var(--white); }
.big { font-family: var(--num); font-weight: 700; color: var(--white); line-height: 1; font-variant-numeric: lining-nums; }
.aqua { color: var(--aqua); text-shadow: 0 0 26px rgba(110, 245, 236, .35); }
.ico { color: var(--white); }
.ico svg { display: block; width: 100%; height: 100%; }
.ico.gold { color: var(--gold-hi); }
.ico.cream { color: var(--cream); }
.bar { position: relative; height: 16px; border-radius: 10px; background: rgba(10, 34, 34, .9); border: 1.5px solid rgba(140, 190, 186, .45); overflow: hidden; }
.bar i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(180deg, #a7fff7 0%, #62efe6 45%, #3fd7ce 100%); box-shadow: 0 0 16px rgba(110, 245, 236, .65);
}
.bar i::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
  background-size: 250% 100%; animation: barSheen 3.6s linear infinite;
}
@keyframes barSheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.bump { animation: bump .7s ease; }
@keyframes bump { 30% { transform: scale(1.12); filter: brightness(1.5); } }

/* ---------- top strip ---------- */
/* every line is pinned by its vertical centre (top + translateY(-50%)) so the
   layout does not move if a font renders a little taller or shorter */
.strip { left: 19px; top: 154px; width: 1882px; height: 212px; }
.strip .cell { position: absolute; top: 0; bottom: 0; }
.strip .cell > *, .c-total .stack > * { position: absolute; transform: translateY(-50%); white-space: nowrap; }
.strip .cell + .cell::before { content: ''; position: absolute; left: 0; top: 26px; bottom: 26px; width: 2px; transform: none; background: linear-gradient(180deg, transparent, rgba(190, 215, 212, .5), transparent); }
.c-total { left: 0; width: 496px; }
.c-total .ico { left: 96px; top: 62px; width: 60px; height: 60px; }
.c-total .stack { left: 170px; top: 0; right: 0; bottom: 0; transform: none; }
.c-total .lbl { left: 4px; top: 34px; font-size: 23px; }
.c-total .big { left: 0; top: 99px; font-size: 70px; letter-spacing: -.005em; }
.c-total .sub { left: 0; width: 280px; text-align: center; top: 166px; font-size: 20px; }
.c-hires { left: 496px; width: 446px; }
.c-hires > * { left: 0; right: 0; text-align: center; }
.c-hires .row-top { top: 34px; display: flex; align-items: center; justify-content: center; gap: 22px; padding-right: 20px; }
.c-hires .ico { width: 56px; height: 50px; }
.c-hires .lbl { font-size: 25px; }
.c-hires .big { top: 91px; font-size: 68px; }
.c-hires .sub { top: 139px; font-size: 19px; }
.c-hires .bar { left: 73px; right: 73px; top: 164px; height: 14px; }
.c-hires .tiny { top: 187px; font-size: 15px; letter-spacing: .1em; color: var(--white); }
.c-office { width: 472px; overflow: hidden; }
.c-office > * { left: 0; right: 0; text-align: center; }
#cellTampa { left: 942px; } #cellUtah { left: 1414px; width: 468px; border-radius: 0 14px 14px 0; }
.c-office .office-art { top: 0; height: 172px; transform: none; opacity: .95; }
.office-art svg, .office-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 16, 16, 0) 40%, rgba(2, 16, 16, .5) 68%, rgba(2, 16, 16, .97) 100%); }
.c-office .lbl, .c-office .big, .c-office .sub { text-shadow: 0 2px 14px #000, 0 0 8px #000, 0 0 3px #000; }
.c-office .lbl { top: 84px; font-size: 26px; }
.c-office .big { top: 134px; font-size: 64px; }
.c-office .sub { top: 182px; font-size: 20px; }

/* ---------- section headers ---------- */
.p-head { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 24px; }
.p-head h2 { font-family: var(--serif); font-weight: 700; font-size: 44px; letter-spacing: .045em; line-height: 1.05; white-space: nowrap; color: var(--cream); }
.p-sub { margin-top: 5px; font-size: 20px; font-weight: 500; letter-spacing: .2em; padding-left: .2em; color: var(--white); text-align: center; white-space: nowrap; }
.sales .p-head { top: 6px; height: 92px; }
.p-ico.trophy { position: relative; width: 100px; height: 88px; flex: none; }
.p-ico.trophy .wreath { position: absolute; inset: 0; }
.p-ico.trophy .wreath svg { width: 100%; height: 100%; }
.p-ico.trophy .ico { position: absolute; left: 30px; top: 12px; width: 40px; height: 44px; }

/* ---------- podium cards ---------- */
.podium { position: absolute; display: flex; align-items: flex-end; justify-content: center; }
.card { position: relative; flex: none; text-align: center; border-radius: 10px; }
.card.side {
  border: 1.5px solid rgba(110, 215, 205, .38);
  background: linear-gradient(180deg, rgba(24, 84, 80, .50), rgba(9, 44, 43, .62));
  box-shadow: inset 0 0 34px rgba(110, 245, 236, .07);
}
.card.first { border-radius: 0; }
.card.first .shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.card.first::after {
  content: ''; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 6px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 233, 160, .95), rgba(255, 215, 120, 0)); filter: blur(1.5px);
}
.card.first .sheen { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 9.600%, 50% 0, 100% 9.600%, 100% 100%, 0 100%); pointer-events: none; }
.card.first .sheen::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 38%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 240, 190, .22), transparent); animation: sheen 6.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.card .rank, .card .who, .card .off, .card .val { position: absolute; left: 0; right: 0; transform: translateY(-50%); }
.card .rank { margin: 0 auto; }
.card .rank .wreath svg { display: block; width: 100%; height: 100%; }
.card .rank b { position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); font-family: var(--num); font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; }
.card .who { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--white); white-space: nowrap; }
.card .off { font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: #dfe7e6; white-space: nowrap; }
.card .val { font-family: var(--num); font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; white-space: nowrap; }
.card.side .rank b { color: var(--aqua-soft); }
.card.first .rank b { color: var(--gold-hi); text-shadow: 0 0 18px rgba(246, 226, 164, .5); }
.card.empty .who, .card.empty .val { color: rgba(220, 235, 232, .3); }
.card.swap { animation: cardSwap .9s cubic-bezier(.2, .9, .2, 1); }
@keyframes cardSwap { 0% { transform: scale(.82) rotateX(70deg); opacity: 0; filter: brightness(2.4); } 100% { transform: none; opacity: 1; filter: none; } }

/* sales podium */
.sales { left: 19px; top: 382px; width: 968px; height: 660px; }
.sales .podium { left: 0; right: 0; top: 96px; height: 211px; gap: 12px; }
.sales .card.side { width: 290px; height: 174px; }
.sales .card.first { width: 334px; height: 211px; }
.sales .card.side .rank { width: 74px; height: 62px; top: 21px; }
.sales .card.first .rank { width: 94px; height: 80px; top: 52px; }
.sales .card.side .rank b { font-size: 38px; }
.sales .card.first .rank b { font-size: 50px; }
.sales .card.side .who { top: 77px; font-size: 27px; line-height: 26px; }
.sales .card.first .who { top: 103px; font-size: 30px; }
.sales .card.side .off { top: 115px; font-size: 19px; }
.sales .card.first .off { top: 135px; font-size: 20px; }
.sales .card.side .val { top: 148px; font-size: 30px; color: var(--white); }
.sales .card.first .val { top: 172px; font-size: 33px; color: #fff6dd; }

/* rows 4-10 */
.hires-col-head { position: absolute; left: 797px; width: 150px; top: 321px; transform: translateY(-50%); text-align: center; font-size: 15px; font-weight: 700; letter-spacing: .12em; color: #d8e3e1; }
.rows { position: absolute; left: 21px; width: 926px; top: 334px; height: 296px; border-radius: 10px; overflow: hidden; background: rgba(2, 14, 15, .55); }
.rows::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 80px; background: linear-gradient(180deg, rgba(20, 66, 64, .8), rgba(12, 46, 45, .8)); }
.row { position: absolute; left: 0; right: 0; height: 42.3px; display: flex; align-items: center; transition: transform .9s cubic-bezier(.2, .9, .2, 1), opacity .5s; border-top: 1.5px solid rgba(110, 200, 192, .2); }
.row.r0 { border-top-color: transparent; }
.row .n { width: 80px; flex: none; text-align: center; font-family: var(--num); font-weight: 700; font-size: 28px; font-variant-numeric: lining-nums; color: var(--cream); }
.row .nm { width: 420px; flex: none; padding-left: 22px; font-size: 25px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--white); }
.row .nm small { font-size: 19px; font-weight: 500; letter-spacing: .05em; margin-left: 8px; color: #dfe7e6; text-transform: uppercase; }
.row .ap { width: 188px; flex: none; text-align: right; font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.row .hr { width: 150px; flex: none; margin-left: 88px; height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding-left: 14px; font-family: var(--num); font-weight: 700; font-size: 26px; font-variant-numeric: lining-nums; border-left: 1.5px solid rgba(110, 200, 192, .18); }
.row .hr .ico { width: 36px; height: 30px; }
.row .hr b { min-width: 20px; text-align: left; }
.row.empty .nm, .row.empty .ap { color: rgba(220, 235, 232, .22); }
.row.empty .hr b { color: transparent; } .row.empty .hr .ico { opacity: .15; }
.row.flash { animation: rowFlash 2.4s ease; }
@keyframes rowFlash { 0%, 40% { background: rgba(110, 245, 236, .28); } 100% { background: transparent; } }
.row.enter { animation: rowIn .7s ease; }
@keyframes rowIn { from { opacity: 0; } }

/* hires panel */
.hires { left: 1008px; top: 382px; width: 893px; height: 412px; }
.hires .p-head { top: 8px; height: 96px; }
.hires .p-head .ico { width: 80px; height: 66px; flex: none; }
.hires .p-head h2 { font-size: 46px; }
.p-rule { position: absolute; left: 70px; right: 70px; top: 107px; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(110, 215, 205, .4), transparent); }
.hires .podium { left: 0; right: 0; top: 123px; height: 245px; gap: 14px; }
.hires .card.side { width: 262px; height: 204px; }
.hires .card.first { width: 277px; height: 245px; }
.hires .card.side .rank { width: 84px; height: 70px; top: 5px; }
.hires .card.first .rank { width: 100px; height: 84px; top: 54px; }
.hires .card.side .rank b { font-size: 44px; }
.hires .card.first .rank b { font-size: 52px; }
.hires .card .who { font-size: 25px; }
.hires .card.side .who { top: 77px; } .hires .card.first .who { top: 117px; }
.hires .card .off { font-size: 20px; }
.hires .card.side .off { top: 108px; } .hires .card.first .off { top: 148px; }
.hires .card.side .val { top: 163px; font-size: 56px; color: var(--aqua-soft); }
.hires .card.first .val { top: 201px; font-size: 60px; color: var(--gold-hi); text-shadow: 0 0 20px rgba(246, 226, 164, .4); }

/* goals */
.goals { left: 1008px; top: 818px; width: 893px; height: 224px; }
.goals > div > * { position: absolute; left: 0; right: 0; transform: translateY(-50%); text-align: center; white-space: nowrap; }
.g-title { position: absolute; left: 0; top: 0; bottom: 0; width: 236px; }
.g-title .ico { width: 70px; height: 70px; left: 83px; right: auto; top: 70px; }
.g-name { top: 151px; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.24; letter-spacing: .05em; color: var(--cream); }
.g-cell { position: absolute; top: 0; bottom: 0; width: 328px; }
.g-cell:nth-of-type(2) { left: 236px; } .g-cell:nth-of-type(3) { left: 565px; }
.g-cell::before { content: ''; position: absolute; left: 0; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, transparent, rgba(190, 215, 212, .42), transparent); }
.g-cell .lbl { top: 40px; font-family: var(--sans); font-weight: 500; font-size: 23px; letter-spacing: .12em; }
.g-cell .big { top: 91px; font-size: 50px; }
.g-cell .bar { left: 29px; right: 29px; top: 146px; height: 20px; }
.g-cell .pct { top: 184px; font-size: 23px; font-weight: 500; }

/* ---------- celebration layer ---------- */
#fx { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
#fxCanvas { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.fx-dim { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(0, 0, 0, .72), rgba(0, 0, 0, .5)); opacity: 0; transition: opacity .35s; }
#fx.on .fx-dim { opacity: 1; }
.fx-flash { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 244, 200, .95), rgba(255, 200, 80, .5) 40%, transparent 72%); }
#fx.hire .fx-flash, #fx.goal .fx-flash { background: radial-gradient(circle at 50% 50%, rgba(220, 255, 252, .95), rgba(110, 245, 236, .5) 40%, transparent 72%); }
.fx-flash.go { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.fx-rays {
  position: absolute; left: 50%; top: 50%; width: 2600px; height: 2600px; margin: -1300px 0 0 -1300px; opacity: 0; transition: opacity .5s;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 130, .16) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 72%); mask-image: radial-gradient(closest-side, #000 20%, transparent 72%);
  animation: spin 22s linear infinite;
}
#fx.hire .fx-rays { background: repeating-conic-gradient(from 0deg, rgba(110, 245, 236, .16) 0deg 6deg, transparent 6deg 18deg); }
#fx.on .fx-rays { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.fx-marquee { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
#fx.on .fx-marquee { opacity: 1; }
.fx-marquee i {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #5a4313;
  animation: bulb .45s steps(1) infinite;
}
.fx-marquee i:nth-child(3n) { animation-delay: .15s; } .fx-marquee i:nth-child(3n+1) { animation-delay: .3s; }
@keyframes bulb { 0% { background: #fff3c4; box-shadow: 0 0 14px 5px rgba(255, 214, 110, .95); } 34% { background: #5a4313; box-shadow: none; } }
#fx.hire .fx-marquee i, #fx.goal .fx-marquee i { animation-name: bulbAqua; }
@keyframes bulbAqua { 0% { background: #e6fffd; box-shadow: 0 0 14px 5px rgba(110, 245, 236, .95); } 34% { background: #0f4a47; box-shadow: none; } }

.fx-banner {
  position: absolute; left: 50%; top: 50%; width: 1180px; margin-left: -590px; transform: translateY(-50%) scale(.3); opacity: 0;
  padding: 44px 60px 50px; text-align: center; border-radius: 26px;
}
.fx-shape {
  position: absolute; inset: 0; border-radius: 26px; border: 3px solid var(--gold);
  background: radial-gradient(120% 90% at 50% 100%, rgba(120, 88, 20, .55), transparent 62%), linear-gradient(180deg, rgba(30, 26, 12, .96), rgba(8, 10, 8, .97));
  box-shadow: 0 0 0 8px rgba(217, 180, 95, .16), 0 0 90px rgba(255, 205, 100, .55), inset 0 0 70px rgba(255, 205, 100, .14);
}
#fx.hire .fx-shape, #fx.goal .fx-shape {
  border-color: var(--aqua);
  background: radial-gradient(120% 90% at 50% 100%, rgba(20, 110, 104, .55), transparent 62%), linear-gradient(180deg, rgba(8, 34, 33, .96), rgba(3, 14, 14, .97));
  box-shadow: 0 0 0 8px rgba(110, 245, 236, .14), 0 0 90px rgba(110, 245, 236, .5), inset 0 0 70px rgba(110, 245, 236, .12);
}
.fx-banner.in { animation: bannerIn .65s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.fx-banner.out { animation: bannerOut .45s ease-in forwards; }
@keyframes bannerIn { to { transform: translateY(-50%) scale(1); opacity: 1; } }
@keyframes bannerOut { from { transform: translateY(-50%) scale(1); opacity: 1; } to { transform: translateY(-50%) scale(1.25); opacity: 0; } }
.fx-banner > :not(.fx-shape) { position: relative; }
.fx-eyebrow { font-family: var(--serif); font-weight: 700; font-size: 50px; letter-spacing: .16em; padding-left: .16em; color: var(--gold-hi); text-shadow: 0 0 26px rgba(255, 215, 120, .7); }
#fx.jackpot .fx-eyebrow { white-space: nowrap; }
#fx.jackpot.hit .fx-eyebrow { font-size: 84px; animation: strobe .32s steps(1) infinite; }
#fx.jackpot.hit .fx-office { font-size: 26px; letter-spacing: .2em; color: var(--gold-hi); }
#fx.jackpot.hit .fx-reels { margin: 8px 0 0; transform: scale(.72); }
#fx.jackpot.hit .fx-amount { font-size: 150px; margin-top: 10px; }
@keyframes strobe { 50% { color: #fff; text-shadow: 0 0 44px #ffe9a8, 0 0 90px #ffcf66; } }
#fx.hire .fx-eyebrow { font-size: 70px; }
#fx.hire .fx-eyebrow, #fx.goal .fx-eyebrow { color: var(--aqua); text-shadow: 0 0 26px rgba(110, 245, 236, .7); }
.fx-name { margin-top: 14px; font-weight: 800; font-size: 96px; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); overflow-wrap: anywhere; }
.fx-name.long { font-size: 72px; }
.fx-office { margin-top: 8px; font-size: 32px; font-weight: 600; letter-spacing: .3em; padding-left: .3em; color: var(--muted); text-transform: uppercase; }
.fx-amount {
  margin-top: 16px; font-family: var(--num); font-weight: 700; font-size: 164px; line-height: 1; font-variant-numeric: tabular-nums lining-nums;
  background: linear-gradient(180deg, #fff8dc 0%, #f6dc8c 45%, #c9972e 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 205, 100, .55));
}
.fx-amount:empty { display: none; }
.fx-amount.land { animation: land .5s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes land { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
.fx-sub { margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: .16em; padding-left: .16em; color: var(--aqua-soft); text-transform: uppercase; min-height: 40px; }
.fx-sub:empty { display: none; }
.fx-reels { display: none; justify-content: center; gap: 18px; margin: 18px 0 6px; }
#fx.jackpot .fx-reels { display: flex; }
.fx-reels span {
  width: 150px; height: 150px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--num); font-weight: 700; font-size: 104px; color: #b3151a;
  background: linear-gradient(180deg, #d9d2bd 0%, #fffdf2 28%, #fffdf2 72%, #d9d2bd 100%);
  border: 4px solid var(--gold); box-shadow: inset 0 14px 18px rgba(0, 0, 0, .35), inset 0 -14px 18px rgba(0, 0, 0, .35), 0 0 26px rgba(255, 205, 100, .45);
}
.fx-reels span.spin { filter: blur(2.5px); color: #333; }
.fx-reels span.stop { animation: reelStop .3s cubic-bezier(.2, 2, .4, 1); }
@keyframes reelStop { 0% { transform: translateY(-22px); } 100% { transform: none; } }

/* ---------- overlays ---------- */
#qrBig { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(0, 6, 6, .9); }
#qrBig[hidden], #status[hidden], #soundPill[hidden], #help[hidden], #setup[hidden] { display: none; }
.qr-big-card { text-align: center; }
.qr-big-title { font-family: var(--serif); font-weight: 700; font-size: 60px; letter-spacing: .08em; color: var(--cream); margin-bottom: 30px; }
.qr-big-code { width: 720px; height: 720px; margin: 0 auto; padding: 22px; background: #fff; border-radius: 26px; box-shadow: 0 0 90px rgba(110, 245, 236, .45); }
.qr-big-code svg { width: 100%; height: 100%; display: block; }
.qr-big-url { margin-top: 24px; font-size: 26px; letter-spacing: .06em; color: var(--muted); }
#status { position: absolute; left: 24px; bottom: 12px; z-index: 25; font-size: 15px; letter-spacing: .08em; color: #f3c27a; }
#soundPill { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 25; padding: 6px 20px; border-radius: 20px; font-size: 16px; font-weight: 600; color: #04201f; background: var(--aqua); box-shadow: 0 0 22px rgba(110, 245, 236, .55); animation: pillPulse 2s ease-in-out infinite; }
@keyframes pillPulse { 50% { opacity: .6; } }
#help { position: absolute; right: 24px; bottom: 54px; z-index: 40; display: flex; flex-direction: column; gap: 9px; padding: 22px 26px; border-radius: 14px; background: rgba(2, 18, 18, .96); border: 1.5px solid var(--line); font-size: 20px; }
#help b { font-family: var(--serif); color: var(--cream); letter-spacing: .1em; }
kbd { display: inline-block; min-width: 30px; padding: 2px 8px; margin-right: 8px; text-align: center; border-radius: 6px; background: #0e3a38; border: 1px solid var(--line); font-family: var(--sans); font-weight: 700; }
#setup { position: absolute; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: rgba(0, 8, 8, .95); text-align: center; padding: 0 240px; }
#setup h3 { font-family: var(--serif); font-size: 54px; color: var(--cream); letter-spacing: .05em; }
#setup p { font-size: 28px; line-height: 1.5; color: var(--muted); }
#setup code { color: var(--aqua); font-size: 26px; }

@media (prefers-reduced-motion: reduce) {
  .fx-rays, .card.first .sheen::before, .bar i::after { animation: none; }
}

/* demo-only control bar (/?demo=1): lets you fire the shows from a phone or a TV remote */
#demoBar { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(2, 18, 18, .92); border: 1px solid var(--line); }
#demoBar button { padding: 10px 14px; border-radius: 9px; border: 1px solid rgba(110, 245, 236, .5); background: #0b2e2c; color: var(--aqua); font: 700 12px var(--sans); letter-spacing: .08em; white-space: nowrap; cursor: pointer; }
#demoBar button.g { border-color: var(--gold); color: var(--gold-hi); }
