/* 全国油价速览 · 视觉样式 v2.1
   配色与间距遵循 docs/04-前端设计.md：深绿 + 米白，涨红跌绿
*/

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #1c2b26;
  --ink-2: #5f6f69;
  --ink-3: #68736d;
  --line: #e3ded2;
  --line-strong: #d6cebd;
  --accent: #173f34;
  --accent-2: #1f7a5c;
  --accent-soft: #eaf1ec;
  --accent-soft-2: #dce9e1;
  --up: #c0392b;
  --up-soft: #fbecea;
  --down: #1f7a5c;
  --down-soft: #eaf5f0;
  --hold: #8a8f8c;
  --hold-soft: #f1f2f0;
  --controlled: #b7791f;
  --controlled-soft: #fdf3e2;
  --radius: 6px;
  --radius-lg: 8px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(28, 43, 38, .06);
  --shadow-hover: 0 6px 16px rgba(23, 63, 52, .08);
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

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

.num { font-variant-numeric: tabular-nums; }

.muted { color: var(--ink-3); }

/* ---------- header ---------- */
.site-head {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(28, 43, 38, .02);
  backdrop-filter: blur(8px);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
}

.brand:hover { text-decoration: none; }
.brand small { font-size: 11px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }

.nav { display: flex; gap: 2px; margin-left: 8px; flex-wrap: wrap; }

.nav a {
  padding: 6px 11px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

.nav a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.nav a.active { background: var(--accent); color: #fff; font-weight: 500; }

.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.fresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
}

.fresh .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--down);
  box-shadow: 0 0 0 3px var(--down-soft);
}

.fresh.stale .dot { background: var(--controlled); box-shadow: 0 0 0 3px var(--controlled-soft); }
.fresh.none .dot { background: var(--ink-3); box-shadow: 0 0 0 3px var(--hold-soft); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 22px; position: relative; z-index: 0; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190px;
  background: linear-gradient(180deg, #f3f0e7 0%, rgba(250, 248, 243, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.eyebrow {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: .04em;
  margin: 0 0 6px;
}

h1.title {
  font-size: 34px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}

.hero-sub { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }

.province-pick { display: flex; flex-direction: column; gap: 4px; min-width: 210px; }
.province-pick label { font-size: 12px; color: var(--ink-2); }

.select-wrap { position: relative; }

.select-wrap select {
  width: 100%;
  appearance: none;
  padding: 9px 34px 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

/* ---------- price grid ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  min-height: 118px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.price-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.price-card .fuel {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.price-card .tag {
  font-size: 11px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.price-card .tag.market { background: var(--controlled-soft); color: var(--controlled); }

.price-card .value {
  font-size: 32px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.price-card .value small { font-size: 12px; font-weight: 400; color: var(--ink-2); margin-left: 3px; letter-spacing: 0; }

.price-card .delta { font-size: 12px; margin-top: 6px; min-height: 18px; }

.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.delta.flat { color: var(--ink-3); }

/* 98# 市场参考价：单独一行 */
.price-card.market-card {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, var(--surface) 0%, #fdfaf3 100%);
  border-color: #eadfc9;
}

.price-card.market-card .fuel { font-size: 14px; justify-content: flex-start; }
.price-card.market-card .value { font-size: 26px; margin-top: 0; }
.price-card.market-card .delta { margin-top: 0; text-align: right; }

/* ---------- area bar ---------- */
.area-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--accent-soft);
  border: 1px solid #cfe0d6;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #1f3d33;
}

.area-bar select {
  padding: 4px 26px 4px 8px;
  border: 1px solid #bcd3c6;
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
}

/* ---------- metrics strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}

.strip .cell { padding: 16px 20px; border-right: 1px solid var(--line); }
.strip .cell:last-child { border-right: none; }
.strip .k { font-size: 12px; color: var(--ink-2); }
.strip .v { font-size: 22px; font-weight: 600; margin-top: 2px; letter-spacing: -.01em; }
.strip .s { font-size: 12px; color: var(--ink-3); }

/* ---------- two column / panels ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.panel h2 .more { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.panel h2 .more select { color: var(--ink); }

.forecast-direction {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -.01em;
}

.forecast-direction.up { color: var(--up); }
.forecast-direction.down { color: var(--down); }
.forecast-direction.hold { color: var(--hold); }
.forecast-direction.controlled { color: var(--controlled); }

.forecast-range { font-size: 14px; color: var(--ink-2); }
.forecast-meta { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

.disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--controlled-soft);
  border: 1px solid #f0dcb4;
  border-radius: var(--radius);
  font-size: 12px;
  color: #7a4d0b;
  line-height: 1.6;
}

.market-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.market-row:last-child { border-bottom: none; }
.market-row .name { color: var(--ink-2); }
.market-row .price { font-weight: 600; }

/* ---------- table panel ---------- */
.table-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.table-head h2 { font-size: 14px; font-weight: 600; margin: 0; }
/* ---------- data table ---------- */
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }

table.data th {
  text-align: left;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  background: #f7f4ec;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  user-select: none;
}

table.data th:hover { color: var(--ink); }

table.data td { padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: #faf7ef; }
table.data .r { text-align: right; }
table.data .name { font-weight: 500; }
table.data a { color: var(--accent); }

.zone-count {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}

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

/* ---------- states ---------- */
.state {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}

.state.error { color: var(--up); }

.skeleton {
  background: linear-gradient(90deg, #f1ede3 25%, #faf8f3 37%, #f1ede3 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}

.badge-healthy { background: var(--down-soft); color: var(--down); }
.badge-degraded { background: var(--controlled-soft); color: var(--controlled); }
.badge-stale { background: var(--up-soft); color: var(--up); }
.badge-disabled { background: var(--hold-soft); color: var(--hold); }

/* ---------- metric cards ---------- */
.metrics {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.metrics-4 { grid-template-columns: repeat(4, 1fr); }
.metrics-3 { grid-template-columns: repeat(3, 1fr); }

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.metric .label { font-size: 12px; color: var(--ink-2); }
.metric .value { font-size: 26px; font-weight: 600; margin-top: 4px; line-height: 1.2; letter-spacing: -.01em; }
.metric .hint { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ---------- pager / buttons ---------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-2);
  color: var(--accent);
  text-decoration: none;
}

/* ---------- footer ---------- */
.site-foot {
  margin-top: 48px;
  padding: 32px 0 40px;
  background: var(--accent);
  color: #cfded6;
  font-size: 12px;
  line-height: 1.7;
  border-top: 1px solid var(--accent);
}

.site-foot strong { color: #fff; font-weight: 500; }
.site-foot a { color: #e8f1ec; }
.site-foot a:hover { color: #fff; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }

/* ---------- chart ---------- */
.chart { width: 100%; height: 320px; }
.chart.tall { height: 400px; }

/* ---------- page title (inner pages) ---------- */
.page-head { padding: 34px 0 12px; }
.page-head h1 { font-size: 28px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.page-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.page-head .eyebrow a { color: var(--ink-2); }
.page-head .eyebrow a:hover { color: var(--accent); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.calc .out { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.calc .out small { font-size: 12px; color: var(--ink-2); font-weight: 400; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 22px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), var(--line));
}

.tl-item { position: relative; padding: 0 0 20px 18px; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.tl-item.up::before { background: var(--up); }
.tl-item.down::before { background: var(--down); }
.tl-item.hold::before { background: var(--hold); }
.tl-item.controlled::before { background: var(--controlled); }

.tl-item .date { font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.tl-item .body { font-size: 15px; font-weight: 500; }
.tl-item .body strong { font-weight: 600; }
.tl-item .body strong.up { color: var(--up); }
.tl-item .body strong.down { color: var(--down); }
.tl-item .body strong.hold { color: var(--hold); }
.tl-item .body strong.controlled { color: var(--controlled); }
.tl-item .note { font-size: 12px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-head .wrap { gap: 10px 14px; }
  .nav {
    display: flex;
    flex-wrap: nowrap;
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 2px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .nav a { padding: 6px 10px; }
  .head-right { margin-left: auto; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .cell:nth-child(2) { border-right: none; }
  .strip .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  h1.title { font-size: 26px; }
  .price-card .value { font-size: 26px; }
  .price-card.market-card { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  table.data th, table.data td { padding: 10px 12px; }
  .metrics-4, .metrics-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .site-head .wrap { min-height: 56px; }
  .brand { font-size: 16px; }
  .brand small { display: none; }
  .hero { padding: 18px 0 10px; }
  .hero-top { flex-direction: column; }
  .province-pick { width: 100%; min-width: 0; }
  .price-grid { gap: 8px; margin: 16px 0; }
  .price-card { padding: 12px; min-height: 92px; }
  .price-card .value { font-size: 24px; }
  .strip .cell { padding: 12px 14px; }
  .price-card.market-card { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .price-card.market-card .delta { grid-column: 1 / -1; text-align: left; }
  .table-head { gap: 8px; padding: 14px; }
  .page-head h1 { font-size: 24px; }
  .panel { padding: 16px; }
  .metric { padding: 14px; }
  .metric .value { font-size: 22px; }
  .tl-item .body { font-size: 14px; }
  .metrics-4, .metrics-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .metrics-4, .metrics-3 { grid-template-columns: 1fr; }
}

/* mobile data table → cards (only the main province tables) */
@media (max-width: 560px) {
  .table-panel { overflow: visible; }
  .table-panel table.data { display: block; }
  .table-panel table.data thead { display: none; }
  .table-panel table.data tbody { display: block; padding: 12px; }
  .table-panel table.data tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 10px;
    padding: 6px 12px;
    box-shadow: var(--shadow);
  }
  .table-panel table.data tr:last-child { margin-bottom: 0; }
  .table-panel table.data td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
  }
  .table-panel table.data tr:last-child td { border-bottom: none; }
  .table-panel table.data td::before {
    content: attr(data-label);
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 400;
    flex: 0 0 auto;
  }
  .table-panel table.data .r { text-align: right; }
  .table-panel table.data .name { font-weight: 500; }

  /* 手机上放大可点区域，避免“详情”等小链接难点中 */
  .nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .panel h2 a.more { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 10px; margin: -8px -10px; }
  .pager .btn { min-height: 40px; }
  .site-foot a { display: inline-block; padding: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .price-card:hover { transform: none; }
}

/* ---------- home matrix table ---------- */
.matrix-table th .th-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 2px;
}
.matrix-table td .price-val { display: block; }
.matrix-table td .delta { display: block; font-size: 11px; margin-top: 2px; }

/* ---------- forecast calculator ---------- */
.forecast-calc {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-2);
}
.forecast-calc .calc-line { display: block; }
.forecast-calc .delta { font-weight: 600; }

/* ---------- 下一轮加油花费变化 ---------- */
.fuel-cost-panel { margin-bottom: 26px; }

.fuel-cost-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.fuel-cost-badge.up { color: var(--up); background: var(--up-soft); }
.fuel-cost-badge.down { color: var(--down); background: var(--down-soft); }
.fuel-cost-badge.hold, .fuel-cost-badge.controlled { color: var(--hold); background: var(--hold-soft); }

.fuel-cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.fuel-cost-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fcfbf7;
}

.fuel-cost-card .fc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fuel-cost-card .fc-name { font-size: 13px; font-weight: 600; }
.fuel-cost-card .fc-tag { font-size: 11px; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
.fuel-cost-card .fc-tag.market { color: var(--controlled); background: var(--controlled-soft); }

.fuel-cost-card .fc-price { font-size: 22px; font-weight: 600; margin: 8px 0 10px; letter-spacing: -.01em; }
.fuel-cost-card .fc-price small { font-size: 11px; font-weight: 400; color: var(--ink-2); margin-left: 2px; }
.fuel-cost-card .fc-old { color: var(--ink-3); font-size: 16px; font-weight: 400; }
.fuel-cost-card .fc-arrow { color: var(--ink-3); font-size: 14px; margin: 0 4px; }
.fuel-cost-card .fc-hold { font-size: 11px; font-weight: 500; color: var(--hold); margin-left: 8px; }

.fuel-cost-card .fc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.fuel-cost-card .fc-label { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.fuel-cost-card .fc-value { font-size: 14px; font-weight: 600; white-space: nowrap; }

.fuel-cost-card .fc-delta { font-size: 11px; margin: 2px 0 0; text-align: right; min-height: 16px; }
.fuel-cost-card .fc-delta.up { color: var(--up); }
.fuel-cost-card .fc-delta.down { color: var(--down); }
.fuel-cost-card .fc-delta.muted { color: var(--ink-3); }

.fuel-cost-note { margin: 10px 0 0; font-size: 12px; }

@media (max-width: 900px) {
  .fuel-cost-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .fuel-cost-grid { grid-template-columns: 1fr; }
  .fuel-cost-card { padding: 12px 14px; }
}

/* ---------- footer copyright ---------- */
.site-foot .copyright {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
}
.site-foot .copyright a {
  color: rgba(255, 255, 255, .82);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-foot .copyright a:hover { color: #fff; }

/* ---- 调价预测：只展示结果，不展示机制 ---- */
.forecast-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.forecast-badge { font-size: 20px; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .5px; }
.forecast-badge.up { color: var(--up); background: rgba(200,60,50,.10); }
.forecast-badge.down { color: var(--down); background: rgba(30,130,80,.10); }
.forecast-badge.hold { color: var(--hold); background: rgba(120,120,120,.12); }
.forecast-main { margin: 14px 0 10px; }
.forecast-point { font-size: 44px; font-weight: 700; letter-spacing: -1px; }
.forecast-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
.forecast-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.forecast-row:last-child { border-bottom: 0; }
