/* 比亚乔摩托车部落 (piaggioclub.net) - Modern Urban Mobility Media Stylesheet */
:root {
  --brand: #0f6cbd;
  --brand-dark: #0a4f8d;
  --brand-sky: #1fa0da;
  --brand-soft: #eff7fc;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --bg: #f8fafc;
  --dark-bg: #0b192c;
  --dark-card: #13253e;
  --success: #0f766e;
  --success-bg: #ecfdf5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 12px 20px 18px;
  gap: 4px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 500;
}

.mobile-nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* Verbatim Announcement Ribbon (Homepage top below nav) */
.announce-bar {
  background: linear-gradient(90deg, #eff7fc 0%, #e6f4fd 50%, #eff7fc 100%);
  border-bottom: 1px solid #cce6f8;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.announce-tag {
  flex-shrink: 0;
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.announce-text {
  margin: 0;
  font-size: 13.5px;
  color: #164e63;
  font-weight: 500;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border-color: #bfd7ed;
}

.btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.btn-ghost-light {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  line-height: 1.4;
}

.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-amber { background: #ffedd5; color: #c2410c; }
.badge-cyan { background: #cffafe; color: #0e7490; }
.badge-slate { background: #f1f5f9; color: #475569; }

/* Hero */
.hero-section {
  background: radial-gradient(circle at 82% 20%, rgba(31, 160, 218, 0.25), transparent 45%),
              linear-gradient(135deg, #0b192c 0%, #102a49 58%, #0f3b66 100%);
  color: #fff;
  padding: 52px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #7dd3fc;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.24);
}

.hero-title {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: #38bdf8;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 15.5px;
  color: #cbd5e1;
  max-width: 600px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.metric-item span {
  font-size: 12.5px;
  color: #94a3b8;
}

/* Quick Filter Card in Hero */
.quick-filter-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.card-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.quick-filter-card h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.quick-filter-form .form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.form-group select,
.form-group input[type="number"],
.form-group input[type="text"],
.filter-field select,
.picker-col select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}

.quick-compare-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.quick-compare-links a {
  color: var(--brand);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 52px 0;
}

.section-tinted {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.section-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

/* Page Banner */
.page-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 30px 0 34px;
}

.page-banner h1 {
  margin: 8px 0 10px;
  font-size: 30px;
  line-height: 1.28;
  font-weight: 800;
}

.page-banner p {
  margin: 0;
  color: var(--ink-2);
  max-width: 780px;
  font-size: 15px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* Model Cards Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
}

.model-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid #eef2f7;
}

.model-visual img {
  width: 100%;
  max-height: 126px;
  object-fit: contain;
}

.model-brand-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
}

.model-tax-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #9a3412;
  background: #ffedd5;
  padding: 2px 8px;
  border-radius: 6px;
}

.model-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.model-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.model-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.model-name a {
  color: var(--ink);
}

.model-name a:hover {
  color: var(--brand);
}

.model-price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.model-tagline {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.spec-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 12px;
  padding: 8px 6px;
  background: var(--bg);
  border-radius: 8px;
  text-align: center;
}

.spec-mini-grid dt {
  font-size: 11px;
  color: var(--muted);
}

.spec-mini-grid dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.model-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
}

.link-compare {
  color: var(--muted);
}

.link-compare:hover {
  color: var(--brand);
}

/* Tools Promo Grid */
.tools-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tool-promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tool-promo-card:hover {
  border-color: var(--brand-sky);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.tool-promo-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.tool-promo-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.tool-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.brand-tile:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.brand-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.brand-origin {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.brand-tech-tag {
  font-size: 11.5px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.brand-tile h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.brand-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.article-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.article-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 700;
}

.article-title a {
  color: var(--ink);
}

.article-title a:hover {
  color: var(--brand);
}

.article-excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  flex: 1;
}

.article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--muted);
}

.article-foot a {
  font-weight: 600;
}

/* Filter Bar (Models page) */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.filter-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}

.filter-toggles {
  grid-column: span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.result-summary {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* Detail Pages */
.model-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-top: 12px;
}

.model-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.model-hero-tagline {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.price-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-label {
  font-size: 13px;
  color: var(--muted);
}

.price-main strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.price-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.model-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.model-hero-stage {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.model-hero-stage img {
  margin: 0 auto;
  max-height: 210px;
}

.stage-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.card-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.card-panel h3 {
  margin: 0 0 12px;
  font-size: 16.5px;
  font-weight: 700;
}

.spec-table-wrap,
.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 11px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: #f8fafc;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}

.verdict-text {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.cons-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pros-box h3 { color: #166534; font-size: 15px; }
.cons-box h3 { color: #9a3412; font-size: 15px; }

.pros-box ul, .cons-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.pros-box li, .cons-box li {
  margin-bottom: 6px;
}

.score-bar-row {
  margin-bottom: 12px;
}

.score-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.score-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-sky) 100%);
  border-radius: 999px;
}

.rival-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rival-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.rival-meta {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.side-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.side-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-article-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.side-article-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-article-list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.side-article-list a:hover {
  color: var(--brand);
}

.side-article-list span {
  font-size: 12px;
  color: var(--muted);
}

.side-models-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-model-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.side-model-item:hover {
  border-color: var(--brand);
}

.side-model-item strong {
  display: block;
  font-size: 14px;
}

.side-model-item span {
  font-size: 12px;
  color: var(--muted);
}

/* Compare Page */
.compare-picker-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 130px;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.picker-col label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 13px 15px;
  border: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}

.compare-table thead th {
  background: #f8fafc;
}

.compare-table .col-attr {
  width: 170px;
  text-align: left;
}

.compare-table tbody th {
  background: #f8fafc;
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
}

.cmp-head-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.cmp-head-card img {
  max-height: 82px;
  object-fit: contain;
}

.cmp-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.is-win {
  background: var(--success-bg);
}

.win-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Reviews & Article */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.cat-tab.is-active,
.cat-tab:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.article-hero-title {
  font-size: 30px;
  margin: 0 0 12px;
}

.article-hero-summary {
  font-size: 15.5px;
  color: var(--ink-2);
}

.article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.article-body h2 {
  margin: 28px 0 12px;
  font-size: 21px;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 14px;
}

.article-body ul, .article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
}

.article-body th {
  background: #f8fafc;
  color: var(--ink);
}

.article-callout {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 14.5px;
  color: #0c4a6e;
}

.article-disclaimer {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
}

/* Brand Directory & Facts */
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.brand-dir-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.brand-dir-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.brand-dir-card h2 a {
  color: var(--ink);
}

.brand-dir-desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
}

.brand-dir-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 13.5px;
  color: var(--muted);
}

.brand-facts-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.brand-facts-bar span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.brand-facts-bar strong {
  font-size: 14.5px;
  color: var(--ink);
}

/* Tools Page */
.anchor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.anchor-pills a {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
}

.anchor-pills a:hover {
  background: var(--brand);
  color: #fff;
}

.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.tool-block-head {
  margin-bottom: 18px;
}

.tool-block-head h2 {
  margin: 8px 0 6px;
}

.tool-block-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.tool-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.tool-form .form-group {
  margin-bottom: 12px;
}

.tool-result-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 20px;
}

.res-highlight {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.res-highlight span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.res-highlight strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
}

.res-list {
  margin: 0 0 12px;
}

.res-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 14px;
}

.res-list dt {
  color: var(--ink-2);
}

.res-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.res-tip {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: #0c4a6e;
  background: var(--brand-soft);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.res-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.stance-meter {
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}

.stance-bar {
  height: 100%;
  background: linear-gradient(90deg, #0f6cbd 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.matcher-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.matcher-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.match-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.match-card h3 {
  margin: 6px 0 4px;
  font-size: 16px;
}

.match-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.match-specs {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.match-reason {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 12px;
  flex: 1;
}

.maint-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.maint-filter input {
  width: 130px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.maint-hint {
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 600;
}

.maint-table tr.is-due td {
  background: #fff7ed;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #cbd5e1;
  padding: 48px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer-desc {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 7px;
  font-size: 13.5px;
}

.footer-col a {
  color: #94a3b8;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

.footer-beian a {
  color: #cbd5e1;
}

.footer-beian a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Breakpoints (Clean down to 375px with ZERO horizontal scroll) */
@media (max-width: 1024px) {
  .models-grid,
  .tools-promo-grid,
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .model-hero-grid,
  .detail-layout,
  .tool-grid-2 {
    grid-template-columns: 1fr;
  }
  .compare-picker-bar {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .header-inner {
    height: 60px;
  }
  .brand-logo img {
    height: 36px;
  }
  .main-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .announce-inner {
    align-items: flex-start;
    gap: 8px;
  }
  .announce-text {
    font-size: 12.5px;
  }
  .hero-section {
    padding: 32px 0 38px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 36px 0;
  }
  .section-title {
    font-size: 22px;
  }
  .page-banner h1,
  .article-hero-title {
    font-size: 23px;
  }
  .models-grid,
  .tools-promo-grid,
  .brands-grid,
  .articles-grid,
  .brand-directory-grid,
  .brand-facts-bar,
  .pros-cons-grid,
  .matcher-controls,
  .matcher-results,
  .filter-bar,
  .compare-picker-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .filter-toggles,
  .filter-actions {
    grid-column: span 1;
    justify-content: flex-start;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .card-panel {
    padding: 18px 15px;
  }
  .rival-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .spec-table th, .spec-table td {
    padding: 9px 8px;
    font-size: 13px;
  }
}
