/* ==========================================================================
   大肥鱼 AI 情报站 · 设计系统
   纸感底色 + 电光蓝 + 等宽标签。浅深双色，系统字体，无外部依赖。
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg: #faf8f4;
  --bg-2: #f3f0e9;
  --bg-3: #ece8df;
  --surface: #ffffff;
  --surface-2: #fffdfa;
  --ink: #12161f;
  --ink-2: #565f72;
  --ink-3: #626a7a;
  --line: #e5e0d6;
  --line-2: #d8d2c5;
  --brand: #2f5ed9;
  --brand-ink: #2a55c8;
  --brand-soft: #eaf0ff;
  --accent: #7fd1e8;
  --ok: #1d7450;
  --ok-soft: #e3f5ec;
  --warn: #9c6009;
  --warn-soft: #fdf1dc;
  --danger: #c23a2e;
  --danger-soft: #fdecea;
  --mint: #d8f3e6;
  --hl: color-mix(in srgb, var(--accent) 62%, transparent);

  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 31, .04), 0 2px 8px rgba(18, 22, 31, .04);
  --shadow-md: 0 2px 4px rgba(18, 22, 31, .04), 0 12px 32px rgba(18, 22, 31, .07);
  --shadow-lg: 0 4px 8px rgba(18, 22, 31, .05), 0 24px 64px rgba(18, 22, 31, .10);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo,
    Consolas, "Liberation Mono", monospace;

  --max: 1120px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-2: #0e1219;
  --bg-3: #121722;
  --surface: #121722;
  --surface-2: #161c28;
  --ink: #e9edf5;
  --ink-2: #9aa4b8;
  --ink-3: #7f899c;
  --line: #222939;
  --line-2: #2c3446;
  --brand: #7ba0ff;
  --brand-ink: #a3beff;
  --brand-soft: #17203a;
  --accent: #7fd1e8;
  --ok: #56c896;
  --ok-soft: #0f2a20;
  --warn: #e0aa62;
  --warn-soft: #2a2013;
  --danger: #f07366;
  --danger-soft: #2c1513;
  --mint: #123026;
  --hl: color-mix(in srgb, var(--accent) 26%, transparent);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    color-scheme: dark;
    --bg: #0b0e14;
    --bg-2: #0e1219;
    --bg-3: #121722;
    --surface: #121722;
    --surface-2: #161c28;
    --ink: #e9edf5;
    --ink-2: #9aa4b8;
    --ink-3: #7f899c;
    --line: #222939;
    --line-2: #2c3446;
    --brand: #7ba0ff;
    --brand-ink: #a3beff;
    --brand-soft: #17203a;
    --ok: #56c896;
    --ok-soft: #0f2a20;
    --warn: #e0aa62;
    --warn-soft: #2a2013;
    --danger: #f07366;
    --danger-soft: #2c1513;
    --mint: #123026;
    --hl: color-mix(in srgb, var(--accent) 26%, transparent);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, .4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -8%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%),
    radial-gradient(800px 600px at 92% 4%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
  scroll-margin-top: 88px;
  scroll-margin-bottom: 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; color: var(--bg); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 88px 0; }
.section-tight { padding: 56px 0 72px; }
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.live::before { display: none; }
.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.tiny { font-size: 12.5px; line-height: 1.6; color: var(--ink-3); margin: 14px 0 0; }
.dotsep { color: var(--ink-3); margin: 0 2px; }

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  position: relative;
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(.6); opacity: .8; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 12%, transparent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; letter-spacing: -0.01em; }
.brand-text small {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  color: var(--ink-2);
  font-size: 14.5px;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--bg-3); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-3); font-weight: 550; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 15px;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.icon-btn:hover { background: var(--bg-3); color: var(--ink); border-color: var(--line-2); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--brand) 30%, transparent);
}
.btn:hover {
  background: var(--brand-ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 28%, transparent);
}
.btn:active { transform: translateY(0) scale(.99); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .btn { color: #0b0e14; }
[data-theme="dark"] .btn-ghost { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .btn { color: #0b0e14; }
  [data-theme="auto"] .btn-ghost { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: var(--brand);
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: .28em;
  background: var(--hl);
  z-index: -1;
  border-radius: 2px;
}
.hero .lede { font-size: 17.5px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-copy .tiny { max-width: 46ch; }

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.console { padding: 0; }
.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.console-title { display: flex; align-items: center; gap: 8px; }
.console-title .dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.console-title .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  opacity: 0;
  animation: ping 3s var(--ease) infinite;
}
.console-meta { color: var(--ink-3); }
.console-rows { list-style: none; margin: 0; padding: 6px 0; }
.console-rows li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 9px 16px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--line);
}
.console-rows li:last-child { border-bottom: 0; }
.console-rows .ck { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.console-rows .cv { color: var(--ink); }
.console-rows .cs {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.console-rows .cs.ok { color: var(--ok); }
.console-rows .cs.wait { color: var(--warn); }
.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px;
  color: var(--ink-2);
}
.console-foot a { font-family: var(--mono); font-size: 11.5px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.hero-tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-2);
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
}

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div {
  padding: 22px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.strip-grid > div:last-child { border-right: 0; }
.strip-grid strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.strip-grid span { font-size: 12px; color: var(--ink-2); }

/* ---------- section heads ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; }
.sec-desc { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; max-width: 58ch; }
.more {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.more:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  min-height: 100%;
}
.post-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  box-shadow: var(--shadow-md);
}
.post-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-card-top time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-card h3 { font-size: 18px; line-height: 1.4; letter-spacing: -0.015em; }
.post-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin: 0; flex: 1; }
.post-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.post-card .go { transition: transform .2s var(--ease); font-size: 14px; }
.post-card:hover .go { transform: translateX(4px); color: var(--brand); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.guide-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  box-shadow: var(--shadow-md);
}
.guide-card-top { display: flex; align-items: center; justify-content: space-between; }
.guide-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
}
.guide-card h3 { font-size: 18px; letter-spacing: -0.015em; }
.guide-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin: 0; flex: 1; }
.guide-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px;
}
.guide-card .go { transition: transform .2s var(--ease); }
.guide-card:hover .go { transform: translateX(4px); color: var(--brand); }

.guide-card-wide { grid-column: span 2; padding: 24px 26px; }
.guide-card-wide h3 { font-size: 21px; letter-spacing: -0.02em; }
.guide-card-wide p { max-width: none; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why {
  padding: 26px 24px;
  border-top: 2px solid var(--ink);
  background: transparent;
}
.why h3 { font-size: 19px; margin: 12px 0 10px; }
.why p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* ---------- badges / tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  white-space: nowrap;
}
.badge-test, .badge-intel { background: var(--brand-soft); color: var(--brand-ink); }
.badge-view { background: var(--bg-3); }
.badge-log { background: var(--mint); color: var(--ok); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
[data-theme="dark"] .badge-intel, [data-theme="dark"] .badge-test { color: var(--brand); }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .badge-intel, [data-theme="auto"] .badge-test { color: var(--brand); }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tag-row > li { display: flex; }
.tag-row.small { margin-top: 6px; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12.5px;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
a.tag:hover, .tag.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.tag-row.small .tag { height: 22px; padding: 0 8px; font-size: 11px; }
.tag-n { font-family: var(--mono); font-size: 10px; opacity: .6; margin-left: 2px; }

/* ---------- page head ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; margin-bottom: 16px; }
.page-head .lede { font-size: 17px; }

.path-map {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.path-step { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.path-step span {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 11px;
}
.path-step strong { font-size: 14px; }
.path-step small { font-size: 12px; color: var(--ink-3); }
.path-arrow { color: var(--ink-3); font-size: 13px; padding: 0 4px; }

/* ---------- post list ---------- */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row { border-bottom: 1px solid var(--line); }
.post-row-main {
  display: block;
  padding: 30px 8px;
  color: var(--ink);
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.post-row-main:hover { color: var(--ink); background: var(--bg-2); padding-left: 16px; }
.post-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.post-row h2 { font-size: clamp(20px, 2.4vw, 25px); letter-spacing: -0.02em; margin-bottom: 8px; }
.post-row p { color: var(--ink-2); font-size: 14.5px; margin: 0; max-width: 70ch; }

/* ---------- guide list ---------- */
.guide-list { display: grid; gap: 12px; }
.guide-row {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  box-shadow: var(--shadow-sm);
}
.guide-row:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.guide-row-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 4px;
  border-top: 1px solid var(--line-2);
}
.guide-row-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.guide-row-top h2 { font-size: 19px; letter-spacing: -0.02em; }
.guide-row p { color: var(--ink-2); font-size: 14px; margin: 0 0 10px; max-width: 72ch; }
.guide-row-meta { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.guide-row-go {
  color: var(--ink-3);
  font-size: 18px;
  align-self: center;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.guide-row:hover .guide-row-go { transform: translateX(4px); color: var(--brand); }

/* ---------- article ---------- */
.article { padding: 0 0 24px; }
.article-wrap { max-width: 1040px; }
.article-wrap.narrow { max-width: 760px; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); }
.article-head { padding: 30px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  max-width: 22ch;
}
.article-head .lede { font-size: 17px; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.facts > div { background: var(--surface); padding: 14px 16px; }
.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.facts dd { margin: 0; font-size: 13.5px; color: var(--ink); line-height: 1.5; font-variant-numeric: tabular-nums; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.byline-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  flex: none;
}
.byline div { display: flex; flex-direction: column; line-height: 1.4; }
.byline strong { font-size: 14px; }
.byline small { font-size: 12px; color: var(--ink-3); }

.article-body { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { min-width: 0; }

.guide-rail { position: sticky; top: 92px; font-size: 13px; }
.rail-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.rail-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.rail-list a {
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.rail-list a span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); padding-top: 2px; }
.rail-list a:hover { background: var(--bg-3); color: var(--ink); }
.rail-list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 550; }
.rail-toc a { padding: 5px 10px; font-size: 12.5px; }

/* ---------- prose ---------- */
.prose { font-size: 16.5px; line-height: 1.85; color: var(--ink); max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 { scroll-margin-top: 92px; }
.prose h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin: 56px 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.prose h2 .anchor { margin-left: 8px; }
.prose h3 { font-size: 19.5px; margin: 36px 0 12px; letter-spacing: -0.015em; }
.prose h4 { font-size: 16.5px; margin: 26px 0 8px; color: var(--ink-2); }
.prose p { margin: 0 0 18px; }
.prose strong { font-weight: 650; }
.mascot-copy p a, .article-note p a, .cta-panel p a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.mascot-copy p a:hover, .article-note p a:hover, .cta-panel p a:hover { text-decoration-color: var(--brand); }

.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li > ul, .prose li > ol { margin: 8px 0 4px; }
.prose ul { list-style: none; padding-left: 4px; }
.prose ul > li { position: relative; padding-left: 20px; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
.prose ol { padding-left: 24px; }
.prose ol > li::marker { font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 600; }
.prose .task { display: flex; gap: 10px; align-items: flex-start; }
.prose .task input { margin-top: .45em; accent-color: var(--brand); }
.prose blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--line-2);
  color: var(--ink-2);
}
.prose code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--bg-3);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prose img { display: block; max-width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); margin: 28px auto; }
.prose .anchor {
  color: var(--ink-3);
  opacity: 0;
  font-size: .7em;
  text-decoration: none;
  transition: opacity .15s;
}
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: .6; }

/* callout */
.callout {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.75;
}
.callout > p:last-child { margin-bottom: 0; }
.prose .callout-title, .callout .callout-title { margin: 0 0 8px; }
.callout-title {
  font-weight: 650;
  margin: 0 0 8px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout-title::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.callout-note { border-left: 3px solid var(--brand); background: var(--brand-soft); }
.callout-note .callout-title { color: var(--brand-ink); }
.callout-ok { border-left: 3px solid var(--ok); background: var(--ok-soft); }
.callout-ok .callout-title { color: var(--ok); }
.callout-warn { border-left: 3px solid var(--warn); background: var(--warn-soft); }
.callout-warn .callout-title { color: var(--warn); }
.callout-danger { border-left: 3px solid var(--danger); background: var(--danger-soft); }
.callout-danger .callout-title { color: var(--danger); }

/* code block */
.cb {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #14181f;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .cb { background: #0d1117; border-color: #2a3346; }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .cb { background: #0d1117; border-color: #2a3346; }
}
.cb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
}
.cb-lang {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7d8799;
}
.cb-copy {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #98a3b6;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  padding: 3px 9px;
  cursor: pointer;
  transition: color .16s, border-color .16s;
}
.cb-copy:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cb-copy.done { color: #6ee7b7; border-color: #6ee7b7; }
.cb pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.cb code {
  font-family: var(--mono);
  color: #dfe6f3;
  background: none;
  border: 0;
  padding: 0;
  white-space: pre;
}

/* table */
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}
.prose tr:last-child td { border-bottom: 0; }

.article-note {
  margin: 44px 0 0;
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--bg-2);
}
.article-note p { margin: 0; }

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pager-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.pager-item:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-2px); }
.pager-item.next { text-align: right; align-items: flex-end; }
.pager-item small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.pager-item strong { font-size: 15px; font-weight: 600; }

/* ---------- CTA ---------- */
.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  margin: 24px auto 80px;
  max-width: var(--max);
  padding: 48px;
  border-radius: var(--r-xl);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
  background:
    radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    linear-gradient(135deg, var(--surface), var(--brand-soft));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-panel h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-panel p { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 48ch; }
.cta-note { font-size: 13px !important; color: var(--ink-3) !important; margin-top: 10px !important; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-actions .tiny { text-align: center; }
.cta-actions .tiny a { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 12%, transparent);
}
.foot-name { font-weight: 650; margin: 0 0 8px; font-size: 15px; }
.foot-desc { font-size: 13px; color: var(--ink-2); max-width: 34ch; margin: 0 0 12px; line-height: 1.65; }
.foot-live { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 4px;
}
.foot-col a { color: var(--ink-2); font-size: 13.5px; }
.foot-col a:hover { color: var(--brand); }
.foot-legal { padding-top: 24px; display: grid; gap: 4px; }
.foot-legal p { margin: 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------- search ---------- */
.search-box { margin-top: 28px; position: relative; }
.search-box input {
  width: 100%;
  max-width: 560px;
  height: 54px;
  padding: 0 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-family: var(--font);
  box-shadow: var(--shadow-sm);
}
.search-box input:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: transparent; }
.search-hint { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.search-results { display: grid; gap: 12px; }
.result {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.result:hover { color: var(--ink); border-color: var(--brand); transform: translateX(3px); }
.result .r-k { font-family: var(--mono); font-size: 10px; color: var(--brand); letter-spacing: .1em; }
.result h2 { font-size: 17px; margin: 4px 0 4px; }
.result p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.empty { padding: 40px 0; color: var(--ink-3); font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; }
.notfound h1 { font-size: clamp(40px, 8vw, 80px); letter-spacing: -0.04em; margin-bottom: 16px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 100%; }
  .post-grid, .guide-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guide-rail { position: static; display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding: 64px 0; }
  .head-inner { height: 60px; gap: 12px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head-actions .btn { display: none; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px var(--gutter) 20px;
    gap: 4px;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .mobile-nav:not([hidden]) { display: flex; }
  .mobile-nav a { padding: 12px 4px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; margin-top: 8px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero h1 em { white-space: normal; }
  .hero .lede { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div:nth-child(2) { border-right: 0; }
  .strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .post-grid, .guide-grid, .why-grid { grid-template-columns: 1fr; }
  .guide-card-wide { grid-column: auto; }
  .post-card, .guide-card { padding: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head { padding: 44px 0 28px; }
  .path-map { flex-direction: column; align-items: flex-start; gap: 10px; }
  .path-arrow { transform: rotate(90deg); margin-left: 8px; }
  .article-head { padding: 22px 0 30px; margin-bottom: 28px; }
  .article-head h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .article-head .lede { font-size: 15.5px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; margin-top: 44px; }
  .guide-row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .guide-row-num { display: none; }
  .guide-row-go { display: none; }
  .post-row-main { padding: 24px 4px; }
  .post-row-main:hover { padding-left: 8px; }
  .pager { grid-template-columns: 1fr; }
  .pager-item.next { text-align: left; align-items: flex-start; }
  .cta-panel { padding: 28px 24px; margin-bottom: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .notfound { padding: 72px 0; }
  .cb pre { font-size: 12px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 10px; }
}

@media (max-width: 380px) {
  .hero-tags span:nth-child(n+4) { display: none; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- 运营台状态板 ---------- */
.ops-board {
  margin: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ops-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
}
.ops-board .console-title { display: flex; align-items: center; gap: 8px; }
.ops-time { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.ops-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.ops-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.ops-stats > div:last-child { border-right: 0; }
.ops-stats strong { font-size: 19px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ops-stats span { font-size: 11.5px; color: var(--ink-3); }
.ops-checks {
  list-style: none;
  margin: 0;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ops-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.ops-checks li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  flex: none;
}
.ops-checks li.ok::before { background: var(--ok); }
.ops-checks li.warn::before { background: var(--warn); }
.ops-checks li.bad::before { background: var(--danger); }
.ops-checks li span { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ops-checks li.ok span { color: var(--ok); }
.ops-checks li.warn span { color: var(--warn); }
.ops-checks li.bad span { color: var(--danger); }

@media (max-width: 760px) {
  .ops-stats { grid-template-columns: 1fr 1fr; }
  .ops-stats > div:nth-child(2) { border-right: 0; }
  .ops-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- 教程分组 ---------- */
.guide-group { margin-bottom: 56px; }
.guide-group:last-of-type { margin-bottom: 8px; }
.group-head { margin-bottom: 18px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.group-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.group-head p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 760px) {
  .guide-group { margin-bottom: 40px; }
  .group-head { flex-direction: column; gap: 4px; }
}

/* ---------- 搜索补充 ---------- */
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.search-chips .tag { cursor: pointer; font-family: var(--font); }
.search-chips .tag:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.search-results { min-height: 260px; }

/* 表格里的长 URL / key 允许断行，避免横向溢出；首列保持完整 */
@media (min-width: 761px) {
  .prose td:first-child, .prose th:first-child { white-space: nowrap; }
}


/* 手机上表格变卡片：一行一张，标签在左、值在右 */
@media (max-width: 760px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose table { background: none; }
  .prose tr {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    padding: 10px 14px;
    margin-bottom: 12px;
  }
  .prose td {
    display: flex;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    text-align: left !important;
    font-size: 13.5px;
  }
  .prose td, .prose th { white-space: normal; }
  .prose td > .cell-v { min-width: 0; overflow-wrap: anywhere; }
  .prose td + td { border-top: 1px dashed var(--line); }
  .prose td::before {
    content: attr(data-label);
    flex: 0 0 74px;
    color: var(--ink-3);
    font-size: 12px;
    line-height: 1.7;
  }
  .prose td:empty { display: none; }
  .prose td code { white-space: normal; overflow-wrap: anywhere; }
}

/* 值班员：会动的鲸鱼 */
.mascot-band { border-top: 1px solid var(--line); background: var(--surface); }
.mascot-inner { display: flex; align-items: center; gap: 30px; padding-block: 26px 28px; }
.mascot-figure { position: relative; flex: 0 0 auto; width: 150px; margin: 0; }
.mascot-figure::before {
  content: '';
  position: absolute;
  left: 2%; right: 2%; bottom: 0;
  height: 24px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(59, 111, 245, .24), transparent 72%);
  filter: blur(9px);
}
.mascot-figure img { position: relative; display: block; width: 100%; height: auto; }
.mascot-copy { min-width: 0; }
.mascot-copy .eyebrow { margin-bottom: 6px; }
.mascot-copy h2 { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.32; letter-spacing: -.015em; }
.mascot-copy p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 14.5px; line-height: 1.72; }
.mascot-copy a { color: var(--brand); text-decoration: none; white-space: nowrap; }
.mascot-copy a:hover { text-decoration: underline; }
.mascot-more {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: center;
  white-space: nowrap;
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.mascot-more:hover { border-color: var(--brand); transform: translateX(2px); }
@media (max-width: 900px) { .mascot-more { display: none; } }
[data-theme="dark"] .mascot-figure::before { opacity: .55; }

@media (max-width: 760px) {
  .mascot-inner { flex-direction: column; gap: 14px; padding-block: 20px 22px; align-items: flex-start; }
  .mascot-figure { width: 96px; margin-top: 2px; }
  .mascot-copy h2 { font-size: 18px; margin-bottom: 6px; }
  .mascot-copy p { font-size: 13px; line-height: 1.66; }
}

/* 正文里的图：居中、限宽，不撑满整栏 */
.prose img[src*="dafeiyu"] { max-width: 240px; border: 0; background: none; }
.prose img + em, .prose p:has(> img) + p > em:only-child {
  display: block;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  font-style: normal;
}

/* 运营台 · 自动运行记录 */
.ops-runs { border-top: 1px solid var(--line); padding: 14px 18px 16px; }
.ops-runs-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.ops-runs-head code { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); background: none; border: 0; padding: 0; text-transform: none; }
.ops-runs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ops-runs li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-2);
  padding: 4px 0;
}
.ops-runs .t { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.ops-runs .w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-runs .s {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
  padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3);
}
.ops-runs li.ok .s { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.ops-runs li.bad .s { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.ops-runs-empty { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.ops-runs-empty code { font-size: 11.5px; }
@media (max-width: 560px) {
  .ops-runs li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 7px 0; }
  .ops-runs .t { grid-column: 1 / -1; font-size: 10px; }
}

/* 404：值班员也在找 */
.notfound-wrap { position: relative; }
.nf-mascot { position: absolute; right: 0; top: 0; width: 180px; margin: 0; transform: rotate(-3deg); }
.nf-mascot img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .nf-mascot { position: static; width: 132px; margin-top: 30px; transform: none; }
}

/* ==========================================================================
   打磨层：无障碍辅助、目录高亮、细微视觉与打印
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 目录：当前阅读位置 */
.rail-toc a.is-current { background: var(--brand-soft); color: var(--brand-ink); font-weight: 550; }
.rail-toc a.is-current span { color: var(--brand-ink); }

/* 高亮条更实一点，正文段落避免孤字 */
.prose p, .post-row p, .guide-row p { text-wrap: pretty; }

/* 卡片型链接：键盘聚焦时和 hover 同样清楚 */
.post-card:focus-visible,
.guide-card:focus-visible,
.guide-row:focus-visible,
.post-row-main:focus-visible,
.pager-item:focus-visible,
.result:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* 打印教程：去掉外壳，只留正文 */
@media print {
  .site-head, .site-foot, .mascot-band, .cta-panel, .guide-rail, .crumbs,
  .article-note, .pager, .nf-mascot, .skip, .hero-card, .ops-board { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .article-wrap, .article-wrap.narrow { max-width: none; }
  .article-body { display: block; }
  .prose { max-width: none; font-size: 12pt; }
  .prose h2 { break-after: avoid; }
  .cb, .callout, .table-wrap, figure { break-inside: avoid; }
  .prose a { color: #000; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  .console-title .dot::after { animation: none; }
}

/* ------------------------------------------------------------------ */
/* 素材库：表情包 / 海报 / 二维码                                       */
/* ------------------------------------------------------------------ */
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.sticker {
  margin: 0;
  padding: 10px 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.sticker:hover { transform: translateY(-3px); border-color: var(--line-2); }
.sticker img { width: 100%; height: auto; display: block; border-radius: 11px; }
.sticker figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; }
.sticker figcaption strong { font-size: 13px; font-weight: 600; }
.sticker figcaption span { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }

.poster-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
  align-items: start;
}
.poster-row figure { margin: 0; }
.poster-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.poster-row figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.poster-row figcaption strong { font-size: 13.5px; font-weight: 600; }
.poster-row figcaption span { font-size: 12px; color: var(--ink-3); }

.qr-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 30px 0 8px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.qr-block img {
  width: 148px;
  height: 148px;
  display: block;
  border-radius: 12px;
  background: #fff;
  flex: 0 0 auto;
}
.qr-block-text { flex: 1 1 220px; }
.qr-block-text strong { display: block; font-size: 16px; margin-bottom: 6px; }
.qr-block-text p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 780px) {
  .poster-row { grid-template-columns: 1fr; }
  .sticker-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
}
/* 正文里的注册入口图：按二维码尺寸显示，别撑满整行 */
.prose p > img[src*="zhuge-qr"] {
  width: 148px;
  height: 148px;
  display: inline-block;
  vertical-align: middle;
  margin: 6px 18px 6px 0;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--line);
}
/* ------------------------------------------------------------------ */
/* 直播间页                                                            */
/* ------------------------------------------------------------------ */
.live-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.live-shots figure { margin: 0; }
.live-shots img { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-3); }
.live-shots figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.live-shots figcaption strong { font-size: 13.5px; font-weight: 600; }
.live-shots figcaption span { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

.live-wide { display: grid; grid-template-columns: 340px 1fr; gap: 18px; margin-top: 24px; align-items: start; }
.live-wide figure { margin: 0; }
.live-wide img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.live-wide figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; }
.live-wide figcaption strong { font-size: 13.5px; font-weight: 600; }
.live-wide figcaption span { font-size: 12px; color: var(--ink-3); }

.live-bg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.live-bg img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); }

.live-steps { list-style: none; counter-reset: st; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.live-steps li {
  counter-increment: st;
  position: relative;
  padding: 14px 18px 14px 54px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.live-steps li::before {
  content: counter(st);
  position: absolute;
  left: 16px; top: 13px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #08121a;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.live-steps strong { display: block; font-size: 14px; margin-bottom: 3px; }
.live-steps span { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

@media (max-width: 900px) {
  .live-wide { grid-template-columns: 1fr; }
  .live-bg { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .live-shots { grid-template-columns: 1fr; }
}
/* ------------------------------------------------------------------ */
/* 首页 v2：大图 hero + 值班台 + 双卡                                       */
/* ------------------------------------------------------------------ */
.hero-v2 { position: relative; overflow: hidden; padding-top: 64px; }
.hero-v2::before {
  content: "";
  position: absolute;
  left: 50%; top: -320px;
  width: min(1200px, 130vw); height: 720px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(127, 209, 232, .16), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(96, 120, 255, .10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-v2 .wrap { position: relative; z-index: 1; }

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0) 55%, rgba(11, 14, 20, .55));
  pointer-events: none;
}
.hero-chips {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; gap: 8px; z-index: 2;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: #eaf2fb;
  background: rgba(11, 14, 20, .66);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
}
.chip-live .pulse { width: 6px; height: 6px; border-radius: 50%; background: #ff5c73; box-shadow: 0 0 0 0 rgba(255, 92, 115, .6); animation: chipPulse 2s infinite; }
@keyframes chipPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 115, .55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 92, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 115, 0); }
}
.hero-photo-note {
  position: absolute; right: 14px; bottom: 16px; z-index: 2;
  font-size: 12px; letter-spacing: .04em;
  color: rgba(255, 255, 255, .66);
}

.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.hero-tags li { margin: 0; }
.hero-tags a {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.hero-tags a:hover { color: var(--ink); border-color: var(--line-2); background: var(--bg-2); }

/* 值班台 */
.desk { padding: 20px 0 56px; }
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: 40px;
  align-items: center;
}
.desk-copy h2 { font-size: clamp(22px, 2.4vw, 29px); line-height: 1.32; letter-spacing: -0.02em; margin: 8px 0 12px; }
.desk-copy p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin: 0; max-width: 54ch; }
.desk-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }

/* 双卡 */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature-media { position: relative; margin: 0; }
.feature-media img { width: 100%; height: auto; display: block; border-radius: 14px; }
.feature-media .chip { position: absolute; left: 8px; top: 8px; font-size: 11px; padding: 4px 9px; }
.feature-media.sticker-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.feature-media.sticker-mini img { border-radius: 10px; border: 1px solid var(--line); }
.feature-body h3 { font-size: 19px; letter-spacing: -0.015em; margin: 6px 0 8px; }
.feature-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin: 0 0 12px; }

@media (max-width: 1040px) {
  .desk-grid { grid-template-columns: 1fr; gap: 24px; }
  .two-up { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 520px; }
  .feature-card { grid-template-columns: 132px minmax(0, 1fr); }
  .hero-photo-note { display: none; }
}
/* ------------------------------------------------------------------ */
/* 美化补丁：hero 比例、区块留白、三卡、数字条                              */
/* ------------------------------------------------------------------ */
.hero-v2 { padding-bottom: 40px; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.desk { padding-top: 8px; }
.desk-copy .eyebrow { margin-bottom: 6px; }

.strip-grid strong {
  font-family: var(--mono);
  color: var(--ink);
}
.strip-grid > div:nth-child(odd) strong { color: var(--brand); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.why:hover { transform: translateY(-2px); border-color: var(--line-2); }
.why::before {
  content: "";
  position: absolute;
  left: 22px; top: -1px;
  width: 36px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.why h3 { font-size: 16.5px; letter-spacing: -0.01em; margin: 12px 0 8px; }
.why p { font-size: 13.5px; color: var(--ink-2); line-height: 1.72; margin: 0; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}
/* 图片底部压暗，保证角标文字可读 */
.hero-photo::after {
  background: linear-gradient(180deg, rgba(11, 14, 20, 0) 42%, rgba(11, 14, 20, .78));
}
.hero-photo-note { color: rgba(255, 255, 255, .86); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
/* 顶栏底子更实，滚动时内容不透出 */
.site-head { background: color-mix(in srgb, var(--bg) 94%, transparent); }
/* 顶栏改为不透明（玻璃效果在部分环境不生效，内容会透出来） */
.site-head {
  background: var(--bg);
  backdrop-filter: saturate(1.2) blur(10px);
}
@supports (background: color-mix(in srgb, #000 90%, transparent)) {
  .site-head { background: color-mix(in srgb, var(--bg) 97%, transparent); }
}
/* ------------------------------------------------------------------ */
/* Hero 换成立绘（透明 PNG/WebP，不裁不拉伸）                              */
/* ------------------------------------------------------------------ */
.hero-char {
  position: relative;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 520px;
  isolation: isolate;
}
.hero-char::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 96%;
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(127, 209, 232, .30), rgba(127, 209, 232, .10) 52%, transparent 72%);
  z-index: -1;
}
.hero-char img {
  position: relative;
  width: min(430px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, .6));
  animation: charBob 7s ease-in-out infinite;
}
@keyframes charBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero-char .hero-chips { left: 0; bottom: 0; }
.hero-char-note {
  position: absolute;
  right: 0;
  bottom: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* 直播间卡：立绘 + 柔光底，不再用带场景的截图 */
.feature-media.char-media {
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 62%, rgba(127, 209, 232, .22), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.feature-media.char-media img { width: 100%; height: auto; border-radius: 0; border: 0; }

/* 素材卡：统一方格，contain 不裁切 */
.feature-media.sticker-mini img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 860px) {
  .hero-char { min-height: 0; }
  .hero-char img { width: min(320px, 76%); }
  .hero-char-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-char img { animation: none; }
}
/* 立绘按高度收，别把 hero 撑成两屏 */
.hero-char { min-height: 0; align-items: center; }
.hero-char img { height: min(575px, 62vh); width: auto; }
.hero-char::before { width: min(400px, 82%); bottom: 12%; }
.hero-char .hero-chips { left: 0; bottom: 0; }
.hero-char-note { bottom: 6px; }
@media (max-width: 1040px) {
  .hero-char img { height: min(480px, 54vh); }
}
@media (max-width: 860px) {
  .hero-char img { height: auto; width: min(300px, 72%); }
}
/* 角标放到立绘下方居中，别压在腿上 */
.hero-char { padding-bottom: 54px; align-items: flex-end; }
.hero-char .hero-chips { left: 50%; right: auto; bottom: 4px; transform: translateX(-50%); }
.hero-char-note { top: 6px; right: 0; bottom: auto; }
@media (max-width: 860px) {
  .hero-char { padding-bottom: 46px; }
  .hero-char-note { display: none; }
}
/* 立绘下缘渐隐，避免硬切口 */
.hero-char img {
  -webkit-mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, .25) 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, .25) 96%, transparent 100%);
}
/* 立绘再大一点，更有存在感 */
.hero-char img { height: min(640px, 70vh); }
@media (max-width: 1040px) { .hero-char img { height: min(520px, 58vh); } }
@media (max-width: 860px) { .hero-char img { height: auto; width: min(320px, 74%); } }
/* 立绘尺寸收敛：不要压过文案 */
.hero-char img { height: min(470px, 50vh); }
@media (max-width: 1040px) { .hero-char img { height: min(400px, 44vh); } }
@media (max-width: 860px) { .hero-char img { height: auto; width: min(270px, 64%); } }
@media (max-width: 430px) { .hero-char img { width: min(230px, 58%); } }
/* ================================================================== */
/* 审查整改 · 2026-11-07（美术/UI/工程三方结论落地）                     */
/* 这一块是「最终裁决」，前面的重复定义以这里为准                         */
/* ================================================================== */

/* —— 1. 立绘：按素材内容比例裁顶，一个变量管高度（美术审查定稿） —— */
.hero-char {
  --char-h: 420px;
  min-height: 0;
  padding: 0 0 62px;
  align-items: flex-end;
}
.hero-char img {
  height: var(--char-h);
  width: auto;
  aspect-ratio: 430 / 784;
  object-fit: cover;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0 91%, rgba(0, 0, 0, .35) 97%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 91%, rgba(0, 0, 0, .35) 97%, transparent 100%);
}
.hero-char::before {
  width: calc(var(--char-h) * .72);
  aspect-ratio: 1 / 1;
  bottom: 1%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 24%, transparent), transparent 80%);
  filter: blur(6px);
}
.hero-char .hero-chips { left: 50%; right: auto; bottom: 26px; transform: translateX(-50%); }
.hero-char-note {
  top: auto; right: auto; bottom: 2px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
@media (min-width: 861px) and (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 40px; }
  .hero-char { --char-h: 340px; justify-content: flex-end; }
}
@media (max-width: 860px) {
  .hero-char { --char-h: 264px; }
  .hero-char img {
    width: 200px;
    aspect-ratio: auto;
    object-position: 50% 10%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-char::before { width: 236px; }
}

/* —— 2. hero 角标不许断行 —— */
.hero-chips { flex-wrap: nowrap; }
.hero-chips .chip { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 430px) {
  .hero-chips { gap: 6px; }
  .hero-chips .chip { font-size: 11px; padding: 5px 9px; }
}

/* —— 3. 中性 badge 在卡片上隐形（--bg-3 与 --surface 同值） —— */
.badge {
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

/* —— 4. .hero-tags 旧规则残留的悬空边框 —— */
.hero-tags { border: 0; background: none; }

/* —— 5. .why-grid 在 901–1024 别被补丁改回三列 —— */
@media (min-width: 901px) and (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* —— 6. 触控目标：只在触屏设备上放大，不破坏桌面排版 —— */
@media (pointer: coarse) {
  .icon-btn { width: 44px; height: 44px; }
  .more, .foot-col a, .tag, .hero-tags a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .foot-col { gap: 2px; }
}

/* —— 7. 入场动效改用类，hover 抬升恢复 —— */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s cubic-bezier(.2, .7, .3, 1), transform .5s cubic-bezier(.2, .7, .3, 1),
    border-color .22s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* —— 8. 次级中文小字抬一档（10–11px → 11.5–12px） —— */
.eyebrow { font-size: 11.5px; }
.badge { font-size: 11px; }
.foot-col a, .foot-col .foot-title { font-size: 12.5px; }
/* —— 贴纸白底柔和化（美术审查第 2 条） —— */
.sticker img,
.feature-media.sticker-mini img {
  background: #f6f2ea;
  filter: brightness(.97) saturate(1.02);
}
.sticker:hover img { filter: brightness(1) saturate(1.04); }

/* —— 正面立绘：整只都在画面里，不裁不遮 —— */
.hero-char img {
  height: var(--char-h);
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .6));
}
.hero-char::before { width: calc(var(--char-h) * .84); bottom: 4%; }
@media (max-width: 860px) {
  .hero-char img { height: auto; width: min(260px, 70%); }
  .hero-char::before { width: 250px; }
}
/* —— 立绘收到"正常大小"：不压文案、不占满半边 —— */
.hero-char { --char-h: 330px; }
@media (min-width: 861px) and (max-width: 1040px) { .hero-char { --char-h: 296px; } }
@media (max-width: 860px) { .hero-char { --char-h: 220px; } .hero-char img { width: 212px; } }
/* 角色资产总表 */
.asset-sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.asset-sheets figure { margin: 0; }
.asset-sheets img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.asset-sheets figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; }
.asset-sheets figcaption strong { font-size: 13.5px; font-weight: 600; }
.asset-sheets figcaption span { font-size: 12px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 780px) { .asset-sheets { grid-template-columns: 1fr; } }