:root {
  --brand: #1946c8;
  --brand-600: #1538a3;
  --brand-50: #eef3ff;
  --brand-100: #dbe5ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --good: #0a7a43;
  --good-50: #e7f6ee;
  --great: #05683a;
  --low: #5b21b6;
  --low-50: #f1ecff;
  --cond: #8a5300;
  --cond-50: #fff5e3;
  --up: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px rgba(15, 23, 42, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); }
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; border-radius: 6px; }
.num, .price, td, .stat b { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* demo bar + header */
.demobar { background: #0f172a; color: #e2e8f0; font-size: 13px; text-align: center; padding: 7px 16px; }
.demobar b { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.seo-links { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.seo-links a { font-weight: 600; }
.logo .mark-img { width: 34px; height: 34px; border-radius: 9px; display: block; box-shadow: 0 2px 8px rgba(25, 70, 200, .25); }
.logo .name { font-weight: 800; letter-spacing: -.03em; }
.logo .name .accent { color: var(--brand); }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.header-search { flex: 1; max-width: 420px; display: flex; }
.header-search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px 0 36px; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat; }
.header-search input:focus { background-color: #fff; border-color: var(--brand); outline: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 9px; font-weight: 550; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.nav .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12px; text-align: center; }
@media (max-width: 820px) {
  .header-search { display: none; }
  .nav a.hide-sm { display: none; }
}
@media (min-width: 821px) { .nav a.show-sm { display: none; } }
@media (max-width: 420px) { .logo span.name { display: none; } }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 11px; border: 0; background: var(--brand); color: #fff; font-weight: 650; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--brand-600); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand-100); }
.btn.ghost:hover { background: var(--brand-50); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn[disabled] { opacity: .6; cursor: default; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input { height: 46px; border: 1px solid #cfd6e2; border-radius: 11px; padding: 0 14px; background: #fff; width: 100%; }
.input:focus { border-color: var(--brand); outline: 3px solid var(--brand-100); }
textarea.input { height: auto; min-height: 84px; padding: 10px 14px; resize: vertical; }
.euro { position: relative; }
.euro::before { content: "€"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.euro .input { padding-left: 30px; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; margin-top: 8px; min-height: 1em; }
.form-msg.err { color: var(--up); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--brand-100); background: var(--brand-50); text-decoration: none; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* tags */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.4; }
.tag.demo { background: #f1f5f9; color: #475569; border: 1px dashed #94a3b8; font-weight: 600; }
.deal { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.deal::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.deal.normaal { background: #f1f5f9; color: #475569; }
.deal.nieuw { background: #eef3ff; color: var(--brand-600); }
.tag.live { background: var(--good-50); color: var(--good); border: 1px solid #bfe5cf; font-weight: 600; }
.deal.goed { background: var(--good-50); color: var(--good); }
.deal.zeer-goed { background: #d3f2e1; color: var(--great); }
.deal.historisch-laag { background: var(--low-50); color: var(--low); }
.cond { background: var(--cond-50); color: var(--cond); }
.promo { background: var(--brand-50); color: var(--brand-600); }

/* hero */
.hero { background: linear-gradient(180deg, #f3f6ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.07; letter-spacing: -.025em; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 26px; max-width: 560px; }
.searchbox { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 16px; border: 1px solid #d5dcea; box-shadow: var(--shadow); max-width: 600px; }
.searchbox input { flex: 1; border: 0; height: 48px; padding: 0 12px; background: transparent; min-width: 0; font-size: 16px; }
.searchbox input:focus { outline: none; }
.searchbox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.searchbox label { position: absolute; }
.hero .chips { margin-top: 16px; }
.hero-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-cat { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 550; }
.hero-cat:hover { border-color: var(--brand-100); text-decoration: none; }
.hero-cat .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; } }
@media (max-width: 520px) { .searchbox { flex-direction: column; } .searchbox .btn { width: 100%; } }

/* preview card in hero */
.preview { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(25, 70, 200, .10); padding: 20px; }
.preview .top { display: flex; gap: 14px; align-items: center; }
.preview .best { margin: 16px 0 12px; padding: 16px; border-radius: 14px; background: var(--bg-soft); }
.preview .rows { display: grid; gap: 6px; font-size: 14px; }
.preview .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 2px; border-bottom: 1px dashed var(--line); }
.preview .row:last-child { border: 0; }

/* sections */
section.block { padding: 64px 0; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
h2.title { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.sub { color: var(--ink-2); font-size: 17px; margin: 0 0 28px; max-width: 680px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .g4 { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }

/* unit strip */
.units { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.unit { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; color: var(--ink); }
.unit:hover { border-color: var(--brand-100); text-decoration: none; box-shadow: var(--shadow); }
.unit b { display: block; font-size: 22px; letter-spacing: -.01em; }
.unit span { font-size: 13px; color: var(--muted); }
.unit .what { font-size: 14px; color: var(--ink-2); margin-top: 6px; font-weight: 550; }
@media (max-width: 960px) { .units { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .units { grid-template-columns: repeat(2, 1fr); } }
.compare-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 18px; }
.compare-demo .vs { font-weight: 700; color: var(--muted); }
@media (max-width: 640px) { .compare-demo { grid-template-columns: 1fr; } .compare-demo .vs { text-align: center; } }

/* categories */
.cat { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); min-height: 150px; transition: box-shadow .15s, border-color .15s; }
.cat:hover { text-decoration: none; border-color: var(--brand-100); box-shadow: var(--shadow); }
.cat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.cat b { font-size: 17px; }
.cat span { font-size: 14px; color: var(--muted); }
.cat .n { margin-top: auto; font-size: 13px; color: var(--brand); font-weight: 600; }

/* product image placeholder */
.pimg { width: 64px; height: 64px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: none; position: relative; overflow: hidden; }
.pimg .brand { font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(15, 23, 42, .55); max-width: 90%; text-align: center; line-height: 1.1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pimg.lg { width: 132px; height: 132px; border-radius: 20px; }
.pimg.photo { background: #fff; border: 1px solid var(--line); padding: 4px; }
.pimg.photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
a.pimg.photo:hover { border-color: var(--brand-100); }
.pimg.lg .brand { font-size: 13px; }
.pimg.sm { width: 44px; height: 44px; border-radius: 10px; }
.pimg.sm .brand { display: none; }

/* product cards */
.pcard { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.pcard:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.pcard a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pcard h3 { font-size: 16px; margin: 0; line-height: 1.3; }
.pcard h3 a { color: var(--ink); }
.pcard .variant { font-size: 13px; color: var(--muted); }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pcard .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.uprice { font-size: 22px; font-weight: 750; letter-spacing: -.015em; line-height: 1.1; white-space: nowrap; }
.uprice small { font-size: 13px; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.pack { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.star { position: relative; z-index: 2; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.star:hover { border-color: var(--brand-100); color: var(--brand); }
.star[aria-pressed="true"] { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.trend { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.trend.down { color: var(--good); }
.trend.up { color: var(--up); }
.trend.flat { color: var(--muted); }
.spark { width: 84px; height: 26px; }
@media (max-width: 560px) {
  .pcard { grid-template-columns: 52px 1fr; }
  .pcard .pimg { width: 52px; height: 52px; }
  .pcard .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; border-top: 1px solid var(--line); padding-top: 10px; }
}
.list { display: grid; gap: 12px; }

/* watch cards */
.wcard { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.wcard:hover { text-decoration: none; border-color: var(--brand-100); box-shadow: var(--shadow); }
.wcard .t { flex: 1; min-width: 0; }
.wcard .t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard .p { text-align: right; }
.wcard .p b { font-size: 17px; display: block; }

/* notification */
.notif { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 40px rgba(15, 23, 42, .08); overflow: hidden; }
.notif .hd { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.notif .hd .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; }
.notif .bd { padding: 18px; }
.notif h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.3; }
.notif .item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.notif .item b { font-size: 15px; }
.notif .badge { font-weight: 750; font-size: 15px; color: var(--good); white-space: nowrap; }

/* steps */
.step { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .n { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* retailers */
.rgroup h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.rname { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; margin: 0 6px 8px 0; font-weight: 600; color: var(--ink-2); font-size: 15px; }

/* trust */
.trust { display: flex; gap: 12px; align-items: flex-start; }
.trust .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--good-50); color: var(--good); display: grid; place-items: center; }
.trust h3 { margin: 0 0 4px; font-size: 16px; }
.trust p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* waitlist */
.waitlist { background: linear-gradient(135deg, #1946c8 0%, #1a3a9c 100%); color: #fff; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.waitlist h2 { color: #fff; }
.waitlist .sub { color: #dbe5ff; }
.waitlist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 17px; }
.waitlist li { display: flex; gap: 10px; align-items: center; }
.waitlist li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.waitlist .panel { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; align-self: start; }
.waitlist .panel h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.waitlist .panel h3 svg { color: var(--good); }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; } }

/* product page */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.phead { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 18px 0 22px; }
.phead h1 { margin: 0; font-size: clamp(25px, 3.5vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.phead .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 560px) { .phead { grid-template-columns: 1fr; } .pimg.lg { width: 96px; height: 96px; } }
.playout { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.playout > * { min-width: 0; }
@media (max-width: 980px) { .playout { grid-template-columns: 1fr; } }
.bestbox { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; box-shadow: var(--shadow); }
.bestbox .label { font-size: 14px; font-weight: 650; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bestbox .big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 12px 0 6px; }
.bestbox .unitbig { font-size: 20px; font-weight: 700; color: var(--good); }
.bestbox .where { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.dealbox { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; color: var(--ink-2); }
.dealmeter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 10px 0 6px; }
.dealmeter i { height: 6px; border-radius: 3px; background: #e2e8f0; }
.dealmeter i.on { background: var(--good); }
.dealmeter.historisch-laag i.on { background: var(--low); }
.dealmeter.normaal i.on { background: #94a3b8; }
.dealmeter-l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11px; color: var(--muted); }
.condnote { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--cond-50); color: #5c3a00; font-size: 14px; }
.alertbox { margin-top: 16px; border-radius: 18px; padding: 22px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.alertbox h3 { margin: 0 0 4px; font-size: 18px; }
.alertbox form { display: grid; gap: 10px; margin-top: 14px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 12px; }
.panel-title h2 { font-size: 21px; margin: 0; letter-spacing: -.01em; }

/* offers table */
.otools { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; font-size: 14px; }
.otools select { height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: #fff; }
.otwrap { container: offers / inline-size; }
.otable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.otable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.otable td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.otable tr:last-child td { border-bottom: 0; }
.otable tr.top td { background: #f4fbf7; }
.otable .r b { display: block; }
.otable .r span { display: block; font-size: 12px; color: var(--muted); }
.otable .u { font-weight: 750; font-size: 17px; white-space: nowrap; }
.otable .u .sub { white-space: normal; font-weight: 500; font-size: 13px; color: var(--muted); }
.otable td.d { font-size: 14px; }
.otable .was { text-decoration: line-through; color: var(--muted); font-size: 13px; margin-left: 6px; }
.otable .condtxt { font-size: 13px; color: var(--cond); margin-top: 4px; max-width: 300px; }
.otable .best-flag { display: inline-block; font-size: 11px; font-weight: 750; color: var(--good); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
@container offers (max-width: 700px) {
  .otable, .otable tbody, .otable tr, .otable td { display: block; width: 100%; }
  .otable thead { display: none; }
  .otable { border: 0; background: transparent; }
  .otable tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .otable tr.top { background: #f4fbf7; }
  .otable tr.top td { background: transparent; }
  .otable td { padding: 0; border: 0; }
  .otable td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: 13px; }
  .otable td.u { grid-column: 2; grid-row: 1; text-align: right; }
  .otable td.p { margin-top: 6px; }
  .otable td.r { grid-column: 1; }
  .otable td.p, .otable td.s, .otable td.d, .otable td.k { grid-column: 1 / -1; font-size: 14px; }
}

/* chart */
.chartcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.ranges { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.ranges button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.ranges button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.stat span { font-size: 13px; color: var(--muted); display: block; }
.stat b { font-size: 21px; letter-spacing: -.01em; }
.stat.low b { color: var(--low); }
.chart { position: relative; height: 230px; touch-action: pan-y; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 9px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; }
.chart .tip.on { opacity: 1; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--brand); vertical-align: middle; margin-right: 6px; }
.legend i.avg { border-top: 2px dashed #94a3b8; }
.legend i.min { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--low); }

.match { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; font-size: 14px; }
.match div { padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); }
.match span { display: block; font-size: 12px; color: var(--muted); }
.promo-legend { display: flex; flex-wrap: wrap; gap: 6px; }

.notice { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.empty { text-align: center; padding: 40px 16px; }
.empty .card { max-width: 520px; margin: 18px auto 0; text-align: left; }
.pagehead { padding: 30px 0 18px; }
.pagehead h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; }
.sectionlabel { display: flex; align-items: center; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; font-weight: 750; color: var(--muted); margin: 26px 0 12px; }
.sectionlabel::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 64px; font-size: 14px; color: var(--muted); background: var(--bg-soft); }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer.site h4 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
footer.site a { color: var(--ink-2); display: block; padding: 2px 0; }
@media (max-width: 700px) { footer.site .wrap { grid-template-columns: 1fr; } }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.fadein { animation: f .25s ease; }
@keyframes f { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fadein { animation: none; } }
