/* (c) 2026 Spooky Digital Ltd - spookydigital.io - stream kit preview. Not for reuse in other products. */
@font-face { font-family: 'Anton'; src: url('assets/fonts/Anton-Regular.ttf') format('truetype'); font-display: swap; }
:root {
  --ink: #0F0A20; --ink2: #150C2E; --deep: #07040F; --card: #140c2b; --line: #2e2152;
  --violet: #8B47F0; --violet-hi: #B17BFF; --lime: #B6FF3C; --gold: #F5C542; --red: #b91c1c;
  --txt: #f4f0ff; --mut: #b9add9;
  --head: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--deep); }
body { margin: 0; background: radial-gradient(1200px 600px at 10% -10%, rgba(139,71,240,.22), transparent 60%), var(--deep); color: var(--txt);
  font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
button, input, select, textarea { font: inherit; color: inherit; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.bar .sd { width: min(206px, 48vw); height: auto; display: block; flex: none; }
.pill { font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

main { max-width: 1440px; margin: 0 auto; padding: 0 24px 40px; }
.intro { padding: 28px 0 18px; max-width: 880px; }
.intro h1 { margin: 0 0 8px; font: 400 clamp(30px, 4.2vw, 50px)/1.02 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.intro h1 em { font-style: normal; color: var(--lime); }
.intro p { margin: 0; color: var(--mut); font-size: 16.5px; max-width: 720px; }

.clients { margin: 4px 0 24px; }
.clients-t { margin: 0 0 10px; font: 800 11.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.cl-band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.cl-track { display: flex; width: max-content; animation: cl-roll 46s linear infinite; }
.cl-band:hover .cl-track { animation-play-state: paused; }
.cl-list { display: flex; align-items: center; gap: 52px; margin: 0; padding: 0 26px; list-style: none; }
.cl-list li { flex: none; display: flex; align-items: center; height: 64px; }
.cl-list img { display: block; height: var(--h); width: auto; }
@keyframes cl-roll { to { transform: translateX(-50%); } }
.wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.left { position: sticky; top: 16px; min-width: 0; }

.stagebox { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px rgba(0,0,0,.55); }
.screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; background: #000; }
.screen > * { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; }
.under .cam, .under .game { position: absolute; overflow: hidden; background: #000; }
.under .cam img, .under .game img { position: absolute; display: block; }
.under .cam .bg, .under .game .bg { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.under .cam .bg { filter: brightness(.8); }
.under .cam .who { left: 50%; bottom: -6%; height: 96%; width: auto; transform: translateX(-50%); }
.frames iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; background: transparent; transition: opacity .3s; }
.chatsim { pointer-events: none; }
.chatsim .box { position: absolute; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px 16px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px); mask-image: linear-gradient(to bottom, transparent 0, #000 56px); }
.chatsim .m { font: 700 23px/1.28 var(--body); color: #fff; animation: cm-in .35s ease-out both; }
.chatsim .m b { color: var(--lime); font-weight: 800; margin-right: 8px; }
.chatsim .m b.v { color: var(--violet-hi); }
@keyframes cm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pops { background: transparent; pointer-events: none; }
.pops.off { visibility: hidden; }
.fs { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(7,4,15,.7);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .75; }
.fs:hover, .fs:focus-visible { opacity: 1; }
.stagebox:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; box-shadow: none; }
.stagebox:fullscreen .fs { display: none; }

.scenes { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.scenes button { border: 1px solid var(--line); background: var(--card); color: var(--txt); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.scenes button:hover { border-color: var(--violet-hi); }
.scenes button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.note { color: var(--mut); font-size: 13px; margin: 12px 0 0; max-width: 820px; }

.ctl { min-width: 0; }
.ctl-hd { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; }
.ctl-hd b { display: block; font: 400 22px/1.1 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.ctl-hd small { color: var(--mut); font-size: 13px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); flex: none; }
.say { min-height: 0; margin: 8px 0 0; font-size: 13.5px; color: var(--ink); background: var(--lime); border-radius: 10px; padding: 0 12px; max-height: 0; overflow: hidden; transition: max-height .25s, padding .25s; }
.say.on { max-height: 80px; padding: 8px 12px; }
.say.err { background: #fecaca; }
.card { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 14px; margin: 10px 0 0; }
.card h2 { margin: 0 0 10px; font: 400 19px/1.1 var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--lime); }
.fire { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fire button { min-height: 50px; font-weight: 800; font-size: 14px; margin: 0; padding: 6px 4px; }
.fire button.red { grid-column: span 3; background: #7f1d1d; border-color: var(--red); color: #fff; min-height: 42px; }
.card button { border: 1px solid var(--lime); background: var(--lime); color: var(--ink); border-radius: 10px; padding: 9px 14px; font-weight: 800; font-size: 14px; cursor: pointer; }
.card button.ghost, .fire button { background: transparent; color: var(--txt); border-color: var(--line); }
.card button:hover { filter: brightness(1.08); }
.card button.ghost:hover, .fire button:hover { border-color: var(--violet-hi); background: rgba(177,123,255,.08); }
.card button:active { transform: translateY(1px); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid .wide { grid-column: 1 / -1; }
label { display: block; font-size: 12.5px; color: var(--mut); font-weight: 700; }
label.one { margin: 10px 0 0; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: #0b0619; color: var(--txt); font-size: 14px; font-weight: 600; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--violet-hi); outline-offset: 0; border-color: transparent; }
textarea { min-height: 64px; resize: vertical; }
input[type=range] { padding: 0; accent-color: var(--lime); border: 0; background: transparent; }
.sw { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--txt); font-weight: 600; margin: 0 0 8px; }
.sw input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--lime); }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.chips button { border: 1px solid var(--line); background: transparent; color: var(--txt); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; }
.hint { color: var(--mut); font-size: 12.5px; margin: 8px 0 0; }
.win { border: 1px solid rgba(182,255,60,.5); background: rgba(182,255,60,.06); border-radius: 10px; padding: 9px 11px; margin: 10px 0 0; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13.5px; }
.wl { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 7px 0; font-size: 13.5px; }
.wl:first-child { margin-top: 10px; }
.wl button, .win button { padding: 5px 10px; font-size: 12.5px; }
.pre { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 13.5px; }
.pre img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }

.feat { margin: 44px 0 0; }
.feat h2 { font: 400 30px/1.05 var(--head); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px; }
.tile b { display: block; font-size: 16px; margin-bottom: 6px; }
.tile span { color: var(--mut); font-size: 14px; }
.foot { text-align: center; color: var(--mut); font-size: 12.5px; padding: 22px 16px 30px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
  .left { top: 0; z-index: 5; background: var(--deep); padding: 10px 0 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; box-shadow: 0 10px 20px rgba(7,4,15,.9); }
  .note { display: none; }
  .scenes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 10px; padding-bottom: 2px; }
  .scenes::-webkit-scrollbar { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main { padding: 0 16px 32px; }
  .bar { padding: 12px 16px; }
  .left { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .intro { padding: 18px 0 10px; }
  .intro p { font-size: 15px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .fs { width: 32px; height: 32px; font-size: 17px; right: 6px; bottom: 6px; }
}
@media (max-width: 640px) {
  .cl-list { gap: 36px; padding: 0 18px; }
  .cl-list li { height: 48px; }
  .cl-list img { height: calc(var(--h) * .75); }
}
@media (prefers-reduced-motion: reduce) {
  .chatsim .m { animation: none; } .frames iframe { transition: none; }
  .cl-band { -webkit-mask-image: none; mask-image: none; }
  .cl-track { animation: none; width: auto; }
  .cl-copy { display: none; }
  .cl-list { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
}
