@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/static/fonts/instrument-sans.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/static/fonts/jetbrains-mono.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/static/fonts/newsreader.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Site styles (every site; a theme class swaps the tokens). Design: OpenDesign brand-spec.md, 29 Oct 2026. Fonts self-hosted. */
:root {
  --bg: oklch(98.6% 0.003 80);
  --surface: oklch(100% 0 0);
  --fg: oklch(21% 0.004 60);
  --muted: oklch(50% 0.008 60);
  --border: oklch(91% 0.008 75);
  --accent: oklch(49% 0.17 25);
  --up: oklch(50% 0.13 150);
  --down: oklch(50% 0.14 28);
  --on-accent: oklch(99% 0 0);
  --fg-soft: color-mix(in oklch, var(--fg) 6%, transparent);
  --fg-softer: color-mix(in oklch, var(--fg) 3.5%, transparent);
  --line-strong: color-mix(in oklch, var(--fg) 18%, var(--border));
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --gutter: 28px;
  --r: 10px;
  --r-lg: 14px;
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(17.5% 0.004 60); --surface: oklch(21% 0.004 60); --fg: oklch(93.5% 0.008 75); --muted: oklch(70% 0.012 70);
  --border: oklch(29% 0.005 60); --accent: oklch(72% 0.16 22); --up: oklch(76% 0.14 150); --down: oklch(74% 0.13 25); --on-accent: oklch(18% 0.01 25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(17.5% 0.004 60); --surface: oklch(21% 0.004 60); --fg: oklch(93.5% 0.008 75); --muted: oklch(70% 0.012 70);
    --border: oklch(29% 0.005 60); --accent: oklch(72% 0.16 22); --up: oklch(76% 0.14 150); --down: oklch(74% 0.13 25); --on-accent: oklch(18% 0.01 25);
  }
}

/* RUNO-187: mafiadramas.com. Noir by default (dark paper, brass and blood red), a cream "dossier" when the reader picks
   light. Same layout and components as every site; only the tokens and the display face change. */
.theme-mafia {
  color-scheme: dark;
  --bg: oklch(15% 0.008 40); --surface: oklch(19% 0.01 40); --fg: oklch(93% 0.02 85); --muted: oklch(70% 0.03 80);
  --border: oklch(28% 0.015 50); --accent: oklch(78% 0.12 80); --up: oklch(76% 0.13 150); --down: oklch(66% 0.19 25);
  --on-accent: oklch(16% 0.01 60);
  --font-display: "Bodoni 72", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
}
:root[data-theme="light"] .theme-mafia {
  color-scheme: light;
  --bg: oklch(96% 0.015 85); --surface: oklch(99% 0.008 85); --fg: oklch(20% 0.01 40); --muted: oklch(46% 0.02 50);
  --border: oklch(87% 0.02 80); --accent: oklch(45% 0.16 25); --up: oklch(48% 0.13 150); --down: oklch(48% 0.16 28);
  --on-accent: oklch(98% 0.01 85);
}
.theme-mafia h1, .theme-mafia h2 { letter-spacing: 0; }
.theme-mafia .wm em { color: var(--accent); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: 21px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font: 600 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.label { font: 600 11.5px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--muted); max-width: 62ch; margin: 16px 0 0; }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--fg); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--fg); padding: 8px 0; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ic { width: 16px; height: 16px; flex: none; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font: 600 21px/1 var(--font-display); letter-spacing: -0.01em; flex: none; }
.brand img { width: 26px; height: 26px; }
.brand .wm { display: inline; }
.brand em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; color: var(--fg); }
.nav a:hover { background: var(--fg-soft); }
.nav a[aria-current="page"] { background: var(--fg-soft); font-weight: 600; }
.search { position: relative; margin-left: auto; width: min(340px, 34vw); }
.search input { width: 100%; height: 40px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); border-radius: 999px; padding: 0 44px 0 40px; font: 15px var(--font-body); }
.search input::placeholder { color: var(--muted); }
.search input:hover { border-color: var(--line-strong); }
.search input:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px var(--fg-soft); }
.search .ico { position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search kbd { position: absolute; right: 12px; top: 10px; font: 500 11px/18px var(--font-mono); color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 0 5px; background: var(--bg); }
.results { position: absolute; top: 48px; left: 0; right: 0; min-width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 18px 44px -12px color-mix(in oklch, black 30%, transparent); padding: 8px; display: none; max-height: 70vh; overflow: auto; }
.results.open { display: block; }
.results .group { padding: 8px 10px 4px; }
.res { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--fg); }
.res:hover, .res.active { background: var(--fg-soft); }
.res img { width: 34px; height: 45px; object-fit: cover; border-radius: 4px; flex: none; }
.res img.icon { width: 34px; height: 34px; border-radius: 8px; }
.res b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.res small { color: var(--muted); font-size: 13px; }
.results .empty { padding: 14px 10px; color: var(--muted); font-size: 14px; }
.menu-btn { display: none; }
.notice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r); padding: 12px 16px; font-size: 15px; margin: 20px 0 0; }
.notice .label { padding-top: 3px; flex: none; color: var(--fg); }
.site-notice { margin: 16px auto 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }

/* buttons, chips, segmented, tabs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); font: 600 15px var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: color-mix(in oklch, var(--fg) 7%, var(--surface)); border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: color-mix(in oklch, var(--accent) 86%, black); border-color: color-mix(in oklch, var(--accent) 86%, black); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: 500 14px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--line-strong); background: color-mix(in oklch, var(--fg) 5%, var(--surface)); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip .ct { font: 500 12px var(--font-mono); opacity: .7; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--fg-soft); gap: 2px; }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); font: 500 14px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.seg button:hover { background: var(--fg-soft); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 2px color-mix(in oklch, var(--fg) 18%, transparent); font-weight: 600; }
.seg svg { width: 16px; height: 16px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); }
.tabs button { position: relative; border: 0; background: none; color: var(--muted); font: 600 14.5px var(--font-body); padding: 10px 0 12px; cursor: pointer; }
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--fg); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fg); }
select.select { height: 36px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); border-radius: 999px; padding: 0 30px 0 14px; font: 500 14px var(--font-body); cursor: pointer; }
select.select:hover { border-color: var(--line-strong); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
html:not(.js) .js-only { display: none !important; }

/* chart atoms */
.cover { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; object-position: top; border-radius: 8px; background: var(--border); }
span.cover { display: block; }
.rank-num { font: 500 44px/0.9 var(--font-display); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.03em; }
.chg { display: inline-flex; align-items: center; gap: 3px; font: 600 12px/1 var(--font-mono); white-space: nowrap; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); } .chg.same { color: var(--muted); }
.chg.new { color: var(--fg); background: var(--fg-soft); border-radius: 4px; padding: 3px 6px; letter-spacing: .06em; }
.meter { display: block; height: 6px; border-radius: 99px; overflow: hidden; background: var(--fg-soft); }
.meter svg { display: block; width: 100%; height: 6px; }
.meter rect { fill: var(--fg); }
.fmt { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.watch { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--fg); font: 600 14px var(--font-body); white-space: nowrap; }
.watch:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.watch svg { width: 14px; height: 14px; }
.watch small { font-weight: 500; opacity: .75; }
.watch { max-width: 100%; }
.watch small { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .watch small { display: none; } }
.spot .watch small { display: none; }
.watches { display: flex; flex-wrap: wrap; gap: 8px; }
.nosrc { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--muted); font: 500 13.5px var(--font-body); }
.posters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 22px; list-style: none; margin: 0; padding: 0; }
.poster { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--fg); }
.poster .frame { position: relative; overflow: hidden; border-radius: 10px; }
.poster .frame img { transition: transform .35s ease; border-radius: 0; }
.poster:hover .frame img { transform: scale(1.035); }
.poster .badge { position: absolute; left: 8px; top: 8px; background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-radius: 6px; padding: 5px 7px; box-shadow: 0 1px 4px color-mix(in oklch, black 22%, transparent); }
.poster .row1 { display: flex; align-items: flex-end; gap: 12px; margin-top: 12px; }
.poster .row1 .rank-num { font-size: 52px; }
.poster .row1 .chg { margin-bottom: 6px; }
.poster h3 { font: 600 16px/1.3 var(--font-body); letter-spacing: 0; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.poster:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.poster .meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.poster .stat { display: flex; justify-content: space-between; font-size: 13px; margin: 10px 0 6px; }

/* sections */
.sec { padding: 72px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 0; font-size: 13.5px; color: var(--muted); padding-top: 28px; margin-bottom: 8px; }
.crumbs > * { white-space: nowrap; }
.crumbs > [aria-current] { white-space: normal; min-width: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.page-head { padding: 22px 0 8px; }
/* hubs (RUNO-177): /charts, /guides and the "more on" lists of app pages */
.hub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 72ch; }
.hub-list p { margin: 2px 0 0; }
.sec.hub { padding-top: 40px; }
.code { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; font: 12.5px/1.55 var(--font-mono); white-space: pre-wrap; word-break: break-all; color: var(--fg); margin: 0; }
.code.cite { font-family: var(--font-body); font-size: 13.5px; }
textarea.code { width: 100%; resize: none; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
table.data { border-collapse: collapse; width: 100%; font-size: 14.5px; }
table.data th { text-align: left; font: 600 11.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--fg-softer); }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--fg-softer); }
.unknown { color: var(--muted); font-style: italic; }
.stale { color: var(--down); font-weight: 600; }

/* footer */
.foot { margin-top: 96px; border-top: 1px solid var(--border); padding: 44px 0 56px; font-size: 14.5px; color: var(--muted); }
.foot .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font: 600 11.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding: 3px 0; }
.foot a:hover { color: var(--fg); text-decoration: underline; }
.foot .brand { font-size: 19px; margin-bottom: 12px; }
.foot .brand img { width: 22px; height: 22px; }
.foot p { margin: 0; max-width: 46ch; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--fg); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
:root[data-theme="dark"] .btn.primary:hover { background: color-mix(in oklch, var(--accent) 86%, white); border-color: color-mix(in oklch, var(--accent) 86%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary:hover { background: color-mix(in oklch, var(--accent) 86%, white); border-color: color-mix(in oklch, var(--accent) 86%, white); } }

/* theme switcher */
.theme { position: relative; flex: none; }
.theme-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; }
.theme-btn:hover { background: color-mix(in oklch, var(--fg) 7%, var(--surface)); border-color: var(--line-strong); }
.theme-btn[aria-expanded="true"] { border-color: var(--fg); }
.theme-btn svg, .theme-menu svg { width: 18px; height: 18px; flex: none; }
.theme-btn svg { display: none; }
.theme-btn[data-show="system"] .t-system, .theme-btn[data-show="light"] .t-light, .theme-btn[data-show="dark"] .t-dark { display: block; }
.theme-menu { position: absolute; right: 0; top: 52px; z-index: 40; min-width: 200px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 18px 44px -12px color-mix(in oklch, black 30%, transparent); padding: 6px; display: none; }
.theme-menu.open { display: grid; gap: 2px; }
.theme-menu .label { padding: 8px 10px 6px; }
.theme-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); font: 500 14.5px var(--font-body); text-align: left; cursor: pointer; }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--fg-soft); }
.theme-menu button .tick { margin-left: auto; opacity: 0; font: 600 13px var(--font-mono); }
.theme-menu button[aria-checked="true"] { font-weight: 600; }
.theme-menu button[aria-checked="true"] .tick { opacity: 1; }
.theme-menu small { display: block; padding: 6px 10px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--border); margin-top: 4px; }

/* home */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 56px 0 8px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 13ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; }
.hero .stamp { margin-top: 28px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.spot { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 20px; }
.spot .rank-num { font-size: 96px; }
.spot-top { display: flex; align-items: flex-end; gap: 12px; }
.spot h2 { font-size: 26px; margin-top: 14px; }
.spot .facts { font-size: 14px; color: var(--muted); margin: 8px 0 18px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 16px 0; border-top: 1px solid var(--border); margin-bottom: 18px; }
.kv b { display: block; font: 500 24px/1.1 var(--font-display); margin-top: 4px; }
.kv .full { grid-column: 1 / -1; }
.kv .meter { margin-top: 8px; }
.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.rising-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rise { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 16px; text-decoration: none; color: var(--fg); align-items: center; }
.rise:hover { border-color: var(--line-strong); background: color-mix(in oklch, var(--fg) 2.5%, var(--surface)); }
.rise .g { font: 500 34px/1 var(--font-display); color: var(--up); }
.rise b { display: block; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.rise small { color: var(--muted); font-size: 13px; }
.apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.appt { padding: 16px; text-decoration: none; color: var(--fg); display: flex; flex-direction: column; gap: 12px; }
.appt:hover { border-color: var(--line-strong); background: color-mix(in oklch, var(--fg) 2.5%, var(--surface)); }
.appt .hd { display: flex; align-items: center; gap: 12px; }
.app-icon { width: 44px; height: 44px; border-radius: 22%; border: 1px solid var(--border); flex: none; object-fit: cover; }
span.app-icon { display: inline-flex; align-items: center; justify-content: center; font: 600 18px var(--font-display); background: var(--fg-soft); }
.appt .nm { font-weight: 600; line-height: 1.25; }
.appt dl { margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.appt dl div { display: flex; justify-content: space-between; gap: 8px; }
.appt dt { color: var(--muted); }
.appt dd { margin: 0; text-align: right; }
.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.method > div { padding: 24px 28px 0 0; }
.method > div + div { padding-left: 28px; border-left: 1px solid var(--border); }
.method b { display: block; font: 500 26px/1.15 var(--font-display); margin: 10px 0; }
.method p { margin: 0; color: var(--muted); font-size: 15px; }

/* chart page */
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.weeknav { display: flex; align-items: center; gap: 8px; }
.weeknav .btn { width: 44px; padding: 0; }
.weeknav select { height: 44px; font-size: 15px; font-weight: 600; padding: 0 34px 0 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; margin-top: 36px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--fg); }
.toolbar .right { display: flex; gap: 10px; align-items: center; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 64px 84px minmax(0, 1fr) 190px; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: start; transition: background .4s; scroll-margin-top: 120px; }
.row.hl { background: var(--fg-soft); box-shadow: 0 0 0 12px var(--fg-soft); border-radius: 2px; }
.row .rk { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-top: 2px; }
.row .rk .rank-num { font-size: 52px; }
.row h3 { font: 600 19px/1.3 var(--font-body); letter-spacing: 0; }
.row .facts { margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.row .facts .fmt { color: var(--fg); margin-right: 2px; }
.row .m { display: grid; gap: 12px; font-size: 13.5px; }
.row .m b { font: 500 22px/1 var(--font-display); display: block; margin-top: 4px; }
.row .m .line { display: flex; justify-content: space-between; align-items: baseline; }
.row .m .meter { margin-top: 6px; }
.rows.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; padding-top: 24px; }
.empty-f { padding: 40px 0; color: var(--muted); }
.side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side .card { padding: 20px; }
.side h2 { font-size: 22px; margin-bottom: 4px; }
.side .sub { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.rlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rlist a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-decoration: none; color: var(--fg); border-radius: 8px; }
.rlist a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.rlist b { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: block; }
.rlist small { color: var(--muted); font-size: 12.5px; }
.rlist .g { font: 600 14px var(--font-mono); color: var(--up); }
.dl { display: flex; gap: 8px; margin-bottom: 18px; }
.dl .btn { flex: 1; }
.use .tabs { margin-bottom: 14px; }
.use .hint { font-size: 13px; color: var(--muted); margin: 0; }
.revmeta { font-size: 13px; color: var(--muted); line-height: 1.6; padding: 0 4px; }
.revmeta a { color: var(--fg); }

/* archive */
.month { margin-top: 44px; }
.month h2 { font-size: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--fg); }
.weeks { list-style: none; margin: 0; padding: 0; }
.wk { display: grid; grid-template-columns: 190px minmax(0, 1fr) 168px auto; gap: 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.wk .when b { display: block; font: 500 22px/1.15 var(--font-display); }
.wk .when a { text-decoration: none; color: var(--fg); }
.wk .when a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.wk .when small { color: var(--muted); font-size: 14px; }
.wk .one { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; }
.wk .one b { font-weight: 600; display: block; line-height: 1.3; }
.wk .one small { color: var(--muted); font-size: 13px; display: block; }
.stack { display: flex; }
.stack .cover { width: 40px; border: 2px solid var(--bg); border-radius: 6px; margin-left: -8px; }
.stack .cover:first-child { margin-left: 0; }
.tagline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { font: 500 11.5px/1 var(--font-mono); letter-spacing: .04em; padding: 5px 7px; border-radius: 5px; background: var(--fg-soft); }

/* methodology */
.doc { display: grid; grid-template-columns: 200px minmax(0, 680px) minmax(260px, 1fr); gap: 56px; align-items: start; margin-top: 44px; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 14.5px; }
.toc .label { padding: 0 10px 10px; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.toc a:hover { color: var(--fg); background: var(--fg-soft); }
.toc a[aria-current="true"] { color: var(--fg); font-weight: 600; background: var(--fg-soft); }
.body section { padding: 0 0 36px; scroll-margin-top: 96px; }
.body h2 { font-size: 28px; margin-bottom: 12px; }
.body p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.body .formula { font: 500 clamp(22px, 2.4vw, 30px)/1.3 var(--font-display); padding: 22px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--border); margin: 18px 0 20px; }
.calc { position: sticky; top: 96px; padding: 22px; }
.calc h3 { font-size: 22px; }
.calc p.sub { margin: 4px 0 18px; font-size: 13.5px; color: var(--muted); }
.field { margin-bottom: 18px; }
.field .line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.field output { font: 600 15px var(--font-mono); }
input[type=range] { width: 100%; accent-color: var(--fg); height: 28px; margin: 0; }
.calc-res { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.calc-res .line { display: flex; justify-content: space-between; }
.calc-res big { font: 500 40px/1 var(--font-display); }
.verdict { font-size: 14px; padding: 10px 12px; border-radius: 8px; background: var(--fg-soft); }
.verdict.no { color: var(--down); }

/* about / contact / privacy / terms */
.plain { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 56px; margin-top: 36px; align-items: start; }
.side-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.side-nav a { text-decoration: none; color: var(--fg); font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.side-nav a:hover { background: var(--fg-soft); }
.side-nav a[aria-current="page"] { background: var(--fg-soft); font-weight: 600; }
.prose p { font-size: 17.5px; line-height: 1.7; margin: 0 0 18px; }
.prose h1 { margin-bottom: 26px; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 20px; margin: 8px 0 22px; }
.mail b { font: 500 22px var(--font-display); margin-right: auto; }

/* price guide */
.facts-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.facts-row b { color: var(--fg); font-weight: 600; }
.ctrl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-bottom: 16px; }
.ctrl .l, .ctrl .r { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.appcell { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.appcell .app-icon { width: 36px; height: 36px; }
.appcell a { font-weight: 600; text-decoration: none; color: var(--fg); }
.appcell a:hover { text-decoration: underline; text-underline-offset: 3px; }
.appcell small { display: block; color: var(--muted); font-size: 12.5px; }
.appcell small a { font-weight: 400; color: var(--muted); }
.subs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 200px; }
.pill { font: 500 12.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 6px; background: var(--fg-soft); white-space: nowrap; }
td.nowrap { white-space: nowrap; }
.count { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.guide { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; align-items: start; }
.index { position: sticky; top: 96px; display: grid; gap: 2px; }
.index a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-size: 14.5px; padding: 7px 10px; border-radius: 8px; }
.index a:hover { background: var(--fg-soft); }
.index a[aria-current="true"] { background: var(--fg-soft); font-weight: 600; }
.index .app-icon { width: 22px; height: 22px; font-size: 11px; border: 0; }
.appcard { padding: 26px; margin-bottom: 20px; scroll-margin-top: 96px; }
.appcard .hd { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.appcard .hd .app-icon { width: 56px; height: 56px; }
.appcard h2 { font-size: 28px; }
.appcard .dev { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.appcard .hd .btn { margin-left: auto; }
.plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 22px; }
.plat { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.plat .ph b { font-weight: 600; }
.plat dl { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.plat dl .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plat dt { font: 600 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.plat dd { margin: 0; }
.plat details { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }
.plat summary { cursor: pointer; color: var(--fg); font-weight: 600; font-size: 13.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plat summary::-webkit-details-marker { display: none; }
.plat summary::after { content: "+"; font: 500 16px var(--font-mono); }
.plat details[open] summary::after { content: "–"; }
.plat details p { margin: 8px 0 10px; }
.cost { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; font-size: 15px; }
.cost .label { padding-top: 3px; }
.cost .v { font-weight: 600; }
.cost p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* blog */
.post { max-width: 720px; margin: 0 auto; }
.post .byline { display: block; font-size: 14.5px; color: var(--muted); margin: 18px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.post .byline b { color: var(--fg); font-weight: 600; }
.prose-body p, .prose-body li { font-size: 18px; line-height: 1.7; }
.prose-body h2 { font-size: 28px; margin: 36px 0 12px; }
.prose-body h3 { font-size: 22px; margin: 28px 0 10px; }
.prose-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--fg); }
.prose-body blockquote cite { display: block; font-size: 14px; color: var(--muted); font-style: normal; }
.prose-body figure { margin: 28px 0; }
.prose-body figure img { border-radius: var(--r); width: 100%; }
.prose-body figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.sources, .related { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.sources h2, .related h2 { font-size: 22px; margin-bottom: 10px; }
.sources li, .related li { margin: 6px 0; font-size: 15px; }
.disclose { margin-top: 36px; }
/* blog index (12 Nov 2026): the newest post as a wide card, then a grid of .post-card */
.post-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: hidden; padding: 0; margin-top: 28px; text-decoration: none; color: var(--fg); }
.post-lead .post-cover { border-radius: 0; height: 100%; }
.post-lead .pl-body { display: grid; gap: 12px; align-content: center; padding: 32px 36px; }
.post-lead .eyebrow { margin: 0; }
.post-lead h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.post-lead:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.post-lead .dek { color: var(--muted); font-size: 16.5px; line-height: 1.5; }
.post-lead small { color: var(--muted); font-size: 13px; }
.post-more { margin-top: 48px; }
.post-more h2 { font-size: 24px; margin: 0 0 18px; }
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.post-grid > li { display: flex; }
.post-grid .post-card { flex: 1; }
.page-head + .post-more { margin-top: 28px; }
@media (max-width: 760px) {
  .post-lead { grid-template-columns: 1fr; }
  .post-lead .post-cover { height: auto; }
  .post-lead .pl-body { padding: 18px 18px 20px; }
}
.reading { padding: 20px; }
.reading h2 { font-size: 22px; margin-bottom: 8px; }
.reading ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.reading a { text-decoration: none; color: var(--fg); }
.reading li b { display: block; font-weight: 600; line-height: 1.3; }
.reading li small { color: var(--muted); font-size: 12.5px; }
.reading li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
/* post covers (RUNO-105): a fixed 1200x630 box, so nothing moves while the image loads */
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r); background: var(--border); }
.post > .post-cover { margin: 22px 0 0; }
.reading li .post-cover { margin: 0 0 8px; }
.related li.related-post:has(.post-cover) { list-style: none; }
.related-post .post-cover { max-width: 280px; margin: 6px 0; }

/* embed (framed on other sites) */
body.embed { padding: 16px; max-width: 560px; }
.embed .w-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.embed .w-head h1 { font-size: 22px; }
.embed .w-head span { font: 500 12px var(--font-mono); color: var(--muted); white-space: nowrap; }
.embed ol { list-style: none; margin: 0; padding: 0; }
.embed li a { display: grid; grid-template-columns: 34px 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--fg); }
.embed li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.embed .rank-num { font-size: 30px; text-align: right; }
.embed li b { font-weight: 600; font-size: 15px; line-height: 1.3; display: block; }
.embed li small { color: var(--muted); font-size: 12.5px; display: block; }
.embed li small.via { font-weight: 600; color: var(--fg); }
.embed .attr { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.embed .attr a { color: var(--fg); }

/* admin */
.admin main { padding-bottom: 48px; }
.admin table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0 24px; }
.admin th, .admin td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
.admin h1 { font-size: 36px; margin: 24px 0 8px; } .admin h2 { font-size: 24px; margin: 28px 0 8px; }
.admin textarea { width: 100%; font: 13px/1.4 var(--font-mono); background: var(--surface); color: var(--fg); border: 1px solid var(--border); padding: 8px; }
.admin button { font: inherit; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; }
.admin input { font: inherit; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--fg); }
.inline { display: inline; } .grid-form { display: grid; gap: 8px; max-width: 520px; } .grid-form input { width: 100%; }
.errors { color: var(--down); } tr.alert td, tr.error td { color: var(--down); }

/* responsive */
@media (max-width: 1100px) {
  .posters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .row { grid-template-columns: 56px 72px minmax(0, 1fr); } .row .m { grid-column: 3; grid-template-columns: 1fr 1fr 1fr; }
  .rows.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc { grid-template-columns: 200px minmax(0, 1fr); } .calc-wrap { grid-column: 2; } .calc { position: static; }
}
@media (max-width: 1080px) {
  .top .wrap { gap: 12px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; flex: none; }
  .search { width: auto; flex: 0 1 380px; }
  .search kbd { display: none; }
  .search input { padding-right: 14px; }
}
@media (max-width: 920px) {
  :root { --gutter: 20px; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .foot .grid { grid-template-columns: 1fr 1fr; } .foot .grid > :first-child { grid-column: 1 / -1; }
  .sec { padding-top: 56px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .rising-cards, .method { grid-template-columns: 1fr; }
  .method > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); margin-top: 24px; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-grid, .layout { grid-template-columns: 1fr; } .side { position: static; }
  .wk { grid-template-columns: 1fr auto; gap: 14px; } .wk .stack { display: none; } .wk .one { grid-column: 1 / -1; grid-row: 2; }
  .doc { grid-template-columns: 1fr; gap: 28px; } .toc { display: none; } .calc-wrap { grid-column: auto; }
  .plain { grid-template-columns: 1fr; gap: 20px; } .side-nav { position: static; display: flex; overflow-x: auto; } .side-nav a { flex: none; }
  .guide { grid-template-columns: 1fr; }
  .index { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; } .index a { flex: none; border: 1px solid var(--border); border-radius: 999px; }
  .cost { grid-template-columns: 1fr; gap: 4px; } .appcard { padding: 18px; } .appcard .hd .btn { margin-left: 0; }
}
@media (max-width: 640px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .top .wrap .theme { margin-left: auto; }
  .search { order: 3; flex: 1 0 100%; width: 100%; }
  .nav { top: 100%; }
  .results { min-width: 0; }
  .poster .row1 .rank-num { font-size: 40px; }
  .row { grid-template-columns: 40px 64px minmax(0, 1fr); gap: 14px; }
  .row .rk .rank-num { font-size: 36px; }
  .row .m { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding-left: 54px; }
  .row .m > :last-child { grid-column: 1 / -1; }
  .rows.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar .right { width: 100%; justify-content: space-between; }
}
@media (max-width: 520px) {
  .spot { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .spot .rank-num { font-size: 64px; } .spot h2 { font-size: 21px; }
  .kv { grid-template-columns: 1fr; } .spot .kv, .spot .watch-wrap { grid-column: 1 / -1; }
}

/* Title page (RUNO-107): shared tokens only; links and buttons are 44px targets. */
.row h3 a { color: inherit; text-decoration: none; }
.row h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tp .crumbs a, .tp .crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
.tp .link, .tp .src, .tp .hist th a { display: inline-flex; align-items: center; min-height: 44px; }
/* hero */
.t-hero { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; padding: 26px 0 8px; align-items: start; }
.t-hero .cover { width: 240px; height: auto; border-radius: 12px; } /* the img height attribute must not beat aspect-ratio when the width shrinks */
.t-hero h1 { font-size: clamp(34px, 4.2vw, 54px); max-width: 20ch; margin: 0; }
.t-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.t-meta b { color: var(--fg); font-weight: 600; }
.tp .src { font: 500 12px/1.4 var(--font-mono); color: var(--muted); margin: 6px 0 0; }
.tp a.src { text-decoration: underline; text-underline-offset: 2px; }
.tp a.src:hover { color: var(--fg); }
.t-lede { margin: 20px 0 0; font-size: 17px; line-height: 1.6; max-width: 62ch; color: var(--muted); }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 24px; }
.t-actions .arrow-link { min-height: 44px; }
.tsec { padding-top: 44px; }
/* where to watch */
.watch-block { border: 1px solid var(--fg); border-radius: var(--r-lg); background: var(--surface); padding: 26px 28px; }
.watch-block h2 { font-size: 30px; margin: 0; }
.watch-block > .lead { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.providers { display: grid; gap: 16px; margin-top: 22px; }
.provider { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 0 0; border-top: 1px solid var(--border); }
.provider .app-icon { width: 56px; height: 56px; }
.provider h3 { font: 600 19px/1.3 var(--font-body); letter-spacing: 0; margin: 0; }
.provider .note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.provider dl { margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; }
.provider dt { font: 600 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.provider dd { margin: 4px 0 0; font-size: 15px; }
.provider dd .src { display: flex; margin: 2px 0 0; }
.empty-watch { margin-top: 20px; padding: 18px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); display: grid; gap: 6px; }
.empty-watch b { font: 500 20px/1.3 var(--font-display); }
.empty-watch p { margin: 0; color: var(--muted); font-size: 15px; }
/* our take */
.take { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--fg); padding-top: 24px; }
.take-verdict { font: 500 clamp(24px, 2.6vw, 32px)/1.3 var(--font-display); margin: 10px 0 0; max-width: 28ch; }
.take h3 { margin: 0; font: 600 11.5px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.take ul { margin: 10px 0 22px; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.take h3 + h3 { margin-top: 22px; }
.byline { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.byline b { color: var(--fg); font-weight: 600; }
.flag { display: inline-flex; align-items: center; font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg); border: 1px dashed var(--fg); border-radius: 4px; padding: 4px 6px; white-space: nowrap; }
.is-ph, .byline b.is-ph { color: var(--muted); font-style: italic; }
/* chart facts */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); border-top: 1px solid var(--fg); }
.stats > div { padding: 16px 18px 4px 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--border); }
.stats b { display: block; font: 500 28px/1.1 var(--font-display); margin-top: 6px; }
.stats small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.stats .meter { margin-top: 8px; }
.tbars { display: flex; align-items: flex-end; gap: 8px; height: 86px; margin-top: 8px; }
.tbars > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; font: 500 11px var(--font-mono); color: var(--muted); }
.tbars svg { display: block; width: 100%; max-width: 34px; height: 44px; }
.tbars rect { fill: var(--fg); }
.tbars svg.off rect { fill: var(--fg-soft); }
.stats + .src { margin-top: 14px; }
.t-weeks { margin-top: 18px; }
.t-weeks summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.t-weeks summary::-webkit-details-marker { display: none; }
.t-weeks summary::after { content: "+"; font: 500 16px var(--font-mono); margin-left: 10px; }
.t-weeks[open] summary::after { content: "–"; }
.hist tbody th { font: 500 14.5px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--fg); background: none; padding: 0 16px; border-bottom: 1px solid var(--border); }
.hist td { vertical-align: middle; }
.hist tbody tr:last-child th { border-bottom: 0; }
.hist th a { color: var(--fg); }
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 920px) {
  .t-hero { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; }
  .t-hero .cover { width: 160px; }
  .take { grid-template-columns: 1fr; gap: 8px; }
  .provider { grid-template-columns: 48px minmax(0, 1fr); }
  .provider .app-icon { width: 48px; height: 48px; }
  .provider .btn { grid-column: 1 / -1; justify-self: start; }
  .watch-block { padding: 20px; }
}
@media (max-width: 560px) {
  .t-hero { grid-template-columns: 1fr; }
  .t-hero .cover { width: 168px; }
  .hist { display: block; overflow-x: auto; }
}

/* Text-only covers (31 Oct 2026): the title's initials on a tile, no runo-cms or provider artwork. */
.cover.ph { display: grid; place-items: center; background: color-mix(in oklch, var(--accent) 10%, var(--surface)); border: 1px solid var(--border); container-type: inline-size; }
.cover.ph span { font: 500 clamp(12px, 34cqi, 64px)/1 var(--font-display); color: var(--accent); letter-spacing: .02em; }
/* "Watch free on Runotoon": the site's main action, always first. */
.watch.rt { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.watch.rt:hover { background: color-mix(in oklch, var(--accent) 86%, black); border-color: color-mix(in oklch, var(--accent) 86%, black); color: var(--on-accent); }
.btn.rt small, .watch.rt small { font-weight: 500; opacity: .85; }

/* Runotoon call-to-action card (apps pages) */
.rt-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 22px; margin: 18px 0; border-color: var(--accent); }
.rt-card p { margin: 4px 0 0; }

/* App directory (/apps) */
.dir { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.dir a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--fg); }
.dir a:hover { border-color: var(--fg); }
.dir a > span:nth-child(2) { min-width: 0; flex: 1; }
.dir b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; padding: 4px 6px; flex: none; }
.app-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; align-items: start; padding: 22px 0 0; }
.app-head .app-icon { width: 96px; height: 96px; font-size: 40px; }
.app-head h1 { margin: 0; }
.app-head .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 0; }
.app-head dd { margin: 4px 0 0; }
.pfacts-list { display: grid; gap: 14px; }
.pfacts-list .card { padding: 18px 20px; }
.pfacts-list h3 { margin: 0; font-size: 18px; }
.pfacts-list .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 4px; }
.pfacts-list dd { margin: 4px 0 0; }
ul.links { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

.weeks { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 24px; }
.weeks a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .mrow { grid-template-columns: 40px minmax(0, 1fr) 44px; }
  .mrow .rank-num { font-size: 32px; }
  .mact { grid-column: 2 / -1; justify-content: flex-start; }
  .app-head { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .app-head .app-icon { width: 64px; height: 64px; }
  .app-head .kv, .pfacts-list .kv { grid-template-columns: 1fr 1fr; }
}

.nav a { white-space: nowrap; }

/* Odin sync (10 Nov 2026): synced title facts, episode grid, characters, FAQ; the free-episode page. */
.sync-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 24px; margin: 0; padding: 16px 0; border-top: 1px solid var(--fg); }
.sync-facts dd { margin: 4px 0 0; font-weight: 600; }
.eps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.eps a { display: grid; gap: 2px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--fg); text-decoration: none; }
.eps a:hover { border-color: var(--line-strong); }
.eps span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eps small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.eps small svg { width: 13px; height: 13px; }
.eps .locked a { background: var(--fg-softer); }
.chars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.chars p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.faq { border-top: 1px solid var(--border); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.ep h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 16px; }
.langs { align-items: center; margin: 0 0 14px; }
.langs .chip { text-decoration: none; }
.langs .chip[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.player { display: block; width: 100%; max-height: 78vh; background: #000; border-radius: var(--r-lg); }
.pages { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.pages img { display: block; width: 100%; height: auto; }
.next-rt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; margin: 22px 0 0; }
.next-rt p { margin: 4px 0 0; }
.ep-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 8px; }
.ep-nav svg { width: 16px; height: 16px; }

/* loading states: video spinner, search busy, page-to-page bar (sdr.js). Appear after a short delay so fast loads never flash. */
.spin { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 3px solid oklch(100% 0 0 / .25); border-top-color: oklch(100% 0 0); background: oklch(0% 0 0 / .35); box-shadow: 0 0 0 8px oklch(0% 0 0 / .35); animation: wspin .8s linear infinite, appear .2s .15s both; pointer-events: none; z-index: 2; }
.spin[hidden] { display: none; }
@keyframes wspin { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: 0; } }
.search.busy kbd { display: none; }
.search.busy::after { content: ""; position: absolute; right: 14px; top: 11px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--fg); animation: wspin .8s linear infinite, appear .2s .15s both; }
.res img { background: var(--border); }
.nav-progress { position: fixed; top: 0; left: 0; z-index: 100; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; pointer-events: none; }
html.navigating .nav-progress { opacity: 1; transition: opacity .2s .15s; animation: navgrow 10s cubic-bezier(.08, .7, .2, 1) .15s forwards; }
@keyframes navgrow { from { transform: scaleX(.05); } to { transform: scaleX(.92); } }
@media (prefers-reduced-motion: reduce) { .spin, .search.busy::after { animation-duration: 2s, .2s; } html.navigating .nav-progress { animation: none; transform: scaleX(.6); } }

/* home carousels (.rail): native scroll-snap; sdr.js wires the arrow buttons. --per = cards in view. */
.rail-sec { --gap: 22px; --per: 6; }
.rail-sec.rail-posts { --per: 3; }
.rail-sec .rail-head { display: flex; align-items: center; gap: 18px; }
.rail-btns { display: inline-flex; gap: 8px; }
.rail-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; }
.rail-btn:hover:not(:disabled) { border-color: var(--line-strong); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 18px; height: 18px; }
.rail-sec .rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; }
.rail-sec .rail::-webkit-scrollbar { display: none; }
.rail-sec .rail > * { scroll-snap-align: start; min-width: 0; }
.rail-sec .rail:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: var(--r); }
.rail-sec .rail .poster .cover { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: var(--fg); }
.post-card .post-cover { border-radius: 0; }
.post-card .post-cover.blank { background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 30%, var(--surface)), var(--surface)); }
.post-card .pc-body { display: grid; gap: 8px; padding: 16px 18px 18px; align-content: start; }
.post-card h3 { font: 600 18px/1.3 var(--font-body); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.post-card .dek { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card small { color: var(--muted); font-size: 12.5px; }
.post-card.all { justify-content: center; border-style: dashed; }
@media (max-width: 1100px) { .rail-sec { --per: 4; } .rail-sec.rail-posts { --per: 2; } }
@media (max-width: 760px) { .rail-sec { --per: 3; --gap: 16px; } }
@media (max-width: 560px) {
  .rail-sec { --per: 2.3; --gap: 14px; } .rail-sec.rail-posts { --per: 1.15; }
  .rail-btns { display: none; } /* swipe on phones */
  .rail-sec .rail { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-padding-inline-end: var(--gutter); }
}
.facets .chip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* one-question answers (13 Nov 2026): app pages, the price guide's "Which app?", the comparison and free guides */
.answer { margin: 14px 0 18px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-lg) var(--r-lg) 0; max-width: 68ch; }
.answer h2 { margin: 0 0 6px; }
.answer p { margin: 0; line-height: 1.55; }
.qa .faq p { margin: 6px 0 4px; max-width: 72ch; line-height: 1.6; }
.qa-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0 0 14px; }
.qa-list > div { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.qa-list dt { font-weight: 600; margin: 0 0 6px; }
.qa-list dd { margin: 0; color: var(--muted); line-height: 1.5; }
.data th[scope="row"] { text-align: left; font-weight: 600; white-space: nowrap; }
.bullets { max-width: 72ch; line-height: 1.6; padding-left: 1.2em; }
.bullets li { margin: 0 0 8px; }

/* ── Directory UX (owner, 18 Nov 2026): card with ★ save, hero search, app tiles, title Save/Share ── */
.pcard { position: relative; min-width: 0; }
.pcard > .poster { height: 100%; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; border: 0; cursor: pointer;
  background: color-mix(in oklch, black 45%, transparent); color: oklch(100% 0 0); font-size: 16px; line-height: 1; backdrop-filter: blur(6px); }
.fav:hover { background: color-mix(in oklch, black 62%, transparent); }
.fav[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.fav:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.btn.fav-big[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.t-more { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.b-search { display: flex; gap: 10px; margin-top: 22px; max-width: 560px; }
.b-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--fg); font: 500 16px var(--font-body); }
.b-search input:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.b-search.big input { height: 54px; font-size: 17px; }
.b-search.big .btn { height: 54px; padding: 0 24px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero-stats b { color: var(--fg); font-weight: 700; }
.hero-stats a { color: inherit; text-decoration: none; }
.hero-stats a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sec .intro { max-width: 70ch; margin-bottom: 18px; color: var(--muted); }
.stream { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.stream a { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--fg); text-decoration: none; }
.stream a:hover { border-color: var(--fg); }
.stream .app-icon { width: 36px; height: 36px; }
.stream b { display: block; font: 600 17px/1.2 var(--font-display); }
.stream small { display: block; color: var(--muted); font: 500 12.5px var(--font-mono); margin-top: 3px; }
.see-all { margin: 22px 0 0; }
@media (max-width: 520px) {
  .b-search.big { flex-direction: column; }
  .b-search.big input { flex: none; }
  .b-search.big .btn { width: 100%; }
  .fav { width: 30px; height: 30px; font-size: 14px; top: 6px; right: 6px; }
}
