:root {
  color-scheme: dark;
  --bg: #101014;
  --ink: #e9e6dc;
  --muted: #a5a298;
  --line: #3e3d3b;
  --panel: #1b1b20;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #e8e2d4;
  --ink: #1d1c19;
  --muted: #625e54;
  --line: #c1baaa;
  --panel: #f4efe0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: clamp(20px, 5vw, 64px);
  padding-left: max(clamp(20px, 5vw, 64px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 5vw, 64px), env(safe-area-inset-right));
  background: radial-gradient(circle at 80% 0%, rgba(255, 196, 80, .1), transparent 50%), var(--bg);
  color: var(--ink);
  font: 400 12px/1.8 'Martian Mono', ui-monospace, monospace;
}
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffb347; outline-offset: 5px; }
.skip-link { position: absolute; top: 8px; left: 20px; background: var(--bg); padding: 8px; transform: translateY(-160%); z-index: 2; }
.skip-link:focus { transform: none; }
.topbar, main, footer { max-width: 1200px; margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.back-link { font-size: 11px; }
.theme-button { padding: 12px 14px; border: 1px solid var(--muted); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 10px; letter-spacing: .1em; cursor: pointer; }
.cover { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 70px; padding: 50px 0 38px; }
.eyebrow { margin: 0 0 15px; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.cover .eyebrow { display: flex; align-items: center; gap: 12px; }
.cover .eyebrow::before { content: ''; width: 24px; height: 7px; background: var(--stripe); flex-shrink: 0; }
h1 { margin: 0 0 18px; font: 400 clamp(48px, 6.8vw, 92px)/1 'Gochi Hand', cursive; letter-spacing: -.025em; overflow-wrap: anywhere; }
.description { max-width: 66ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.play-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 100%; margin-top: 26px; padding: 14px 20px; background: #ffb347; color: #201c14; border-radius: 4px; font-weight: 800; text-decoration: none; line-height: 1.6; }
.play-button:hover { background: #ffc875; }
.play-button span { font-size: 19px; }
.disk-stamp { aspect-ratio: 1; position: relative; border-radius: 6px; background: linear-gradient(145deg, #34343c, #1c1c21 55%); box-shadow: 0 18px 30px -12px #0008; transform: rotate(5deg); }
.disk-label { position: absolute; inset: 6% 7% auto; height: 44%; padding: 21px 12px 8px; background: linear-gradient(var(--stripe) 0 15%, transparent 15%), repeating-linear-gradient(transparent 0 17px, #1f2a5a24 17px 18px), #f4efe0; color: #1f2a5a; display: flex; align-items: center; gap: 10px; border-radius: 3px; }
.disk-label img { width: 62px; height: 62px; object-fit: contain; border-radius: 9px; }
.disk-label span { font: 400 23px/1 'Gochi Hand', cursive; }
.disk-hole { position: absolute; width: 24%; aspect-ratio: 1; left: 38%; top: 57%; border-radius: 50%; background: radial-gradient(circle, var(--bg) 0 34%, #0b0b0d 36%); }
.disk-number { position: absolute; right: 9%; bottom: 7%; font-weight: 800; font-size: 14px; color: #f4efe080; }
.compatibility { display: flex; gap: 24px 60px; flex-wrap: wrap; margin: 0; padding: 22px 0; border-block: 1px solid var(--line); }
.compatibility > div { display: flex; align-items: baseline; gap: 16px; }
dt { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
dd { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
dd span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 9px; }
.details { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.7fr); gap: clamp(32px, 5vw, 70px); padding: 45px 0 60px; }
h2 { font: 400 36px/1.1 'Gochi Hand', cursive; margin: 0 0 24px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 0 0 22px 34px; position: relative; }
.steps li::before { content: '0' counter(step); position: absolute; left: 0; top: 1px; color: var(--muted); font-size: 10px; }
h3 { font-size: 11px; margin: 0 0 7px; }
.steps p { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.95; }
.screenshots h2 { margin-bottom: 10px; }
.section-note { color: var(--muted); font-size: 9px; margin: 0 0 24px; }
.shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .36fr); gap: 20px; align-items: start; }
.shots.single, .shots.has-landscape { grid-template-columns: minmax(0, 1fr); }
.shot { min-width: 0; margin: 0; }
.screen { display: block; background: #25252b; border: 5px solid #25252b; border-top-width: 17px; border-radius: 7px; box-shadow: 0 12px 24px -14px #0009; overflow: hidden; transition: transform .2s; }
.screen:hover { transform: translateY(-4px); }
.screen img { width: 100%; height: auto; display: block; }
.mobile .screen { border-width: 6px; border-top-width: 17px; border-bottom-width: 15px; border-radius: 19px; }
.single .mobile { width: min(100%, 280px); }
.shot.landscape { grid-column: 1 / -1; width: min(100%, 440px); }
.landscape .screen { border-width: 6px 17px; border-radius: 16px; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 12px; margin-top: 12px; color: var(--muted); font-size: 8px; }
figcaption span:first-child { color: var(--ink); font-weight: 800; }
footer { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
@media (max-width: 900px) {
  .cover { gap: 30px; grid-template-columns: minmax(0, 1fr) 165px; }
  .disk-label img { width: 43px; height: 43px; }
  .disk-label span { font-size: 18px; }
  .details { grid-template-columns: 1fr; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .shots { grid-template-columns: minmax(0, 1fr) minmax(120px, .3fr); }
}
@media (max-width: 560px) {
  .topbar { padding-bottom: 22px; gap: 12px; }
  .back-link { font-size: 9px; }
  .theme-button { font-size: 8px; padding: 12px 9px; }
  .cover { display: block; padding: 32px 0; }
  .disk-stamp { display: none; }
  .description { font-size: 11px; }
  .compatibility { gap: 14px; }
  .compatibility > div { width: 100%; gap: 12px; }
  dt { min-width: 62px; }
  .steps { display: block; }
  .shots { grid-template-columns: 1fr; gap: 28px; }
  .shot.mobile { width: min(72%, 260px); }
  .section-note { line-height: 1.8; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
