/* HotSauceDB site styles. Loaded after vendored Basecoat 1.0.2, which reads the
   shadcn-style tokens set below. Basecoat keeps its rules in a cascade layer, so
   anything here overrides it; button colours are therefore set explicitly.
   Never class an element "dark": Basecoat scopes its dark theme to .dark. */

:root {
  --c-paper: #FAF7F2;
  --c-card: #FFFFFF;
  --c-panel: #F2EDE5;
  --c-ink: #1D1916;
  --c-ink2: #433C36;
  --c-muted: #6B635B;
  --c-rule-soft: #EFE9E1;
  --c-rule: #DCD3C6;
  --c-rule-strong: #B3A796;
  --c-red: #B42318;
  --c-red-ink: #FFFFFF;
  --c-red-soft: #FBEAE6;
  --c-range: #D2452B;
  --c-dot: #1D1916;
  --c-grid: #E7E0D6;
  --c-meter-off: #E2DACE;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, sans-serif;

  /* Basecoat tokens */
  --background: var(--c-paper);
  --foreground: var(--c-ink);
  --card: var(--c-card);
  --card-foreground: var(--c-ink);
  --popover: var(--c-card);
  --popover-foreground: var(--c-ink);
  --primary: var(--c-red);
  --primary-foreground: var(--c-red-ink);
  --secondary: var(--c-panel);
  --secondary-foreground: var(--c-ink);
  --muted: var(--c-panel);
  --muted-foreground: var(--c-muted);
  --accent: var(--c-panel);
  --accent-foreground: var(--c-ink);
  --border: var(--c-rule);
  --input: var(--c-rule-strong);
  --ring: var(--c-red);
  --radius: .375rem;

  --wrap: 1240px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-paper: #141210;
    --c-card: #1B1815;
    --c-panel: #221E1A;
    --c-ink: #F1EBE3;
    --c-ink2: #D2C9BD;
    --c-muted: #A3998D;
    --c-rule-soft: #262220;
    --c-rule: #38322C;
    --c-rule-strong: #5C5249;
    --c-red: #F0664A;
    --c-red-ink: #1A0F0B;
    --c-red-soft: #3A1F18;
    --c-range: #F0664A;
    --c-dot: #F1EBE3;
    --c-grid: #2C2723;
    --c-meter-off: #3A342E;
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
a { color: inherit; }
main a:not(.btn), .foot a, .crumbs a {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-rule-strong);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
main a:not(.btn):hover, .foot a:hover, .crumbs a:hover { color: var(--c-red); text-decoration-color: currentColor; }
a.quiet { text-decoration-color: transparent !important; color: var(--c-ink2) !important; }
a.quiet:hover { color: var(--c-red) !important; text-decoration-color: currentColor !important; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }
abbr[title] { text-decoration: none; cursor: help; }
.mono, code { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--c-muted); }
.small { font-size: 12px; }
.blank { color: var(--c-muted); font-style: normal; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -40px; background: var(--c-ink); color: var(--c-paper); padding: 6px 10px; z-index: 50; border-radius: 4px; }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }

h1, h2, h3 { color: var(--c-ink); margin: 0; }
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h3 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 10px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 8px;
}
.eyebrow a { color: var(--c-muted) !important; }
.lede { font-size: 16px; line-height: 1.5; color: var(--c-ink2); max-width: 72ch; margin-top: 12px; }
.desc { color: var(--c-muted); max-width: 72ch; }
.byline { font-size: 12px; color: var(--c-muted); margin: 8px 0 0; }

/* ---------------------------------------------------------------- buttons, inputs, badges (Basecoat) */

.btn { background: var(--c-red); color: var(--c-red-ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.btn:hover { background: color-mix(in oklab, var(--c-red) 88%, var(--c-ink)); color: var(--c-red-ink); }
.btn[data-variant="outline"] { background: transparent; color: var(--c-ink); border: 1px solid var(--c-rule-strong); }
.btn[data-variant="outline"]:hover { background: var(--c-panel); color: var(--c-ink); }
.btn[data-variant="link"] { background: none; color: var(--c-red); padding: 0; height: auto; text-decoration: underline; text-underline-offset: 2px; }
.input, .select { background-color: var(--c-card); color: var(--c-ink); border-color: var(--c-rule-strong); }
.input::placeholder { color: var(--c-muted); }
.badge { font-size: 10.5px; line-height: 1; padding: 3px 5px; border-radius: 3px; font-weight: 500; color: var(--c-ink2); border-color: var(--c-rule); }
.kbd { font-family: var(--font-mono); font-size: 11px; }

/* ---------------------------------------------------------------- header */

.top { border-bottom: 1px solid var(--c-rule); background: var(--c-paper); position: relative; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 54px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; color: var(--c-ink) !important; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand b { color: var(--c-red); font-weight: 800; }
.mark { width: 24px; height: 24px; color: var(--c-ink); flex: none; }
.mark .mark-bars rect { fill: var(--c-paper); }
.mark .mark-hot { fill: #E4472B; }
.nav { display: flex; gap: 2px; }
.nav a { font-size: 13px; font-weight: 500; color: var(--c-ink2); text-decoration: none; padding: 5px 9px; border-radius: 4px; white-space: nowrap; }
.nav a:hover { color: var(--c-ink); background: var(--c-panel); }
.nav a[aria-current] { color: var(--c-ink); background: var(--c-panel); box-shadow: inset 0 -2px 0 var(--c-red); }
.nav-short { display: none; }

.search { margin-left: auto; position: relative; width: min(340px, 34vw); }
.search .input { width: 100%; height: 32px; font-size: 13px; padding-right: 28px; }
.search .kbd { position: absolute; right: 7px; top: 7px; opacity: .8; }
.search:focus-within .kbd { display: none; }
.results {
  position: absolute; top: calc(100% + 4px); right: 0; width: min(440px, 92vw);
  margin: 0; padding: 4px; list-style: none;
  background: var(--c-card); border: 1px solid var(--c-rule); border-radius: 6px;
  box-shadow: 0 8px 24px rgb(0 0 0 / .12);
  max-height: min(70vh, 460px); overflow-y: auto; z-index: 30;
}
.results li { display: grid; grid-template-columns: 50px 1fr; column-gap: 8px; padding: 5px 8px; border-radius: 4px; cursor: pointer; }
.results li[aria-selected="true"] { background: var(--c-panel); }
.results .rt { grid-row: span 2; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); padding-top: 2px; }
.results .rn { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results .rd { font-size: 11.5px; color: var(--c-muted); font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results .rempty { display: block; color: var(--c-muted); cursor: default; }
.results .rall { display: block; font-size: 12px; color: var(--c-red); }

.crumbs { padding-top: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--c-rule-strong); }
.crumbs a { color: var(--c-muted) !important; }

/* ---------------------------------------------------------------- page structure */

main { padding-bottom: 40px; }
.ph { padding: 18px 0 18px; }
.detail .ph { border-bottom: 1px solid var(--c-rule); margin-bottom: 18px; }
.narrow { max-width: 920px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.main-col, .side-col { min-width: 0; }
.block { margin: 0 0 26px; }
.block > h2 { font-size: 17px; margin-bottom: 10px; }
.block > h3, .two h3 { font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); font-weight: 500; margin: 16px 0 6px; }
.block p { max-width: 74ch; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.two > section > h3 { margin-top: 0; }
.more { font-size: 12.5px; margin-top: 8px; }
.table-note { font-size: 12px; color: var(--c-muted); margin-top: 10px; max-width: 90ch; }
ul.plain { margin: 0; padding-left: 18px; }
ul.plain li { margin: 2px 0; }

.def { border-left: 3px solid var(--c-red); background: var(--c-panel); padding: 10px 14px; margin: 12px 0; max-width: 72ch; }
.def dfn { font-style: normal; font-weight: 700; font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 3px; }
.def p { margin: 0; color: var(--c-ink2); }

.note { border: 1px solid var(--c-rule); border-left: 3px solid var(--c-red); background: var(--c-card); padding: 10px 14px; margin: 0 0 26px; }
.note h2 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); font-weight: 500; margin-bottom: 6px; }
.note p { margin: 0 0 6px; }
.note p:last-child { margin: 0; }

/* facts list: a dense two-column key/value table */
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); font-size: 13px; }
.facts > div { display: contents; }
.facts dt, .facts dd { padding: 4px 0; border-bottom: 1px solid var(--c-rule-soft); margin: 0; }
.facts dt { color: var(--c-muted); padding-right: 16px; white-space: nowrap; }
.facts > div:nth-child(3n) dt, .facts > div:nth-child(3n) dd { border-bottom-color: var(--c-rule); }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.facts .meter { margin-right: 6px; vertical-align: -1px; }

/* ---------------------------------------------------------------- data tables */

.table-wrap { width: 100%; }
.dt { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.35; }
.dt th {
  text-align: left; font-weight: 500; font-size: 11px; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 8px 4px; border-bottom: 1px solid var(--c-rule-strong); white-space: nowrap;
  background: var(--c-paper); position: sticky; top: 0; z-index: 1;
}
.dt td { padding: 3px 8px; border-bottom: 1px solid var(--c-rule-soft); vertical-align: baseline; }
.dt tr.r3 td { border-bottom-color: var(--c-rule); }
.dt th:first-child, .dt td:first-child { padding-left: 2px; }
.dt th:last-child, .dt td:last-child { padding-right: 2px; }
.dt tbody tr:hover td { background: var(--c-panel); }
.dt .num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12.5px; }
.dt th.num { font-family: var(--font-sans); font-size: 11px; }
.dt td.name { font-weight: 500; }
.dt td.rank { color: var(--c-muted); width: 1%; }
.dt td.band { width: 1%; }
.dt td.flags { white-space: nowrap; }
.dt td.flags .badge + .badge { margin-left: 3px; }
.dt td.src { white-space: nowrap; }
.dt td.wrap-cell { white-space: normal; }
.dt td.muted { color: var(--c-muted); }
.dt th button {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
}
.dt th button:hover { color: var(--c-ink); }
.dt th button:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }
.dt th.num button { flex-direction: row-reverse; }
.dt th[data-sort] button::after { content: "↕"; opacity: .35; font-size: 10px; }
.dt th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; color: var(--c-red); }
.dt th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; color: var(--c-red); }
.dt th[aria-sort] { color: var(--c-ink); }

/* heat meter: five bars that fill up to the band */
.meter { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; vertical-align: -1px; }
.meter i { width: 3px; background: var(--c-meter-off); border-radius: 1px; }
.meter i:nth-child(1) { height: 4px; }
.meter i:nth-child(2) { height: 5.75px; }
.meter i:nth-child(3) { height: 7.5px; }
.meter i:nth-child(4) { height: 9.25px; }
.meter i:nth-child(5) { height: 11px; }
.meter i.on { background: var(--c-red); }

/* ---------------------------------------------------------------- catalog filters */

.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 8px 0 10px; border-top: 1px solid var(--c-rule); margin-bottom: 4px;
}
.filters .input, .filters .select { height: 30px; font-size: 12.5px; }
.filters .f-q { width: 240px; }
.filters .select { max-width: 200px; }
.filters .checks { display: flex; gap: 10px; border: 0; margin: 0 4px; padding: 0; font-size: 12.5px; }
.filters .checks label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; cursor: pointer; }
.filters .checks .input { width: 15px; height: 15px; flex: none; padding: 0; }
.filters .btn { height: 30px; }
.filters .count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.empty { padding: 16px 0; color: var(--c-muted); }

/* ---------------------------------------------------------------- heat ladder */

.ladder { margin: 0; --lcols: 190px minmax(0, 1fr) 76px 76px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--c-ink2); margin-bottom: 6px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .legend-note { color: var(--c-muted); margin-left: auto; font-family: var(--font-mono); font-size: 11px; }
.key { display: inline-block; }
.key-bar { width: 18px; height: 8px; border-radius: 3px; background: var(--c-range); }
.key-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-dot); }
.lg { border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
.lr { display: grid; grid-template-columns: var(--lcols); column-gap: 10px; align-items: center; min-height: 19px; }
.lr + .lr { border-top: 1px solid transparent; }
.lr:hover { background: var(--c-panel); }
.lr-axis:hover, .lr-dots:hover { background: none; }
.ln { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; color: var(--c-ink); text-decoration: none !important; }
a.ln:hover { color: var(--c-red) !important; }
.ln small { font-family: var(--font-mono); color: var(--c-muted); font-size: 11px; margin-left: 4px; }
.lv { font-family: var(--font-mono); font-size: 11.5px; text-align: right; color: var(--c-ink2); font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 2px; }
/* Gridlines at 100, 1K, 10K, 100K and 1M SHU. The scale runs 10^1.5 to 10^6.7
   (build.mjs LOG_LO and LOG_HI), so decades repeat every 19.2308% and the
   first sits at 9.6154%. Change both files together. */
.lt {
  position: relative; align-self: stretch; min-height: 19px;
  background-image: repeating-linear-gradient(to right,
    transparent 0, transparent calc(9.6154% - 1px),
    var(--c-grid) calc(9.6154% - 1px), var(--c-grid) 9.6154%,
    transparent 9.6154%, transparent 19.2308%);
}
.lt .bar { position: absolute; top: 50%; height: 9px; margin-top: -4.5px; min-width: 3px; border-radius: 3px; background: var(--c-range); }
.lt .pk { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--c-range); transform: rotate(45deg); border-radius: 1px; box-shadow: 0 0 0 2px var(--c-paper); }
.lt .dot { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c-dot); box-shadow: 0 0 0 2px var(--c-paper); }
.lt .dot.sc { width: 6px; height: 6px; margin: -3px 0 0 -3px; opacity: .55; box-shadow: none; }
.lt .dot.sc:hover { opacity: 1; box-shadow: 0 0 0 2px var(--c-paper); }
.lt .claim.bar { background: var(--c-dot); }
.lt .dot.floor::after { content: ""; position: absolute; left: 10px; top: 3px; width: 14px; height: 2px; background: var(--c-dot); opacity: .5; }
.lt .none { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--c-muted); font-style: italic; }
.lr-axis { min-height: 22px; }
.lr-axis .lt { background: none; }
.lr-axis .lt span { position: absolute; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 10.5px; color: var(--c-muted); }
.lr-axis .lv { font-family: var(--font-sans); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.lr-dots { min-height: 34px; border-bottom: 1px solid var(--c-rule); }
.lr-dots .lt .dot { top: auto; margin-top: 0; }
.lr.is-hl { background: var(--c-red-soft); }
.lr.is-hl .ln { font-weight: 600; }
.lr.is-claim { border-bottom: 1px solid var(--c-rule); }
.lr.is-claim .ln { font-weight: 600; }
.ladder figcaption { font-size: 12px; color: var(--c-muted); margin-top: 8px; max-width: 90ch; }
[data-tip] { cursor: default; }

.tip {
  position: fixed; z-index: 60; pointer-events: none;
  background: var(--c-ink); color: var(--c-paper);
  font-size: 12px; line-height: 1.35; padding: 5px 8px; border-radius: 4px;
  max-width: 280px; box-shadow: 0 4px 14px rgb(0 0 0 / .18);
}

/* ---------------------------------------------------------------- home */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; padding-top: 40px; padding-bottom: 32px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 15ch; }
.hero .lede { font-size: 17px; }
.hero-search { display: flex; gap: 8px; margin: 18px 0 10px; max-width: 560px; }
.hero-search .input { flex: 1; height: 40px; font-size: 15px; }
.hero-search .btn { height: 40px; padding: 0 16px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--c-ink); }
.stats > div { padding: 10px 0 10px; border-bottom: 1px solid var(--c-rule); }
.stats > div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--c-rule); }
.stats > div:nth-child(even) { padding-left: 14px; }
.stats > div:nth-last-child(-n+2) { border-bottom-color: var(--c-rule-strong); }
.stats dt { font-size: 11.5px; color: var(--c-muted); }
.stats dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 30px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats dd a { text-decoration: none !important; }
.stats dd a:hover { color: var(--c-red) !important; }

.sec { padding-top: 34px; padding-bottom: 8px; }
.sec-head { border-top: 2px solid var(--c-ink); padding-top: 10px; margin-bottom: 14px; }
.sec-head h2 { max-width: 40ch; }
.sec-sub { color: var(--c-muted); margin: 6px 0 0; max-width: 88ch; }
.prose p { max-width: 70ch; }
.prose .def { margin-top: 0; }

.faq { border-top: 1px solid var(--c-rule); max-width: 90ch; }
.faq details { border-bottom: 1px solid var(--c-rule); }
.faq summary { cursor: pointer; padding: 9px 0; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--c-muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 12px; color: var(--c-ink2); max-width: 80ch; }

/* ---------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--c-rule); background: var(--c-panel); padding: 26px 0 18px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.foot-about p { color: var(--c-ink2); margin: 8px 0 0; max-width: 40ch; }
.foot-about .mono { font-size: 12px; color: var(--c-muted); }
.foot nav { display: flex; flex-direction: column; gap: 4px; }
.foot nav h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin-bottom: 4px; }
.foot nav a { text-decoration: none; color: var(--c-ink2); overflow-wrap: anywhere; }
.fine { font-size: 11.5px; color: var(--c-muted); margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--c-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.fine p { margin: 0; }
.fine .credit a { color: var(--c-ink2); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > div:nth-child(odd), .stats > div:nth-child(even) { padding: 10px 12px 10px 0; border-right: 0; }
  .stats > div:nth-last-child(-n+3) { border-bottom-color: var(--c-rule-strong); }
}

@media (max-width: 960px) {
  .h-md { display: none; }
  .search { width: 240px; }
  .ladder { --lcols: 150px minmax(0, 1fr) 64px 64px; }
}

@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; gap: 6px 14px; padding-top: 8px; padding-bottom: 6px; }
  .search { width: auto; flex: 1 1 180px; }
  .nav { order: 3; width: 100%; margin: 0 -9px; }
  .nav-long { display: none; }
  .nav-short { display: inline; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .filters .f-q { width: 100%; }
  .filters .select { flex: 1 1 140px; max-width: none; }
  .filters .count { margin-left: 0; }
  .dt th { position: static; }
  .table-wrap { overflow-x: auto; }
}

@media (max-width: 640px) {
  .dt th { white-space: normal; }
  :root { --gutter: 16px; }
  .h-sm { display: none; }
  .ladder { --lcols: 104px minmax(0, 1fr); }
  .ladder .lv { display: none; }
  .ln { font-size: 11px; }
  .legend .legend-note { margin-left: 0; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-last-child(-n+3) { border-bottom-color: var(--c-rule); }
  .stats > div:nth-last-child(-n+2) { border-bottom-color: var(--c-rule-strong); }
  .stats dd { font-size: 24px; }
  .hero { padding-top: 22px; }
  .hero-search { flex-direction: column; }
  .search .kbd { display: none; }
  .dt { font-size: 12.5px; }
  .dt td, .dt th { padding-left: 5px; padding-right: 5px; }
  .dt td.name { white-space: normal; }
  .facts { grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); }
  .facts dt { white-space: normal; }
  .brand { font-size: 17px; }
}

@media print {
  .top, .foot, .filters, .tip { display: none !important; }
  .dt th { position: static; }
}
