/* ============================================================
   Xbox deals — condensed storefront
   One page, one grid, zero ads. ~6 KB of CSS, no frameworks.
   ============================================================ */

:root {
  --bg: #0b0d11;
  --panel: #12161d;
  --panel-2: #171d26;
  --line: #1e2530;
  --line-2: #2a3442;
  --text: #e8edf5;
  --dim: #9aa7ba;
  --muted: #6f7c90;
  --brand: #21bc05;
  --brand-hi: #6be31a;
  --good: #5fd94a;
  --mixed: #e8bf2a;
  --bad: #ff6a5e;
  --r: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="light"] {
  --bg: #f6f7f9;
  --panel: #fff;
  --panel-2: #f0f2f6;
  --line: #e2e6ec;
  --line-2: #cfd6e0;
  --text: #10151c;
  --dim: #4b5768;
  --muted: #6b7788;
  --brand: #17a005;
  --brand-hi: #128a04;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1360px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: radial-gradient(circle at 32% 28%, var(--brand-hi), var(--brand) 60%, #0d5f02);
  box-shadow: 0 0 0 1px rgba(33, 188, 5, .35), 0 6px 16px -8px var(--brand);
}
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }

.search {
  position: relative;
  flex: 1 1 auto;
  max-width: 460px;
}
.search svg {
  position: absolute; left: 11px; top: 50%; translate: 0 -50%;
  width: 16px; height: 16px;
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
}
.search input {
  width: 100%; height: 36px;
  padding: 0 12px 0 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  font-size: 13.5px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--line-2); background: var(--bg); }

.sort { margin-left: auto; flex: none; }
.sort select {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7c90' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 14px;
  font-size: 13px;
  appearance: none;
  cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--line-2); }

.icon-btn {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.icon-btn:hover { border-color: var(--line-2); background: var(--panel-2); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; }

/* settings popover */
.settings { position: relative; }
.settings-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 234px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .95);
  z-index: 30;
}
.settings-title {
  margin: 2px 6px 8px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 6px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--dim);
  cursor: pointer;
}
.check:hover { background: var(--panel-2); color: var(--text); }
.check input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; }

/* ---------- intro ---------- */
main { padding: 26px 0 60px; }

.intro h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.intro p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- view tabs ---------- */
.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.tab {
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-on { background: var(--panel-2); color: var(--text); font-weight: 600; }
.tab span {
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
  opacity: .55;
}
.tab .dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--brand-hi);
  vertical-align: 2px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.tab .dot[hidden] { display: none; }

/* ---------- filters ---------- */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
}
.group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pill {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-size: 12.5px;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.pill:hover { background: var(--panel); color: var(--text); }
.pill.is-on {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  color: var(--brand-hi);
  font-weight: 600;
}
.pill span { opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-size: 12.5px;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.switch:hover { border-color: var(--line-2); color: var(--text); }
.switch input {
  appearance: none;
  width: 26px; height: 15px;
  border-radius: 999px;
  background: var(--line-2);
  position: relative;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.switch input::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  transition: translate .15s var(--ease);
}
.switch input:checked { background: var(--brand); }
.switch input:checked::after { translate: 11px 0; }

.count {
  margin: 14px 0 10px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 10px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .15s var(--ease), transform .15s var(--ease), background .15s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--panel-2); }

/* marked but not yet filtered out — the card stays in the grid until the next
   filter change or reload, so both buttons stay reachable */
.card.is-marked { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }

.art {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--art, #1a2230) 80%, #000), color-mix(in srgb, var(--art, #1a2230) 40%, #06080c));
  overflow: hidden;
}
.art > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .35s var(--ease);
}
.card:hover .art > img { scale: 1.04; }

.art::before {
  content: attr(data-i);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  color: rgba(255, 255, 255, .14);
  opacity: .9;
}
.art.is-blank::before { opacity: 1; color: rgba(255, 255, 255, .3); }

.off {
  position: absolute;
  left: 6px; bottom: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--brand);
  color: #04140a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.off.is-max { background: var(--mixed); color: #241d00; }

.plain {
  position: absolute;
  left: 6px; bottom: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 10, 15, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* wishlist heart, over the artwork so it doesn't crowd the meta row */
.wish {
  position: absolute;
  top: 7px; right: 7px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(6, 10, 15, .62);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(4px);
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.wish svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: #cfd9e8;
  stroke-width: 1.7;
  stroke-linejoin: round;
  transition: fill .15s var(--ease), stroke .15s var(--ease);
}
.wish:hover { background: rgba(6, 10, 15, .85); }
.wish:hover svg { stroke: #ff6a8a; }
.wish.is-on svg { fill: #ff4d74; stroke: #ff4d74; }
.wish.is-on { border-color: rgba(255, 77, 116, .55); }

/* steam review summary, top-left of the artwork */
.steam-chip {
  position: absolute;
  left: 6px; top: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 10, 15, .74);
  border: 1px solid rgba(102, 192, 244, .32);
  color: #8ecdf5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .01em;
  backdrop-filter: blur(4px);
}
.steam-chip i {
  font-style: normal;
  font-weight: 500;
  font-size: 9px;
  opacity: .75;
}

.ends-chip {
  position: absolute;
  right: 6px; bottom: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 10, 15, .72);
  border: 1px solid rgba(255, 255, 255, .07);
  color: #b9c6d8;
  font-size: 9.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.ends-chip.is-soon { color: var(--mixed); }

.tag {
  position: absolute;
  right: 6px; top: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 10, 15, .72);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #cfe6c6;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.plate {
  position: absolute;
  left: 6px; top: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(6, 10, 15, .66);
  border: 1px solid rgba(255, 255, 255, .07);
  color: #b8c6d8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.body { padding: 8px 9px 9px; }

.title {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
}

.money {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.price { font-size: 14px; font-weight: 750; letter-spacing: -.01em; }
.price.is-free { color: var(--brand-hi); }
.was { font-size: 11px; color: var(--muted); text-decoration: line-through; }

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.score {
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10.5px;
}
.score.good { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.score.mixed { color: var(--mixed); background: color-mix(in srgb, var(--mixed) 14%, transparent); }
.score.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }

.gp-chip {
  padding: 1px 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand-hi);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: help;
}

/* Game Pass badge — sits on the artwork so it can't be mistaken for a rating */
.gp-badge {
  position: absolute;
  left: 6px; top: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 6px;
  background: #0f1a12;
  border: 1px solid rgba(107, 227, 26, .55);
  color: #c6ffab;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .8);
}
.gp-badge svg {
  width: 9px; height: 9px;
  fill: var(--brand-hi);
  flex: none;
}
.ends { margin-left: auto; white-space: nowrap; }
.ends.is-soon { color: var(--mixed); }

.actions {
  display: inline-flex;
  gap: 3px;
  margin-left: auto;
}
.ends + .actions { margin-left: 6px; }

.mark {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  transition: background .15s var(--ease);
}
.mark svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: #5d6a7e;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .15s var(--ease), fill .15s var(--ease);
}
.mark:hover { background: rgba(255, 255, 255, .06); }
.mark:hover svg { stroke: var(--text-dim); }
.mark[data-mark="owned"].is-on { background: color-mix(in srgb, var(--brand) 18%, transparent); }
.mark[data-mark="owned"].is-on svg { stroke: var(--brand-hi); }
.mark[data-mark="played"].is-on { background: color-mix(in srgb, #4ea8ff 18%, transparent); }
.mark[data-mark="played"].is-on svg { stroke: #6fb8ff; }

.empty { padding: 40px 0; color: var(--muted); font-size: 13.5px; }
.link { background: none; border: 0; color: var(--brand-hi); cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  font-size: 12px;
  color: var(--muted);
}
.foot p { margin: 0; }
.foot-sub { margin-top: 4px; color: color-mix(in srgb, var(--muted) 70%, transparent); }
.foot code { font-size: 11.5px; color: var(--dim); }

/* ============================================================
   Game profile
   ============================================================ */

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
}
.back:hover { color: var(--text); }

.detail { padding-top: 26px; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-body h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 750;
}
.hero-sub { margin: 0 0 12px; font-size: 13px; color: var(--muted); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag-chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 11.5px;
  color: var(--dim);
}
.rating-chip {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: color-mix(in srgb, var(--good) 14%, transparent);
  color: var(--good);
}
.rating-chip.mixed { background: color-mix(in srgb, var(--mixed) 14%, transparent); color: var(--mixed); }
.rating-chip.bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.rating-chip small { font-weight: 500; opacity: .7; margin-left: 3px; }

.steam-tag {
  color: #8ecdf5;
  border-color: rgba(102, 192, 244, .34);
  background: rgba(102, 192, 244, .09);
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.steam-tag b { font-weight: 700; }
.steam-tag small { font-size: 11px; opacity: .8; }

.gp-tag {
  color: var(--brand-hi);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  font-weight: 600;
}

.price-block { display: flex; align-items: baseline; gap: 10px; }
.price-xl { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.price-off {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--brand);
  color: #04140a;
  font-size: 13px;
  font-weight: 800;
  align-self: center;
}
.price-ends { margin: 6px 0 0; font-size: 12.5px; color: var(--mixed); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--brand-hi), var(--brand));
  color: #04140a;
  font-size: 13px;
  font-weight: 700;
}
.btn-store:hover { filter: brightness(1.06); }

.marks-row { display: inline-flex; gap: 6px; }
.mark-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--dim);
  font-size: 12.5px;
}
.mark-btn:hover { border-color: var(--line-2); color: var(--text); }
.mark-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.mark-btn.is-on { border-color: color-mix(in srgb, var(--brand) 50%, transparent); color: var(--brand-hi); background: color-mix(in srgb, var(--brand) 12%, transparent); }

/* blocks */
.block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.block:last-of-type { border-bottom: 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.block-head h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.block-note { margin: 0; font-size: 12px; color: var(--muted); }

/* chart */
.ch { width: 100%; height: auto; max-height: 220px; overflow: visible; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-label { fill: var(--muted); font-size: 10px; font-family: inherit; }
.ch-area { fill: color-mix(in srgb, var(--brand) 14%, transparent); }
.ch-line { fill: none; stroke: var(--brand-hi); stroke-width: 2; stroke-linejoin: round; }
.ch-dot { fill: var(--bg); stroke: var(--brand-hi); stroke-width: 2; }
.ch-dot.is-last { fill: var(--brand-hi); }

.stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 14px; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stats b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats b.good { color: var(--brand-hi); }
.stats i { font-style: normal; font-size: 11px; color: var(--muted); }
.lowest-note { margin: 10px 0 0; font-size: 12.5px; color: var(--brand-hi); }

/* screenshots */
.shots { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.shots img {
  flex: 0 0 auto;
  width: 300px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

/* about */
.about { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }
.about.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* details */
.kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 26px;
  margin: 0;
}
.kv { display: flex; flex-direction: column; gap: 3px; }
.kv dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kv dd { margin: 0; font-size: 13.5px; color: var(--text); }

.muted { color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 190px; }
  .price-xl { font-size: 28px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .sort { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 20px); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
  .intro h1 { font-size: 19px; }
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.ch-line.is-flat { stroke-dasharray: 4 4; opacity: .85; }
.chart-note { margin: 8px 0 0; }
