/* Figtree, hosted with the site (SIL Open Font License 1.1, see fonts/OFL.txt). Variable weight,
   split the way Google Fonts splits it: Latin for English and Dutch, Latin Extended for names like Škoda.
   Files from @fontsource-variable/figtree 5.3.0. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/figtree-latin.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; }

/* Base styles, taken from the picked design (mockups/D-c-look-a-order). Direction D: C's look in A's order. Phone: one column, sticky section tabs, bottom tab bar.
   From 960px: article column plus a 300px sidebar (peers, ad slot); the tab bar becomes a top nav. */
:root {
  color-scheme: light;
  --canvas: #eef0f3; --surface: #ffffff; --ink: #111317; --ink-2: #5c626c; --line: #e2e5ea; --plate: #f5c400;
  --exc: #0b6b49; --exc-bg: #d7f2e6; --good: #2f6f1f; --good-bg: #e4f2d6; --avg: #6e5800; --avg-bg: #fbefc0;
  --below: #9a4a00; --below-bg: #ffe4cc; --poor: #a1221b; --poor-bg: #fbdcd8;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --tabbar: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/24px var(--font); padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); }
a { color: inherit; }
:focus-visible { outline: 3px solid #2b6be6; outline-offset: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
button { font: inherit; color: inherit; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* App bar */
.appbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.appbar .in { height: 56px; display: flex; align-items: center; gap: 8px; max-width: 1100px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 2px; font: 600 15px var(--font); text-decoration: none; color: var(--ink); padding: 8px 8px 8px 0; }
.appbar .title { font: 800 17px var(--font); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wordmark { display: none; font: 800 22px var(--font); letter-spacing: -0.02em; text-decoration: none; margin-right: 18px; }
.wordmark span { background: var(--plate); padding: 0 2px 0 6px; border-radius: 6px 0 0 6px; }
.topnav { display: none; }
.ibtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.ibtn:hover { background: var(--canvas); }
.lang { position: relative; flex: none; }
.lang summary { list-style: none; cursor: pointer; height: 36px; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--canvas); font: 700 14px var(--font); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg.i { width: 18px; height: 18px; }
.lang ul { position: absolute; z-index: 30; right: 0; top: 44px; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border-radius: 14px; box-shadow: 0 10px 30px rgba(17, 19, 23, 0.18); }
.lang a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang a:hover { background: var(--canvas); }
.lang a[aria-current] { background: var(--canvas); font-weight: 800; }

/* Sheets */
.sheet { position: fixed; z-index: 40; left: 0; right: 0; top: 0; background: var(--surface); box-shadow: 0 12px 40px rgba(17, 19, 23, 0.18); padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 16px; }
.sheet .row { display: flex; gap: 8px; align-items: center; max-width: 760px; margin: 0 auto; }
.sheet input { flex: 1; height: 48px; border-radius: 12px; border: 2px solid var(--ink); padding: 0 14px; font: 500 17px var(--font); background: var(--surface); color: var(--ink); min-width: 0; }
.suggest { list-style: none; margin: 8px auto 0; padding: 0; max-width: 760px; }
.suggest a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.suggest small { color: var(--ink-2); font-weight: 500; margin-left: 6px; }
.catgrid { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 0 auto; }

/* Pills and chips */
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 28px; padding: 0 10px; border-radius: 999px; font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.pill.excellent { color: var(--exc); background: var(--exc-bg); } .pill.good { color: var(--good); background: var(--good-bg); }
.pill.average { color: var(--avg); background: var(--avg-bg); } .pill.below { color: var(--below); background: var(--below-bg); } .pill.poor { color: var(--poor); background: var(--poor-bg); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.chip { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 600 15px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.chip small { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small { color: #c9ccd2; }

/* Score block */
.crumbs { display: none; }
.hero { background: var(--plate); padding-block: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "lab" "h1" "score" "verdict" "range" "countries"; }
.hero .lab { grid-area: lab; font: 700 13px/16px var(--font); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }
.hero h1 { grid-area: h1; font: 800 30px/34px var(--font); letter-spacing: -0.02em; margin-top: 6px; }
.hero .score { grid-area: score; margin-top: 16px; }
.big { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.big b { font: 800 72px/0.9 var(--font); letter-spacing: -0.03em; }
.big span { font: 700 22px var(--font); opacity: 0.6; }
.bandtag { display: inline-block; margin-top: 12px; font: 800 12px/1 var(--font); text-transform: uppercase; letter-spacing: 0.06em; background: var(--ink); color: var(--plate); padding: 6px 10px; border-radius: 999px; }
.hero .verdict { grid-area: verdict; font: 700 20px/26px var(--font); margin-top: 12px; }
.hero .range { grid-area: range; font: 500 14px/20px var(--font); margin-top: 6px; opacity: 0.8; }
.countries { grid-area: countries; margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.countries .c-note { grid-column: 1 / -1; margin: 0 0 2px; font: 500 12px/16px var(--font); }
.countries .c { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); }
.countries .cn { font: 700 12px/16px var(--font); }
.countries .cs { font: 800 22px/26px var(--font); font-variant-numeric: tabular-nums; }
.countries .ct { font: 500 11px/14px var(--font); opacity: 0.75; }
.countries .cn, .countries .ct { overflow-wrap: anywhere; }
.countries .ph { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(17, 19, 23, 0.3); }
.countries .ph .cs { font-size: 15px; opacity: 0.7; }
.ph-tag { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }

/* Fuel chips and sticky section tabs */
.fuelbar { padding-block: 14px 4px; }
.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 57px); z-index: 10; background: var(--canvas); padding-block: 8px; }
.tabs nav { display: flex; gap: 4px; background: #e2e5ea; border-radius: 12px; padding: 4px; }
.tabs a { flex: 1; min-width: 0; text-align: center; padding: 8px 4px; border-radius: 9px; font: 700 14px/18px var(--font); text-decoration: none; color: var(--ink-2); overflow-wrap: anywhere; }
.tabs a.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(17, 19, 23, 0.12); }

/* Sections */
section { padding-top: 24px; scroll-margin-top: 130px; }
h2 { font: 800 22px/28px var(--font); margin-bottom: 6px; }
.sub { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.card { background: var(--surface); border-radius: 16px; padding: 16px; }
.prose p { margin: 0 0 12px; font-size: 17px; line-height: 27px; }
.prose p:last-child { margin-bottom: 0; }
.group { background: var(--surface); border-radius: 16px; overflow: hidden; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; }
.kv span { color: var(--ink-2); font-size: 15px; }
.kv b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* Year tiles */
.years { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.yt { flex: none; width: 108px; background: var(--surface); border-radius: 14px; padding: 34px 12px 12px; display: grid; gap: 8px; position: relative; }
.yt b { font: 800 22px/1 var(--font); font-variant-numeric: tabular-nums; }
.yt small { color: var(--ink-2); font-size: 13px; line-height: 16px; }
.yt .flag { position: absolute; top: 10px; left: 12px; font: 800 10px/1 var(--font); text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 6px; border-radius: 6px; }
.yt .flag.best { background: var(--plate); } .yt .flag.check { background: var(--ink); color: #fff; }
.yt.thin { opacity: 0.6; }
.linkbtn { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font: 700 15px var(--font); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#year-list { margin-top: 8px; }

/* What to check */
.fault { padding: 14px 16px; border-top: 1px solid var(--line); }
.fault:first-child { border-top: 0; }
.fh { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.fh b { font-weight: 700; line-height: 22px; }
.x { flex: none; font: 800 13px/1 var(--font); color: var(--poor); background: var(--poor-bg); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.fault p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.ns { display: inline-block; font: 800 10px/1 var(--font); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); background: var(--canvas); padding: 4px 6px; border-radius: 6px; margin-left: 4px; }

/* Area by area */
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); margin: -4px 0 10px; }
.legend i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.area { padding: 12px 16px; border-top: 1px solid var(--line); }
.area:first-child { border-top: 0; }
.ah { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ah b { font-weight: 700; }
.area small { display: block; color: var(--ink-2); font-size: 14px; line-height: 20px; margin-top: 2px; }
.bars { display: grid; gap: 3px; margin-top: 8px; }
.bars i { display: block; height: 6px; border-radius: 3px; }
.bars .o, .legend .o { background: var(--ink); } .bars .e, .legend .e { background: #cfd3da; }

/* Peers */
.peer { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; }
.peer:first-child { border-top: 0; }
.peer .r { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.peer b { font-weight: 600; }
.peer.me { background: #fff8d6; }
.peer.me b { font-weight: 800; }

/* Buttons, affiliate box, ad slot */
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border-radius: 12px; background: var(--ink); color: #fff; font: 700 17px var(--font); text-decoration: none; margin-top: 14px; }
.cta.alt { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); margin-top: 10px; }
.fine { display: block; color: var(--ink-2); font-size: 13px; line-height: 18px; margin-top: 8px; }
.aff { margin-top: 24px; background: var(--surface); border-radius: 16px; padding: 16px; }
.aff-top { display: flex; align-items: center; gap: 8px; font: 600 13px var(--font); color: var(--ink-2); }
.aff-lab { font: 800 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); background: var(--canvas); padding: 5px 8px; border-radius: 6px; }
.aff h2 { margin: 10px 0 6px; }
.aff p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.ad { width: 300px; margin: 28px auto 0; font: 700 11px/14px var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.ad span { display: block; margin-bottom: 6px; }
.ad div { height: 250px; display: grid; place-items: center; border: 1.5px dashed #b9bec7; border-radius: 12px; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.ad-side { display: none; }

/* Method */
.how details { border-top: 1px solid var(--line); }
.how details:first-child { border-top: 0; }
.how summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "+"; font-weight: 600; }
.how details[open] summary::after { content: "\2212"; }
.how p { margin: 0; padding: 0 16px 14px; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.foot { padding-block: 16px 20px; color: var(--ink-2); font-size: 13px; line-height: 20px; }
.foot a { font-weight: 700; }
aside.side { padding-top: 8px; }

/* Tab bar */
.tabbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.tabbar nav { display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar); max-width: 560px; margin: 0 auto; }
.tabbar a, .tabbar button { display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; border: 0; background: none; font: 600 12px/14px var(--font); color: var(--ink-2); cursor: pointer; }

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .tabbar, .back, .appbar .title { display: none; }
  .wordmark { display: block; }
  .topnav { display: flex; align-items: center; gap: 6px; margin-right: auto; }
  .topnav a, .topnav button { font: 600 15px var(--font); text-decoration: none; padding: 8px 12px; border-radius: 10px; border: 0; background: none; cursor: pointer; }
  .topnav a:hover, .topnav button:hover { background: var(--canvas); }
  .appbar .in { height: 64px; }
  .page { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 20px 24px 40px; }
  .gut { padding-left: 0; padding-right: 0; }
  .crumbs { display: flex; gap: 8px; font: 600 13px/18px var(--font); color: var(--ink-2); margin-bottom: 12px; }
  .crumbs a { color: var(--ink-2); }
  .hero { border-radius: 20px; padding: 24px 28px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; grid-template-areas: "lab score" "h1 score" "verdict score" "range score" "countries countries"; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero .score { margin-top: 0; align-self: center; text-align: right; }
  .big b { font-size: 96px; }
  .countries { margin-top: 20px; }
  .tabs { top: 64px; }
  section { scroll-margin-top: 140px; }
  .fuelbar .chips { flex-wrap: wrap; }
  .ad-inline { display: none; }
  .ad-side { display: block; margin: 24px 0 0; }
  aside.side { position: static; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Category, home, brand and text pages. Category rules come from the picked design's category mockup. */
[hidden] { display: none !important; }
.seg { display: flex; gap: 4px; background: #e2e5ea; border-radius: 12px; padding: 4px; }
.seg button { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 4px; border-radius: 9px; font: 700 14px/18px var(--font); color: var(--ink-2); cursor: pointer; overflow-wrap: anywhere; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(17, 19, 23, 0.12); }
.tabbar .on { color: var(--ink); }

/* Page head (no score block) */
.head { padding-block: 20px 4px; }
.head .lab { font: 700 13px/16px var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.head h1 { font: 800 32px/36px var(--font); letter-spacing: -0.02em; margin-top: 6px; }
.head .dek { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.head .dek b { color: var(--ink); }
#intro { margin-top: 16px; }

/* Home: yellow block with the search field */
.hero.plain { display: block; }
.hero.plain p { margin: 10px 0 0; font: 500 17px/25px var(--font); max-width: 46ch; }
.searchbtn { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px; height: 54px; margin-top: 18px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--ink); background: var(--surface); font: 500 17px var(--font); color: var(--ink-2); cursor: pointer; text-align: left; }

/* Link rows: car types, fuel rows, names with a line under them */
.trow { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 14px 12px 14px 16px; border-top: 1px solid var(--line); text-decoration: none; }
.trow:first-child { border-top: 0; }
.trow b { display: block; font-weight: 700; line-height: 22px; }
.trow small, .peer small, .frow small { display: block; color: var(--ink-2); font-size: 13px; line-height: 18px; font-weight: 400; }
.trow .chev { color: var(--ink-2); }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; }
.frow b { font-weight: 700; }
.hint { color: var(--ink-2); font-size: 13px; line-height: 19px; margin: 10px 0 0; }

/* Top three: the winner gets the yellow block, two runners-up share a list */
.win { background: var(--plate); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.win .lab { font: 800 12px/1 var(--font); text-transform: uppercase; letter-spacing: 0.06em; background: var(--ink); color: var(--plate); padding: 6px 10px; border-radius: 999px; justify-self: start; }
.win h3 { font: 800 26px/30px var(--font); letter-spacing: -0.01em; margin-top: 10px; grid-column: 1; }
.win h3 a { text-decoration: none; }
.win .big { display: block; grid-column: 2; grid-row: 1 / span 2; font: 800 56px/0.9 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-align: right; }
.win .big small { display: block; font: 600 13px/18px var(--font); letter-spacing: 0; opacity: 0.7; margin-top: 6px; }
.win p { grid-column: 1 / -1; margin: 10px 0 0; font-size: 16px; line-height: 24px; }
.win .more { grid-column: 1 / -1; font-weight: 700; margin-top: 8px; text-underline-offset: 3px; }
.runners { margin-top: 10px; }
.run { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
.run:first-child { border-top: 0; }
.run .r { background: var(--plate); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 14px/1 var(--font); }
.run .lab { display: block; font: 700 12px/16px var(--font); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.run h3 { font: 700 18px/24px var(--font); }
.run h3 a { text-decoration: none; }
.run p { grid-column: 2 / -1; margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.run .more { grid-column: 2 / -1; font-weight: 700; font-size: 15px; margin-top: 4px; text-underline-offset: 3px; }

/* Full ranking */
.controls { display: grid; gap: 10px; margin-bottom: 12px; }
.item { border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 20px; gap: 10px; align-items: center; padding: 14px 12px 14px 16px; }
.item summary::-webkit-details-marker { display: none; }
.item .r { font: 800 16px/1 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.item.top .r { background: var(--plate); color: var(--ink); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
.item b { display: block; font-weight: 700; line-height: 22px; }
.item small { display: block; color: var(--ink-2); font-size: 13px; line-height: 18px; }
.vd { font-weight: 600; }
.vd.better, .vd.probably_better { color: var(--exc); }
.vd.average { color: var(--ink-2); }
.vd.probably_worse, .vd.worse { color: var(--poor); }
.item .chev { color: var(--ink-2); transition: transform 0.2s; }
.item[open] .chev { transform: rotate(90deg); }
.item[open] summary { background: #fafbfc; }
.detail { padding: 4px 16px 16px 54px; display: grid; gap: 12px; background: #fafbfc; }
.meter { position: relative; height: 10px; border-radius: 999px; background: #e2e5ea; }
.meter .rg { position: absolute; top: 0; height: 10px; border-radius: 999px; background: var(--ink); opacity: 0.25; }
.meter .dt { position: absolute; top: -3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); }
.meter .md { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--plate); }
.mlab { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.ystrip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ystrip span { flex: none; display: grid; justify-items: center; gap: 2px; font-size: 12px; color: var(--ink-2); }
.ystrip .pill { min-width: 44px; height: 24px; font-size: 13px; }
.warn { font-size: 14px; line-height: 20px; }
.warn b, .open { font-weight: 700; }
.open { font-size: 15px; text-underline-offset: 3px; }
.note { color: var(--ink-2); font-size: 13px; line-height: 19px; margin: 10px 0 0; }

/* Think twice */
.low { padding: 14px 16px; border-top: 1px solid var(--line); }
.low:first-child { border-top: 0; }
.low .lh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.low h3 { font: 700 18px/24px var(--font); }
.low h3 a { text-decoration: none; }
.low p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 22px; }

.foot { margin: 0; }
.back { white-space: nowrap; flex: none; }
.appbar .title { min-width: 0; }
.foot a { margin-right: 12px; }

@media (min-width: 760px) {
  .controls { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
}
@media (min-width: 960px) {
  main.wide { max-width: 1100px; margin: 0 auto; padding: 20px 24px 40px; }
  .col { max-width: 760px; }
  .head { padding-top: 0; }
  .head h1 { font-size: 46px; line-height: 50px; }
  .hero.plain h1 { font-size: 46px; line-height: 50px; }
  .win { padding: 24px 28px; }
  .win h3 { font-size: 32px; line-height: 36px; }
  .win .big { font-size: 72px; }
  .controls .chips { flex-wrap: wrap; }
  .tail { display: grid; grid-template-columns: minmax(0, 760px) 300px; column-gap: 40px; align-items: start; }
  .tail > section, .tail > footer { grid-column: 1; }
  .tail .ad { grid-column: 2; grid-row: 1 / span 2; margin: 62px 0 0; }
  .cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .item .chev { transition: none; } }

/* Wordmark: the first word sits in a yellow block, the rest follows after a space */
.wordmark { white-space: nowrap; }
.wordmark span { padding: 0 6px; border-radius: 6px; margin-right: 6px; }
