/* Layout idea: ink on paper, built from the winged Koiarch mark.
   Black and white only; the single colour on the site is the small flag in the footer. */
:root {
  --paper: #f6f6f2;
  --ink: #17181b;
  --soft: #5c5e63;
  --line: rgba(23, 24, 27, 0.16);
  --wash: rgba(23, 24, 27, 0.05);
  --display: "Londrina Solid", "Arial Black", Impact, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1040px;
  --dw: 900; --dw3: 400;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131416; --ink: #f1f0ea; --soft: #a3a5aa;
    --line: rgba(241, 240, 234, 0.18); --wash: rgba(241, 240, 234, 0.06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131416; --ink: #f1f0ea; --soft: #a3a5aa;
  --line: rgba(241, 240, 234, 0.18); --wash: rgba(241, 240, 234, 0.06);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px;
}
svg, img { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.label {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--soft);
}
h1, h2, h3, .h2, .h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { font-weight: var(--dw); font-size: clamp(2.8rem, 7vw, 5rem); line-height: 0.9; }
h2, .h2 { font-weight: var(--dw); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 0.95; }
h3, .h3 { font-weight: var(--dw3); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.05; }

/* Header */
.top { position: relative; z-index: 30; padding-block: 10px; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.top nav { margin-left: auto; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display);
  font-weight: var(--dw); font-size: 1.45rem; letter-spacing: 0;
}
.brand svg { width: 32px; height: 32px; flex: none; }
nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
nav a {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--soft);
  padding-block: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: color 0.2s, background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }

/* Game page top */
.game-hero .text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.lede { max-width: 26em; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }

/* Bands and the label/content split */
.band { border-top: 1px solid var(--line); }
.band.first { border-top: 0; }
.band > .wrap { padding-block: clamp(26px, 3.6vw, 44px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 18px clamp(20px, 4vw, 48px); align-items: start; }
.side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.side p { color: var(--soft); max-width: 24em; }
.empty { color: var(--soft); }

/* News: each post is a paper card with an ink edge */
.posts { display: flex; flex-direction: column; gap: 18px; }
.post {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(14px, 2vw, 20px);
  background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.post:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta time, .meta a, .item .meta span {
  padding: 4px 11px; border: 1px solid var(--ink); border-radius: 999px;
  color: var(--ink); text-decoration: none;
}
.meta time { background: var(--ink); color: var(--paper); }
.meta a { transition: background 0.15s, color 0.15s; }
.meta a:hover { background: var(--ink); color: var(--paper); }
.post .body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.post p { max-width: 38em; color: var(--soft); }
.post img, .single img { border-radius: 8px; border: 1.5px solid var(--ink); }
.more { color: var(--ink); text-underline-offset: 0.3em; }

/* Single post */
.single .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-block: clamp(26px, 3.6vw, 44px); }
.single h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 0.95; }
.prose { display: flex; flex-direction: column; gap: 1em; max-width: 38em; }
.prose a { text-underline-offset: 0.2em; overflow-wrap: anywhere; }

/* Game cards and pages */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px clamp(14px, 2vw, 24px); margin-top: 14px; }
.games.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.game img, .art img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.game img { margin-bottom: 8px; transition: transform 0.2s; }
.game:hover img { transform: translateY(-4px); }
.game strong {
  font-family: var(--display);
  font-weight: var(--dw); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; letter-spacing: 0;
}
.game-hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center;
  gap: 20px clamp(20px, 4vw, 48px);
  padding-block: clamp(26px, 3.6vw, 44px);
}

/* Forms, buttons, notices */
.form { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 38em; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.field.check { flex-direction: row; align-items: center; gap: 14px; }
.field.check label { display: inline-flex; gap: 8px; align-items: center; }
input[type="text"], input[type="email"], input[type="password"], input[type="datetime-local"], textarea, select {
  width: 100%; padding: 9px 12px;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink); border-radius: 6px;
}
textarea { resize: vertical; min-height: 8em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper); cursor: pointer;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
button.link { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.3em; }
.notice { padding: 14px 16px; border: 1px solid var(--ink); border-radius: 6px; margin-bottom: 20px; max-width: 38em; }
.notice.ok { background: var(--wash); }
.notice.bad { border-style: dashed; }
.notice.bad p::before { content: "! "; font-weight: 600; }

/* Admin */
.admin .wrap { display: flex; flex-direction: column; gap: 18px; max-width: 900px; padding-block: clamp(22px, 3vw, 36px); }
.admin .notice { margin-bottom: 0; max-width: none; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border: 1.5px solid var(--ink); border-radius: 999px; align-self: flex-start; }
.tabs a {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  color: var(--ink); background: none; transition: background 0.15s, color 0.15s;
}
.tabs a:hover { background: var(--wash); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.tabs b { min-width: 1.5em; padding: 1px 6px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); text-align: center; font-weight: 500; }
.chip {
  appearance: none; cursor: pointer; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px;
  background: none; color: var(--ink);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.chip:hover { background: var(--ink); color: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stat:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.stat strong { font-family: var(--display); font-weight: var(--dw); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.row.between { justify-content: space-between; width: 100%; }
.form .row { width: 100%; align-items: flex-end; }
.row .field { flex: 1 1 14em; width: auto; }
.btn.ghost { background: none; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.admin a.label, .admin button.label { color: var(--ink); }
.admin .item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 18px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.admin .item:hover { border-color: var(--ink); background: var(--wash); }
.admin .item .meta { grid-column: 1; }
.admin .item strong { grid-column: 1; font-size: 1.08rem; }
.admin .item .soft { grid-column: 1; }
.admin .item .row { grid-column: 2; grid-row: 1 / span 3; }
.admin .item .row a, .admin .item .row button {
  padding: 5px 12px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.admin .item .row a:hover, .admin .item .row button:hover { background: var(--ink); color: var(--paper); }
.admin .item .row form button { border-style: dashed; }
.admin .form {
  max-width: none; padding: clamp(16px, 2.4vw, 24px);
  border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
}
.admin .thread { max-width: none; }
.thumb { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
@media (max-width: 620px) {
  .tabs { border-radius: 14px; }
  .admin .item { grid-template-columns: 1fr; }
  .admin .item .row { grid-column: 1; grid-row: auto; }
}

/* Conversations */
.thread { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 38em; }
.bubble {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 88%; padding: 14px 18px;
  border: 1.5px solid var(--ink); border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
}
.bubble.studio { background: var(--ink); color: var(--paper); border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.bubble.studio .label { color: inherit; opacity: 0.7; }
.bubble .prose { overflow-wrap: anywhere; }
.soft { color: var(--soft); }
.admin-stack { display: flex; flex-direction: column; gap: 22px; }
.admin-stack .notice { margin-bottom: 0; }
a.convo { text-decoration: none; }
.meta .new { background: var(--ink); color: var(--paper); }

/* Display font choices (Settings) */
:root[data-font="daruma"] { --display: "Darumadrop One", "Arial Rounded MT Bold", sans-serif; --dw: 400; --dw3: 400; }
:root[data-font="caveat"] { --display: "Caveat Brush", "Segoe Print", cursive; --dw: 400; --dw3: 400; }
:root[data-font="bricolage"] { --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; --dw: 800; --dw3: 700; }
:root[data-font="fraunces"] { --display: "Fraunces", "Iowan Old Style", Georgia, serif; --dw: 900; --dw3: 700; }
:root[data-font="fraunces"] :is(h1, h2, h3, .h2, .h3, .brand, .game strong) { font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.02em; }
:root[data-font="bricolage"] :is(h1, h2, h3, .h2, .h3, .brand, .game strong) { letter-spacing: -0.03em; }

/* Compact layout (Settings) */
:root[data-density="compact"] { --max: 920px; }
:root[data-density="compact"] body { font-size: 0.9rem; line-height: 1.45; }
:root[data-density="compact"] .band > .wrap,
:root[data-density="compact"] .game-hero .wrap,
:root[data-density="compact"] .single .wrap,
:root[data-density="compact"] .admin .wrap { padding-block: 16px; }
:root[data-density="compact"] h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
:root[data-density="compact"] :is(h2, .h2) { font-size: clamp(1.5rem, 2.8vw, 2rem); }
:root[data-density="compact"] :is(h3, .h3) { font-size: 1.25rem; }
:root[data-density="compact"] .posts { gap: 12px; }
:root[data-density="compact"] .post { padding: 10px 14px; gap: 6px; box-shadow: 3px 3px 0 var(--ink); }
:root[data-density="compact"] .top { padding-block: 5px; }
:root[data-density="compact"] .game-hero .art { max-width: 300px; }

/* Settings menu */
.settings { position: relative; }
.settings summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 5px 13px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.settings summary::-webkit-details-marker { display: none; }
.settings summary:hover, .settings[open] summary { background: var(--ink); color: var(--paper); }
.settings summary img { border-radius: 50%; margin-left: -6px; }
.panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  display: flex; flex-direction: column; gap: 12px; padding: 16px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  animation: pop 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.account { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--line); }
.account small { font-size: 0.78rem; line-height: 1.35; }
.who { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.who img, .profile img { border-radius: 50%; border: 1.5px solid var(--ink); }
.who span { display: flex; flex-direction: column; }

/* Two equal columns: patch notes and news, about and contact */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 4vw, 48px); align-items: start; }
.col, .stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.col > *, .stack > * { max-width: 100%; }
.col .posts { width: 100%; }
.post.patch { border-style: dashed; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a {
  padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.links a:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.profile { display: flex; align-items: center; gap: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px;
  background: var(--ink); color: var(--paper); border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: var(--dw3); font-size: 1.15rem; line-height: 1;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.badge:hover { transform: translateY(-2px) rotate(-1.5deg); }
.badge svg { width: 34px; height: 34px; padding: 5px; border-radius: 50%; background: var(--paper); color: var(--ink); flex: none; }
.badge span { display: flex; flex-direction: column; gap: 2px; }
.badge small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.prose :is(h2, h3) { margin-top: 0.6em; }
footer a { color: inherit; text-underline-offset: 0.3em; }

/* Matches on profiles */
.matchbox { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: clamp(14px, 2vw, 20px); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.matchbox h2 a { text-decoration: none; }
.statrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.statrow div { display: flex; flex-direction: column; gap: 2px; min-width: 5.4em; padding: 8px 12px; background: var(--wash); border-radius: 8px; }
.statrow dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.statrow dd { margin: 0; font-family: var(--display); font-weight: var(--dw3); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.matchbox { overflow-x: auto; }
.matches { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.matches th { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.matches td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.matches tr:last-child td { border-bottom: 0; }
.matches small { color: var(--soft); }
.res { display: inline-block; padding: 1px 9px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.res.win { background: var(--ink); color: var(--paper); }
.res.draw { border-style: dashed; }
.tablewrap { width: 100%; overflow-x: auto; }
.who-played { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal !important; }
.who-played .res { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 0.85rem; }
.who-played .res a { color: inherit; text-decoration: none; }
.who-played .res a:hover { text-decoration: underline; }
.code, .key { font-family: var(--mono); font-size: 0.82rem; line-height: 1.5; }
.code { margin: 0; padding: 14px 16px; overflow-x: auto; background: var(--wash); border-radius: 8px; }
.key { overflow-wrap: anywhere; user-select: all; }

/* Cookie notice */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin-inline: auto;
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.88rem; line-height: 1.4;
}
.cookie[hidden] { display: none; }
.cookie a { text-underline-offset: 0.2em; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.norway { display: inline-flex; align-items: center; gap: 9px; }
.norway { color: var(--ink); }
.norway svg { width: 33px; height: 24px; flex: none; }

/* Scrollbars: an ink thumb on paper */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: var(--ink); border: 4px solid var(--paper); border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { border-width: 3px; }
::-webkit-scrollbar-corner { background: var(--paper); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--ink) var(--paper); }
}
textarea { scrollbar-width: thin; }

/* Motion. Everything is visible without JavaScript; the .js class switches the reveals on. */
@view-transition { navigation: auto; }
.top { view-transition-name: top; }
::view-transition-old(root) { animation: vt-out 0.18s ease-in both; }
::view-transition-new(root) { animation: vt-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .post.reveal.in { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: 0s; }

.btn { transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:active { transform: scale(0.96); }
.game img { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.game:hover img { transform: translateY(-6px) rotate(-1deg); }

@media (max-width: 760px) {
  .game-hero .wrap, .split, .two-col { grid-template-columns: 1fr; }
  .game-hero .art { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .game:hover img, .post:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
