/* BoxScout. Layout idea: a quiet market board. Identity comes from the hobby itself:
   the label strip of a graded-card slab on every card, and one thin refractor (foil) line
   as the only decoration. No external requests: the font files are served by the site. */

/* Inter (SIL Open Font License 1.1, see inter-LICENSE.txt). One variable file per character set:
   basic Latin, and extended Latin for the Polish letters. Weights 100-900 come from the same file. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("inter-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;
}

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #edf0f5;
  --ink: #0d1320;
  --ink-2: #414b5e;
  --muted: #667085;
  --line: #e1e6ee;
  --line-2: #cbd3df;
  --accent: #1f4fe0;
  --chart: #1f4fe0;
  --good: #0a7d4f;
  --good-bg: #e3f5eb;
  --bad: #b3261e;
  --btn: #0d1320;
  --btn-ink: #ffffff;
  --foil: linear-gradient(90deg, #38c5f2, #7c7cff 34%, #ee6bd0 67%, #ffb44a);
  --foil-v: linear-gradient(180deg, #38c5f2, #7c7cff 34%, #ee6bd0 67%, #ffb44a);     /* the same foil for upright bars */
  --tile-l: 93%;            /* lightness of the foil tiles */
  --tile-s: 62%;
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .2));
  --glass-line: rgba(255, 255, 255, .95);
  --glass-hi: rgba(255, 255, 255, 1);
  --glass-ring: rgba(13, 19, 32, .1);
  --glass-bar: linear-gradient(140deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));   /* the top bar: denser, text sits on it */
  --band: rgba(13, 19, 32, .034);        /* the faint layer under every other section of the home page */
  --band-line: rgba(13, 19, 32, .075);
  --amb: .17;               /* strength of the soft colour behind the glass */
  --h: 220;                 /* hue of a foil tile; each sport class overrides it */
  --ic-s: 64%; --ic-l: 35%;                         /* a sport's icon in its own colour: the line... */
  --ic-bg-s: 78%; --ic-bg-l: 95%; --ic-ln-l: 87%;   /* ...and the small tile under it in the menu of sports */
  --shadow: 0 1px 2px rgba(13, 19, 32, .04), 0 10px 28px rgba(13, 19, 32, .06);
  --radius: 14px;
  --radius-s: 9px;
  --wrap: 1200px;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", "JetBrains Mono", Consolas, "Roboto Mono", monospace;
  color-scheme: light;
}
/* Dark theme: neutral near-black greys, no blue cast. Keep the two blocks below identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c; --surface: #151516; --surface-2: #1e1e20; --ink: #f2f2f3; --ink-2: #c4c4c8; --muted: #8e8e93;
    --line: #272729; --line-2: #3a3a3d; --accent: #e6e6e8; --chart: #5f8cf0; --good: #4fd08f;
    --good-bg: rgba(79, 208, 143, .13); --bad: #ff8f85; --btn: #f2f2f3; --btn-ink: #0b0b0c;
    --tile-l: 18%; --tile-s: 26%; --shadow: none; color-scheme: dark;
    --ic-s: 74%; --ic-l: 72%; --ic-bg-s: 36%; --ic-bg-l: 16%; --ic-ln-l: 25%;
    --glass: linear-gradient(140deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    --glass-line: rgba(255, 255, 255, .16); --glass-hi: rgba(255, 255, 255, .18); --glass-ring: rgba(0, 0, 0, .5); --amb: .045;
    --glass-bar: linear-gradient(140deg, rgba(36, 36, 38, .86), rgba(21, 21, 22, .74));
    --band: rgba(255, 255, 255, .03); --band-line: rgba(255, 255, 255, .075);
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0c; --surface: #151516; --surface-2: #1e1e20; --ink: #f2f2f3; --ink-2: #c4c4c8; --muted: #8e8e93;
  --line: #272729; --line-2: #3a3a3d; --accent: #e6e6e8; --chart: #5f8cf0; --good: #4fd08f;
  --good-bg: rgba(79, 208, 143, .13); --bad: #ff8f85; --btn: #f2f2f3; --btn-ink: #0b0b0c;
  --tile-l: 18%; --tile-s: 26%; --shadow: none; color-scheme: dark;
  --ic-s: 74%; --ic-l: 72%; --ic-bg-s: 36%; --ic-bg-l: 16%; --ic-ln-l: 25%;
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  --glass-line: rgba(255, 255, 255, .16); --glass-hi: rgba(255, 255, 255, .18); --glass-ring: rgba(0, 0, 0, .5); --amb: .045;
  --glass-bar: linear-gradient(140deg, rgba(36, 36, 38, .86), rgba(21, 21, 22, .74));
    --band: rgba(255, 255, 255, .03); --band-line: rgba(255, 255, 255, .075);
}

* { box-sizing: border-box; }
/* "hidden" must win over any display rule below. Without this line a class such as .pcard
   (display: flex) keeps a filtered-out card on screen while the counter says it is gone. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; color: var(--ink); font: 16px/1.5 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
/* soft colour far behind the page, so the glass rims have something to pick up */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58vw 46vh at 8% -6%, hsl(198 92% 58% / var(--amb)), transparent 72%),
    radial-gradient(48vw 48vh at 96% 8%, hsl(266 90% 66% / var(--amb)), transparent 72%),
    radial-gradient(62vw 56vh at 62% 108%, hsl(328 88% 64% / var(--amb)), transparent 72%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.8vw, 54px); }
h2 { font-size: 24px; }
h3 { font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* the mono voice: labels, counts, anything that reads like a slab label */
.kicker, .slab, .eyebrow, .chip, .tile > span, .ph-format, table.list th, .chips a b, .crumbs { font-family: var(--mono); }

/* ---------- header: one floating glass bar, the same material as the product frames */
.top { position: sticky; top: 0; z-index: 30; padding-top: 10px; }
.bar {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px 8px 16px; border-radius: 15px; position: relative;
  background: var(--glass-bar); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-ring), 0 12px 32px rgba(13, 19, 32, .09);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
}
.bar::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--foil); opacity: .9; }
.logo { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); display: flex; align-items: center; gap: 9px; flex: none; margin-right: 6px; }
.logo:hover { text-decoration: none; }
/* the mark: a slab, label strip on top */
.logo i { width: 17px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; position: relative; display: inline-block; }
.logo i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--foil); border-bottom: 2px solid var(--ink); }
/* if the menu does not fit it scrolls sideways; the right edge fades to show there is more */
.nav { display: flex; gap: 1px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; align-items: center; padding-right: 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink-2); font-size: 14px; padding: 8px 7px; border-radius: 9px; position: relative; flex: none; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); text-decoration: none; }
.nav a[aria-current] { color: var(--ink); font-weight: 600; }
.nav a[aria-current]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--foil); }
.nav .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 6px; flex: none; }
.nav a.sec { color: var(--muted); }
.nav a.sec[aria-current] { color: var(--ink); }
/* the sports: one button in the bar; its list is a column under it, with each sport's icon on a tinted
   tile (app.js opens it and puts it under the button). It hangs on the header's .wrap, not inside the
   bar: the bar is glass already, and glass inside glass does not blur what is behind it. */
.nav a.navdd { display: inline-flex; align-items: center; gap: 3px; padding-right: 5px; cursor: pointer; }
.navdd .chev { flex: none; color: var(--muted); transition: transform .15s; }
.nav a.navdd[aria-expanded="true"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.navdd[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--ink); }
.top .wrap { position: relative; }
.smenu {
  position: absolute; z-index: 31; top: calc(100% + 8px); left: 24px; width: max-content; min-width: 272px; max-width: 360px; max-height: min(600px, calc(100vh - 96px));
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding: 6px; border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-ring), 0 18px 44px rgba(8, 10, 16, .2);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
}
.smenu[hidden] { display: none; }
.smenu a { display: flex; align-items: center; gap: 11px; padding: 5px 12px 5px 5px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; }
.smenu a:hover, .smenu a:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); text-decoration: none; }
.smenu a[aria-current] { color: var(--ink); font-weight: 650; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.smenu .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smenu b { flex: none; font: 400 12px var(--mono); color: var(--muted); }
.smenu .rule { display: block; height: 1px; margin: 6px 8px; background: var(--line); }
.spi {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px;
  color: hsl(var(--h) var(--ic-s) var(--ic-l)); background: hsl(var(--h) var(--ic-bg-s) var(--ic-bg-l));
  border: 1px solid hsl(var(--h) var(--ic-bg-s) var(--ic-ln-l));
}
.spi.plain { color: var(--ink-2); background: var(--surface-2); border-color: var(--line); }
/* search inside the bar: compact, grows when used */
.bar .hsearch { margin: 0; flex: none; width: 170px; max-width: none; transition: width .18s; }
.bar .hsearch:focus-within { width: 290px; }
.bar .hsearch input {
  font-size: 14px; padding: 9px 12px 9px 34px; border-radius: 10px; box-shadow: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a94a8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 11px 50% / 15px;
}
.bar .hsearch .results { left: auto; right: 0; width: min(420px, 86vw); }
.prefs { display: flex; gap: 6px; align-items: center; flex: none; }
.prefs select { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 8px; font: 12px var(--mono); cursor: pointer; }
/* two-way switches: currency and language */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: var(--surface); }
.seg button, .seg a { font: 12px var(--mono); padding: 8px 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; line-height: 1; }
.seg button:hover, .seg a:hover { color: var(--ink); text-decoration: none; }
.seg button[aria-pressed="true"], .seg a.on { background: var(--ink); color: var(--bg); }
.icon { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--ink); cursor: pointer; }
.icon:hover { border-color: var(--ink); }

/* ---------- hero */
.hero { padding: 52px 0 26px; }
.eyebrow, .live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.live { display: block; font-family: var(--mono); margin: 0 0 16px; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-bg); margin: 0 11px 0 4px; vertical-align: 1px; }
.hero h1 { max-width: 16ch; }
.hero h1 mark { color: inherit; background: var(--foil) no-repeat 0 94% / 100% .14em; padding: 0; }
.hero .sub { color: var(--ink-2); max-width: 60ch; margin: 16px 0 0; font-size: 17px; }
.search { margin-top: 24px; position: relative; max-width: 620px; }
.search input { width: 100%; font: 17px var(--sans); padding: 15px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.search input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(13, 19, 32, .18); max-height: 420px; overflow: auto; display: none; }
.results.open { display: block; }
.results a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.results a:last-child { border-bottom: 0; }
.results a:hover { background: var(--surface-2); text-decoration: none; }
.results a b { font-weight: 650; white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chips a { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.chips a:hover { border-color: var(--ink); text-decoration: none; }
.chips a b { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 7px; }

/* ---------- sections and cards */
section { padding: 26px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.head p { margin: 6px 0 0; color: var(--ink-2); max-width: 68ch; }
/* Where one block ends and the next begins. A section title starts with a short foil bar (the
   same mark as on the best offer and on the plan's stages). The home page is laid in layers:
   every other section sits on a faint band edged with hairlines, with more air around each. */
.head h2:not(.h-small)::before { content: ""; display: inline-block; width: 4px; height: .82em; margin-right: 11px; border-radius: 2px; background: var(--foil-v); vertical-align: -.06em; }
.head h2:not(.h-small) + p { padding-left: 15px; }
main[data-page="home"] > section { padding: 40px 0 44px; }
main[data-page="home"] > section:nth-of-type(odd) { background: var(--band); border-block: 1px solid var(--band-line); }
main[data-page="home"] > section:last-of-type { padding-bottom: 30px; }
.deals > section { padding: 34px 0 38px; }
.deals > section:nth-of-type(odd) { background: var(--band); border-block: 1px solid var(--band-line); }
/* a note where a list has nothing to show yet: a quiet frame, so the section still has a shape */
.quiet.boxed { max-width: none; padding: 15px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 14px; }
/* A product is shown like a card in a slab: a glass rim outside, a filled panel inside. */
.pcard, .glass {
  padding: 8px; border-radius: 15px; background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-ring), var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
.pcard { display: flex; flex-direction: column; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.pcard .in { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; flex: 1; }
.pcard:hover { text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--line-2), 0 14px 34px rgba(13, 19, 32, .12); }
.glass .pic { border-radius: 9px; }
/* the slab label */
.slab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 36px; }
.slab span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.slab .season { white-space: nowrap; }
/* when the gap badge is showing, it replaces the season */
.slab .season:has(+ .badge:not([style*="none"])) { display: none; }
.badge { background: var(--good-bg); color: var(--good); font: 700 11.5px var(--mono); letter-spacing: 0; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.pcard .pic { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #fff; }
.pcard .pic img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.pcard .body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard .name { font-weight: 600; font-size: 15px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .from { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); }
.pcard .price { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; display: block; }
.pcard .foot { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

/* no shop photo: a foil tile, tinted by sport, with the brand and the box format */
.pcard .pic.none, .phero .pic.none {
  flex-direction: column; gap: 7px; text-align: center; padding: 12px; border: 0;
  background:
    repeating-linear-gradient(118deg, transparent 0 11px, hsl(var(--h) 60% 50% / .05) 11px 12px),
    linear-gradient(135deg, hsl(var(--h) var(--tile-s) var(--tile-l)), hsl(calc(var(--h) + 46) var(--tile-s) var(--tile-l)) 52%, hsl(calc(var(--h) - 34) var(--tile-s) var(--tile-l)));
}
.pic.none .ph-brand { font-family: var(--display); font-weight: 750; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pic.none .ph-format { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.phero .pic.none .ph-brand { font-size: 42px; }
.phero .pic.none .ph-format { font-size: 13.5px; }
.s-football { --h: 152; } .s-f1 { --h: 8; } .s-basketball { --h: 28; } .s-american-football { --h: 46; }
.s-baseball { --h: 205; } .s-hockey { --h: 186; } .s-mma { --h: 348; } .s-wrestling { --h: 276; }
.s-tennis { --h: 84; } .s-motorsport { --h: 18; } .s-other { --h: 230; }

.dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: var(--good); vertical-align: 1px; }
.dot.off { color: var(--muted); }
.dot.off::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.chip { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); vertical-align: 1px; }
.chip.warn { border-color: var(--bad); color: var(--bad); }
.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); font: 600 14.5px var(--sans); padding: 10px 16px; border-radius: var(--radius-s); white-space: nowrap; border: 1px solid var(--btn); cursor: pointer; }
.btn:hover { text-decoration: none; opacity: .88; }
.btn.big { font-size: 17px; padding: 14px 24px; border-radius: 11px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); opacity: 1; }
.more { font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- product page */
.crumbs { font-size: 12px; letter-spacing: .04em; color: var(--muted); padding: 20px 0 14px; text-transform: uppercase; }
.crumbs a { color: var(--muted); }
.phero { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 34px; align-items: start; }
.phero .pic { background: #fff; border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 18px; border: 1px solid var(--line); }
.phero .pic img { width: 100%; height: 100%; object-fit: contain; }
.phero .glass .pic { border-radius: 9px; }
.phero h1 { font-size: clamp(27px, 3.4vw, 40px); margin-top: 12px; max-width: 22ch; }
.phero .lede { color: var(--ink-2); margin: 14px 0 0; max-width: 60ch; }
.bigprice { font-family: var(--display); font-size: clamp(42px, 6vw, 62px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 22px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.bigprice small { font: 13px var(--mono); letter-spacing: 0; color: var(--muted); }
.cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.flag { font-size: 13px; padding: 5px 10px; border-radius: 7px; background: var(--surface-2); color: var(--ink-2); }
.flag.hot { background: var(--good-bg); color: var(--good); font-weight: 600; }
/* stat row: one bordered strip, cells divided by hairlines */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { padding: 16px 18px; border: 0; border-radius: 0; border-right: 1px solid var(--line); background: transparent; }
.tile:last-child { border-right: 0; }
.tile > span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile b { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-top: 5px; }
.tile small { color: var(--ink-2); font-size: 12.5px; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar select, .toolbar input[type=text] { font: 14px var(--sans); padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
.toolbar label { font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.offers { display: flex; flex-direction: column; }
.offer { display: grid; grid-template-columns: 1.4fr .9fr 1fr auto; gap: 16px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); position: relative; }
.offer:last-child { border-bottom: 0; }
.offer.best::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--foil); background-size: 100% 300%; }
.offer .shop { font-weight: 600; font-size: 16px; }
.offer .shop small { display: block; font: 400 12px var(--mono); color: var(--muted); margin-top: 3px; }
.bestchip { display: none; margin-left: 6px; background: var(--good-bg); color: var(--good); font: 700 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; vertical-align: 2px; }
.offer.best .bestchip { display: inline-block; }
.offer .p { text-align: right; }
.offer .p b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.offer .p small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.offer.oos { opacity: .6; }
.offer.oos .btn { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.offer[hidden] { display: none; }
/* the price with the cheapest delivery the shop states, under the shop's own price */
.offer .p .dlv { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.offer .p .dlv.free { color: var(--good); font-weight: 600; }
.offer .p .dlv[hidden], .flag[hidden] { display: none; }
.dlvcell { white-space: nowrap; line-height: 1.5; }
.dlvcell b { font-weight: 600; }
.note { font-size: 13px; color: var(--muted); padding: 13px 18px; border-top: 1px solid var(--line); }
table.kv { width: 100%; border-collapse: collapse; }
table.kv td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
table.kv tr:last-child td { border-bottom: 0; }
table.kv td:first-child { color: var(--muted); width: 42%; }
table.kv td:last-child { font-weight: 600; }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.list td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.list tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; }

/* ---------- chart */
.chartbox { padding: 16px 18px 8px; position: relative; }
.chartbox svg { width: 100%; height: 250px; display: block; overflow: visible; }
.chartbox .grid { stroke: var(--line); stroke-width: 1; display: block; }
.chartbox .axis { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.chartbox .line { fill: none; stroke: var(--chart); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chartbox .dotm { fill: var(--chart); stroke: var(--surface); stroke-width: 2; }
/* the stretch known only from Internet Archive copies: dashed, a ring at each copy */
.chartbox .line.arch { stroke-dasharray: 5 5; stroke-width: 1.6; opacity: .7; }
.chartbox .dota { fill: var(--surface); stroke: var(--chart); stroke-width: 1.6; }
.chartbox .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font: 12.5px var(--mono); padding: 6px 9px; border-radius: 6px; transform: translate(-50%, -125%); white-space: nowrap; display: none; z-index: 5; }
.empty { padding: 24px 18px; color: var(--ink-2); }
.ranges { display: flex; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-s); overflow: hidden; }
.ranges button { font: 12.5px var(--mono); padding: 7px 11px; border: 0; border-right: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.ranges button:last-child { border-right: 0; }
.ranges button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
details.tbl { padding: 0 18px 14px; font-size: 13px; color: var(--ink-2); }
details.tbl table { margin-top: 8px; border-collapse: collapse; }
details.tbl td { padding: 3px 18px 3px 0; }

/* ---------- prose, footer */
.prose { max-width: 72ch; padding-bottom: 20px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin: 30px 0 8px; font-size: 20px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
/* the plan on the Progress page: one framed block per stage, numbered in the mono voice */
.stages { display: grid; gap: 12px; margin-top: 16px; }
.stage { padding: 16px 18px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--foil-v); }
.stage .kicker { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.stage h3 { margin: 6px 0 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--ink-2); margin: 8px 0 0; }
/* The footer: a block about the site and three columns of links, the note about links to shops in
   a frame of its own, then the small print in a row. It sits on the same faint band as every other
   section of the home page, so the page ends on a floor instead of trailing off. */
footer { margin-top: 44px; border-top: 1px solid var(--band-line); background: var(--band); padding: 40px 0 36px; color: var(--muted); font-size: 12.5px; }
footer p { margin: 0; }
/* the home page ends on a banded section with its own hairline: no gap between the two */
main[data-page="home"] + footer { margin-top: 0; }
.fcols { display: grid; grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(130px, 1fr)); gap: 32px 44px; }
.fabout .logo { display: inline-flex; margin: 0; }
.fabout p { margin-top: 12px; max-width: 34ch; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fabout .fstamp { margin-top: 10px; font: 11.5px var(--mono); letter-spacing: .02em; color: var(--muted); }
.fcol h3 { margin: 4px 0 10px; font: 650 14px var(--display); letter-spacing: -.005em; color: var(--ink); }
.fcol a { display: block; width: fit-content; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.fcol a:hover { color: var(--ink); }
.fnote { margin-top: 34px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.fbase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px 44px; margin-top: 22px; line-height: 1.55; }

/* ---------- catalogue filters: find, narrow, sort */
.filters { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; }
.frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pick { display: inline-flex; align-items: center; height: 42px; padding: 0 6px 0 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 11px; color: var(--ink-2); }
.pick:focus-within { border-color: var(--ink); }
.pick .ico { margin-right: 2px; }
.pick select, .pick input { border: 0; background: transparent; font: 14.5px var(--sans); color: var(--ink); height: 100%; padding: 0 6px; outline: none; min-width: 0; }
.pick.grow { flex: 1 1 240px; }
.pick.grow input { width: 100%; }
/* drop-down lists. The closed control is the .pick frame with our own arrow. With a mouse app.js
   swaps the system menu (square, ignores the theme) for a list in the site's own glass; on touch
   screens the system picker stays, it is the easier one under a finger. */
.pick { position: relative; }
.pick select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a94a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 6px center / 14px;
}
.pick.slim { height: 38px; padding: 0 4px 0 6px; border-radius: var(--radius-s); }
.pick.slim select, .pick.slim .dd-btn, .pick.slim .dd-opt { font-size: 14px; }
.pick.mono { height: 34px; }
.pick.mono select, .pick.mono .dd-btn, .pick.mono .dd-opt { font: 12px var(--mono); }
.pick.on, .pick.open { border-color: var(--ink); }                 /* a filter that is narrowing the list stands out */
.pick.on select, .pick.on .dd-cur { font-weight: 600; }
select.dd-native { display: none !important; }
.pick.dd { cursor: pointer; }
.pick.dd:has(.dd-btn:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 100%; padding: 0 6px; border: 0; background: transparent; color: var(--ink); font: 14.5px var(--sans); text-align: left; cursor: pointer; outline: none; }
/* the hidden .dd-size lists every option, so the control is as wide as its longest one and does not jump */
.dd-val { display: inline-grid; min-width: 0; flex: 1; }
.dd-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-size { display: grid; height: 0; overflow: hidden; visibility: hidden; }
.dd-size i { font-style: normal; font-weight: 600; white-space: nowrap; }
.dd-chev { flex: none; width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.pick.open .dd-chev { transform: rotate(180deg); color: var(--ink); }
.dd-menu {
  display: none; position: absolute; z-index: 25; top: calc(100% + 7px); left: -1px; min-width: calc(100% + 2px); max-height: 420px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding: 5px; border-radius: 13px; cursor: default;
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-ring), 0 18px 44px rgba(8, 10, 16, .2);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
}
.pick.open .dd-menu { display: block; }      /* no fade-in: a half-drawn list is worse than an instant one */
.dd-menu.right { left: auto; right: -1px; }
.dd-menu.up { top: auto; bottom: calc(100% + 7px); }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 10px 9px 12px; border-radius: 8px; font: 14.5px var(--sans); color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.dd-opt.act { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.dd-opt[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.dd-opt svg { flex: none; width: 15px; height: 15px; visibility: hidden; }
.dd-opt[aria-selected="true"] svg { visibility: visible; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } }
.sortbar { display: inline-flex; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: var(--surface); }
.sortbar button { display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 0; border-right: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 14.5px var(--sans); cursor: pointer; }
.sortbar button:last-child { border-right: 0; }
.sortbar button:hover { color: var(--ink); }
.sortbar button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.sortbar .ico, .tog .ico { margin-right: 0; color: inherit; }
.sortbar .dir { width: 14px; height: 14px; opacity: .45; transition: transform .15s; }
.sortbar button[aria-pressed="true"] .dir { opacity: 1; }
.sortbar button[data-dir="desc"] .dir { transform: rotate(180deg); }
.tog { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: var(--ink-2); font-size: 14.5px; cursor: pointer; user-select: none; position: relative; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog:hover { color: var(--ink); }
.tog:has(input:checked) { background: var(--good-bg); border-color: var(--good); color: var(--good); font-weight: 600; }
.tog:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.fcount { font: 12.5px var(--mono); color: var(--muted); margin-left: auto; }

/* ---------- the other list: single cards and offers found at one shop, rows instead of cards */
.mlist { display: grid; gap: 8px; }
.mrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.mrow:hover { border-color: var(--ink); text-decoration: none; }
.mrow img { grid-column: 1; width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.mrow > span { grid-column: 2; min-width: 0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.mrow small, .results a small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--good); }
.mrow small.off, .results a small.off { color: var(--muted); }
.mrow b { grid-column: 3; font-size: 16px; font-weight: 650; white-space: nowrap; }
.mrow .go { grid-column: 4; font: 600 13.5px var(--sans); font-style: normal; padding: 8px 12px; border-radius: var(--radius-s); border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.mrow:hover .go { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.mmore { text-align: center; margin: 18px 0 0; }
.morelink { margin: 0; font-size: 14.5px; }
.morelink a { display: inline-flex; align-items: center; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; }
.morelink a:hover { border-color: var(--ink); text-decoration: none; }
.morelink b { font: 400 12px var(--mono); color: var(--muted); margin-left: 7px; }
#catalog + .morelink, .mmore + .morelink { margin-top: 22px; }
/* ---------- watchlist: a star on every card, a counter in the top bar, rows on its own page */
.star path { transition: fill .12s; }
[aria-pressed="true"] > .star path { fill: currentColor; }
.wstar { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink-2); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, border-color .15s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcard:hover .wstar, .wstar:focus-visible, .wstar[aria-pressed="true"] { opacity: 1; }
.wstar:hover, .wstar[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
@media (hover: none) { .wstar { opacity: 1; } }             /* no hover on a phone: the star is always there */
.wlink { position: relative; }
.wlink:hover { text-decoration: none; }
#wcount { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: var(--bg); font: 600 10.5px/17px var(--mono); text-align: center; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wtoggle { display: inline-flex; align-items: center; gap: 8px; }
.wtoggle[aria-pressed="true"] { border-color: var(--ink); }
.wrow { grid-template-columns: 52px minmax(0, 1fr) auto auto; }
.wrow a { color: var(--ink); font-weight: 600; }
.wrow small { color: var(--good); }
.wrow small.up { color: var(--bad); }
.wrow .rm { grid-column: 4; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 18px/1 var(--sans); cursor: pointer; }
.wrow .rm:hover { border-color: var(--ink); color: var(--ink); }
.wempty { display: flex; gap: 12px; align-items: flex-start; max-width: 62ch; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.wempty .star { flex: none; margin-top: 3px; }
/* ---------- account: a person in the top bar (a green dot when signed in), sign-in form, personal page */
.alink { position: relative; }
.alink:hover { text-decoration: none; }
.alink.on::after { content: ""; position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); border: 2px solid var(--bg); }
.whint { margin-top: 16px; }
.whint a { gap: 8px; }
.signbox { display: grid; gap: 14px; max-width: 400px; }
.signbox form { display: grid; gap: 8px; }
.signbox .lab { font-size: 13px; color: var(--ink-2); }
.signbox .pick { display: flex; width: 100%; height: 46px; padding: 0 8px; flex: none; }
.signbox .pick input { flex: 1; width: 100%; font-size: 16px; }
.signbox #code { font: 600 20px var(--mono); letter-spacing: .32em; text-align: center; }
.signbox .btn { cursor: pointer; text-align: center; padding: 12px 16px; }
.signbox .btn:disabled, #acct button:disabled { opacity: .5; cursor: default; }
.signbox .linkbtn { justify-self: start; }
#g-btn { min-height: 44px; }
/* Google's button sits in a frame that knows only a light look. In the dark theme the page says
   "dark", and a browser then paints a frame of the other kind on a solid white sheet: a white box
   around the button (owner saw it on 2 Dec 2026). Telling the frame "light" keeps it see-through. */
#g-btn iframe { color-scheme: light; }
.or { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.fine { margin: 0; font-size: 13px; color: var(--muted); }
.fine a { text-decoration: underline; }
.amsg { max-width: 400px; margin: 14px 0 0; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); font-size: 14.5px; overflow-wrap: anywhere; }
.amsg.bad { border-color: var(--bad); }
#acct-me .head { align-items: center; }
#acct-me .head .btn, .acct-del .btn { cursor: pointer; }
#acct-me .h-small { margin: 8px 0 12px; }
.quiet.acct-del { display: flex; gap: 14px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 40px; }
.acct-del span { flex: 1 1 280px; }
.acct-del .btn.danger { border-color: var(--bad); color: var(--bad); }
/* ---------- price alerts: the bell button, the small form under a box, alerts that came true */
.abell { display: inline-flex; align-items: center; gap: 8px; }
.abell[aria-pressed="true"] { border-color: var(--ink); }
.abell[aria-pressed="true"] .bell path { fill: currentColor; fill-opacity: .18; }
.wrow .abell { gap: 6px; margin-top: 2px; padding: 4px 0; font-size: 12.5px; }      /* in a list row: a quiet line under the name */
.wrow .abell[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.wrow .abell .bell { width: 14px; height: 14px; }
.alertbox { display: grid; gap: 10px; max-width: 520px; margin-top: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.mlist > .alertbox { max-width: none; margin-top: 0; }
.alertbox form { display: grid; gap: 10px; }
.alertbox .lab { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.alertbox .line { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; }
.alertbox .pick { display: flex; flex: none; width: 160px; height: 44px; padding: 0 12px 0 8px; }
.alertbox .pick input { flex: 1; width: 100%; font: 600 16px var(--sans); }
.alertbox .unit { color: var(--muted); font-size: 14.5px; }
.alertbox .btn { cursor: pointer; padding: 11px 16px; }
.alertbox .btn:disabled { opacity: .5; cursor: default; }
.alertbox .chk { display: flex; gap: 9px; align-items: center; font-size: 14.5px; cursor: pointer; }
.alertbox .chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.alertbox .amsg { margin: 0; max-width: none; background: var(--bg); }
#acount { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--good); color: var(--bg); font: 600 10.5px/17px var(--mono); text-align: center; }
.alink.news::after { display: none; }             /* the number takes the place of the "signed in" dot */
.wrow.nrow { grid-template-columns: 52px minmax(0, 1fr) auto; }
.nrow.new { border-color: var(--good); }
.nrow small { color: var(--ink-2); }
.nrow.new small { color: var(--good); }
.wrow.nrow b { font: 12.5px var(--sans); color: var(--muted); }
@media (max-width: 820px) {                       /* on a phone the time goes under the text, the name keeps the width */
  .wrow.nrow { grid-template-columns: 46px minmax(0, 1fr); row-gap: 2px; }
  .wrow.nrow b { grid-column: 2; }
}
.wempty .bell { flex: none; margin-top: 3px; }
#notes:not(:empty) { margin-bottom: 12px; }
#notes-empty { margin-bottom: 12px; }
/* notifications on this device: one line of text, the buttons beside it (under it on a phone) */
.quiet.pushbox { display: flex; gap: 12px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; border-style: solid; background: var(--surface); color: var(--ink-2); }
.pushbox #push-text { flex: 1 1 260px; }
.pushbox .pbtns { display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
.pushbox .btn { cursor: pointer; }
/* ---------- home page: prices on the move, new arrivals, recently viewed */
.quiet { color: var(--muted); font-size: 14.5px; max-width: 70ch; margin: 0; }
.h-small { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.h-small .ico { margin: 0; }
.linkbtn { border: 0; background: transparent; color: var(--muted); font: 13px var(--sans); cursor: pointer; padding: 6px 4px; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mpanel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mhead b { font-size: 15.5px; }
.mhead span { font: 11.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mline { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 16px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mline:last-child { border-bottom: 0; }
.mline:hover { background: var(--surface-2); text-decoration: none; }
.mline span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mline b { font: 600 14px var(--mono); white-space: nowrap; }
.mline b.down { color: var(--good); }                /* cheaper is good news for a buyer */
.mline b.up { color: var(--bad); }
.mpanel .quiet { padding: 14px 16px; }
/* a row of cards that scrolls sideways, ending in a tile that leads to the full list */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 212px); gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip > * { scroll-snap-align: start; }
.moretile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 200px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.moretile:hover { border-color: var(--ink); text-decoration: none; }
.moretile .arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 18px; }
.moretile small { font: 400 12px var(--mono); color: var(--muted); }
.newmark { font-weight: 700; color: #0d1320; background: var(--foil); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.rstrip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rcard { flex: none; width: 124px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.rcard:hover { border-color: var(--ink); text-decoration: none; }
.rcard img, .rcard .noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 7px; }
.rcard .noimg { background: var(--surface-2); }
.rcard span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#recent { padding-top: 6px; }
.archnote { margin: 10px 2px 0; }
/* ---------- deals page: sport chips are buttons, the size of a price cut sits on the label strip */
.chips button { display: inline-flex; align-items: center; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 14px var(--sans); cursor: pointer; }
.chips button:hover { border-color: var(--ink); }
.chips button b { font: 400 12px var(--mono); color: var(--muted); margin-left: 7px; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.chips button[aria-pressed="true"] .ico, .chips button[aria-pressed="true"] b { color: inherit; }
.dchips { margin: 4px 0 6px; }
.cutmark { font-weight: 600; color: var(--good); background: var(--good-bg); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
/* in the search list they sit under their own heading */
.results .rsep { padding: 8px 16px; font: 600 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.s-entertainment { --h: 300; }

/* ---------- rarity: the rarer the box, the more foil on its label */
.rar { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font: 600 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px 3px 5px; border-radius: 6px; margin-top: 5px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; vertical-align: 1px; }
.rar .ico { width: 11px; height: 11px; margin: 0; color: inherit; }
.rar.r1 { color: var(--ink-2); border-color: var(--line-2); }
.rar.r2 { color: var(--ink); border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--foil) border-box; }
.rar.r3 { color: #0d1320; border-color: transparent; background: var(--foil); }
.phero .rar { margin-top: 0; font-size: 10.5px; }

/* ---------- icons and small pictures */
.ico { flex: none; vertical-align: -3px; margin-right: 7px; color: var(--ink-2); }
.chips a { display: inline-flex; align-items: center; }
.ico.sp { color: hsl(var(--h) var(--ic-s) var(--ic-l)); }       /* a sport's icon: the sport's own colour */
.fav { width: 18px; height: 18px; border-radius: 4px; margin-right: 8px; vertical-align: -3px; background: #fff; }
.results a img { width: 38px; height: 38px; flex: none; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.results a { align-items: center; }
.results a span { flex: 1; min-width: 0; }
.prose a, footer p:not(.flinks) a { text-decoration: underline; }

/* ---------- checklists: every card of a set, group by group */
.flag.link { color: var(--ink); background: transparent; border: 1px solid var(--line-2); padding: 4px 10px; }
.flag.link:hover { border-color: var(--ink); text-decoration: none; }
.cltools { margin: 0 0 14px; }
.cltools .chips { margin: 0; }
.clview { display: inline-flex; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: var(--surface); }
.clview button { font: 14.5px var(--sans); padding: 0 14px; border: 0; border-right: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.clview button:last-child { border-right: 0; }
.clview button:hover { color: var(--ink); }
.clview button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.clall { padding: 7px 12px; font-size: 13.5px; }
.clhint { font-size: 13px; max-width: 100ch; }
.clgroups { display: grid; gap: 8px; }
.clg, #checklist { scroll-margin-top: 84px; }       /* a link to a group stops below the fixed bar, not under it */
.clg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clg > summary { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 13px 18px; cursor: pointer; list-style: none; }
.clg > summary::-webkit-details-marker { display: none; }
.clg > summary::before { content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 2px 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.clg[open] > summary::before { transform: rotate(45deg); margin-bottom: 5px; }
.clg > summary:hover .gn { text-decoration: underline; }
.clg .gn { font-weight: 600; }
.clg .gc { margin-left: auto; font: 400 12.5px var(--mono); color: var(--muted); }
.chip.said, .cllist .said { border-color: var(--good); color: var(--good); }
.clrows { border-top: 1px solid var(--line); }
/* the note column has a fixed width: with "auto" a row that has a note would push its team out of line */
.clr { display: grid; grid-template-columns: 96px minmax(0, 1.2fr) minmax(0, 1fr) 118px; gap: 14px; align-items: baseline; padding: 8px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.clrows .clr:last-child { border-bottom: 0; }
.clr .no { font: 12.5px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.clr .pl { font-weight: 600; overflow-wrap: anywhere; }
.clr .tm { color: var(--ink-2); overflow-wrap: anywhere; }
.clr .nt { justify-self: end; font: 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.clfoot { margin: 0; padding: 10px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.clsrc { padding: 14px 18px; font-size: 14px; color: var(--ink-2); }
.clsrc p { margin: 0 0 8px; max-width: 100ch; }
.clsrc p:last-child { margin: 0; }
.clsrc a { text-decoration: underline; }
/* the block on a box page */
.clbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 12px; }
.clbox > div { padding: 16px 18px; }
.clbox > div + div { border-left: 1px solid var(--line); }
.clbox h3 { font-size: 15.5px; }
.clbox p { margin: 4px 0 12px; font-size: 13.5px; color: var(--muted); }
.clbox p:last-child { margin-bottom: 0; }
.cllist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.cllist a { color: var(--ink); font-weight: 600; }
.cllist .n { font: 12px var(--mono); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.cllist .said { font-size: 12.5px; margin-left: 6px; }
/* the list of sets */
/* the list of checklists: one section per sport, its heading the sport's icon tile and name */
.clsec { padding: 22px 0 26px; }
.clsec + .clsec { border-top: 1px solid var(--band-line); }
.clsecs { margin-top: 4px; }
.head h2.h-ico { display: flex; align-items: center; gap: 12px; }
.head h2.h-ico::before { content: none; }
.head h2.h-ico .reln { font-weight: 400; }
.clsets { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.clset { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px 14px 14px; color: var(--ink); }
.clset:hover { border-color: var(--ink); text-decoration: none; }
/* the picture of a box of the set, as the shops show it (their photos stand on white); no photo: a foil tile with the maker */
.clpic { flex: none; width: 86px; height: 86px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.clpic img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.clpic.none {
  border: 0;
  background:
    repeating-linear-gradient(118deg, transparent 0 11px, hsl(var(--h) 60% 50% / .05) 11px 12px),
    linear-gradient(135deg, hsl(var(--h) var(--tile-s) var(--tile-l)), hsl(calc(var(--h) + 46) var(--tile-s) var(--tile-l)) 52%, hsl(calc(var(--h) - 34) var(--tile-s) var(--tile-l)));
}
.clpic.none .ph-brand { font: 750 12.5px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.clbody { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.clset .kick { display: flex; align-items: center; font: 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.clset .kick .ico { width: 14px; height: 14px; margin-right: 6px; }
.clset .nm { font: 650 17px/1.25 var(--display); letter-spacing: -.01em; }
.clset .meta { font-size: 13.5px; color: var(--ink-2); }
.clset .bx { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.clset .bx b { color: var(--ink); }

/* ---------- release calendar: one line per box, its date on a small calendar leaf */
.relmonth { font: 600 12.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px 2px; }
.relgroup + .relgroup { margin-top: 22px; }
.rellist { overflow: hidden; }
.relrow { display: grid; grid-template-columns: 62px 56px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 18px; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.relrow:last-child { border-bottom: 0; }
.relrow:target { background: var(--surface-2); }
.reldate { display: grid; align-content: center; justify-items: center; gap: 1px; width: 62px; height: 62px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); position: relative; overflow: hidden; }
.reldate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--foil); }
.reldate b { font: 700 22px/1 var(--display); letter-spacing: -.02em; }
.reldate span { font: 9.5px/1.15 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.reldate b + span { color: var(--ink-2); font-size: 10.5px; }      /* the month under the day */
.reldate.soft b { font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }      /* a month or a quarter: no day to show */
.reldate.none { border-style: dashed; background: transparent; }
.reldate.none::before { display: none; }
.reldate.none b { color: var(--muted); font-weight: 500; }
.relrow[data-state="passed"] .reldate::before { background: var(--line-2); }
.relrow[data-state="passed"] .reldate b { color: var(--ink-2); }
.relpic { display: block; width: 56px; height: 56px; }
.relpic img, .relpic .noimg { display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.relpic .noimg { background: var(--surface-2); }
.relmain .nm { font: 650 16.5px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
.relmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.relmeta .until { font-weight: 600; color: var(--good); }
.relmeta .st { font: 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); }
.relmeta .st.closed { color: var(--good); background: var(--good-bg); }
.relmeta .warn { color: var(--bad); }
.relmeta a { color: var(--ink); text-decoration: underline; }
.relsays { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.relsays li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; min-width: 0; }
.relsays .fv { flex: none; width: 18px; height: 18px; align-self: center; border-radius: 4px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
/* a shop whose icon did not load keeps the slot: its first letter stands there */
.relsays .fv:empty::before { content: attr(data-i); font: 600 10.5px/1 var(--mono); color: var(--muted); }
.relsays .fav { display: block; margin: 0; }
.relsays .d { font: 12.5px var(--mono); color: var(--ink-2); white-space: nowrap; }
.relsays q { color: var(--ink-2); font-style: italic; overflow-wrap: anywhere; }
.relsays .was { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.relsays .go { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.relsays .go:hover { color: var(--ink); }
.relsays .mute .d { color: var(--muted); }
.relprice { display: grid; justify-items: end; gap: 2px; color: var(--ink); white-space: nowrap; }
.relprice:hover { text-decoration: none; }
.relprice .from { font: 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.relprice b { font: 700 19px var(--display); letter-spacing: -.01em; }
.relprice b.off { color: var(--muted); font-weight: 600; }
.relhome .mline b { color: var(--ink-2); font-weight: 500; }
/* on a box page: an offer its shop calls a pre-order */
.chip.pre { border-color: var(--ink-2); color: var(--ink); }
.dot.pre::before { background: transparent; box-shadow: inset 0 0 0 2px var(--good); }      /* a ring: it can be ordered, it is not on the shelf yet */
.offer .st .presaid { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); max-width: 34ch; }
.offer .st .presaid q { font-style: italic; }

/* phone only: best price and the buy button fixed at the bottom of a product page */
.buybar { display: none; }

@media (prefers-reduced-motion: reduce) { .pcard { transition: none; } .pcard:hover { transform: none; } .pick.open .dd-menu { animation: none; } .dd-chev { transition: none; } .navdd .chev { transition: none; } }
@media (max-width: 820px) {
  /* phone: logo and switches, then search, then the menu as one row that scrolls sideways */
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top { position: static; padding-top: 8px; }
  .bar { flex-wrap: wrap; gap: 8px; row-gap: 8px; padding: 10px 12px; }
  .logo { font-size: 18px; margin-right: 0; }
  .seg button, .seg a { padding: 8px 7px; }
  .icon { width: 32px; height: 32px; }
  .bar::after { left: 14px; right: 14px; }
  .prefs { order: 1; margin-left: auto; }
  .bar .hsearch, .bar .hsearch:focus-within { order: 2; flex-basis: 100%; width: auto; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -4px; }
  .nav a { padding: 10px 9px; }                       /* comfortable to tap; four of the five fit a 375px screen */
  .nav .sep { margin: 0 4px; }
  /* the sports button comes first on a phone: with it at the end it sat half-hidden at the edge of the row */
  .nav a.navdd { order: -2; padding-right: 8px; }
  .nav .sep:first-of-type { order: -1; }
  .smenu { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: auto; min-width: 0; max-width: none; top: calc(100% + 6px); max-height: none; }
  .smenu a { padding: 7px 14px 7px 7px; font-size: 15.5px; }
  .spi { width: 36px; height: 36px; }
  .hero { padding: 26px 0 14px; }
  .hero .sub { font-size: 16px; }
  .search input { font-size: 16px; }                  /* 16px stops iOS from zooming the page on focus */
  .bar .hsearch input { font-size: 16px; }
  section { padding: 18px 0; }
  main[data-page="home"] > section { padding: 28px 0 30px; }
  .deals > section { padding: 24px 0 26px; }
  h2 { font-size: 21px; }
  /* product cards: always two in a row, tighter frame, nothing cut off */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pcard { padding: 5px; border-radius: 13px; }
  .pcard .in { border-radius: 9px; }
  .slab { padding: 7px 9px; font-size: 9.5px; letter-spacing: .05em; min-height: 32px; }
  .pcard .body { padding: 10px 10px 12px; }
  .pcard .name { font-size: 14px; }
  .pcard .price { font-size: 20px; }
  .pcard .foot { font-size: 12px; }
  /* catalogue filters: search on top, the selects two in a row, sorting across the full width */
  .pick { flex: 1 1 calc(50% - 4px); height: 44px; min-width: 0; }
  .pick select, .pick input { font-size: 16px; flex: 1; width: 100%; }
  .pick.grow { flex-basis: 100%; }
  .pick.slim { flex: none; height: 40px; }
  /* the other list on a phone: picture, name, price; the whole row is the button */
  .mrow { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 11px; padding: 8px 12px 8px 8px; }
  .mrow img { width: 46px; height: 46px; }
  .mrow > span { font-size: 14.5px; }
  .mrow .go { display: none; }
  .wrow { grid-template-columns: 46px minmax(0, 1fr) auto auto; }
  .movers { grid-template-columns: 1fr; }
  /* checklist: number and name on one line, the team under the name */
  .clview { width: 100%; height: 44px; }
  .clview button { flex: 1; padding: 0 6px; font-size: 14px; }
  .cltools .fcount { flex-basis: auto; margin: 0 auto 0 0; }      /* the counter and "Open all" share a line */
  .clg > summary { padding: 12px 14px; }
  .clr { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 1px 10px; padding: 8px 14px; }      /* one text column: "auto" moves nothing here */
  .clr .tm { grid-column: 2 / -1; grid-row: 2; font-size: 13px; }
  .clr .nt { grid-column: 3; grid-row: 1; }
  .clfoot { padding: 10px 14px; }
  .clbox { grid-template-columns: 1fr; }
  .clbox > div + div { border-left: 0; border-top: 1px solid var(--line); }
  /* release calendar: the leaf and the name on one line, the shops' words across the full width under them */
  .relrow { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px 12px; padding: 13px 14px; }
  .reldate { width: 54px; height: 58px; }
  .reldate b { font-size: 20px; }
  .reldate.soft b { font-size: 15px; }
  .relpic { display: none; }
  .relmain { display: contents; }
  .relmain .nm { grid-column: 2; grid-row: 1; align-self: center; font-size: 15.5px; }
  .relprice { grid-column: 3; grid-row: 1; align-self: center; }
  .relprice b { font-size: 17px; }
  .relmeta, .relsays { grid-column: 1 / -1; margin-top: 0; }
  .strip { grid-auto-columns: 46vw; gap: 8px; }
  .rcard { width: 108px; }
  .cta .wtoggle { width: 100%; justify-content: center; }
  .head .morelink { margin-top: 10px; }
  .dd-btn { font-size: 16px; }
  .dd-opt { font-size: 16px; padding: 12px 10px 12px 12px; }
  /* four sort buttons: two rows of two */
  .sortbar { width: 100%; height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .sortbar button { justify-content: center; padding: 0 8px; gap: 6px; font-size: 14px; white-space: nowrap; height: 44px; }
  .sortbar button:nth-child(2n) { border-right: 0; }
  .sortbar button:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .tog { flex: 1; justify-content: center; height: 44px; padding: 0 8px; }
  .fcount { flex-basis: 100%; margin: 0; }
  /* product page */
  .phero { grid-template-columns: 1fr; gap: 16px; }
  .phero .glass { max-width: 340px; margin: 0 auto; width: 100%; }
  .bigprice { font-size: 44px; margin-top: 16px; }
  .cta .btn.big { width: 100%; text-align: center; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 14px; }
  .tile:nth-child(2n) { border-right: 0; }
  .tile b { font-size: 21px; }
  .head { align-items: start; }
  .head .toolbar { display: flex; }
  .offer { grid-template-columns: 1fr auto; row-gap: 10px; padding: 14px; }
  .offer .shop { grid-column: 1; grid-row: 1; }
  .offer .p { grid-column: 2; grid-row: 1; }
  .offer .st { grid-column: 1; grid-row: 2; }
  .offer .go { grid-column: 2; grid-row: 2; justify-self: end; }
  .offer .btn { padding: 11px 16px; }
  table.kv td { padding: 11px 14px; }
  table.list th, table.list td { padding: 11px 12px; }
  footer { padding: 30px 0 96px; }
  .fcols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .fabout { grid-column: 1 / -1; }
  .fabout p { max-width: none; }
  /* the third column of links stands alone in its row: its links go in two columns under its title */
  .fcol:last-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .fcol:last-of-type h3 { grid-column: 1 / -1; }
  .fnote { margin-top: 26px; }
  .fbase { grid-template-columns: 1fr; }
  .clsec { padding: 16px 0 20px; }
  .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 40;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 10px 10px 10px 16px; border-radius: 15px;
    background: var(--glass-bar); border: 1px solid var(--glass-line);
    box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-ring), 0 12px 32px rgba(13, 19, 32, .2);
    -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  }
  .buybar small { display: block; font: 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .buybar b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
  .buybar .btn { padding: 12px 16px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; }
}
