/* DropWatch design system: dark, calm, scan-first. One accent, semantic colours for state only. */
:root {
  color-scheme: dark;
  --bg: #0c0f15; --surface: #131823; --surface-2: #1a2130; --surface-3: #212a3b; --line: #263043; --line-strong: #34405a;
  --text: #e9edf5; --muted: #8e99b0; --faint: #5f6a82;
  --accent: #7aa2ff; --accent-ink: #0b1a3a;
  --green: #3ddc97; --amber: #ffc857; --red: #ff6b6b; --pokemon: #ffd166; --pk-badge-bg: color-mix(in srgb, #ffd166 12%, transparent); --pk-badge-ink: #ffd166; --pk-edge: #ffd166; --lorcana: #c3a6ff; --onepiece: #ff8a8a; --mtg: #f0a36b; --riftbound: #2fd3c4;
  --text-soft: #c9cfdb; --brand-name: #F4F6FA; --brand-accent: #5aa9ff;
  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.28);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; } h3 { font-size: 14px; }
p { margin: 0; } code { background: var(--surface-3); padding: 1px 6px; border-radius: 5px; font-size: 12px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .hidden { display: none !important; }
.up { color: var(--green); } .down { color: var(--red); } .error { color: var(--red); font-size: 12px; min-height: 16px; }
.hint, .note { color: var(--muted); font-size: 12px; line-height: 1.5; } .note { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-top: 10px; }

/* shell */
.shell { display: grid; grid-template-columns: 232px 1fr; height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 52px 14px 16px; display: flex; flex-direction: column; gap: 14px; }
/* Logo: "Fair Code" mark + Figtree ExtraBold wordmark (branding/Printed Price logo exploration). Mark art ≈ 1.35× cap height. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/figtree-800-latin.woff2) format('woff2'); }
.brand { display: flex; align-items: center; gap: 6px; padding: 0 8px 6px; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-accent { color: var(--brand-accent); }
.empty-mark { width: 72px; height: 72px; opacity: .95; }
.brand-name { font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--brand-name); line-height: 1.1; } .brand-sub { font-size: 11px; color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 2px;  }
.view-btn { display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; border-radius: var(--r-sm); padding: 9px 10px; color: var(--muted); font-weight: 600; }
.view-btn:hover { background: var(--surface-2); color: var(--text); }
.view-btn.active { background: var(--surface-3); color: var(--text); }
.nav-icon { width: 18px; text-align: center; opacity: .9; } .nav-count { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 700; }
.nav-count.hot { color: var(--green); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.side-line { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.side-hint { font-size: 11px; color: var(--faint); }
.content { overflow: auto; }
.page { max-width: 1180px; margin: 0 auto; padding: 48px 32px 40px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.lede { color: var(--muted); max-width: 640px; margin-top: 4px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap;  } .actions.center { justify-content: center; }
section { margin-top: 26px; }
.section-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.section-head > div { display: flex; align-items: center; gap: 8px; }

/* buttons & badges */
.btn { border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: var(--r-sm); padding: 8px 13px; font-weight: 600; font-size: 13px; }
.btn:hover { background: var(--surface-3); border-color: var(--accent); } .btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 5px 10px; font-size: 12px; } .btn.wide { width: 100%; } .btn.text { border: 0; background: none; color: var(--accent); padding: 4px 6px; }
.icon-btn { width: 30px; height: 30px; padding: 0; border: 1px solid transparent; background: none; border-radius: var(--r-sm); font-size: 16px; color: var(--muted); }
.icon-btn:hover { background: var(--surface-3); color: var(--text); } .icon-btn.danger:hover { color: var(--red); }
.badge { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge.game.pokemon { color: var(--pk-badge-ink); background: var(--pk-badge-bg); } .badge.game.lorcana { color: var(--lorcana); background: color-mix(in srgb, var(--lorcana) 14%, transparent); }
.badge.status.confirmed { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } .badge.status.rumor { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); }
.badge.kind.in_stock, .badge.kind.restock { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } .badge.kind.queue { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); } .badge.kind.gone { color: var(--muted); }
.badge.src { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; gap: 6px; } .chip { padding: 6px 11px; border: 1px solid var(--line-strong); background: none; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 600; } .chip.active { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; text-align: left; } button.link:hover { text-decoration: underline; }

/* glance strip */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 0; }
.glance-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.glance-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.glance-value { font-size: 22px; font-weight: 800; margin-top: 2px; letter-spacing: -.02em; } .glance-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.glance-value.live { color: var(--green); } .glance-value.warn { color: var(--amber); } .glance-value.bad { color: var(--red); }

/* running summary in sidebar */
.run-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; }
.dot-run { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-run.running { background: var(--green); box-shadow: 0 0 8px var(--green); } .dot-run.stopped { background: var(--red); } .dot-run.waiting { background: var(--amber); }

/* watch rows */
.rows { display: flex; flex-direction: column; gap: 6px; }
.watch-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.watch-row:hover { border-color: var(--line-strong); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.watch-row.in_stock .status-dot { background: var(--green); box-shadow: 0 0 10px var(--green); } .watch-row.queue .status-dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.watch-row.error .status-dot, .watch-row.blocked .status-dot { background: var(--red); } .watch-row.watching .status-dot { background: var(--accent); } .watch-row.challenge .status-dot { background: var(--amber); }
.watch-row.run-stopped { opacity: .55; } .watch-row.run-stopped .status-dot { background: var(--red); box-shadow: none; }
.watch-main { min-width: 0; } .watch-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.watch-title-row h3 { max-width: 460px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status.badge.in_stock { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } .status.badge.queue, .status.badge.challenge { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); } .status.badge.error, .status.badge.blocked { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); } .status.badge.watching { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.price { font-weight: 700; color: var(--muted); font-size: 13px; } .watch-row.in_stock .price { color: var(--green); }
.detail { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 640px; } .meta { font-size: 11.5px; margin-top: 1px; }
.watch-actions { display: flex; align-items: center; gap: 4px; opacity: .85; } .watch-row:hover .watch-actions { opacity: 1; }
.run-toggle { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; border: 1px solid transparent; background: none; }
.run-toggle.running { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.run-toggle.stopped { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.run-toggle.waiting { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent); }

/* available now */
.avail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.avail-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.avail-card.in_stock, .avail-card.restock { border-color: color-mix(in srgb, var(--green) 45%, transparent); } .avail-card.queue { border-color: color-mix(in srgb, var(--amber) 50%, transparent); }
.avail-top { display: flex; justify-content: space-between; align-items: center; } .avail-name { font-weight: 650; line-height: 1.35; }
.avail-actions { display: flex; gap: 12px; align-items: center; } .avail-actions .dismiss { color: var(--muted); font-size: 12px; border: 0; background: none; }

/* empty states */
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); margin-top: 20px; }
.empty-icon { font-size: 40px; color: var(--accent); line-height: 1; } .empty h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--text); margin: 12px 0 6px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; } .small-empty { padding: 36px 20px; }

/* history, log, news */
.history-row { display: grid; grid-template-columns: 130px 92px minmax(180px, 1fr) minmax(160px, 1.2fr); gap: 12px; align-items: center; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.history-row button.link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-list { padding: 6px 0; } .log-entry { display: grid; grid-template-columns: 150px 60px 1fr; gap: 12px; font-size: 12px; padding: 7px 4px; color: var(--text-soft); border-bottom: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.log-entry .warn { color: var(--amber); } .log-entry .error { color: var(--red); } .log-entry .alert { color: var(--green); }
.news-row { display: grid; grid-template-columns: 52px 120px 1fr; gap: 10px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.news-row.relevant button.link { color: var(--text); } .news-row.hot button.link { color: var(--green); } .news-row button.link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* releases */
.nextup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.next-card { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 14px 16px; background: var(--surface); }
.next-card.pokemon { border-left-color: var(--pk-edge); } .next-card.lorcana { border-left-color: var(--lorcana); }
.next-count { font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .next-name { font-weight: 650; margin: 4px 0 2px; }
.next-pre { margin-top: 8px; font-size: 12px; color: var(--amber); } .next-pre.open { color: var(--green); font-weight: 700; }
.month { margin: 18px 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.releases-list { display: grid; gap: 8px; }
.release-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.release-row.rumor { border-style: dashed; }
.release-date { font-weight: 800; font-size: 14px; } .release-title strong { font-size: 15px; } .release-badges { display: flex; gap: 6px; margin: 6px 0; } .release-facts { font-size: 13px; color: var(--text-soft); }
.release-main details { margin-top: 8px; } .release-main summary { cursor: pointer; color: var(--accent); font-size: 12px; } .release-notes { margin: 8px 0 4px; font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }
.release-sources { display: flex; gap: 10px; margin-top: 4px; } .release-sources button.link { font-size: 11px; }
.release-actions { display: flex; gap: 6px; align-items: center; } button.tiny { padding: 4px 9px; font-size: 12px; }
.preorder-links { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 8px; } .preorder-links button.link { font-size: 12px; }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.sub-tier { margin: 0 0 8px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.sub-card { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--surface); margin-bottom: 8px; }
.sub-head { display: flex; align-items: center; gap: 8px; } .sub-how { font-size: 12px; color: var(--muted); margin-top: 4px; }
.patterns-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; } .patterns-list li { font-size: 12.5px; color: var(--text-soft); display: flex; gap: 8px; align-items: flex-start; }

/* collection */
.table-wrap { overflow-x: auto; }
table.coll { width: 100%; border-collapse: collapse; font-size: 13px; }
table.coll th { text-align: left; color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 8px; border-bottom: 1px solid var(--line); }
table.coll td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
table.coll td:first-child { white-space: normal; min-width: 220px; } .coll-name { font-weight: 650; } .coll-actions { display: flex; gap: 2px; }

/* settings page */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; }
fieldset.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 14px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
fieldset.card legend { padding: 0 6px; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

/* forms & dialogs */
label { position: relative; display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
label input, label select { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text); font-weight: 400; }
label input:focus, label select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
label.check { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 500; font-size: 13px; } label.check input { width: auto; margin: 0; accent-color: var(--accent); }
.input-suffix { position: absolute; right: 11px; bottom: 10px; color: var(--muted); font-weight: 400; font-size: 12px; pointer-events: none; }
.row { display: flex; gap: 10px; align-items: flex-start; } .row label { flex: 1; }
details summary { cursor: pointer; color: var(--muted); font-size: 12px; } details label { margin-top: 10px; }
dialog { width: min(640px, calc(100vw - 40px)); max-height: calc(100vh - 60px); overflow: auto; border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(4,6,10,.7); backdrop-filter: blur(4px); }
dialog form { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; } .dialog-head h2 { font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--text); } .dialog-head p { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 700; transition: .2s; z-index: 20; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .sidebar { display: none; } .page { padding: 48px 16px 32px; } .glance { grid-template-columns: 1fr 1fr; } .watch-row { grid-template-columns: 10px 1fr; } .watch-actions { grid-column: 2; } .release-row { grid-template-columns: 1fr; } .history-row { grid-template-columns: 1fr; } }

.status.badge.suppressed { color: var(--muted); background: var(--surface-3); }
.watch-row.suppressed .status-dot { background: var(--faint); box-shadow: none; }

.avail-card.line { border-color: color-mix(in srgb, var(--accent) 50%, transparent); } .badge.kind.line { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.status.badge.line { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); } .watch-row.line .status-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--r); background: color-mix(in srgb, var(--red) 12%, transparent); border: 1px solid color-mix(in srgb, var(--red) 50%, transparent); color: var(--text); }

/* Deals page */
.badge.kind.deal { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
table.deals td .deal-where { display: flex; flex-direction: column; gap: 2px; }
table.deals td:first-child { min-width: 260px; }
.news-row.deal-row { grid-template-columns: 52px 120px 1fr auto; }

/* Windows page */
.win-list { display: flex; flex-direction: column; gap: 8px; }
.win-day { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.win-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.win-card.live { border-color: color-mix(in srgb, var(--green) 50%, transparent); } .win-card.past { opacity: .7; } .win-card.st-entered { border-left: 3px solid var(--accent); } .win-card.st-won, .win-card.st-bought { border-left: 3px solid var(--green); } .win-card.st-missed { border-left: 3px solid var(--red); }
.win-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .win-when { margin-left: auto; font-size: 12px; color: var(--muted); }
.win-card.live .win-when { color: var(--green); font-weight: 700; }
.win-name { font-weight: 700; font-size: 15px; } .win-notes { color: var(--muted); }
.win-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; } .win-status { display: flex; gap: 4px; flex-wrap: wrap; }
.chip.small { padding: 3px 8px; font-size: 11px; }
.badge.kind.win-invite, .badge.kind.win-draw { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); } .badge.kind.win-queue { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); } .badge.kind.win-preorder, .badge.kind.win-release { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
/* Scan dialog */
#scan-dialog { width: min(720px, 92vw); }
.scan-stage { position: relative; background: #000; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.scan-stage video { width: 100%; height: 100%; object-fit: cover; }
.scan-guide { position: absolute; inset: 12% 18%; border: 2px dashed rgba(255,255,255,.55); border-radius: 10px; pointer-events: none; }
.scan-controls { margin-top: 10px; align-items: end; } .scan-file input { display: block; margin-top: 4px; }

/* ---- web shell (printedprice.com) ---- */
html, body { height: auto; min-height: 100%; }
.shell { min-height: 100vh; height: auto; }
.sidebar { position: sticky; top: 0; height: 100vh; padding-top: 22px; }
.content { overflow: visible; }
.page { padding-top: 28px; }
a.link, a { color: var(--accent); text-decoration: none; font-weight: 600; } a:hover { text-decoration: underline; }
.tabs { display: none; }
.foot { margin: 34px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.prose p, .prose li { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); } .prose ul { padding-left: 20px; } .prose li { margin-bottom: 8px; } .prose h2 { margin: 20px 0 8px; } .prose p { margin-bottom: 10px; }
.line-card { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.evidence { margin: 8px 0 0; padding: 0; list-style: none; } .evidence li { font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.badge.official { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } .badge.press { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); } .badge.retailer { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); }
.badge.status.multiple { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); } .badge.status.listed { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.rumor-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); } .rumor-card.rumor { border-style: dashed; } .rumor-grid { display: grid; gap: 10px; }
.stamp { font-size: 11px; color: var(--faint); }
@media (max-width: 900px) {
  .tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); z-index: 10; }
  .tab { flex: 1; background: none; border: 0; color: var(--muted); font-weight: 700; font-size: 12px; padding: 9px 2px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; } .tab .nav-icon { font-size: 16px; } .tab.active { color: var(--text); background: var(--surface-3); }
  .page { padding: calc(14px + env(safe-area-inset-top)) 14px calc(90px + env(safe-area-inset-bottom)); }
  .mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .mobile-brand img { width: 24px; height: 24px; } .mobile-brand { gap: 5px; } .mobile-brand .brand-name { font-size: 18px; }
  h1 { font-size: 21px; } .page-head { flex-direction: column; gap: 10px; } .glance { grid-template-columns: 1fr 1fr; }
  .news-row { grid-template-columns: 44px 1fr; } .news-row .badge.src { display: none; } .news-row.deal-row { grid-template-columns: 44px 1fr auto; }
  table.coll td:first-child { min-width: 160px; } table.deals td:first-child { min-width: 180px; }
}
@media (min-width: 901px) { .mobile-brand { display: none; } }
.glance.flush { margin-top: 0; } .hint.spaced { margin-bottom: 10px; }
a.view-btn, a.tab { text-decoration: none; } a.view-btn { color: var(--muted); } a.view-btn:hover { text-decoration: none; color: var(--text); } a.view-btn.active { color: var(--text); } a.tab { color: var(--muted); } a.tab.active { color: var(--text); } a.tab:hover { text-decoration: none; }
.about-link { margin-left: auto; font-size: 13px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; } .about-link:hover { text-decoration: none; color: var(--text); }
.coll-settings { align-items: flex-end; flex-wrap: wrap; } .coll-settings label { max-width: 220px; }
.file-btn { display: inline-flex; align-items: center; color: var(--text); font-size: 13px; cursor: pointer; } .file-btn input { display: none; }
.coll-sub { color: var(--muted); font-size: 12px; margin-top: 2px; } .coll-src { font-size: 11px; color: var(--faint); }
.content { min-width: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .top-brand { position: sticky; top: 0; z-index: 9; margin: 0; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .page { padding-top: 16px; }
  .actions { width: 100%; }
}
.badge.game.mtg { color: var(--mtg); background: color-mix(in srgb, var(--mtg) 12%, transparent); } .badge.game.onepiece { color: var(--onepiece); background: color-mix(in srgb, var(--onepiece) 12%, transparent); }
.chips { flex-wrap: wrap; }
.badge.lang { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); text-transform: none; letter-spacing: 0; font-weight: 700; }
#view-deals .actions { flex-direction: column; align-items: flex-end; } @media (max-width: 900px) { #view-deals .actions { align-items: flex-start; } }

/* landing intro */
.intro { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--green) 6%, transparent)); padding: 20px 22px; margin-bottom: 24px; }
.intro-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.intro-title { font-size: 26px; letter-spacing: -.02em; } .intro-lede { color: var(--text-soft); font-size: 15px; margin-top: 6px; max-width: 680px; }
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.intro-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; color: var(--text); font-weight: 400; }
.intro-card:hover { border-color: var(--accent); text-decoration: none; } .intro-k { font-weight: 800; color: var(--accent); margin-bottom: 4px; } .intro-v { color: var(--text-soft); font-size: 13px; line-height: 1.45; }
.intro-mini { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
@media (max-width: 900px) { .intro { padding: 16px; } .intro-title { font-size: 21px; } .intro-grid { grid-template-columns: 1fr 1fr; } .intro-v { font-size: 12.5px; } }

/* store playbook */
.playbook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.play-card { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--pk-edge); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.play-card.lorcana { border-left-color: var(--lorcana); }
.play-top { display: flex; justify-content: space-between; align-items: center; } .play-store { font-weight: 800; font-size: 15px; }
.play-head { font-weight: 650; line-height: 1.35; }
.play-facts { display: flex; flex-wrap: wrap; gap: 5px; } .play-fact { font-size: 11.5px; font-weight: 600; color: var(--text-soft); background: var(--surface-3); border-radius: 999px; padding: 3px 9px; }
.play-tip { font-size: 13px; color: var(--text-soft); line-height: 1.45; } .play-tip strong { color: var(--green); }
.play-note { font-size: 12px; color: var(--amber); line-height: 1.4; } .play-link { font-size: 12.5px; }
.badge.community { color: var(--muted); }
.filter-actions { flex-direction: column; align-items: flex-end; gap: 6px; } @media (max-width: 900px) { .filter-actions { align-items: flex-start; } }
@media (max-width: 900px) { .filter-actions { width: 100%; } .filter-actions .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; } .filter-actions .chips::-webkit-scrollbar { display: none; } .filter-actions .chip { flex: none; } }

/* site-wide game switch */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.game-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; margin: 0 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.gs-btn { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 12px; padding: 7px 4px; border-radius: 7px; }
.gs-btn:hover { color: var(--text); } .gs-btn.active { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 4%, transparent) inset; }
.gs-btn.active[data-site-game="pokemon"] { color: var(--pokemon); } .gs-btn.active[data-site-game="lorcana"] { color: var(--lorcana); }
.game-pick { margin-left: auto; position: relative; }
.game-pick select { appearance: none; -webkit-appearance: none; background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238e99b0' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; font-size: 13px; padding: 6px 28px 6px 12px; border-radius: 999px; }
.top-brand .about-link { margin-left: 8px; }
body[data-game="pokemon"] .game-pick select { color: var(--pokemon); } body[data-game="lorcana"] .game-pick select { color: var(--lorcana); }
@media (max-width: 900px) { .intro-card:last-child:nth-child(odd) { grid-column: span 2; } .intro-lede { font-size: 14px; } .intro-k { font-size: 13.5px; } }
.game-switch { grid-template-columns: repeat(2, 1fr); } .game-switch .gs-btn[data-site-game="all"] { grid-column: span 2; }
.gs-btn.active[data-site-game="onepiece"] { color: var(--onepiece); } .gs-btn.active[data-site-game="mtg"] { color: var(--mtg); }
body[data-game="onepiece"] .game-pick select { color: var(--onepiece); } body[data-game="mtg"] .game-pick select { color: var(--mtg); }
.next-card.onepiece { border-left-color: var(--onepiece); } .next-card.mtg { border-left-color: var(--mtg); }
.play-card.onepiece { border-left-color: var(--onepiece); } .play-card.mtg { border-left-color: var(--mtg); }

/* Collection on phones: one card per item instead of an eight-column table that runs off screen. */
@media (max-width: 640px) {
  #view-collection .table-wrap { overflow: visible; }
  table.coll, table.coll tbody { display: block; } table.coll thead { display: none; }
  table.coll tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.coll td { display: block; padding: 0; border: 0; white-space: normal; min-width: 0; font-variant-numeric: tabular-nums; }
  table.coll td:first-child { grid-column: 1 / -1; min-width: 0; }
  table.coll td[data-label]::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
  table.coll td.coll-act { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
  table.coll td.coll-act .icon-btn { min-width: 40px; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 10px; }
}
@media (max-width: 640px) { table.coll td.wide { grid-column: 1 / -1; } table.deals td:first-child { min-width: 0; } }
.wip-note { margin: 0 0 14px; } .wip-note strong { color: var(--text); }
.near { color: var(--amber); } /* a small markup over MSRP is not a scalper price */

/* Retailer scorecard (About) */
.score-note { color: var(--muted); }
.scorecard { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 12px 0 16px; }
.score-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.score-store { font-weight: 700; font-size: 16px; }
.score-num { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; } .score-num small { font-size: 13px; color: var(--muted); font-weight: 600; }
.score-num.good { color: var(--green); } .score-num.mid { color: var(--amber); } .score-num.low { color: var(--red); }
.score-bar { display: block; width: 100%; height: 6px; }
.score-bar .track { fill: var(--surface-3); } .score-bar .fill.good { fill: var(--green); } .score-bar .fill.mid { fill: var(--amber); } .score-bar .fill.low { fill: var(--red); }
.score-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; }
.score-card li { padding-left: 18px; position: relative; color: var(--muted); }
.score-card li.plus::before { content: "+"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.score-card li.minus::before { content: "−"; position: absolute; left: 2px; color: var(--red); font-weight: 800; }
#scorecard { scroll-margin-top: 76px; } /* clears the sticky phone header when linked directly */

/* ---- Home (plain-language landing page) ---- */
#view-home { display: grid; gap: 28px; align-content: start; }
#view-home.hidden { display: none !important; }
.home-hero { display: grid; gap: 8px; max-width: 760px; }
.home-hero h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; text-wrap: balance; }
.home-lede { color: var(--muted); font-size: 17px; }
.home-queue { display: block; text-decoration: none; color: var(--text); background: color-mix(in srgb, var(--amber) 12%, transparent); border: 1px solid var(--amber); border-radius: var(--r); padding: 14px 16px; font-weight: 600; }
.home-jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-jump a { display: grid; gap: 2px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; color: var(--text); }
.home-jump a:hover { border-color: var(--line-strong); text-decoration: none; }
.home-jump-k { font-weight: 700; font-size: 15px; } .home-jump-v { color: var(--muted); font-size: 13px; }
.home-block { display: grid; gap: 14px; }
.home-head { display: grid; gap: 4px; }
.home-head h2 { font-size: 22px; text-transform: none; letter-spacing: -.01em; color: var(--text); }
.home-head p { color: var(--muted); font-size: 15px; max-width: 70ch; }
.home-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.home-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; }
.home-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.home-card-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.home-kind { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.home-pill { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.home-pill.good { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } .home-pill.warn { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); } .home-pill.plain { color: var(--muted); background: var(--surface-3); }
.home-what { color: var(--muted); font-size: 14.5px; }
.home-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.home-price strong { font-size: 24px; } .home-price span { color: var(--muted); font-size: 14.5px; }
.home-go { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 0 16px; margin-top: 4px; }
.home-go:hover { text-decoration: none; filter: brightness(1.08); }
.home-go.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.home-when { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; } .home-when strong { font-size: 19px; } .home-when span { color: var(--muted); font-size: 14.5px; }
.home-status { font-size: 14.5px; font-weight: 600; } .home-status.good { color: var(--green); } .home-status.warn { color: var(--amber); } .home-status.plain { color: var(--muted); font-weight: 500; }
.home-links { display: flex; flex-wrap: wrap; gap: 8px; }
.home-links a { font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; color: var(--text); }
.home-links a:hover { border-color: var(--accent); text-decoration: none; }
.home-details summary { cursor: pointer; color: var(--muted); font-size: 13.5px; } .home-details p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.home-tip { font-size: 14.5px; } .home-tip b { color: var(--text); }
.home-empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 16px; }
.home-more-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.home-more { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 14px; cursor: pointer; }
.home-link { font-weight: 600; font-size: 14.5px; color: var(--accent); }
.home-guide-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.home-guide-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; align-content: start; }
.home-guide-row .g-when { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.home-guide-row .g-what { font-weight: 700; font-size: 16px; } .home-guide-row .g-price { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.home-guide-row .g-note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.home-rules { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.home-glossary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.home-glossary summary { cursor: pointer; font-weight: 700; }
.home-glossary dl { margin: 10px 0 0; display: grid; gap: 10px; } .home-glossary dt { font-weight: 700; } .home-glossary dd { margin: 0; color: var(--muted); }
#home-buy, #home-soon, #home-line, #home-guide { scroll-margin-top: 76px; }
@media (max-width: 520px) { .home-jump { grid-template-columns: 1fr; } .home-jump a { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; } }
.badge.direct { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); } /* listing read from the shop's own catalog */
.glance-value.near { color: var(--amber); } /* Deals: close to MSRP is still a fair buy */

/* Links under every page: the scorecard, retailers and about pages are in the sidebar, which phones don't show. */
.site-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px max(32px, calc((100% - 1116px) / 2)) calc(24px + env(safe-area-inset-bottom, 0px)); /* lines up with .page content */ padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.site-links a { color: var(--muted); text-decoration: none; } .site-links a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 900px) { .site-links { margin-inline: 14px; } }

.score-parts { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; line-height: 1.4; }

/* Phone header: More menu for pages that don't fit the bottom tabs (Store Report Card, For retailers, About). */
.more-menu { position: relative; margin-left: 8px; }
.more-menu summary { list-style: none; cursor: pointer; display: inline-block; } .more-menu summary::-webkit-details-marker { display: none; }
.more-menu[open] summary { color: var(--text); border-color: var(--accent); }
.more-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 190px; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.more-list a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px; text-decoration: none; } .more-list a:hover, .more-list a:active { background: var(--surface-3); text-decoration: none; }

/* Light mode: follows the device setting unless the visitor picks Light or Dark (data-theme on <html>, see theme.js). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { color-scheme: light;
    --bg: #f3f5f9; --surface: #ffffff; --surface-2: #f7f8fb; --surface-3: #e9edf3; --line: #dde2ea; --line-strong: #c6cedb;
    --text: #121722; --text-soft: #313a4b; --muted: #596377; --faint: #8891a3;
    --accent: #2f6fe0; --accent-ink: #ffffff;
    --green: #0d8252; --amber: #946300; --red: #c8313f; --pokemon: #9c6a00; --pk-badge-bg: #ffe27a; --pk-badge-ink: #5e4300; --pk-edge: #f2b705; --lorcana: #6a45c4; --onepiece: #c0392b; --mtg: #ad551a; --riftbound: #0b7a70;
    --brand-name: #0C0F15; --brand-accent: #2F6FE0;
    --shadow: 0 8px 24px rgba(20,30,60,.10); }
  :root:not([data-theme="dark"]) .on-dark { display: none !important; }
  :root:not([data-theme="dark"]) .on-light { display: block !important; }
}
:root[data-theme="light"] { color-scheme: light;
    --bg: #f3f5f9; --surface: #ffffff; --surface-2: #f7f8fb; --surface-3: #e9edf3; --line: #dde2ea; --line-strong: #c6cedb;
    --text: #121722; --text-soft: #313a4b; --muted: #596377; --faint: #8891a3;
    --accent: #2f6fe0; --accent-ink: #ffffff;
    --green: #0d8252; --amber: #946300; --red: #c8313f; --pokemon: #9c6a00; --pk-badge-bg: #ffe27a; --pk-badge-ink: #5e4300; --pk-edge: #f2b705; --lorcana: #6a45c4; --onepiece: #c0392b; --mtg: #ad551a; --riftbound: #0b7a70;
    --brand-name: #0C0F15; --brand-accent: #2F6FE0;
    --shadow: 0 8px 24px rgba(20,30,60,.10); }
:root[data-theme="light"] .on-dark { display: none !important; }
:root[data-theme="light"] .on-light { display: block !important; }
.on-light { display: none; }
/* Theme switch: sidebar foot on desktop, More menu on phones. */
.theme-switch { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface-3); border-radius: 999px; }
.theme-switch button { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.theme-switch button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.more-list .theme-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 6px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Heads-up: a window that looks close but isn't announced (src/data/headsup.json). Amber = get ready, not live. */
.headsup { border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); background: color-mix(in srgb, var(--amber) 9%, var(--surface)); border-radius: var(--r-lg); padding: 16px 18px; margin: 0 0 18px; display: grid; gap: 8px; }
.hu-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--amber); }
.hu-title { font-size: 19px; line-height: 1.25; text-wrap: balance; }
.hu-text { color: var(--text-soft); font-size: 14px; line-height: 1.55; max-width: 72ch; }
.hu-steps { margin: 0; padding-left: 20px; color: var(--text-soft); font-size: 14px; line-height: 1.5; display: grid; gap: 3px; }
.hu-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.hu-row .btn { text-decoration: none; }
.hu-fine { font-size: 12px; color: var(--muted); }
.badge.status.heads { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
/* Live queue report: shown on every page (Home has its own banner). */
.queue-alert { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--green) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--green) 50%, transparent); color: var(--text); font-weight: 700; text-decoration: none; }
.queue-alert:hover { text-decoration: none; border-color: var(--green); }
.headsup .hu-title { font-size: 19px; line-height: 1.25; text-transform: none; letter-spacing: -.01em; color: var(--text); margin: 0; }

/* Why prices jump: plain answers first, collector detail in soft boxes. */
.why-short { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 18px 8px; margin-bottom: 8px; }
.why-deep { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 16px 4px; margin: 4px 0 18px; }
.why-deep-k { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.why-deep li { font-size: 14px; }
.why-note { font-size: 12.5px; color: var(--muted); }
.prose ol { padding-left: 20px; } .prose ol li { margin-bottom: 8px; }

/* Why-prices infographics: plain HTML so they reflow on phones and follow the theme. Colors validated for color-blind
   separation in both themes (blue = still printed / reprinted, gold = exclusive or out of print). */
:root { --chart-1: #5a8aee; --chart-2: #b8861e; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --chart-1: #2f6fe0; --chart-2: #946300; } }
:root[data-theme="light"] { --chart-1: #2f6fe0; --chart-2: #946300; }
.chart { margin: 14px 0 20px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 12px; }
.chart figcaption { display: grid; gap: 2px; } .chart figcaption strong { font-size: 15px; color: var(--text); } .chart figcaption span { font-size: 12.5px; color: var(--muted); }
.chart .c1 { background: var(--chart-1); } .chart .c2 { background: var(--chart-2); }
.chart-src { font-size: 12px; color: var(--muted); margin: 0; }
.chart-table summary { cursor: pointer; font-size: 12.5px; color: var(--accent); } .chart-table table { margin-top: 8px; border-collapse: collapse; font-size: 13px; width: 100%; } .chart-table th, .chart-table td { text-align: left; padding: 4px 8px 4px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; } .chart-table th { color: var(--muted); font-weight: 600; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--text-soft); } .chart-legend span { display: inline-flex; align-items: center; gap: 6px; } .lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
/* vertical bars */
.vbars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; height: 190px; padding-top: 4px; border-bottom: 1px solid var(--line-strong); }
.vb { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; height: 100%; align-items: end; gap: 4px; }
.vb-bar { width: min(44px, 80%); border-radius: 4px 4px 0 0; align-self: end; }
.vb-v { font-size: 12.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; align-self: end; }
.vb-k { font-size: 11px; color: var(--muted); white-space: nowrap; transform: translateY(20px); }
.vbars { margin-bottom: 18px; }
.vb-bar.h31 { height: 31%; } .vb-bar.h76 { height: 76%; } .vb-bar.h81 { height: 81%; } .vb-bar.h83 { height: 83%; } .vb-bar.h85 { height: 85%; } .vb-bar.h99 { height: 99%; } 
/* horizontal bars (times box price) */
.hbars { position: relative; display: grid; gap: 10px; }
.hb { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 12px; align-items: center; }
.hb-k { font-size: 13px; color: var(--text); line-height: 1.3; } .hb-k small { display: block; font-size: 11.5px; color: var(--muted); }
.hb-track { position: relative; display: flex; align-items: center; gap: 8px; min-height: 18px; }
.hb-bar { height: 14px; border-radius: 0 4px 4px 0; }
.hb-v { font-size: 12.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-bar.w6 { width: calc((100% - 3rem) * 0.06); } .hb-bar.w11 { width: calc((100% - 3rem) * 0.11); } .hb-bar.w28 { width: calc((100% - 3rem) * 0.28); } .hb-bar.w32 { width: calc((100% - 3rem) * 0.32); } .hb-bar.w38 { width: calc((100% - 3rem) * 0.38); } .hb-bar.w50 { width: calc((100% - 3rem) * 0.5); } .hb-bar.w68 { width: calc((100% - 3rem) * 0.68); } .hb-bar.w100 { width: calc((100% - 3rem) * 1.0); } 
.hb-ref { font-size: 11.5px; color: var(--muted); padding-left: calc(15rem + 12px + (100% - 15rem - 12px - 3rem) * .1); border-top: 1px dashed transparent; }
.hb-ref span { display: inline-block; border-left: 2px dashed var(--muted); padding-left: 6px; }
@media (max-width: 560px) { .hb { grid-template-columns: 1fr; } .hb-ref { padding-left: calc((100% - 3rem) * .1); } .vb-k { font-size: 10px; } }
/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.timeline li { position: relative; padding-top: 16px; border-top: 3px solid var(--chart-1); display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--chart-1); box-shadow: 0 0 0 3px var(--surface); }
.tl-d { font-weight: 800; font-size: 14px; color: var(--text); } .tl-t { font-size: 12.5px; color: var(--text-soft); line-height: 1.4; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; gap: 0; } .timeline li { border-top: 0; border-left: 3px solid var(--chart-1); padding: 0 0 14px 16px; } .timeline li::before { top: 2px; left: -8px; } }
.hbars::before { content: ""; position: absolute; top: 0; bottom: 22px; left: calc(15rem + 12px + (100% - 15rem - 12px - 3rem) * .1); border-left: 2px dashed color-mix(in srgb, var(--muted) 70%, transparent); pointer-events: none; }
.hb-ref span { border-left: 0; padding-left: 0; transform: translateX(-50%); }
@media (max-width: 560px) { .hbars::before { display: none; } .hb-ref span { transform: none; border-left: 2px dashed var(--muted); padding-left: 6px; } }
.prose .timeline { padding-left: 0; } .prose .timeline li { margin-bottom: 0; align-content: start; }
.hb-v { position: relative; background: var(--surface); padding: 0 4px; margin-left: -4px; border-radius: 4px; }

.rel-head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: flex-end; }
.badge.pre { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); text-transform: none; letter-spacing: 0; }

/* Drawings and lotteries (Windows page) and the Home banner when one is open or opens today. */
.draw-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.draw-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 6px; align-content: start; }
.draw-card.live { border-color: color-mix(in srgb, var(--green) 55%, transparent); } .draw-card.today { border-color: color-mix(in srgb, var(--amber) 55%, transparent); }
.draw-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.badge.store { color: var(--text); background: var(--surface-3); text-transform: none; letter-spacing: 0; }
.draw-card .pill { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.draw-card .pill.good { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); } .draw-card .pill.warn { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); } .draw-card .pill.plain { color: var(--muted); background: var(--surface-3); }
.draw-title { font-weight: 700; font-size: 14px; line-height: 1.35; } .draw-when { font-size: 13px; color: var(--text-soft); font-variant-numeric: tabular-nums; } .draw-src { font-size: 12px; color: var(--muted); } .draw-link { font-size: 13px; font-weight: 600; }
.home-draw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent); color: var(--text); font-weight: 700; text-decoration: none; }
.scan-line { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; font-variant-numeric: tabular-nums; } .scan-line:empty { display: none; }
.ssr-list { margin: 0; padding-left: 18px; color: var(--text-soft); display: grid; gap: 4px; }

/* Store Report Card: method table, source links, per-store points */
.rc-method { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.rc-method td, .rc-method th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rc-method td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.rc-method .rc-group th { padding-top: 14px; font-size: 13px; color: var(--text); border-bottom-color: var(--line-strong); }
.rc-src { font-size: 11px; color: var(--faint); margin-left: 2px; white-space: nowrap; }
.rc-ev { display: block; font-size: 11px; color: var(--faint); } /* evidence label under Yes / Partly / No (Phase 2E) */
.rc-ev-table td:last-child { width: 4.5em; }
.rc-points summary { cursor: pointer; font-size: 12.5px; color: var(--accent); }
.rc-points table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.rc-points td { padding: 4px 2px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.rc-points td:nth-child(2) { white-space: nowrap; padding: 4px 6px; }
.rc-points td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text); }

/* Permanent release pages (/releases/<set>) */
.set-crumb { font-size: 13px; color: var(--muted); margin: 0 0 4px; } .set-crumb a { color: var(--accent); }
.set-alert { border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); border-radius: var(--r); padding: 12px 16px; margin: 4px 0 8px; }
.set-alert p { margin: 6px 0; } .set-alert ol { margin: 6px 0 0; padding-left: 20px; font-size: 14px; }
.set-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 4px; }
.set-table th, .set-table td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.set-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.set-table tbody th { font-weight: 700; white-space: nowrap; }
.set-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.set-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.set-status.good { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.set-status.warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.set-list { padding-left: 18px; display: grid; gap: 6px; } .set-news li { list-style: none; margin-left: -18px; }
.set-notes summary { cursor: pointer; color: var(--accent); font-size: 14px; } .set-notes ul { font-size: 14px; display: grid; gap: 6px; }
@media (max-width: 640px) { .set-table tbody th { white-space: normal; } .set-table td:first-of-type { white-space: nowrap; } }
.set-link { font-size: 12.5px; font-weight: 600; color: var(--accent); white-space: nowrap; margin-left: 4px; }
.set-guides { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; } .set-guides:empty { display: none; }
.set-guides-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.set-guide { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; }
.set-guide span { color: var(--accent); font-size: 13px; font-weight: 600; } .set-guide:hover { border-color: var(--accent); }
.hu-set { display: inline-block; margin: 2px 0 8px; }

/* Riftbound (added 2026-09-29) */
.badge.game.riftbound { color: var(--riftbound); background: color-mix(in srgb, var(--riftbound) 13%, transparent); }
.gs-btn.active[data-site-game="riftbound"] { color: var(--riftbound); } body[data-game="riftbound"] .game-pick select { color: var(--riftbound); }
.next-card.riftbound, .play-card.riftbound { border-left-color: var(--riftbound); }
.updates .update { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; } .updates .update:last-child { border-bottom: 0; }
.update-date { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.updates h3 { font-size: 15px; margin: 14px 0 4px; }
/* The logo goes home */
a.brand-home { color: inherit; text-decoration: none; cursor: pointer; } .mobile-brand a.brand-home { display: flex; align-items: center; gap: 8px; }
a.brand-home:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.set-guides[hidden], .set-guide[hidden] { display: none; }

/* Guides index */
/* Guides hub (Phase 2D): an editorial index in four groups, from the guide registry. Lists, not cards; no product imagery (I2). */
.gd-byline { font-size: 13px; color: var(--muted); margin-top: 10px; }
.gd-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; max-width: 1040px; align-items: start; }
.gd-hub > section { margin-top: 0; } /* the grid gap spaces the groups */
.gd-group-head { border-top: 2px solid var(--text); padding-top: 12px; }
.gd-group-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--text); text-transform: none; }
.gd-group-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.gd-list { list-style: none; margin: 6px 0 0; padding: 0; }
.gd-list li + li { border-top: 1px solid var(--line); }
.gd-item { display: grid; gap: 4px; padding: 14px 0; color: var(--text); font-weight: 400; text-decoration: none; }
.gd-item strong { font-size: 17px; line-height: 1.3; }
.gd-item:hover strong, .gd-item:focus-visible strong { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.gd-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.gd-sum { color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.gd-tools { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.gd-tools h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gd-tools ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.gd-tools li { display: grid; align-content: start; }
.gd-tools a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--text); text-decoration: none; }
.gd-tools a:hover { color: var(--accent); }
.gd-tools span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 760px) { .gd-hub { grid-template-columns: minmax(0, 1fr); gap: 20px; } .gd-tools ul { grid-template-columns: minmax(0, 1fr); } }
.guide-note { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); font-size: 14px; }
.guide-note a, .play-guide { color: var(--accent); font-weight: 600; }
.play-guide { font-size: 13px; }

/* Japanese vs English guide */
.jp-fig { margin: 12px 0 20px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.cmp-col.jp-col { border-color: color-mix(in srgb, var(--pokemon) 45%, var(--line)); }
.cmp-head { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp-row { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; }
.cmp-k { font-size: 13px; color: var(--muted); } .cmp-v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; } .cmp-v.small-v { font-size: 16px; }
.cmp-n { grid-column: 1 / -1; font-size: 12px; color: var(--faint); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: none; }
.flow-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; gap: 6px; align-content: start; position: relative; }
.flow-step svg { width: 44px; height: 44px; } .flow-step strong { font-size: 14px; } .flow-step span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.flow-step.keep { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); } .flow-step.sell { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); }
.ic-fill { fill: var(--surface-3); stroke: var(--muted); stroke-width: 1.5; } .ic-line { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.ic-pack { fill: color-mix(in srgb, var(--accent) 25%, var(--surface)); stroke: var(--accent); stroke-width: 1.5; } .ic-pack.hot { fill: color-mix(in srgb, var(--green) 25%, var(--surface)); stroke: var(--green); }
.ic-star { fill: var(--amber); } .ic-tag { fill: color-mix(in srgb, var(--amber) 30%, var(--surface)); stroke: var(--amber); stroke-width: 1.5; } .ic-hole { fill: var(--surface); stroke: var(--amber); }
/* One Piece guide: header drawing (I3: line art, one accent), price chart, product-code tiles, path and timeline */
.page-head.op-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: center; }
.op-ill { margin: 0; } .op-ill svg { width: 100%; height: auto; display: block; }
.op-ill-face { fill: var(--surface); stroke: var(--text-soft); stroke-width: 1.6; stroke-linejoin: round; }
.op-ill-side { fill: var(--surface-2); stroke: var(--text-soft); stroke-width: 1.6; stroke-linejoin: round; }
.op-ill-tint { fill: color-mix(in srgb, var(--g-edge) 22%, var(--surface)); }
.op-ill-line, .op-ill-string { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; }
.op-ill-string { stroke-dasharray: 3 4; }
.op-ill-tag { fill: var(--surface); stroke: var(--text-soft); stroke-width: 1.5; stroke-linejoin: round; }
.op-ill-hot { fill: color-mix(in srgb, var(--g-edge) 12%, var(--surface)); stroke: var(--g-edge); }
.op-ill-hole { fill: var(--bg); stroke: var(--muted); }
.op-ill-k { font: italic 12px var(--serif); fill: var(--muted); }
.op-ill-v { font: 700 15px var(--sans); fill: var(--text); } .op-ill-v.hot { fill: var(--g-ink); }
.op-ill-arrow { fill: none; stroke: var(--g-edge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.op-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.op-bars li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 13px; }
.op-set { font-weight: 700; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.op-bar { width: 100%; height: 12px; display: block; }
.op-b-msrp { fill: var(--faint); } .op-b-over { fill: var(--onepiece); }
.op-val { text-align: right; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.op-lg-msrp { background: var(--faint); } .op-lg-over { background: var(--onepiece); }
.op-axis { display: flex; justify-content: space-between; margin: -4px 94px 0 58px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); padding-top: 4px; }
.op-codes { list-style: none; margin: 12px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.op-codes li { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.op-codes .dart { width: 100%; height: 112px; padding: 6px; }
.op-code { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--g-ink); }
.op-codes strong { font-size: 14.5px; color: var(--text); }
.op-codes span:not(.dart):not(.op-code) { font-size: 13px; color: var(--muted); line-height: 1.4; }
.op-codes .op-price { font-weight: 700; color: var(--text-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .page-head.op-head { grid-template-columns: 1fr; } .op-ill { max-width: 280px; }
  .op-bars li { grid-template-columns: 44px minmax(0, 1fr) 76px; gap: 8px; }
  .op-axis { margin: -4px 84px 0 52px; }
  .op-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) { .op-tl { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.op-tl li { border-top-color: var(--onepiece); } .op-tl li::before { background: var(--onepiece); }
.op-tl .tl-d { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.op-tl .tl-t { font-size: 13.5px; color: var(--text-soft); line-height: 1.4; }
.op-tl a { font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 700px) { .op-tl li { border-left-color: var(--onepiece); } }
.jp-rule { padding: 12px 14px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 8%, var(--surface)); border-radius: 0 var(--r) var(--r) 0; }
.crimp { width: 100%; height: auto; display: block; max-width: 720px; }
.cr-pack { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; } .cr-seal { fill: var(--surface-3); }
.cr-zig { fill: none; stroke-width: 2; stroke-linejoin: miter; } .cr-zig.ok { stroke: var(--green); } .cr-zig.bad { stroke: var(--red); }
.cr-gloss { fill: color-mix(in srgb, var(--red) 18%, transparent); stroke: var(--red); stroke-dasharray: 3 3; } .cr-glue { fill: color-mix(in srgb, var(--amber) 45%, transparent); stroke: var(--amber); }
.cr-lead { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.cr-title { fill: var(--text); font-size: 16px; font-weight: 700; } .cr-note { fill: var(--muted); font-size: 13px; } .cr-note.bad { fill: var(--red); } .cr-foot { fill: var(--faint); font-size: 12px; }
.flags { list-style: none; padding-left: 0; display: grid; gap: 8px; } .flags li { padding-left: 26px; position: relative; } .flags li::before { content: "!"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
@media (max-width: 720px) { .cmp { grid-template-columns: 1fr; } .flow { grid-template-columns: 1fr 1fr; } }
.weigh-easy { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); } .weigh-hard { border-color: var(--line); }
.weigh-list, .prose .weigh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .prose .weigh-list li { margin: 0; } .weigh-list li { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; }
.weigh-list strong { font-size: 14px; } .weigh-list span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.crimp-wrap { overflow-x: auto; } @media (max-width: 720px) { .crimp { min-width: 560px; } }

/* ===================================================================================================================
   Printed Price 2 — global shell and homepage (Phase 1). Warm neutral canvas, editorial serif for statements, system
   sans for data, thin rules, minimal shadow. Game colours are the production tokens above (--pokemon, --pk-badge-ink,
   --pk-edge, --lorcana, --onepiece, --riftbound); they mark game context, never whole pages.
   =================================================================================================================== */
:root {
  --bg: #151412; --surface: #1c1b18; --surface-2: #23211d; --surface-3: #2c2a25; --line: #33302a; --line-strong: #45413a;
  --text: #efebe4; --text-soft: #d4cfc6; --muted: #a8a298; --faint: #7a756c; --accent: #8fb3ff; --accent-ink: #0b1a3a;
  --btn-ink: #efebe4; --btn-ink-text: #151412; --ok-ink: #3ddc97; --warn-ink: #ffc857; --ok-dot: #3ddc97; --near-dot: #ffc857;
  --rel-emerald: #4cc38a;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Noto Serif", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.25);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f3ee; --surface: #fffdf9; --surface-2: #f2eee7; --surface-3: #e8e2d8; --line: #e5dfd5; --line-strong: #cfc7b9;
    --text: #171a1f; --text-soft: #353a42; --muted: #5c616b; --faint: #857f75; --accent: #1f5bd1; --accent-ink: #ffffff;
    --btn-ink: #172033; --btn-ink-text: #ffffff; --ok-ink: #0a6a42; --warn-ink: #7a5200; --ok-dot: #16a05f; --near-dot: #e6ad12; --shadow: 0 1px 2px rgba(40,30,10,.06); --rel-emerald: #16774c; }
}
:root[data-theme="light"] {
  --bg: #f6f3ee; --surface: #fffdf9; --surface-2: #f2eee7; --surface-3: #e8e2d8; --line: #e5dfd5; --line-strong: #cfc7b9;
  --text: #171a1f; --text-soft: #353a42; --muted: #5c616b; --faint: #857f75; --accent: #1f5bd1; --accent-ink: #ffffff;
  --btn-ink: #172033; --btn-ink-text: #ffffff; --ok-ink: #0a6a42; --warn-ink: #7a5200; --ok-dot: #16a05f; --near-dot: #e6ad12; --shadow: 0 1px 2px rgba(40,30,10,.06); --rel-emerald: #16774c; }
:root[data-theme="dark"] { color-scheme: dark; }

/* game context: text ink (AA on the canvas) and accent edge, from the production tokens */
.g-pokemon, [data-site-game="pokemon"] { --g-ink: var(--pk-badge-ink); --g-edge: var(--pk-edge); }
.g-lorcana, [data-site-game="lorcana"] { --g-ink: var(--lorcana); --g-edge: var(--lorcana); }
.g-onepiece, [data-site-game="onepiece"] { --g-ink: var(--onepiece); --g-edge: var(--onepiece); }
.g-riftbound, [data-site-game="riftbound"] { --g-ink: var(--riftbound); --g-edge: var(--riftbound); }
.g-all, [data-site-game="all"] { --g-ink: var(--text); --g-edge: var(--text); }
body[data-game="pokemon"] { --cur-ink: var(--pk-badge-ink); --cur-edge: var(--pk-edge); }
body[data-game="lorcana"] { --cur-ink: var(--lorcana); --cur-edge: var(--lorcana); }
body[data-game="onepiece"] { --cur-ink: var(--onepiece); --cur-edge: var(--onepiece); }
body[data-game="riftbound"] { --cur-ink: var(--riftbound); --cur-edge: var(--riftbound); }
body[data-game="all"] { --cur-ink: var(--text); --cur-edge: var(--text); }

html, body { height: auto; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; }
.shell { display: block; height: auto; } .content { overflow: visible; } .sidebar, .top-brand, .site-links { display: none !important; }
.page { max-width: 1240px; padding: 36px 32px 48px; } .foot { display: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border: 1px solid var(--line-strong); }
.skip:focus { left: 12px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* header */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar-in { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: flex; align-items: center; gap: 14px; min-height: 44px; color: var(--text); text-decoration: none; flex: none; }
.wm-name { font-family: Figtree, var(--sans); font-weight: 800; font-size: 19px; letter-spacing: .3em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.wm-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 12px; }
nav.primary { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary .view-btn { position: relative; background: none; border-radius: 0; padding: 12px 12px; color: var(--text-soft); font-weight: 500; font-size: 14.5px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.primary .view-btn:hover { background: none; color: var(--text); }
.primary .view-btn.active { background: none; color: var(--text); font-weight: 700; }
.primary .view-btn.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--text); }
.primary .nav-count { display: none; }
.nav-more summary { padding: 12px; color: var(--text-soft); font-size: 14.5px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.nav-more summary:hover { color: var(--text); }
.nav-more.active summary { color: var(--text); font-weight: 700; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.more-list { background: var(--surface); border-color: var(--line-strong); border-radius: 6px; box-shadow: 0 12px 30px rgba(20,15,5,.14); }
.more-list a { font-size: 14.5px; min-height: 44px; display: flex; align-items: center; }
.icon-btn2 { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; color: var(--text-soft); border-radius: 6px; flex: none; }
.icon-btn2:hover { color: var(--text); background: var(--surface-2); }
.icon-btn2 svg, .mobile-menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle { border-left: 1px solid var(--line); border-radius: 0; padding-left: 12px; width: 56px; }
.mobile-menu { display: none; }

/* game bar */
.gamebar { border-bottom: 1px solid var(--line); }
.gamebar-in { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 16px; }
.gamebar .game-switch { display: flex; gap: 6px; background: none; padding: 0; border: 0; overflow-x: auto; scrollbar-width: none; }
.gamebar .game-switch::-webkit-scrollbar { display: none; }
.gamebar .gs-btn { position: relative; border: 0; background: none; border-radius: 0; padding: 14px 16px; min-height: 48px; font-size: 15.5px; font-weight: 600; color: var(--g-ink); white-space: nowrap; }
.gamebar .gs-btn[data-site-game="all"] { color: var(--text); }
.gamebar .gs-btn:hover { background: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.gamebar .gs-btn.active { font-weight: 800; color: var(--g-ink); background: none; }
.gamebar .gs-btn.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--g-edge); }
.gamebar a.gs-btn { display: inline-flex; align-items: center; text-decoration: none; } /* links on Releases and Deals (cleanup §11) */
.rl-cross, .dp-cross { margin: 8px 0 0; font-size: 14px; } .rl-cross a, .dp-cross a { font-weight: 600; }
.gamebar-note { margin-left: auto; color: var(--muted); font-size: 13.5px; white-space: nowrap; }

/* homepage */
.home2 { padding-top: 8px; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: center; padding: 40px 0 36px; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--cur-ink, var(--text)); margin-bottom: 14px; }
.display { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.022em; text-wrap: balance; color: var(--text); text-transform: none; }
.hero2-lede { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--text-soft); margin-top: 16px; max-width: 34ch; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; border-radius: 3px; text-decoration: none; white-space: nowrap; }
.btn2:hover { border-color: var(--text); text-decoration: none; }
.btn2.primary { background: var(--btn-ink); border-color: var(--btn-ink); color: var(--btn-ink-text); }
.btn2.primary:hover { filter: brightness(1.12); }
.hero2-art { display: grid; place-items: center; }
.hero2-art svg { width: 100%; max-width: 320px; height: auto; fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linejoin: round; }
.hero2-art .box-top { fill: var(--surface); } .hero2-art .box-left { fill: var(--surface-2); } .hero2-art .box-right { fill: var(--surface-3); }
.hero2-art .price-tag path:first-child { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 16%, var(--surface)); stroke: var(--cur-edge, var(--text)); }
.hero2-art .price-tag circle, .hero2-art .tag-line { stroke: var(--cur-ink, var(--text)); }

/* LiveOpportunity: informational, noticeable, never promotional (no pulse, no countdown pressure) */
.live-slot { margin-top: 28px; display: grid; gap: 12px; } .live-slot:empty { display: none; }
.live { border: 1px solid color-mix(in srgb, var(--g-edge) 45%, var(--line)); border-left: 5px solid var(--g-edge); background: color-mix(in srgb, var(--g-edge) 9%, var(--surface)); padding: 18px 22px; border-radius: 3px; max-width: 640px; margin: 0; }
.live-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g-edge); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-edge) 25%, transparent); }
.live-title { font-family: var(--serif); font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--text); text-transform: none; margin-top: 6px; }
.live-detail { color: var(--text-soft); font-size: 15px; margin-top: 6px; }
.live-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.live-go { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--g-edge); text-decoration-thickness: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.fresh { color: var(--muted); font-size: 13px; }

/* summary cards */
.home2-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 12px; }
.home2-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.home2 section { margin-top: 0; }
.h2card, .h2band { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; box-shadow: var(--shadow); }
.h2band { margin-top: 18px; }
.h2head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; margin-bottom: 10px; }
.home2 h2 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.005em; text-transform: none; color: var(--text); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.more { font-size: 13.5px; font-weight: 600; color: var(--accent); white-space: nowrap; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.more:hover { text-decoration: underline; }
.h2foot, .h2sub { color: var(--muted); font-size: 13px; margin-top: 12px; } .h2sub { margin: -4px 0 10px; }
.empty { color: var(--muted); font-size: 14px; padding: 8px 0; }
.g-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-ink); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-strong); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--surface); white-space: nowrap; }
.chip-confirmed, .chip-live, .chip-open, .chip-msrp { color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok-ink) 40%, transparent); background: color-mix(in srgb, var(--ok-ink) 9%, var(--surface)); }
.chip-live::before, .chip-open::before { content: "●"; margin-right: 5px; font-size: 8px; }
.chip-near, .chip-soon, .chip-upcoming { color: var(--warn-ink); border-color: color-mix(in srgb, var(--warn-ink) 40%, transparent); background: color-mix(in srgb, var(--warn-ink) 8%, var(--surface)); }
.chip-rumor, .chip-tba { border-style: dashed; }

/* next major release: the heaviest card */
.nmr-body { display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.nmr-date { display: grid; justify-items: center; align-content: start; padding-right: 18px; border-right: 1px solid var(--line); min-width: 64px; }
.nmr-date span, .up-date span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.nmr-date strong { font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 700; }
.nmr-main { display: grid; gap: 8px; justify-items: start; }
.nmr-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.nmr-line { font-size: 13.5px; color: var(--text-soft); } .nmr-line .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.nmr-actions { margin-top: 6px; }

/* rows (windows, deals) */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-main { display: grid; gap: 1px; min-width: 0; min-height: 44px; align-content: center; color: var(--text); text-decoration: none; }
a.row-main:hover strong { text-decoration: underline; }
.row-main strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; } .row-main span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-end { display: grid; justify-items: end; gap: 3px; max-width: 120px; } .row-end small { font-size: 11.5px; color: var(--muted); text-align: right; }

/* upcoming band */
.up-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.up { border-left: 1px solid var(--line); } .up:first-child { border-left: 0; }
.up a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; padding: 6px 16px; color: var(--text); text-decoration: none; min-height: 44px; }
.up:first-child a { padding-left: 0; }
.up a:hover .up-name { text-decoration: underline; }
.up-date { grid-row: span 2; display: grid; justify-items: center; align-content: start; } .up-date strong { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.up-main { display: grid; gap: 2px; min-width: 0; } .up-name { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.up .chip { justify-self: start; grid-column: 2; }

/* guides and report card */
.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guides a { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 3px; color: var(--text); text-decoration: none; background: var(--bg); min-height: 44px; }
.guides a:hover { border-color: var(--line-strong); } .guides a:hover strong { text-decoration: underline; }
.guides strong { font-family: var(--serif); font-size: 16.5px; } .guides span { font-size: 13px; color: var(--muted); }
.scores { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.scores li { display: grid; grid-template-columns: 158px minmax(0, 1fr) 32px; gap: 12px; align-items: center; font-size: 13.5px; }
.s-name { color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-bar { width: 100%; height: 8px; display: block; } .s-track { fill: var(--surface-3); } .s-fill { fill: var(--text-soft); }
.s-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.getting-started { margin-top: 18px; } .getting-started summary { cursor: pointer; list-style: none; display: grid; gap: 2px; min-height: 44px; }
.getting-started summary::-webkit-details-marker { display: none; } .getting-started summary span { color: var(--muted); font-size: 13.5px; }
.getting-started summary h2::after { content: "+"; margin-left: auto; font-family: var(--sans); color: var(--muted); } .getting-started[open] summary h2::after { content: "–"; }
.getting-started #home-guide-body { margin-top: 14px; } .glossary { margin: 14px 0 0; display: grid; gap: 8px; } .glossary dt { font-weight: 700; } .glossary dd { margin: 0; color: var(--text-soft); }

/* footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 32px; }
.site-foot-in { max-width: 1240px; margin: 0 auto; padding: 28px 32px 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px 40px; }
.sf-brand .wm-name { font-size: 15px; } .sf-brand p { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 42ch; }
.sf-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-content: start; } .sf-links a { color: var(--text-soft); font-size: 14px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; } .sf-links a:hover { color: var(--text); text-decoration: underline; }
.sf-status { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); } .sf-status .side-hint { color: var(--muted); font-size: 12.5px; }
.sf-legal { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }

/* tablet */
@media (max-width: 1120px) {
  .primary .view-btn, .nav-more summary { padding: 12px 8px; font-size: 14px; } .primary .view-btn.active::after { left: 8px; right: 8px; }
  .wm-tag { display: none; }
  .home2-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .home2-grid .nmr { grid-column: 1 / -1; }
  .up-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; } .up:nth-child(4) { border-left: 0; } .up:nth-child(4) a { padding-left: 0; }
}
/* phone: compact header, scrollable game context, bottom tabs; sections stack in the brief's priority order */
@media (max-width: 900px) {
  .topbar-in { height: 56px; padding: 0 12px 0 16px; gap: 8px; }
  .wm-name { font-size: 16px; letter-spacing: .2em; }
  nav.primary { display: none; }
  .theme-toggle { margin-left: auto; border-left: 0; width: 44px; padding: 0; }
  .mobile-menu { display: block; margin-left: 0; }
  .mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text-soft); }
  .mobile-menu .more-list { right: 0; min-width: 240px; max-height: calc(100vh - 80px); overflow: auto; }
  .gamebar-in { padding: 0 8px; } .gamebar .gs-btn { padding: 12px 12px; font-size: 15px; } .gamebar-note { display: none; }
  .page { padding: 20px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
  .hero2 { grid-template-columns: 1fr; padding: 16px 0 8px; gap: 0; } .hero2-art { display: none; }
  .display { font-size: clamp(34px, 9.4vw, 46px); } .hero2-lede { font-size: 18px; }

  .live { padding: 16px 16px; } .live-title { font-size: 23px; }
  .home2-grid, .home2-bottom { grid-template-columns: 1fr; gap: 14px; } .home2-bottom { margin-top: 14px; }
  .h2card, .h2band { padding: 16px; }
  .up-list { grid-template-columns: 1fr; } .up { border-left: 0; border-top: 1px solid var(--line); } .up:first-child { border-top: 0; } .up a, .up:first-child a, .up:nth-child(4) a { padding: 10px 0; }
  .guides { grid-template-columns: 1fr; }
  .row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
  .scores li { grid-template-columns: 104px minmax(0, 1fr) 30px; }
  .site-foot-in { grid-template-columns: 1fr; padding: 24px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
  .tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px)); }
  .tabs .tab { flex: 1; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 2px; color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none; background: none; border: 0; }
  .tabs .tab svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .tabs .tab.active { color: var(--text); } .tabs .tab.active svg { stroke-width: 2.1; }
}
@media (min-width: 901px) { .tabs { display: none !important; } }
@media (max-width: 560px) { .hero2-actions { display: grid; } .hero2-actions .btn2 { width: 100%; } }

.dev-badge { position: fixed; right: 10px; bottom: 84px; z-index: 99; background: #c0392b; color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; pointer-events: none; }

/* ---- Printed Price 2, mockup v2 (Sept 30): hero carousel, full-width LiveOpportunity, two rows of three cards ---- */
.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; }
.hero3 { position: relative; padding: 28px 0 8px; }
.hero3 .slides { position: relative; }
.slide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; align-items: center; min-height: 360px; }
.slide[hidden] { display: none; }
.slide.is-active { animation: slideIn .45s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.slide .eyebrow { color: var(--cur-ink, var(--text)); }
.display-sm { font-size: clamp(34px, 4.4vw, 58px); }
.slide-date { align-self: center; color: var(--muted); font-size: 13.5px; }
.btn2 .t-short { display: none; }
.slide-art { display: grid; place-items: center; }
.art { width: 100%; max-width: 440px; height: auto; fill: none; stroke: var(--text-soft); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.art .a-top { fill: var(--surface); } .art .a-left { fill: var(--surface-2); } .art .a-right { fill: var(--surface-3); }
.art .a-ring { stroke: var(--text-soft); } .art .a-line { stroke: var(--text-soft); }
.art .a-text { fill: var(--text-soft); stroke: none; font: 700 10.5px var(--sans); letter-spacing: .1em; }
.art .a-string { stroke: var(--muted); }
.art .a-tag path { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 22%, var(--surface)); stroke: var(--cur-edge, var(--text)); }
.art .a-tag circle { stroke: var(--text-soft); }
.art .a-tag text { fill: var(--text); stroke: none; font: 800 20px var(--sans); letter-spacing: .04em; }
.art .a-hand { fill: var(--text-soft); stroke: none; font: 19px "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Neue", cursive; }
.art .a-under { stroke: var(--text-soft); }
.art .a-accent { stroke: var(--cur-edge, var(--text)); stroke-width: 2.4; }
.art .a-people circle, .art .a-people path { fill: var(--surface-2); stroke: var(--text-soft); }
.art .a-tagfill { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 22%, var(--surface)); stroke: var(--cur-edge, var(--text)); }
.hero-ctl { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.hero-dot, .hero-pause { width: 32px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; }
.hero-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--text-soft); }
.hero-dot.is-active::before { background: var(--text); border-color: var(--text); width: 22px; border-radius: 5px; }
.hero-pause span { width: 10px; height: 12px; border-left: 3px solid var(--text-soft); border-right: 3px solid var(--text-soft); }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--text-soft); }

/* LiveOpportunity: a full-width band under the hero */
.live-slot { margin-top: 16px; }
.live { max-width: none; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: center; border-left-width: 5px; }
.live-main { min-width: 0; } .live-title { margin-top: 4px; }
.live-act { display: grid; gap: 2px; justify-items: start; border-left: 1px solid color-mix(in srgb, var(--g-edge) 30%, var(--line)); padding-left: 24px; }
.live-act .live-go { min-height: 36px; }
.live-aside { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border-left: 1px solid color-mix(in srgb, var(--g-edge) 30%, var(--line)); padding-left: 24px; color: var(--text); text-decoration: none; min-height: 44px; }
.live-aside .ic { width: 22px; height: 22px; } .live-aside strong { display: block; font-size: 15px; } .live-aside span span { display: block; color: var(--muted); font-size: 13px; }
.live-aside:hover strong { text-decoration: underline; }
.live-foot { display: none; }

/* cards */
.home2-grid + .home2-grid { margin-top: 18px; }
.h2head { position: relative; flex-wrap: nowrap; align-items: center; }
.home2 h2 { font-size: 20px; }
.msec-toggle { display: none; }
.chev { width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(-45deg); flex: none; justify-self: end; }
.nmr-body { grid-template-columns: auto 1fr; align-items: center; }
.nmr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nmr-name a { color: var(--text); text-decoration: none; } .nmr-name a:hover { text-decoration: underline; }
.nmr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.nmr-col { border-left: 1px solid var(--line); padding-left: 14px; } .nmr-col:first-child { border-left: 0; padding-left: 0; }
.nmr-col .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.nmr-col p:last-child { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.nmr-actions { margin-top: 16px; }
.rows li { border-top: 1px solid var(--line); } .rows li:first-child { border-top: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; min-height: 52px; color: var(--text); text-decoration: none; border-top: 0; }
a.row:hover strong { text-decoration: underline; }
.row .row-main { display: grid; gap: 1px; min-height: 0; }
.row .row-main .g-label { font-size: 10.5px; }
.up-list li { border-top: 1px solid var(--line); } .up-list li:first-child { border-top: 0; }
.up-list { display: block; }
.up { display: grid; grid-template-columns: 58px 84px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; min-height: 44px; color: var(--text); text-decoration: none; border: 0; }
.up:hover .up-name { text-decoration: underline; }
.up-date { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.up-date strong { font-family: var(--serif); font-size: 18px; color: var(--text); letter-spacing: 0; }
.up-name { font-size: 13.5px; font-weight: 600; }
.guides { display: block; }
.guides .row strong { font-family: var(--sans); font-size: 14.5px; }
.s-fill.good { fill: var(--ok-ink); } .s-fill.mid { fill: var(--warn-ink); } .s-fill.low { fill: var(--red); }
.scores li { grid-template-columns: 130px minmax(0, 1fr) 30px; }

/* footer: one line of links, the tagline, then the legal line */
.site-foot-in { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.sf-mark { font-size: 15px; color: var(--text); text-decoration: none; }
.sf-tag { color: var(--muted); font-size: 13.5px; text-align: right; }
.sf-status, .sf-legal { grid-column: 1 / -1; }

@media (max-width: 1120px) {
  .live { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .live-aside { display: none; }
  .nmr-cols { grid-template-columns: 1fr 1fr; } .nmr-col:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .hero3 { padding: 12px 0 4px; }
  .slide { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .slide-art { order: 2; } .slide-art .art { max-width: 300px; }
  .slide .hero2-actions { order: 3; }
  .btn2 .t-long { display: none; } .btn2 .t-short { display: inline; }
  .live { grid-template-columns: 1fr; gap: 10px; } .live-act { border-left: 0; padding-left: 0; }
  .h2card.msec { padding: 0 16px; }
  .msec .h2head { min-height: 58px; margin: 0; }
  .msec .h2head h2 { font-size: 18px; }
  .msec-toggle { display: block; position: absolute; inset: 0; width: 100%; background: none; border: 0; cursor: pointer; text-align: right; padding: 0 4px; }
  .msec-toggle .chev { display: inline-block; transform: rotate(-45deg); }
  .msec.open .msec-toggle .chev { transform: rotate(45deg); }
  .msec:not(.open) .msec-body, .msec:not(.open) .h2head .more { display: none; }
  .msec.open .msec-body { padding-bottom: 16px; }
  .msec .h2head .more { position: relative; z-index: 1; margin-right: 28px; }
  .home2-grid + .home2-grid { margin-top: 14px; }
  .nmr-cols { grid-template-columns: 1fr; } .nmr-col { border-left: 0; padding-left: 0; }
  .up { grid-template-columns: 52px minmax(0, 1fr) auto; } .up .g-label { display: none; }
  .site-foot-in { grid-template-columns: 1fr; } .sf-tag { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .slide.is-active { animation: none; } }
/* v2 fixes: headline size, card headers, reset older list styles for the new rows */
.slide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.slide .display { font-size: clamp(38px, 4.5vw, 64px); }
.slide .display-sm { font-size: clamp(32px, 3.8vw, 52px); }
.art { max-width: 520px; }
.home2 .h2head h2 { font-size: 18.5px; white-space: nowrap; }
.home2 .h2head .more { font-size: 12.5px; }
.up .chip { grid-column: auto; justify-self: end; }
.up, .up:first-child { border-left: 0; }
.guides .row, .guides a.row { background: none; border: 0; border-radius: 0; padding: 10px 0; height: auto; display: grid; }
.guides .row strong { font-family: var(--sans); font-size: 14.5px; text-decoration: none; }
.guides .row span span, .guides .row-main > span { font-size: 13px; color: var(--muted); }
.scores li { grid-template-columns: 150px minmax(0, 1fr) 30px; }
@media (max-width: 1280px) { .home2 .h2head h2 { font-size: 17px; } }

.slide { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); }
.slide .display { font-size: clamp(38px, 4.3vw, 60px); text-wrap: pretty; }
.home2 .h2head { gap: 0 10px; }
.home2 .h2head h2 { font-size: 17.5px; min-width: 0; }
.up { grid-template-columns: 62px minmax(0, 1fr) auto; }
.up:has(.g-label) { grid-template-columns: 62px 78px minmax(0, 1fr) auto; }
.up-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* phone overrides last, so they win over the desktop refinements above */
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; min-height: 0; gap: 4px; }
  .slide .display { font-size: clamp(34px, 9.6vw, 44px); }
  .slide .display-sm { font-size: clamp(28px, 8vw, 36px); }
  .slide-art .art { max-width: 320px; margin: 4px auto 0; }
  .home2-grid + .home2-grid { margin-top: 12px; }
  .home2 .h2head h2 { font-size: 18px; white-space: normal; }
}

/* Release/article hero art (H2): secondary to the headline, about 25-35% of the hero, one release accent */
.art-release, .rel-art { --rel: var(--cur-edge, var(--text)); }
.art-release.acc-emerald, .rel-art.acc-emerald { --rel: var(--rel-emerald); }
.art .a-rel { stroke: var(--rel); stroke-width: 2; }
.art .a-relfill { fill: color-mix(in srgb, var(--rel) 16%, var(--surface)); }
.art .a-hot { stroke-width: 2.8; }
.art .a-ticket { fill: var(--surface); stroke: var(--text-soft); }
.art .a-small { font-size: 9.5px; }
.art .a-name { fill: var(--text); stroke: none; font: 700 16.5px var(--serif); letter-spacing: .03em; }
.slide-art--release { justify-items: end; }
.slide-art--release .art { max-width: 380px; }
@media (max-width: 900px) {
  .slide-art--release { justify-items: center; }
  .slide-art--release .art { max-width: 260px; }
}
/* Release slide with a product image (breach log #7): image stays small; our ticket sits off its left edge, clear of the logo */
.rel-art { position: relative; width: min(100%, 380px); padding-left: 130px; }
.rel-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(40, 30, 10, .18)); }
.rel-cue { position: absolute; left: 0; top: 44%; width: 160px; max-width: none; }
@media (max-width: 900px) {
  .rel-art { width: min(100%, 268px); padding-left: 98px; margin: 4px auto 0; }
  .rel-cue { width: 128px; top: 42%; }
}

/* Evergreen hero (rule H1, 2026-09-30): a fan of generic trading cards and a paper note. No brand marks; the game colour tints the backs. */
.art-cards .c-back { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 20%, var(--surface-2)); stroke: var(--text-soft); }
.art-cards .c-inner { fill: none; stroke: color-mix(in srgb, var(--cur-edge, var(--text)) 70%, var(--text-soft)); stroke-width: 1.4; }
.art-cards .c-pat { fill: none; stroke: color-mix(in srgb, var(--cur-edge, var(--text)) 80%, var(--text-soft)); stroke-width: 1.6; }
.art-cards .c-face { fill: var(--surface); stroke: var(--text-soft); }
.art-cards .c-name, .art-cards .c-line { fill: var(--line-strong); stroke: none; }
.art-cards .c-dot { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 35%, var(--surface)); stroke: var(--text-soft); }
.art-cards .c-art { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 12%, var(--surface-2)); stroke: var(--text-soft); }
.art-cards .c-sun { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 45%, var(--surface)); stroke: var(--text-soft); }
.art-cards .c-hill { fill: color-mix(in srgb, var(--cur-edge, var(--text)) 22%, var(--surface-3)); stroke: var(--text-soft); }
.art .a-note { fill: #f4ecd8; stroke: rgba(60, 45, 20, .25); filter: drop-shadow(0 4px 6px rgba(40, 30, 10, .18)); }
.art .a-notetext { fill: #2b2620; stroke: none; font: 20px "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Neue", cursive; }

/* ===== Buying Windows (Phase 2A): RIGHT NOW → UP NEXT → LATER. Operational: strong hierarchy, restrained status colour,
   timestamps, one clear action per card, compact rows. One column on phones; tap targets at least 44px. ===== */
.wp { display: grid; gap: 28px; max-width: 1080px; padding-block: 8px 40px; }
.wp-head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0 0 8px; letter-spacing: -.015em; }
.wp-sub { margin: 0; max-width: 60ch; color: var(--text-soft); font-size: 15.5px; line-height: 1.5; }
.wp-sub strong { color: var(--text); font-weight: 650; }
.wp-demo { margin: 0; padding: 10px 14px; border: 1px dashed var(--warn-ink); border-radius: 10px; color: var(--warn-ink); font-size: 13.5px; font-weight: 600; }
.wp-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 12px; }
.wp-sec h2 { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.wp-fresh, .wp-all { font-size: 13px; color: var(--muted); }
.wp-all { color: var(--accent); text-decoration: none; font-weight: 600; }
.wp-none { margin: 0; color: var(--muted); font-size: 14.5px; }
.wp-alert { margin-left: auto; }

/* Right now: the page's loudest thing when anything is open, a single quiet line when nothing is. */
.wp.has-now .wp-now { padding: 18px; margin-inline: -18px; border-radius: 16px; background: color-mix(in srgb, var(--ok-ink) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--ok-ink) 28%, transparent); }
.wp-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.wcard { position: relative; display: grid; gap: 6px; padding: 16px 16px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--ok-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.wcard.st-reported-open { border-left-color: var(--warn-ink); }
.wcard.st-unconfirmed { border-left-color: var(--line-strong); border-left-style: dashed; }
.wcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wcard-where { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.wcard-what { margin: 0; font-weight: 650; color: var(--text); }
.wcard-state { margin: 2px 0 0; color: var(--text-soft); line-height: 1.45; }
.wcard-limits { margin: 0; font-size: 13.5px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.wcard .wgo { justify-self: start; margin-top: 8px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.wcard-fresh { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wcard-tip { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text); }
.wcard.is-done { opacity: .62; }
.wcard.is-done .wgo { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }

/* Status pills: text carries the meaning; colour is restrained and only reinforces it. */
.wpill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--text-soft); background: var(--surface); }
.wpill.st-waiting-room-live, .wpill.st-open { color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok-ink) 45%, transparent); background: color-mix(in srgb, var(--ok-ink) 9%, var(--surface)); }
.wpill.st-waiting-room-live::before, .wpill.st-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wpill.st-reported-open, .wpill.st-opening-soon { color: var(--warn-ink); border-color: color-mix(in srgb, var(--warn-ink) 40%, transparent); background: color-mix(in srgb, var(--warn-ink) 8%, var(--surface)); }
.wpill.st-unconfirmed { border-style: dashed; }
.wpill.st-closed, .wpill.st-sold-out, .wpill.st-unknown { color: var(--muted); }

/* Your status on a window: secondary to the window's own state. */
.wmine { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.wmine button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-soft); font: 600 13.5px var(--sans); cursor: pointer; }
.wmine button[aria-pressed="true"] { background: var(--btn-ink); color: var(--btn-ink-text); border-color: var(--btn-ink); }
.wmine button[aria-pressed="true"]::before { content: "✓ "; }
.wwhy { margin-top: 4px; font-size: 13px; color: var(--muted); }
.wwhy summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; font-weight: 600; }
.wwhy ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.wwhy a { color: var(--accent); }

/* Up next: date first, then what and where, then state and countdown. */
.wrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wrow { position: relative; }
.wrow-a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 64px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; }
.wrow-a:hover { border-color: var(--line-strong); }
.wrow-when { display: grid; gap: 2px; }
.wrow-d { font-weight: 800; font-size: 14px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wrow-t { font-size: 12px; color: var(--muted); }
.wrow-main { display: grid; gap: 2px; min-width: 0; }
.wrow-main strong { font-size: 15.5px; }
.wrow-main > span:last-child { color: var(--text-soft); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.wrow-main .g-label { font-size: 10.5px; }
.wrow-side { display: grid; justify-items: end; gap: 4px; text-align: right; }
.wrow-count { font-size: 12.5px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.wrow-more { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.wmark { display: inline-block; margin: 4px 0 0 14px; font-size: 12.5px; font-weight: 700; color: var(--ok-ink); }

/* Later and Past: compact lines. */
.wp-group { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wlines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wline { display: grid; grid-template-columns: 62px auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.wline-d { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-soft); font-size: 13px; }
.wline-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-soft); }
.wline-main strong { color: var(--text); }
.wline-r { font-size: 12.5px; color: var(--muted); text-align: right; }
.wline .wmark { grid-column: 3 / -1; margin: 0; }
.wp-past .wline-main { color: var(--muted); }

.wmine-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.wmine-mark { font-weight: 700; color: var(--ok-ink); font-size: 13px; }
.wmine-row.is-done .wmine-mark { color: var(--muted); }
.wmine-main { flex: 1 1 200px; min-width: 0; }
.wmine-go { font-weight: 600; color: var(--accent); }

.wp-how-list { display: grid; gap: 8px; }
.whow { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 14px; }
.whow summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 48px; padding: 12px 0; cursor: pointer; }
.whow summary span { color: var(--muted); font-size: 13.5px; }
.whow ul { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.whow p { margin: 0 0 12px; font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.whow a { color: var(--accent); font-weight: 600; }

@media (max-width: 720px) {
  .wp { gap: 22px; }
  .wp.has-now .wp-now { padding: 14px; margin-inline: -8px; }
  .wcard .wgo { justify-self: stretch; }
  .wrow-a { grid-template-columns: 58px minmax(0, 1fr); }
  .wrow-side { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
  .wrow-more { display: none; }
  .wline { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .wline .g-label { display: none; }
}

/* Release page: buying now, from the release's windows (same state as Windows and Home). */
.set-buying { margin: 8px 0 26px; padding: 16px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--ok-ink) 35%, transparent); background: color-mix(in srgb, var(--ok-ink) 7%, var(--surface)); display: grid; gap: 12px; }
.set-buying-kicker { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ok-ink); }
.set-buying-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.set-buying-row > div { flex: 1 1 240px; line-height: 1.5; }
.set-buying-row .btn { min-height: 44px; display: inline-flex; align-items: center; }
.set-history li { line-height: 1.6; }
.art .a-notesm { font-size: 17px; }

/* How stores work: one collapsed block (supporting information, not part of the five-second path). */
.wp-how-box > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 48px; padding: 12px 0; cursor: pointer; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wp-how-box > summary::-webkit-details-marker { display: none; }
.wp-how-box > summary::after { content: "+"; margin-left: auto; font-weight: 700; color: var(--muted); }
.wp-how-box[open] > summary::after { content: "–"; }
.wp-how-box > summary h2 { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wp-how-sub { font-size: 13px; color: var(--muted); }
.wp-how-box[open] .wp-how-list { margin-top: 12px; }
.wp-how-ja { margin: 12px 0 0; font-size: 14px; color: var(--text-soft); }
.wp-how-meta { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; } .whow-src { font-size: 12.5px; color: var(--muted); } /* evidence and freshness (cleanup §8) */
.wp-how-ja a { color: var(--accent); font-weight: 600; }

/* ===== Deals (Phase 2B): fair-price inventory from vetted shops. A calm table on desktop, cards on phones: tinted tier
   headers (green at MSRP, yellow near), a strong price, the vetted shop with its own icon, one store link per row. ===== */
.dp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 1120px; padding-block: 8px 40px; }
.dp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); gap: 16px 32px; align-items: start; }
.dp-head h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.02; margin: 0 0 6px; letter-spacing: -.02em; text-wrap: balance; }
.dp-sub { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.3; color: var(--text-soft); }
.dp-meta { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.dp-meta span + span:not(.dp-promise)::before { content: "•"; margin: 0 10px; color: var(--faint); }
.dp-promise { flex-basis: 100%; margin-top: 2px; color: var(--muted); }
.dp-appears { padding: 14px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.dp-appears h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text); }
.dp-checks { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 5px; font-size: 13.5px; color: var(--text-soft); line-height: 1.35; }
.dp-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); }
.dp-checks li::before { content: "✓"; font-weight: 800; color: var(--text-soft); }
.dp-why-link { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.dp-why-m { display: none; }

/* Filters: labelled groups in one row on desktop; price switches carry the tier colours. The game is the game bar. */
.dfilters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.dfilter { display: grid; gap: 6px; }
.dfilter-l { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dseg { display: flex; flex-wrap: wrap; gap: 6px; }
.dseg button { position: relative; min-height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-soft); font: 600 13.5px var(--sans); white-space: nowrap; cursor: pointer; }
.dseg button::after { content: ""; position: absolute; inset: -4px 0; } /* 44 px tap target */
.dseg button:hover { border-color: var(--text-soft); color: var(--text); }
.dseg button[aria-pressed="true"] { background: var(--btn-ink); border-color: var(--btn-ink); color: var(--btn-ink-text); }
.dseg button[data-dtier="at"]::before, .dseg button[data-dtier="near"]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--ok-dot); vertical-align: 1px; }
.dseg button[data-dtier="near"]::before { background: var(--near-dot); }
.dseg button[data-dtier="above"]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--faint); vertical-align: 1px; }
.dseg button[data-dtier="at"][aria-pressed="true"] { background: color-mix(in srgb, var(--ok-dot) 18%, var(--surface)); color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok-dot) 60%, transparent); }
.dseg button[data-dtier="near"][aria-pressed="true"] { background: color-mix(in srgb, var(--near-dot) 26%, var(--surface)); color: var(--warn-ink); border-color: color-mix(in srgb, var(--near-dot) 70%, transparent); }
.dsort { margin-left: auto; }
.dsort select { min-height: 40px; min-width: 200px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 600 13.5px var(--sans); }

/* Tiers */
.dp-tier { display: grid; gap: 0; }
.dp-tier-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.dp-tier.at .dp-tier-h { background: color-mix(in srgb, var(--ok-dot) 11%, var(--surface)); border-color: color-mix(in srgb, var(--ok-dot) 28%, var(--line)); }
.dp-tier.near .dp-tier-h { background: color-mix(in srgb, var(--near-dot) 15%, var(--surface)); border-color: color-mix(in srgb, var(--near-dot) 38%, var(--line)); }
.dp-tier-h h2 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text); }
.dp-tier-h p { margin: 2px 0 0; font-size: 14px; color: var(--text-soft); }
.dp-tier-h p a { color: var(--accent); font-weight: 600; }
.dp-tier-n { font-size: 14px; font-weight: 600; color: var(--text-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dp-none { margin: 0; padding: 16px 4px; color: var(--muted); }
.dp-caution { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--near-dot) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--near-dot) 55%, var(--line)); border-left: 4px solid var(--near-dot); }
.dp-caution p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.dp-caution strong { color: var(--text); }
.dp-caution a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.dp-caution-i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; background: var(--near-dot); color: #2a1d00; font: 800 13px/1 var(--sans); }
.dp-nofair { margin: 0; padding: 12px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--text-soft); font-size: 14px; }
.dpill.over { color: var(--text-soft); border-color: var(--line-strong); background: var(--surface-2); }

/* Rows: a table on desktop */
.dtable { list-style: none; margin: 0; padding: 0; }
.dt-head, .dt-row { display: grid; grid-template-columns: minmax(0, 2.3fr) 84px 84px 118px minmax(0, 1.25fr) 92px 156px; column-gap: 16px; align-items: center; }
.dt-head { padding: 12px 4px 8px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dt-row { padding: 12px 4px; border-bottom: 1px solid var(--line); row-gap: 4px; }
.dt-pricewrap, .dt-shopwrap { display: contents; }
.lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dt-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dt-row .dart-row { width: 56px; height: 56px; padding: 4px; border-radius: 10px; flex: none; }
.dt-name { min-width: 0; }
.dt-name h3 { margin: 0; font: 650 15.5px/1.3 var(--sans); color: var(--text); }
.dt-sub { margin: 3px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 12.5px; }
.dt-note { color: var(--muted); }
.dpre { font-size: 12px; font-weight: 700; color: var(--accent); }
.dt-price { font-size: 17px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dt-msrp { font-size: 14px; color: var(--text-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dt-diff { min-width: 0; }
.dt-shop { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--text); }
.dt-shop > span { min-width: 0; overflow-wrap: anywhere; }
.shop-icon { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); object-fit: contain; flex: none; }
.dt-when { font-size: 13.5px; color: var(--text-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dt-act { display: flex; justify-content: flex-end; }
.dgo { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.dpill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--text-soft); background: var(--surface); font-variant-numeric: tabular-nums; }
.dpill.at { color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok-dot) 50%, transparent); background: color-mix(in srgb, var(--ok-dot) 14%, var(--surface)); }
.dpill.near { color: var(--warn-ink); border-color: color-mix(in srgb, var(--near-dot) 65%, transparent); background: color-mix(in srgb, var(--near-dot) 22%, var(--surface)); }
.dmore { grid-column: 1 / -1; font-size: 13.5px; }
.dmore > summary { list-style: none; cursor: pointer; width: 156px; margin-left: auto; min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: 13px; }
.dmore > summary::-webkit-details-marker { display: none; }
.dmore > summary::after { content: "⌄"; position: relative; top: -3px; }
.dmore[open] > summary::after { content: "⌃"; top: 3px; }
.dmore ul { list-style: none; margin: 6px 0 4px 68px; padding: 0; display: grid; }
.dmore li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; border-top: 1px dashed var(--line); }
.dmore-shop { font-weight: 600; flex: 1 1 160px; }
.dmore-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.dmore-fresh { color: var(--muted); font-size: 12.5px; }
.dmore a { color: var(--accent); font-weight: 600; }

/* Folds at the bottom: everything else we checked, and why these show up */
.dp-fold { border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.dp-fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; cursor: pointer; }
.dp-fold > summary::-webkit-details-marker { display: none; }
.dp-other > summary::before { content: "⌄"; position: relative; top: -3px; font-weight: 700; color: var(--text-soft); }
.dp-other[open] > summary::before { content: "⌃"; top: 3px; }
.dp-why > summary::after { content: "›"; margin-left: auto; font-size: 22px; color: var(--text-soft); }
.dp-why[open] > summary::after { transform: rotate(90deg); }
.dp-fold-t { display: grid; font-size: 15px; font-weight: 600; color: var(--text); }
.dp-fold-t small { font-size: 13px; font-weight: 400; color: var(--muted); }
.dp-fold-i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--accent-ink); font: 800 13px/1 var(--serif); }
.dp-why-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 28px; padding: 4px 18px 18px 52px; }
.dp-yes, .dp-no { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text-soft); }
.dp-yes li::before { content: "✓"; margin-right: 8px; font-weight: 800; color: var(--ok-ink); }
.dp-no-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.dp-no li::before { content: "✕"; margin-right: 8px; font-weight: 700; color: var(--muted); }
.dp-method { padding: 0 18px 18px 52px; } .dp-method ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text-soft); line-height: 1.5; } /* How prices are judged (cleanup §7) */
.dlines { list-style: none; margin: 0; padding: 0 18px 10px; }
.dlines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.dl-name { color: var(--text-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-price { font-weight: 700; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.dp-empty { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dp-empty-h { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; color: var(--text); }
.dp-empty p { margin: 0 0 6px; color: var(--text-soft); }
.dp-empty-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px !important; }
.dp-empty-links a { color: var(--accent); font-weight: 600; }

/* Mid widths: retailer and check time share a column */
@media (max-width: 1060px) and (min-width: 721px) {
  .dt-head, .dt-row { grid-template-columns: minmax(0, 2fr) 80px 80px 112px minmax(0, 1.3fr) 150px; }
  .dt-head span:nth-child(6) { display: none; }
  .dt-shopwrap { display: grid; gap: 2px; min-width: 0; } .dt-when { font-size: 12.5px; color: var(--muted); }
  .dmore > summary { width: 150px; }
}
/* Phones: each row is a card (art, name, price and MSRP, difference, shop and check time; the store button beside them). */
@media (max-width: 720px) {
  .dp-head { grid-template-columns: 1fr; }
  .dp-appears { display: none; }
  .dp-meta { margin-top: 10px; font-size: 13px; }
  .dp-promise { display: none; }
  .dp-why-m { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; padding: 0 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
  .dfilters { gap: 12px; }
  .dfilter { width: 100%; }
  .dseg button { min-height: 36px; padding: 0 13px; font-size: 13px; }
  .dsort { display: flex; align-items: center; gap: 12px; margin-left: 0; }
  .dsort .dfilter-l { flex: none; }
  .dsort select { flex: 1; min-width: 0; min-height: 44px; }
  .dp-tier-h { padding: 12px 14px; }
  .dp-tier-h h2 { font-size: 21px; }
  .dt-head { display: none; }
  .dt-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "art name name" "art price act" "art diff act" "art shop shop" "more more more"; column-gap: 12px; row-gap: 4px; padding: 14px 2px; align-items: center; }
  .dt-prod { display: contents; }
  .dt-row .dart-row { grid-area: art; align-self: start; }
  .dt-name { grid-area: name; }
  .dt-name h3 { font-size: 15.5px; }
  .dt-pricewrap { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-width: 0; }
  .dt-price { font-size: 19px; }
  .dt-msrp { font-size: 13px; }
  .dt-diff { grid-area: diff; }
  .dt-shopwrap { grid-area: shop; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; }
  .dt-shopwrap .dt-shop { font-size: 13.5px; color: var(--text-soft); }
  .dt-shopwrap .dt-when { font-size: 13px; color: var(--muted); }
  .dt-shopwrap .dt-when:not(:empty)::before { content: "·"; margin-right: 8px; }
  .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .dt-price .lbl { display: none; }
  .dt-act { grid-area: act; }
  .dgo { min-height: 44px; padding-inline: 14px; font-size: 13.5px; }
  .dmore > summary { width: auto; justify-content: flex-end; }
  .dmore ul { margin-left: 0; }
  .dp-why-cols { grid-template-columns: 1fr; padding: 0 16px 16px; } .dp-method { padding: 0 16px 16px; }
  .dlines { padding: 0 14px 8px; }
}

/* Home: Fair-price inventory leads when no window is live; a compact line under the live bar when one is. */
.fair-slot:empty { display: none; }
.fair { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.fair.prominent { padding: 22px 24px; display: grid; gap: 14px; margin-top: 4px; }
.fair-kicker { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ok-ink); }
.fair-kicker svg { width: 16px; height: 16px; }
.fair-title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.fair-sub { margin: 6px 0 0; color: var(--text-soft); max-width: 70ch; }
.fair-meta { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fair-vetted { color: var(--ok-ink); font-weight: 800; }
.fair-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fair-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 52px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.fair-row:hover .fair-name strong { text-decoration: underline; }
.fair-name { display: grid; gap: 1px; min-width: 0; }
.fair-name strong { font-size: 15px; }
.fair-shop { font-size: 12.5px; color: var(--muted); }
.fair-price { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.fair-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.fair.compact { padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; margin-top: 4px; }
.fair.compact .fair-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.fair.compact .fair-kicker { margin: 0; }
.fair-line { margin: 0; font-size: 14.5px; color: var(--text-soft); }
.fair.compact .fair-rows { grid-column: 1 / -1; order: 3; }
.fair-more { color: var(--accent); font-weight: 600; white-space: nowrap; }
/* Home's urgency row (H6): Fair-price inventory (left, a little more emphasis with no live window), Next buying windows,
   Next major release. Same card shape as its neighbours; compact rows, no product grid. */
.home2-grid.three .fair { height: 100%; margin-top: 0; border-radius: 4px; box-shadow: var(--shadow); }
.home2-grid.three .fair.prominent { padding: 20px 22px; gap: 12px; align-content: start; background: color-mix(in srgb, var(--ok-dot) 5%, var(--surface)); border-color: color-mix(in srgb, var(--ok-dot) 40%, var(--line)); border-top: 3px solid var(--ok-dot); }
.home2-grid.three .fair-title { font-size: clamp(21px, 2vw, 25px); }
.home2-grid.three .fair-sub { font-size: 14.5px; }
.home2-grid.three .fair.compact { grid-template-columns: 1fr; align-content: start; padding: 20px 22px; }
.home2-grid.three .fair.compact .fair-rows { order: 0; }

@media (max-width: 720px) {
  .dlines li { grid-template-columns: minmax(0, 1fr) auto; } .dl-ref { display: none; }
  .fair.prominent { padding: 18px 16px; }
  .fair-row { grid-template-columns: minmax(0, 1fr) auto; } .fair-row .dpill { grid-column: 2; justify-self: end; }
  .fair.compact { grid-template-columns: 1fr; }
}

/* Box art on Deals and Home's fair-price rows (owner-approved official packshots; our drawn box otherwise). It makes the
   product recognisable at a glance; the price comparison stays the loudest thing in the row. */
.dart { display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 12px; background: color-mix(in srgb, var(--g-edge, var(--text)) 10%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--g-edge, var(--text)) 18%, var(--line)); overflow: hidden; }
.dart img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(30, 20, 5, .22)); }
.dart-row { width: 92px; height: 92px; padding: 6px; }
.dart-sm { width: 52px; height: 52px; padding: 4px; border-radius: 10px; flex: none; }
.dart-fb svg { width: 46%; height: auto; }
.dart-sm.dart-fb svg { width: 70%; }
.dart-fb .db-top { fill: color-mix(in srgb, var(--g-edge, var(--text)) 30%, var(--surface)); stroke: var(--text-soft); stroke-width: 1.4; stroke-linejoin: round; }
.dart-fb .db-l { fill: var(--surface); stroke: var(--text-soft); stroke-width: 1.4; stroke-linejoin: round; }
.dart-fb .db-r { fill: color-mix(in srgb, var(--g-edge, var(--text)) 16%, var(--surface-2)); stroke: var(--text-soft); stroke-width: 1.4; stroke-linejoin: round; }
.dart-fb span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); text-align: center; line-height: 1.1; padding: 0 4px; }
.fair-row { grid-template-columns: 52px minmax(0, 1fr) auto auto; }
@media (max-width: 720px) {
  .fair-row { grid-template-columns: 52px minmax(0, 1fr) auto; } .fair-row .dpill { grid-column: 3; }
}

/* ===== Releases (Phase 2C): the planning layer. Calm and scannable: dates as anchors, thin dividers, restrained game
   accents, compact status labels, details behind a disclosure. Rumors read quieter than confirmed releases. ===== */
.rl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 1120px; padding-block: 8px 28px; }
.rl-head h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.02; margin: 0 0 6px; letter-spacing: -.02em; }
.rl-sub { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.3; color: var(--text-soft); }
.rl-meta { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.rl-filters .dsort { display: none; }
.rl-k { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rl-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--text-soft); white-space: nowrap; }
.rl-pill.st-confirmed { color: var(--ok-ink); border-color: color-mix(in srgb, var(--ok-dot) 50%, transparent); background: color-mix(in srgb, var(--ok-dot) 10%, var(--surface)); }
.rl-pill.st-rumor { border-style: dashed; color: var(--muted); }
.rl-pill.st-tba { color: var(--muted); background: var(--surface-2); }
.rl-lang { font-size: 12px; font-weight: 700; color: var(--muted); }
.rl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rl-away { font-size: 13px; font-weight: 700; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.rl-date { display: grid; justify-items: center; align-content: start; gap: 0; width: 60px; padding-top: 2px; }
.rl-mon { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-ink, var(--text-soft)); }
.rl-day { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.rl-date.tba .rl-day { font-size: 17px; color: var(--muted); } .rl-date.tba .rl-mon { color: var(--muted); }
.rl-dates { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--text-soft); }
.rl-dates li span { color: var(--muted); } .rl-dates time { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rl-dates li.next time { color: var(--g-ink, var(--text)); } .rl-dates em { font-style: normal; font-size: 11.5px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 0 6px; }
.rl-window { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.rl-wins { list-style: none; margin: 0; padding: 0; display: grid; font-size: 13.5px; }
.rl-wins li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.rl-wins li:first-child { border-top: 0; }
.rl-wins small { color: var(--muted); font-size: 12.5px; }
.rl-wins b { font-weight: 700; text-align: right; color: var(--text-soft); }
.rl-wins .ws-now b { color: var(--ok-ink); } .rl-wins .ws-next b, .rl-wins .ws-later b { color: var(--warn-ink); } .rl-wins .ws-past b, .rl-wins .ws-none b { color: var(--muted); font-weight: 600; }
.rl-prep { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; justify-items: start; }
.rl-prep-t { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--text); } .rl-prep-t span { color: var(--muted); }
.rl-prep.pk-act { background: color-mix(in srgb, var(--ok-dot) 12%, var(--surface)); border-color: color-mix(in srgb, var(--ok-dot) 45%, var(--line)); }
.rl-prep.pk-buy { background: color-mix(in srgb, var(--ok-dot) 8%, var(--surface)); border-color: color-mix(in srgb, var(--ok-dot) 35%, var(--line)); }
.rl-prep.pk-watch { background: color-mix(in srgb, var(--near-dot) 12%, var(--surface)); border-color: color-mix(in srgb, var(--near-dot) 45%, var(--line)); }
.rl-prep.sm { padding: 8px 10px; } .rl-prep.sm .rl-prep-t { font-size: 13.5px; }
.rl-go { min-height: 44px; display: inline-flex; align-items: center; }
.rl-link, .rl-deal a, .rl-guide a { color: var(--accent); font-weight: 600; font-size: 13.5px; }
.rl-deal, .rl-guide { margin: 0; font-size: 13.5px; color: var(--text-soft); }
.rl-deal .rl-k, .rl-guide .rl-k { display: inline; margin-right: 6px; }
.rl-view { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.rl-also { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); } .rl-also .rl-k { display: inline; margin-right: 6px; }
.rl-more { font-size: 13px; color: var(--text-soft); }
.rl-more summary { cursor: pointer; color: var(--accent); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.rl-more p, .rl-dl { margin: 6px 0 0; } .rl-dl { padding-left: 18px; } .rl-src a { color: var(--accent); }

/* Next Up: the strongest module */
.rl-next { padding: 18px 22px 20px; border-radius: 14px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--g-edge, var(--line)) 40%, var(--line)); border-left: 5px solid var(--g-edge, var(--line-strong)); box-shadow: var(--shadow); }
.rl-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink, var(--text)); }
.rl-next-in { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(260px, 340px); grid-template-areas: "when body side" "when extra side"; gap: 10px 26px; align-items: start; }
.rl-next-when { grid-area: when; } .rl-next-body { grid-area: body; } .rl-next-side { grid-area: side; } .rl-next-extra { grid-area: extra; display: grid; gap: 8px; min-width: 0; }
.rl-quiet { margin: 0; font-size: 13.5px; color: var(--muted); }
.rl-next-when { display: grid; justify-items: center; gap: 6px; }
.rl-next .rl-date { width: auto; } .rl-next .rl-day { font-size: 48px; } .rl-next .rl-mon { font-size: 14px; }
.rl-next .rl-away { margin: 0; text-align: center; font-size: 15px; color: var(--text); display: grid; } .rl-next .rl-away span { font-size: 12px; font-weight: 600; color: var(--muted); }
.rl-next-body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.rl-next-body h2 { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; text-transform: none; color: var(--text); }
.rl-facts { margin: 4px 0 0; display: grid; gap: 6px; } .rl-facts div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.rl-facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; } .rl-facts dd { margin: 0; color: var(--text-soft); }
.rl-next-side { display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); padding-left: 22px; }
.rl-next.st-rumor { border-left-style: dashed; }

/* Horizons */
.rl-sec h2 { margin: 0 0 2px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.rl-sec h2 span { margin-left: 6px; color: var(--muted); letter-spacing: 0; }
.rl-note { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.rl-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rl-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(240px, 320px); grid-template-areas: "date main side" "date extra side"; gap: 4px 20px; align-items: start; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.rl-row > .rl-date { grid-area: date; } .rl-main { grid-area: main; min-width: 0; display: grid; gap: 4px; } .rl-side { grid-area: side; display: grid; gap: 8px; align-content: start; } .rl-extra { grid-area: extra; min-width: 0; }
.rl-main h3 { margin: 0; font: 650 17px/1.3 var(--sans); color: var(--text); }
.rl-prod { margin: 0; font-size: 13.5px; color: var(--text-soft); }
.rl-row.st-rumor h3, .rl-row.st-rumor .rl-day { color: var(--text-soft); } .rl-row.st-rumor .rl-mon { color: var(--muted); }
.rl-row.st-rumor { background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--line) 35%, transparent) 10px 11px); }
.rl-empty { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .rl-empty-h { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; } .rl-empty a { color: var(--accent); font-weight: 600; }
.rl-none { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .rl-next-in { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "when body" "when side" "when extra"; } .rl-next-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
}
@media (max-width: 720px) {
  .rl-next { padding: 16px; } .rl-next-in { grid-template-columns: 1fr; grid-template-areas: "when" "body" "side" "extra"; gap: 12px; }
  .rl-next-when { grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; } .rl-next .rl-away { text-align: left; }
  .rl-next .rl-day { font-size: 40px; }
  .rl-row { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "date main" "date side" "date extra"; gap: 8px 12px; padding: 14px 0; }
  .rl-date { width: 52px; } .rl-day { font-size: 26px; }
  .rl-facts div { grid-template-columns: 84px minmax(0, 1fr); }
}
/* Release page: "What to do now" (Phase 2C), the same block as on Releases */
.set-prep { margin: 4px 0 18px; } .set-prep .rl-prep { max-width: 640px; }
/* Phase 2C review: What to do now is the primary answer in Next Up; every store's state follows, quieter */
.rl-prep.primary { padding: 14px 16px; gap: 8px; } .rl-prep.primary .rl-prep-t { font-size: 17px; font-weight: 650; line-height: 1.35; }
.rl-stores { padding-top: 2px; } .rl-stores .rl-wins { font-size: 12.5px; } .rl-stores .rl-wins li { padding: 3px 0; } .rl-stores .rl-wins b { font-weight: 600; }
.rl-pill.st-expected { color: var(--warn-ink); border-color: color-mix(in srgb, var(--near-dot) 60%, transparent); background: color-mix(in srgb, var(--near-dot) 12%, var(--surface)); }
.rl-basis { margin: 6px 0 0; } .rl-basis b { color: var(--text); }
.chip-expected { color: var(--warn-ink); border-color: color-mix(in srgb, var(--near-dot) 60%, transparent); }
.load-wait, .load-fail { margin: 0; padding: 24px 0; color: var(--muted); font-size: 15px; }
.dbg-panel { position: fixed; left: 8px; right: 8px; bottom: 90px; z-index: 9999; padding: 12px; border-radius: 10px; background: var(--surface); color: var(--text); border: 2px solid var(--warn-ink); font: 12px/1.45 ui-monospace, Menlo, monospace; display: grid; gap: 4px; max-height: 50vh; overflow: auto; overflow-wrap: anywhere; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.dbg-panel.dbg-boot { top: 8px; bottom: auto; max-height: 40vh; border-color: var(--accent, var(--warn-ink)); }
/* Report a shop / Suggest a shop (/how-we-choose-shops) */
.fb-form { display: grid; gap: 14px; max-width: 560px; margin: 12px 0 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.fb-field { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--text); border: 0; margin: 0; padding: 0; min-width: 0; }
.fb-field > span { font-weight: 400; font-size: 13px; color: var(--muted); }
.fb-field legend { padding: 0; margin-bottom: 6px; }
.fb-field input, .fb-field textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 12px; min-height: 44px; width: 100%; box-sizing: border-box; }
.fb-field textarea { resize: vertical; }
.fb-field input:focus-visible, .fb-field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fb-choice { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 400; font-size: 14.5px; color: var(--text-soft); }
.fb-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.fb-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.fb-status { margin: 0; font-size: 14px; color: var(--muted); } .fb-status.ok { color: var(--ok-ink); } .fb-status.err { color: var(--warn-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* a field people never see; bots fill it in */
.dp-more-link { padding: 0 18px 18px 52px; margin: 0; font-size: 14px; }
@media (max-width: 760px) { .fb-form { padding: 14px; } .dp-more-link { padding: 0 16px 16px; } }


/* The store's app, next to the store's page: phones and tablets only (a computer can't open a phone app). */
.app-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--accent); font-weight: 600; font-size: 13.5px; }
.live-act .app-link { min-height: 32px; }
@media (hover: hover) and (pointer: fine) { .app-link { display: none; } }
