/* VPSBag — design tokens
 * Dark is the default look; [data-theme="light"] swaps in the light palette.
 * There is no follow-system mode: the toggle only flips dark <-> light.
 */
:root {
  --bg: #0a0e14;
  --bg-grad: radial-gradient(1100px 380px at 50% -180px, rgba(56, 96, 180, .22) 0%, rgba(10, 14, 20, 0) 72%);
  --surface: #10161f;
  --surface-2: #151d27;
  --surface-3: #1b2431;
  --border: #1f2a37;
  --border-strong: #2d3a4b;
  --text: #e9eff8;
  --text-2: #c4d0df;
  --muted: #8593a6;
  --faint: #6b7889;

  --accent: #4d84ff;
  --accent-hover: #6d9bff;
  --accent-soft: rgba(77, 132, 255, .14);
  --accent-text: #9dbcff;

  --hot: #fb923c;
  --hot-soft: rgba(251, 146, 60, .13);
  --hot-border: rgba(251, 146, 60, .28);

  --good: #34d399;
  --good-soft: rgba(52, 211, 153, .12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .22);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .35);

  --header-bg: rgba(10, 14, 20, .8);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --max: 1140px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-grad: radial-gradient(1200px 400px at 50% -160px, #e8efff 0%, rgba(232, 239, 255, 0) 70%);
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eef2f8;
  --border: #e3e8f0;
  --border-strong: #ccd5e3;
  --text: #0f1620;
  --text-2: #3b4655;
  --muted: #6a7686;
  --faint: #93a0b0;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eaf1ff;
  --accent-text: #1b4bc0;

  --hot: #c2410c;
  --hot-soft: #fff1e7;
  --hot-border: #ffd9c2;

  --good: #0f7a63;
  --good-soft: #e5f6f1;

  --shadow-sm: 0 1px 2px rgba(15, 22, 32, .05);
  --shadow: 0 1px 2px rgba(15, 22, 32, .05), 0 10px 28px rgba(15, 22, 32, .05);
  --shadow-lg: 0 2px 4px rgba(15, 22, 32, .05), 0 20px 48px rgba(15, 22, 32, .09);

  --header-bg: rgba(245, 247, 250, .82);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
#about, section { scroll-margin-top: 76px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  background-image: var(--bg-grad);
  background-repeat: no-repeat;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main.page { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.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;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .28);
}
.logo-t em { font-style: normal; color: var(--accent-text); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 6px 10px; border-radius: var(--radius-xs);
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-3); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-3); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 32px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  transition: .15s;
}
.lang-btn:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-2); }

.icon-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text-2);
  transition: .15s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; }
.ico-sun, .ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: block; }
[data-theme="light"] .ico-moon { display: block; }

/* page head */
.page { padding: 26px 0 64px; }

.crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--faint); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span { color: var(--border-strong); }

.page-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-title h1 { font-size: 27px; line-height: 1.25; }
.page-sub { color: var(--muted); margin-top: 7px; max-width: 640px; }

.page-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}
.chip b { color: var(--text-2); font-weight: 600; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }

/* promo banner */
.banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding: 12px 14px;
  background: var(--hot-soft);
  border: 1px solid var(--hot-border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-2);
}
.banner-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 6px;
  background: var(--hot); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
}
.banner b { color: var(--hot); font-variant-numeric: tabular-nums; }
.banner a { margin-left: auto; color: var(--hot); font-weight: 600; white-space: nowrap; }
.banner a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* toolbar */
.toolbar {
  position: sticky; top: 60px; z-index: 40;
  margin: 22px 0 18px; padding: 10px 0;
  background: var(--bg);
  background-image: var(--bg-grad);
  border-bottom: 1px solid transparent;
}
.toolbar-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-sm);
}

.tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 6px 11px; border: 0; background: transparent; border-radius: 8px;
  color: var(--muted); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  flex: 0 0 auto; white-space: nowrap;
  transition: .15s;
}
.tab:hover { color: var(--text); background: var(--surface-3); }
.tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.tab i { font-style: normal; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] i { color: var(--accent-text); opacity: .7; }

.tb-sep { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

.field { display: inline-flex; align-items: center; gap: 6px; }
.field > span { font-size: 12px; color: var(--faint); white-space: nowrap; }
.select {
  appearance: none;
  padding: 5px 26px 5px 9px; border-radius: 8px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%238593a6' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 12px;
  border: 1px solid var(--border);
  color: var(--text-2); font-size: 12.5px;
  transition: .15s;
}
.select:hover { border-color: var(--border-strong); }
.select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.count { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.count b { color: var(--text); }

.link-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 8px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
  transition: .15s;
}
.link-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.link-btn svg { width: 13px; height: 13px; }

/* grid & cards */
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.plan:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.plan[hidden] { display: none; }

.plan-top { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.plan-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.plan-name a:hover { color: var(--accent-text); }
.badges { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  padding: 2px 6px; border-radius: 5px; white-space: nowrap;
  border: 1px solid transparent;
}
.badge-hot { background: var(--hot-soft); color: var(--hot); border-color: var(--hot-border); }
.badge-pop { background: var(--accent-soft); color: var(--accent-text); }
.badge-best { background: var(--good-soft); color: var(--good); }

.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 11px 0 13px; }
.plan-price .cur { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-price .num {
  font-size: 27px; font-weight: 650; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.plan-price .per { font-size: 12.5px; color: var(--muted); }
.plan-price .eq {
  margin-left: auto; font-size: 11.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.specs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; margin: 0 0 12px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 9px; overflow: hidden;
}
.specs > div { background: var(--surface-2); padding: 7px 6px 8px; text-align: center; }
.specs dt { font-size: 10px; color: var(--faint); letter-spacing: .02em; text-transform: uppercase; }
.specs dd {
  margin: 2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--text-2);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.specs dd small { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 1px; }

.plan-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 2px; }
.plan-foot > .btn { flex: 1; }
.stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--good); font-weight: 500; white-space: nowrap; }
.stock .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.out { color: var(--faint); }
.plan-foot .sep { color: var(--border-strong); }
.plan-foot .where { font-size: 12px; color: var(--muted); }

.plan-actions { display: flex; gap: 7px; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 7px 12px; border-radius: 9px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: .15s;
}
.btn svg { width: 13px; height: 13px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface-2); border-color: var(--border); color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--border-strong); color: var(--text); }

.empty {
  display: none; padding: 56px 20px; text-align: center;
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius);
}
.empty.show { display: block; }
.empty h3 { font-size: 14px; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 13px; }

/* detail page */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 20px; }
.detail-main { min-width: 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 14px; }
.card h2 { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.card h2 .k { font-size: 11px; color: var(--faint); font-weight: 500; margin-left: auto; }

.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.spec-row { background: var(--surface-2); padding: 10px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.spec-row span { font-size: 12px; color: var(--muted); }
.spec-row b { font-size: 13px; font-variant-numeric: tabular-nums; }

.loc-list { display: flex; flex-wrap: wrap; gap: 6px; }
.loc {
  padding: 4px 9px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-2);
}
.loc.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }

.ip-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ip-table th, .ip-table td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--border); }
.ip-table th { font-size: 11px; color: var(--faint); font-weight: 500; letter-spacing: .02em; }
.ip-table tr:last-child td { border-bottom: 0; }
.ip-table td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--text-2);
  background: var(--surface-3); padding: 2px 6px; border-radius: 5px;
  user-select: all;
}
.hint { font-size: 12px; color: var(--faint); margin-top: 10px; line-height: 1.55; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.feature-list li { display: flex; gap: 7px; font-size: 12.5px; color: var(--text-2); align-items: flex-start; }
.feature-list svg { width: 14px; height: 14px; margin-top: 3px; flex: none; color: var(--good); }

/* sidebar */
.aside { position: sticky; top: 78px; }
.buy-card { padding: 18px; }
.buy-price { display: flex; align-items: baseline; gap: 6px; }
.buy-price .cur { font-size: 16px; color: var(--muted); }
.buy-price .num { font-size: 34px; font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.buy-price .per { font-size: 13px; color: var(--muted); }
.buy-eq { margin-top: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.buy-card .btn { width: 100%; padding: 10px; font-size: 13.5px; margin-top: 14px; }
.buy-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11.5px; color: var(--faint); }
.buy-meta { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.buy-meta div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.buy-meta b { color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }

.hist { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin: 6px 0 8px; }
.hist-bar { flex: 1; background: var(--accent-soft); border-radius: 3px 3px 0 0; position: relative; }
.hist-bar:last-child { background: var(--accent); }

/* related */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.mini {
  display: block; padding: 11px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: .15s;
}
.mini:hover { border-color: var(--border-strong); background: var(--surface-3); }
.mini .mn { font-size: 12.5px; font-weight: 600; }
.mini .mp { font-size: 12px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.mini .mp b { color: var(--accent-text); font-size: 13px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0 40px; margin-top: 28px; }
.copyright { font-size: 12px; color: var(--faint); }
.footer-note { margin-top: 10px; max-width: 760px; font-size: 12px; color: var(--muted); line-height: 1.72; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  background: var(--text); color: var(--bg);
  padding: 8px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 100;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .buy-card { position: sticky; bottom: 0; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .page { padding: 18px 0 48px; }
  .page-title h1 { font-size: 22px; }
  .nav { display: none; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .toolbar { position: static; top: auto; padding: 0; margin: 16px 0 14px; }
  .toolbar-inner { position: static; }
  .toolbar-inner { gap: 8px; padding: 8px; }
  .tb-sep { display: none; }
  .field > span { display: none; }
  .tb-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .plan-actions .btn-ghost { display: inline-flex; }
  .plan-foot { gap: 6px; }
  .link-btn[data-copy] { display: none; }
  .spec-table { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .banner a { margin-left: 0; }
  .site-header .wrap { height: 56px; }
}

/* ==========================================================================
   homepage — hero, provider wall, cheapest list
   ========================================================================== */
.page-home { padding-top: 32px; }

.hero { padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted);
}
.hero-kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 0 3px var(--good-soft);
}
.hero h1 {
  font-size: 38px; line-height: 1.12; letter-spacing: -.035em;
  margin-top: 12px; max-width: 660px;
}
.hero-sub {
  margin-top: 13px; max-width: 620px;
  font-size: 14.5px; line-height: 1.72; color: var(--muted);
}
.hero-center { text-align: center; padding-bottom: 30px; }
.hero-center h1 { margin: 0 auto; max-width: 720px; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; max-width: 640px; }
.hero-center .hero-stats { justify-content: center; }
.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-stats > div {
  min-width: 92px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.hero-stats b {
  display: block; font-size: 19px; font-weight: 650; letter-spacing: -.025em;
  font-variant-numeric: tabular-nums; line-height: 1.25;
}
.hero-stats span { font-size: 11.5px; color: var(--muted); }

.home-sec { scroll-margin-top: 76px; }
.sec-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 34px 0 16px;
}
.sec-head h2 { font-size: 18px; letter-spacing: -.02em; }
.sec-head p { font-size: 12.5px; color: var(--muted); max-width: 560px; }

/* provider card — the whole card is one link */
.mc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.mc {
  display: flex; flex-direction: column; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 17px 15px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.mc:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.mc:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mc-head { display: flex; align-items: center; gap: 11px; }
.mc-logo {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: #fff;
  background: hsl(var(--mc-hue) 52% 42%);
  box-shadow: 0 2px 8px hsl(var(--mc-hue) 52% 42% / .28);
}
.mc-name { font-size: 15.5px; font-weight: 650; letter-spacing: -.015em; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-tag-item {
  font-size: 11px; padding: 2px 7px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap;
}
.mc-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.mc-price {
  display: inline-flex; align-items: baseline;
  padding: 3px 9px; border-radius: 7px;
  background: var(--good-soft); color: var(--good);
  font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mc-price i { font-style: normal; font-size: 11.5px; font-weight: 500; margin-left: 2px; opacity: .85; }
.mc-spec {
  padding: 3px 9px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* cheapest list */
.deals {
  display: grid; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.deal-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 15px; background: var(--surface);
  transition: background .15s;
}
.deal-row:hover { background: var(--surface-2); }
.dr-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; flex-wrap: wrap; }
.dr-mc {
  flex: none; font-size: 10.5px; font-weight: 600;
  padding: 2px 7px; border-radius: 5px; color: #fff;
  background: hsl(var(--mc-hue) 58% 47%);
}
.dr-name { font-size: 13px; font-weight: 600; }
.dr-name:hover { color: var(--accent-text); }
.dr-spec { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dr-price { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; font-size: 11.5px; color: var(--muted); }
.dr-price b { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.dr-price small { font-size: 11px; color: var(--faint); margin-left: 3px; }
.dr-cta { flex: none; }

.badge-mc { background: var(--surface-3); color: var(--muted); }

[data-theme="light"] .mc-logo,
[data-theme="light"] .dr-mc { background: hsl(var(--mc-hue) 58% 47%); }

@media (max-width: 720px) {
  .page-home { padding-top: 20px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 13.5px; }
  .hero-stats { gap: 8px; }
  .hero-stats > div { flex: 1 1 0; min-width: 74px; padding: 8px 10px; }
  .hero-stats b { font-size: 16px; }
  .mc-grid { grid-template-columns: 1fr; gap: 12px; }
  .mc { padding: 15px 16px 14px; }
  .sec-head { margin: 26px 0 12px; gap: 4px; }
  .sec-head h2 { font-size: 16px; }
  .sec-head p { font-size: 12px; }
  .deal-row { flex-wrap: wrap; gap: 8px 10px; padding: 11px 13px; }
  .dr-main { flex: 1 1 100%; }
  .dr-price { margin-left: 0; }
  .dr-cta { margin-left: auto; }
}
