/* pocket-ui homepage, Retro. The look of the app's Retro style (Settings > Look > Style > Retro) on the web:
   pixel letters, chunky pixel frames with cut corners, a flat selection bar with a small cursor, little pixel icons,
   the two palettes Cocoa and Pea in dark and light (src/retro.rs).
   Loaded after site.css: it owns the colours and re-skins the parts; site.css keeps the layout.
   Pixel font for headings and UI words, a clean font (Barlow) for text you read for longer. The header's "Text" key
   (or ?text=pixel) shows the pixel font for everything. */

/* Departure Mono for the letters, like the app's Retro style (since pocket-ui 0.3.2). One regular weight, so the
   600 face points at the same file: the browser then never fakes a bold, which would smear the pixels.
   Departure Mono is drawn on an 11 pixel grid: every size here is 11, 22, 33, 44 px (--d1 .. --d4), so one font pixel
   is a whole number of screen pixels and the letters stay sharp. */
@font-face {
  font-family: "Departure Mono";
  src: url("fonts/DepartureMono-Regular.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Palettes: the values of the app's Cocoa and Pea (src/retro.rs), plus what a page needs on top --------- */
/* --void page · --spine panel · --label paper (the lit surface) · --ink text on it · --chalk body text · --dust and --quiet
   the quieter words · --text the strong words · --select the flat selection bar · --on-select its text · --line frames */
:root, :root[data-palette="cocoa"][data-theme="dark"] {
  color-scheme: dark;
  --void: #1b1411; --spine: #2b211b; --spine-hi: #3a2d24; --label: #f3e5c7; --ink: #22160f; --label-dust: #473527;
  --chalk: #f2e6cc; --dust: #b9a588; --quiet: #c7b398; --text: #fbf1de; --keycap: #3a2d24; --pill: #2b211b;
  --rule: #5b4535; --band: #5b4535; --amber: #f2b04a; --star: #ffcf4d; --alert: #f06a50;
  --select: #f08a3e; --on-select: #22160f; --line: #b9a588; --lip: rgba(0, 0, 0, 0.35); --hard: #0d0907;
  --nes: #c8102e; --gb: #8a9a3b; --gbc: #2e8c9a; --gba: #5b4aa6; --snes: #7a6cb0; --md: #3b2d24; --md-rule: #d4af37;
  --ps1: #9aa3ad; --n64: #2e7d32; --psp: #4b3c31;
  --wood-hi: #8a6340; --wood: #6b4a2e; --wood-lo: #4a3320; --wood-edge: #2c1d11;
  --theme-colour: #1b1411;
}
@media (prefers-color-scheme: light) {
  :root:not([data-palette]) {
    color-scheme: light;
    --void: #f6ecd6; --spine: #e4d3b0; --spine-hi: #dcc8a2; --label: #fff8e8; --ink: #1a0f08; --label-dust: #271a11;
    --chalk: #2e2118; --dust: #6b5440; --quiet: #5e4a38; --text: #2a1d14; --keycap: #dcc8a2; --pill: #faf0da;
    --rule: #d8c39c; --band: #d8c39c; --amber: #8f5a0c; --star: #a8700f; --alert: #a8381f;
    --select: #cc6c31; --on-select: #1a0f08; --line: #6b5440; --lip: rgba(60, 35, 10, 0.22); --hard: #b9a581;
    --wood-hi: #d2a879; --wood: #b88b5c; --wood-lo: #9c7146; --wood-edge: #7d5833;
  }
}
:root[data-palette="cocoa"][data-theme="light"] {
  color-scheme: light;
  --void: #f6ecd6; --spine: #e4d3b0; --spine-hi: #dcc8a2; --label: #fff8e8; --ink: #1a0f08; --label-dust: #271a11;
  --chalk: #2e2118; --dust: #6b5440; --quiet: #5e4a38; --text: #2a1d14; --keycap: #dcc8a2; --pill: #faf0da;
  --rule: #d8c39c; --band: #d8c39c; --amber: #8f5a0c; --star: #a8700f; --alert: #a8381f;
  --select: #cc6c31; --on-select: #1a0f08; --line: #6b5440; --lip: rgba(60, 35, 10, 0.22); --hard: #b9a581;
  --md: #4a3a2e; --psp: #5a4838;
  --wood-hi: #d2a879; --wood: #b88b5c; --wood-lo: #9c7146; --wood-edge: #7d5833;
  --theme-colour: #f6ecd6;
}
:root[data-palette="pea"][data-theme="dark"] {
  color-scheme: dark;
  --void: #182010; --spine: #2f3d1c; --spine-hi: #3b4b24; --label: #cdd89a; --ink: #182010; --label-dust: #333f1e;
  --chalk: #cdd89a; --dust: #9cae5e; --quiet: #9cae5e; --text: #dfe8ac; --keycap: #2f3d1c; --pill: #222d15;
  --rule: #4a5a2a; --band: #4a5a2a; --amber: #cdd89a; --star: #dfe8ac; --alert: #e0a050;
  --select: #9cae5e; --on-select: #182010; --line: #9cae5e; --lip: rgba(0, 0, 0, 0.3); --hard: #0c1008;
  --nes: #cdd89a; --gb: #9cae5e; --gbc: #7d9145; --gba: #5d7034; --snes: #9cae5e; --md: #3b4b24; --md-rule: #cdd89a;
  --ps1: #cdd89a; --n64: #7d9145; --psp: #4a5a2a;
  --wood-hi: #5d7034; --wood: #4a5a2a; --wood-lo: #3b4a22; --wood-edge: #222d15;
  --theme-colour: #182010;
}
:root[data-palette="pea"][data-theme="light"] {
  color-scheme: light;
  --void: #e2eab4; --spine: #b5c27e; --spine-hi: #aebb76; --label: #dde6ac; --ink: #0c1008; --label-dust: #0f140a;
  --chalk: #182010; --dust: #3e4d24; --quiet: #34421f; --text: #141b0c; --keycap: #aebb76; --pill: #d6e0a2;
  --rule: #a9b770; --band: #a9b770; --amber: #2f3d1c; --star: #2f3d1c; --alert: #6b2a10;
  --select: #768546; --on-select: #0c1008; --line: #3e4d24; --lip: rgba(24, 32, 16, 0.25); --hard: #8d9b5a;
  --nes: #2f3d1c; --gb: #3e4d24; --gbc: #4a5a2a; --gba: #2f3d1c; --snes: #3e4d24; --md: #3e4d24; --md-rule: #dde6ac;
  --ps1: #4a5a2a; --n64: #3e4d24; --psp: #34421f;
  --wood-hi: #8d9b5a; --wood: #768546; --wood-lo: #5d6d36; --wood-edge: #3e4d24;
  --theme-colour: #e2eab4;
}
@media (min-width: 0) {
  /* --d1 .. --d4: the grid steps, 1 to 4 screen pixels per font pixel. --h1/--h2 grow with the screen. */
  :root { --px: 3px; --d1: 11px; --d2: 22px; --d3: 33px; --d4: 44px; --h1: var(--d3); --h2: var(--d2); }
}
@media (min-width: 40rem) {
  :root { --px: 4px; --h1: var(--d4); --h2: var(--d3); }
}

/* ---- Type -------------------------------------------------------------------------------------------- */
:root {
  --pixel: "Departure Mono", "Press Start 2P", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --title: var(--pixel);
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --notch: polygon(
    var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px),
    100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%,
    var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px));
  /* A frame: a one-pixel-step ring around the box, corners left out. The ring is outside the box. */
  --ring: 0 calc(var(--px) * -1) 0 0 var(--line), 0 var(--px) 0 0 var(--line),
    calc(var(--px) * -1) 0 0 0 var(--line), var(--px) 0 0 0 var(--line);
  --foot: inset 0 calc(var(--px) * -1) 0 0 var(--lip);
  --cursor: polygon(0 0, 4px 0, 4px 4px, 8px 4px, 8px 8px, 12px 8px, 12px 12px, 8px 12px, 8px 16px, 4px 16px, 4px 20px, 0 20px);
  --radius: 0;
}
:root[data-text="pixel"] { --body: var(--pixel); }
:root[data-text="pixel"] body { font-size: var(--d2); line-height: 1.65; letter-spacing: 0.01em; }

body { background: var(--void); color: var(--chalk); -webkit-font-smoothing: auto; font-size: 1.0625rem; }
h1, h2, h3, h4, summary, .wordmark, .cap, .group-tag, .tag-chip, .tile-value, .key, .corner a, .pills li, .chip span,
.device-chips li, .guide-steps a, .more, .eyebrow, .foot-links a, .tag, .st, .spine, .sp, .scr p strong, .dev figcaption strong,
.little-list strong, .works-update strong, .cases h2 {
  font-family: var(--pixel);
  font-synthesis: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.18; letter-spacing: 0; text-wrap: balance; text-transform: none; }
strong, b { font-weight: 600; }
::selection { background: var(--select); color: var(--on-select); }
code, kbd { font-family: var(--pixel); font-size: var(--d1); background: var(--spine); border-radius: 0; padding: 0.05em 0.4em; box-shadow: inset 0 calc(var(--px) * -0.5) 0 0 var(--lip); }
pre { border-radius: 0; border-left: var(--px) solid var(--stripe); }
pre, pre code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

/* Links: an underline in the quiet colour; pointed at, they light up as the selection bar. */
a { text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--dust); }
a:hover, a:focus-visible { background: var(--select); color: var(--on-select); text-decoration-color: transparent; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 0; }
.skip { font-size: var(--d1); border-radius: 0; background: var(--select); color: var(--on-select); font-family: var(--pixel); box-shadow: var(--ring); margin: var(--px); }

/* ---- Pieces: key caps, keys, bars, panels ------------------------------------------------------------- */
.cap {
  border-radius: 0; background: var(--label); color: var(--ink); clip-path: var(--notch);
  font-family: var(--pixel); font-weight: 600; letter-spacing: 0; min-width: 2rem; height: 2rem; padding: 0 0.5rem;
}
.key {
  font-size: var(--d1);
  border-radius: 0; background: var(--pill); color: var(--text); margin: var(--px);
  box-shadow: var(--ring), var(--foot);
  font-family: var(--pixel); font-weight: 600; padding: 0.2rem 1rem 0.2rem 0.4rem; min-height: 44px; line-height: 1.2;
  --line: var(--dust);
}
.key:hover, .key:focus-visible { background: var(--select); color: var(--on-select); --line: var(--select); text-decoration: none; }
.key.primary { background: var(--select); color: var(--on-select); --line: var(--select); }
.key.primary .cap, .key:hover .cap, .key:focus-visible .cap { background: var(--ink); color: var(--label); }
.key.primary:hover, .key.primary:focus-visible { background: var(--label); color: var(--ink); --line: var(--label); }
.key.primary:hover .cap, .key.primary:focus-visible .cap { background: var(--ink); color: var(--label); }
.hints { gap: 0.4rem 1rem; }
.more { color: var(--quiet); text-decoration: none; font-size: var(--d1); }
.more .cap { min-width: 1.75rem; height: 1.75rem; background: var(--dust); color: var(--void); font-size: var(--d1); }
.more:hover, .more:focus-visible { color: var(--on-select); background: var(--select); }
.more:hover .cap, .more:focus-visible .cap { background: var(--ink); color: var(--label); }

/* The selection bar: flat colour, a darker lip under it, the small cursor at its left when it is a row. */
.bar, .spine:hover, .spine[aria-current="true"], .spine.is-out {
  background: var(--select); color: var(--on-select);
}
.spine, .tag-chip, .pills li, .guide-steps a, .device-chips li, .chip span { border-radius: 0; }

/* ---- Top line ---------------------------------------------------------------------------------------- */
.topline, .landing .topline, .landing-v2 .topline {
  background: var(--void); -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: var(--px) solid var(--spine);
  box-shadow: 0 var(--px) 0 0 var(--lip);
}
.wordmark { font-size: var(--d2); letter-spacing: 0; min-height: 44px; }
.wordmark:hover, .wordmark:focus-visible { background: none; color: var(--text); }
.wordmark .mark { image-rendering: pixelated; }
.corner, .corner a { font-size: var(--d1); }
.corner { gap: 0.2rem 0.4rem; }
.corner a {
  font-family: var(--pixel); font-weight: 400; color: var(--quiet); text-decoration: none;
  padding: 0.35rem 0.6rem; margin: -0.35rem 0;
}
.corner a:hover, .corner a:focus-visible, .corner a[aria-current] { background: var(--select); color: var(--on-select); box-shadow: var(--foot); }

/* ---- Hero -------------------------------------------------------------------------------------------- */
.hero2 h1, .pitch h1, .page-head h1, .label h1 { font-size: var(--h1); line-height: 1.12; letter-spacing: 0; }
.hero2 h1 { font-size: var(--h1); margin-bottom: 1rem; }
.eyebrow {
  display: inline-block; font-family: var(--pixel); font-weight: 400; font-size: var(--d1); letter-spacing: 0.02em;
  text-transform: none; color: var(--on-select); background: var(--select); padding: 0.1rem 0.7rem; margin: 0 0 1rem;
  box-shadow: var(--foot);
}
.hero2 .sub, .sub, .lede { color: var(--chalk); }
.for-device { font-family: var(--pixel); font-size: var(--d1); }
.tag-chip {
  position: relative; background: var(--pill); color: var(--text); margin: var(--px);
  box-shadow: var(--ring), var(--foot); --line: var(--dust);
  padding: 0.2rem 0.8rem 0.2rem calc(var(--px) * 2 + 0.6rem); font-weight: 600; font-size: var(--d1); min-height: 38px;
}
.tag-chip::before { width: calc(var(--px) * 2); border-radius: 0; }
.tag-chip:hover, .tag-chip:focus-visible { background: var(--select); color: var(--on-select); --line: var(--select); }

/* Screens: the picture sits in a pixel frame, a hard pixel shadow under it, a breath of scan lines over it. */
.hero2-screen .frame, .group-clip .frame, .clip .frame, .shot .frame, .feature .frame, .tile .frame, .scr .frame, .look-screen .mini-screen {
  border-radius: 0; border: var(--px) solid var(--spine);
  box-shadow: var(--ring), calc(var(--px) * 2) calc(var(--px) * 2) 0 var(--px) var(--hard);
  background: #000; --line: var(--dust);
  margin: calc(var(--px) * 2) calc(var(--px) * 2) calc(var(--px) * 3) var(--px);
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, 0.06) 3px 4px);
}
.frame > .play, .frame > .soon, .frame > video { z-index: 2; }
.frame > img, .frame > video { image-rendering: auto; }
.screen-shot > img { image-rendering: pixelated; }
.feature .frame.small { margin: 0; }
.tile .frame { margin: 0; border-width: 0 0 var(--px) 0; box-shadow: none; }
.tile .frame::after { display: none; }
.clip .play, .play {
  border-radius: 0; background: var(--select); color: var(--on-select); box-shadow: var(--ring), var(--foot); --line: var(--select);
  font-family: var(--pixel); font-weight: 600; margin: var(--px);
}
.play:hover, .play:focus-visible { background: var(--label); color: var(--ink); --line: var(--label); }
.play .cap { background: var(--ink); color: var(--label); }
.clip .soon { border-radius: 0; background: var(--spine); color: var(--chalk); font-family: var(--pixel); box-shadow: var(--ring); --line: var(--dust); margin: var(--px); }
.device figcaption, .clip figcaption, .shot figcaption { color: var(--dust); }

/* ---- The page's own shelf (the index of the front page) -------------------------------------------------- */
.shelfnav::after, .console-shelf::after {
  height: calc(var(--px) * 4); bottom: calc(var(--px) * -4); border-radius: 0;
  background:
    linear-gradient(180deg, var(--wood-hi) 0 var(--px), transparent var(--px)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0 var(--px), transparent var(--px) calc(var(--px) * 7)),
    linear-gradient(180deg, var(--wood) 0, var(--wood-lo) 80%, var(--wood-edge) 100%);
  box-shadow: 0 var(--px) 0 0 var(--hard);
}
.sp {
  border-radius: 0; clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% 100%, 0 100%, 0 var(--px), var(--px) var(--px));
  font-family: var(--pixel); font-weight: 600; font-size: var(--d1); letter-spacing: 0;
  box-shadow: none; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 var(--px), transparent var(--px)), linear-gradient(0deg, transparent calc(100% - var(--px)), rgba(0, 0, 0, 0.18) calc(100% - var(--px)));
}
.sp:hover, .sp:focus-visible { background-color: var(--select); color: var(--on-select); background-image: none; outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .sp:hover, .sp:focus-visible { transform: translateY(calc(var(--px) * -3)); }
}
.prop { image-rendering: pixelated; }
:root[data-palette="pea"] .prop, :root[data-palette="pea"] .console-shelf img, :root[data-palette="pea"] .tag-chip { }
:root[data-palette="pea"] .console-shelf img { filter: grayscale(1) sepia(1) hue-rotate(35deg) saturate(1.6) brightness(0.95); }
:root[data-palette="pea"][data-theme="light"] .console-shelf img { filter: grayscale(1) sepia(1) hue-rotate(35deg) saturate(1.2) brightness(0.8); }
:root[data-palette="pea"] .prop { filter: grayscale(1) sepia(1) hue-rotate(35deg) saturate(1.6); }
:root[data-palette="pea"] .sp { color: var(--ink); }
:root[data-palette="pea"][data-theme="light"] .sp { color: var(--label); }

/* ---- Index / spines (inner pages) ----------------------------------------------------------------------- */
.spine { background: var(--spine); color: var(--chalk); font-size: 1.05rem; font-weight: 600; box-shadow: var(--foot); padding-left: calc(var(--px) * 3 + 1rem); transition: none; }
.spine::before { width: calc(var(--px) * 2); border-radius: 0; }
.spine .meta { font-family: var(--body); }
.spine:hover, .spine[aria-current="true"], .spine.is-out { transform: none; }
.spine:hover .meta, .spine[aria-current="true"] .meta, .spine.is-out .meta { color: var(--on-select); }
.spine[aria-current="true"]::after, .spine:hover::after {
  content: ""; position: absolute; left: calc(var(--px) * 2 + 4px); top: 50%; width: 12px; height: 20px; margin-top: -10px;
  background: var(--on-select); clip-path: var(--cursor);
}
.spine[aria-current="true"], .spine:hover { padding-left: calc(var(--px) * 2 + 4px + 12px + 0.5rem); }

/* Section heads: a lit panel with the section colour as a cartridge edge. */
.label {
  border-radius: 0; background: var(--label); color: var(--ink); margin: var(--px) var(--px) 2rem;
  padding: 1.1rem 1.2rem 1.1rem calc(var(--px) * 3 + 1.1rem);
  box-shadow: var(--ring), var(--foot); --line: var(--dust);
}
.label::before { width: calc(var(--px) * 2); border-radius: 0; }
.label h1, .label h2 { color: var(--ink); font-size: var(--h1); }
.label h2 { font-size: var(--h2); }
.label p { color: var(--label-dust); font-size: 1.02rem; line-height: 1.4; }
.label a { color: var(--ink); }
.group-tag {
  border-radius: 0; background: var(--label); color: var(--ink); font-size: var(--d1); font-weight: 600;
  padding: 0.15rem 0.7rem 0.15rem calc(var(--px) * 2 + 0.55rem); margin: var(--px); box-shadow: var(--ring), var(--foot); --line: var(--dust);
}
.group-tag::before { width: calc(var(--px) * 2); border-radius: 0; }
.group h2, .works h2, .little h2, .closing h2, .cases h2, .runs-on h2, .yours-text h2 { font-size: var(--h2); line-height: 1.15; }
.group + .group, .little, .works { border-top: var(--px) solid var(--spine); }
.pills li {
  background: var(--pill); color: var(--quiet); font-size: var(--d1); padding: 0.2rem 0.65rem; margin: var(--px);
  box-shadow: var(--ring); --line: var(--rule); font-weight: 400;
}
.pills { gap: 0.1rem; }

/* ---- Lists of features, tiles, tables, FAQ ---------------------------------------------------------------- */
.features > li, .tiles li, .dumbbell, .device-group, .pick article, .chooser, .honest, .method, .tile {
  border-radius: 0; background: var(--spine); box-shadow: var(--ring), var(--foot); --line: var(--rule); margin: var(--px);
}
.features > li::before { width: calc(var(--px) * 2); border-radius: 0; }
.features > li { padding-left: calc(var(--px) * 2 + 1.1rem); }
.tiles li { border-top-width: var(--px); }
.method { border-style: solid; border-width: 0; }
.honest, .chooser, .pick article { border-left: calc(var(--px) * 2) solid var(--amber); }
.tile { overflow: hidden; border-top: var(--px) solid var(--stripe); }
.tile h3 { font-size: var(--d2); }
.tag { border-radius: 0; border-width: var(--px); border-color: var(--rule); border-style: solid; padding: 0.05rem 0.5rem; font-weight: 400; }
.tag::before, .st::before { border-radius: 0; }
.table-wrap { border-radius: 0; background: var(--spine); box-shadow: var(--ring), var(--foot); margin: var(--px) var(--px) 1.6rem; --line: var(--rule); }
th, td { border-top: 2px solid var(--rule); }
thead th { font-family: var(--pixel); font-weight: 400; color: var(--quiet); }
.table-wrap tr { border-radius: 0; }
.dumbbell .sub, .db-name { color: var(--chalk); }
.db-pt, .dot { border-radius: 0; }
.db-bar { height: var(--px); top: calc(50% - var(--px) / 2); }

.faq details { border-radius: 0; background: var(--spine); box-shadow: var(--ring), var(--foot); margin: var(--px) var(--px) 0.9rem; --line: var(--rule); }
.faq summary { font-weight: 600; font-size: var(--d2); line-height: 1.3; padding: 0.8rem 2.8rem 0.8rem 1.1rem; color: var(--text); }
.faq summary:hover, .faq summary:focus-visible, .faq details[open] summary { background: var(--select); color: var(--on-select); outline-offset: 0; text-decoration: none; }
.faq summary::after {
  content: ""; top: 50%; right: 1.1rem; width: 12px; height: 12px; margin-top: -6px;
  background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 25%, 75% 25%, 75% 50%, 50% 50%, 50% 75%, 25% 75%, 25% 50%, 0 50%);
  transform: rotate(-90deg); transition: none;
}
.faq details[open] summary::after { transform: none; }
.faq details[open] { background: var(--spine); }
.faq details[open] .answer, .faq details[open] .answer strong, .faq details[open] .answer em, .faq details[open] .answer a { color: var(--chalk); }
.faq details[open] .answer strong, .faq details[open] .answer em { color: var(--text); }
.faq details[open] code { background: var(--void); }
.faq .answer { padding-top: 1rem; }
details.dev > summary { font-family: var(--pixel); }

.little-list li, .scr p, .for-device { color: var(--chalk); }
.little-list li { padding: 0.5rem 0.7rem 0.6rem; margin: 0; }
.little-list li:hover { background: var(--spine); box-shadow: var(--ring); --line: var(--rule); }
.little-list strong { font-size: var(--d2); margin-bottom: 0.1rem; }
.scr p strong, .dev figcaption strong { font-size: var(--d2); }
.guide-steps a { background: var(--pill); box-shadow: var(--ring), var(--foot); --line: var(--dust); margin: var(--px); text-decoration: none; font-size: var(--d1); }
.guide-steps a:hover, .guide-steps a:focus-visible { background: var(--select); color: var(--on-select); --line: var(--select); }
.step > h2 .n { border-radius: 0; clip-path: var(--notch); background: var(--select); color: var(--on-select); font-size: var(--d2); }
.device-chips li { background: var(--void); box-shadow: var(--ring); --line: var(--rule); margin: var(--px); font-weight: 400; }
.device-chips .played { border-radius: 0; background: var(--label); color: var(--ink); font-family: var(--pixel); }

/* Looks chooser (features page): chips are keys. */
.chip span { background: var(--pill); color: var(--chalk); margin: var(--px); box-shadow: var(--ring), var(--foot); --line: var(--dust); font-size: var(--d1); transition: none; }
.chip:hover span { background: var(--spine-hi); color: var(--text); }
.chip input:checked + span { background: var(--select); color: var(--on-select); --line: var(--select); }
.chip input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 3px; }

/* The footer: a bar with the keys' row of links; the links are rows with the cursor. */
.foot { border-top: var(--px) solid var(--spine); color: var(--dust); }
.foot a { color: var(--chalk); }
.foot-links { gap: 0 0.8rem; }
.foot-links a { font-size: var(--d1); padding: 0.55rem 0.5rem; text-decoration: none; position: relative; }
.foot-links a:hover, .foot-links a:focus-visible { background: var(--select); color: var(--on-select); }

.crumbs, .crumbs a { color: var(--dust); }

/* The player dialog */
.player video { border-radius: 0; box-shadow: var(--ring); --line: var(--dust); }
.player::backdrop { background: rgba(0, 0, 0, 0.88); }

/* Devices drawn / art stays as drawn; frames around Pixelated art */
.dev-art, .mini { filter: none; }

/* ---- Pea: the pictures that carry content colours stay as they are (screenshots are real) --------------- */

/* ---- Keep it calm ---------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) { .cursor-blink { animation: none; } }
@media (prefers-contrast: more) { .frame::after { display: none; } :root { --line: var(--text); } }
@media (forced-colors: active) {
  .cap, .key, .tag-chip, .label, .play { border: 2px solid CanvasText; clip-path: none; }
}
@media print {
  .frame::after { display: none; }
}

/* The group tags carry the app's own little pictures (PixelLab, src/retro.rs) */
.group-tag, .label { background-repeat: no-repeat; background-size: 24px 24px; image-rendering: pixelated; }
.group-tag { padding-right: 2.5rem; background-position: right 0.55rem center; }
#retro .group-tag { background-image: url("icons/look.png"); }
#shelf .group-tag { background-image: url("icons/games.png"); }
#play .group-tag { background-image: url("icons/continue.png"); }
#pause .group-tag { background-image: url("icons/save.png"); }
#easy .group-tag { background-image: url("icons/connections.png"); }
#discover .group-tag { background-image: url("icons/playing.png"); }
.retro-palettes .shot .frame { margin-bottom: calc(var(--px) * 3); }
.retro-palettes .shot figcaption { margin-left: var(--px); }
.retro-palettes .shot figcaption strong::after { content: " \B7"; }
:root[data-palette="cocoa"][data-theme="light"] .sp-7 { color: #fff; }

:root[data-text="pixel"] body, .tile-value, .label, .key, .cap, .play, summary { font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0, "calt" 0; }
.device-chips .played { white-space: nowrap; font-size: var(--d1); padding: 0 0.4rem; }

/* ---- The header: one line from 64rem up (wordmark, pages, Get it, one settings key); below that the pages sit behind a
   Menu key. Colours, brightness and letters live in ONE small panel (the palette key), not in a row of switches.
   Without script the pages simply wrap into a second row and the two keys stay hidden. ------------------------------- */
.topline { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 0.5rem 1rem; padding: 0.6rem var(--margin); }
.top-keys { display: flex; align-items: center; gap: 0.4rem; flex: none; }
.corner { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.2rem 0.5rem; }
.corner .long { display: none; }
.corner .short { display: inline; }
@media (min-width: 70rem) { .corner .long { display: inline; } .corner .short { display: none; } }
.corner .nav-get { display: none; }
.get-key { min-height: 40px; font-size: var(--d1); padding: 0.1rem 0.9rem 0.1rem 0.4rem; gap: 0.45rem; }
.get-key .cap { min-width: 1.75rem; height: 1.75rem; font-size: var(--d1); }
.set-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 44px; height: 44px; margin: var(--px);
  padding: 0 0.7rem; border: 0; border-radius: 0; background: var(--pill); color: var(--text); cursor: pointer;
  box-shadow: var(--ring), var(--foot); --line: var(--dust); font-family: var(--pixel); font-weight: 600; font-size: var(--d1);
}
.set-toggle[hidden], .menu-toggle[hidden] { display: none; }
.set-toggle img { width: 24px; height: 24px; image-rendering: pixelated; display: block; }
.set-toggle:hover, .menu-toggle:hover, .set-toggle:focus-visible, .menu-toggle:focus-visible,
.set-toggle[aria-expanded="true"], .menu-toggle[aria-expanded="true"] { background: var(--select); color: var(--on-select); --line: var(--select); }
.menu-toggle .bars {
  width: 18px; height: 14px; flex: none;
  background: linear-gradient(currentColor 0 3px, transparent 3px 5.5px, currentColor 5.5px 8.5px, transparent 8.5px 11px, currentColor 11px 14px);
}
.menu-toggle { display: none; }

/* The one settings panel. */
.set-panel {
  position: absolute; top: 100%; right: var(--margin); z-index: 12; box-sizing: border-box;
  width: min(21rem, calc(100vw - 2 * var(--margin)));
  margin: calc(var(--px) * 2) var(--px) 0 0; padding: 0.4rem 1rem 1rem;
  background: var(--spine); color: var(--chalk); box-shadow: var(--ring), calc(var(--px) * 2) calc(var(--px) * 2) 0 var(--px) var(--hard); --line: var(--dust);
}
.set-panel[hidden] { display: none; }
.set-row { margin-top: 0.8rem; }
.set-name { display: block; font-family: var(--pixel); font-size: var(--d1); color: var(--quiet); margin-bottom: 0.3rem; }
.seg { display: flex; gap: 0.5rem; }
.seg button {
  flex: 1 1 0; min-height: 44px; margin: var(--px); padding: 0 0.6rem; border: 0; border-radius: 0; cursor: pointer;
  background: var(--pill); color: var(--text); box-shadow: var(--ring), var(--foot); --line: var(--dust);
  font-family: var(--pixel); font-weight: 600; font-size: var(--d1);
}
.seg button:hover, .seg button:focus-visible { background: var(--spine-hi); }
.seg button[aria-pressed="true"] { background: var(--select); color: var(--on-select); --line: var(--select); }

/* Below 64rem: Get it joins the pages; the pages open from the Menu key. */
@media (max-width: 63.9375rem) {
  .js .menu-toggle:not([hidden]) { display: inline-flex; }
  .topline { justify-content: space-between; flex-wrap: wrap; }
  .top-keys { margin-left: auto; }
  .corner { order: 3; flex: 1 0 100%; justify-content: flex-start; }
  .js .corner {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 11; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem var(--margin) 1rem; background: var(--void); border-bottom: var(--px) solid var(--spine); box-shadow: 0 var(--px) 0 0 var(--lip);
  }
  .js .menu-open .corner { display: flex; }
  .js .corner a { display: flex; align-items: center; min-height: 48px; margin: 0; padding: 0 0.6rem; font-size: var(--d2); border-top: 2px solid var(--rule); }
  .js .corner a:first-child { border-top: 0; }
}
@media (max-width: 39.9375rem) {
  .topline { position: relative; padding-left: 14px; padding-right: 14px; }
  .set-panel { right: 14px; }
  .js .get-key { display: none; }
  .js .corner .nav-get { display: flex; background: var(--select); color: var(--on-select); font-weight: 600; margin-bottom: 0.3rem; }
  .wordmark { font-size: var(--d2); gap: 0.4rem; }
}

/* "Beta": a small label next to a name. */
.beta {
  display: inline-block; margin-left: 0.35em; padding: 0 0.45em; vertical-align: 0.1em; line-height: 1.5;
  font-family: var(--pixel); font-weight: 600; font-size: var(--d1); letter-spacing: 0;
  background: var(--label); color: var(--ink); box-shadow: var(--foot);
}
.tag-chip:hover .beta, .tag-chip:focus-visible .beta { background: var(--ink); color: var(--label); }

/* The words that stand in for a picture that didn't load sit on the frame's black: always light, in every palette. */
.frame .missing, .hero2-screen .missing, .group-clip .missing, .feature .frame .missing, .tile .frame .missing,
.scr .missing, .dev-screen .missing, .mini-screen .missing { color: #e4dac3; }
.images-note { display: block; }
.images-note p { margin: 0 0 0.7rem; }
.images-note p:last-child { margin-bottom: 0; }
.feature-text p + p { margin-top: 0.8rem; }
.device-grid.device-grid-more { grid-template-columns: 1fr; margin-top: 0.8rem; }
.device-group-brick { --stripe: var(--select); }
.label .beta { background: var(--select); color: var(--on-select); }
#brick .hints { justify-content: flex-start; }

/* Real screens from the TrimUI Brick (1024 x 768), two side by side. */
.brick-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.2rem 0; }
.brick-pics .frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin: var(--px); }
.brick-pics .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.brick-pics figcaption { grid-column: 1 / -1; font-size: 0.92rem; color: var(--dust); text-align: center; }
@media (max-width: 34rem) { .brick-pics { grid-template-columns: 1fr; } }
.brick-pics .frame {
  background: #000; border: var(--px) solid var(--spine); --line: var(--dust);
  box-shadow: var(--ring), calc(var(--px) * 2) calc(var(--px) * 2) 0 var(--px) var(--hard);
}

/* New in 0.3.1: the release trailer and four short lines, lower on the start page, under the page's shelf. */
#new { --stripe: var(--select); }
#new .group-tag { background-image: url("icons/system.png"); }
.newband { max-width: 60rem; margin: 0 auto; padding: 2.2rem var(--margin) 1.8rem; border-top: var(--px) solid var(--spine); text-align: center; }
.newband h2 { font-size: var(--h2); line-height: 1.15; margin: 0.7rem 0 0.9rem; }
.new-list { list-style: none; max-width: 44rem; margin: 0 auto 1.3rem; padding: 0; display: grid; gap: 0.45rem; color: var(--chalk); text-align: left; }
.new-list li { margin: 0; padding-left: 1.1rem; position: relative; line-height: 1.45; }
.new-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: calc(var(--px) * 2); height: calc(var(--px) * 2); background: var(--select); }
.new-list strong { color: var(--text); }
.new-clip { margin: 0 auto; max-width: 52rem; }
.new-clip .frame { aspect-ratio: 16 / 9; }

/* No picture for the settings key: "Aa" in its place. */
.set-toggle.no-picture img { display: none; }
.set-toggle.no-picture::before { content: "Aa"; font-family: var(--pixel); font-weight: 600; font-size: 0.95rem; }

/* ---- The TrimUI Brick page (brick.html, /brick) ----------------------------------------------------------- */
.brick-hero, .brick-shots, .brick-install, .brick-expect, .brick-faq, .brick-help { max-width: 66rem; margin: 0 auto; padding: 1.6rem var(--margin); }
.brick-hero { display: grid; gap: 1.6rem; align-items: center; padding-top: 1.4rem; }
.brick-hero h1 { font-size: var(--h1); line-height: 1.12; margin: 0 0 1rem; }
.brick-hero .sub { max-width: 40rem; }
.big-download { font-size: var(--d2); min-height: 56px; }
.file-facts { margin: 0.6rem 0 0; font-size: 0.92rem; color: var(--dust); overflow-wrap: anywhere; }
.file-facts code { font-size: var(--d1); }
.works-on { margin: 0.8rem 0 0; max-width: 40rem; }
.brick-trailer { margin: 0 auto; width: min(100%, 18rem); }
.brick-trailer .frame { aspect-ratio: 9 / 16; }
@media (min-width: 56rem) {
  .brick-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .brick-trailer { width: min(100%, 19rem); }
}
.brick-pics.three { grid-template-columns: 1fr; }
@media (min-width: 48rem) { .brick-pics.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brick-install h2, .brick-expect h2, .brick-faq h2, .brick-help h2 { font-size: var(--h2); line-height: 1.15; margin: 0 0 0.8rem; }
.brick-steps { list-style: none; margin: 1.2rem 0; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.brick-steps > li {
  counter-increment: step; position: relative; background: var(--spine); box-shadow: var(--ring), var(--foot); --line: var(--rule);
  margin: var(--px); padding: 1rem 1.1rem 1rem 4.2rem;
}
.brick-steps > li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  background: var(--select); color: var(--on-select); clip-path: var(--notch); font-family: var(--pixel); font-weight: 600; font-size: 1.2rem;
}
.brick-steps h3 { margin: 0 0 0.4rem; font-size: var(--d2); }
.brick-steps p { margin: 0 0 0.6rem; }
.brick-steps p:last-child { margin-bottom: 0; }
.brick-steps .note { border-left: calc(var(--px) * 2) solid var(--amber); padding-left: 0.8rem; }
.brick-faq .faq { margin-top: 0.6rem; }
.brick-hero .hints { justify-content: flex-start; }

/* ---- Systems page: the consoles-by-handhelds matrix ------------------------------------------------------- */
.s-systems { --amber-fill: var(--amber); }
.sys-lead { font-size: 1.12rem; max-width: var(--measure); color: var(--chalk); margin: 1.4rem 0 0.4rem; }
.sys-h { margin: 2.2rem 0 0.8rem; }
.sys-key { margin-top: 1.4rem; }
.sys-key h2 { font-size: var(--d2); margin: 0 0 0.7rem; }
.sys-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--px); }
.sys-legend li {
  display: grid; grid-template-columns: 6.6rem 1fr; gap: 0.2rem 0.9rem; align-items: center;
  background: var(--spine); box-shadow: var(--ring), var(--foot); --line: var(--rule); margin: var(--px); padding: 0.55rem 0.8rem;
}
.sys-legend p { margin: 0; font-size: 0.95rem; line-height: 1.35; color: var(--chalk); }
.sys-legend .swatch { display: flex; align-items: flex-end; gap: 0.55rem; }
.sys-legend .w { margin: 0; }
.sys-menu-key { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--chalk); max-width: var(--measure); }
.sys-menu-key .m { position: static; display: inline-block; vertical-align: -1px; margin: 0 0.25rem 0 0.6rem; }
.sys-menu-key .m:first-child { margin-left: 0; }

.sys-region { overflow-x: auto; margin: 0 calc(var(--px) * -1); padding: var(--px); }
.sys-region:focus-visible { outline: var(--px) solid var(--select); outline-offset: 0; }
.sys-wrap { background: var(--spine); box-shadow: var(--ring), var(--foot); --line: var(--rule); }
.sys-matrix { table-layout: fixed; width: 100%; min-width: 21rem; border-collapse: collapse; }
.sys-matrix col { width: 14.6%; }
.sys-matrix col.c-con { width: auto; }
.sys-matrix th, .sys-matrix td { padding: 0; border-top: 2px solid var(--rule); vertical-align: middle; }
.sys-matrix tr.grp th {
  border-top: 0; background: var(--spine-hi); font-family: var(--pixel); font-weight: 400; font-size: 0.66rem; line-height: 1.1;
  color: var(--quiet); text-align: center; padding: 0.5rem 0.1rem; letter-spacing: 0;
}
.sys-matrix tr.grp th:first-child { text-align: left; font-size: var(--d1); color: var(--amber); padding-left: 0.7rem; }
.sys-matrix tbody + tbody tr.grp th { border-top: var(--px) solid var(--void); }
.sys-matrix abbr { text-decoration: none; cursor: help; font-size: var(--d1); }
.sys-matrix th.con { text-align: left; font-weight: 400; padding: 0.45rem 0.3rem 0.45rem 0.6rem; }
.conin { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "i n" "i e"; column-gap: 0.55rem; align-items: center; }
.conin .ico { grid-area: i; }
.conin .cn { grid-area: n; font-weight: 600; font-size: 0.85rem; line-height: 1.15; color: var(--text); }
.conin .em { grid-area: e; font-size: 0.68rem; line-height: 1.2; color: var(--dust); margin-top: 0.1rem; }
img.ico { width: 30px; height: 24px; object-fit: contain; image-rendering: pixelated; }
span.chip {
  display: grid; place-items: center; width: 30px; height: 24px; background: var(--spine-hi); color: var(--text);
  font-family: var(--pixel); font-size: var(--d1); line-height: 1; box-shadow: inset 0 -4px 0 var(--c, var(--rule)), inset 0 0 0 2px var(--rule);
  padding-bottom: 3px;
}
.chip-gb { --c: var(--gb); } .chip-md { --c: var(--md-rule); } .chip-sms { --c: var(--nes); } .chip-pce { --c: var(--gbc); }
.chip-dc { --c: var(--snes); } .chip-psp { --c: var(--psp); } .chip-nds { --c: var(--ps1); } .chip-saturn { --c: var(--gba); }
.chip-wii { --c: var(--ps1); } .chip-n3ds { --c: var(--gbc); }

.sys-matrix td.r { position: relative; text-align: center; padding: 0.55rem 0.1rem 0.4rem; }
.sys-matrix td.r-great { background: color-mix(in srgb, var(--amber) 13%, transparent); }
.sys-matrix td.r-good { background: color-mix(in srgb, var(--amber) 6%, transparent); }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.bars i { display: block; width: 7px; box-shadow: inset 0 0 0 2px var(--rule); }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 9px; } .bars i:nth-child(3) { height: 13px; }
.bars i.on { background: var(--amber); box-shadow: none; }
.w { display: block; margin-top: 0.3rem; font-family: var(--pixel); font-size: var(--d1); line-height: 1; color: var(--text); }
.r-soon .w, .r-none .w { color: var(--dust); }
.r-none .w { font-size: var(--d2); margin: 0; opacity: 0.6; }
.m { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; }
.m-full { background: var(--chalk); }
.m-own { box-shadow: inset 0 0 0 2px var(--dust); }
.sys-foot { margin: 1rem 0 0; font-size: 0.92rem; max-width: var(--measure); }
.sys-fams { margin-top: 0.4rem; }
.sys-fams h3 { margin-top: 0; }
.sys-fams .coming { outline: 2px dashed var(--rule); outline-offset: -6px; }
.sys-fams .beta { font-size: var(--d1); vertical-align: 0.15em; }
@media (min-width: 40rem) {
  .sys-legend { grid-template-columns: 1fr 1fr; }
  .sys-matrix col { width: 14%; }
  .sys-matrix tr.grp th { font-size: 0.8rem; }
  .sys-matrix tr.grp th:first-child { font-size: var(--d1); padding-left: 1rem; }
  .sys-matrix th.con { padding: 0.55rem 0.5rem 0.55rem 1rem; }
  .conin { grid-template-columns: 40px minmax(0, 1fr); column-gap: 0.8rem; }
  img.ico, span.chip { width: 40px; height: 32px; }
  span.chip { font-size: var(--d1); box-shadow: inset 0 -5px 0 var(--c, var(--rule)), inset 0 0 0 2px var(--rule); }
  .conin .cn { font-size: 1.02rem; } .conin .em { font-size: 0.8rem; }
  .sys-matrix td.r { padding: 0.75rem 0.2rem 0.6rem; }
  .bars { height: 16px; gap: 3px; } .bars i { width: 9px; }
  .bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 11px; } .bars i:nth-child(3) { height: 16px; }
  .w { font-size: var(--d1); }
  .m { top: 6px; right: 8px; width: 8px; height: 8px; }
}

/* ---- generated by tools/text-grid.py: do not edit below this line ---- */
:root[data-text="pixel"] body { font-size: max(11px, round(nearest, 1.0625rem, 11px)); }
:root[data-text="pixel"] code, :root[data-text="pixel"] kbd { font-size: max(11px, round(nearest, 0.88em, 11px)); }
:root[data-text="pixel"] pre { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] h3 { font-size: var(--d2); }
:root[data-text="pixel"] h4 { font-size: max(11px, round(nearest, 1.35rem, 11px)); }
:root[data-text="pixel"] .wordmark { font-size: max(11px, round(nearest, 1.45rem, 11px)); }
:root[data-text="pixel"] .corner { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .cap { font-size: var(--d1); }
:root[data-text="pixel"] .eyebrow { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .hero h1 { font-size: max(11px, round(nearest, clamp(2.7rem, 11.5vw, 4.6rem), 11px)); }
:root[data-text="pixel"] .lede { font-size: max(11px, round(nearest, 1.15rem, 11px)); }
:root[data-text="pixel"] .honest { font-size: max(11px, round(nearest, 0.97rem, 11px)); }
:root[data-text="pixel"] .device figcaption { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .spine { font-size: max(11px, round(nearest, 1.4rem, 11px)); }
:root[data-text="pixel"] .spine .meta { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .label h2, :root[data-text="pixel"] .label h1 { font-size: max(11px, round(nearest, clamp(2.1rem, 8vw, 3.2rem), 11px)); }
:root[data-text="pixel"] .label p { font-size: max(11px, round(nearest, 1rem, 11px)); }
:root[data-text="pixel"] .index h2 { font-size: max(11px, round(nearest, 1rem, 11px)); }
:root[data-text="pixel"] .index .spine { font-size: var(--d2); }
:root[data-text="pixel"] .index .meta { font-size: max(11px, round(nearest, 0.8rem, 11px)); }
@media (min-width: 72rem) { :root[data-text="pixel"] .index .spine { font-size: var(--d2); } }
:root[data-text="pixel"] .part > .lead { font-size: max(11px, round(nearest, 1.15rem, 11px)); }
:root[data-text="pixel"] .features h3 { font-size: var(--d2); }
:root[data-text="pixel"] .features p { font-size: max(11px, round(nearest, 0.98rem, 11px)); }
:root[data-text="pixel"] .tag { font-size: var(--d1); }
:root[data-text="pixel"] .shot figcaption { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .missing { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .play { font-size: var(--d1); }
:root[data-text="pixel"] .clip .soon { font-size: var(--d1); }
:root[data-text="pixel"] .clip figcaption { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .tile-label { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .tile-value { font-size: max(11px, round(nearest, clamp(2.2rem, 9vw, 2.9rem), 11px)); }
:root[data-text="pixel"] .tile-value small { font-size: max(11px, round(nearest, 0.5em, 11px)); }
:root[data-text="pixel"] .tile-note { font-size: max(11px, round(nearest, 0.8rem, 11px)); }
:root[data-text="pixel"] .dumbbell h3 { font-size: max(11px, round(nearest, 1.35rem, 11px)); }
:root[data-text="pixel"] .dumbbell .sub { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .legend { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .db-name { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .db-val { font-size: max(11px, round(nearest, 0.8rem, 11px)); }
:root[data-text="pixel"] .db-axis { font-size: max(11px, round(nearest, 0.75rem, 11px)); }
:root[data-text="pixel"] .method { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .method h3 { font-size: max(11px, round(nearest, 1.2rem, 11px)); }
:root[data-text="pixel"] table { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] caption { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] thead th { font-size: var(--d1); }
:root[data-text="pixel"] .st { font-size: var(--d1); }
:root[data-text="pixel"] .faq summary { font-size: max(11px, round(nearest, 1.3rem, 11px)); }
:root[data-text="pixel"] .faq summary::after { font-size: max(11px, round(nearest, 1.5rem, 11px)); }
:root[data-text="pixel"] .foot { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .foot .key { font-size: var(--d1); }
:root[data-text="pixel"] .page h2 { font-size: var(--h2); }
:root[data-text="pixel"] .crumbs { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
@media (max-width: 40rem) { :root[data-text="pixel"] .table-wrap tbody th { font-size: max(11px, round(nearest, 1rem, 11px)); } }
@media (max-width: 40rem) { :root[data-text="pixel"] .table-wrap td { font-size: max(11px, round(nearest, 0.95rem, 11px)); } }
@media (max-width: 40rem) { :root[data-text="pixel"] .table-wrap td[data-label]::before { font-size: max(11px, round(nearest, 0.8rem, 11px)); } }
:root[data-text="pixel"] .pitch h1 { font-size: max(11px, round(nearest, clamp(2.3rem, 9.5vw, 4.2rem), 11px)); }
:root[data-text="pixel"] .pitch .sub { font-size: max(11px, round(nearest, 1.08rem, 11px)); }
:root[data-text="pixel"] .early { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .tile h3 { font-size: max(11px, round(nearest, 1.55rem, 11px)); }
:root[data-text="pixel"] .tile p { font-size: max(11px, round(nearest, 0.97rem, 11px)); }
:root[data-text="pixel"] .cases h2 { font-size: max(11px, round(nearest, clamp(1.7rem, 6vw, 2.4rem), 11px)); }
:root[data-text="pixel"] .cases li span { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .cases .cases-source { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .runs-on h2 { font-size: max(11px, round(nearest, clamp(1.7rem, 6vw, 2.4rem), 11px)); }
:root[data-text="pixel"] .dev-screen .missing { font-size: max(11px, round(nearest, 0.75rem, 11px)); }
:root[data-text="pixel"] .dev figcaption strong { font-size: max(11px, round(nearest, 1.1rem, 11px)); }
:root[data-text="pixel"] .dev figcaption span { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .runs-on .quiet { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .promises h3 { font-size: max(11px, round(nearest, 1.35rem, 11px)); }
:root[data-text="pixel"] .promises p { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .promises .devices-note { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .page-head h1 { font-size: max(11px, round(nearest, clamp(2.4rem, 8vw, 3.6rem), 11px)); }
:root[data-text="pixel"] .page-head .lead { font-size: max(11px, round(nearest, 1.12rem, 11px)); }
:root[data-text="pixel"] .yours-text h2 { font-size: max(11px, round(nearest, clamp(2rem, 7vw, 3rem), 11px)); }
:root[data-text="pixel"] .chip span { font-size: max(11px, round(nearest, 1.15rem, 11px)); }
:root[data-text="pixel"] .chips-scheme .chip span { font-size: var(--d1); }
:root[data-text="pixel"] .looks-fallback { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .looks-source { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .trailer-band figcaption { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .get h3 { font-size: max(11px, round(nearest, 1.35rem, 11px)); }
:root[data-text="pixel"] .get li p { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .get .quiet { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .whatsnew .quiet { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .release time { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .release .summary { font-size: max(11px, round(nearest, 1.12rem, 11px)); }
:root[data-text="pixel"] .release h3 { font-size: var(--d2); }
:root[data-text="pixel"] .release-link { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .runs-on .also { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .feat-title { font-size: max(11px, round(nearest, clamp(2rem, 7vw, 3rem), 11px)); }
:root[data-text="pixel"] .feature-text h3 { font-size: var(--h2); }
:root[data-text="pixel"] .feature-text p { font-size: max(11px, round(nearest, 1.05rem, 11px)); }
:root[data-text="pixel"] .theme-block h3 { font-size: var(--d2); }
:root[data-text="pixel"] .theme-block p { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .swatches span, :root[data-text="pixel"] .button-styles span { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .device-group h3 { font-size: var(--d2); }
:root[data-text="pixel"] .device-chips li { font-size: var(--d1); }
:root[data-text="pixel"] .device-chips .played { font-size: max(11px, round(nearest, 0.68rem, 11px)); }
:root[data-text="pixel"] .device-group p { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .eyebrow { font-size: max(11px, round(nearest, 1.05rem, 11px)); }
:root[data-text="pixel"] .undo { font-size: max(11px, round(nearest, 1.05rem, 11px)); }
:root[data-text="pixel"] .known { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] details.dev > summary { font-size: var(--d2); }
:root[data-text="pixel"] .pick h3 { font-size: var(--d2); }
:root[data-text="pixel"] .pick h3 span { font-size: var(--d1); }
:root[data-text="pixel"] .pick-note { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .guide-steps a { font-size: max(11px, round(nearest, 0.98rem, 11px)); }
:root[data-text="pixel"] .step > h2 .n { font-size: max(11px, round(nearest, 1.3rem, 11px)); }
:root[data-text="pixel"] .pic figcaption { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .sizenote { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .photo-todo .box span { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .photo-todo .box strong { font-size: var(--d2); }
:root[data-text="pixel"] .photo-todo figcaption { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .files { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .get-key { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .get-key .cap { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .hero2 h1 { font-size: max(11px, round(nearest, clamp(2.5rem, 10vw, 4.5rem), 11px)); }
:root[data-text="pixel"] .hero2 .sub { font-size: max(11px, round(nearest, 1.14rem, 11px)); }
:root[data-text="pixel"] .for-device { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .tag-chip { font-size: max(11px, round(nearest, 1.02rem, 11px)); }
:root[data-text="pixel"] .sp { font-size: max(11px, round(nearest, 1.02rem, 11px)); }
@media (min-width: 40rem) { :root[data-text="pixel"] .sp { font-size: max(11px, round(nearest, 1.1rem, 11px)); } }
:root[data-text="pixel"] .group-tag { font-size: max(11px, round(nearest, 1rem, 11px)); }
:root[data-text="pixel"] .group h2 { font-size: max(11px, round(nearest, clamp(1.95rem, 6.2vw, 2.8rem), 11px)); }
:root[data-text="pixel"] .pills li { font-size: max(11px, round(nearest, 0.86rem, 11px)); }
:root[data-text="pixel"] .more { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .more .cap { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .little h2 { font-size: max(11px, round(nearest, clamp(1.7rem, 5.4vw, 2.4rem), 11px)); }
:root[data-text="pixel"] .little-list li { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .little-list strong { font-size: max(11px, round(nearest, 1.15rem, 11px)); }
:root[data-text="pixel"] .works-update { font-size: max(11px, round(nearest, 1.08rem, 11px)); }
:root[data-text="pixel"] .works-update strong { font-size: var(--d2); }
:root[data-text="pixel"] .works h2 { font-size: max(11px, round(nearest, clamp(1.95rem, 6.2vw, 2.8rem), 11px)); }
:root[data-text="pixel"] .scr .missing { font-size: max(11px, round(nearest, 0.8rem, 11px)); }
:root[data-text="pixel"] .scr p { font-size: max(11px, round(nearest, 0.86rem, 11px)); }
:root[data-text="pixel"] .scr p strong { font-size: max(11px, round(nearest, 1.2rem, 11px)); }
:root[data-text="pixel"] .closing h2 { font-size: max(11px, round(nearest, clamp(2.2rem, 7.5vw, 3.4rem), 11px)); }
:root[data-text="pixel"] .close-links { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .feat-sub { font-size: var(--h2); }
:root[data-text="pixel"] .devices-note { font-size: max(11px, round(nearest, 0.88rem, 11px)); }
:root[data-text="pixel"] .retro-pair figcaption { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .group-text > p.retro-where { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .first-start { font-size: max(11px, round(nearest, 1.08rem, 11px)); }
:root[data-text="pixel"] .feature-text > p.retro-where { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] body { font-size: max(11px, round(nearest, 1.0625rem, 11px)); }
:root[data-text="pixel"] code, :root[data-text="pixel"] kbd { font-size: var(--d1); }
:root[data-text="pixel"] .skip { font-size: var(--d1); }
:root[data-text="pixel"] .key { font-size: var(--d1); }
:root[data-text="pixel"] .more { font-size: var(--d1); }
:root[data-text="pixel"] .more .cap { font-size: var(--d1); }
:root[data-text="pixel"] .wordmark { font-size: var(--d2); }
:root[data-text="pixel"] .corner, :root[data-text="pixel"] .corner a { font-size: var(--d1); }
:root[data-text="pixel"] .hero2 h1, :root[data-text="pixel"] .pitch h1, :root[data-text="pixel"] .page-head h1, :root[data-text="pixel"] .label h1 { font-size: var(--h1); }
:root[data-text="pixel"] .hero2 h1 { font-size: var(--h1); }
:root[data-text="pixel"] .eyebrow { font-size: var(--d1); }
:root[data-text="pixel"] .for-device { font-size: var(--d1); }
:root[data-text="pixel"] .tag-chip { font-size: var(--d1); }
:root[data-text="pixel"] .sp { font-size: var(--d1); }
:root[data-text="pixel"] .spine { font-size: max(11px, round(nearest, 1.05rem, 11px)); }
:root[data-text="pixel"] .label h1, :root[data-text="pixel"] .label h2 { font-size: var(--h1); }
:root[data-text="pixel"] .label h2 { font-size: var(--h2); }
:root[data-text="pixel"] .label p { font-size: max(11px, round(nearest, 1.02rem, 11px)); }
:root[data-text="pixel"] .group-tag { font-size: var(--d1); }
:root[data-text="pixel"] .group h2, :root[data-text="pixel"] .works h2, :root[data-text="pixel"] .little h2, :root[data-text="pixel"] .closing h2, :root[data-text="pixel"] .cases h2, :root[data-text="pixel"] .runs-on h2, :root[data-text="pixel"] .yours-text h2 { font-size: var(--h2); }
:root[data-text="pixel"] .pills li { font-size: var(--d1); }
:root[data-text="pixel"] .tile h3 { font-size: var(--d2); }
:root[data-text="pixel"] .faq summary { font-size: var(--d2); }
:root[data-text="pixel"] .little-list strong { font-size: var(--d2); }
:root[data-text="pixel"] .scr p strong, :root[data-text="pixel"] .dev figcaption strong { font-size: var(--d2); }
:root[data-text="pixel"] .guide-steps a { font-size: var(--d1); }
:root[data-text="pixel"] .step > h2 .n { font-size: var(--d2); }
:root[data-text="pixel"] .chip span { font-size: var(--d1); }
:root[data-text="pixel"] .foot-links a { font-size: var(--d1); }
:root[data-text="pixel"] .device-chips .played { font-size: var(--d1); }
:root[data-text="pixel"] .get-key { font-size: var(--d1); }
:root[data-text="pixel"] .get-key .cap { font-size: var(--d1); }
:root[data-text="pixel"] .set-toggle, :root[data-text="pixel"] .menu-toggle { font-size: var(--d1); }
:root[data-text="pixel"] .set-name { font-size: var(--d1); }
:root[data-text="pixel"] .seg button { font-size: var(--d1); }
@media (max-width: 63.9375rem) { :root[data-text="pixel"] .js .corner a { font-size: var(--d2); } }
@media (max-width: 39.9375rem) { :root[data-text="pixel"] .wordmark { font-size: var(--d2); } }
:root[data-text="pixel"] .beta { font-size: var(--d1); }
:root[data-text="pixel"] .brick-pics figcaption { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .newband h2 { font-size: var(--h2); }
:root[data-text="pixel"] .set-toggle.no-picture::before { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .brick-hero h1 { font-size: var(--h1); }
:root[data-text="pixel"] .big-download { font-size: var(--d2); }
:root[data-text="pixel"] .file-facts { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .file-facts code { font-size: var(--d1); }
:root[data-text="pixel"] .brick-install h2, :root[data-text="pixel"] .brick-expect h2, :root[data-text="pixel"] .brick-faq h2, :root[data-text="pixel"] .brick-help h2 { font-size: var(--h2); }
:root[data-text="pixel"] .brick-steps > li::before { font-size: max(11px, round(nearest, 1.2rem, 11px)); }
:root[data-text="pixel"] .brick-steps h3 { font-size: var(--d2); }
:root[data-text="pixel"] .sys-lead { font-size: max(11px, round(nearest, 1.12rem, 11px)); }
:root[data-text="pixel"] .sys-key h2 { font-size: var(--d2); }
:root[data-text="pixel"] .sys-legend p { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .sys-menu-key { font-size: max(11px, round(nearest, 0.95rem, 11px)); }
:root[data-text="pixel"] .sys-matrix tr.grp th { font-size: max(11px, round(nearest, 0.66rem, 11px)); }
:root[data-text="pixel"] .sys-matrix tr.grp th:first-child { font-size: var(--d1); }
:root[data-text="pixel"] .sys-matrix abbr { font-size: var(--d1); }
:root[data-text="pixel"] .conin .cn { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .conin .em { font-size: max(11px, round(nearest, 0.68rem, 11px)); }
:root[data-text="pixel"] span.chip { font-size: var(--d1); }
:root[data-text="pixel"] .w { font-size: var(--d1); }
:root[data-text="pixel"] .r-none .w { font-size: var(--d2); }
:root[data-text="pixel"] .sys-foot { font-size: max(11px, round(nearest, 0.92rem, 11px)); }
:root[data-text="pixel"] .sys-fams .beta { font-size: var(--d1); }
@media (min-width: 40rem) { :root[data-text="pixel"] .sys-matrix tr.grp th { font-size: max(11px, round(nearest, 0.8rem, 11px)); } }
@media (min-width: 40rem) { :root[data-text="pixel"] .sys-matrix tr.grp th:first-child { font-size: var(--d1); } }
@media (min-width: 40rem) { :root[data-text="pixel"] span.chip { font-size: var(--d1); } }
@media (min-width: 40rem) { :root[data-text="pixel"] .conin .cn { font-size: max(11px, round(nearest, 1.02rem, 11px)); } }
@media (min-width: 40rem) { :root[data-text="pixel"] .conin .em { font-size: max(11px, round(nearest, 0.8rem, 11px)); } }
@media (min-width: 40rem) { :root[data-text="pixel"] .w { font-size: var(--d1); } }
:root[data-text="pixel"] .try-intro h1 { font-size: var(--h1); }
:root[data-text="pixel"] .try-intro .sub { font-size: max(11px, round(nearest, 1.08rem, 11px)); }
@media (max-width: 40rem) { :root[data-text="pixel"] .try-intro h1 { font-size: var(--h1); } }
@media (max-width: 40rem) { :root[data-text="pixel"] .try-intro .sub { font-size: max(11px, round(nearest, 0.98rem, 11px)); } }
:root[data-text="pixel"] .try-side h2 { font-size: var(--d2); }
:root[data-text="pixel"] .try-small { font-size: max(11px, round(nearest, 0.85rem, 11px)); }
:root[data-text="pixel"] .try-load p { font-size: var(--d2); }
:root[data-text="pixel"] .try-load .try-size { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .try-keys .key { font-size: var(--d1); }
:root[data-text="pixel"] .try-keys .cap { font-size: var(--d1); }
:root[data-text="pixel"] .pad-shoulders .key { font-size: max(11px, round(nearest, 0.9rem, 11px)); }
:root[data-text="pixel"] .pad-mid .key.small { font-size: max(11px, round(nearest, 0.74rem, 11px)); }
:root[data-text="pixel"] .pad-face .cap { font-size: max(11px, round(nearest, 1.15rem, 11px)); }
:root[data-text="pixel"] .try-sound { font-size: var(--d1); }
:root[data-text="pixel"] .try-sound .cap { font-size: var(--d1); }
:root[data-text="pixel"] .try-sound-hint { font-size: max(11px, round(nearest, 0.82rem, 11px)); }

/* ---- Install (Get it): three steps as key caps, handhelds as keys, the other ways as FAQ boxes ---------------- */
.get-page h2 .cap { margin-right: 0.6rem; vertical-align: 0.1em; }
.get-top { max-width: var(--measure); margin-bottom: 2.2rem; }
.get-lede { font-size: 1.2rem; color: var(--text); margin-top: 0; }
.get-steps { list-style: none; margin: 1.2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; }
.get-steps a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.2rem 0.9rem 0.2rem 0.4rem;
  font-family: var(--pixel); font-size: var(--d1); font-weight: 600; color: var(--text); text-decoration: none;
  background: var(--pill); box-shadow: var(--ring), var(--foot); margin: var(--px); --line: var(--dust); }
.get-steps a:hover, .get-steps a:focus-visible { background: var(--select); color: var(--on-select); --line: var(--select); }
.get-steps a:hover .cap, .get-steps a:focus-visible .cap { background: var(--ink); color: var(--label); }
.one-card { padding: 0.8rem 1rem; background: var(--spine); border-left: calc(var(--px) * 2) solid var(--amber); box-shadow: var(--foot); color: var(--chalk); }
.one-card strong { color: var(--text); }
.get-step { max-width: 60rem; margin: 0 0 2.6rem; }
.get-step > p, .get-step > ul, .get-step > ol { max-width: var(--measure); }
.get-step h2 { display: flex; align-items: center; flex-wrap: wrap; }
.hh-brand { font-size: var(--d1); color: var(--quiet); margin: 1.3rem 0 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hh-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .hh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .hh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hh-grid li { margin: 0; min-width: 0; }
.hh { display: flex; flex-direction: column; justify-content: center; gap: 0.15rem; min-height: 52px; height: 100%; box-sizing: border-box;
  padding: 0.45rem 0.8rem; margin: var(--px); font-family: var(--pixel); font-weight: 600; font-size: var(--d1); line-height: 1.3;
  color: var(--text); text-decoration: none; background: var(--pill); box-shadow: var(--ring), var(--foot); --line: var(--dust);
  overflow-wrap: anywhere; }
.hh:hover, .hh:focus-visible { background: var(--select); color: var(--on-select); --line: var(--select); text-decoration: none; }
.hh .played, .get-page .played { align-self: flex-start; font-family: var(--pixel); font-weight: 400; font-size: var(--d1); padding: 0 0.4rem;
  background: var(--label); color: var(--ink); white-space: nowrap; }
.hh .beta { margin-left: 0; align-self: flex-start; }
.hh-extra .hh { border-left: calc(var(--px) * 2) solid var(--amber); }
.alpha-line { margin-top: 1.2rem; color: var(--text); }
.ways { padding-left: 1.2rem; }
.ways li { margin: 0.5rem 0; }
.ways li strong:first-child { color: var(--text); }
.game-check { padding: 0.8rem 1rem; background: var(--spine); box-shadow: var(--foot); color: var(--chalk); border-left: calc(var(--px) * 2) solid var(--gba); }
.game-check strong { color: var(--text); }
.get-coming { padding: 1rem 1.2rem 0.4rem; background: var(--spine); box-shadow: var(--ring), var(--foot); --line: var(--rule); margin-left: var(--px); margin-right: var(--px); }
.get-coming h2 { margin-top: 0.2rem; }
.get-answers h3 { font-size: var(--d2); margin: 1.4rem 0 0.3rem; color: var(--text); }
.get-answers h3 + p { margin-top: 0; }
.get-other { max-width: 60rem; margin-bottom: 2rem; }
.get-other .answer ol, .get-other .answer ul { padding-left: 1.2rem; }
.get-other .answer li { margin: 0.4rem 0; }
.get-other .answer { overflow-wrap: anywhere; }
.get-other summary .beta { vertical-align: 0.15em; }
.get-other .device-grid { margin-top: 0.4rem; }
.get-page .nw { white-space: nowrap; }
.get-steps li { margin: 0; }
.ways li > strong:first-child, .game-check > strong:first-child, .alpha-line strong, .one-card > strong:first-child {
  font-family: var(--pixel); font-size: var(--d1); font-weight: 600; color: var(--text); letter-spacing: 0; }
.get-page [id] { scroll-margin-top: 5.5rem; }
.ways li > strong:first-child, .game-check > strong:first-child { display: block; margin-bottom: 0.15rem; }
.get-other summary { position: relative; }

/* ---- Start page, lean (14.11.2026): one message, one scene, two keys, three numbered moments ---------------- */
.ln-hero { max-width: 76rem; margin: 0 auto; padding: 1rem var(--margin) 1.4rem; display: grid; gap: 0.6rem 3rem;
  grid-template-areas: "text" "scene" "more"; }
.ln-hero-text { grid-area: text; }
.ln-scene { grid-area: scene; margin: 0; }
.ln-hero-more { grid-area: more; }
@media (min-width: 60rem) {
  .ln-hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "text scene" "more scene";
    align-items: end; padding-top: 2.6rem; padding-bottom: 2.4rem; }
  .ln-hero-more { align-self: start; }
}
.ln-hero .eyebrow { margin-bottom: 0.7rem; }
.ln-hero h1 { font-size: var(--h1); line-height: 1.12; margin: 0 0 0.5rem; color: var(--text); }
.ln-tag { font-family: var(--pixel); font-size: var(--d1); color: var(--amber); margin: 0 0 0.4rem; letter-spacing: 0.02em; }
@media (min-width: 40rem) { .ln-tag { font-size: var(--d2); } }
.ln-scene .frame { aspect-ratio: 1240 / 1080; }
.ln-scene .frame > img { object-fit: cover; }
.ln-hero .cta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.4rem 0.8rem; margin: 0.6rem 0 1rem; padding: 0; list-style: none; }
.ln-hero .cta li { margin: 0; }
@media (max-width: 26rem) { .ln-hero .cta .key { padding-right: 0.7rem; } }
.ln-pitch { font-size: 1.15rem; color: var(--chalk); max-width: 34rem; margin: 0 0 0.8rem; }
.ln-small { color: var(--quiet); font-size: 0.95rem; margin: 0; }
.ln-small a { color: var(--chalk); }

.ln-moments { max-width: 68rem; margin: 0 auto; padding: 1.4rem var(--margin) 0.6rem; }
.ln-moment { display: grid; scroll-margin-top: 5.5rem; gap: 0.4rem 2.6rem; align-items: center; margin: 0 0 2.4rem; }
.ln-moment .ln-clip { margin: 0; }
.ln-moment h2 { display: flex; align-items: center; gap: 0.7rem; font-size: var(--h2); margin: 0.6rem 0 0.4rem; color: var(--text); }
.ln-moment p { margin: 0; max-width: 30rem; color: var(--chalk); font-size: 1.08rem; }
@media (min-width: 52rem) {
  .ln-moment { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .ln-moment:nth-of-type(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .ln-moment:nth-of-type(even) .ln-clip { order: 2; }
}

.ln-more, .ln-works { max-width: 60rem; margin: 0 auto; padding: 1.2rem var(--margin) 1.6rem; }
.ln-more h2, .ln-works h2 { font-size: var(--h2); margin: 0 0 0.8rem; }
.ln-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.7rem 2rem; max-width: 52rem; }
@media (min-width: 52rem) { .ln-list { grid-template-columns: 1fr 1fr; } }
.ln-list li { margin: 0; padding: 0.7rem 0.9rem; background: var(--spine); box-shadow: var(--foot); border-left: calc(var(--px) * 2) solid var(--select); color: var(--chalk); }
.ln-list strong { display: block; font-family: var(--pixel); font-size: var(--d1); font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.ln-works > p { max-width: var(--measure); color: var(--chalk); margin: 0 0 0.8rem; }
.ln-brands { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
@media (min-width: 52rem) { .ln-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ln-brands li { margin: 0; min-width: 0; }

.lean .console-shelf img { width: 11%; }
.lean .console-shelf img.c-gba { width: 7%; }
.lean .console-shelf img.c-ps2 { width: 8%; }
.lean .console-shelf img.prop { width: 4.5%; }
@media (max-width: 40rem) {
  .lean .console-shelf img.c-nes, .lean .console-shelf img.c-gamecube { display: none; }
  .lean .console-shelf img { width: 17%; }
  .lean .console-shelf img.c-gba { width: 11%; }
  .lean .console-shelf img.c-ps2 { width: 12%; }
  .lean .console-shelf img.prop { width: 7%; display: block; }
}
:root[data-text="pixel"] .ln-pitch, :root[data-text="pixel"] .ln-moment p { font-size: var(--d2); }
:root[data-text="pixel"] .ln-small { font-size: var(--d1); }
/* Features, lean: the same numbered moments as the start page, then one list. */
.ln-head { max-width: 68rem; margin: 0 auto; padding: 1.6rem var(--margin) 0.4rem; }
.ln-head .label { margin: 0.4rem 0 1rem; }
.ln-head .cta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0.4rem 0 0.6rem; padding: 0; list-style: none; }
.ln-head .cta li { margin: 0; }
.lean-features .ln-moment .frame:not(.ln-still) { aspect-ratio: 16 / 9; }
.ln-still, .clip .frame.ln-still { aspect-ratio: 1240 / 1080; }
/* Pick your look (start page, Features): the four looks in the Brick page's screen frames, a line under each, then Kids Mode. */
.brick-pics.four .frame { aspect-ratio: 1240 / 1080; }
.brick-pics.four { align-items: start; }
@media (min-width: 52rem) { .brick-pics.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .brick-pics.four { grid-template-columns: 1fr 1fr; } }
.brick-pics .pick p { margin: 0.5rem 0 0; color: var(--chalk); font-size: 0.95rem; }
.brick-pics .pick strong { color: var(--text); }
.ln-looks > p { max-width: var(--measure); color: var(--chalk); margin: 0 0 0.4rem; }
.ln-looks .ln-moment { margin: 0.8rem 0 1.2rem; }
.ln-moment h3 { font-size: var(--h2); margin: 0.6rem 0 0.4rem; color: var(--text); }
.ln-dots { margin: 0 0 1rem; padding-left: 1.2rem; max-width: var(--measure); color: var(--chalk); }
.ln-dots li { margin: 0.45rem 0; }
.ln-dots li::marker { color: var(--select); }
.ln-dots strong { color: var(--text); }
/* Install, lean: the download size on every key, No Wi-Fi marks, the newer-screen and DDR3 cards beside their model. */
.hh .size { font-family: var(--body); font-weight: 500; font-size: 0.85rem; color: var(--quiet); }
.hh:hover .size, .hh:focus-visible .size { color: var(--on-select); }
.hh .nowifi, .hh .newcard { align-self: flex-start; font-family: var(--pixel); font-weight: 400; font-size: var(--d1); padding: 0 0.4rem;
  background: var(--spine-hi); color: var(--text); white-space: nowrap; }
.hh .newcard { white-space: normal; }
.hh-variant { border-left: calc(var(--px) * 2) solid var(--dust); }
.hh-note { margin-top: 0.8rem; }
.get-after p { margin: 0.4rem 0; }
:root[data-text="pixel"] .hh .size { font-size: var(--d1); }
.guide-before { padding: 0.8rem 1rem; background: var(--spine); border-left: calc(var(--px) * 2) solid var(--amber); box-shadow: var(--foot); color: var(--chalk); max-width: var(--measure); }
.guide-before strong { color: var(--text); }
/* What's new, lean: older versions fold into a box with their name and date. */
.release-old { max-width: 60rem; margin: 0 0 0.5rem; background: var(--spine); box-shadow: var(--foot); }
.release-old > summary { cursor: pointer; padding: 0.7rem 1rem; min-height: 44px; box-sizing: border-box; font-size: var(--d1); color: var(--text); display: flex; gap: 1rem; align-items: center; }
.release-old > summary time { color: var(--quiet); font-family: var(--body); font-size: 0.9rem; }
.release-old[open] > summary { background: var(--select); color: var(--on-select); }
.release-old > article { padding: 0 1rem 0.6rem; margin-top: 0.4rem; }
.release-old > article > header { display: none; }
.sys-get { display: flex; justify-content: flex-start; list-style: none; padding: 0; margin: 0.4rem 0 1.4rem; }
.release-old[open] > summary time { color: var(--on-select); }
