:root {
  --ink: #070a12;
  --paper: #f2f0e9;
  --white: #fffdf7;
  --orange: #F38F99;
  --lime: #c7f36b;
  --blue: #75d5ff;
  --muted: #6d706f;
  --line: rgba(7, 10, 18, .16);
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adx-box { width: min(1180px, calc(100% - 40px)); margin: 14px auto; text-align: center; }
.adx-box:empty { display: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 16px max(20px, calc((100% - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(242, 240, 233, .94); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: .9; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { width: 34px; aspect-ratio: 1; display: inline-block; border: 8px solid var(--orange); border-radius: 50%; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.main-nav { display: flex; gap: 6px; padding: 5px; background: rgba(7, 10, 18, .05); border-radius: 999px; }
.main-nav a { padding: 9px 16px; border-radius: 999px; color: #555b5a; font-size: 14px; font-weight: 650; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: var(--ink); }
.random-link { justify-self: end; font-size: 14px; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.random-link span, .text-link span { color: var(--orange); }

.hero { min-height: 540px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(32px, 5vw, 70px); padding-block: 34px 48px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 850; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(10, 167, 96, .14); vertical-align: 1px; }
.hero h1, .detail-copy h1 { margin: 0; font-size: clamp(50px, 6.2vw, 88px); line-height: .84; letter-spacing: -.08em; font-weight: 900; text-wrap: balance; }
.hero-deck { max-width: 490px; min-height: 56px; margin: 28px 0 0; color: #575c5b; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary span { display: grid; place-items: center; width: 27px; height: 27px; color: var(--orange); background: var(--white); border-radius: 50%; font-size: 10px; }
.text-link { font-size: 14px; font-weight: 800; }
.signal-meta { display: flex; gap: 34px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.signal-meta span { display: flex; flex-direction: column; gap: 3px; }
.signal-meta b { color: var(--ink); font-size: 18px; letter-spacing: -.03em; text-transform: none; }
.hero-visual { position: relative; order: -1; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 28px 28px 110px 28px; background: var(--ink); box-shadow: -14px 16px 0 var(--orange); }
.hero-visual img { position: relative; z-index: 2; filter: saturate(.82) contrast(1.08); }
.hero-visual::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(10, 167, 96, .4)); pointer-events: none; }
.hero-scan { position: absolute; z-index: 4; left: 7%; bottom: 7%; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); border: 8px solid var(--ink); }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.orbit-one { width: 80%; height: 80%; left: -20%; top: -16%; }
.orbit-two { width: 50%; height: 50%; right: -10%; bottom: -12%; }
.image-shell { background: #dad8d0; }
.ticker { overflow: hidden; color: var(--white); background: var(--ink); border-block: 1px solid #252936; }
.ticker-track { min-width: max-content; display: flex; justify-content: center; align-items: center; gap: 34px; padding: 15px 24px; font-size: 11px; font-weight: 850; letter-spacing: .2em; }
.ticker i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.section { padding-block: 78px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: .9; letter-spacing: -.06em; }
.section-heading p:not(.eyebrow) { max-width: 310px; margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.section-heading .eyebrow { margin-bottom: 11px; color: var(--orange); }
.section-heading.light { color: var(--white); }
.section-heading.light p:not(.eyebrow) { color: #aeb3bd; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card { min-width: 0; display: block; padding: 10px 10px 17px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(7, 10, 18, .1); }
.game-card-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 15px; background: #dad8d0; }
.game-card-image::after { content: "↗"; position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; color: var(--white); background: rgba(7,10,18,.8); border-radius: 50%; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.game-card:hover .game-card-image::after { opacity: 1; transform: none; }
.game-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 6px 0; }
.game-card h3 { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 17px; letter-spacing: -.025em; }
.game-card p { grid-column: 1; margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.score-pill { grid-column: 2; grid-row: 1 / 3; padding: 7px 9px; border-radius: 10px; background: var(--paper); font-size: 13px; font-weight: 850; }
.channel-zone, .related-zone { background: var(--ink); }
.channel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid #292d38; border-radius: 20px; background: #292d38; }
.channel-card { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--white); background: #10141e; }
.channel-card:nth-child(2n) { background: #131822; }
.channel-card:hover { color: var(--ink); background: var(--lime); }
.channel-card-top { display: flex; justify-content: space-between; gap: 14px; color: #959cab; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.channel-card:hover .channel-card-top { color: #343b2a; }
.channel-card strong { max-width: 220px; font-size: 30px; line-height: .95; letter-spacing: -.05em; }
.shuffle-button { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; background: none; cursor: pointer; font-size: 13px; font-weight: 800; }
.shuffle-button span { color: var(--orange); }
.compact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.compact-card { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 16px; min-width: 0; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); }
.compact-card:nth-child(odd) { margin-right: 28px; }
.compact-card-image { aspect-ratio: 1.25; overflow: hidden; border-radius: 10px; background: #d7d5cd; }
.compact-card h3 { margin: 0 0 5px; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.compact-card p { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.compact-card b { color: var(--orange); }
.history-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.history-row .compact-card { flex: 0 0 330px; border-top: 1px solid var(--line); }
.manifesto { margin-bottom: 80px; padding: 60px; border-radius: 28px; background: var(--orange); }
.manifesto h2 { max-width: 760px; margin: 0; font-size: clamp(40px, 6vw, 78px); line-height: .9; letter-spacing: -.065em; }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 55px; padding-top: 26px; border-top: 1px solid rgba(7,10,18,.35); }
.manifesto-grid p { display: grid; gap: 8px; margin: 0; line-height: 1.5; }
.manifesto-grid b { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.manifesto-grid span { max-width: 260px; font-size: 14px; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding-block: 30px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
.site-footer nav { display: flex; gap: 20px; }
.status-note { padding-block: 20px; color: #ac351d; }

.channel-hero { padding: 80px 0 34px; color: var(--white); background: var(--ink); }
.channel-hero h1 { margin: 0; font-size: clamp(64px, 11vw, 150px); line-height: .82; letter-spacing: -.085em; }
.channel-hero > .shell > p:not(.eyebrow) { max-width: 560px; margin: 28px 0 42px; color: #aeb3bd; font-size: 18px; line-height: 1.55; }
.channel-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.channel-tabs a { white-space: nowrap; padding: 10px 15px; border: 1px solid #383d49; border-radius: 999px; color: #afb4be; font-size: 13px; }
.channel-tabs a:hover, .channel-tabs a.is-active { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.channel-grid { grid-template-columns: repeat(3, 1fr); }

.detail-hero { min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-block: 64px 84px; }
.detail-art { aspect-ratio: 1.1; overflow: hidden; border-radius: 28px 28px 110px 28px; background: var(--ink); box-shadow: -16px 18px 0 var(--lime); }
.detail-copy h1 { font-size: clamp(52px, 7vw, 94px); }
.detail-description { max-width: 520px; min-height: 70px; margin: 28px 0; color: #555b5a; font-size: 18px; line-height: 1.65; }
.detail-rating { display: flex; align-items: center; gap: 12px; padding-block: 16px; border-block: 1px solid var(--line); }
.detail-rating strong { font-size: 42px; letter-spacing: -.07em; }
.detail-rating span { color: var(--muted); font-size: 10px; line-height: 1.25; text-transform: uppercase; letter-spacing: .14em; }
.detail-play { margin-top: 24px; }
.launch-note { color: var(--muted); font-size: 12px; }
.related-zone .section { padding-block: 70px 90px; }
.related-zone .game-card { background: #131822; border-color: #2a2f3a; color: var(--white); }
.related-zone .game-card p { color: #979eaa; }
.related-zone .score-pill { color: var(--ink); }

.play-body { height: 100vh; display: flex; flex-direction: column; overflow: hidden; color: var(--white); background: #05070b; }
.player-bar { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding: 8px 16px; border-bottom: 1px solid #292d38; }
.player-bar > div { min-width: 0; display: flex; align-items: center; }
.player-bar strong { max-width: min(50vw, 520px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.player-bar a, .player-bar button { width: fit-content; padding: 8px 13px; color: var(--white); border: 1px solid #3c414e; border-radius: 999px; background: transparent; cursor: pointer; font-size: 12px; }
.player-bar button { justify-self: end; }
#gameFrame { flex: 1; width: 100%; border: 0; background: #000; }
.player-status { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #aeb3bd; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.play-body:not(.is-loading) .player-status { display: none; }

.legal { width: min(800px, calc(100% - 40px)); margin: 70px auto 100px; font-size: 17px; line-height: 1.75; }
.legal h1 { margin: 0 0 20px; font-size: clamp(50px, 8vw, 92px); line-height: .86; letter-spacing: -.075em; }
.legal h2 { margin: 42px 0 10px; font-size: 28px; letter-spacing: -.04em; }
.legal a { color: #087c49; border-bottom: 1px solid currentColor; }
.legal-updated { color: var(--muted); font-size: 13px; }

.skeleton, .game-skeleton, .channel-skeleton { display: block; background: linear-gradient(100deg, #d9d7cf 20%, #eeece5 40%, #d9d7cf 60%); background-size: 220% 100%; animation: shimmer 1.2s linear infinite; border-radius: 12px; }
.skeleton-title { width: 82%; height: 1.8em; }
.skeleton-line { width: 100%; height: 16px; margin: 10px 0; }
.skeleton-line.short { width: 58%; }
.skeleton-media { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.game-skeleton { aspect-ratio: 1.25; border-radius: var(--radius); }
.channel-skeleton { min-height: 170px; background: linear-gradient(100deg, #111620, #202633, #111620); background-size: 220% 100%; }
body:not(.is-loading) .skeleton, body:not(.is-loading) .game-skeleton, body:not(.is-loading) .channel-skeleton { display: none; }
@keyframes shimmer { to { background-position: -220% 0; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero, .detail-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-visual { width: min(100%, 620px); }
  .detail-art { order: -1; }
  .game-grid, .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-list { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 68px; padding: 12px; }
  .random-link { font-size: 12px; }
  .hero { min-height: 0; gap: 28px; padding-block: 20px 42px; }
  .hero h1, .detail-copy h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-deck { margin-top: 18px; font-size: 16px; line-height: 1.45; }
  .hero-visual { width: calc(100% - 8px); border-radius: 18px 18px 64px 18px; box-shadow: -7px 9px 0 var(--orange); }
  .hero-scan { width: 42px; height: 42px; border-width: 6px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .signal-meta { gap: 20px; margin-top: 24px; padding-top: 16px; }
  .section { padding-block: 58px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .game-grid, .channel-grid { grid-template-columns: 1fr; }
  .channel-list { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .compact-card:nth-child(odd) { margin-right: 0; }
  .manifesto { width: calc(100% - 24px); margin-bottom: 50px; padding: 34px 24px; }
  .manifesto h2 { font-size: 46px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
  .channel-hero { padding-top: 58px; }
  .detail-hero { padding-block: 34px 64px; }
  .detail-art { box-shadow: -8px 10px 0 var(--lime); }
  .player-bar { grid-template-columns: auto 1fr auto; }
  .player-bar > div { justify-content: center; }
  .player-bar .live-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
