/* 钢材超市网 (www.gcdcs.com) - Industrial Precision Financial Design System */
:root {
  --navy: #0f2537;
  --navy-2: #16344d;
  --steel: #1d4e89;
  --amber: #d95d1e;
  --amber-hover: #be4d14;
  --up: #c92a2a;
  --down: #16803c;
  --flat: #64748b;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 37, 55, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--amber); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.t-right { text-align: right; }
.t-center { text-align: center; }
.ml-auto { margin-left: auto; }
.is-up { color: var(--up) !important; font-weight: 600; }
.is-down { color: var(--down) !important; font-weight: 600; }
.is-flat { color: var(--flat) !important; }

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

/* Top Utility Bar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-right a { color: #e2e8f0; }
.topbar-right a:hover { color: #fff; }
.topbar-right .sep { color: #475569; }

/* Main Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(15, 37, 55, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 50px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-link:hover { background: #f1f5f9; color: var(--steel); }
.nav-link.is-active {
  background: var(--navy);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 40px;
  height: 38px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* Verbatim Homepage Announcement Banner */
.site-notice {
  background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
  border-bottom: 1px solid #fed7aa;
  padding: 10px 0;
}
.site-notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-text {
  margin: 0;
  font-size: 13.5px;
  color: #7c2d12;
  line-height: 1.5;
  word-break: break-word;
}

/* Hero Market Command Band */
.hero-band {
  background: linear-gradient(135deg, #0b1c2c 0%, #153453 55%, #1d4e89 100%);
  color: #fff;
  padding: 36px 0 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fdba74;
  background: rgba(217, 93, 30, 0.2);
  border: 1px solid rgba(253, 186, 116, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hero-main h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin: 0 0 20px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
}
.hero-search {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
}
.hero-search select {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: none;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
}
.hero-quick-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  color: #94a3b8;
}
.hero-quick-links a {
  color: #e2e8f0;
  border-bottom: 1px dashed rgba(226,232,240,0.45);
}
.hero-quick-links a:hover { color: #fdba74; border-bottom-color: #fdba74; }

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.kpi-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  border-top: 3px solid var(--amber);
}
.kpi-label { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.kpi-val-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.kpi-price { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi-unit { font-size: 12px; color: var(--muted); }
.kpi-diff { font-size: 13px; margin-left: auto; }
.kpi-meta { font-size: 12px; color: var(--muted); margin-top: 8px; border-top: 1px dashed var(--border); padding-top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-hover); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--steel); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; }

/* Page Banner (Subpages) */
.page-banner {
  background: linear-gradient(135deg, #0f2537 0%, #1d4e89 100%);
  color: #fff;
  padding: 28px 0;
}
.page-banner-compact { padding: 14px 0; }
.breadcrumb { font-size: 13px; color: #cbd5e1; margin-bottom: 6px; }
.breadcrumb a { color: #e2e8f0; }
.breadcrumb a:hover { color: #fdba74; }
.page-banner h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.3; }
.page-banner p { margin: 0; color: #dbeafe; font-size: 14.5px; max-width: 820px; }

/* Panels & Sections */
.main-content { padding-top: 24px; padding-bottom: 44px; }
.section-gap { margin-bottom: 24px; }
.section-pad { padding: 48px 20px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.hero-main, .hero-kpis, .sd-col, .sidebar-stack, .tool-form, .tool-output, .market-card, .article-card {
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.panel-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  padding-left: 11px;
  border-left: 4px solid var(--amber);
  line-height: 1.3;
}
.panel-sub { margin: 5px 0 0 15px; font-size: 13px; color: var(--muted); }
.panel-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.more-link { font-size: 13.5px; font-weight: 600; color: var(--steel); white-space: nowrap; }
.more-link:hover { color: var(--amber); }

/* Pills & Tags */
.filter-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--navy); }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid transparent;
  cursor: pointer;
}
.pill:hover { background: #e2e8f0; color: var(--navy); }
.pill.is-active { background: var(--navy); color: #fff; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.tag-steel { background: #eff6ff; color: #1d4e89; border: 1px solid #dbeafe; }
.tag-code { background: #f1f5f9; color: #0f2537; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge-supply { background: #e0f2fe; color: #0369a1; }
.badge-demand { background: #ffedd5; color: #c2410c; }

/* Tables */
.table-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}
.data-table th {
  background: #f8fafc;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  padding: 11px 12px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.data-table th.t-right { text-align: right; }
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: #f8fafc; }
.price-strong { font-weight: 700; color: var(--navy); font-size: 15px; }
.sparkline { display: inline-block; vertical-align: middle; }

/* Two-Column Futures + Calc */
.two-col-wide {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: start;
}
.futures-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.future-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #fafcff;
}
.future-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.future-name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.future-code { font-size: 12px; color: var(--muted); background: #e2e8f0; padding: 1px 6px; border-radius: 4px; }
.future-mid { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.future-price { font-size: 22px; font-weight: 800; }
.future-bot { display: flex; justify-content: space-between; font-size: 12.5px; }

/* Calculator Widget & Tools */
.calc-widget { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.form-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-row input, .form-row select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.12);
}
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.calc-result-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  margin: 12px 0 14px;
}
.calc-res-item span { display: block; font-size: 12px; color: #cbd5e1; }
.calc-res-item strong { font-size: 18px; }
.calc-res-item strong.accent { color: #fdba74; }

.tool-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}
.tool-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.output-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.output-card.is-highlight {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.output-card.is-highlight .output-label { color: #cbd5e1; }
.output-card.is-highlight .output-val { color: #fdba74; }
.output-label { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.output-val { font-size: 20px; font-weight: 800; color: var(--navy); }

/* Supply & Demand Columns */
.sd-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.sd-col {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.sd-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 14.5px;
}
.sd-col-head.is-supply { background: #eff6ff; color: #1e3a8a; border-bottom: 1px solid #dbeafe; }
.sd-col-head.is-demand { background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fed7aa; }
.sd-col-head a { font-size: 12.5px; font-weight: 600; }
.sd-list { list-style: none; margin: 0; padding: 0; }
.sd-item { padding: 13px 16px; border-bottom: 1px solid #f1f5f9; }
.sd-item:last-child { border-bottom: none; }
.sd-item-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.sd-city { font-size: 12.5px; font-weight: 700; color: var(--navy); background: #f1f5f9; padding: 1px 7px; border-radius: 4px; }
.sd-title { font-size: 14.5px; color: var(--navy); }
.sd-item-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: #475569; margin-bottom: 5px; }
.sd-price { color: var(--amber); font-weight: 700; }
.sd-item-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* Full Market Cards */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.market-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.market-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.market-card-title { margin: 0; font-size: 16.5px; color: var(--navy); line-height: 1.4; }
.market-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #f8fafc;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #edf2f7;
}
.market-specs span { display: block; font-size: 11.5px; color: var(--muted); }
.market-specs strong { font-size: 13.5px; color: var(--navy); }
.market-note { margin: 0; font-size: 13.5px; color: #475569; }
.market-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.contact-pill {
  background: #f1f5f9;
  color: var(--navy);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* City Strip */
.city-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.city-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.city-card:hover, .city-card.is-active {
  border-color: var(--amber);
  box-shadow: 0 4px 12px rgba(217, 93, 30, 0.12);
}
.city-card.is-active { background: #fff7ed; }
.city-card-name { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.city-card-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.city-card-row strong { color: var(--navy); }

/* Basis Insight Cards */
.basis-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.insight-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.insight-num { font-size: 24px; font-weight: 800; color: var(--steel); margin-bottom: 8px; }
.insight-card p { margin: 0; font-size: 13.5px; color: #475569; }

/* Editorial News & Articles */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 20px;
  align-items: start;
}
.sidebar-stack { display: flex; flex-direction: column; gap: 20px; }
.article-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.cat-chip {
  background: #eff6ff;
  color: var(--steel);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
.article-card h3 { margin: 0; font-size: 16px; line-height: 1.42; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--amber); }
.article-card p { margin: 0; font-size: 13.5px; color: #475569; line-height: 1.6; }

.compact-list { list-style: none; margin: 0; padding: 0; }
.compact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
}
.compact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rank-num {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.rank-num.is-alt { background: var(--amber); }
.compact-list a { font-weight: 600; color: var(--navy); font-size: 14px; line-height: 1.45; display: block; }
.compact-list a:hover { color: var(--amber); }

/* News Archive Rows */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.news-row:last-child { border-bottom: none; padding-bottom: 0; }
.news-row-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 6px; flex-wrap: wrap; }
.news-row h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; }
.news-row h2 a { color: var(--navy); }
.news-row h2 a:hover { color: var(--amber); }
.news-row p { margin: 0 0 8px; color: #475569; font-size: 14px; }
.news-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-tag { font-size: 12px; color: var(--muted); background: #f1f5f9; padding: 2px 8px; border-radius: 4px; }

.mini-price-list { list-style: none; margin: 0; padding: 0; }
.mini-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}
.mini-price-list li:last-child { border-bottom: none; }
.mini-price-list span { display: block; font-size: 12px; }

.cta-panel { background: linear-gradient(135deg, #0f2537 0%, #1d4e89 100%); color: #fff; border: none; }
.cta-panel h3 { margin: 0 0 8px; font-size: 18px; }
.cta-panel p { margin: 0 0 14px; font-size: 13.5px; color: #dbeafe; }

/* Article Detail */
.article-detail { padding: 28px; }
.article-head h1 { margin: 12px 0 14px; font-size: 26px; line-height: 1.35; color: var(--navy); }
.article-lead {
  background: #f8fafc;
  border-left: 4px solid var(--steel);
  padding: 12px 16px;
  font-size: 14.5px;
  color: #334155;
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
}
.article-body { font-size: 15.5px; line-height: 1.85; color: #1e293b; }
.article-body h2 { font-size: 20px; color: var(--navy); margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 17px; color: var(--steel); margin: 18px 0 8px; }
.article-body p { margin: 0 0 14px; }
.article-body ul { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-disclaimer { margin-top: 12px; font-size: 12.5px; color: var(--muted); background: #f8fafc; padding: 10px 12px; border-radius: 6px; }

/* About & Safety */
.about-content h2 { color: var(--navy); margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 24px; }
.feature-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.feature-box h3 { margin: 0 0 6px; color: var(--steel); font-size: 16px; }
.feature-box p { margin: 0; font-size: 14px; color: #475569; }
.safety-box { background: #fffbeb; border-color: #fde68a; }
.safety-box h3 { margin: 0 0 8px; color: #92400e; }
.safety-box p { margin: 0 0 6px; font-size: 13.5px; color: #78350f; }

/* Pagination & Empty */
.pagination { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 6px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 600; background: #fff;
}
.page-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-box {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 48px 24px; text-align: center; max-width: 600px; margin: 0 auto;
}
.empty-code { font-size: 54px; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.empty-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.empty-inline { grid-column: 1 / -1; text-align: center; padding: 32px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 40px 20px 32px;
}
.footer-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-desc { margin: 0 0 14px; font-size: 13.5px; color: #94a3b8; line-height: 1.7; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tags span {
  font-size: 12px; padding: 2px 9px; border-radius: 4px;
  background: rgba(255,255,255,0.08); color: #e2e8f0;
}
.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: 8px; font-size: 13.5px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fdba74; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  font-size: 12.5px;
  color: #94a3b8;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.beian-wrap a { color: #e2e8f0; font-weight: 600; }
.beian-wrap a:hover { color: #fdba74; }

/* Responsive Breakpoints (Tablet & 375px Mobile Zero Overflow) */
@media (max-width: 1024px) {
  .hero-grid, .two-col-wide, .editorial-grid, .tool-layout { grid-template-columns: 1fr; }
  .city-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .topbar-right { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 37, 55, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 4px;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 10px 12px; }
  .brand-logo img { height: 42px; }
  .site-notice-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-band { padding: 24px 0 28px; }
  .hero-main h1 { font-size: 22px; }
  .hero-search { flex-direction: column; }
  .hero-kpis, .futures-grid, .sd-columns, .market-grid, .article-cards, .basis-cards, .feature-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-3, .form-grid-2, .tool-output { grid-template-columns: 1fr; }
  .market-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 16px; }
  .article-detail { padding: 18px; }
  .article-head h1 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
