/* Epic Cash releases page. The landing page's look (epiccash.btlabs.uk): near-black with
 * hairlines, Montserrat for display, mono only for readouts, gold as the one signal. The
 * changelog and restore pages link this file too and use the aliases at the end of :root. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono NL';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrainsmono-nl.woff2') format('woff2');
}

:root {
  --bg: #08080a;
  --surface: #0d0d10;
  --surface-hi: #141418;
  --line: #24242a;
  --line-strong: #33333d;
  --text: #fff9f9;
  --dim: #a4a4ad;
  --faint: #7d7d87;
  --accent: #f6d471;
  --accent-deep: #c98a3e;
  --accent-ink: #08080a;
  --glow: rgba(246, 212, 113, 0.10);
  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono NL', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  --r: 14px;
  --r-sm: 8px;
  --ctl: 48px;
  --gutter: clamp(16px, 4vw, 72px);
  --max: 1600px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 1;
  color-scheme: dark;
  /* names the changelog and restore pages use */
  --bg2: var(--surface); --card: var(--surface); --line2: var(--line-strong);
  --ink: var(--text); --muted: var(--dim); --gold: var(--accent); --gold-2: var(--accent-deep);
  --gold-ink: var(--accent-ink); --gold-soft: var(--glow); --display: var(--font-head); --mono: var(--font-mono);
}
:root[data-theme=light] {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-hi: #f0f0f2;
  --line: #e0e0e4;
  --line-strong: #c9c9d0;
  --text: #1c1e21;
  --dim: #55555f;
  --faint: #7a7a84;
  --accent: #8f5e1f;
  --accent-deep: #8f5e1f;
  --accent-ink: #ffffff;
  --glow: rgba(143, 94, 31, 0.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } :root { --dur: 0; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; touch-action: manipulation; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; }
code { font-family: var(--font-mono); font-size: 0.86em; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
[hidden] { display: none !important; }
.link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; }
.link:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---- Header -------------------------------------------------------------------------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; }
.brand:hover { text-decoration: none; }
.emblem { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.16em; padding-top: 1px; }
.topnav { display: flex; align-items: center; gap: 4px 22px; }
.topnav > a { color: var(--dim); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.topnav > a:hover { color: var(--text); }
.theme {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--dim);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.theme:hover { border-color: var(--line-strong); color: var(--text); }
.theme svg { width: 16px; height: 16px; }
.on-light { display: none; }
[data-theme=light] .on-light { display: inline; }
[data-theme=light] .on-dark { display: none; }
/* the changelog page's own bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .theme { position: static; }

/* ---- Hero ---------------------------------------------------------------------------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 64px; }
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 13fr);
  gap: 40px clamp(40px, 5vw, 96px); align-items: center;
  padding: clamp(36px, 6vh, 80px) 0 clamp(24px, 3vh, 36px);
}
.hero::before {
  content: ''; position: absolute; inset: -140px 0 0 -40vw; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 60% at 22% 36%, var(--glow) 0%, transparent 70%);
}
.hero-text { max-width: 600px; min-width: 0; }
.eyebrow { font-family: var(--font-head); font-weight: 500; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 86px); font-weight: 600; letter-spacing: -0.028em; line-height: 1; margin-bottom: 22px; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--dim); max-width: 30em; text-wrap: pretty; margin-bottom: 26px; }
.readout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 32px;
  font-family: var(--font-mono); font-size: 15px; color: var(--dim);
}
.readout > span:nth-child(2) { color: var(--accent); font-size: 17px; }
.readout .bracket { color: var(--faint); }
.readout time { color: var(--text); }
.readout .pill { margin-left: 2px; }
.pill {
  display: inline-block; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap; vertical-align: 3px; color: var(--accent); border: 1px solid var(--accent);
}
.pill.solid { background: var(--accent); color: var(--accent-ink); }
.cta { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.btn.hero-dl { min-height: 64px; padding: 12px 24px; font-size: 18px; justify-content: center; text-align: left; gap: 14px; }
.btn.hero-dl .b-ico { display: grid; place-items: center; flex: none; }
.btn.hero-dl .b-ico svg { width: 24px; height: 24px; }
.btn.hero-dl .b-text { display: flex; flex-direction: column; min-width: 0; }
.btn.hero-dl small { display: block; font-weight: 500; font-size: 13px; opacity: 0.8; margin-top: 2px; }
.btn.hero-dl small:empty { display: none; } /* without page.js: no platform yet */
/* The button keeps one height whatever the platform says: one line (cut, never wrapped) where
 * it is wide, two reserved lines on a phone. A pick never moves the tiles below. */
.btn.hero-dl small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn.secondary { background: var(--surface-hi); color: var(--text); border-color: var(--line); min-height: 54px; justify-content: center; font-size: 16px; }
.btn.secondary:hover { border-color: var(--line-strong); background: var(--surface); }
.avail { margin-top: 18px; font-size: 14.5px; color: var(--dim); max-width: 460px; }
.avail:empty { display: none; }
.avail .link { font-size: inherit; }
#avail-back { display: inline-block; } /* keeps its width when hidden: the tiles never move */

/* The app itself: the desktop window, the phone in front of its corner. The light theme shows
 * the light screens; the hidden pair is lazy, so only the shown theme's images load. */
.hero-art { position: relative; min-width: 0; padding: 0 18% 8% 0; }
.hero-art figure { margin: 0; }
.window {
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.9), 0 20px 50px -30px rgba(0, 0, 0, 0.7);
}
.phone {
  position: absolute; right: 0; bottom: 0; width: 22%; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: clamp(16px, 2.2vw, 30px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 6px var(--bg);
}
[data-theme=light] .window { box-shadow: 0 50px 120px -50px rgba(16, 18, 24, 0.5), 0 20px 50px -30px rgba(16, 18, 24, 0.3); }
[data-theme=light] .phone { box-shadow: 0 40px 90px -40px rgba(16, 18, 24, 0.5), 0 0 0 6px var(--bg); }
.hero-art img { width: 100%; height: auto; }
.on-light-img { display: none; }
[data-theme=light] .on-light-img { display: block; }
[data-theme=light] .on-dark-img { display: none; }

/* ---- Platform tiles ------------------------------------------------------------------ */
.tiles { margin-top: clamp(24px, 3vh, 40px); text-align: center; }
.tiles-h { font-size: 14.5px; color: var(--dim); margin-bottom: 14px; }
.tiles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  width: 116px; min-height: 104px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--dim); font-size: 13.5px; font-weight: 600; line-height: 1.2;
  transition: border-color calc(0.2s * var(--dur)) var(--ease), color calc(0.2s * var(--dur)) var(--ease);
}
.tile:hover { text-decoration: none; border-color: var(--line-strong); color: var(--text); }
.tile .t-ico { display: grid; place-items: center; width: 30px; height: 30px; color: var(--text); }
.tile .t-ico svg { width: 28px; height: 28px; }
.tile .t-note { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: -4px; }
.tile.is-mine { border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep); color: var(--text); }
.tile.is-mine .t-ico { color: var(--accent); }
.beta { margin: clamp(28px, 4vh, 44px) auto 0; max-width: 760px; text-align: center; color: var(--dim); font-size: 14px; }

/* ---- Sections ------------------------------------------------------------------------ */
.sh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 18px 0 20px; border-top: 1px solid var(--line); }
.sh h2 { font-size: 22px; }
.sh h2 span { color: var(--accent); margin-left: 6px; }
.sl { font-size: 14px; color: var(--dim); }
.latest { margin-top: 24px; }
.older { margin-top: 56px; }

/* ---- The section's platform switch --------------------------------------------------- */
/* The same state as the hero's tiles, where the cards are: one click changes which card is
 * first and wide without scrolling anywhere. Without page.js each is an anchor to its card. */
.plat-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -6px 0 18px; }
.ps-h { font-size: 13.5px; color: var(--faint); }
.plat-switch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plat-switch a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--dim);
  font-size: 14px; font-weight: 600;
}
.plat-switch a:hover { text-decoration: none; border-color: var(--line-strong); color: var(--text); }
.plat-switch a svg { width: 18px; height: 18px; color: var(--text); }
.plat-switch a.is-mine { border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep); color: var(--text); }
.plat-switch a.is-mine svg { color: var(--accent); }

/* ---- Platform cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color calc(0.2s * var(--dur)) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.cm, .cf { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cf:empty { display: none; }
.ch { display: flex; align-items: flex-start; gap: 14px; }
.ch h3 { font-size: 20px; }
.ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--accent); background: var(--bg); }
.ico svg { width: 22px; height: 22px; }
.ico.sm { width: 26px; height: 26px; border-radius: 7px; }
.ico.sm svg { width: 14px; height: 14px; }
.app { font-size: 14px; color: var(--text); margin-top: 2px; }
.req { font-size: 13px; color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px;
  min-height: var(--ctl); padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.25; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn > svg { width: 20px; height: 20px; flex: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary small { display: block; font-weight: 500; font-size: 12.5px; opacity: 0.8; margin-top: 2px; }
.btn.primary b { font-weight: 700; }
.fn { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.fn.main { margin-top: -6px; }

/* folds */
.fold { border-top: 1px solid var(--line); margin: 0; }
.fold summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before {
  content: ''; width: 7px; height: 7px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim);
  transform: rotate(-45deg); margin: 0 4px 0 2px; transition: transform calc(0.2s * var(--dur)) var(--ease);
}
.fold[open] > summary::before { transform: rotate(45deg); margin-top: -3px; }
.fold summary:hover { color: var(--accent); }
.cnt { margin-left: auto; font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--faint); }
.fl-list { list-style: none; margin: 0; padding: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.f { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-hi); }
.fl { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; color: var(--text); align-items: baseline; }
.fl:hover { text-decoration: none; }
.fl:hover .fk { text-decoration: underline; text-underline-offset: 0.18em; }
.fk { font-weight: 600; font-size: 14px; }
.fs { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.fl .fk { grid-area: 1 / 1; }
.fl .fs { grid-area: 1 / 2; }
.fl .fn { grid-area: 2 / 1 / 3 / 3; }
.sha { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--faint); }
.sha-k { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.06em; font-size: 10.5px; text-transform: uppercase; }
.sha code, .verify code, .fp { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); overflow-wrap: anywhere; line-height: 1.5; }
.copy {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 12px; font-weight: 600; cursor: pointer;
}
.copy:hover { border-color: var(--line-strong); color: var(--text); }
.copy[data-done] { color: var(--accent); border-color: var(--accent); }
.bt { padding: 2px 0 12px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--dim); }
.bt b { color: var(--text); font-weight: 600; }
.bt code { background: var(--surface-hi); padding: 1px 6px; border-radius: 5px; color: var(--text); overflow-wrap: anywhere; }
.verify { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.verify > span { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.verify code { flex: 1 1 0; min-width: 240px; padding: 4px 8px; }
.foot-note { margin-top: 22px; font-size: 13.5px; color: var(--dim); max-width: 880px; }
.foot-note b { color: var(--text); }

/* The platform the browser reports: that card goes first and wide; the others wait in a
 * compact row. Set by page.js only; without it every card is the same. */
html[data-plat] .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
html[data-plat] .card.is-mine { grid-column: 1 / -1; order: -1; border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep), 0 24px 60px -30px var(--glow); }
html[data-plat] .card.is-mine .ch h3 { font-size: 26px; }
@media (min-width: 1100px) {
  html[data-plat] .card.is-mine { display: grid; grid-template-columns: minmax(300px, 2fr) 3fr; gap: 16px 48px; align-items: start; padding: 28px 28px 22px; }
  html[data-plat] .card.is-mine .cm { gap: 18px; }
  html[data-plat] .card.is-mine .cf .fold:first-child { border-top: 0; }
  html[data-plat] .card.is-mine .cf .fold:first-child > summary { min-height: 36px; margin-top: -6px; }
}
html[data-plat] .card.is-mine .btn.primary { font-size: 17px; min-height: 60px; padding: 12px 22px; align-self: flex-start; }
html[data-plat] .card.is-mine .btn.primary small { font-size: 13px; }
html[data-plat] .card:not(.is-mine) { padding: 16px 18px 12px; gap: 10px; }
html[data-plat] .card:not(.is-mine) .ch h3 { font-size: 17px; }
html[data-plat] .card:not(.is-mine) .btn.primary { background: transparent; color: var(--text); border-color: var(--line-strong); min-height: 44px; font-size: 14px; }
html[data-plat] .card:not(.is-mine) .btn.primary:hover { border-color: var(--accent); filter: none; }
html[data-plat] .card:not(.is-mine) .btn.primary b { font-weight: 600; }
html[data-plat] .card:not(.is-mine) .req, html[data-plat] .card:not(.is-mine) .fn.main { display: none; }

/* ---- Earlier releases ---------------------------------------------------------------- */
.rel { border-top: 1px solid var(--line); }
.rel:last-child { border-bottom: 1px solid var(--line); }
.rel > summary {
  display: grid; grid-template-columns: 110px 1fr auto auto; align-items: center; gap: 16px;
  min-height: 52px; padding: 6px 4px; cursor: pointer; list-style: none; font-size: 14px; color: var(--dim);
}
.rel > summary::-webkit-details-marker { display: none; }
.rel > summary:hover { background: var(--surface); }
.rel > summary:hover .rv { color: var(--accent); }
.rv { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--text); }
.rp { display: flex; gap: 6px; justify-content: flex-end; min-width: 160px; }
.rn { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); min-width: 56px; text-align: right; }
.rb { padding: 6px 4px 22px; display: flex; flex-direction: column; gap: 14px; }
.rl { font-size: 14px; }
.rg h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.rg h4 svg { width: 15px; height: 15px; color: var(--accent); }
.rg .fl-list { padding-bottom: 0; gap: 4px; }
/* one line per file: label, name, size, then the checksum */
@media (min-width: 1100px) {
  .rb .f { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 7px 12px; }
  .rb .fl { grid-template-columns: 200px minmax(0, 1fr) 72px; }
  .rb .fl .fk { grid-area: auto; font-size: 13.5px; }
  .rb .fl .fn { grid-area: auto; }
  .rb .fl .fs { grid-area: auto; text-align: right; }
  .rb .sha { flex-wrap: nowrap; }
  .rb .sha code { white-space: nowrap; }
}

/* ---- Footer -------------------------------------------------------------------------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---- Widths -------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .hero { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero-text { max-width: 640px; }
  .hero-art { max-width: 760px; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  html[data-plat] .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1500px) {
  html:not([data-plat]) .cards { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .top { padding-top: 14px; }
  .topnav { gap: 14px; }
  .topnav > a:first-child { display: none; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 17px; }
  .cta { max-width: none; }
  .hero-art { padding: 0 8% 10% 0; }
  .phone { width: 30%; }
  .tile { width: 104px; min-height: 94px; }
  .btn.hero-dl small { white-space: normal; min-height: calc(2 * 1.25em); }
  .plat-switch { gap: 8px 10px; }
  .plat-switch a { min-height: 38px; padding: 0 12px 0 10px; font-size: 13.5px; }
  .tiles ul { gap: 10px; }
  .cards, html[data-plat] .cards { grid-template-columns: 1fr; }
  .card { padding: 18px 16px 14px; }
  .btn.primary { width: 100%; }
  .rel > summary { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .rel > summary .rp { grid-row: 2; justify-content: flex-start; min-width: 0; }
  .rel > summary .rn { grid-row: 2; }
  .rb { grid-template-columns: 1fr; }
  .fl { grid-template-columns: 1fr; }
  .fs::before { content: ''; }
}
@media (hover: none) { .card:hover { border-color: var(--line); } }

/* ---- The changelog page (changelog/index.html links this file) ------------------------ */
.log p { margin: 0 0 12px; }
.log h3 { font-size: 16px; margin: 16px 0 6px; }
.log ul { margin: 0 0 12px; padding-left: 22px; }
.log li { margin: 4px 0; }
