@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08090e; --bg-2: #0f1119; --bg-3: #161926;
  --ink: #f0f1f7; --ink-2: #a2a7bd; --ink-3: #6a7089;
  --line: #1c2030; --line-2: #2b3045;
  --hot: #7c80f9; --hot-2: #35d6c6;
  --kp: #34d39b;
  --todo: #f0b755;
  --font: "Geist", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f4f5f9; --bg-2: #ffffff; --bg-3: #e9ebf3;
    --ink: #14161f; --ink-2: #4c5167; --ink-3: #868ba3;
    --line: #e0e3ed; --line-2: #c9cddd;
    --hot: #4a4de0; --hot-2: #0d9c92;
    --kp: #0f9f6e;
    --todo: #b57d0c;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5f9; --bg-2: #ffffff; --bg-3: #e9ebf3;
  --ink: #14161f; --ink-2: #4c5167; --ink-3: #868ba3;
  --line: #e0e3ed; --line-2: #c9cddd;
  --hot: #4a4de0; --hot-2: #0d9c92;
  --kp: #0f9f6e;
  --todo: #b57d0c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.66; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 26px; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }

/* bar */
.bar { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 660; font-size: 15px; letter-spacing: -.014em; text-decoration: none; }
.brand svg { width: 21px; height: 21px; }
.brand-mark { width: 27px; height: 27px; object-fit: contain; }
.bar-links { display: flex; align-items: center; gap: 20px; }
.bar-links a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.bar-links a:hover { color: var(--hot); }
.ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); cursor: pointer; }
.ico:hover { color: var(--hot); border-color: var(--hot); }
.ico svg { width: 14px; height: 14px; }
.tt-moon { display: none; } .tt-sun { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tt-moon { display: block; }
  :root:not([data-theme="dark"]) .tt-sun { display: none; }
}
:root[data-theme="light"] .tt-moon { display: block; }
:root[data-theme="light"] .tt-sun { display: none; }
:root[data-theme="dark"] .tt-moon { display: none; }
:root[data-theme="dark"] .tt-sun { display: block; }

/* head */
.head { padding: 56px 0 34px; border-bottom: 1px solid var(--line); }
.head h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; letter-spacing: -.038em; font-weight: 700; margin-top: 12px; }
.head .sub { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; max-width: 640px; }
.head .quick { margin-top: 26px; display: flex; gap: 11px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 19px; border-radius: 9px;
  font-size: 14px; font-weight: 640; letter-spacing: -.006em; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-hot { background: var(--hot); color: #fff; }
.btn-hot:hover { filter: brightness(1.1); }
.btn-wire { border-color: var(--line-2); color: var(--ink); background: var(--bg-2); }
.btn-wire:hover { border-color: var(--hot); color: var(--hot); }

/* layout */
.cols { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 48px; padding: 46px 0 80px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 34px; } }

/* factsheet */
.facts { position: sticky; top: 78px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-2); padding: 22px; }
@media (max-width: 900px) { .facts { position: static; } }
.facts h2 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.facts dl { display: grid; gap: 0; }
.facts dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-top: 15px; }
.facts dd { font-size: 14px; margin-top: 3px; }
.facts dd a { color: var(--hot); text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
.tbc { color: var(--todo); font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

/* body */
.body > section { padding-bottom: 44px; }
.body h2 { font-size: 21px; letter-spacing: -.026em; font-weight: 660; padding-bottom: 11px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.body h3 { font-size: 15.5px; font-weight: 640; letter-spacing: -.014em; margin-top: 22px; }
.body p { color: var(--ink-2); }
.body p + p { margin-top: 12px; }
.body ul { margin-top: 12px; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.body ul li { display: grid; grid-template-columns: 15px minmax(0, 1fr); gap: 11px; color: var(--ink-2); }
.body ul li::before { content: "\203A"; color: var(--hot); font-family: var(--mono); }
.copyblock { border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); padding: 18px 20px; }
.copyblock + .copyblock { margin-top: 12px; }
.copyblock .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.copyblock p { margin-top: 8px; color: var(--ink); }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (max-width: 620px) { .modes { grid-template-columns: 1fr; } }
.mode { border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); padding: 16px 18px; }
.mode h4 { font-size: 15px; font-weight: 660; letter-spacing: -.016em; }
.mode p { margin-top: 5px; font-size: 14px; }

/* image grid */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .shots { grid-template-columns: 1fr; } }
.shot { display: block; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--bg-3); text-decoration: none;
  transition: border-color .16s ease, transform .16s ease; }
.shot:hover { border-color: var(--hot); transform: translateY(-2px); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot span { display: block; padding: 9px 11px 11px; font-size: 12.5px; color: var(--ink-2); }
.shot b { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.logo-card { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-3); padding: 14px; text-decoration: none; display: block;
  transition: border-color .16s ease; }
.logo-card:hover { border-color: var(--hot); }
.logo-card .prev { height: 74px; display: grid; place-items: center; overflow: hidden; }
.logo-card .prev img { max-height: 74px; width: auto; object-fit: contain; }
.logo-card .cap { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.logo-card .cap b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }

.pending { border: 1px dashed var(--line-2); border-radius: 11px; padding: 22px; text-align: center; }
.pending p { color: var(--ink-3); font-size: 14.5px; }
.pending .mono { display: block; margin-bottom: 7px; color: var(--todo); }

.perm { border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); padding: 20px; }
.perm p { color: var(--ink-2); font-size: 14.5px; }
.perm p + p { margin-top: 10px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); padding: 15px 17px; }
.contact-card .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.contact-card .v { margin-top: 4px; font-size: 14.5px; }
.contact-card a { color: var(--hot); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* game index cards */
.kits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .kits { grid-template-columns: 1fr; } }
.kit { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); text-decoration: none; display: flex; flex-direction: column;
  transition: border-color .18s ease, transform .18s ease; }
.kit:hover { border-color: var(--hot); transform: translateY(-2px); }
.kit-art { aspect-ratio: 920 / 430; background: var(--bg-3); }
.kit-art img, .kit-art svg { width: 100%; height: 100%; object-fit: cover; }
.kit-body { padding: 20px; }
.kit-body h3 { font-size: 21px; font-weight: 680; letter-spacing: -.024em; }
.kit-body p { margin-top: 7px; font-size: 14.5px; color: var(--ink-2); }
.kit-state { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.kit-state .dot { width: 6px; height: 6px; border-radius: 50%; }
.kit-state.next { color: var(--hot-2); } .kit-state.next .dot { background: var(--hot-2); }
.kit-state.dev { color: var(--ink-3); } .kit-state.dev .dot { background: var(--ink-3); }
.kit-go { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--hot); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 48px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-in a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.foot-in a:hover { color: var(--hot); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
