/*
Theme Name: Top Pick 3
Theme URI: https://toppick3.com/
Author: Kevinsmak LLC
Author URI: https://toppick3.com/about/
Description: Editorial Podium design for Top Pick 3 (toppick3.com). Classic PHP theme, no page builder, no jQuery. Built from css-src/ by tools/build_theme.py; edit the sources, not this file.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: tp3pick
*/

/* ===== 01-tokens.css ===== */
/* The SKIN: "Editorial Podium" (DESIGN.md §5, from toppick3-site/DESIGN-RESEARCH.md option A + B's dark video band).
   Re-skinning = this file (+ TP3_FONTS in inc/00-setup.php). Components use only these tokens. */
:root {
  /* type */
  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* colour */
  --paper: #FAF9F6;
  --card: #FFFFFF;
  --ink: #14171C;
  --body: #3A3F47;
  --muted: #6B6F76;
  --rule: #E6E2D9;
  --rule-2: #D9D3C6;
  --link: #1F4E8C;
  --overall: #1F3A5F;  --overall-tint: #E9EEF5;
  --value: #1E7A4C;    --value-tint: #E3F2E9;
  --top: #B7862B;      --top-ink: #8A6414;  --top-tint: #F6EDD8;
  --other: #4A4F57;    --other-tint: #EEEDEA;
  --buy: #F5B942;      --buy-hover: #EAA827;  --buy-ink: #14171C;
  --stage: #0F1115;    --stage-2: #1A1D23;   --stage-ink: #F2F1EE;
  --yt: #E62117;
  --good: #1E7A4C;     --bad: #9A3B2E;
  /* shape + space (8 px scale) */
  --r: 12px; --r-s: 8px; --pill: 999px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px;
  --g: 16px; --col: 720px; --mid: 880px; --wide: 1120px;
  --shadow: 0 1px 2px rgba(20,23,28,.05), 0 2px 8px rgba(20,23,28,.04);
  --shadow-up: 0 2px 4px rgba(20,23,28,.06), 0 10px 24px rgba(20,23,28,.08);
}
/* tone helpers: .tone-overall | .tone-value | .tone-top | .tone-other set --t / --t-tint / --t-ink */
.tone-overall { --t: var(--overall); --t-ink: var(--overall); --t-tint: var(--overall-tint); }
.tone-value   { --t: var(--value);   --t-ink: var(--value);   --t-tint: var(--value-tint); }
.tone-top     { --t: var(--top);     --t-ink: var(--top-ink); --t-tint: var(--top-tint); }
.tone-other, .tone- { --t: var(--other); --t-ink: var(--other); --t-tint: var(--other-tint); }

/* ===== 02-base.css ===== */
/* Base: reset, type, layout helpers, buttons, chips, header, footer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--f-head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 1.6em 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(30px, 5.2vw, 46px); margin-top: .3em; }
h2 { font-size: clamp(24px, 3.4vw, 30px); }
h3 { font-size: 21px; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--overall); outline-offset: 2px; border-radius: 4px; }
.vh, .sprite { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.wrap { width: min(var(--wide), 100% - 2 * var(--g)); margin-inline: auto; }
.wrap-col { width: min(var(--col), 100% - 2 * var(--g)); margin-inline: auto; }
.kicker, .lbl { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s1); }
.lede { font-size: 19px; color: var(--body); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #2A2F37; }
.btn-amz { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 16px; border-radius: var(--pill); background: var(--buy); color: var(--buy-ink); font: 700 15px/1.2 var(--f-body); text-decoration: none; text-align: center; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-amz::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 2px; }
.btn-amz:hover { background: var(--buy-hover); }
.btn-amz--sm { min-height: 38px; font-size: 14px; padding: 8px 12px; }
.btn-yt { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: var(--pill); background: var(--yt); color: #fff; font: 600 15px/1.2 var(--f-body); text-decoration: none; }
.btn-yt .i { width: 20px; height: 20px; }
.btn-yt .i rect { fill: #fff; } .btn-yt .i path { fill: var(--yt); }
.btn-yt:hover { background: #C81B12; }
.btn-yt--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.link-yt { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-weight: 600; }
.link-yt .i rect { fill: var(--yt); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 var(--s2); }
.chips li { font: 500 12.5px/1.2 var(--f-body); padding: 6px 10px; border-radius: var(--pill); background: var(--t-tint, var(--other-tint)); color: var(--t-ink, var(--ink)); }
.medal { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--t, var(--ink)); color: #fff; font: 700 21px/1 var(--f-head); flex: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 var(--s2); font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--rule-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { display: none; }
@media (min-width: 700px) { .crumbs [aria-current] { display: inline; color: var(--body); } }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form .field, .finder input[type=search], .vhub__bar input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--rule-2); border-radius: var(--pill); background: #fff; font: 400 16px var(--f-body); color: var(--ink); }

/* header */
.site-header { background: var(--card); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.hdr { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__badge { width: 40px; height: 40px; }
.brand__name { font: 700 22px/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 420px) { .brand__name { font-size: 19px; } .menu__l { display: none; } .hdr { gap: 4px; } }
.brand__name b { color: var(--top); }
.menu > summary, .hsearch > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--pill); cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; }
.menu > summary::-webkit-details-marker, .hsearch > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .hsearch > summary:hover { background: var(--other-tint); }
.menu .ic-x, .menu[open] .ic-menu { display: none; }
.menu[open] .ic-x { display: inline; }
.menu__panel, .hsearch__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-up); padding: var(--s3) max(var(--g), (100% - var(--wide)) / 2); }
.menu__main { list-style: none; padding: 0; margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }
.hnav { display: none; }
.hnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hnav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--pill); }
.hnav a:hover, .hnav a[aria-current] { background: var(--other-tint); }
.btn-yt--hdr span { display: none; }
.btn-yt--hdr { padding: 9px 11px; }
@media (min-width: 900px) {
  .hnav { display: block; }
  .menu__main { display: none; }
  .btn-yt--hdr span { display: inline; }
  .btn-yt--hdr { padding: 9px 16px; }
}
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.cat-tiles a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.cat-tiles a:hover, .cat-tiles a[aria-current] { border-color: var(--ink); }
.cat-tiles .i { width: 22px; height: 22px; color: var(--overall); }

/* footer */
.site-footer { background: var(--ink); color: #C9CCD2; margin-top: var(--s6); padding: var(--s5) 0 var(--s3); font-size: 15px; }
.site-footer a { color: #fff; }
.ft { display: grid; gap: var(--s4); }
.brand--ft { color: #fff; margin-bottom: var(--s2); }
.ft__disc { color: #fff; font-weight: 500; }
.ft .lbl { color: #9BA0A8; }
.ft__links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ft__links a { text-decoration: none; } .ft__links a:hover { text-decoration: underline; }
.promo-v { position: relative; display: block; max-width: 320px; border-radius: var(--r-s); overflow: hidden; margin-bottom: var(--s1); }
.promo-v img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ft__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #2B3038; margin-top: var(--s4); padding-top: var(--s2); color: #9BA0A8; }
.ft__base p { margin: 0; }
@media (min-width: 800px) { .ft { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ===== 03-post.css ===== */
/* Post + page body: head, trust line, disclosure, the .entry column, prose. */
.post-head { padding-top: var(--s3); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; color: var(--muted); margin: 0 0 var(--s1); }
.trust .by a { color: var(--ink); font-weight: 600; text-decoration: none; }
.trust .sep { color: var(--rule-2); }
.trust .how { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-weight: 600; text-decoration: none; }
.trust .how:hover { text-decoration: underline; }
.disclosure { font-size: 13.5px; color: var(--muted); border-left: 3px solid var(--buy); padding: 2px 0 2px 10px; margin: 0 0 var(--s3); }
.disclosure a { color: inherit; }

/* the post body: children sit in a 720 px column; strip/compare go wide, product sections mid, the stage full-bleed */
.entry > * { width: min(var(--col), 100% - 2 * var(--g)); margin-inline: auto; }
.entry > .top3, .entry > .compare { width: min(var(--wide), 100% - 2 * var(--g)); }
.entry > .pick { width: min(var(--mid), 100% - 2 * var(--g)); }
.entry > .stage, .entry > .jumpbar { width: 100%; }
.entry > .intro > *:last-child { margin-bottom: var(--s3); }
.entry h2 { scroll-margin-top: 72px; }
.entry img { border-radius: var(--r-s); }
.entry figure { margin: var(--s3) auto; }
.entry blockquote { margin: var(--s3) auto; padding-left: var(--s2); border-left: 3px solid var(--rule-2); }
.entry mark { background: linear-gradient(transparent 55%, var(--top-tint) 55%); color: inherit; padding: 0 1px; }
.entry pre { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-s); padding: var(--s2); font-size: 14px; }
.entry .wp-block-embed { margin: var(--s3) auto; }
.entry .wp-block-embed__wrapper { position: relative; aspect-ratio: 16/9; }
.entry .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.page .entry { padding-bottom: var(--s4); }
.after { margin-top: var(--s4); }
.ks-pe-notice { font-size: 12.5px; color: var(--muted); margin: var(--s3) 0; }
.author { display: flex; gap: var(--s2); align-items: flex-start; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: var(--s3); margin: var(--s4) 0; font-size: 15.5px; }
.author__b { width: 56px; height: 56px; flex: none; }
.author__n { font: 700 18px/1.2 var(--f-head); color: var(--ink); margin: 0 0 4px; }
.author p:last-child { margin: 0; }
.after-rails { margin-top: var(--s4); }

/* ===== 04-picks.css ===== */
/* The product components: Top-3 strip, video stage, jump bar, product sections, sheet sections, availability, badge. */

/* ---- Top-3 strip (Amazon-style: three white cards side by side; a swipe row on phones) ---- */
.top3 { margin-block: var(--s1) var(--s4); }
.top3__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 22px/1.2 var(--f-head); color: var(--ink); margin: 0 0 var(--s2); }
.top3__h .kicker { margin: 0; }
.top3__row { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; list-style: none; padding: 2px 2px 12px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.tcard { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--t); border-radius: var(--r); padding: var(--s2); box-shadow: var(--shadow); }
.tcard__rank { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s1); }
.tcard__rank .medal { width: 34px; height: 34px; font-size: 18px; }
.tcard__label { font: 500 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-ink); }
.pimg { position: relative; display: grid; place-items: center; background: #fff; border-radius: var(--r-s); overflow: hidden; text-decoration: none; --pad: 8px; }
.pimg img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; border-radius: 0; }
.pimg--strip { aspect-ratio: 4/3; margin: 0 0 var(--s1); --pad: 6px; }
.pimg--none { aspect-ratio: 4/3; background: var(--t-tint, var(--other-tint)); color: var(--t-ink, var(--ink)); font: 700 17px/1.25 var(--f-head); text-align: center; padding: var(--s2); }
.tcard .pimg--none { margin-bottom: var(--s1); }
.tcard__name { font: 700 18px/1.25 var(--f-head); margin: 0 0 6px; }
.tcard__name a { color: var(--ink); text-decoration: none; }
.tcard__name a:hover { text-decoration: underline; }
.tcard__why { font-size: 14.5px; line-height: 1.45; color: var(--body); margin: 0 0 var(--s1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .chips { margin-bottom: var(--s1); }
.tcard .btn-amz { margin-top: auto; }
.vt { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 14px/1.2 var(--f-body); color: var(--ink); text-decoration: none; }
.vt .i { width: 14px; height: 14px; color: var(--yt); }
.vt:hover { text-decoration: underline; }
.tcard .vt { justify-content: center; }
@media (min-width: 760px) {
  .top3__row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; }
  .tcard { padding: var(--s2); }
  .pimg--strip { aspect-ratio: 16/11; }
  .tcard:hover { box-shadow: var(--shadow-up); }
}

/* ---- availability (engine data < 24 h only; "as of" + Amazon's disclaimer behind Details) ---- */
.avail { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.avail summary { cursor: pointer; list-style: none; }
.avail summary::-webkit-details-marker { display: none; }
.avail--ok summary::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin-right: 6px; }
.avail__more { text-decoration: underline; }
.avail p { margin: 6px 0 0; font-size: 12px; }

/* ---- the video stage (dark band) ---- */
.stage { background: var(--stage); color: var(--stage-ink); padding: var(--s4) 0; margin-block: var(--s2) 0; }
.stage__in { width: min(800px, 100% - 2 * var(--g)); margin-inline: auto; }
.stage__k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 var(--s2); }
.stage__k .kicker { color: var(--buy); margin: 0; }
.stage__len { color: #B9BCC2; font-size: 14.5px; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; }
.yt__a { position: absolute; inset: 0; display: block; color: #fff; }
.yt__a img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; display: grid; place-items: center; background: var(--yt); border-radius: 14px; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .15s; }
.yt__play .i { width: 26px; height: 26px; }
.yt__a:hover .yt__play { transform: scale(1.06); }
.yt__t { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font: 600 15px/1.3 var(--f-body); }
.chaps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s2) 0 0; }
.chaps a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid #3A3F47; border-radius: var(--pill); color: var(--stage-ink); text-decoration: none; font: 600 14px var(--f-body); }
.chaps a:hover { border-color: #fff; }
.chaps .i { width: 12px; height: 12px; color: var(--yt); }
.stage__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: var(--s2) 0 0; font-size: 15px; }
.stage__links a:not(.btn-yt) { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.promo-v .yt__play { width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 10px; }
.promo-v .yt__play .i { width: 18px; height: 18px; }

/* ---- sticky jump bar ---- */
.jumpbar { position: sticky; top: 0; z-index: 15; background: rgba(250,249,246,.96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--rule); margin-bottom: var(--s4); }
.jumpbar__in { position: relative; width: min(var(--mid), 100% - 2 * var(--g)); margin-inline: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.jumpbar__in::-webkit-scrollbar { display: none; }
.jumpbar a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; color: var(--ink); text-decoration: none; font: 600 14px var(--f-body); white-space: nowrap; border-bottom: 2px solid transparent; }
.jumpbar a:hover { border-bottom-color: var(--ink); }
.jumpbar .medal { width: 24px; height: 24px; font-size: 13px; }
.jumpbar .i { color: var(--yt); width: 14px; height: 14px; }
.jb__x { color: var(--muted) !important; }
@media (max-width: 520px) { .jb__pick .jb__t { max-width: 88px; overflow: hidden; text-overflow: ellipsis; } }

/* ---- product sections ---- */
.pick { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: var(--s3) var(--s2); margin-block: 0 var(--s4); scroll-margin-top: 60px; box-shadow: var(--shadow); }
.pick__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pick__label { font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-ink); }
.pick--also .pick__label { color: var(--muted); }
.pick__name { font-size: clamp(23px, 3vw, 28px); margin: 12px 0 var(--s2); }
.pick__name--p { font: 700 clamp(23px, 3vw, 28px)/1.15 var(--f-head); color: var(--ink); }
.pick__top { display: grid; gap: var(--s2); margin-bottom: var(--s2); }
.pimg--pick { aspect-ratio: 1; border: 1px solid var(--rule); --pad: 12px; max-width: 320px; }
.pick__media .pimg--none { max-width: 320px; }
.pick__why { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 var(--s2); }
.pick__why .lbl { display: block; color: var(--t-ink); }
.pick__cta { display: flex; flex-direction: column; gap: 4px; align-items: stretch; max-width: 340px; }
.pick__cta .vt { align-self: flex-start; }
@media (min-width: 700px) {
  .pick { padding: var(--s4); }
  .pick__top { grid-template-columns: 280px 1fr; gap: var(--s3); align-items: start; }
}
.tp3-badge { position: relative; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border: 1px solid var(--rule); border-radius: var(--pill); font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.tp3-badge img { width: 20px; height: 20px; border-radius: 0; }
.tp3-badge__tip { position: absolute; right: 0; top: calc(100% + 6px); width: max-content; max-width: 240px; background: var(--ink); color: #fff; font: 400 13px/1.35 var(--f-body); letter-spacing: 0; text-transform: none; padding: 8px 10px; border-radius: var(--r-s); opacity: 0; visibility: hidden; transition: opacity .12s; z-index: 5; }
.tp3-badge:hover .tp3-badge__tip, .tp3-badge:focus-visible .tp3-badge__tip { opacity: 1; visibility: visible; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 var(--s3); }
.tiles li { background: var(--t-tint); border-radius: var(--r-s); padding: 12px; }
.tiles strong { display: block; font: 700 19px/1.15 var(--f-head); color: var(--ink); }
.tiles span { font-size: 13px; color: var(--body); }
.pc { display: grid; gap: var(--s2); margin: 0 0 var(--s3); }
.pc__col { border: 1px solid var(--rule); border-radius: var(--r-s); padding: var(--s2); }
.pc__col--pro { border-top: 3px solid var(--good); } .pc__col--con { border-top: 3px solid var(--bad); }
.pc__l, .plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15.5px; }
.pc__l li, .plain li { display: flex; gap: 8px; }
.pc__col--pro .i { color: var(--good); } .pc__col--con .i { color: var(--bad); } .plain .i { color: var(--muted); }
@media (min-width: 700px) { .pc { grid-template-columns: 1fr 1fr; } }
.fit { display: grid; gap: 8px; margin: 0 0 var(--s3); }
.fit div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.fit dt { font: 500 12px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fit dd { margin: 0; }
.shows, .handson { border-left: 3px solid var(--t); padding-left: var(--s2); margin: 0 0 var(--s3); }
.shows .lbl, .handson .lbl { display: flex; align-items: center; gap: 12px; }
.shows .vt--sm { margin: 0; font-size: 13px; text-transform: none; letter-spacing: 0; }
.pick__notes { font-size: 16.5px; }
.pick__notes > p:last-child { margin-bottom: 0; }
.more { margin-top: var(--s1); }
.more > summary, .panel > summary { cursor: pointer; font-weight: 600; color: var(--link); list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.more > summary::-webkit-details-marker, .panel > summary::-webkit-details-marker { display: none; }
.more > summary::after, .panel > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.more[open] > summary::after, .panel[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.panels { border-top: 1px solid var(--rule); margin-top: var(--s3); padding-top: 4px; }
.panel { border-bottom: 1px solid var(--rule); }
.panel > summary { color: var(--ink); width: 100%; }
.specs { width: 100%; border-collapse: collapse; margin: 0 0 var(--s2); font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--ink); padding-right: 12px; }

/* ---- sheet sections ---- */
.compare { margin-block: var(--s4); }
.compare__scroll { position: relative; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font: 700 16px/1.25 var(--f-head); border-bottom: 3px solid var(--t, var(--rule)); }
.compare thead th .medal { width: 26px; height: 26px; font-size: 14px; margin-right: 8px; }
.compare thead a { color: var(--ink); }
.compare tbody th { position: sticky; left: 0; background: var(--card); font-weight: 600; color: var(--ink); width: 150px; }
.choose .tldr { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-s); padding: var(--s2); }
.faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 8px 0 0; }
.changelog ul { list-style: none; padding: 0; font-size: 15px; }
.changelog time { font: 500 12.5px var(--f-mono); color: var(--muted); margin-right: 8px; }
.h-small { font-size: 20px; }
.pick__pre { font-size: 15px; background: var(--top-tint); border-radius: var(--r-s); padding: 10px 14px; margin: -4px 0 var(--s2); }
.pick__pre p { margin: 0; }
.pick__pre p + p { margin-top: 6px; }
.handson-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 600 12.5px/1.2 var(--f-body); color: var(--top-ink); background: var(--top-tint); border-radius: var(--pill); padding: 5px 10px; margin: 0 0 var(--s1); }
.handson-chip .i { width: 14px; height: 14px; }

/* ===== 05-home.css ===== */
/* Home, rails, cards, archives, /videos/, 404. */
.hero { background: var(--card); border-bottom: 1px solid var(--rule); padding: var(--s4) 0 var(--s5); }
.hero__in { display: grid; gap: var(--s4); align-items: start; }
.hero__in > * { min-width: 0; }
.hero h1 { margin: 0 0 var(--s2); max-width: 15ch; }
.finder { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: var(--s2); margin-top: var(--s3); }
.finder__l { display: block; font-weight: 700; color: var(--ink); margin-bottom: var(--s1); }
.finder__row { display: flex; gap: 8px; }
.finder__alt { font-size: 14px; color: var(--muted); margin: var(--s1) 0 0; }
.hero__latest { background: var(--stage); color: var(--stage-ink); border-radius: var(--r); padding: var(--s2); }
.hero__latest .lbl { color: var(--buy); }
.hero__v { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--r-s); overflow: hidden; }
.hero__v img { width: 100%; height: 100%; object-fit: cover; }
.hero__t { font: 700 19px/1.25 var(--f-head); margin: 12px 0 8px; }
.hero__t a { color: #fff; text-decoration: none; }
.mini3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mini3 li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.mini3 .medal { grid-row: span 2; width: 30px; height: 30px; font-size: 16px; }
.mini3 a { color: #fff; font-weight: 600; font-size: 15px; line-height: 1.25; }
.mini3__l { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #9BA0A8; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.15fr 1fr; gap: var(--s5); } .hero { padding: var(--s5) 0 var(--s6); } }

.rail { margin-block: var(--s5); }
.rail__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: var(--s2); }
.rail__h h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.rail__sub { color: var(--muted); font-size: 15px; margin: -8px 0 var(--s2); }
.rail__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.rail__row { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail__row > * { scroll-snap-align: start; }
.rail--grid .rail__row, .grid { display: grid; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; overflow: visible; }
@media (min-width: 1000px) { .rail--video .rail__row, .rail--rail .rail__row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; } }
.band { padding: 1px 0; }
.band--season { background: var(--top-tint); }
.band--how { background: var(--card); border-block: 1px solid var(--rule); }

.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow-up); transform: translateY(-1px); }
.card[hidden] { display: none; }
.card__a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { position: relative; display: block; border-bottom: 1px solid var(--rule); }
.c3 { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; }
.c3__i { aspect-ratio: 1; padding: 8px; display: grid; place-items: center; border-right: 1px solid var(--rule); overflow: hidden; min-width: 0; }
.c3__i:last-child { border-right: 0; }
.c3__i { position: relative; }
.c3__i img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.cthumb { display: block; aspect-ratio: 16/9; background: var(--stage-2); }
.cthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dur { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(15,17,21,.86); color: #fff; font: 600 12px/1 var(--f-body); padding: 5px 7px; border-radius: 6px; }
.dur .i { width: 10px; height: 10px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card__cat, .card__labels { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__t { font: 700 17px/1.3 var(--f-head); color: var(--ink); }
.card__a:hover .card__t { text-decoration: underline; }
.card__d { margin-top: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.card__d .i rect { fill: var(--yt); }
.card--rail .card__t, .card--video .card__t, .card--yt .card__t { font-size: 15.5px; }

.cats { margin-block: var(--s5); }
.cat-tiles--home a { flex-wrap: wrap; min-height: 64px; }
.cat-tiles--home small { flex-basis: 100%; margin-left: 32px; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: -6px; }
.how3 { padding-block: var(--s4); }
.how3__cols { display: grid; gap: var(--s3); }
.how3__n { font: 700 40px/1 var(--f-head); color: var(--top); margin: 0; }
.how3 h3 { margin: 8px 0; }
.channel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--s4); padding: var(--s3); background: var(--stage); color: var(--stage-ink); border-radius: var(--r); }
.channel p { margin: 0; }
@media (min-width: 800px) { .how3__cols { grid-template-columns: repeat(3, 1fr); } }
.ytrow { margin-block: var(--s5); }

.arch { padding-top: var(--s3); }
.arch-head { margin-bottom: var(--s3); }
.arch-head h1 { margin-bottom: var(--s1); }
.arch-desc { color: var(--body); max-width: 70ch; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: var(--pill); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.none { font-size: 17px; }
.vhub__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: var(--s2) 0 var(--s3); }
.vhub__bar input { max-width: 420px; }
.vhub h2 small { font: 400 15px var(--f-body); color: var(--muted); }
.grid--v { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.e404 { padding-top: var(--s5); }
