:root {
  --bg: #ffd84d;
  --ink: #111;
  --card: #fffaf0;
  --pink: #ff4f9a;
  --blue: #3d7bff;
  --green: #2ed47a;
  --orange: #ff8a3d;
  --purple: #8b5cff;
  --muted: #555;
  --px: "Press Start 2P", monospace;
  --z: 1; /* whole-layout scale for big screens */
}
@media (min-width: 1500px) and (min-height: 780px) { :root { --z: 1.15; } }
@media (min-width: 1800px) and (min-height: 880px) { :root { --z: 1.3; } }
@media (min-width: 2300px) and (min-height: 1100px) { :root { --z: 1.5; } }
.top, .page, footer { zoom: var(--z); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 500 15px/1.5 "Space Grotesk", system-ui, sans-serif;
  background-image: radial-gradient(rgba(0,0,0,.1) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- sticker = arcade card + white die-cut rim ---------- */
.stk {
  position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink), 7px 8px 0 4px var(--ink);
  transition: transform .15s;
}
/* Draw tilted things flat, then rotate the finished bitmap: without this the browser
   antialiases the border, rim and shadow separately and thin seams show between them. */
.stk, .r1, .r2, .r3, .r4, .r5, .clapw .lid, .chip, .now, .latest, .result, .fav b { will-change: transform; backface-visibility: hidden; }
a.stk:hover, .stk:hover { transform: rotate(0) translateY(-4px) !important; z-index: 2; }
.r1 { transform: rotate(-1.6deg); } .r2 { transform: rotate(1.2deg); } .r3 { transform: rotate(-.8deg); }
.r4 { transform: rotate(2deg); } .r5 { transform: rotate(-2.2deg); }

/* ---------- top bar ---------- */
.top { max-width: 1180px; margin: 0 auto; padding: 18px 30px 0; display: flex; align-items: center; gap: 22px; }
.logo { font: 400 14px var(--px); padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 10px; }
#nav { display: flex; gap: 12px; margin-left: auto; }
#nav a {
  font: 400 11px var(--px); padding: 11px 14px; border: 3px solid var(--ink); border-radius: 10px;
  background: #fff; box-shadow: 4px 4px 0 var(--ink); transition: transform .1s, box-shadow .1s;
}
#nav a:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
#nav a.on { background: var(--pink); color: #fff; }
#nav a:nth-child(2).on { background: var(--blue); }
#nav a:nth-child(3).on { background: var(--purple); }
#nav a:focus-visible, .stk:focus-visible { outline: 3px dashed var(--ink); outline-offset: 8px; }

/* ---------- pages ---------- */
.page { display: none; max-width: 1180px; margin: 0 auto; padding: 22px 30px 30px; }
.page.on { display: block; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 22px; }
.ph h2 { font: 400 20px var(--px); margin: 0; }
.ph p { margin: 0; font-weight: 700; color: #5b4a00; }
.empty { margin: 0; color: var(--muted); }

/* ---------- home ---------- */
.hero { min-height: calc(100vh / var(--z) - 150px); display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding: 10px 0 20px; }
.intro { padding: 30px 32px 28px; }
.intro h1 { font: 400 24px/1.4 var(--px); margin: 0; }
.intro .title { font: 400 10px var(--px); color: var(--pink); margin-top: 8px; }
.intro p { font-size: 16px; margin: 16px 0 20px; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.icon-l { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.icon-l svg { width: 22px; height: 22px; fill: currentColor; }
.icon-l:hover { transform: translate(2px,2px) rotate(0) !important; box-shadow: 1px 1px 0 var(--ink); }
.icon-l.i-email { background: var(--bg); } .icon-l.i-github { background: var(--green); } .icon-l.i-linkedin { background: var(--blue); color: #fff; }
.icon-l.i-instagram { background: var(--pink); color: #fff; } .icon-l.i-twitter { background: var(--orange); } .icon-l.i-itch { background: var(--purple); color: #fff; }
.nowgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.game.big b { font-size: 15px; } .game.big small { font-size: 12.5px; }
.more { display: inline-block; margin-top: 30px; font: 400 10px var(--px); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.more:hover { color: var(--pink); border-color: var(--pink); }

/* ---------- work ---------- */
.split { display: grid; grid-template-columns: 1fr 5px 1fr; gap: 32px; align-items: start; }
.divider { align-self: stretch; background: repeating-linear-gradient(var(--ink) 0 14px, transparent 14px 24px); border-radius: 3px; }
.gcol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.ccol { display: grid; gap: 32px; }

.game { padding: 6px; display: block; }
.game img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border: 2px solid var(--ink); border-radius: 8px; background: #eee; }
.game b { display: block; padding: 6px 2px 0; font-size: 13px; line-height: 1.2; }
.game small { display: block; padding: 0 2px 2px; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.pin { position: absolute; top: -14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); }
.chip {
  position: absolute; top: -12px; right: -10px; z-index: 1; transform: rotate(6deg);
  font: 400 7.5px var(--px); padding: 5px 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--blue); color: #fff;
}
.chip.w { background: var(--green); color: var(--ink); }

.co { padding: 10px 14px 10px; }
.co.c0 { background: #fff4c2; } .co.c1 { background: #ffe0ee; } .co.c2 { background: #ddf7ea; } .co.c3 { background: #e4ecff; }
.co .hd { display: flex; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.co .hd img { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.co .thumbs { margin-left: auto; display: flex; gap: 8px; align-self: flex-start; margin-top: -2px; }
.co .thumbs img { width: 62px; aspect-ratio: 16/9; object-fit: cover; display: block; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 2px 3px 0 var(--ink); background: #eee; }
.co h3 { margin: 0; font-size: 14.5px; line-height: 1.2; }
.co .when { display: block; margin-top: 2px; font: 400 7px/1.8 var(--px); color: var(--pink); }
.now { position: absolute; top: -13px; left: 16px; font: 400 8px var(--px); background: var(--green); border: 2px solid var(--ink); padding: 5px 7px; border-radius: 8px; transform: rotate(6deg); }
.role { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 0 8px; align-items: baseline; padding: 6px 0; border-bottom: 2px dashed rgba(0,0,0,.2); }
.role:last-child { border: 0; padding-bottom: 0; }
/* career timeline: a dot per role; roles at the same studio are joined by a line through the dot centres */
.role .dot { align-self: start; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); position: relative; z-index: 1; }
.co .role:nth-child(1 of .role) .dot { background: var(--green); }
.role:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 15px; bottom: -15px; width: 2px; background: var(--ink); }
.role b { font-size: 12.5px; }
.role span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.role p { grid-column: 2 / -1; margin: 0; font-size: 11px; line-height: 1.35; }

.about { margin-top: 30px; padding: 12px 16px; }
.about .k { font: 400 9px var(--px); color: var(--pink); }
.about .sk { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.about .sk span { font-weight: 700; font-size: 12px; padding: 2px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg); }
.edu { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 2px dashed rgba(0,0,0,.2); }
.edu img { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.edu b { display: block; font-size: 14px; line-height: 1.2; }
.edu span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- life ---------- */
.lifewrap { display: grid; grid-template-columns: 11fr 13fr; gap: 30px; align-items: start; }
.chess {
  --c-bg: var(--card); --c-fg: var(--ink); --c-muted: var(--muted); --c-tile: #fff; --c-tile-fg: var(--ink); --c-light: #f0d9b5; --c-dark: #b58863;
  padding: 0 18px 16px; overflow: hidden; background: var(--c-bg); color: var(--c-fg);
}
/* panel colour themes */
.chess.t-wood  { --c-bg: #e8c595; --c-muted: #6b4a2a; --c-tile: #fff3df; --c-light: #eeeed2; --c-dark: #769656; }
.chess.t-night { --c-bg: #1d1d1b; --c-fg: #fff; --c-muted: #a9a9a2; --c-tile: #2f2f2c; --c-tile-fg: #fff; --c-light: #eeeed2; --c-dark: #769656; }
.chess.t-green { --c-bg: #5d8a45; --c-fg: #fff; --c-muted: #e3edd6; --c-tile: #fffaf0; --c-light: #eeeed2; --c-dark: #769656; }
.chess.t-blue  { --c-bg: var(--blue); --c-fg: #fff; --c-muted: #dbe6ff; --c-tile: #fff; --c-light: #dee3e6; --c-dark: #8ca2ad; }
.chess.t-pink  { --c-bg: var(--pink); --c-fg: #fff; --c-muted: #ffe0ee; --c-tile: #fff; --c-light: #f0d9b5; --c-dark: #b58863; }
.checker {
  height: 16px; margin: 0 -18px 12px; border-bottom: 3px solid var(--ink); border-radius: 13px 13px 0 0;
  background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 16px 16px;
}
.chess-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.chess h3 { margin: 0; font: 400 16px var(--px); }
.chess .sub { font-size: 12.5px; font-weight: 700; color: var(--c-muted); }
.chess .sub:hover { color: var(--c-fg); text-decoration: underline; }
.chess .empty { color: var(--c-muted); margin-top: 10px; }
.chess .lbl { display: block; font: 400 7.5px/1.6 var(--px); letter-spacing: .04em; }

/* rating */
.rating { display: flex; align-items: stretch; gap: 10px; margin: 12px 0 14px; }
.rating > div { border: 2px solid var(--ink); border-radius: 10px; padding: 7px 12px; box-shadow: 3px 3px 0 var(--ink); }
.rating .main { background: var(--green); color: var(--ink); flex: 1; display: flex; align-items: center; gap: 12px; }
.rating .main b { font: 400 28px/1 var(--px); }
.rating .main .lbl { color: var(--ink); }
.rating .best { background: var(--c-tile); color: var(--c-tile-fg); text-align: center; }
.rating .best b { font: 400 15px/1.4 var(--px); display: block; }
.delta { font: 700 12.5px "Space Grotesk"; display: block; margin-top: 2px; }

/* last game */
.last { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; }
.board {
  display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 6px;
  overflow: hidden; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-1.5deg); background: var(--c-light);
}
.board .sq { position: relative; background: var(--c-light); }
.board .sq.d { background: var(--c-dark); }
.board piece { position: absolute; inset: 0; background-size: cover; }
.last-info .lbl { color: var(--c-muted); }
.result { display: inline-block; font: 400 18px var(--px); padding: 6px 10px 5px; margin: 4px 0 8px; border: 2px solid var(--ink); border-radius: 8px; transform: rotate(-2deg); }
.result.win { background: var(--green); color: var(--ink); } .result.loss { background: var(--pink); color: #fff; } .result.draw { background: #fff; color: var(--ink); }
.last-info .vs { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.last-info .vs span { font-weight: 500; color: var(--c-muted); }
.last-info .how { font-size: 12.5px; color: var(--c-muted); margin-top: 2px; }
.last-info .open { display: inline-block; margin-top: 8px; font: 400 7.5px var(--px); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.last-info .open:hover { opacity: .7; }

.flag { width: 1.35em; height: 1em; object-fit: cover; vertical-align: -.12em; margin-right: .35em; border: 1.5px solid var(--ink); border-radius: 2px; }
/* earlier games */
.chess .mini { font: 400 7.5px var(--px); color: var(--c-muted); margin: 18px 0 8px; }
.prev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg { display: block; border: 2px solid var(--ink); border-radius: 8px; padding: 6px 7px; background: var(--c-tile); color: var(--c-tile-fg); min-width: 0; transition: transform .1s; }
.pg:hover { transform: translateY(-2px); }
.pg .r { display: inline-block; font: 400 8px var(--px); padding: 3px 4px 2px; border-radius: 4px; border: 1.5px solid var(--ink); }
.pg .r.win { background: var(--green); color: var(--ink); } .pg .r.loss { background: var(--pink); color: #fff; } .pg .r.draw { background: #eee; }
.pg b { display: block; font-size: 12px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg small { display: block; font-size: 11px; opacity: .7; line-height: 1.3; }

/* films: a clapperboard holding cinema tickets */
.clapw { position: relative; padding-top: 30px; min-width: 0; transition: transform .15s; }
/* lift the whole clapperboard on hover, not just the slate, so the lid stays on top */
.clapw:hover { transform: rotate(0) translateY(-4px) !important; }
.clapw .slate:hover { transform: none !important; z-index: auto; }
.clapw .lid { z-index: 3 !important; }
.clapw .lid {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 2; transform-origin: 12px 26px; transform: rotate(-5deg);
  border: 3px solid var(--ink); border-radius: 10px 10px 4px 4px; box-shadow: 4px 4px 0 var(--ink);
  background: repeating-linear-gradient(-55deg, #fff 0 16px, #111 16px 32px);
}
.clapw .lid::after { content: ""; position: absolute; left: 5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #bbb; border: 2px solid var(--ink); }
.slate { background: #1c1c1c; color: #f4f1e8; overflow: hidden; border-radius: 4px 4px 16px 16px; }
.slate .top { display: grid; grid-template-columns: auto 1fr; border-bottom: 2px solid rgba(244,241,232,.55); }
.slate .top > div { padding: 6px 14px; min-width: 0; }
.slate .top > div + div { border-left: 2px solid rgba(244,241,232,.55); }
.slate .k { display: block; font: 400 6px var(--px); opacity: .6; }
.slate .v { display: block; margin: 0; font: 400 10px/1.6 var(--px); white-space: nowrap; }
.slate .lk { text-align: right; align-self: center; }
.slate .lk .v { font-size: 8px; }
.slate .lk a:hover { color: var(--bg); }
.slate .empty { color: #bbb; padding: 14px; }
.filmrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; padding: 16px 16px 14px; }

.ticket { position: relative; display: block; border: 2px solid var(--ink); border-radius: 10px; background: #fff3df; color: var(--ink); transition: transform .12s; }
.ticket:hover { transform: translateY(-3px); }
.ticket .pp { padding: 6px 6px 0; }
.ticket img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; border: 2px solid var(--ink); border-radius: 6px; background: #ddd; }
.ticket .m { padding: 5px 8px 8px; }
.ticket b { display: block; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .s { display: block; color: #e06a00; font-size: 13px; }
.ticket .stub { position: relative; border-top: 2px dashed var(--ink); border-radius: 0 0 8px 8px; padding: 6px 4px 7px; text-align: center; background: var(--c); }
.ticket .stub::before, .ticket .stub::after { content: ""; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: #1c1c1c; border: 2px solid var(--ink); }
.ticket .stub::before { left: -9px; } .ticket .stub::after { right: -9px; }
.ticket .stub small { display: block; font: 400 6.5px var(--px); }
.ticket .stub span { font: 400 12px/1.5 var(--px); }
.ticket .latest { position: absolute; top: -10px; left: -8px; z-index: 2; font: 400 7px var(--px); padding: 5px 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--green); transform: rotate(-6deg); }

/* game cards are buttons that open the game panel */
button.game { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
button.game:hover img { filter: brightness(1.08); }

/* game panel */
.gd { width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; display: none; grid-template-columns: 3fr 2fr; zoom: var(--z); }
.gd[open] { display: grid; animation: pop .25s cubic-bezier(.2,1.4,.4,1); }
.gd::backdrop { background: rgba(17,17,17,.6); backdrop-filter: blur(3px); }
.gd-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; font: 400 12px var(--px); background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); cursor: pointer; }
.gd-x:hover { background: var(--pink); color: #fff; }
.gd-viewer { padding: 16px; background: var(--ink); border-radius: 13px 0 0 13px; }
.gd-main { position: relative; border: 2px solid #fff; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(-45deg, #1d1d1b 0 12px, #262624 12px 24px); }
.gd-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; opacity: 0; transition: opacity .2s; }
.gd-main img.ready { opacity: 1; }
.gd-count { position: absolute; left: 10px; bottom: 10px; font: 400 8px var(--px); padding: 5px 7px 4px; background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 6px; }
.gd-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; padding: 0; background: var(--bg); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .1s, box-shadow .1s, opacity .15s; }
.gd-nav svg { width: 11px; height: 17px; fill: currentColor; }
.gd-nav:hover { background: #fff; }
.gd-nav:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.gd-nav.gd-prev { left: 10px; } .gd-nav.gd-next { right: 10px; }
@media (hover: hover) { .gd-nav { opacity: 0; } .gd-main:hover .gd-nav, .gd-nav:focus-visible { opacity: 1; } }
.gd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.gd-thumbs button { padding: 0; border: 2px solid #555; border-radius: 5px; overflow: hidden; cursor: pointer; background: #000; opacity: .6; }
.gd-thumbs button.on, .gd-thumbs button:hover { border-color: var(--bg); opacity: 1; }
.gd-thumbs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.gd-info { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.gd-info h2 { margin: 0 40px 10px 0; font: 400 17px/1.4 var(--px); }
.gd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.gd-meta .chip { position: static; transform: none; }
.gd-meta span + span::before { content: "· "; }
.gd-meta .chip + span::before { content: ""; }
.gd-info p { margin: 14px 0 18px; font-size: 14.5px; line-height: 1.55; }
.gd-store { margin-top: auto; align-self: flex-start; font: 400 9px var(--px); padding: 11px 14px; background: var(--green); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); }
.gd-store:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--ink); }
.gd-store[hidden] { display: none; }

/* favourite games: game boxes */
.favs { grid-column: 1 / -1; padding: 14px 22px 20px; background: #2d2a26; color: #fff; }
.favs[hidden] { display: none; }
.favs-hd { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.favs-hd h3 { margin: 0; font: 400 16px var(--px); }
.favs-hd p { margin: 0; font-size: 13px; font-weight: 700; opacity: .8; }
.boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.fav { display: block; min-width: 0; }
.fav .box { position: relative; display: block; overflow: hidden; border: 3px solid var(--ink); border-radius: 6px; background: #111; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s; }
.fav:hover .box { transform: rotate(0) translateY(-4px); }
.fav img { width: 100%; aspect-ratio: 460/215; object-fit: cover; display: block; }
.fav b { display: inline-block; margin-top: 12px; padding: 4px 10px 5px; font-size: 13px; line-height: 1.25; color: var(--ink); background: var(--tag); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg); }
.fav:nth-child(even) b { transform: rotate(1.5deg); }

/* steam */
.steam { grid-column: 1 / -1; padding: 12px 18px 16px; background: #1b2838; color: #c7d5e0; }
.steam[hidden] { display: none; }
.steam-hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.steam h3 { margin: 0; font: 400 16px var(--px); color: #fff; }
.steam .playing { font: 400 7.5px var(--px); padding: 5px 7px; border: 2px solid var(--ink); border-radius: 6px; background: #a4d007; color: var(--ink); }
.steam .sub { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #66c0f4; }
.steam .sub:hover { color: #fff; }
.steam-body { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: end; }
.steam .mini { font: 400 7.5px var(--px); color: #8f98a0; margin: 10px 0 8px; }
.steam .lbl { display: block; font: 400 7px/1.6 var(--px); color: #8f98a0; }
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sgame { display: block; min-width: 0; transition: transform .12s; }
.sgame:hover { transform: translateY(-3px); }
.sgame img { width: 100%; aspect-ratio: 460/215; object-fit: cover; display: block; border: 2px solid var(--ink); border-radius: 6px; background: #2a475e; box-shadow: 3px 3px 0 var(--ink); }
.sgame b { display: block; margin-top: 7px; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgame span { display: block; font-size: 11.5px; }
.sgame em { font-style: normal; font-weight: 700; color: #66c0f4; }
.sstats { display: grid; gap: 10px; }
.sstats > div { border: 2px solid var(--ink); border-radius: 8px; background: #2a475e; padding: 7px 10px; box-shadow: 3px 3px 0 var(--ink); }
.sstats b { font: 400 16px/1.4 var(--px); color: #fff; }

footer { text-align: center; font: 400 6px/1.8 var(--px); padding: 6px 16px 20px; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .lifewrap, .hero { grid-template-columns: 1fr; gap: 54px; }
  .hero { min-height: 0; padding-top: 10px; }
  .divider { height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px); }
}
@media (max-width: 600px) {
  .top { padding: 18px 16px 0; gap: 10px; }
  .logo { font-size: 11px; padding: 8px 10px; }
  #nav { gap: 8px; }
  #nav a { font-size: 9px; padding: 9px 9px; box-shadow: 3px 3px 0 var(--ink); }
  .page { padding: 34px 16px 40px; }
  .ph h2 { font-size: 20px; }
  .intro { padding: 22px 20px; }
  .intro h1 { font-size: 18px; }
  .nowgrid { gap: 18px; }
  .gcol { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .co .thumbs img { width: 44px; }
  .role { grid-template-columns: 20px 1fr; }
  .role > * { grid-column: 2; }
  .role .dot { grid-column: 1; grid-row: 1; }
  .filmrow { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .steam-body { grid-template-columns: 1fr; }
  .boxes { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .gd[open] { grid-template-columns: 1fr; }
  .gd-viewer { border-radius: 13px 13px 0 0; padding: 12px; }
  .gd-info { padding: 18px 16px 18px; }
  .sgrid { grid-template-columns: 1fr 1fr; }
  .sstats { grid-template-columns: 1fr 1fr; }
  .slate .top { grid-template-columns: 1fr; }
  .slate .top > div + div { border-left: 0; border-top: 2px solid rgba(244,241,232,.55); }
  .slate .lk { text-align: left; }
  .last { grid-template-columns: 140px 1fr; gap: 12px; }
  .prev { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
