/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink: #0f1626;
  --ink-2: #3b4559;
  --muted: #6b7489;
  --line: #e3e7ef;
  --bg: #f6f7fa;
  --card: #ffffff;
  --accent: #f2a516;
  --accent-ink: #1a1203;
  --accent-soft: #fff4dc;
  --blue: #2c63e8;
  --green: #12805c;
  --green-soft: #e6f6ef;
  --red: #c2352b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,22,38,.06), 0 6px 24px rgba(15,22,38,.06);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: #fff; z-index: 999; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 2.5rem; }
.muted, .fine { color: var(--muted); }
.fine { font-size: .82rem; line-height: 1.45; }
.mt { margin-top: 2rem; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* =============================================================
   4. Components
   ============================================================= */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .78rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s var(--ease-out), background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn { background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-amazon { background: var(--accent); color: var(--accent-ink); }
.btn-amazon:hover { background: #e59a0c; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-ghost.is-on { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.btn-small { padding: .55rem .85rem; font-size: .86rem; }
.btn-link { color: var(--blue); text-decoration: underline; padding: .3rem; }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
.chips li { font-size: .74rem; font-weight: 600; padding: .18rem .5rem; border-radius: 999px; background: #eef1f6; color: var(--ink-2); }
.chips.big li { font-size: .85rem; padding: .3rem .7rem; }

.ref-price { display: flex; flex-direction: column; line-height: 1.25; }
.rp-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.rp-row { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.rp-now { font-family: var(--display); font-size: 1.2rem; }
.rp-was { color: var(--muted); font-size: .85rem; }
.rp-off { font-size: .74rem; font-weight: 700; background: var(--green-soft); color: var(--green); padding: .05rem .4rem; border-radius: 6px; }
.rp-src, .rp-none { font-size: .74rem; color: var(--muted); }
.rp-oos { display: block; font-size: .74rem; font-weight: 600; color: #b42318; }
.ref-price.big .rp-now { font-size: 2rem; }

.score { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; padding: .45rem .55rem; border-radius: 10px; background: var(--ink); color: #fff; }
.score small { font-size: .7rem; opacity: .7; font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: #fff; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: radial-gradient(circle at 50% 50%, var(--ink) 0 28%, var(--accent) 30% 46%, var(--ink) 48%); flex: none; }
.site-nav { display: none; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: .5rem .7rem; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: #eef1f6; }
.nav-count { display: inline-grid; place-items: center; min-width: 1.3em; height: 1.3em; padding: 0 .3em; margin-left: .2rem; font-size: .72rem; font-weight: 700; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.lang-switch a, .lang-switch span { padding: .38rem .7rem; text-decoration: none; line-height: 1; color: var(--ink-2); }
.lang-switch a:hover { background: #eef1f6; color: var(--ink); }
.lang-switch [aria-current="true"] { background: var(--ink); color: #fff; }
.nav-toggle { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: .9rem; }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: .6rem 16px 1rem; border-bottom: 1px solid var(--line); }
.disclosure-bar { text-align: center; font-size: .72rem; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--line); padding: .3rem 16px; }

/* Cards */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; flex: 1; }
.card-brand { font-size: .76rem; font-weight: 600; color: var(--muted); }
.card-title { font-size: 1.08rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-meta { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: .4rem; }
.card-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.rank { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--display); font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: .1rem .5rem; border-radius: 8px; }

/* =============================================================
   5. Sections
   ============================================================= */
.hero { padding: 3rem 0 2.5rem; background: radial-gradient(1200px 400px at 85% -10%, #fff1cf 0, transparent 60%), linear-gradient(#fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin: .5rem 0 1rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.quick-find { display: grid; gap: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.qf-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
label.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
select { font: inherit; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 1rem; height: 1rem; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.section-head a { color: var(--blue); font-weight: 600; text-decoration: none; }
.cat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cat-card { display: block; padding: 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.cat-card:hover { border-color: var(--ink); }
.cat-card p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.cat-count { font-size: .75rem; font-weight: 700; color: var(--green); }
.how-grid { display: grid; gap: 1.2rem; margin: 1.2rem 0; }
.how-grid p { color: var(--ink-2); }

.page-head { padding: 2.2rem 0 1.2rem; }
.page-head h1 { margin: .3rem 0 .6rem; }
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 1.2rem; }
.crumbs a { color: var(--ink-2); }

/* Finder */
.finder { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
.filters { display: grid; gap: 1rem; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
fieldset { border: 0; padding: 0; display: grid; gap: .55rem; }
legend { font-family: var(--display); font-weight: 700; margin-bottom: .4rem; }
.finder-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.finder-bar label { display: flex; align-items: center; gap: .5rem; }

/* Product */
.product { padding-bottom: 3rem; }
.product-top { display: grid; gap: 1.5rem; padding-top: 1rem; }
.product-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .3rem 0 .7rem; }
.product-head .chips { margin: 1rem 0; }
.buy-box { display: grid; gap: .8rem; padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.buy-box .btn-amazon { font-size: 1.05rem; padding: .95rem 1.2rem; }
.block { margin-top: 2.5rem; }
.block > h2 { margin-bottom: 1rem; }
.score-block { display: grid; gap: 1.5rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.score-list { list-style: none; padding: 0; display: grid; gap: .55rem; margin: 1rem 0; }
.score-list li { display: grid; grid-template-columns: 7.5rem 1fr 2rem; align-items: center; gap: .7rem; font-size: .92rem; }
.score-list b { text-align: right; font-family: var(--display); }
meter { width: 100%; height: 10px; }
meter::-webkit-meter-bar { background: #eef1f6; border: 0; border-radius: 99px; height: 10px; }
meter::-webkit-meter-optimum-value { background: var(--ink); border-radius: 99px; }
meter::-moz-meter-bar { background: var(--ink); border-radius: 99px; }
.radar-fig { display: grid; justify-items: center; gap: .6rem; }
.radar { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-label { font-size: 11px; font-weight: 600; fill: var(--ink-2); font-family: var(--sans); }
.radar-shape { stroke-width: 2; stroke-linejoin: round; }
.radar-shape.s1 { fill: rgba(242,165,22,.28); stroke: var(--accent); }
.radar-shape.s2 { fill: rgba(44,99,232,.18); stroke: var(--blue); }
.radar-shape.s3 { fill: rgba(18,128,92,.16); stroke: var(--green); }
.radar-shape.s4 { fill: rgba(194,53,43,.14); stroke: var(--red); }
.dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin: 0 .3rem 0 .7rem; vertical-align: middle; }
.dot.s1 { background: var(--accent); } .dot.s2 { background: var(--blue); } .dot.s3 { background: var(--green); } .dot.s4 { background: var(--red); }
figcaption { font-size: .85rem; color: var(--ink-2); text-align: center; }

.prose p { max-width: 70ch; margin-bottom: 1rem; color: var(--ink-2); }
.prose h2 { margin: 2rem 0 .8rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1rem; color: var(--ink-2); max-width: 70ch; }
.prose li { margin-bottom: .4rem; }
.pros-cons { display: grid; gap: 1rem; margin: 1.2rem 0; }
.pros-cons > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.pros-cons h3 { margin-bottom: .5rem; }
.pros h3 { color: var(--green); } .cons h3 { color: var(--red); }
.pros-cons ul { margin: 0; }
.ideal { background: var(--accent-soft); padding: .9rem 1.1rem; border-radius: 10px; max-width: 70ch; }

.spec-table, .vs-table, .cmp-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.spec-table th, .spec-table td, .vs-table th, .vs-table td, .cmp-table th, .cmp-table td { padding: .65rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th[scope="row"], .vs-table th[scope="row"], .cmp-table th[scope="row"] { font-weight: 500; color: var(--ink-2); width: 42%; }
.spec-group th { background: #f1f3f8; font-family: var(--display); font-size: .95rem; }
.win { background: var(--green-soft); color: var(--green); font-weight: 700; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.vs-table thead th, .cmp-table thead th { background: #f1f3f8; font-family: var(--display); }
.vs-head { display: grid; gap: 1rem; align-items: center; }

.link-list { list-style: none; padding: 0; display: grid; gap: .4rem; }
.link-list a { color: var(--blue); font-weight: 500; }

/* Compare */
.compare { padding-bottom: 3rem; }
.compare-pick { margin-bottom: 1.2rem; max-width: 420px; }
.cmp-table { min-width: 640px; }
.cmp-table td { min-width: 170px; }
.cmp-prod { display: grid; gap: .5rem; }
.cmp-prod img { width: 120px; aspect-ratio: 1; object-fit: contain; background: #fff; }
.cmp-prod a { font-weight: 700; text-decoration: none; }
.cmp-remove { font-size: .8rem; color: var(--red); text-decoration: underline; justify-self: start; }
.cmp-radar { display: grid; justify-items: center; margin: 1.5rem 0; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Guides */
.guide { padding-bottom: 3rem; }
.picks { display: grid; gap: .8rem; }
.pick { display: grid; gap: .2rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; text-decoration: none; }
.pick-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.guide-item { display: grid; gap: 1rem; padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.guide-item h3 { font-size: 1.3rem; margin: .2rem 0 .4rem; }
.guide-item h3 a { text-decoration: none; }
.guide-item p { margin-bottom: .5rem; color: var(--ink-2); }
.gi-img { display: block; background: #fff; border-radius: 10px; max-width: 220px; }
.gi-img img { aspect-ratio: 1; object-fit: contain; padding: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; margin-bottom: .6rem; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: .6rem; color: var(--ink-2); }

/* Compare tray */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; padding: .7rem 0; box-shadow: 0 -6px 24px rgba(0,0,0,.15); }
.tray-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tray-inner .btn { background: var(--accent); color: var(--accent-ink); }
.tray-inner .btn-link { color: #fff; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { margin-top: 3rem; background: var(--ink); color: #c8cede; padding: 2.5rem 0 1.5rem; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-grid a { display: block; color: #c8cede; text-decoration: none; padding: .15rem 0; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-h { font-weight: 700; color: #fff; margin-bottom: .4rem; }
.legal { border-top: 1px solid #2a3348; margin-top: 2rem; padding-top: 1rem; font-size: .78rem; color: #94a0b8; display: grid; gap: .5rem; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .guide-item { grid-template-columns: 180px 1fr; }
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .score-block { grid-template-columns: 1.2fr 1fr; }
  .picks { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; gap: .2rem; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .finder .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .finder { grid-template-columns: 260px 1fr; }
  .filters { position: sticky; top: 84px; }
  .product-top { grid-template-columns: 1fr 1fr; align-items: start; }
  .vs-head { grid-template-columns: 1fr 1.1fr 1fr; }
  .picks { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .finder .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Image placeholder when a store image can't load */
img.img-missing { visibility: hidden; }
.card-img, .product-img, .gi-img, .cmp-prod { position: relative; }
.card-img:has(.img-missing)::after, .product-img:has(.img-missing)::after, .gi-img:has(.img-missing)::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23b6bdcc' stroke-width='3'%3E%3Crect x='6' y='16' width='52' height='34' rx='8'/%3E%3Ccircle cx='32' cy='33' r='10'/%3E%3Ccircle cx='32' cy='33' r='4'/%3E%3Cpath d='M22 16l4-6h12l4 6'/%3E%3C/svg%3E");
}

/* =============================================================
   Comparator (v2)
   ============================================================= */
:root { --c1: #e0960b; --c2: var(--blue); --c3: var(--green); --c4: #a33ea8; }
.dot.s4, .radar-shape.s4 { }
.dot.s4 { background: var(--c4); }
.radar-shape.s4 { fill: rgba(163,62,168,.14); stroke: var(--c4); }
.no-scroll { overflow: hidden; }

.cmp-hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 2.2rem 0 1.6rem; }
.cmp-hero h1 { margin-bottom: .5rem; }
.cmp-steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.2rem; color: var(--ink-2); font-size: .92rem; }
.cmp-steps li { display: flex; align-items: center; gap: .5rem; }
.cmp-steps b { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; }
.compare { padding-top: 1.6rem; padding-bottom: 3rem; }

.cmp-slots { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .cmp-slots { grid-template-columns: repeat(4, 1fr); } }
.cmp-slot { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--slot, var(--line)); min-height: 250px; }
.cmp-slot.c1 { --slot: var(--c1); } .cmp-slot.c2 { --slot: var(--c2); } .cmp-slot.c3 { --slot: var(--c3); } .cmp-slot.c4 { --slot: var(--c4); }
.cmp-slot.is-empty { align-items: center; justify-content: center; border: 2px dashed #cdd3df; background: transparent; color: var(--ink-2); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.cmp-slot.is-empty:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.cmp-plus { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #eef1f6; font-size: 1.7rem; font-weight: 400; line-height: 1; margin-bottom: .4rem; }
.cmp-slot.is-empty:hover .cmp-plus { background: var(--accent); color: var(--accent-ink); }
.cmp-slot-img { display: block; aspect-ratio: 4/3; background: #fff; border-radius: 10px; }
.cmp-slot-img img { width: 100%; height: 100%; object-fit: contain; }
.cmp-slot-brand { font-size: .74rem; font-weight: 600; color: var(--muted); }
.cmp-slot-name { font-size: 1rem; line-height: 1.25; }
.cmp-slot-name a { text-decoration: none; }
.cmp-slot-meta { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.cmp-slot-meta .score { font-size: 1.15rem; padding: .35rem .45rem; }
.cmp-slot-price { font-family: var(--display); font-weight: 700; display: flex; flex-direction: column; line-height: 1.15; }
.cmp-slot-price small { font-family: var(--sans); font-weight: 400; font-size: .72rem; color: var(--muted); }
.cmp-slot .btn { width: 100%; }
.cmp-x { position: absolute; top: .45rem; right: .45rem; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; line-height: 1; color: var(--ink-2); z-index: 2; }
.cmp-x:hover { background: var(--ink); color: #fff; }
.cmp-x.static { position: static; }

.cmp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin: 1.2rem 0; padding: .7rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.cmp-switch { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.cmp-hint { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: 10px; background: var(--accent-soft); font-weight: 500; }

.cmp-glance { display: grid; gap: 1.5rem; align-items: center; margin: 1.2rem 0; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 960px) { .cmp-glance { grid-template-columns: 320px 1fr; } }
.cmp-glance-radar { display: grid; place-items: center; }
.cmp-glance h2 { margin-bottom: .8rem; }
.cmp-bars, .cmp-awards { list-style: none; padding: 0; display: grid; gap: .55rem; }
.cmp-bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) 2fr 2.2rem; gap: .7rem; align-items: center; font-size: .9rem; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 10px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; }
.bar-fill.c1 { background: var(--c1); } .bar-fill.c2 { background: var(--c2); } .bar-fill.c3 { background: var(--c3); } .bar-fill.c4 { background: var(--c4); }
.cmp-bars b { font-family: var(--display); text-align: right; }
.cmp-awards { margin: 1.2rem 0 .8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cmp-awards li { display: grid; gap: .2rem; padding: .7rem .9rem; border-radius: 10px; background: #f6f7fa; border: 1px solid var(--line); }
.award-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.award-win { font-weight: 600; font-size: .92rem; }
.award-win .dot { margin-left: 0; }

.cmp-scroll { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); max-height: none; }
.cmp-table { border: 0; border-radius: 0; min-width: 560px; }
.cmp-table.cols-1 { min-width: 0; }
.cmp-table thead th { background: #fff; box-shadow: inset 0 -2px 0 var(--line); font-size: .88rem; vertical-align: bottom; padding-top: .9rem; padding-bottom: .9rem; }
.cmp-table thead th.cmp-col { border-top: 4px solid var(--slot); }
.cmp-col.c1 { --slot: var(--c1); } .cmp-col.c2 { --slot: var(--c2); } .cmp-col.c3 { --slot: var(--c3); } .cmp-col.c4 { --slot: var(--c4); }
.cmp-table .cmp-corner { color: var(--muted); font-weight: 500; }
.cmp-table th[scope="row"], .cmp-table .cmp-corner { position: sticky; left: 0; z-index: 2; background: #fff; width: 190px; min-width: 150px; }
.cmp-table thead .cmp-corner { z-index: 4; }
.cmp-table td { min-width: 150px; }
.cmp-table tbody tr:not(.cmp-group):hover td, .cmp-table tbody tr:not(.cmp-group):hover th { background: #fafbfd; }
.cmp-group th { background: #f1f3f8 !important; font-family: var(--display); font-size: .95rem; position: static !important; }
.cmp-table td.na { color: #a5adbd; }
.cmp-table td.win { background: var(--green-soft); color: var(--green); font-weight: 700; }
.win-mark { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-right: .35rem; border-radius: 50%; background: var(--green); color: #fff; font-size: .7rem; vertical-align: 1px; }
.table-scroll.cmp-scroll { overflow: auto; }

.cmp-start { margin-top: 1.5rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-start h2 { margin-bottom: .3rem; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.cmp-chip { padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 500; transition: border-color .2s, background .2s; }
.cmp-chip:hover { border-color: var(--ink); }
.cmp-chip em { color: var(--muted); font-style: normal; margin: 0 .2rem; }
.cmp-chip.is-preset { background: var(--accent-soft); border-color: #f5d48c; font-weight: 600; }
.cmp-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.cmp-popular { margin-top: 2.5rem; }
.cmp-popular h2 { margin-bottom: 1rem; }
.vs-grid { list-style: none; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vs-grid a { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, transform .2s var(--ease-out); }
.vs-grid a:hover { border-color: var(--ink); transform: translateY(-1px); }
.vs-grid em { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--ink); padding: .1rem .4rem; border-radius: 6px; }

.picker { position: fixed; inset: 0; z-index: 100; background: rgba(15,22,38,.45); display: grid; place-items: center; padding: 16px; }
.picker-panel { width: min(640px, 100%); max-height: min(80vh, 760px); display: flex; flex-direction: column; gap: .8rem; background: #fff; border-radius: 18px; padding: 1.2rem; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.picker-head { display: flex; justify-content: space-between; align-items: center; }
.picker-search { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; }
.picker-search:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.picker-cats { margin-top: 0; }
.picker-list { list-style: none; padding: 0; margin: 0; overflow: auto; display: grid; gap: .35rem; }
.picker-item { width: 100%; display: grid; grid-template-columns: 56px 1fr auto auto; gap: .8rem; align-items: center; text-align: left; padding: .5rem .6rem; border-radius: 12px; border: 1px solid transparent; }
.picker-item:hover { background: #f6f7fa; border-color: var(--line); }
.picker-item img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.pi-main { display: grid; min-width: 0; }
.pi-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-sub { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-side { display: grid; justify-items: end; gap: .15rem; }
.score.small { font-size: .8rem; padding: .2rem .35rem; border-radius: 6px; }
.pi-price { font-size: .8rem; font-weight: 600; }
.pi-add { font-size: .8rem; font-weight: 700; padding: .35rem .7rem; border-radius: 8px; background: var(--accent); color: var(--accent-ink); }
.picker-item.is-on { opacity: .55; cursor: default; }
.picker-item.is-on .pi-add { background: var(--green-soft); color: var(--green); }
@media (max-width: 539px) { .picker-item { grid-template-columns: 48px 1fr auto; } .pi-side { display: none; } .picker-item img { width: 48px; height: 48px; } }

.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow); }
.cmp-swipe { display: none; font-size: .8rem; color: var(--muted); margin: 0 0 .5rem; }
@media (max-width: 959px) {
  .cmp-slot.is-empty ~ .cmp-slot.is-empty { display: none; }
  .cmp-slot { min-height: 0; }
}
@media (max-width: 719px) {
  .cmp-swipe { display: block; }
  .cmp-table th[scope="row"], .cmp-table .cmp-corner { width: 118px; min-width: 118px; font-size: .82rem; }
  .cmp-table td { min-width: 140px; font-size: .86rem; }
  .cmp-toolbar { flex-direction: column; align-items: flex-start; }
}
