/* Patriot Price Board — light theme only. Navy / red / white.
   Display: Barlow Condensed. Body: IBM Plex Sans. The price tag is the loud element; the rest stays quiet. */
:root {
  color-scheme: light;
  --navy: #0B2A5B; --navy-2: #163a73; --navy-soft: #e9eef8;
  --red: #B22234; --red-ink: #9c1c2d; --red-soft: #fcebed;
  --paper: #f5f7fb; --card: #ffffff; --ink: #0e1a2e; --muted: #4f5d75; --line: #d9e0ec; --line-2: #c6d0e1;
  --ok: #1a6b3d; --ok-soft: #e4f3ea;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 6px;
  --tap: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--navy); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--card); color: var(--navy); padding: 10px 14px; z-index: 50; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }

/* Header */
header.top { background: var(--navy); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-height: var(--tap); }
.mark { width: 46px; height: 46px; flex: none; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.brand-t { display: grid; }
.name { font: 800 clamp(27px, 6.4vw, 40px)/1 var(--display); text-transform: uppercase; letter-spacing: .015em; }
.tag { font: 600 clamp(15px, 3.6vw, 19px)/1.25 var(--display); color: #ffc2c9; letter-spacing: .02em; margin-top: 3px; }
.stamp { font-size: 13px; line-height: 1.4; color: #c9d6ee; text-align: right; }
.stamp b { color: #fff; font-weight: 600; }
.stamp .demo { color: #ffc2c9; font-style: normal; }
.stripes { height: 9px; background: repeating-linear-gradient(180deg, var(--red) 0 3px, #fff 3px 6px); }
@media (max-width: 600px) { .stamp { text-align: left; } }

/* Ticker (light band) */
.ticker { display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.tk-lbl { flex: none; display: flex; align-items: center; padding: 0 12px; background: var(--red); color: #fff; font: 700 15px/1 var(--display); letter-spacing: .03em; }
.tk-view { overflow: hidden; flex: 1; min-width: 0; }
.tk-track { display: inline-flex; white-space: nowrap; animation: tick 160s linear infinite; will-change: transform; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-dup { display: inline-flex; }
.tk { display: inline-flex; gap: 7px; align-items: baseline; padding: 10px 16px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13px; }
.tk:hover { background: var(--navy-soft); }
.tk b { color: var(--navy); font-weight: 700; }
.tk .tt { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.tk .tp { font-weight: 700; font-variant-numeric: tabular-nums; }
.tk .dn { color: var(--ok); font-weight: 700; }
.tk .up { color: var(--red); font-weight: 700; }
.tk .flat { color: var(--navy-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-view { overflow-x: auto; } .tk-dup { display: none; } }

/* Tabs */
nav.tabs { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(14, 26, 46, .03); }
.tabs-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs-in a { flex: none; display: flex; align-items: center; min-height: 50px; padding: 4px 12px 0; font: 700 18px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 4px solid transparent; white-space: nowrap; }
.tabs-in a:hover { color: var(--ink); }
.tabs-in a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.tabs-in .n { font: 600 12px/1 var(--body); color: var(--muted); background: var(--navy-soft); border-radius: 10px; padding: 3px 7px; margin-left: 6px; letter-spacing: 0; }
.tabs-in .n:empty { display: none; }
#n-watchlist { background: var(--red); color: #fff; }

/* Main */
main { padding-block: 20px 48px; display: grid; gap: 18px; min-width: 0; }
main:focus { outline: none; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }
.vh { display: grid; gap: 4px; }
.vh h1 { font: 800 clamp(30px, 6vw, 40px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.vh p { color: var(--muted); max-width: 68ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 18px; border: 0; border-radius: var(--r); background: var(--navy); color: #fff; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: var(--card); color: var(--navy); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.danger { background: var(--red); color: #fff; border-color: var(--red); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.f { display: grid; gap: 4px; flex: 1 1 140px; min-width: 0; }
.f-q, .f-wide { flex: 2 1 220px; }
.f-n { flex: 1 1 110px; }
.f label, .notify legend { font-size: 13px; font-weight: 600; color: var(--muted); }
select, input[type=search], input[type=text], input[type=number], input[type=email] {
  font: 400 16px/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  min-height: var(--tap); padding: 8px 10px; width: 100%; min-width: 0; }
select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234f5d75' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
input:focus, select:focus { border-color: var(--navy); }
.reset { flex: 0 0 auto; }
img.is-ph { object-fit: cover; object-position: center; background: #f4f6fb; }
.filters { flex-direction: column; align-items: stretch; }
.filters .f-q { flex: none; }
.fmore > summary { display: none; }
.fgrid { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.fgrid .f:last-of-type { flex-basis: 200px; }
@media (max-width: 720px) {
  .fmore > summary { display: flex; align-items: center; gap: 6px; min-height: var(--tap); cursor: pointer; font-weight: 600; color: var(--navy); }
  .fmore[open] > summary { margin-bottom: 8px; }
  .fmore .n { font-size: 12px; background: var(--red); color: #fff; border-radius: 10px; padding: 2px 7px; }
}
.summary { color: var(--muted); font-size: 14px; }
.summary strong { color: var(--ink); }

.best { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; background: var(--navy-soft); border-left: 5px solid var(--red); border-radius: 0 var(--r) var(--r) 0; padding: 12px 14px; margin-top: 10px; }
.best .lbl { font: 700 17px/1.2 var(--display); color: var(--red-ink); text-transform: uppercase; letter-spacing: .02em; }
.best a { font-weight: 600; color: var(--ink); }
.best .bp { color: var(--muted); font-size: 14px; }

/* Cards */
#results { display: grid; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "ph body" "ph price" "rv rv"; gap: 8px 14px; align-content: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; min-width: 0; }
.card .ph { grid-area: ph; display: block; align-self: start; }
.cimg { width: 112px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; display: block; }
.cb { grid-area: body; display: grid; gap: 4px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 3px; background: var(--navy-soft); color: var(--navy); white-space: nowrap; }
.chip.sale { background: var(--red); color: #fff; }
.chip.drop { background: var(--ok-soft); color: var(--ok); }
.chip.fresh { background: var(--navy); color: #fff; }
.chip.used { background: #fff; color: var(--red-ink); box-shadow: inset 0 0 0 1px var(--red); }
.chip.cat { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.ct { font: 600 16px/1.3 var(--body); }
.ct a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.ct a:hover { color: var(--red-ink); text-decoration: underline; }
.specs { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 13px; color: var(--muted); }
.specs span { white-space: nowrap; }
.specs span:not(:last-child)::after { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); vertical-align: middle; margin-left: 10px; }
.store { font-size: 14px; color: var(--muted); }
.store b { color: var(--ink); font-weight: 600; }
.ver { display: inline-block; color: var(--ok); font-size: 12.5px; font-weight: 600; margin-left: 4px; }
.ver::before { content: "✓ "; }
.cp { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cp .p, .d-price .p { font: 700 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.was { color: var(--muted); font-size: 14px; }
.cpr { font: 700 18px/1 var(--display); color: var(--red-ink); }
.go { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 16px; margin-left: auto; border-radius: var(--r); background: var(--red); color: #fff; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; }
.go:hover { background: var(--red-ink); }
.go.big { margin: 6px 0 0; width: 100%; max-width: 360px; font-size: 17px; min-height: 52px; }
@media (max-width: 380px) { .card { grid-template-columns: 88px minmax(0, 1fr); } .cimg { width: 88px; height: 66px; } .cp { grid-column: 1 / -1; } }

/* Reviews drawer */
details.rv { grid-area: rv; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
details.rv summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--navy); }
details.rv summary span { color: var(--muted); font-weight: 400; }
.rv-b { padding: 4px 14px 14px; display: grid; gap: 10px; font-size: 14px; }
.rv-name { font: 700 19px/1.1 var(--display); text-transform: uppercase; }
.rv-v { max-width: 72ch; }
.rv-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px 18px; }
.rv-b h4 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.rv-b ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
ul.rv-src { list-style: none; padding: 0; gap: 8px; }
ul.rv-src li { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
ul.rv-src a { font-weight: 600; overflow-wrap: anywhere; }
.k { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; background: var(--navy-soft); color: var(--navy); }
.k-video { background: var(--red); color: #fff; }
.o, .rv-f { font-size: 12.5px; color: var(--muted); }

/* Groups */
.group { display: grid; gap: 10px; }
.group-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; font: 800 24px/1.1 var(--display); text-transform: uppercase; padding-bottom: 6px; border-bottom: 3px solid var(--red); }
.group-h small { font: 400 14px/1.3 var(--body); color: var(--muted); text-transform: none; }
.empty { background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 28px 16px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.empty.sm { padding: 16px; border: 0; }

/* Digest */
.digest { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r); padding: 16px; display: grid; gap: 14px; }
.dg-head { display: grid; gap: 2px; }
.dg-head h2 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.dg-head p { color: var(--muted); font-size: 14px; }
.dg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 22px; }
.dg-g { display: grid; gap: 8px; align-content: start; min-width: 0; }
.dg-g h3 { font: 700 19px/1 var(--display); text-transform: uppercase; border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.dg-g h3 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.dg-g h3 a::after { content: "›"; margin-left: 6px; color: var(--red); }
.dg-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dg-g li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; font-size: 14px; line-height: 1.35; }
.dg-g li a { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.dp { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dp s { color: var(--muted); font-weight: 400; display: block; font-size: 12.5px; }
.ds { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
.ds em { color: var(--ok); font-style: normal; font-weight: 600; }
details.stores summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 600; font-size: 14px; color: var(--navy); }
details.stores p { color: var(--muted); font-size: 13.5px; }

/* Watchlist strip */
.wstrip { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 8px; }
.ws-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ws-head h2 { font: 800 21px/1 var(--display); text-transform: uppercase; }
.wstrip ul { list-style: none; margin: 0; padding: 0; display: grid; }
.wstrip li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 2px 14px; align-items: center; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); min-height: var(--tap); }
.wl-l { font-weight: 600; }
.wstrip a { font-weight: 600; }
.wl-n { color: var(--muted); font-size: 13px; text-align: right; }
.none { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .wstrip li { grid-template-columns: 1fr auto; } .wstrip li > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }

/* Lowest prices */
.idx { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 4px; }
.idx-l { list-style: none; margin: 0; padding: 0; }
.idx-l li { display: grid; grid-template-columns: minmax(110px, 1fr) 110px minmax(0, 2.4fr) minmax(0, 1fr) 100px; gap: 4px 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.idx-l li:last-child { border-bottom: 0; }
.ix-k { font-weight: 600; }
.ix-p b { font: 700 21px/1 var(--display); }
.ix-p small { display: block; color: var(--muted); font-size: 12px; }
.ix-t { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ix-s { color: var(--muted); }
.ix-n { text-align: right; font-size: 13px; color: var(--muted); }
.ix-n a { display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 760px) {
  .idx-l li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k p" "t t" "s n"; }
  .ix-k { grid-area: k; } .ix-p { grid-area: p; text-align: right; } .ix-t { grid-area: t; } .ix-s { grid-area: s; } .ix-n { grid-area: n; }
}

/* Detail */
.crumb a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; text-decoration: none; }
.crumb a::before { content: "‹"; margin-right: 6px; font-size: 20px; color: var(--red); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.d-ph { align-self: start; }
.dimg { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: block; }
.d-b { display: grid; gap: 8px; align-content: start; min-width: 0; }
.d-b h1 { font: 700 clamp(26px, 5vw, 34px)/1.1 var(--display); overflow-wrap: anywhere; }
.d-price { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.d-price .p { font-size: 46px; }
.fine { font-size: 13px; color: var(--muted); max-width: 60ch; }
.d-b > .btn.ghost { justify-self: start; }
.spark { margin: 6px 0 0; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); max-width: 360px; }
.spark figcaption { font-size: 13px; font-weight: 600; color: var(--muted); }
.sp-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); gap: 8px; }
@media (max-width: 720px) { .detail { grid-template-columns: 1fr; padding: 14px; } .d-ph { width: 100%; } }
.offers { display: grid; gap: 8px; }
.of-l { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.of-l li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto auto; gap: 4px 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.of-l li:last-child { border-bottom: 0; }
.of-l li.cur { background: var(--navy-soft); }
.of-l li > a:first-child { font-weight: 600; }
.of-t { color: var(--muted); overflow-wrap: anywhere; }
.of-p { font: 700 22px/1 var(--display); white-space: nowrap; }
.of-p small { font: 600 13px var(--body); color: var(--red-ink); }
.of-l .go { margin: 0; }
@media (max-width: 600px) { .of-l li { grid-template-columns: minmax(0, 1fr) auto; } .of-t { grid-column: 1 / -1; grid-row: 2; } .of-l .go { grid-column: 1 / -1; } }
.gone { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r); padding: 28px 18px; display: grid; gap: 10px; }
.gone h1 { font: 800 clamp(28px, 6vw, 36px)/1.05 var(--display); text-transform: uppercase; }
.gone p { color: var(--muted); max-width: 60ch; }
.gone-a { display: flex; flex-wrap: wrap; gap: 10px; }

/* Watchlist page */
.acct { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.acct.dev { background: var(--navy-soft); border-color: transparent; color: var(--navy); }
.signin { align-items: flex-end; }
.si-t { flex: 1 1 100%; display: grid; gap: 2px; }
.si-t h2, .wform h2, .pa-t h2 { font: 800 22px/1.1 var(--display); text-transform: uppercase; }
.si-t p, .pa-t p { color: var(--muted); }
.msg { font-size: 14px; padding: 10px 12px; border-radius: var(--r); background: var(--ok-soft); color: var(--ok); flex: 1 1 100%; }
.msg.warn { background: var(--red-soft); color: var(--red-ink); }
.wform { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r); padding: 14px; }
.wform h2 { flex: 1 1 100%; }
.notify { flex: 1 1 220px; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.notify legend { padding: 0; margin-bottom: 4px; }
.tog { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-size: 15px; cursor: pointer; }
.tog input { width: 22px; height: 22px; accent-color: var(--navy); }
.hint { flex: 1 1 100%; font-size: 13px; color: var(--muted); }
.w-act { display: flex; gap: 10px; flex-wrap: wrap; }
.watches { display: grid; gap: 16px; }
.watch { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.watch-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 14px; border-bottom: 3px solid var(--navy); background: #fbfcfe; }
.watch-h.hot { border-bottom-color: var(--red); }
.wh-t { display: grid; gap: 6px; min-width: 0; }
.wh-t h3 { font: 800 23px/1.1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.crit { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 13.5px; color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13.5px; color: var(--muted); }
.stats strong { color: var(--ink); }
.stats .hotn, .stats .hotn strong { color: var(--red-ink); }
.alerts-on { font-size: 12.5px; color: var(--muted); }
.wh-a { display: flex; gap: 8px; align-items: start; flex-wrap: wrap; justify-content: flex-end; }
.watch > .cards { padding: 12px; }
.watch .card { border-color: var(--line); background: #fff; }
.more { display: block; width: 100%; min-height: var(--tap); background: none; border: 0; border-top: 1px solid var(--line); font: 600 14px var(--body); color: var(--navy); cursor: pointer; }
@media (max-width: 520px) { .watch-h { grid-template-columns: 1fr; } .wh-a { justify-content: flex-start; } }
.palerts { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; justify-items: start; }
.pa-t { display: grid; gap: 4px; }
.howto { width: 100%; border-top: 1px solid var(--line); }
.howto summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 600; color: var(--navy); }
.howto ol { margin: 0 0 8px; padding-left: 22px; display: grid; gap: 4px; }
.sm { font-size: 13px; color: var(--muted); }

/* Find a match */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.mcard { display: grid; gap: 6px; align-content: start; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r); padding: 14px; color: var(--ink); text-decoration: none; }
.mcard:hover { border-top-color: var(--red); }
.mcard b { font: 700 21px/1.1 var(--display); text-transform: uppercase; color: var(--navy); }
.mcard b::after { content: " ↗"; color: var(--red); font-size: .8em; }
.mcard span { font-size: 14px; color: var(--muted); }

/* About + footer */
.about { background: var(--card); border-top: 1px solid var(--line); }
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px 32px; padding-block: 28px; }
.about h2 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.about-tag { font: 700 21px/1.2 var(--display); color: var(--red-ink); margin-top: 6px; }
.about-copy { display: grid; gap: 10px; color: var(--muted); max-width: 70ch; }
@media (max-width: 720px) { .about-in { grid-template-columns: 1fr; } }
.foot { background: var(--navy); color: #d5def0; font-size: 13.5px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { display: grid; gap: 12px; padding-block: 22px 28px; }
.foot a { color: #fff; }
.disc { max-width: 80ch; }
.disc strong { color: #fff; }
.legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.legal a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.copy { color: #9fb0d0; font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 600px) { .dg-g li:nth-child(n+3) { display: none; } }

/* QA round 1 — B4: long unbroken titles / store names never push the page sideways */
.ct, .specs, .store, .store b, .d-b h1, .of-t, .of-l li > a, .ix-t, .ix-s, .ix-k, .wl-l, .wstrip li > *, .dg-g li > *, .best a, .best .bp,
details.stores p, .crit, .watch-h h3, .rv-name, .group-h { overflow-wrap: anywhere; min-width: 0; }
.specs span { white-space: normal; }
.cb, .cp, .d-b, .detail > *, .of-l li, .idx-l li, .wstrip li, .dg-g li, .watch-h, .wh-t, .best { min-width: 0; }
select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.f { min-width: 0; max-width: 100%; }

/* B7: 44px tap targets for text links (padding grows the hit area; negative margin keeps the layout) */
.ct a, .dg-g li > a, .ix-t, .ix-n a, .wstrip li a, .best a, ul.rv-src a, .disc a, .of-l li > a:first-child, .about a {
  display: inline-block; padding-block: 13px; margin-block: -13px; }
.dg-g h3 a { min-height: var(--tap); }
.tk { padding-block: 14px; }
.tog input { width: 24px; height: 24px; }
@media (max-width: 720px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.go.big { white-space: normal; overflow-wrap: anywhere; text-align: center; padding-block: 8px; line-height: 1.2; }
