/* ==========================================================================
   微米AI / WEIMI.AI — 视觉系统 v2 「Deep Field」
   深色胶片质感 + 大字号 + 玻璃卡片；底图为本地程序化生成的抽象摄影（static/img）。
   约束：不引外部字体/图片/CDN，仅系统字体栈；390px 可用；无 JS 也能读。
   ========================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  /* 底色：深夜机房 */
  --ink: #06070a;
  --ink-2: #0a0c11;
  --ink-3: #0f1218;
  --ink-4: #151922;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.065);
  --card-solid: #101318;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-3: rgba(255, 255, 255, 0.28);

  /* 文字：暖白，正文可读性优先 */
  --text: #f6f4ef;
  --text-2: #d5d7de;
  --muted: #a2a8b6;
  --muted-2: #7f8696;

  /* 强调：信号橙 + 冷蓝 + 青 */
  --accent: #ff6a3d;
  --accent-soft: rgba(255, 106, 61, 0.14);
  --accent-line: rgba(255, 106, 61, 0.38);
  --blue: #7ab6ff;
  --cyan: #6fdcea;
  --violet: #a99bff;

  /* 语义色（中国市场习惯：红涨绿跌） */
  --up: #ff7a5c;
  --down: #4fd6a1;
  --flat: #9aa1b0;
  --ok: #4fd6a1;
  --warn: #ffc663;
  --bad: #ff6b6b;

  /* 字体 */
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", serif;
  --mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;

  /* 尺寸 */
  --w: min(1320px, 100% - 72px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --head-h: 74px;
  color-scheme: dark;

  /* 效果 */
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 30px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --glow: 0 0 60px -12px rgba(255, 106, 61, 0.45);
  --ease: cubic-bezier(0.22, 0.85, 0.24, 1);
}

@media (max-width: 720px) {
  :root { --w: calc(100% - 40px); --head-h: 64px; }
}

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 全站颗粒与顶部环境光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(255, 106, 61, 0.16), transparent 62%),
    radial-gradient(760px 480px at 8% 2%, rgba(95, 150, 255, 0.14), transparent 60%),
    radial-gradient(1200px 700px at 50% 108%, rgba(120, 90, 255, 0.10), transparent 65%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("/static/img/tex-grain.png");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
}
main, .site-head, .site-foot { position: relative; z-index: 2; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(255, 106, 61, 0.34); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--accent);
  color: #1a0a04;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.num, .price, .delta { font-variant-numeric: tabular-nums; }
.wrap { width: var(--w); margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* ---------- 2. 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-badge {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #ff8a55, #c53d13 62%, #7a1f08);
  box-shadow: 0 6px 22px -8px rgba(255, 106, 61, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #170703;
}
.brand-badge svg, .brand-badge img { width: 21px; height: 21px; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
}
.brand-name .ai { color: var(--accent); }
.brand-tail {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 10px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 18px; height: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 106, 61, 0.9);
}
.head-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  padding-left: 20px;
  border-left: 1px solid var(--line);
  flex: none;
}
.live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(79, 214, 161, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 214, 161, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(79, 214, 161, 0.05); }
}

@media (max-width: 1180px) {
  .head-meta { display: none; }
}
@media (max-width: 980px) {
  .site-head-inner { gap: 14px; }
  .nav {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 2px;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .site-head-inner {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 0 8px;
    row-gap: 6px;
  }
  .nav-link { padding: 7px 12px; font-size: 14.5px; }
  .nav-link[aria-current="page"]::after { bottom: 0; }
}

/* ---------- 3. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(180deg, #ff8459, var(--accent) 72%);
  border-color: transparent;
  color: #1b0803;
  font-weight: 700;
  box-shadow: 0 14px 34px -16px rgba(255, 106, 61, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover { background: linear-gradient(180deg, #ff956e, #ff7a4c 72%); box-shadow: 0 18px 40px -14px rgba(255, 106, 61, 1); }
.btn--sm { padding: 9px 18px; font-size: 14.5px; }
.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- 4. 首页首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/static/img/hero-mesh.jpg") center / cover no-repeat;
  opacity: 0.95;
  animation: heroDrift 34s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2.2%, -1.4%, 0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 7, 10, 0.96) 0%, rgba(6, 7, 10, 0.84) 40%, rgba(6, 7, 10, 0.30) 68%, rgba(6, 7, 10, 0.55) 100%),
    linear-gradient(to top, var(--ink) 2%, transparent 46%),
    radial-gradient(680px 320px at 86% 18%, rgba(255, 106, 61, 0.16), transparent 62%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: end;
  padding: 76px 0 58px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 15px 7px 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  color: var(--text-2);
}
.hero-eyebrow b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #1a0803;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-weight: 700;
}
.hero-title {
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hero-lede {
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 33em;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-hint { font-size: 13.5px; color: var(--muted-2); margin-left: 4px; }

/* 首屏数据卡 */
.snap {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 58%);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.snap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 100% 0%, rgba(255, 106, 61, 0.2), transparent 70%);
  pointer-events: none;
}
.snap-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.snap-head b { color: var(--text); font-weight: 600; letter-spacing: 0.1em; font-size: 12px; }
.snap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.snap-item {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.snap-item:nth-child(2n) { border-right: 0; }
.snap-item:nth-last-child(-n + 2) { border-bottom: 0; }
.snap-k { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.snap-v {
  font-family: var(--mono);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.snap-v small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.snap-foot {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--mono);
}
.snap-foot a { color: var(--text-2); border-bottom: 1px solid var(--accent-line); }
.snap-foot a:hover { color: var(--accent); }

/* 首屏下方行情跑马灯 */
.ticker {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 106, 61, 0.07), rgba(10, 12, 17, 0.4) 40%);
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
}
.ticker-label {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding-right: 20px;
  margin-right: 4px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.ticker-view { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 90%, transparent 100%); }
.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tick { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; font-size: 14px; }
.tick-name { color: var(--text-2); }
.tick-px { font-family: var(--mono); font-weight: 600; color: #fff; }
.tick-chg {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 48px; }
  .snap { max-width: 560px; }
}
@media (max-width: 620px) {
  .hero-inner { padding: 44px 0 36px; }
  .hero-lede { font-size: 16.5px; }
  .ticker-label { display: none; }
  .snap-item { padding: 16px 18px; }
}

/* ---------- 5. 分区 ---------- */
.section { padding: 68px 0; }
.section--tight { padding: 52px 0; }
.section-line {
  border-top: 1px solid var(--line);
  position: relative;
}
.section-line::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 120px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.sec-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.sec-num::after {
  content: "";
  width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--accent-line), transparent);
}
.sec-title { font-size: clamp(27px, 3.1vw, 42px); }
.sec-desc {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 44em;
}
.sec-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px;
  color: var(--text-2);
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.sec-more:hover { color: #fff; border-color: var(--accent-line); background: var(--accent-soft); transform: translateX(2px); }
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .sec-desc { font-size: 15px; }
}

/* ---------- 6. 卡片 ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 60%);
  box-shadow: var(--shadow-1);
}
.card-pad { padding: 24px; }
.card-link { display: block; transition: transform 0.24s var(--ease), border-color 0.24s, box-shadow 0.24s, background 0.24s; }
.card-link:hover {
  transform: translateY(-4px);
  border-color: var(--line-3);
  box-shadow: 0 26px 50px -30px #000, 0 0 0 1px rgba(255, 106, 61, 0.22);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 60%);
}

/* ---------- 7. 行情卡片 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.pcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px 16px;
  min-height: 100%;
}
.pcard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pcard-name { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--text); }
.pcard-code {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.pcard-px {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 2px;
}
.pcard-px small { font-size: 13.5px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.pcard-range {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.pcard-bar {
  position: relative;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0 4px;
}
.pcard-bar i {
  position: absolute; inset: 0 auto 0 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
@media (max-width: 1180px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) {
  .price-grid { grid-template-columns: 1fr; }
  .pcard { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; }
  .pcard-head { flex: 1 1 55%; }
  .pcard-px { font-size: 26px; }
}

/* 涨跌 */
.delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  line-height: 1.3;
  white-space: nowrap;
}
.delta--up { color: var(--up); background: rgba(255, 122, 92, 0.13); }
.delta--down { color: var(--down); background: rgba(79, 214, 161, 0.13); }
.delta--flat { color: var(--flat); background: rgba(255, 255, 255, 0.07); }

/* ---------- 8. 双栏列表 ---------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 980px) { .dual { grid-template-columns: 1fr; gap: 44px; } }

.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  transition: background 0.18s, padding 0.18s;
  border-radius: 10px;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(255, 255, 255, 0.035); padding-inline: 12px; }
.row-rank {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  width: 22px;
  flex: none;
}
.row-lead { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-name { font-size: 16.5px; font-weight: 500; line-height: 1.5; }
.row-sub {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  font-size: 13px; color: var(--muted-2); margin-top: 3px;
}
.row-val { text-align: right; font-family: var(--mono); white-space: nowrap; }
.row-val b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.row-val small { display: block; font-size: 12.5px; color: var(--muted-2); font-weight: 400; }
.row-val--na { color: var(--muted-2); font-size: 14px; font-family: var(--sans); }
.row-arrow { color: var(--muted-2); transition: transform 0.2s var(--ease), color 0.2s; }
.row:hover .row-arrow { color: var(--accent); transform: translateX(3px); }

.avatar {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: #0c1017;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 16px -10px #000;
}
.avatar--a { background: linear-gradient(145deg, #9fd7ff, #4d8fd6); }
.avatar--b { background: linear-gradient(145deg, #ffc79a, #e0682f); }
.avatar--c { background: linear-gradient(145deg, #a7f0d5, #3fae86); }
.avatar--d { background: linear-gradient(145deg, #d9c9ff, #8f79e0); }
.avatar--e { background: linear-gradient(145deg, #ffd5e2, #d6718f); }
.avatar--f { background: linear-gradient(145deg, #d8e3ef, #8fa2b8); }

/* ---------- 9. 资讯列表 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 44px; } }

.stories { display: flex; flex-direction: column; }
.story { border-top: 1px solid var(--line); padding: 22px 0; }
.story:first-child { border-top: 0; padding-top: 0; }
.story-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 26px;
}
.story-lead-thumb {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0e14;
}
.story-lead-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(1.08) contrast(1.04); }
.story-lead-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.85), transparent 55%);
}
.story-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.story-date { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; }
.story-title { font-size: 21px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.story-lead .story-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.34; }
a.story-title:hover, .story-lead a:hover .story-title { color: var(--accent); }
.story-title a { transition: color 0.18s; }
.story-summary {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-foot { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
  white-space: nowrap;
}
.tag--price { color: #ffc59a; border-color: rgba(255, 165, 100, 0.34); background: rgba(255, 140, 60, 0.12); }
.tag--policy { color: #a9c8ff; border-color: rgba(120, 170, 255, 0.32); background: rgba(80, 130, 255, 0.12); }
.tag--supply { color: #ffd58a; border-color: rgba(255, 200, 110, 0.32); background: rgba(255, 190, 80, 0.1); }
.tag--product { color: #c7b7ff; border-color: rgba(170, 145, 255, 0.32); background: rgba(140, 110, 255, 0.12); }
.tag--trade { color: #8fe6ff; border-color: rgba(110, 210, 240, 0.3); background: rgba(80, 190, 230, 0.1); }
.tag--official { color: #9ff0cf; border-color: rgba(90, 220, 175, 0.3); background: rgba(60, 200, 160, 0.1); }
.tag--hot {
  color: #1a0703; font-weight: 700;
  background: linear-gradient(180deg, #ff9a6e, var(--accent));
  border-color: transparent;
}
.tag--rumor { color: #ffb3b3; border-color: rgba(255, 120, 120, 0.3); background: rgba(255, 90, 90, 0.1); }
.tag--open { color: #9ff0cf; border-color: rgba(90, 220, 175, 0.3); background: rgba(60, 200, 160, 0.1); }
.tag--eol, .tag--muted { color: var(--muted); }

/* ---------- 10. 侧栏（首页） ---------- */
.side-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.side-head h2 { font-size: 22px; }
.policy-mini { display: flex; flex-direction: column; }
.pm-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pm-item:last-child { border-bottom: 0; }
.pm-date { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 3px; white-space: nowrap; }
.pm-title { font-size: 15.5px; line-height: 1.6; color: var(--text-2); transition: color 0.18s; }
.pm-item:hover .pm-title { color: var(--accent); }
.pm-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }

/* ---------- 11. 全幅视觉带 ---------- */
.feature {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  isolation: isolate;
}
.feature-media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.feature-media--rack { background-image: url("/static/img/band-rack.jpg"); }
.feature-media--chip { background-image: url("/static/img/band-chip.jpg"); }
.feature-media--wafer { background-image: url("/static/img/band-wafer.jpg"); }
.feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 7, 10, 0.96) 8%, rgba(6, 7, 10, 0.78) 46%, rgba(6, 7, 10, 0.5) 100%),
    radial-gradient(700px 400px at 82% 18%, rgba(255, 106, 61, 0.2), transparent 65%);
}
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0;
}
.feature-title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; }
.feature-lede { margin-top: 18px; font-size: 16.5px; line-height: 1.85; color: var(--text-2); max-width: 34em; }
.feature-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
}
.fstat { background: rgba(10, 12, 17, 0.72); padding: 22px 18px; backdrop-filter: blur(6px); }
.fstat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fstat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.brandcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.bchip:hover { color: #fff; border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-2px); }
.bchip em { font-family: var(--mono); font-size: 12px; color: var(--muted-2); font-style: normal; }
@media (max-width: 980px) {
  .feature-inner { grid-template-columns: 1fr; gap: 30px; padding: 56px 0; }
}
@media (max-width: 520px) { .feature-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- 12. 方法论条 ---------- */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-item { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.method-conf { display: flex; align-items: center; gap: 10px; }
.conf {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  border: 1px solid var(--line-2);
}
.conf--a { color: #9ff0cf; background: rgba(60, 200, 160, 0.14); border-color: rgba(90, 220, 175, 0.32); }
.conf--b { color: #ffd58a; background: rgba(255, 190, 80, 0.12); border-color: rgba(255, 200, 110, 0.3); }
.conf--c { color: #ffb3b3; background: rgba(255, 90, 90, 0.12); border-color: rgba(255, 120, 120, 0.3); }
.method-item h3 { font-size: 18px; font-family: var(--sans); font-weight: 600; }
.method-item p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.method-foot {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted-2);
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
}
@media (max-width: 860px) { .method { grid-template-columns: 1fr; } }

/* ---------- 13. 内页头 ---------- */
.page-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 340px at 88% -10%, rgba(255, 106, 61, 0.18), transparent 64%),
    radial-gradient(560px 320px at 4% 0%, rgba(90, 150, 255, 0.14), transparent 62%);
}
.ph-inner { padding: 56px 0 44px; }
.ph-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.ph-kicker .slash { color: var(--muted-2); }
.ph-title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -0.025em; }
.ph-lede {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 62em;
}
.ph-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.ph-figures {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  flex: none;
}
.fig { background: rgba(12, 15, 21, 0.9); padding: 16px 20px; min-width: 96px; }
.fig-k { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; white-space: nowrap; }
.fig-v {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
@media (max-width: 980px) {
  .ph-row { grid-template-columns: 1fr; gap: 26px; }
  .ph-figures { flex-wrap: wrap; }
  .fig { flex: 1 1 40%; }
  .ph-inner { padding: 40px 0 32px; }
}

/* ---------- 14. 筛选 ---------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14.5px;
  color: var(--text-2);
  transition: all 0.18s var(--ease);
  white-space: nowrap;
}
.chip span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
}
.chip:hover { border-color: var(--line-3); color: #fff; background: rgba(255, 255, 255, 0.08); }
.chip--active, .chip.is-on {
  color: #1a0803;
  background: linear-gradient(180deg, #ff9469, var(--accent));
  border-color: transparent;
  font-weight: 600;
}
.chip--active span, .chip.is-on span { color: rgba(26, 8, 3, 0.72); background: rgba(255, 255, 255, 0.28); }

.filter-form, .search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
input[type="search"], input[type="text"], input[type="number"], input[type="date"], select, textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  min-height: 44px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  max-width: 100%;
}
input::placeholder { color: var(--muted-2); }
input[type="search"]:focus, input[type="text"]:focus, input[type="number"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.16);
}
select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a2a8b6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
input[type="search"], .search input[type="search"] { flex: 1 1 260px; min-width: 0; }
.search .btn { flex: none; }
.filter-reset { font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--line-3); padding-bottom: 1px; }
.filter-reset:hover { color: var(--accent); border-color: var(--accent-line); }
.check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--text-2);
}
.check input {
  appearance: none;
  width: 20px; height: 20px;
  min-height: 0;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--line-3);
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  cursor: pointer;
}
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after {
  content: "";
  width: 5px; height: 9px;
  border: 2px solid #200a03;
  border-top: 0; border-left: 0;
  transform: rotate(45deg) translateY(-1px);
}

/* ---------- 15. 表格 ---------- */
.tablecard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  font-size: 15px;
  min-width: 640px;
}
table.data thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #12151c;
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
table.data tbody td, table.data tbody th {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
  font-weight: 400;
}
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s; }
table.data tbody tr[data-href] { cursor: pointer; }
table.data tbody tr:hover { background: rgba(255, 255, 255, 0.045); }
table.data th[scope="row"] { font-weight: 500; }
table.data .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data thead th.num { text-align: right; }
.cell-main { display: block; font-size: 15.5px; font-weight: 500; color: var(--text); line-height: 1.5; }
.cell-main a:hover { color: var(--accent); }
.cell-sub { display: block; margin-top: 3px; font-size: 13px; color: var(--muted-2); }
.cell-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.price-cell strong, .strong { font-family: var(--mono); font-weight: 600; color: #fff; font-size: 15.5px; }
.dim { color: var(--muted); font-size: 13.5px; }
.na { color: var(--muted-2); font-size: 13.5px; }
.mini-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(122, 182, 255, 0.14);
  color: var(--blue);
  font-size: 11.5px;
  font-family: var(--mono);
  vertical-align: 1px;
}
.t-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 26px;
  padding: 16px 4px 0;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.75;
}
.t-foot p { max-width: 60em; }
.t-foot a { color: var(--text-2); border-bottom: 1px solid var(--line-3); }
.t-foot a:hover { color: var(--accent); }
@media (max-width: 720px) {
  table.data { font-size: 14.5px; }
  table.data thead th, table.data tbody td, table.data tbody th { padding: 13px 12px; }
}

/* 对华状态 */
.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--allowed { color: #9ff0cf; border-color: rgba(90, 220, 175, 0.3); background: rgba(60, 200, 160, 0.1); }
.st--restricted { color: #ffd58a; border-color: rgba(255, 200, 110, 0.3); background: rgba(255, 190, 80, 0.1); }
.st--banned { color: #ffb3b3; border-color: rgba(255, 120, 120, 0.3); background: rgba(255, 90, 90, 0.1); }
.st--unknown { color: var(--muted); }

.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.legend > div { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.025); }
.legend p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }
@media (max-width: 860px) { .legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }

/* ---------- 16. 资讯大列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 26px 6px;
  border-top: 1px solid var(--line);
  transition: background 0.18s, padding 0.18s;
  border-radius: 12px;
}
.news-row:first-child { border-top: 0; }
.news-row:hover { background: rgba(255, 255, 255, 0.04); padding-inline: 16px; }
.news-date { font-family: var(--mono); font-size: 13px; color: var(--muted-2); padding-top: 4px; line-height: 1.7; }
.news-body h2 { font-size: 22px; line-height: 1.42; font-weight: 600; letter-spacing: -0.01em; }
.news-body h2 a { transition: color 0.18s; }
.news-row:hover .news-body h2 a { color: var(--accent); }
.news-row:hover .news-body h2 { color: var(--accent); }
.news-body p { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.news-arrow { color: var(--muted-2); padding-top: 6px; transition: transform 0.2s var(--ease), color 0.2s; }
.news-row:hover .news-arrow { color: var(--accent); transform: translate(3px, -3px); }
@media (max-width: 760px) {
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; }
  .news-date { padding-top: 0; }
  .news-body h2 { font-size: 19.5px; }
  .news-arrow { display: none; }
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.pager a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 14.5px;
  transition: all 0.18s var(--ease);
}
.pager a:hover { border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-1px); }
.pager-off { color: var(--muted-2); font-size: 14.5px; padding: 10px 20px; }
.pager-count { font-family: var(--mono); font-size: 13px; color: var(--muted-2); letter-spacing: 0.04em; }

/* ---------- 17. 文章页 ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 26px 0 0;
  font-size: 13.5px;
  color: var(--muted-2);
}
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--accent); }
.crumb span { color: var(--muted-2); }

.art-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.art-title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.22; letter-spacing: -0.025em; }
.art-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.art-meta b { font-weight: 500; color: var(--text-2); }

.art-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding: 40px 0 64px;
}
.art-body { max-width: 40em; }
.lede {
  font-size: 19px;
  line-height: 1.9;
  color: var(--text);
  font-family: var(--serif);
}
.note {
  display: flex; gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--accent-line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.impact-panel { margin-top: 30px; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.impact-cell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
}
.impact-cell h3 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; color: var(--muted); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; }
.impact-cell p { font-size: 15px; line-height: 1.8; color: var(--text-2); }
.impact-cell--favorable { border-color: rgba(90, 220, 175, 0.28); background: rgba(60, 200, 160, 0.07); }
.impact-cell--adverse { border-color: rgba(255, 120, 120, 0.28); background: rgba(255, 90, 90, 0.07); }
.impact-cell--neutral, .impact-cell--unclear { border-color: var(--line-2); }

.art-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--head-h) + 20px); }
.kv { display: flex; flex-direction: column; }
.kv-row {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.kv-row:last-child { border-bottom: 0; }
.kv-row dt, .kv-k { color: var(--muted); }
.kv-row dd, .kv-v { margin: 0; color: var(--text-2); word-break: break-word; }

.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 20px;
}
.side-card h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.side-empty { font-size: 13.5px; color: var(--muted-2); padding: 10px 0; }

.source-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 14.5px;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.source-link:hover { border-color: var(--accent-line); color: #fff; background: var(--accent-soft); }
@media (max-width: 980px) {
  .art-grid { grid-template-columns: 1fr; gap: 34px; padding: 30px 0 48px; }
  .art-side { position: static; }
}

.related { border-top: 1px solid var(--line); padding: 48px 0 72px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.related-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.related-card h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 500; line-height: 1.55; }
.related-card time { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- 18. 详情页（型号 / 平台 / 模型） ---------- */
.detail-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.detail-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url("/static/img/band-wafer.jpg") center / cover no-repeat;
  opacity: 0.5;
}
.detail-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 7, 10, 0.97) 10%, rgba(6, 7, 10, 0.86) 52%, rgba(6, 7, 10, 0.55) 100%),
    radial-gradient(600px 300px at 90% 0%, rgba(255, 106, 61, 0.18), transparent 65%);
}
.dh-inner { padding: 40px 0 44px; }
.dh-title {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 14px;
}
.dh-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dh-note { margin-top: 16px; font-size: 15.5px; line-height: 1.8; color: var(--text-2); max-width: 52em; }
.dh-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 30px;
}
.dh-fig { background: rgba(10, 12, 17, 0.82); padding: 20px; }
.dh-fig span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.dh-fig b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.dh-fig small { font-size: 13px; color: var(--muted); font-family: var(--sans); letter-spacing: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  padding: 44px 0 72px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0.01em; }
.panel-body { padding: 22px; }
.sub-head {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 12px;
}
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.spec-row {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; color: var(--text); font-family: var(--mono); }
.status-callout {
  display: flex; gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  line-height: 1.8;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
}
.status-callout--allowed { border-color: rgba(90, 220, 175, 0.28); background: rgba(60, 200, 160, 0.07); }
.status-callout--restricted { border-color: rgba(255, 200, 110, 0.28); background: rgba(255, 190, 80, 0.07); }
.status-callout--banned { border-color: rgba(255, 120, 120, 0.28); background: rgba(255, 90, 90, 0.07); }

.mini-price-list, .mini-news, .retail-list { display: flex; flex-direction: column; }
.mini-price, .mini-news-item, .retail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.mini-price:last-child, .mini-news-item:last-child, .retail-row:last-child { border-bottom: 0; }
.mini-k { color: var(--text-2); }
.mini-k small { display: block; color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.mini-v { font-family: var(--mono); color: #fff; text-align: right; white-space: nowrap; }
.mini-v small { display: block; color: var(--muted-2); font-size: 12px; font-weight: 400; }
.retail-row span:first-child { color: var(--muted); }
.retail-row b { font-family: var(--mono); font-weight: 600; color: #fff; }

.service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ext-link { color: var(--blue); border-bottom: 1px solid rgba(122, 182, 255, 0.35); font-size: 14px; }
.ext-link:hover { color: #fff; border-color: #fff; }

/* ---------- 19. 图表 ---------- */
.chart-card { border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.03); padding: 22px; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.chart-head h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.chart-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chart-wrap { width: 100%; overflow: hidden; }
.chart { width: 100%; height: auto; display: block; }
.chart-grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.chart-axis { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.chart-label { fill: var(--muted-2); font-family: var(--mono); font-size: 11px; }
.chart-area { fill: rgba(255, 106, 61, 0.12); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: var(--accent); opacity: 0.55; }
.chart-dot--last { fill: #fff; stroke: var(--accent); stroke-width: 2.5; opacity: 1; }
.chart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.chart-empty {
  padding: 42px 20px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
}
.chart-empty a { color: var(--text-2); border-bottom: 1px dashed var(--line-3); }

/* 价差条 */
.spread-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 0; font-size: 14px; }
.spread-name { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spread-line { position: relative; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.spread-line i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.spread-meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 720px) {
  .spread-row { grid-template-columns: 1fr auto; }
  .spread-line { grid-column: 1 / -1; }
}

/* ---------- 20. 政策时间线 ---------- */
.policy-counts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.timeline { margin-top: 8px; }
.tl-year {
  display: flex; align-items: center; gap: 16px;
  margin: 44px 0 6px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.tl-year::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.tl-year:first-child { margin-top: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tl-item:first-of-type { border-top: 0; }
.tl-date { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 4px; }
.tl-body h3 { font-family: var(--sans); font-size: 17.5px; font-weight: 600; line-height: 1.55; }
.tl-body p { margin-top: 7px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; align-items: center; }
.tl-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 9px; font-size: 13px; color: var(--muted-2); }
.tl-item--rumor { opacity: 0.92; }
.tl-item--rumor .tl-body h3 { color: var(--text-2); }
.tl-item:target { background: rgba(255, 106, 61, 0.08); box-shadow: 0 0 0 1px var(--accent-line); border-radius: var(--r-sm); }
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 21. 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 52px; padding: 48px 0 80px; align-items: start; }
.about-main h2 { font-size: 26px; margin: 40px 0 16px; }
.about-main h2:first-child { margin-top: 0; }
.about-list { display: flex; flex-direction: column; }
.about-list li {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.8;
}
.about-list b { color: var(--text); font-weight: 600; }
.about-list span { color: var(--muted); }
.gap-list li {
  display: flex; gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.gap-list li::before { content: "—"; color: var(--accent); flex: none; }
.about-prose p { margin-bottom: 14px; font-size: 16px; line-height: 1.9; color: var(--text-2); }
.about-side { display: flex; flex-direction: column; gap: 18px; }
.source-list { display: flex; flex-direction: column; }
.source-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.source-item:last-child { border-bottom: 0; }
.source-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.source-name { font-size: 15px; color: var(--text); }
.src-status {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.src-status--ok { color: #9ff0cf; border-color: rgba(90, 220, 175, 0.3); background: rgba(60, 200, 160, 0.1); }
.src-status--error { color: #ffb3b3; border-color: rgba(255, 120, 120, 0.3); background: rgba(255, 90, 90, 0.1); }
.source-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }
.source-url { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); word-break: break-all; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- 22. 后台 ---------- */
.admin-table input[type="text"], .admin-table input[type="number"], .admin-table input[type="date"], .admin-table select {
  width: 100%;
  padding: 8px 10px;
  min-height: 38px;
  font-family: var(--mono);
  font-size: 14px;
}
.admin-table input.admin-flag { width: 18px; height: 18px; min-height: 0; padding: 0; }
.admin-model { min-width: 200px; }
.admin-actions { white-space: nowrap; }
.admin-row--focus { background: rgba(255, 106, 61, 0.09); box-shadow: inset 3px 0 0 var(--accent); }
.flash {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(90, 220, 175, 0.3);
  background: rgba(60, 200, 160, 0.09);
  color: #b9f5de;
  font-size: 15px;
}
.flash--warn { border-color: rgba(255, 200, 110, 0.3); background: rgba(255, 190, 80, 0.09); color: #ffe0ae; }
.admin-note {
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.admin-note code, .mono-tag {
  font-family: var(--mono);
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
}
.btn--undo {
  background: transparent;
  border-color: var(--line-2);
  color: var(--muted);
  padding: 7px 14px;
  font-size: 13.5px;
}
.btn--undo:hover { color: var(--text); border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }

/* ---------- 23. 空态 / 404 ---------- */
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.empty--box {
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
}
.nf {
  padding: 90px 0 120px;
  max-width: 44em;
}
.nf h1 { font-size: clamp(40px, 5vw, 72px); }
.nf-lede { margin-top: 20px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.nf-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 24. 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 60%);
  margin-top: 8px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 62px 0 42px;
}
.foot-brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.foot-brand-name span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted-2); display: block; margin-top: 6px; }
.foot-brand-name .ai { display: inline; margin-top: 0; font-family: var(--serif); font-size: inherit; letter-spacing: inherit; color: var(--accent); }
.foot-brand p { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 32em; }
.foot-col h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 14px;
}
.foot-col li { padding: 5px 0; font-size: 14.5px; color: var(--muted); }
.foot-col a:hover { color: var(--accent); }
.foot-col .mono { font-size: 13px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--mono);
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 44px 0 32px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- 25. 通用工具类 ---------- */
.section-note { font-size: 13.5px; color: var(--muted-2); margin-top: 14px; line-height: 1.8; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.small-b { font-weight: 600; color: var(--text); }

/* ---------- 26. 动效 / 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media, .ticker-track, .live { animation: none !important; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .ticker, .hero-media { display: none; }
}

/* ---------- 27. 影响判读标签（_macros.impact） ---------- */
.impact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.impact--favorable { color: #9ff0cf; border-color: rgba(90, 220, 175, 0.3); background: rgba(60, 200, 160, 0.1); }
.impact--adverse { color: #ffb3b3; border-color: rgba(255, 120, 120, 0.3); background: rgba(255, 90, 90, 0.1); }
.impact--neutral, .impact--unclear { color: var(--muted); }

/* ---------- 28. 补充组件 ---------- */
.tag--other { color: var(--muted); }
.tag--status { color: var(--muted); }
.legend .tag { margin-bottom: 2px; }
.article-models { margin-top: 28px; }
.article-models h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.chart-svg { width: 100%; height: auto; }
.summary-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.sc-name { font-size: 14.5px; color: var(--text-2); }
.sc-price { font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.src-short { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }
.rowgroup-title td { background: rgba(255, 255, 255, 0.03); font-weight: 600; }
.mono-tag { font-family: var(--mono); font-size: 13px; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--text-2); }
.edit-link { font-size: 13.5px; color: var(--blue); border-bottom: 1px solid rgba(122, 182, 255, 0.35); }

/* ---------- 29. 后台表格细节 ---------- */
.admin-table { min-width: 1080px; }
.admin-table select { min-width: 86px; }
.admin-table td { vertical-align: middle; }
.admin-table input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--line-3);
  background: rgba(255, 255, 255, 0.08);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.admin-table input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.admin-table input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: 2px solid #200a03;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translateY(-1px);
}
.admin-table input[type="date"] { min-width: 158px; }

/* ---------- 31. 表格细节修正 ---------- */
/* 表头里的单位说明不要被 uppercase / 字距带偏 */
table.data th .dim {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11.5px;
  font-weight: 400;
}
/* 价格明细表：来源与徽章同一行，避免每行被撑高一倍 */
.price-table td .cell-tags {
  display: inline-flex;
  margin-left: 8px;
  vertical-align: middle;
  gap: 6px;
}
.price-table td > .cell-tags .mini-tag { margin-left: 0; }
.price-table td .conf { margin-left: 0; }

/* ---------- 32. 详情页收尾修正 ---------- */
/* 大数字后面的单位另起一行，避免和 30px 数字挤在一起 */
.dh-fig small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  font-family: var(--sans);
  letter-spacing: 0;
}
@media (max-width: 860px) {
  .dh-figures { grid-template-columns: 1fr 1fr; }
  .dh-fig { padding: 16px; }
}
@media (max-width: 420px) {
  .dh-figures { grid-template-columns: 1fr 1fr; }
  .dh-fig b { font-size: 22px; }
}
/* panel 里再嵌 chart-card / 表格时不要出现双层卡片边框 */
.panel .chart-card {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.panel .chart-card + .chart-card { margin-top: 30px; }
.panel table.data {
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.retail-row > .dim,
.retail-row > .mono {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-2);
  text-align: right;
}
.related-card .story-meta { margin-bottom: 8px; }
.related-card .dim { margin-top: 6px; font-size: 12.5px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }

/* 详情页两栏在窄屏必须堆叠，否则左栏会被 340px 侧栏挤到 0 宽 */
@media (max-width: 980px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 32px 0 52px;
  }
  .detail-grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  .detail-grid > aside > .side-card { margin-top: 0; min-width: 0; }
}
@media (max-width: 640px) {
  .detail-grid > aside { grid-template-columns: 1fr; }
}

/* 规格表在窄屏必须单列，否则 dt/dd 两栏把数值挤成三行 */
@media (max-width: 720px) {
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; }
  .status-callout { flex-wrap: wrap; }
}

/* 窄屏表格横向滚动时给一点边缘提示 */
@media (max-width: 720px) {
  .table-scroll {
    box-shadow: inset -16px 0 16px -16px rgba(0, 0, 0, 0.85);
  }
  .table-scroll::after {
    content: "左右滑动看全部列";
    display: block;
    padding: 8px 2px 0;
    font-size: 12px;
    color: var(--muted-2);
    font-family: var(--mono);
    letter-spacing: 0.04em;
  }
}
/* ---------- 33. Token市场 模型图标 ---------- */
/* 统一成浅底圆角方块：官方 logo 直接放，缺图标的用两字缩写，二者同一套外观 */
.tmark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #f4f5f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.45);
  color: #15171c;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.tmark img {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}
.tmark--sm { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; }
.tmark--lg { width: 50px; height: 50px; border-radius: 14px; font-size: 15px; }
.tmark--lg img { width: 70%; height: 70%; }
.tmark--sm img { width: 66%; height: 66%; }

.with-mark { display: flex; align-items: center; gap: 12px; }
.cell-stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.dh-title-row { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.dh-title-row .dh-title { margin: 0; }
@media (max-width: 720px) {
  .tmark { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
  .tmark--lg { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
  .dh-title-row { gap: 12px; }
}

/* 窄屏：表格首列（模型名）给足宽度，避免名字被拆成多行 */
@media (max-width: 720px) {
  table.data th[scope="row"] { min-width: 176px; }
  table.data th[scope="row"] .cell-sub { max-width: 168px; }
}

/* ---------- 34. Token 市场：价格主栏 + 右侧调用量 ---------- */
.mkt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 40px;
  align-items: start;
}
.mkt-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.mkt-rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--head-h) + 22px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.rail-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.rail-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
}
.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rail-row {
  display: grid;
  grid-template-columns: 18px 24px minmax(0, 1fr) auto;
  column-gap: 9px;
  align-items: center;
  padding: 7px 6px;
  border-radius: 8px;
  transition: background 0.16s var(--ease);
}
.rail-row:hover { background: rgba(255, 255, 255, 0.04); }
.rail-rk {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  text-align: right;
}
.rail-row .tmark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.rail-row .tmark img { width: 15px; height: 15px; }
.rail-row .tmark > span { font-size: 10px; }
.rail-body { min-width: 0; }
.rail-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-bar {
  display: block;
  margin-top: 4px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.rail-bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-line), var(--accent));
}
.rail-num { text-align: right; }
.rail-num b {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.rail-num .chg { margin-top: 2px; }
.rail-note,
.rail-sum {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 14px 15px;
}
.rail-note h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.rail-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.rail-src {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.6;
}
.rail-sum { display: flex; flex-direction: column; gap: 7px; }
.rail-sum div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.rail-sum b {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.mkt-meta {
  margin: 0 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.mkt .sec-more--flat {
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.mkt .sec-more--flat:hover {
  transform: none;
  background: none;
  border: 0;
  color: var(--muted);
}
.mkt-main .data { table-layout: fixed; }
.mkt-main .data thead th:nth-child(1) { width: 33%; }
.mkt-main .data thead th:nth-child(2) { width: 18%; }
.mkt-main .data thead th:nth-child(3) { width: 14%; }
.mkt-main .data thead th:nth-child(4) { width: 9%; }
.mkt-main .data thead th:nth-child(5) { width: 13%; }
.mkt-main .data thead th:nth-child(6) { width: 13%; }
.mkt-main .data th[scope="row"] .cell-main { display: inline; }
.mkt-main .data thead th { white-space: normal; }
.mkt-main .data thead th .dim { max-width: 100%; }
.mkt-main .data .cell-stack { min-width: 0; }
.mkt .tablecard { margin-top: 14px; }
.mkt .data th, .mkt .data td { padding-left: 13px; padding-right: 13px; }

@media (max-width: 1100px) {
  .mkt { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mkt-main { grid-column: 1; grid-row: auto; }
  .mkt-rail { grid-column: 1; grid-row: auto; position: static; }
  .rail-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .mkt .tablecard { margin-top: 12px; }
}
@media (max-width: 720px) {
  .rail-list { grid-template-columns: minmax(0, 1fr); }
  .rail-row { padding: 7px 2px; }
}

/* ---------- 35. 用途筛选条（Token 市场） ---------- */
.chips-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}
.chips-row:first-of-type { margin-top: 0; }
.chips-row .chips { margin-top: 0; }
.chips-k {
  flex: 0 0 auto;
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sec-head--bare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.sec-head--bare .sec-num { margin: 0; }
.sec-head--bare .sec-more { margin: 0; }

@media (max-width: 720px) {
  .chips-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .sec-head--bare { gap: 12px; }
  .sec-head--bare .sec-more { flex: 0 1 auto; padding: 7px 12px; font-size: 12.5px; }
}

/* 窄屏：厂商/用途筛选改成横向滑动的一条，避免堆出一屏 */
@media (max-width: 720px) {
  .chips {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; font-size: 13.5px; padding: 7px 12px; }
  .chip span { font-size: 11.5px; }
}
/* 筛选锚点：跳回价格区时避开吸顶导航 */

/* 仅供屏幕阅读器的标题 */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 没有 hero 的页面收紧顶部留白 */
.section--tight { padding-top: 40px; }

/* 仅供屏幕阅读器的标题 */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Token 市场没有 hero，顶部留白收紧 */
.section--tight { padding-top: 40px; }

/* rail 细调：整列 sticky、矮屏可滚、汇总并进说明卡 */
.mkt-rail .rail-pin { position: static; }
.mkt-rail {
  position: sticky;
  top: calc(var(--head-h) + 22px);
  align-self: start;
  max-height: calc(100vh - var(--head-h) - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.mkt-rail .rail-row {
  grid-template-columns: 18px 24px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 5px 0;
}
.mkt-rail .rail-row .tmark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 10px;
}
.mkt-rail .rail-row .tmark img { width: 17px; height: 17px; }
.mkt-rail .rail-name { font-size: 13.5px; }
.mkt-rail .rail-num b { font-size: 12.5px; line-height: 1.25; }
.mkt-rail .rail-num .chg {
  padding: 0 5px;
  font-size: 10.5px;
  line-height: 1.55;
  border-radius: 5px;
}
.mkt-rail .rail-bar { margin-top: 4px; }
.mkt-rail .rail-note { padding: 13px 14px; }
.mkt-rail .rail-note p { font-size: 12px; line-height: 1.7; }
.mkt-rail .rail-head { padding-bottom: 9px; }
.mkt-rail .rail-facts {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}
.mkt-rail .rail-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.mkt-rail .rail-facts dt {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.mkt-rail .rail-facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 单列时仍先看调用量榜（10 行），否则它会被 159 行表格压到页尾 */
@media (max-width: 1100px) {
  .mkt-main { order: 2; }
  .mkt-rail { order: 1; max-height: none; overflow: visible; position: static; }
}

/* ---------- 38. Agent 应用目录 ---------- */
.mt-3 { margin-top: 22px; }
.mt-4 { margin-top: 34px; }
.section-line { border-top: 1px solid var(--line-1); margin-top: 8px; }

.acards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.acard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--ink-1);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.acard:hover {
  border-color: var(--line-3);
  background: var(--ink-2);
  transform: translateY(-2px);
}
.acard-top { display: flex; align-items: flex-start; gap: 11px; }
.amark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--ink-3);
  color: var(--text-1);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.acard-id { min-width: 0; flex: 1; }
.acard-name {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text-0);
}
.acard-sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--mono);
}
.acard-sum {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acard-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acard-tasks li {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-1);
  font-size: 12px;
  color: var(--text-2);
}
.acard-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line-1);
  font-size: 12.5px;
  color: var(--muted-2);
}
.acard-price { color: var(--text-1); }
.acard-go {
  margin-left: auto;
  font-size: 13px;
  color: var(--accent-2);
  white-space: nowrap;
}
.acard:hover .acard-go { color: var(--accent); }

.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.task-list li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--line-1);
  font-size: 15.5px;
  color: var(--text-1);
  line-height: 1.7;
}
.task-list li:first-child { border-top: 0; }
.task-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}
.panel-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* ---------- 39. 关于 / 留言表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: start;
}
.contact-main .sec-title { font-size: clamp(24px, 2.4vw, 31px); }
.contact-p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-1);
}
.contact-kv {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-1);
}
.contact-kv > div {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-1);
  font-size: 14.5px;
}
.contact-kv dt { flex: 0 0 68px; color: var(--muted-2); font-size: 13px; }
.contact-kv dd { margin: 0; color: var(--text-1); }
.contact-kv dd.mono { font-family: var(--mono); font-size: 13.5px; }

.contact-card {
  padding: 24px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--ink-1);
}
.contact-card .side-title { margin-bottom: 16px; }
.contact-card--ok { border-color: rgba(90, 220, 175, 0.3); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; border: 0; padding: 0; }
.field-k {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  font-family: var(--mono);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--ink-2);
  color: var(--text-0);
  font-size: 15px;
  font-family: inherit;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--text-1);
  cursor: pointer;
}
.radio input { accent-color: var(--accent); margin: 0; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--text-0); }
.field-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 120, 100, 0.35);
  background: rgba(240, 120, 100, 0.1);
  color: #ffb3a6;
  font-size: 13.5px;
}
.contact-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ---------- 40. 后台：Agent 与留言 ---------- */
.admin-add {
  margin-top: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--ink-1);
}
.admin-add > summary {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--text-1);
  list-style: none;
}
.admin-add > summary::-webkit-details-marker { display: none; }
.admin-add > summary::before {
  content: "+ ";
  color: var(--accent);
  font-family: var(--mono);
}
.admin-add[open] > summary { border-bottom: 1px solid var(--line-1); }
.admin-form { padding: 18px; }
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px 16px;
}
.admin-form-grid .field { margin-bottom: 0; }
.admin-form-grid .field--wide { grid-column: span 2; }
.admin-form .check { margin: 16px 0 18px; }
.admin-form-grid .check { align-self: center; margin: 0; }
.cell-stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.admin-table--agents { min-width: 880px; }
.admin-table--agents td { vertical-align: top; font-size: 14px; }
.admin-table--agents .cell-sub { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }

.row-actions { display: flex; gap: 14px; align-items: center; }
.row-actions form { margin: 0; }
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.link-btn:hover { color: var(--accent); border-color: rgba(255, 140, 90, 0.4); }
.link-btn--danger:hover { color: #ff8f7a; border-color: rgba(255, 143, 122, 0.4); }

.msg-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.msg {
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--ink-1);
}
.msg--handled { opacity: 0.62; }
.msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-2); }
.msg-phone { font-size: 14.5px; color: var(--text-0); }
.msg-time, .msg-id { font-size: 12px; color: var(--muted-2); }
.msg-body { margin: 11px 0 0; font-size: 15px; line-height: 1.8; color: var(--text-1); white-space: pre-wrap; }
.msg .row-actions { margin-top: 12px; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .admin-form-grid .field--wide { grid-column: span 1; }
}
@media (max-width: 640px) {
  .acards { grid-template-columns: minmax(0, 1fr); }
  .acard { padding: 16px; }
  .msg { padding: 14px; }
}
/* ---------- 41. Agent 详情页补丁 ---------- */
.dh-kicker {
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.dh-title-row { margin-top: 8px; }
.dh-fig .fig-v.small,
.dh-fig .fig-v--text {
  font-family: var(--sans);
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--text-0);
}
.related-models { display: flex; flex-direction: column; }
.related-model {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line-1);
}
.related-model:first-child { border-top: 0; }
.rm-name { font-size: 14.5px; color: var(--text-0); }
.rm-meta { font-size: 12.5px; color: var(--muted-2); }
.related-model:hover .rm-name { color: var(--accent); }
@media (max-width: 720px) {
  .dh-fig .fig-v.small, .dh-fig .fig-v--text { font-size: 17px; }
}

/* ---------- 42. 联系我们：联系方式三件套 ---------- */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-row .field { margin-bottom: 15px; }
.msg-contact { font-size: 12.5px; color: var(--text-2); }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

.nw { white-space: nowrap; }
.radio { white-space: nowrap; }
.radio-row { gap: 7px; }
@media (max-width: 560px) {
  .radio { padding: 7px 11px; font-size: 13.5px; }
}

/* ---------- 43. 后台登录与账号 ---------- */
.login-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  padding: 30px 0 50px;
}
.login-wrap .contact-card { margin: 0; }
.admin-table--audit { min-width: 900px; }
.admin-table--audit td { vertical-align: top; }
.admin-table--audit .cell-sub { display: block; max-width: 360px; white-space: normal; }
.site-foot .foot-col a[href="/admin/users"] { color: inherit; }
@media (max-width: 900px) {
  .login-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
