/* Worth It · Collector (C2), with the Poster (C1) hero.

   Colour carries meaning only:
     category colour  = good news: a deal, in stock, live
     outlined crimson = a warning ("+28% over sold")
     grey             = unavailable, sold out, paused, old
   Type: Anton for product names, the hero number and big prices; Inter for
   everything else. Scale 12 / 14 / 16 / 20 / 28 / 40 / 64 / 128.
   Spacing: an 8 px grid. Numbers are tabular everywhere. */

@font-face { font-family: "Anton"; src: url("/static/fonts/anton-latin-400.woff2") format("woff2"); font-weight: 400; font-display: optional; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-display: optional; }

:root {
  color-scheme: light;
  --paper: #f4efe4; --paper-2: #eae3d3; --card: #fff;
  --grey: #e3ded3; --grey-2: #d3cdbf;
  --ink: #16140f; --ink-2: #48433a; --ink-3: #6a6356;
  --line: rgba(22, 20, 15, .14); --line-2: rgba(22, 20, 15, .28);
  --warn: #b3123b;
  --pkmn: #ffd400; --f1: #ff2a1f; --nba: #ff7a1a;
  --cat: var(--pkmn);
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r1: 8px; --r2: 16px; --r3: 24px;
  --pad: 40px; --top: 64px; --tick: 40px;
  --lift: 0 2px 0 rgba(22, 20, 15, .06), 0 16px 32px -16px rgba(22, 20, 15, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.cat-pokemon { --cat: var(--pkmn); }
.cat-f1 { --cat: var(--f1); }
.cat-nba { --cat: var(--nba); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font: 500 14px/1.5 var(--text); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; font-weight: inherit; font-size: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 16px; font-weight: 800; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* type roles */
.lbl { font: 800 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.name { font-family: var(--display); font-weight: 400; line-height: 1.05; text-transform: uppercase; overflow-wrap: break-word; }
.h1 { font: 900 40px/1.1 var(--text); letter-spacing: -.02em; }
.h2 { font: 800 28px/1.15 var(--text); letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* buttons: the face sits on its own ink block and presses into it */
.press { display: inline-flex; border-radius: var(--r1); background: var(--ink); max-width: 100%; }
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 0 24px; border-radius: var(--r1); max-width: 100%;
  background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
  font: 900 16px/1.15 var(--text); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transform: translate(-4px, -4px); transition: transform .15s var(--ease);
}
.btn > span { overflow: hidden; text-overflow: ellipsis; }
.btn:hover { transform: translate(-6px, -6px); }
.btn:active { transform: translate(0, 0); }
.btn .ico { width: 22px; height: 22px; }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn--cat { background: var(--cat); }
.btn-2 {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--r1); box-shadow: inset 0 0 0 2px var(--ink);
  font: 800 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.btn-2:hover { background: var(--ink); color: var(--paper); }
.btn-2 .ico { width: 16px; height: 16px; }
.btn-2[disabled] { opacity: .5; cursor: default; }

/* stickers: reasons and status only, at most two per item */
.stk {
  --r: -2deg; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px;
  border-radius: 6px; font: 900 12px/1 var(--text); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transform: rotate(var(--r)); background: var(--cat); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
}
.stk--warn { --r: 1.5deg; background: var(--card); color: var(--warn); box-shadow: inset 0 0 0 2px var(--warn); }
.stk--ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.stk--muted { background: var(--grey); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--line-2); }
.stk--lg { height: 36px; padding: 0 12px; font-size: 14px; }
.stk--flat { transform: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.dot--live { position: relative; }
.dot--live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

/* ticker */
.ticker { height: var(--tick); background: var(--ink); color: var(--paper); overflow: hidden; }
.ticker__track { display: flex; width: max-content; height: 100%; animation: ticker var(--dur, 90s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__list { display: flex; height: 100%; padding-right: 32px; }
.ticker__list li { display: flex; align-items: center; }
.ticker__list li + li::before { content: ""; width: 4px; height: 4px; margin: 0 16px; border-radius: 50%; background: var(--ink-3); }
.tk { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--text); white-space: nowrap; }
.tk b { font-weight: 800; }
.tk__k { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 4px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--cat); color: var(--ink); }
.tk--muted .tk__k { background: transparent; box-shadow: inset 0 0 0 1.5px #8e8778; color: #c9c2b3; }
.tk__v { color: #c9c2b3; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 239, 228, .94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { height: var(--top); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 400 28px/1 var(--display); text-transform: uppercase; }
.brand__mark { width: 22px; height: 26px; border-radius: 4px; background: var(--pkmn); box-shadow: inset 0 0 0 2.5px var(--ink); transform: rotate(-8deg); }
.nav { display: flex; gap: 8px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 800 14px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.count { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--pkmn); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); font: 900 11px/1 var(--text); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
/* the scan control: when the shops were last read, and a button to read them now */
.scan { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 4px 0 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.scan__txt { display: flex; align-items: center; gap: 8px; line-height: 1; }
.scan__lbl { font: 800 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.scan__time { font: 400 20px/1 var(--display); letter-spacing: .02em; }
/* Without the scan button (a tester) the time needs its own breathing room. */
.scan--solo { padding-right: 18px; }
.scan--live .scan__txt::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #0f8a4a; }
.scan--stale .scan__time { color: var(--warn); }
.scan__btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .3s var(--ease); }
.scan__btn:hover { transform: rotate(90deg); }
.scan__btn--busy .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.tabbar { display: none; }

/* notifications: a bell with a count, and a panel of short entries */
.menu.bell summary { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; box-shadow: none; background: none; color: var(--ink-2); }
.menu.bell summary:hover { background: var(--paper-2); color: var(--ink); }
.bell summary .ico { width: 20px; height: 20px; }
.bell__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 900 11px/18px var(--text); text-align: center; }
.bell__n--crit { background: var(--warn); }
.bell__panel { width: min(380px, calc(100vw - 32px)); padding: 8px; }
.bell__head { padding: 8px 10px 4px; font: 800 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.note { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 6px; }
.note + .note { border-top: 1px solid var(--line); }
.note b { display: block; font-weight: 800; }
.note span span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.note__dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--ink-3); }
.note--crit .note__dot { background: var(--warn); }
.note--crit b { color: var(--warn); }
.note--ok .note__dot { background: #0f8a4a; }
/* a short-lived confirmation */
.toast--status { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; animation: toast-in .25s var(--ease), toast-out .3s ease 6s forwards; }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); visibility: hidden; } }

/* sections */
main { padding-bottom: 80px; }
.section { margin-top: 64px; }
.section__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section__head .more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font: 800 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.section__head .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; padding-top: 40px; }
.page-head .h1 { margin-right: auto; }
.empty { padding: 24px; border-radius: var(--r2); background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }

/* hero (C1 layout in C2 dress) */
.hero { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center;
  padding: 48px; border-radius: var(--r3); background: var(--cat); box-shadow: inset 0 0 0 3px var(--ink), var(--lift); }
.hero__meta { display: flex; align-items: center; gap: 12px; }
.hero__meta .lbl { color: var(--ink); }
.hero__name { margin-top: 16px; font-size: 64px; }
.hero__format { margin-top: 4px; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__reason { margin-top: 24px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hero__big { font: 400 128px/.9 var(--display); letter-spacing: -.01em; }
.hero__vs { font: 900 20px/1.1 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.hero__buy { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price { font: 400 56px/1 var(--display); }
.price small { display: block; margin-top: 6px; font: 700 14px/1.2 var(--text); }
.hero__foot { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; gap: 8px 24px; flex-wrap: wrap; font-weight: 700; }
.hero__foot .warn { color: var(--warn); }
.hero__art { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 3px var(--ink), 12px 12px 0 var(--ink); transform: rotate(2deg); display: grid; place-items: center; }
.hero__art img { max-height: 100%; object-fit: contain; }
.hero__art .stk { position: absolute; left: 16px; bottom: 16px; }
.hero--none { display: block; background: var(--card); padding: 40px 48px; }
.hero--none .name { font-size: 40px; }
.buybar { display: none; }

/* rows: the one list component (deals, market, drops, changes) */
.rows { border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 12px 16px; min-height: 80px; }
.row + .row { border-top: 1px solid var(--line); }
a.row:hover, .row--link:hover { background: #fcfaf5; }
.row--quiet { color: var(--ink-3); }
.row--quiet .thumb { filter: grayscale(1); opacity: .7; }
.thumb { position: relative; width: 56px; height: 56px; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; color: var(--line-2); }
/* The photo covers the box icon once it arrives; app.js then hides the
   icon, which would show through a photo's white or clear parts. */
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; background: var(--card); }
.thumb--loaded > .ico { visibility: hidden; }
/* Shop photos come on white (or near-white) backgrounds: on a white surface,
   multiply makes that background vanish instead of showing as a box. */
.thumb img, .tile__art img, .hero__art img, .verdict__art img { mix-blend-mode: multiply; }
.row__name { font-size: 20px; }
.row__sub { margin-top: 2px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row__stk { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.row__price { text-align: right; min-width: 120px; }
.row__price strong { font: 400 24px/1 var(--display); }
.row__price span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.row__go { display: flex; justify-content: flex-end; }
.col { text-align: right; min-width: 72px; font-weight: 800; }
.col .lbl { display: block; margin-bottom: 4px; font-size: 11px; }
.col--good { color: #0f6b3f; }
.col--bad { color: var(--warn); }

/* the market list: columns in reading order, name → deal → price → refs */
.mrow { grid-template-columns: 56px minmax(220px, 1fr) 96px 240px 112px 96px 76px; }
.rows--market .row { grid-template-columns: 56px minmax(220px, 1fr) 96px 240px 112px 96px 76px; min-height: 76px; }
.rows__head { display: grid; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.rows__head .lbl:nth-child(n+4) { text-align: right; }
.mrow__name { display: grid; gap: 2px; min-width: 0; }
.mrow__deal { display: flex; }
.col--stock { color: var(--ink-2); font-weight: 700; font-size: 13px; }
/* the deal figure: always against the fair price */
.dchip { display: inline-grid; justify-items: center; align-content: center; min-width: 72px; padding: 6px 10px; border-radius: 8px; background: var(--cat); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.dchip b { font: 400 22px/1 var(--display); letter-spacing: .01em; }
.dchip small { margin-top: 3px; font: 800 10px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
/* a pre-order: a clock and when it ships, next to the product's details */
.pre { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 800 11px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pre .ico { width: 13px; height: 13px; }
.dchip--weak { background: var(--grey); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--grey-2); }
.dchip--out { background: var(--grey); color: var(--ink-2); box-shadow: none; }
.dchip--out b { font: 800 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.col--ref { color: var(--ink-3); font-weight: 700; }
.row__price .row__refs { display: none; }


/* suggestions: a row with two actions */
.rows--acts .row { grid-template-columns: 56px minmax(0, 1fr) 150px auto; }
.row__acts { display: flex; gap: 8px; justify-content: flex-end; }
.btn-2--quiet { box-shadow: inset 0 0 0 2px var(--line-2); color: var(--ink-2); }

/* changes feed */
.feed .row { grid-template-columns: 56px 112px minmax(0, 1fr) auto; min-height: 56px; padding: 8px 16px; }
.feed__time { font: 800 14px/1 var(--text); color: var(--ink-3); }
.feed__what { font-weight: 700; }
.feed__what b { font-weight: 900; }
.summary-line { color: var(--ink-2); font-weight: 700; }

/* chips (filters and view switches) */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line-2); font: 800 13px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.chip:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip small { font-size: 11px; opacity: .7; }
.toolbar { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: flex-end; margin-top: 24px; }
.tool { display: grid; gap: 8px; }
.tool--end { margin-left: auto; }
.tool__lbl { font: 800 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tool__row { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
/* filter: an on/off switch */
.switch { display: inline-flex; align-items: center; gap: 8px; height: 40px; font: 800 13px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.switch__track { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--grey-2); transition: background-color .15s; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(22, 20, 15, .3); transition: transform .15s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--ink); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(16px); background: var(--pkmn); }
/* sort: a menu */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px 0 16px; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); font: 800 13px/1 var(--text); white-space: nowrap; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary .ico-chevron { transform: rotate(180deg); }
.menu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 180px; padding: 6px; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink), var(--lift); display: grid; }
.menu__list a { padding: 10px 12px; border-radius: 6px; font-weight: 700; }
.menu__list a:hover { background: var(--paper); }
.menu__list a[aria-current="true"] { font-weight: 900; }
.menu__list a[aria-current="true"]::before { content: "✓ "; }
/* view: two square icon buttons */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--paper-2); gap: 2px; }
.seg a { display: grid; place-items: center; width: 40px; height: 34px; border-radius: 7px; color: var(--ink-3); }
.seg a:hover { color: var(--ink); }
.seg a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 20, 15, .2); }

/* grid view: one sticker, the price, the stock */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r2); background: var(--card); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.tile--quiet { border-color: var(--grey-2); box-shadow: none; }
.tile--quiet:hover { box-shadow: 4px 4px 0 var(--grey-2); }
.tile__art { position: relative; aspect-ratio: 4 / 3; background: var(--card); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.tile__art img { max-height: 82%; max-width: 82%; object-fit: contain; }
.tile--quiet .tile__art img { filter: grayscale(1); opacity: .6; }
.tile__art .dchip { position: absolute; left: 10px; bottom: 10px; }
.tile__body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile__name { font-size: 20px; }
.tile__refs { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.tile__warn { color: var(--warn); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tile__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.tile__foot strong { font: 400 24px/1 var(--display); }
.tile__foot span { font-size: 12px; font-weight: 700; color: var(--ink-3); }

/* drops: in stock now is the loudest thing on the screen */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.live { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--r2); background: var(--cat); box-shadow: inset 0 0 0 3px var(--ink), var(--lift); }
.live__top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.live .thumb { width: 96px; height: 96px; background: var(--card); }
.live__flag { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.live__name { margin-top: 8px; font-size: 24px; }
.live__shop { margin-top: 6px; font-weight: 700; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.live__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.live__price strong { font: 400 32px/1 var(--display); }
.live__price span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.live > .press, .live > .press .btn { width: 100%; }
.live > .press .btn { justify-content: space-between; }

/* countdowns: one tile per unit, with clear gaps */
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.release { padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.release__name { font-size: 22px; }
.release__when { margin-top: 6px; font: 700 15px/1.3 var(--text); color: var(--ink-2); }
.launch { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr); gap: 32px; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.launch__main { display: flex; flex-direction: column; gap: 20px; }
.launch__head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; }
.launch__head .thumb { width: 72px; height: 72px; }
.launch__head .name { margin-top: 4px; }
.launch__side { display: flex; flex-direction: column; gap: 8px; }
.launch__shops { display: grid; align-content: start; }
.launch__shops li a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--line); }
.launch__shops li a:hover b { text-decoration: underline; }
.launch__shop { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.launch__shops b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launch__shops .state { font: 800 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.launch__shops .state--live { color: var(--ink); }
.launch__shops .price { font: 400 20px/1 var(--display); text-align: right; min-width: 80px; }
.clock { display: flex; gap: 12px; align-items: flex-start; }
.clock__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.clock__val { min-width: 56px; padding: 8px 10px; border-radius: var(--r1); background: var(--ink); color: var(--paper); font: 400 32px/1 var(--display); text-align: center; letter-spacing: .02em; }
.clock__lbl { font: 800 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.clock--done .clock__val { background: var(--cat); color: var(--ink); }

/* product page */
.crumb { padding-top: 32px; font-weight: 700; color: var(--ink-3); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.verdict { margin-top: 16px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.verdict__art { aspect-ratio: 1; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink), 8px 8px 0 var(--ink); display: grid; place-items: center; }
.verdict__art img { max-height: 100%; object-fit: contain; }
.verdict__title { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.verdict__title > div:first-child { min-width: 0; flex: 1 1 320px; }
.verdict__title .name { font-size: clamp(30px, 3.6vw, 48px); }
.verdict__box { margin-top: 24px; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.verdict__box--deal { background: var(--cat); }
.verdict__line { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.refs { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.ref { padding: 16px; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ref strong { display: block; margin-top: 8px; font: 400 28px/1 var(--display); }
.ref--main { box-shadow: inset 0 0 0 2px var(--ink); }
.ref span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.star { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); color: var(--ink-3); flex: none; }
.star[aria-pressed="true"] { background: var(--pkmn); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.star[aria-pressed="true"] .ico { fill: currentColor; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 12px 16px; background: var(--paper); }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table .r { text-align: right; }
.table tr.quiet td { color: var(--ink-3); }
.table-card { border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); }
.chart text { fill: var(--ink-3); font: 600 11px var(--text); }
/* one colour per line, the best price heaviest */
.s-low { stroke: var(--ink); stroke-width: 3.5; } .key.s-low { background: var(--ink); }
.s-shops { stroke: #9a9284; stroke-width: 2.5; } .key.s-shops { background: #9a9284; }
.s-sold { stroke: #2f5d9e; stroke-width: 2.5; } .key.s-sold { background: #2f5d9e; }
.s-cm { stroke: #7b4bb7; stroke-width: 2.5; } .key.s-cm { background: #7b4bb7; }
.s-rrp { stroke: #0f8a4a; stroke-width: 2; } .key.s-rrp { background: #0f8a4a; }
.chart .dot { fill: currentColor; stroke-width: 0; }
.chart circle.s-cm { fill: #7b4bb7; } .chart circle.s-sold { fill: #2f5d9e; } .chart circle.s-shops { fill: #9a9284; } .chart circle.s-low { fill: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend b { color: var(--ink); font-weight: 800; }
.key { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }
/* today's prices, lowest first */
.ladder { display: grid; gap: 10px; }
.ladder__row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 96px; gap: 16px; align-items: center; }
.ladder__lbl { font-weight: 800; display: grid; }
.ladder__lbl small { font-weight: 600; font-size: 12px; color: var(--ink-3); }
.ladder__bar { height: 14px; border-radius: 7px; background: var(--paper); overflow: hidden; }
.ladder__bar i { display: block; height: 100%; border-radius: 7px; background: var(--grey-2); }
.ladder__val { text-align: right; font: 400 22px/1 var(--display); }
.ladder--best .ladder__bar i { background: var(--cat); box-shadow: inset 0 0 0 2px var(--ink); }
.ladder--best .ladder__val { font-size: 26px; }
.ladder--rrp .ladder__bar i { background: #0f8a4a; opacity: .55; }
.ladder--sold .ladder__bar i { background: #2f5d9e; opacity: .55; }
.ladder--cm .ladder__bar i { background: #7b4bb7; opacity: .55; }
details.more { margin-top: 16px; }
details.more > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; cursor: pointer; list-style: none; font: 800 12px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary .ico-chevron { transform: rotate(180deg); }
details.more > summary.h2 { font: 800 20px/1.2 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); gap: 8px; }
.chart-card { padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* forms (settings, sign in) */
/* settings: status cards */
/* Settings: one centred column, every card the same width. */
.settings { max-width: 880px; margin: 0 auto; }
.sgrid { margin-top: 24px; display: grid; gap: 24px; }
.scard { display: grid; gap: 16px; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.scard--wide { grid-column: 1 / -1; }
.scard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard__head h2 { font: 400 28px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.scard__sum { color: var(--ink-2); font-size: 16px; }
.scard__sum b { color: var(--ink); }
.scard__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.scard__acts:empty { display: none; }
.scard__sub { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.scard__edit { border-top: 1px solid var(--line); padding-top: 12px; }
.scard__edit > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; cursor: pointer; list-style: none; font: 800 13px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.scard__edit > summary::-webkit-details-marker { display: none; }
.scard__edit > summary svg { transition: transform .2s var(--ease); }
.scard__edit[open] > summary .ico-chevron { transform: rotate(180deg); }
.scard__edit .form { margin-top: 8px; }
.scard__edit .btn-solid { justify-self: start; }
.form .row2--even { grid-template-columns: 1fr 1fr; }
.reveal { display: grid; gap: 8px; padding: 16px; border-radius: var(--r1); background: var(--pkmn); box-shadow: inset 0 0 0 2px var(--ink); }
.reveal code { font: 400 28px/1 var(--display); letter-spacing: .06em; user-select: all; }
.reveal__value { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); font: 600 14px/1 var(--text); color: var(--ink); }
.steps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.catalog-search { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 20px; }
.h1__count { margin-left: 8px; font: 800 14px/1 var(--text); letter-spacing: .06em; color: var(--ink-3); vertical-align: middle; }
.catalog-search input[type=search] { flex: 1 1 260px; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 15px/1 var(--text); color: var(--ink); }
.catalog-search select { height: 44px; padding: 0 12px; border: 0; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 13px/1 var(--text); color: var(--ink); }
.catalog-search input:focus-visible, .catalog-search select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.rows--catalog .row { grid-template-columns: 56px minmax(0, 1fr) 190px 96px; gap: 16px; }
.rows--catalog .row__acts { display: flex; justify-content: flex-end; color: var(--ink-3); }
a.crow:hover .row__acts { color: var(--ink); }
.rows--catalog .mrow__name .lbl { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-more { margin-top: 16px; }
.setup { display: grid; gap: 16px; }
.setup textarea { width: 100%; min-height: 66vh; padding: 16px; border: 0; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 13px/1.55 ui-monospace, "SF Mono", Menlo, monospace; tab-size: 2; resize: vertical; }
.setup textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.setup .btn-solid { justify-self: start; }
.setup__msg { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.setup__msg--error { color: var(--warn); box-shadow: inset 0 0 0 2px var(--warn); }
.stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stats div { display: grid; gap: 4px; }
.stats b { font: 400 40px/1 var(--display); }
.slist { display: grid; }
.slist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.slist li:first-child { border-top: 0; padding-top: 0; }
.slist li > span:first-child { display: grid; gap: 2px; min-width: 0; }
.slist .muted { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.slist .learned { font-size: 12px; font-weight: 600; color: var(--ink-2); }
/* deal rows: fixed columns, so figures and prices line up */
.rows--deals .row { grid-template-columns: 56px minmax(0, 1fr) 120px 250px 104px; gap: 24px; }
.rows--deals .row__price span, .rows--market .row__price span { white-space: nowrap; }
.drow__name { display: grid; gap: 2px; min-width: 0; }
.drow__deal { display: grid; justify-items: center; }
.rows--deals .dchip, .rows--market .dchip { min-width: 96px; }
.vsf { display: inline-block; min-width: 72px; text-align: center; font: 800 15px/1 var(--text); color: var(--ink-3); }
.panel { margin-top: 24px; padding: 24px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); max-width: 720px; }
.panel h2 { font: 800 20px/1.2 var(--text); margin-bottom: 8px; }
.panel p { color: var(--ink-2); }
/* forms: small labels, white fields, one solid button */
.form { margin-top: 16px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font: 800 11px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.form input, .form select { width: 100%; height: 44px; padding: 0 12px; border-radius: var(--r1); border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 15px/1 var(--text); color: var(--ink); text-transform: none; letter-spacing: 0; }
.form input::placeholder { color: #a39c8e; }
.form input:focus-visible, .form select:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); outline: none; }
/* Dropdowns: our own arrow, with room, instead of the browser's at the edge. */
.catalog-search select, .form select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
}
.form .row2 { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.money-in { position: relative; display: block; }
.money-in::before { content: "€"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-2); }
.money-in input { padding-left: 28px; }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r1); background: var(--ink); color: var(--paper); font: 800 13px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.btn-solid:hover { background: #2c2923; }
/* product page: the action bar beside the name, and one price box */
.verdict__title { justify-content: space-between; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.actions .menu summary { box-shadow: inset 0 0 0 2px var(--line-2); }
.actions .menu summary:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.menu__list form { display: block; }
.menu__list button { display: block; width: 100%; padding: 10px 12px; border-radius: 6px; text-align: left; font-weight: 700; }
.menu__list button:hover { background: var(--paper); }
.menu__list--form { width: 300px; padding: 16px; }
.menu__list--form p.menu__title { font: 800 15px/1.2 var(--text); margin-bottom: 2px; }
/* A form in a menu keeps the form's own spacing and a real Save button
   (the menu's rules are for its one-line items). */
.menu__list--form .form { margin-top: 12px; display: grid; gap: 14px; }
.menu__list--form button.btn-solid { display: inline-flex; justify-content: center; width: 100%; padding: 0 20px; text-align: center; border-radius: var(--r1); }
.menu__list--form button.btn-solid:hover { background: #2c2923; }
.menu__list--form .btn-2 { width: auto; justify-content: center; }
.verdict__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.verdict__why { font-weight: 800; color: var(--ink-2); }
.verdict__box--deal .verdict__why { color: var(--ink); }
/* The price and its details on the left, the button at the right edge. */
.verdict__buy { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.verdict__ship { margin-top: 6px; font-weight: 700; }
.verdict__ref { margin-top: 4px; font-weight: 600; color: var(--ink-2); }
.verdict__box--deal .verdict__ref { color: var(--ink); opacity: .8; }
.verdict__call { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 800 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.verdict__call--wait { background: var(--warn); color: #fff; }
.ladder--fair .ladder__bar i { background: var(--ink-2); }
.ladder--fair .ladder__lbl { color: var(--ink); }
.notes { margin-top: 8px; display: grid; gap: 8px; color: var(--ink-2); }
.notes li { padding-left: 16px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; }

/* FAQ */
/* A reading column, centred: the FAQ. */
.narrow { max-width: 760px; margin: 0 auto; }
.faq { margin-top: 24px; }
.faq details { border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font: 800 16px/1.3 var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 24px 20px; color: var(--ink-2); line-height: 1.6; max-width: 65ch; }
.faq .a p + p { margin-top: 8px; }

/* toasts for live events */
.toasts { position: fixed; right: 24px; top: calc(var(--top) + var(--tick) + 16px); z-index: 50; display: grid; gap: 12px; width: min(380px, calc(100vw - 32px)); }
.toast { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r2); background: var(--ink); color: var(--paper); box-shadow: var(--lift); animation: toast-in .25s var(--ease); }
.toast .thumb { background: var(--card); }
.toast__k { color: var(--pkmn); font: 900 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.toast__n { margin-top: 4px; font: 400 18px/1.1 var(--display); text-transform: uppercase; }
.toast__p { margin-top: 2px; font-size: 12px; color: #c9c2b3; }
.toast__x { color: #c9c2b3; padding: 4px; }
.toast a.btn-2 { box-shadow: inset 0 0 0 2px var(--paper); grid-column: 2 / -1; justify-self: start; }
@keyframes toast-in { from { transform: translateY(-12px); opacity: 0; } }

/* footer: who, which version, and the three about pages */
footer.foot { margin-top: 80px; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; font-weight: 700; }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; }
.foot__brand .brand__mark { width: 14px; height: 17px; box-shadow: inset 0 0 0 2px var(--ink); }
footer.foot nav { display: flex; gap: 24px; }
footer.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Privacy and Terms: a reading column */
.doc { margin-top: 24px; }
.doc section + section { margin-top: 28px; }
.doc h2 { font: 800 17px/1.3 var(--text); }
.doc p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; max-width: 65ch; }
.doc-page { padding-top: 40px; padding-bottom: 64px; }
.door__legal { display: flex; justify-content: center; gap: 20px; margin-top: 24px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.door__legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* a destructive action, kept apart and red */
.btn-danger { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--r1); background: var(--warn); color: #fff; font: 800 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.btn-danger:hover { filter: brightness(.9); }
.form label.check, .check { display: flex; align-items: center; gap: 10px; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.check input { width: 20px; height: 20px; accent-color: var(--warn); }

/* sign in */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login .panel { width: min(420px, 100%); margin: 0; display: grid; gap: 16px; }
.login .form { margin-top: 0; }
.login .btn-solid { width: 100%; }
.door__msg { color: var(--ink-2); }
.door__msg--error { color: var(--warn); font-weight: 700; }
.door__link { justify-self: center; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .mrow, .rows--market .row { grid-template-columns: 56px minmax(0, 1fr) 80px 230px 96px 80px; gap: 12px; }
  .rows--deals .row { grid-template-columns: 56px minmax(0, 1fr) 112px 230px 96px; gap: 16px; }
  .rows--market .col--stock, .rows__head .col--stock { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) 280px; padding: 40px; }
  .hero__big { font-size: 96px; }
}

@media (max-width: 760px) {
  :root { --pad: 16px; --top: 56px; --tick: 32px; }
  .top__in { gap: 12px; }
  .nav { display: none; }
  /* no room in a phone header: the label stays for screen readers */
  .scan__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .scan { height: 40px; gap: 8px; padding-left: 12px; }
  .scan__time { margin-top: 0; font-size: 16px; }
  .scan__btn { width: 32px; height: 32px; }
  .brand { font-size: 24px; white-space: nowrap; }
  .top__end { gap: 8px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; font: 800 11px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar .ico { width: 22px; height: 22px; }
  main { padding-bottom: 160px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 24px; margin-top: 16px; }
  .hero__art { order: -1; width: 180px; justify-self: start; padding: 16px; box-shadow: inset 0 0 0 3px var(--ink), 8px 8px 0 var(--ink); }
  .hero__name { font-size: 40px; margin-top: 12px; }
  .hero__big { font-size: 80px; }
  .hero__vs { font-size: 16px; }
  .hero .hero__buy .press { display: none; }
  .price { font-size: 44px; }
  .buybar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 35; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink), var(--lift); }
  .buybar__info { min-width: 0; }
  .buybar__info strong { font: 400 28px/1 var(--display); }
  .buybar__info span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buybar .btn { min-height: 48px; }
  .section { margin-top: 48px; }
  .row { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
  .row .thumb { width: 48px; height: 48px; grid-row: span 2; align-self: start; }
  .row__name { font-size: 18px; }
  .row__stk, .row__go { display: none; }
  .rows--acts .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row__acts { grid-column: 2; justify-content: flex-start; }
  .row__price { grid-column: 2; text-align: left; min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .row__price span { margin-top: 0; }
  .rows--market .row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb name deal" "thumb price price"; }
  .rows--market .row .thumb { grid-area: thumb; }
  .rows--market .mrow__name { grid-area: name; }
  .rows--market .mrow__deal { grid-area: deal; align-self: start; }
  .rows--market .row__price { grid-area: price; }
  .rows--market .col, .rows__head { display: none; }
  .row__price .row__refs { display: block; width: 100%; font-size: 12px; font-weight: 700; color: var(--ink-3); }
  .row__stk--phone { display: flex; justify-content: flex-start; margin-top: 6px; }
  .feed .row { grid-template-columns: 48px minmax(0, 1fr); }
  .feed__time { display: none; }
  .feed .row__price { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tile__name { font-size: 16px; }
  .live-grid, .releases { grid-template-columns: 1fr; }
  .launch { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .sgrid { gap: 16px; }
  .scard { padding: 16px; }
  .rows--catalog .row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 12px; }
  .rows--catalog .row .thumb { grid-row: span 2; }
  .rows--catalog .row__price { grid-column: 2; text-align: left; }
  .rows--catalog .row__acts { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .rows--deals .row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb name deal" "thumb price price"; gap: 8px 12px; }
  .rows--deals .row .thumb { grid-area: thumb; }
  .rows--deals .drow__name { grid-area: name; }
  .rows--deals .drow__deal { grid-area: deal; align-self: start; }
  .rows--deals .row__price { grid-area: price; }
  .launch__shops li a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .launch__shops .state { grid-column: 1; grid-row: 2; }
  .launch__shops .price { grid-column: 2; grid-row: 1 / span 2; }
  .clock__val { min-width: 48px; font-size: 26px; }
  .verdict { grid-template-columns: 1fr; gap: 24px; }
  .verdict__art { width: 200px; }
  .verdict__title .name { font-size: 36px; }
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder__row { grid-template-columns: minmax(0, 1fr) 84px; }
  .ladder__bar { grid-column: 1 / -1; grid-row: 2; }
  .legend { font-size: 12px; }
  .tool--end { margin-left: 0; }
  .toolbar .menu__list { left: 0; right: auto; }
  .bell__panel { position: fixed; left: 16px; right: 16px; top: calc(var(--top) + var(--tick) + 8px); width: auto; }
  .toasts { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); right: 16px; }
  .page-head { padding-top: 24px; }
  .h1 { font-size: 32px; }
}
@media (min-width: 761px) { .row__stk--phone { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { overflow-x: auto; }
}
