/* Forest Donations: the game's own art (icon, thumbnails, Robux and ForestBux coins) on a game-sky hero,
   a live game card, codes as tickets, and a night band for streamers. One light look on purpose. */
:root {
  --sky-top: #1673c4;
  --sky-low: #74c4f8;
  --paper: #f3f8f2;
  --card: #ffffff;
  --ink: #102a1c;
  --ink-2: #33503f;
  --ink-3: #4c6b58;
  --line: #d6e7da;
  --pine: #2f8f4e;
  --pine-deep: #1d6b3a;
  --leaf: #3ccf72;
  --fb: #11b353;
  --fb-edge: #0f7637;
  --wood-dark: #4a2c16;
  --gold: #ffc83d;
  --night: #0c2318;
  --night-2: #163a28;
  --night-ink: #e8f5ec;
  --night-ink-2: #a3c3b0;

  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --nav-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }
/* scrollbar: a slim pill in the game's green that floats on the page */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #e6eee8; }
::-webkit-scrollbar-thumb { background: #3d8c5a; border-radius: 999px; border: 3px solid #e6eee8; min-height: 48px; }
::-webkit-scrollbar-thumb:hover { background: #2f7a4b; }
::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { html { scrollbar-width: thin; scrollbar-color: #3d8c5a #e6eee8; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 600 17px/1.6 var(--body); }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pine-deep); outline-offset: 3px; border-radius: 8px; }
.streamers :focus-visible, .foot :focus-visible, .hero :focus-visible { outline-color: var(--gold); }
#codes, #streamers { scroll-margin-top: calc(var(--nav-h) + 8px); }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px;
  font: 800 17px/1 var(--body); text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-play { background: var(--leaf); color: #052313; box-shadow: 0 4px 0 var(--pine-deep); }
.btn-play:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--pine-deep); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--pine-deep); }
.btn-quiet { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #0f5d9e; }
.btn-quiet:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #0f5d9e; }
.btn-quiet:active { transform: translateY(3px); box-shadow: 0 1px 0 #0f5d9e; }
.btn-gold { background: var(--gold); color: #2a1d00; box-shadow: 0 4px 0 #b4862a; justify-self: start; }
.btn-ghost-dark { height: 48px; padding: 0 20px; background: var(--night-2); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 200, 61, .55); font-size: 16px; }
.btn-ghost-dark svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; width: 17px; height: 17px; }
.btn-ghost-dark:hover { background: #1d4a33; }
.btn-ghost-dark svg { color: var(--gold); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 16px; box-shadow: 0 4px 0 var(--pine-deep); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(243, 248, 242, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--sky-top); }
.nav-inner { max-width: 1120px; margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding-left: var(--gl); padding-right: var(--gr); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 21px/1 var(--display); color: #fff; letter-spacing: -.005em; text-shadow: 0 2px 0 rgba(10, 60, 110, .35); }
.nav.scrolled .brand { color: var(--ink); text-shadow: none; }
.mark { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(10, 40, 70, .5); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; text-shadow: 0 1px 0 rgba(10, 60, 110, .35); }
.nav-links a:hover { background: rgba(255, 255, 255, .16); }
.nav.scrolled .nav-links a { color: var(--ink-2); text-shadow: none; }
.nav.scrolled .nav-links a:hover { background: rgba(18, 48, 31, .06); color: var(--ink); }
.nav-play { display: none; }
.nav.show-play .nav-play { display: inline-flex; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  background: radial-gradient(60% 55% at 80% 55%, rgba(169, 225, 255, .45) 0%, rgba(169, 225, 255, 0) 60%), linear-gradient(180deg, var(--sky-top) 0%, #2689dc 60%, var(--sky-low) 100%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(20px, 3vw, 44px) var(--gr) clamp(88px, 8vw, 112px) var(--gl);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 700; color: #fff; text-shadow: 0 3px 0 rgba(8, 50, 100, .35); }
.hero h1 span { display: block; white-space: nowrap; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #fff; max-width: 24em; font-weight: 700; text-wrap: balance; text-shadow: 0 1px 2px rgba(8, 50, 100, .5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* the art: the game's thumbnails as cards, the icon on top, the game's Robux coins around it */
.art { position: relative; width: 100%; aspect-ratio: 1 / .78; }
.shot { position: absolute; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 24px 50px -20px rgba(8, 50, 100, .55); object-fit: cover; }
.shot-a { width: 76%; right: 0; top: 0; rotate: 4deg; }
.shot-b { width: 68%; left: 0; bottom: 2%; rotate: -5deg; }
.key { position: absolute; width: 39%; left: 0; top: 3%; border-radius: 22%; border: 6px solid #fff; rotate: -5deg;
  box-shadow: 0 30px 60px -22px rgba(8, 50, 100, .65); }
.rbx { position: absolute; filter: drop-shadow(0 8px 10px rgba(8, 50, 100, .35)); animation: bob 5s ease-in-out infinite; }
.r1 { width: 13%; left: 88%; top: 60%; rotate: 14deg; }
.r2 { width: 9%; left: 36%; top: 47%; rotate: -12deg; animation-delay: -1.6s; }
.r3 { width: 9%; left: 74%; top: 80%; rotate: 8deg; animation-delay: -3.1s; }
.art { --px: 0; --py: 0; }
.shot, .key, .rbx { transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.shot-a { transform: translate(calc(var(--px) * -12px), calc(var(--py) * -12px)); }
.shot-b { transform: translate(calc(var(--px) * -20px), calc(var(--py) * -20px)); }
.key { transform: translate(calc(var(--px) * -28px), calc(var(--py) * -28px)); }
.rbx { transform: translate(calc(var(--px) * -40px), calc(var(--py) * -40px)); }
.shot-a, .shot-b, .key { animation: rise .6s cubic-bezier(.2, .8, .3, 1) both; }
.shot-b { animation-delay: .08s; } .key { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- live game card ---------- */
.card-row { position: relative; z-index: 3; max-width: 1120px; margin: -56px auto 0; padding-left: var(--gl); padding-right: var(--gr); }
.game-card { background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px rgba(18, 48, 31, .05), 0 22px 50px -26px rgba(18, 48, 31, .45);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 18px 20px 18px 18px; }
.game-card > .gc-stats { justify-self: end; }
.gc-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gc-mark { width: 60px; height: 60px; flex: none; border-radius: 15px; }
.gc-id h2 { font-size: 22px; letter-spacing: -.01em; }
.gc-id p { font-size: 15px; color: var(--ink-3); margin-top: 3px; }
.gc-id p a { color: var(--ink-2); text-decoration-color: var(--line); text-underline-offset: 3px; }
.gc-stats { display: grid; grid-template-columns: repeat(3, auto); margin: 0; }
.stat { padding: 0 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; }
.stat dd { margin: 4px 0 0; font: 900 28px/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #b6c9bd; flex: none; }
.live-dot.on { background: var(--leaf); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 114, .55); } 70% { box-shadow: 0 0 0 8px rgba(60, 207, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 114, 0); } }

/* ---------- codes ---------- */
.codes { padding-block: clamp(44px, 4.5vw, 60px) clamp(52px, 5vw, 72px); }
.codes h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 20px; }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ticket { min-width: 0; position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center;
  background: linear-gradient(180deg, #e6f6ea 0, #fff 46%); border-radius: 18px; padding: 18px 16px 16px; box-shadow: inset 0 0 0 2px #c3dcca, 0 4px 0 #c3dcca; }
.ticket .copy { width: 100%; }
.t-main { display: grid; gap: 4px; min-width: 0; }
.t-code { font: 800 19px/1.15 var(--body); letter-spacing: .02em; color: var(--ink); overflow-wrap: anywhere; }
.t-reward { font-weight: 800; font-size: 15px; color: var(--pine-deep); }
.t-reward b { font-size: 19px; font-weight: 900; color: var(--ink); }
/* the game's ForestBux coin: green disc, darker rim, the game's leaf art */
.fbx { width: 44px; height: 44px; border-radius: 50%; background: var(--fb) url(/img/leaf-128.png) center / 74% no-repeat; box-shadow: inset 0 0 0 2.5px var(--fb-edge), 0 4px 0 var(--fb-edge); flex: none; }
.copy { height: 44px; min-width: 84px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: var(--pine-deep); font: 800 15px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 2px var(--pine), 0 3px 0 var(--pine-deep); transition: transform .12s, box-shadow .12s, background .12s; }
.copy:hover { background: #effaf2; }
.copy:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px var(--pine), 0 1px 0 var(--pine-deep); }
.copy.done { background: var(--pine-deep); color: #fff; }

/* ---------- footer ---------- */
.foot { padding-block: 32px; background: var(--night); color: var(--night-ink-2); border-top: 1px solid rgba(255, 255, 255, .07); }
.foot .brand { color: var(--night-ink); text-shadow: none; font-size: 19px; }
.foot .mark { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { font-weight: 800; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.legal { margin-left: auto; font-size: 13px; color: rgba(232, 245, 236, .7); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 12px; opacity: 0; pointer-events: none; z-index: 40;
  width: max-content; max-width: calc(100vw - 32px); text-align: center; background: var(--ink); color: #fff; font: 800 15px/1.35 var(--body); padding: 12px 18px; border-radius: 14px; transition: opacity .2s, translate .2s; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- smaller screens ---------- */
/* below five-across, the codes become one list in one card: every row the same */
@media (max-width: 1000px) {
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 2px #c3dcca, 0 4px 0 #c3dcca; }
  .ticket { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; align-items: center; text-align: left; gap: 16px; padding: 14px 16px 14px 18px; background: none; border-radius: 0; box-shadow: none; }
  .ticket + .ticket { border-top: 1.5px solid var(--line); }
  .ticket .copy { width: auto; }
  .t-main { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; }
  .fbx { width: 38px; height: 38px; box-shadow: inset 0 0 0 2px var(--fb-edge), 0 3px 0 var(--fb-edge); }
}
@media (max-width: 560px) { .t-main { grid-auto-flow: row; gap: 2px; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hero-copy { justify-items: center; }
  .art { max-width: 460px; margin-top: 6px; }
  .hero-inner { gap: 20px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(44px, 8vw, 64px); }
  .hero { background: radial-gradient(70% 50% at 50% 72%, rgba(169, 225, 255, .7) 0%, rgba(169, 225, 255, 0) 60%), linear-gradient(180deg, var(--sky-top) 0%, #3a9fee 55%, var(--sky-low) 100%); }
  .game-card { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; }
  .game-card > .card-play { grid-column: 2; grid-row: 1; }
  .game-card > .gc-stats { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: stretch; }
  .stat { padding: 0 18px; }
  .codes h2 { font-size: clamp(36px, 5vw, 44px); }
  .legal { order: 5; width: 100%; margin-left: 0; }
  .foot-play { margin-left: auto; }
}
@media (max-width: 620px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .nav-inner { gap: 10px; }
  .nav .brand span { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 15px; padding: 0 10px; }
  .nav-play { height: 40px; padding: 0 16px; }
  .hero-inner { padding-top: 20px; padding-bottom: 84px; gap: 18px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .hero-actions { width: 100%; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 2 1 0; height: 50px; padding: 0 14px; font-size: 16px; }
  .hero-actions .btn-play { flex: 3 1 0; }
  .hero h1 span { white-space: normal; }
  .foot { padding-block: 24px; } .foot-inner { row-gap: 12px; }
  .shot { border-width: 4px; border-radius: 12px; }
  .key { border-width: 4px; }
  .card-row { margin-top: -44px; }
  .game-card { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; }
  .gc-mark { width: 52px; height: 52px; border-radius: 13px; }
  .card-play { display: none; }
  .game-card > .gc-stats { grid-row: auto; }
  .stat { padding: 0 10px; }
  .stat dd { font-size: 22px; }
  .stat dt { font-size: 10.5px; letter-spacing: .04em; }
  .t-code { font-size: 19px; }
  .foot-play { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- live on stream: the second hero ---------- */
.streamers { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--night-ink); padding-block: clamp(64px, 7vw, 104px); }
.streamers::before { content: ""; position: absolute; inset: -60px; z-index: -1; background: url(/img/thumb4.webp) 20% 15% / cover; filter: blur(56px) saturate(1.3); opacity: .2;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 100%); mask-image: linear-gradient(#000 40%, transparent 100%); }
.st-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.streamers h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; color: #fff; }
.st-head p { color: var(--night-ink-2); font-size: 18px; text-wrap: balance; }

.stream-demo { margin: 0 auto; max-width: 960px; display: grid; gap: 14px; }
.stream-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0a1a12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -40px rgba(0, 0, 0, .9); }
.stream-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.stream-shots img.on { opacity: 1; animation: pan 9s linear both; }
@keyframes pan { from { transform: scale(1.03) translateX(.8%); } to { transform: scale(1.09) translateX(-.8%); } }
.stage-box { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stage-box .fa-stage { inset: auto; left: 0; top: 0; width: 1920px; height: 1080px; transform: scale(var(--k, .3)); transform-origin: 0 0; }
.stream-hud { position: absolute; left: 2.5%; bottom: 4%; display: flex; align-items: center; gap: 8px; }
.live-pill { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; background: rgba(8, 20, 14, .82); color: #fff; font: 900 12px/1 var(--body); letter-spacing: .08em; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; animation: pulse-red 1.6s infinite; }
.live-pill b { font-weight: 800; letter-spacing: 0; opacity: .85; margin-left: 4px; font-variant-numeric: tabular-nums; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, .6); } 70% { box-shadow: 0 0 0 7px rgba(255, 77, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); } }
.sound-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(8, 20, 14, .82); color: #fff; cursor: pointer; }
.sound-btn:hover { background: rgba(8, 20, 14, .95); }
.sound-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .snd-on, .sound-btn[aria-pressed="true"] .snd-off { display: none; }
.sound-btn[aria-pressed="true"] .snd-on { display: block; }
.chat { position: absolute; right: 2.5%; bottom: 4%; width: 28%; list-style: none; margin: 0; padding: 10px 14px; display: grid; gap: 4px; background: rgba(8, 20, 14, .86); border-radius: 12px; font: 700 clamp(12px, 1.2vw, 15px)/1.35 var(--body); color: #e8f5ec; }
.chat b { font-weight: 900; margin-right: 4px; }
@keyframes chatin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* controls: the game's booth board, a custom donation, and alert styles from the real settings */
.controls { width: 100%; max-width: 640px; margin: 4px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.booth-row, .custom-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 16px; background: #6b4423; box-shadow: inset 0 0 0 3px #3e2410, 0 4px 0 #2c1a0b; }
.booth-rbx, .booth-btn { height: 48px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 3px solid #0b2a12; cursor: pointer; }
.booth-rbx { width: 56px; flex: none; background: #2f7ff0; color: #fff; transition: background .1s; }
.booth-rbx:hover, .booth-rbx[aria-expanded="true"] { background: #4b93ff; }
.booth-rbx svg { width: 26px; height: 26px; }
.booth-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; background: #34e04a; color: #0b2a12; font: 900 19px/1 var(--body); box-shadow: inset 0 -4px 0 rgba(0, 60, 10, .25); transition: transform .1s, background .1s; }
.booth-btn svg { width: 18px; height: 18px; flex: none; }
.booth-btn:hover { background: #4bea5f; }
.booth-btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 60, 10, .25); }
.booth-btn.big { background: #ffd23f; }
.booth-btn.big:hover { background: #ffdc66; }
.booth-row.cue .booth-btn[data-amount="5"] { animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 70%, 100% { box-shadow: inset 0 -4px 0 rgba(0, 60, 10, .25), 0 0 0 0 rgba(52, 224, 74, .6); } 85% { box-shadow: inset 0 -4px 0 rgba(0, 60, 10, .25), 0 0 0 8px rgba(52, 224, 74, 0); } }
.custom-row input { height: 48px; min-width: 0; border-radius: 10px; border: 3px solid #0b2a12; background: #fff8e3; color: var(--ink); font: 800 16px/1 var(--body); padding: 0 12px; }
.custom-row input::placeholder { color: #8a7b5a; }
.custom-row > input[name="name"] { flex: 1 1 0; }
.custom-row > input[name="message"] { flex: 1.6 1 0; }
.c-amt { position: relative; flex: 0 0 116px; }
.c-amt svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; translate: 0 -50%; color: var(--ink); }
.c-amt input { width: 100%; padding-left: 34px; }
.custom-row .booth-btn { flex: 0 0 auto; padding: 0 18px; font-size: 17px; }
.looks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.looks button { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06); color: var(--night-ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); font-size: 15px; cursor: pointer; }
.looks button:hover { background: rgba(255, 255, 255, .12); }
.looks button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.looks [data-look="arcade"] { font-size: 10px; }
.looks [data-look="comic"] { font-size: 17px; letter-spacing: .02em; }

.setup { list-style: none; counter-reset: s; padding: 0; margin: clamp(32px, 4vw, 44px) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.setup li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; }
.setup li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); color: var(--gold); font: 900 14px/1 var(--body); box-shadow: inset 0 0 0 1.5px rgba(255, 200, 61, .4); }
.setup b { color: var(--gold); font-weight: 900; }
.st-cta { display: flex; width: max-content; margin: 22px auto 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- featured streamers, in the same band ---------- */
.featured { margin-top: clamp(56px, 7vw, 88px); }
.featured h3 { font-size: clamp(26px, 3vw, 34px); color: #fff; margin-bottom: 18px; }
.streamer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.streamer-list.lead > li:first-child { grid-column: span 2; grid-row: span 2; }
.streamer { display: grid; gap: 10px; text-decoration: none; color: #fff; }
.s-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.s-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2, .8, .3, 1); }
.streamer:hover .s-shot img { transform: scale(1.04); }
.s-live, .s-views, .s-dur { position: absolute; padding: 4px 8px; border-radius: 6px; font: 900 11px/1 var(--body); letter-spacing: .06em; color: #fff; }
.s-live { left: 10px; top: 10px; background: #e5383b; }
.s-views { left: 10px; bottom: 10px; background: rgba(8, 20, 14, .82); letter-spacing: 0; font-weight: 800; }
.s-dur { right: 10px; bottom: 10px; background: rgba(8, 20, 14, .82); letter-spacing: 0; font-weight: 800; }
.s-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.s-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--fb); display: grid; place-items: center; font: 900 16px/1 var(--body); color: #fff; }
.s-name { display: grid; font: 800 15px/1.25 var(--body); min-width: 0; }
.s-name small { font-size: 13.5px; font-weight: 700; color: var(--night-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-plat svg { width: 22px; height: 22px; }
.streamer-list.lead > li:first-child .s-name { font-size: 18px; }

@media (max-width: 900px) {
  .streamer-list, .streamer-list.lead { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .streamer-list.lead > li:first-child { grid-column: auto; grid-row: auto; }
  .streamer-list > li { scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .streamers { padding-block: 52px; }
  .chat { display: none; }
  .live-pill { padding: 4px 8px; font-size: 10px; height: 30px; } .sound-btn { width: 30px; height: 30px; }
  .booth-row, .custom-row { gap: 6px; padding: 6px; }
  .booth-rbx { width: 46px; height: 44px; } .booth-btn { height: 44px; padding: 0 6px; font-size: 17px; }
  .custom-row { flex-wrap: wrap; }
  .custom-row > input[name="name"] { flex: 1 1 40%; } .c-amt { flex: 1 1 30%; }
  .custom-row > input[name="message"] { flex: 1 1 55%; }
  .looks { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .looks button { flex: none; }
  .setup { flex-direction: column; align-items: start; }
  .streamer-list, .streamer-list.lead { grid-auto-columns: 78%; }
}
