:root {
  color-scheme: dark;
  --yellow: #ffd600;
  --gold: #ffb800;
  --background: #0d0d0f;
  --surface: #18181b;
  --panel: #242428;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: #303035;
  font: 100%/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); background: var(--background); }
a { color: inherit; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2, .brand { line-height: 1.1; letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
p + p { margin-top: .85rem; }
.shell { width: min(100% - 2rem, 1440px); margin-inline: auto; }
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .28em; text-decoration: none; font-size: 1.3rem; font-weight: 850; white-space: nowrap; }
.brand img { margin-right: .25em; }
.brand span, h1 span { color: var(--yellow); }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a[aria-current] { color: var(--yellow); }
.skip { position: absolute; top: 0; left: 1rem; z-index: 4; padding: .6rem; background: var(--surface); transform: translateY(-120%); }
.skip:focus { transform: none; }
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) 1.5rem; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 4.4rem); font-weight: 900; }
.hero p { margin-top: .75rem; color: var(--muted); }
.play-layout { display: flex; gap: 150px; }
.player { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 1rem; overflow: clip; background: var(--surface); }
.stage { position: relative; aspect-ratio: 16 / 9; background: #070708; overflow: hidden; }
.frame-slot { width: 100%; height: 100%; position: relative; overflow: hidden; }
.frame-slot iframe { position: absolute; inset: 0 auto auto 0; border: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.launch { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .7rem; text-align: center; padding: 1rem; background: linear-gradient(#0d0d0f28, #0d0d0fac), url(cover.webp) center / cover; }
.launch.is-loading { inset: 0 0 auto; background: #0d0d0fe8; pointer-events: none; }
.launch.is-error { background: #0d0d0fe8; }
#game-status:empty { display: none; }
.button, button { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-radius: .55rem; font: inherit; font-weight: 800; cursor: pointer; }
.button { border: 0; color: var(--background); background: var(--yellow); text-decoration: none; box-shadow: 0 0 34px #ffd60038; }
.button:hover { background: var(--gold); color: var(--background); }
button { border: 1px solid #70612a; color: var(--yellow); background: #242011; font-size: .875rem; }
button:hover { background: #332a10; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 62px; padding: .5rem 1rem; }
.content { display: grid; gap: 1rem; max-width: 960px; margin: 2rem auto; }
.panel { border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1rem, 3vw, 2rem); background: var(--surface); scroll-margin-top: 1rem; }
.panel li + li { margin-top: .4rem; }
.muted, details p { color: var(--muted); }
details { padding-block: .7rem; border-top: 1px solid var(--line); }
details p { margin-top: .5rem; }
summary { cursor: pointer; font-weight: 650; }
.footer { border-top: 1px solid var(--line); padding-block: 1.5rem; flex-wrap: wrap; }
.footer-network { display: inline-grid; justify-items: center; gap: .35rem; font-size: .875rem; font-weight: 650; color: var(--muted); text-decoration: none; }
.footer-network img { display: block; width: 9rem; max-width: 100%; height: auto; }
.ad { display: grid; justify-items: center; align-content: start; gap: .35rem; font-size: .875rem; color: var(--muted); }
.ad-leader { margin: 1.5rem auto 0; margin-bottom: 150px; max-width: 728px; min-height: 115px; }
.ad-content { min-height: 305px; width: min(100%, 336px); margin-inline: auto; }
.ad-side { width: 300px; flex: 0 0 300px; min-height: 275px; }
.ad-unit { display: block; width: 100%; }
@media (max-width: 1199px) { .ad-side { display: none !important; } }
@media (max-width: 620px) {
  .header-inner, .footer { flex-wrap: wrap; }
  nav { gap: .5rem 1rem; }
  .player-bar { padding-inline: .65rem; }
  .shell { width: calc(100% - 1.25rem); }
}
@media (prefers-reduced-motion: no-preference) { button, .button, nav a { transition: background-color .16s, color .16s; } }
.player:fullscreen { display: grid; grid-template-rows: minmax(0, 1fr) auto; border: 0; border-radius: 0; }
.player:fullscreen .stage { aspect-ratio: auto; }
.ad[data-empty="true"] > * { visibility: hidden; }
.ad-preview { border: 1px dashed var(--line); border-radius: .35rem; background: var(--surface); }
