/* 首页布局：12 栏网格、1px 线分组、无投影、圆角 ≤4px */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-logo--dark { display: none; }
[data-theme="dark"] .brand-logo--light { display: none; }
[data-theme="dark"] .brand-logo--dark { display: block; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.main-nav a {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.main-nav a:hover { color: var(--text); background: var(--bg-raised); }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .btn { margin-right: 6px; }
.nav-toggle { display: none; }

/* ---------- 更多下拉 ---------- */
.nav-more { position: relative; display: flex; align-items: center; }
.nav-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-more__btn:hover { color: var(--text); background: var(--bg-raised); }
.nav-more__caret { width: 13px; height: 13px; transition: transform var(--dur-fast) var(--ease); }
.nav-more[data-open="true"] .nav-more__btn { color: var(--accent); }
.nav-more[data-open="true"] .nav-more__caret { transform: rotate(180deg); }
.nav-more__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 45;
  display: none;
  min-width: 232px;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
}
.nav-more[data-open="true"] .nav-more__panel { display: block; }
.nav-more__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
}
.main-nav .nav-more__item { padding: 10px 12px; font-size: 14px; color: var(--text-2); }
.main-nav .nav-more__item:hover { background: var(--bg-raised); color: var(--text); }
.nav-more__item .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.nav-more__label { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.nav-more__desc { display: block; font-size: 12px; color: var(--text-3); }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.back-to-top[data-visible="true"] { opacity: 1; visibility: visible; }
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }
.back-to-top .icon { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 24px;
  align-items: center;
  padding: 56px 0 48px;
}
.hero-copy { grid-column: 1 / 8; min-width: 0; }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }
.eyebrow .icon { width: 14px; height: 14px; }
.platform-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.platform-link:hover { color: var(--accent); }
.platform-link strong { color: var(--accent); font-size: 16px; }
.platform-link .icon { width: 13px; height: 13px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--price-down); }
.hero h1 {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.hero h1 span { display: block; color: var(--accent); }
.hero-lead { max-width: 62ch; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.hero-features { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.hero-features li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.hero-features .icon { width: 14px; height: 14px; color: var(--accent); }
.hero-visual { grid-column: 8 / 13; min-width: 0; }

/* ---------- 比价搜索 ---------- */
.search { position: relative; margin-top: 26px; max-width: none; }
.compare-query {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
}
.compare-query:focus-within { border-color: var(--accent); }
.compare-query .icon { color: var(--text-3); }
.search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  font-size: 14px;
}
.search-input::placeholder, .compare-control input::placeholder { color: var(--text-3); }
.compare-controls { display: grid; grid-template-columns: 1fr 1fr 1.15fr auto; gap: 8px; margin-top: 8px; }
.compare-control { min-width: 0; height: 42px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); }
.compare-control:focus-within { border-color: var(--accent); }
.compare-control input, .compare-control select {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
}
.compare-control select { cursor: pointer; }
.compare-submit { height: 42px; padding: 0 16px; }
.search-hint { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.search-hint a { color: var(--text-2); border-bottom: 1px solid var(--border-strong); }
.search-hint a:hover { color: var(--accent); border-color: var(--accent); }
.hot-keywords { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.hot-keywords a { padding: 2px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-surface); }
.hot-keywords a:hover { border-color: var(--accent); }

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.search-results[hidden] { display: none; }
.search-results li { border-bottom: 1px solid var(--border); }
.search-results li:last-child { border-bottom: 0; }
.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.search-results a:hover,
.search-results a[data-active="true"] { background: var(--bg-raised); }
.search-results .r-name { font-weight: 600; }
.search-results .r-meta { margin-left: auto; font-size: 12px; color: var(--text-3); }
.search-empty { padding: 14px; font-size: 13px; color: var(--text-3); }

/* ---------- 官方订阅趋势 ---------- */
.trend-panel { width: 100%; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); }
.trend-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.trend-kicker { margin-bottom: 4px; color: var(--accent); }
.trend-head h2 { font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.trend-head .badge { margin-top: 2px; background: var(--bg); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 11px; font-weight: 600; color: var(--text-2); }
.chart-legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; }
.legend-chat { background: var(--price-down); }
.legend-claude { background: var(--chart-claude); }
.legend-super { background: var(--text); }
.trend-chart { position: relative; margin-top: 8px; }
.trend-chart svg { display: block; width: 100%; height: auto; }
.chart-grid line { stroke: var(--border); stroke-width: 1; }
.chart-axis text { fill: var(--text-3); font-family: var(--font-sans); font-size: 10px; }
.chart-series path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.series-chat { stroke: var(--price-down); }
.series-claude { stroke: var(--chart-claude); }
.series-super { stroke: var(--text); }
.chart-series circle { fill: var(--bg-surface); stroke-width: 2; }
.dots-chat circle { stroke: var(--price-down); }
.dots-claude circle { stroke: var(--chart-claude); }
.dots-super circle { stroke: var(--text); }
.chart-region { cursor: crosshair; outline: none; }
.chart-region rect { fill: transparent; }
.chart-hover-line { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart-region:hover .chart-hover-line,
.chart-region:focus .chart-hover-line,
.chart-region[data-active="true"] .chart-hover-line { opacity: 0.5; }
.chart-tooltip {
  position: absolute;
  top: 34px;
  left: 46%;
  z-index: 5;
  width: 210px;
  padding: 12px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  pointer-events: none;
}
.chart-tooltip > strong { display: block; margin-bottom: 7px; font-size: 13px; }
.chart-tooltip > span { display: flex; align-items: center; gap: 7px; min-height: 25px; font-size: 11px; font-weight: 600; }
.chart-tooltip b { margin-left: auto; font-weight: 700; white-space: nowrap; }
.chart-tooltip .legend-super { background: var(--bg); }
.trend-panel figcaption { margin-top: 2px; font-size: 11px; color: var(--text-3); }

/* ---------- 统计：一组，分隔线而非卡中卡 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.stat { padding: 20px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat-top { display: flex; align-items: center; gap: 8px; color: var(--text-3); }
.stat-top .icon { width: 16px; height: 16px; color: var(--accent); }
.stat-value { margin-top: 6px; font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--text-3); }

/* ---------- 区块 ---------- */
.section { padding: 48px 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.rows li { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--border); }
.rows li:first-child { border-top: 0; }
.rows a.row-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.rows a.row-link:hover .row-name { color: var(--accent); }
.row-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
}
.row-name { font-weight: 600; transition: color var(--dur-fast) var(--ease); }
.row-sub { font-size: 12px; color: var(--text-3); }
.row-price { margin-left: auto; font-weight: 600; text-align: right; white-space: nowrap; }
.row-time { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.row-delta { min-width: 62px; justify-content: flex-end; }
.row-off {
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--price-down);
  font-size: 12px;
  font-weight: 600;
}

/* 模型价格与订阅活动 */
.table-scroll { overflow-x: auto; }
/* 网格项默认 min-width:auto，宽表会把整栏顶出视口；放开后由 .table-scroll 自己横向滚动 */
.grid-2 > .panel { min-width: 0; }
.model-price-table { min-width: 570px; }
.model-price-table tbody td, .model-price-table tbody th { height: 62px; padding: 10px 16px; }
.model-price-table tbody th { min-width: 220px; white-space: normal; }
.model-price-table tbody th > a { display: block; }
.model-price-table .row-sub { display: block; font-weight: 400; }
.model-price-table .price-cell { font-weight: 700; white-space: nowrap; }
.model-price-table td:last-child { text-align: right; }
.deal-list li { min-height: 63px; padding-top: 10px; padding-bottom: 10px; }
.deal-copy { display: flex; flex-direction: column; min-width: 0; }
.deal-copy .row-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal-price { max-width: 130px; margin-left: auto; font-size: 12px; font-weight: 600; text-align: right; white-space: nowrap; }

/* 厂商索引：文字型链接，不做 logo 墙 */
/* ---------- 厂商图标：全站共用，首页厂商索引 / 模型与订阅的厂商列 ---------- */
/* tokens.css 全局 img 是 block，这里必须回到行内才能与厂商名同行 */
.vendor-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
  margin-right: 6px;
  border-radius: 3px;
}
.vendor-icon--lg { width: 18px; height: 18px; vertical-align: -4px; }
/* 纯黑标在 <img> 里拿不到主题色，暗色下反白才不会隐形 */
html[data-theme="dark"] .vendor-icon--mono { filter: invert(1); }
.vendor-index { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 4px; }
.vendor-index a { color: var(--text-2); border-bottom: 1px solid transparent; }
.vendor-index a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Hero 插画：内页 hero 右栏 200×132，亮/暗各一张；光与点缀跟着插画走，不成色块 ---------- */
.hero-art { display: block; width: 200px; height: 132px; margin: 0; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-art .hero-art-dark { display: none; }
html[data-theme="dark"] .hero-art .hero-art-light { display: none; }
html[data-theme="dark"] .hero-art .hero-art-dark { display: block; }

/* 光：一圈压在插画身后，向外淡到 0，边界落在 hero 盒内，不生成矩形底色 */
.page-hero { position: relative; }
.page-hero > div, .page-hero > figure { position: relative; z-index: 1; }
.page-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(150px 92px at calc(100% - 100px) 54%, rgba(27, 77, 255, .16), rgba(27, 77, 255, 0) 62%),
    radial-gradient(300px 84px at calc(100% - 296px) 58%, rgba(27, 77, 255, .06), rgba(27, 77, 255, 0) 68%);
  animation: hero-band 11s var(--ease) infinite;
  content: "";
}
html[data-theme="dark"] .page-hero::before {
  background:
    radial-gradient(150px 92px at calc(100% - 100px) 54%, rgba(110, 139, 255, .2), rgba(110, 139, 255, 0) 62%),
    radial-gradient(300px 84px at calc(100% - 296px) 58%, rgba(110, 139, 255, .07), rgba(110, 139, 255, 0) 68%);
}

/* 点缀：从插画左侧甩出的一串，越远越淡 */
.page-hero::after {
  position: absolute;
  z-index: 2;
  right: 226px;
  bottom: 44px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: -38px -16px 0 -1px rgba(27, 77, 255, .4), -78px 8px 0 -1px rgba(27, 77, 255, .28), -120px -20px 0 -2px rgba(27, 77, 255, .18), -162px 4px 0 -2px rgba(27, 77, 255, .12);
  animation: hero-dots 7s var(--ease) infinite;
  content: "";
}
html[data-theme="dark"] .page-hero::after {
  box-shadow: -38px -16px 0 -1px rgba(110, 139, 255, .48), -78px 8px 0 -1px rgba(110, 139, 255, .32), -120px -20px 0 -2px rgba(110, 139, 255, .2), -162px 4px 0 -2px rgba(110, 139, 255, .14);
}

.hero-bits { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.hero-bits::before,
.hero-bits::after {
  position: absolute;
  border: 1px solid var(--accent);
  content: "";
}
.hero-bits::before {
  right: 250px;
  bottom: 78px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: hero-ring 8s var(--ease) infinite;
}
.hero-bits::after {
  right: 306px;
  bottom: 30px;
  width: 8px;
  height: 8px;
  animation: hero-diamond 6.5s var(--ease) infinite;
}

@keyframes hero-band {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
@keyframes hero-dots {
  0%, 100% { opacity: .7; transform: translateY(2px); }
  50% { opacity: 1; transform: translateY(-5px); }
}
@keyframes hero-ring {
  0%, 100% { opacity: .28; transform: translateY(2px) scale(.96); }
  50% { opacity: .6; transform: translateY(-5px) scale(1.04); }
}
@keyframes hero-diamond {
  0%, 100% { opacity: .26; transform: rotate(45deg) translateY(-2px); }
  50% { opacity: .55; transform: rotate(45deg) translateY(5px); }
}

@media (max-width: 767px) {
  .hero-art, .hero-bits { display: none; }
  .page-hero::before, .page-hero::after { content: none; }
}

/* ---------- 工具入口 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tool-card { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.tool-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.tool-card > .icon { color: var(--accent); }
.tool-card strong { font-size: 13px; }
.tool-card small { display: block; margin-top: 3px; font-size: 11px; color: var(--text-3); }
.tool-card .tool-arrow { width: 14px; height: 14px; margin-left: auto; color: var(--text-3); }
.tool-ad { background: var(--accent-soft); }

/* ---------- 官方订阅低价区 ---------- */
.section-title-group { display: flex; align-items: baseline; gap: 12px; }
.section-title-group p { font-size: 12px; color: var(--text-3); }
.official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.official-card { padding: 20px; }
.official-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.official-glyph { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.official-glyph .vendor-icon { width: 22px; height: 22px; margin-right: 0; vertical-align: 0; }
.official-head h3 { font-size: 15px; }
.official-head p { margin-top: 2px; font-size: 11px; color: var(--text-3); }
.official-plans { padding: 8px 0; }
.official-plans li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; font-size: 13px; font-weight: 600; }
.official-plans .num { text-align: right; white-space: nowrap; }
.official-plans small { margin-right: 10px; color: var(--text-3); font-size: 11px; font-weight: 400; }
.official-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--accent); font-size: 12px; font-weight: 500; }
.official-link .icon { width: 13px; height: 13px; }

/* ---------- 店铺推荐 ---------- */
.shop-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.shop-tab { min-height: 30px; padding: 3px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-2); font-size: 12px; }
.shop-tab:hover { border-color: var(--accent); color: var(--accent); }
.shop-tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shop-card { display: flex; flex-direction: column; min-width: 0; min-height: 254px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.shop-card:hover { border-color: var(--accent); background: var(--bg-surface); }
.shop-card-head { display: flex; align-items: flex-start; gap: 12px; }
.shop-card-head > div { min-width: 0; }
.shop-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); color: var(--text-2); font-size: 12px; font-weight: 700; }
.shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.shop-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; font-size: 14px; line-height: 1.5; }
.shop-status { display: inline-block; margin-top: 4px; color: var(--price-down); font-size: 11px; }
.shop-description { display: -webkit-box; min-height: 42px; margin-top: 14px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--text-2); font-size: 12px; line-height: 1.75; }
.shop-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.shop-tags span { padding: 1px 6px; border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text-2); font-size: 10px; }
.shop-tags small { color: var(--text-3); font-size: 10px; }
.shop-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 10px; }
.shop-meta span:last-child { margin-left: auto; white-space: nowrap; }
.shop-empty { padding: 28px; border: 1px solid var(--border); color: var(--text-3); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
}
.footer-brand p { margin-top: 12px; font-size: 13px; color: var(--text-3); max-width: 32ch; }
.footer-map-links { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-map-links a { color: var(--text-2); }
.footer-map-links a:hover { color: var(--accent); }
.footer-map-links .sep { color: var(--text-4); }
.footer-col h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-4); margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text-2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding: 16px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
}
.footer-bottom .footer-note { margin-left: auto; text-align: right; }

/* ---------- 占位页 / 404 ---------- */
.placeholder { padding: 96px 0; max-width: 640px; }
.placeholder h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.placeholder p { margin-top: 12px; color: var(--text-2); }
.placeholder .btn { margin-top: 24px; }

/* 比价表：行高 44、1px 线、数字右对齐 */
table { font-size: 14px; }
thead th {
  padding: 12px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-align: left;
  white-space: nowrap;
}
tbody td, tbody th { padding: 12px 20px; border-bottom: 1px solid var(--border); height: 44px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; text-align: left; white-space: nowrap; }
tbody tr:hover { background: var(--bg-raised); }
tbody th a:hover { color: var(--accent); }
td.num, th.num { text-align: right; }
td.cost { font-weight: 700; }
thead th:nth-child(2), thead th:nth-child(3), thead th:nth-child(4) { text-align: right; }
thead th:last-child { text-align: left; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 6px 8px; font-size: 13px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--border); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .header-inner { gap: 12px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-more { flex-direction: column; align-items: stretch; }
  .nav-more__btn { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-more__panel { position: static; top: auto; min-width: 0; padding: 0 0 8px; border: 0; background: none; }
  .main-nav .nav-more__item { padding: 11px 0 11px 12px; border-bottom: 1px solid var(--border); }
  .nav-more__item .icon { display: none; }
  .nav-more__desc { display: none; }
  .main-nav .nav-more__item:last-child { border-bottom: 0; }
  .back-to-top { right: 16px; bottom: 16px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 32px; gap: 32px; }
  .hero-copy, .hero-visual { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .trend-panel { max-width: 640px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-lead { font-size: 13px; }
  .hero-features { gap: 8px 14px; }
  .compare-controls { grid-template-columns: 1fr 1fr; }
  .compare-sort { grid-column: 1 / 2; }
  .compare-submit { width: 100%; }
  .search-results a { flex-wrap: wrap; gap: 8px; }
  .search-results .r-meta { width: 100%; margin-left: 0; }
  .trend-panel { padding: 16px 12px; }
  .trend-head h2 { font-size: 16px; }
  .trend-head .badge { font-size: 10px; }
  .chart-legend { gap: 6px 12px; }
  .chart-tooltip { position: static; width: 100%; margin-top: 8px; padding: 10px 12px; }
  .chart-tooltip > strong { margin-bottom: 4px; }
  .chart-tooltip > span { min-height: 23px; }
  .section-title-group { align-items: flex-start; flex-direction: column; gap: 2px; }
  .official-card { padding: 16px; }
  .shop-grid { grid-template-columns: 1fr; }
  .tool-ad { grid-column: 1 / -1; }
  .deal-price { max-width: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--border); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--border); }
  .stat-value { font-size: 26px; }
  .rows li { padding: 12px 14px; gap: 8px; flex-wrap: wrap; }
  .row-time { display: none; }
  .panel-head { padding: 14px; }
}
