:root {
  color-scheme: dark;
  --ink: #101318;
  --panel: #181c23;
  --border: #333740;
  --paper: #f5eee1;
  --muted: #bdbbc0;
  --gold: #ffc76a;
  --body: "Inter", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--body);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--body); }
a { color: var(--gold); text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.03; }
h2 { font: 700 clamp(2.5rem, 5vw, 3.75rem)/.95 var(--display); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 4rem, 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: -4rem; left: 1rem; padding: .6rem 1rem; background: var(--ink); }
.skip:focus { top: 1rem; }
.masthead { background: #111319; border-bottom: 1px solid #303039; position: relative; z-index: 1; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 192px; height: auto; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.7vw, 2.6rem); }
nav a, footer a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 46px; padding: .62rem 1.05rem; border: 1px solid transparent; border-radius: 5px; font-size: .9rem; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; }
.header-cta { min-height: 40px; border-color: #71593c; color: var(--gold); }
.header-cta:hover { background: #272017; }
.button-primary { background: var(--gold); color: #22160d; border-color: var(--gold); }
.button-primary:hover { background: #ffdc9b; }
.button-quiet { background: #181c23; color: var(--paper); border-color: #454651; }
.button-quiet:hover { background: #252a32; }
button:disabled { opacity: .48; cursor: default; }
.hero { min-height: 590px; isolation: isolate; position: relative; display: grid; align-items: center; overflow: hidden; background: #0e1016; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 25%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0e1016 0%, #0e1016 21%, #0e1016e8 34%, #0e101628 64%, transparent 80%), linear-gradient(0deg, #0e1016 0%, transparent 20%); }
.hero-inner { padding-block: 4rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.15rem; color: #e6c79b; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.eyebrow span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { font: 800 clamp(3.65rem, 7.3vw, 6.5rem)/.88 var(--display); letter-spacing: -.021em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 25rem; margin-top: 1.5rem; color: #d1cbd0; font-size: clamp(.98rem, 1.65vw, 1.15rem); }
.hero-actions, .support-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.store-note { margin-top: .8rem; font-size: .82rem; color: var(--muted); }
.game-facts { border-block: 1px solid var(--border); background: #15191f; }
.facts-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.1rem; }
.facts-inner div { display: flex; align-items: baseline; justify-content: center; gap: .75rem; }
.facts-inner div + div { border-left: 1px solid var(--border); }
.facts-inner strong { font: 700 2.1rem/1 var(--display); color: var(--gold); }
.facts-inner span { color: var(--muted); font-size: .83rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 32rem); align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.section-head p, .support-inner > div > p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) 12.2rem; align-items: start; gap: .9rem; }
.gallery-frame { overflow: hidden; background: #0d0f14; border: 1px solid var(--border); border-radius: 8px; }
.gallery-frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
figcaption { border-top: 1px solid var(--border); padding: .7rem 1rem; color: var(--muted); font-size: .82rem; }
figcaption span { color: var(--gold); margin-inline: .28rem; }
.gallery-controls { display: grid; gap: .55rem; }
.gallery-controls button { display: grid; padding: 0; overflow: hidden; text-align: left; color: var(--paper); background: var(--panel); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.gallery-controls button:hover { border-color: #a98a61; }
.gallery-controls button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.gallery-controls img { width: 100%; height: auto; aspect-ratio: 2.35 / 1; object-fit: cover; object-position: center 56%; }
.gallery-controls span { padding: .3rem .55rem; font-size: .82rem; font-weight: 650; }
.video-section { margin-top: 1.5rem; }
.video-details { margin-top: .3rem; color: var(--muted); font-size: .82rem; }
.gameplay-preview { display: block; width: min(100%, 56rem); aspect-ratio: 16 / 9; margin-top: .75rem; background: #0d0f14; border: 1px solid var(--border); border-radius: 8px; }
.link-list { padding-left: 1.2rem; }
.section-band { background: #14181e; border-block: 1px solid #292e37; }
.news-grid { display: grid; grid-template-columns: 1.17fr 1fr; gap: 2rem; padding-block: clamp(3.25rem, 7vw, 5.25rem); }
.news-grid h2 { margin-bottom: 1.25rem; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.panel article, .empty, .ranking-source { padding: 1rem 1.15rem; }
.panel article + article { border-top: 1px solid var(--border); }
.panel article p { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.entry-meta { display: flex; align-items: baseline; gap: .5rem; color: var(--gold); font-size: .74rem; font-weight: 650; margin-bottom: .45rem; }
.entry-meta time { color: var(--muted); }
.empty, .ranking-source { color: var(--muted); }
.ranking-table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .65rem 1rem; border-top: 1px solid var(--border); text-align: left; }
td { overflow-wrap: anywhere; }
th:last-child, td:last-child { text-align: right; }
.ranking-controls { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; gap: .4rem; border-top: 1px solid var(--border); }
.ranking-controls p { text-align: center; font-size: .85rem; color: var(--muted); }
.support-inner { padding-block: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.support-inner h2 { margin-bottom: .75rem; }
.support-actions { margin: 0; }
.support-email { flex: 1 0 100%; color: var(--muted); overflow-wrap: anywhere; }
.footer-inner { min-height: 86px; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; color: var(--paper); }
.footer-brand img { width: 31px; height: 31px; }
@media (max-width: 920px) {
  .header-cta { display: none; }
  .hero-art { left: 18%; }
  .gallery { grid-template-columns: minmax(0, 1fr) 9.5rem; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-direction: column; justify-content: center; gap: .55rem; padding-block: .75rem; }
  .brand img { width: 170px; }
  nav { gap: .35rem 1.2rem; }
  nav a { font-size: .82rem; }
  .hero { min-height: auto; align-items: end; }
  .hero-art { inset: 0 0 auto; height: min(66vw, 350px); }
  .hero-art img { object-position: center 42%; }
  .hero::after { background: linear-gradient(0deg, #0e1016 0%, #0e1016 44%, #0e1016b8 56%, transparent 82%); }
  .hero-inner { padding-block: min(50vw, 275px) 2.35rem; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.2rem); }
  .hero-copy { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.05rem; }
  .facts-inner { padding-block: .85rem; }
  .facts-inner div { flex-direction: column; align-items: center; gap: .22rem; }
  .facts-inner strong { font-size: 1.8rem; }
  .facts-inner span { font-size: .74rem; }
  .section-head, .news-grid, .support-inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: .55rem; }
  .gallery-controls { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
  .gallery-controls img { aspect-ratio: 1.45; }
  .gallery-controls span { font-size: .68rem; padding: .22rem .27rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
