/* HexRun — hexrun.co
   Saha haritası: ink & paper shell, colour belongs to players only.
   Tokens mirror the app (Tokens.dc): zemin, yüzey, mürekkep 1–3, harita-*. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plexmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/plexmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/plexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #F7F6F1;
  --surf: #FFFFFF;
  --surf-2: #EDEBE4;
  --ink: #141716;
  --ink-2: #454B48;
  --ink-3: #636A66;
  --line: rgba(20, 23, 22, 0.12);
  --line-2: rgba(20, 23, 22, 0.26);
  --inv: #141716;
  --inv-ink: #F7F6F1;
  --focus: #141716;
  --ok: #141716;
  --err-bg: #FBEDE6;
  --err-edge: #A84400;
  --mark-bg: #F6E3B8;

  --map-land: #EFEDE6;
  --map-water: #C9DDE3;
  --map-park: #D9E4CF;
  --map-road: #FFFFFF;
  --map-road-c: #D6D2C6;
  --map-minor: #FBFAF6;
  --map-tex: rgba(20, 23, 22, 0.08);
  --map-grid: rgba(20, 23, 22, 0.10);
  --region-edge: #141716;
  --fill-op: 0.55;

  --keh: #E69F00; --kir: #D55E00; --lim: #F0E442; --zum: #009E73;
  --gok: #56B4E9; --lac: #0072B2; --gul: #CC79A7; --mer: #F9AEA2;

  --r-xs: 6px; --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --gutter: 16px;
  --max: 1160px;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1312;
    --surf: #1A1F1D;
    --surf-2: #232927;
    --ink: #F2F1EA;
    --ink-2: #B4BBB7;
    --ink-3: #8F9893;
    --line: rgba(242, 241, 234, 0.14);
    --line-2: rgba(242, 241, 234, 0.30);
    --inv: #F2F1EA;
    --inv-ink: #0F1312;
    --focus: #F2F1EA;
    --err-bg: #2A1C14;
    --err-edge: #F0A070;
    --mark-bg: #4A3A12;

    --map-land: #141917;
    --map-water: #0D1F26;
    --map-park: #17251D;
    --map-road: #2B3431;
    --map-road-c: #141917;
    --map-minor: #1F2624;
    --map-tex: rgba(242, 241, 234, 0.09);
    --map-grid: rgba(242, 241, 234, 0.10);
    --region-edge: #141917;
    --fill-op: 0.5;
    --lac: #1B7EBF;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 420;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--inv); color: var(--inv-ink); padding: 10px 14px; border-radius: var(--r-s);
  font-weight: 650; text-decoration: none;
}
.skip:focus { top: 12px; }
mark.ph {
  background: var(--mark-bg); color: var(--ink); padding: 0 4px; border-radius: 4px;
  font-family: var(--mono); font-size: 0.86em; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- brand ---------- */
.icon { width: 40px; height: 40px; flex: none; display: block; }
.icon-lg { width: clamp(72px, 16vw, 132px); height: clamp(72px, 16vw, 132px); }
.icon-bg { fill: #141716; }
.icon-hex { fill: rgba(230, 159, 0, 0.28); stroke: #E69F00; }
.icon-start { fill: #F7F6F1; }
@media (prefers-color-scheme: dark) { .icon-bg { stroke: #2E3431; stroke-width: 2; } }

.label {
  font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 16px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-word { font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: -0.035em; line-height: 1; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 0; list-style: none; align-items: center; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--r-s);
}
.site-nav a:hover { background: var(--surf-2); }
.site-nav .lang { font-family: var(--mono); font-weight: 600; letter-spacing: 0.06em; border: 1px solid var(--line-2); min-width: 44px; justify-content: center; }
@media (max-width: 760px) {
  .header-row { padding-block: 8px; }
  .site-header { position: static; }
  .site-nav { width: 100%; }
  .site-nav ul { margin-inline: -10px; }
  .site-nav a { font-size: 14px; padding: 0 9px; }
}

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--inv); color: var(--inv-ink);
  font: 700 16px/1 var(--sans); font-stretch: 108%; text-decoration: none; cursor: pointer;
}
.btn:hover { text-decoration: underline; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }

.stores { display: flex; flex-wrap: wrap; gap: var(--s3); padding: 0; list-style: none; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; min-width: 168px;
  padding: 8px 18px; border-radius: var(--r-s); text-decoration: none;
  background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.store:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.store-k { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.store-v { font-weight: 800; font-stretch: 112%; font-size: 19px; line-height: 24px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 9vw, 96px); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s3); margin-bottom: clamp(24px, 4vw, 40px); max-width: 760px; }
.h2 { font-weight: 900; font-stretch: 118%; font-size: clamp(30px, 5.2vw, 48px); letter-spacing: -0.02em; }
.h3 { font-weight: 800; font-stretch: 108%; font-size: 21px; line-height: 26px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; line-height: 22px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 7vw, 80px) clamp(40px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero-copy { display: grid; gap: var(--s5); min-width: 0; }
.hero-mark { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); min-width: 0; }
.wordmark {
  font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; line-height: 0.8;
  font-size: clamp(48px, 13vw, 104px); margin: 0;
}
.tagline { font-weight: 800; font-stretch: 112%; font-size: clamp(23px, 3.6vw, 34px); line-height: 1.18; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.hero-figure { margin: 0; min-width: 0; }
.hero-map { display: block; width: 100%; height: auto; border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--line); }
.hero-figure figcaption { margin-top: var(--s3); font-family: var(--mono); font-size: 13px; line-height: 18px; color: var(--ink-2); }

/* ---------- map drawing classes (inline SVG) ---------- */
.m-land { fill: var(--map-land); }
.m-water { fill: var(--map-water); }
.m-park { fill: var(--map-park); }
.m-road-casing { fill: none; stroke: var(--map-road-c); stroke-width: 11; stroke-linecap: round; }
.m-road { fill: none; stroke: var(--map-road); stroke-width: 8; stroke-linecap: round; }
.m-road-minor { fill: none; stroke: var(--map-minor); stroke-width: 3; }
.m-grid { fill: none; stroke: var(--map-grid); stroke-width: 1; }
.m-tex { fill: none; stroke: var(--map-tex); stroke-width: 1; }
.cells { fill-opacity: var(--fill-op); }
.region-edge { fill: none; stroke: var(--region-edge); stroke-width: 1.5; stroke-linejoin: round; }
.p-keh { fill: var(--keh); } .p-kir { fill: var(--kir); } .p-lim { fill: var(--lim); } .p-zum { fill: var(--zum); }
.p-gok { fill: var(--gok); } .p-lac { fill: var(--lac); } .p-gul { fill: var(--gul); } .p-mer { fill: var(--mer); }
.siege { fill: url(#hatch-hero); }
.hatch-line { fill: var(--gul); }
.m-route { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.m-route-thin { stroke-width: 2.5; }
.m-route-hero { stroke-width: 4; stroke-dasharray: 1 0; }
.m-start { fill: var(--ink); stroke: var(--bg); stroke-width: 1.5; stroke-linejoin: round; }
.m-runner { fill: var(--keh); stroke: var(--ink); stroke-width: 2.5; }
.m-close-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--s5); padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s4); display: grid; gap: var(--s3); align-content: start; }
.illus { display: block; width: 100%; height: auto; border-radius: var(--r-s); }
.step-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.08em; }
.step h3 { font-weight: 900; font-stretch: 120%; font-size: 26px; }

/* ---------- cards / grids ---------- */
.cards { display: grid; gap: var(--s4); padding: 0; list-style: none; }
@media (min-width: 640px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.card-inv { background: var(--inv); color: var(--inv-ink); border-color: transparent; }
.card-inv p, .card-inv .label { color: var(--inv-ink); }

.events { display: grid; gap: var(--s3); padding: 0; list-style: none; }
@media (min-width: 760px) { .events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event { border: 1px solid var(--line-2); border-radius: var(--r-m); padding: var(--s5); display: grid; gap: 6px; background: var(--surf); }
.event-x { font-family: var(--mono); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.event-when { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

.rule-list { display: grid; gap: var(--s4); padding: 0; list-style: none; }
@media (min-width: 760px) { .rule-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); } }
.rule-list li { border-top: 1.5px solid var(--ink); padding-top: var(--s3); display: grid; gap: 6px; }
.rule-list p { color: var(--ink-2); }

.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line-2); margin: 0; }
.kv dt, .kv dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dd { font-family: var(--mono); font-weight: 600; text-align: right; padding-left: var(--s4); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 650; background: var(--surf); }

.split { display: grid; gap: clamp(24px, 5vw, 56px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

.palette { display: flex; gap: 6px; padding: 0; list-style: none; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.sw-keh { background: var(--keh); } .sw-kir { background: var(--kir); } .sw-lim { background: var(--lim); } .sw-zum { background: var(--zum); }
.sw-gok { background: var(--gok); } .sw-lac { background: var(--lac); } .sw-gul { background: var(--gul); } .sw-mer { background: var(--mer); }

/* ---------- waitlist ---------- */
.waitlist { background: var(--inv); color: var(--inv-ink); border-radius: var(--r-l); padding: clamp(24px, 5vw, 48px); display: grid; gap: var(--s5); }
.waitlist .lead, .waitlist .label, .waitlist .small { color: var(--inv-ink); }
.waitlist .store { background: transparent; color: var(--inv-ink); box-shadow: inset 0 0 0 1.5px var(--inv-ink); }
.waitlist .store-k { color: var(--inv-ink); }
.wl-form { display: grid; gap: var(--s3); max-width: 560px; }
.wl-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.wl-row input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: var(--r-s);
  border: 1.5px solid var(--inv-ink); background: var(--inv); color: var(--inv-ink); font: 500 17px/1 var(--sans);
}
.wl-row input::placeholder { color: var(--inv-ink); opacity: 0.75; }
.wl-row input:focus-visible { outline-color: var(--inv-ink); }
.wl-form .btn { background: var(--inv-ink); color: var(--inv); flex: 0 0 auto; }
.wl-form :focus-visible { outline-color: var(--inv-ink); }
.wl-status { min-height: 24px; font-weight: 600; }
.wl-status[data-state='error'] { text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 5px; }
.wl-status:empty { display: none; }
.wl-consent { font-size: 14px; line-height: 20px; }
.wl-consent a { color: inherit; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); align-items: center;
  padding: 18px 0; font-weight: 750; font-stretch: 106%; font-size: 18px; line-height: 24px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 24px; font-weight: 500; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq .faq-a { padding: 0 0 20px; color: var(--ink-2); max-width: 760px; display: grid; gap: var(--s2); }

/* ---------- prose (legal) ---------- */
.page-head { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 40px); display: grid; gap: var(--s3); }
.page-head h1 { font-weight: 900; font-stretch: 122%; font-size: clamp(34px, 6.5vw, 60px); letter-spacing: -0.025em; line-height: 1.02; }
.prose { max-width: 760px; padding-bottom: clamp(48px, 8vw, 96px); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-weight: 850; font-stretch: 110%; font-size: clamp(22px, 3vw, 27px); margin-top: 2em; padding-top: 0.6em; border-top: 1.5px solid var(--ink); }
.prose h3 { font-weight: 750; font-size: 19px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; border-bottom-color: var(--line-2); }
.prose code { font-family: var(--mono); font-size: 0.9em; }
.notice { border: 1.5px solid var(--ink); border-radius: var(--r-m); padding: var(--s4) var(--s5); background: var(--surf); }
.toc { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s4) var(--s5); }
.toc ol { columns: 2 220px; column-gap: var(--s6); }
.path { font-family: var(--mono); font-weight: 600; background: var(--surf-2); padding: 2px 8px; border-radius: var(--r-xs); white-space: normal; }
.steps-ol { counter-reset: n; list-style: none; padding: 0 !important; display: grid; gap: var(--s3); }
.steps-ol > li { counter-increment: n; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s3); align-items: start; margin: 0 !important; }
.steps-ol > li::before { content: counter(n); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--inv); color: var(--inv-ink); font: 600 15px/1 var(--mono); }

/* ---------- press ---------- */
.assets { display: grid; gap: var(--s4); padding: 0; list-style: none; }
@media (min-width: 720px) { .assets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.asset { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surf); overflow: hidden; display: grid; }
.asset-view { display: grid; place-items: center; min-height: 168px; padding: var(--s5); }
.asset-view.ink { background: #141716; }
.asset-view.paper { background: #F7F6F1; }
.asset-view img { max-height: 112px; width: auto; }
.asset-meta { padding: var(--s4); display: grid; gap: 4px; border-top: 1px solid var(--line); }
.colors { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 0; list-style: none; }
.color { border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: var(--surf); }
.color-chip { height: 64px; }
.color-meta { padding: 10px 12px; display: grid; gap: 2px; font-size: 14px; line-height: 20px; }
.color-meta code { font-family: var(--mono); color: var(--ink-2); }
.c-paper { background: #F7F6F1; box-shadow: inset 0 -1px 0 var(--line); } .c-ink { background: #141716; } .c-night { background: #0F1312; }
.c-keh { background: #E69F00; } .c-kir { background: #D55E00; } .c-lim { background: #F0E442; } .c-zum { background: #009E73; }
.c-gok { background: #56B4E9; } .c-lac { background: #0072B2; } .c-gul { background: #CC79A7; } .c-mer { background: #F9AEA2; }

/* ---------- invite / applink ---------- */
.applink { display: grid; gap: var(--s5); max-width: 640px; padding-block: clamp(40px, 8vw, 96px); }
.code { font-family: var(--mono); font-weight: 600; font-size: clamp(22px, 5vw, 30px); letter-spacing: 0.08em; padding: 10px 16px; border-radius: var(--r-s); background: var(--surf); border: 1.5px dashed var(--line-2); display: inline-block; word-break: break-all; }
[hidden] { display: none !important; }

/* ---------- 404 ---------- */
.nf { display: grid; gap: var(--s5); padding-block: clamp(48px, 10vw, 120px); max-width: 720px; }
.nf-code { font-family: var(--mono); font-size: 15px; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1.5px solid var(--ink); padding-block: var(--s7) var(--s6); margin-top: 0; }
.foot-grid { display: grid; gap: var(--s6); }
@media (min-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.foot-brand { display: grid; gap: var(--s3); align-content: start; }
.foot-word { font-weight: 900; font-stretch: 125%; font-size: 40px; letter-spacing: -0.035em; line-height: 0.9; }
.foot-tag { font-weight: 750; font-stretch: 110%; }
.foot-h { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s2); }
.foot-col ul { padding: 0; list-style: none; display: grid; gap: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 550; }
.foot-col a:hover { text-decoration: underline; }
.foot-meta { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-2); }

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

/* ---------- small layout bits ---------- */
.events-title { margin: clamp(40px, 6vw, 64px) 0 var(--s4); }
.rules-note, .section-foot { margin-top: var(--s4); }
.watch-kv { margin-top: var(--s5); }
.asset-meta a { overflow-wrap: anywhere; }
.nf-en { display: grid; gap: var(--s2); padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .wordmark { font-size: min(7.2vw, 92px); }
  .icon-lg { width: min(8vw, 104px); height: min(8vw, 104px); }
}
