/* =========================================================
   泡芙直播 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------- base ---------- */
:root {
  --paper: #F7F5EF;
  --surface: #FFFDF8;
  --ink: #18201D;
  --ink-soft: #5C665F;
  --teal: #0F766E;
  --teal-deep: #0B5F59;
  --amber: #B45309;
  --line: #D9D4C7;
  --ok: #15803D;
  --alert: #B91C1C;
  --radius: 6px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shell: 1180px;
  --read: 820px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

code,
pre {
  font-family: var(--mono);
  font-size: 13px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(6px);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--teal);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--surface);
  border-radius: 2px;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--teal);
  background: rgba(15, 118, 110, 0.06);
}

.nav-link.is-current {
  color: var(--teal-deep);
  font-weight: 700;
  border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 120;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 20px 24px 40px;
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-close {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.drawer-list li a:hover {
  color: var(--teal);
}

.site-main {
  display: block;
}

.container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 24px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding: 4px 0 0;
  margin-bottom: 14px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-side {
  min-width: 0;
}

/* ---------- components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
}

.link-inline::after {
  content: "→";
  font-family: var(--mono);
}

.link-inline:hover {
  text-decoration: underline;
}

.inline-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
}

.inline-link:hover {
  text-decoration: underline;
}

.tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag-mono {
  font-family: var(--mono);
}

.tag-status,
.tag-state {
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--teal-deep);
  background: rgba(15, 118, 110, 0.08);
}

.tag-doc {
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.3);
}

.tag-talk {
  color: var(--amber);
  border-color: rgba(180, 83, 9, 0.3);
}

.tag-note {
  color: var(--ink-soft);
}

.status-tag--teal {
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
}

.status-tag--amber {
  color: var(--amber);
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(180, 83, 9, 0.08);
}

.status-tag--verify {
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
}

.status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
  display: inline-block;
  flex-shrink: 0;
}

.dot-green {
  background: var(--ok);
}

.dot-teal {
  background: var(--teal);
}

.dot-amber {
  background: var(--amber);
}

.state-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--ink-soft);
}

.state-dot--ok {
  background: var(--ok);
}

.state-dot--warn {
  background: var(--amber);
}

.state-dot--alert {
  background: var(--alert);
}

.state-dot--muted {
  background: var(--ink-soft);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  font-size: 0.9375rem;
}

.data-table thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
  line-height: 1.7;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(15, 118, 110, 0.04);
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.table-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.rule-box {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
}

.rule-box-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.rule-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.rule-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.7;
}

.rule-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
  top: 4px;
}

.field-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  margin-right: 8px;
  letter-spacing: 0.03em;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.step-body {
  min-width: 0;
}

.section-lead {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-top: 8px;
  margin-bottom: 18px;
}

.section-intro {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 8px 0 18px;
  line-height: 1.8;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.8;
}

.aside-title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.section-block {
  margin-bottom: 40px;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-16x9 {
  margin: 18px 0 22px;
}

.media-16x9 figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.media-figure {
  margin-bottom: 28px;
}

.media-caption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.related-card:hover {
  border-color: var(--teal);
  background: #fff;
}

.related-card-title,
.related-name,
.related-card h3 {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-card-desc,
.related-desc,
.related-card p {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 18px;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.125rem;
  color: var(--teal);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--teal-deep);
}

.faq-item > p,
.faq-answer {
  padding-bottom: 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- footer ---------- */
.site-footer {
  background: #F1EEE4;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 300px;
}

.footer-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.footer-group ul {
  display: grid;
  gap: 8px;
}

.footer-group ul li a {
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.6;
}

.footer-group ul li a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.footer-notes li {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.footer-notes li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--teal);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 24px;
}

.footer-bottom p {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- pages: index ---------- */
.home-main {
  padding-bottom: 72px;
}

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.status-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.status-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.status-table td {
  padding: 10px 12px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.status-table tbody tr:last-child td {
  border-bottom: 0;
}

.status-table td a {
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.state-ok {
  color: var(--ok);
  font-family: var(--mono);
  font-size: 12px;
}

.state-warn {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.status-bar-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.status-bar-list {
  display: grid;
  gap: 10px;
}

.status-bar-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  align-items: baseline;
}

.field-key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.field-val {
  color: var(--ink);
  text-align: right;
  font-size: 0.8125rem;
}

.status-bar-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-family: var(--mono);
}

.hero-figure {
  max-width: var(--shell);
  margin: 32px auto 0;
  padding: 0 24px;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-figure figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.channel-tabs {
  max-width: var(--shell);
  margin: 32px auto 0;
  padding: 0 24px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tab-item:hover {
  border-color: var(--teal);
  background: #fff;
  color: var(--teal-deep);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-doc {
  background: var(--teal);
}

.dot-talk {
  background: var(--amber);
}

.dot-note {
  background: var(--ink-soft);
}

.dot-film {
  background: #7C3AED;
}

.dot-life {
  background: #0E7490;
}

.dot-sci {
  background: #15803D;
}

.layout-duo {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.channel-compare {
  min-width: 0;
}

.channel-compare h2 {
  font-size: 1.5rem;
}

.topic-aside {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.topic-figure {
  margin-bottom: 14px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.topic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.topic-summary {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.topic-order {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 4px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.precheck {
  max-width: var(--shell);
  margin: 48px auto 0;
  padding: 0 24px;
}

.precheck h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.precheck .rule-box {
  margin-bottom: 24px;
}

.precheck .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.precheck .step-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.principles {
  max-width: var(--shell);
  margin: 48px auto 0;
  padding: 0 24px;
}

.principles h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.principle-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.principle-icon {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.3);
  margin-bottom: 12px;
}

.principle-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.principle-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-preview {
  max-width: var(--shell);
  margin: 48px auto 0;
  padding: 0 24px;
}

.faq-preview h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.faq-preview .faq-list {
  margin-bottom: 16px;
}

.faq-preview .faq-item > p a {
  color: var(--teal);
  font-weight: 600;
}

.route-map {
  max-width: var(--shell);
  margin: 48px auto 0;
  padding: 0 24px;
}

.route-map h2 {
  font-size: 1.5rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.route-card:hover {
  border-color: var(--teal);
  background: #fff;
  color: var(--ink);
}

.route-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.05em;
}

.route-card h3 {
  font-size: 1rem;
}

.route-card p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1 1 auto;
}

.route-go {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
}

.related-links {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.related-links-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.related-links-item {
  font-size: 0.875rem;
  color: var(--teal);
  font-weight: 600;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* ---------- pages: channels ---------- */
.page-head {
  margin-bottom: 24px;
}

.page-head-body {
  min-width: 0;
}

.page-channels .page-head {
  margin-bottom: 26px;
}

.channel-table {
  font-size: 0.9375rem;
}

.channel-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.field-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.field-card h3 {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.field-card h3 code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--teal-deep);
}

.field-read {
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.field-misread {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.aside-lead {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.75;
}

.section.section-advice {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 40px 0;
  background: var(--paper);
}

.section-advice h2 {
  font-size: 1.5rem;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advice-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.advice-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.advice-item p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ---------- pages: topics ---------- */
.page-topics .page-header {
  margin-bottom: 28px;
}

.page-title-block {
  min-width: 0;
}

.page-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-layout.container {
  padding: 0 24px;
}

.layout-main {
  min-width: 0;
}

.topic-list-section {
  min-width: 0;
}

.topic-list {
  display: grid;
  gap: 12px;
}

.topic-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s ease;
}

.topic-item:hover {
  border-color: var(--teal);
}

.topic-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.topic-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
}

.topic-item .topic-name {
  font-size: 1rem;
  margin: 0;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
}

.topic-tag--teal {
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
}

.topic-tag--amber {
  color: var(--amber);
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(180, 83, 9, 0.08);
}

.topic-tag--green {
  color: var(--ok);
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(21, 128, 61, 0.08);
}

.topic-abstract {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

.topic-more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
}

.topic-more:hover {
  text-decoration: underline;
}

.topic-summary-aside {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.summary-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.summary-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-caption {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  margin-top: 6px;
}

.summary-name {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.summary-text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}

.summary-meta {
  margin: 0 0 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.summary-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

.summary-meta-row dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.summary-meta-row dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.summary-link {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
}

.summary-link:hover {
  text-decoration: underline;
}

.reading-order-section {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 40px 0;
}

.reading-order-section .step-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reading-order-section .step-item {
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step-text {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.related-channels-section {
  padding: 8px 0 0;
}

.channel-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-card-name {
  font-size: 1rem;
}

.channel-card-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1 1 auto;
}

.channel-card-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
}

.channel-card-link:hover {
  text-decoration: underline;
}

/* ---------- pages: guide ---------- */
.layout-shell {
  display: block;
}

.article-column {
  max-width: var(--read);
  min-width: 0;
}

.page-guide .page-header {
  margin-bottom: 18px;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section:last-of-type {
  margin-bottom: 0;
}

.step-flow {
  display: grid;
  gap: 14px;
}

.step-flow .step-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mistake-list {
  display: grid;
  gap: 12px;
}

.mistake-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface);
}

.mistake-title {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.mistake-text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.next-links {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.next-link-list {
  display: grid;
  gap: 10px;
}

.next-link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.next-link-item a {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9375rem;
}

.next-link-item a:hover {
  text-decoration: underline;
}

.next-link-desc {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ---------- pages: verify ---------- */
.page-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-verify .page-header {
  margin-bottom: 20px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}

.page-hero-text {
  min-width: 0;
}

.page-hero-text .page-lead {
  margin-top: 14px;
}

.page-hero-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media figcaption {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  margin-top: 6px;
}

.verify-summary,
.verify-states,
.verify-feedback,
.verify-record,
.related-pages {
  margin-bottom: 40px;
}

.verify-summary h2,
.verify-states h2,
.verify-feedback h2,
.verify-record h2,
.related-pages h2 {
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.state-table td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.feedback-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feedback-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-card h3 {
  font-size: 1rem;
}

.feedback-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1 1 auto;
}

.record-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.record-block-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.record-code {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--surface);
}

.record-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

/* ---------- pages: faq ---------- */
.page-faq .page-header {
  margin-bottom: 16px;
}

.faq-shell {
  max-width: 860px;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.faq-group-head h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.faq-group-head p {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.faq-answer {
  padding-bottom: 16px;
}

.faq-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.faq-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq .related-links {
  max-width: none;
  margin-top: 8px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: block;
}

.page-faq .related-links h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

/* ---------- pages: editorial ---------- */
.page-editorial .page-header {
  margin-bottom: 22px;
}

.layout-primary {
  min-width: 0;
}

.duty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.duty-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.duty-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.duty-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.duty-scope {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.method-step h3 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.method-step p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.step-output {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coop-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.coop-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.coop-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.coop-path {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
}

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.aside-intro {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.75;
}

.quality-list {
  display: grid;
  gap: 12px;
}

.quality-list li {
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.7;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.quality-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quality-name {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.field-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.related-block {
  margin-top: 8px;
}

.related-block h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.related-block .related-card h3 a {
  color: var(--ink);
}

.related-block .related-card h3 a:hover {
  color: var(--teal-deep);
}

/* ---------- pages: 404 ---------- */
.error-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.error-hero {
  text-align: left;
  margin-bottom: 40px;
}

.error-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.error-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.error-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-paths-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.error-path-list {
  display: grid;
  gap: 10px;
}

.error-path-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.error-path-list li a {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--teal);
}

.error-path-list li a:hover {
  text-decoration: underline;
}

.error-path-list li span {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-link {
    padding: 0 9px;
    font-size: 0.875rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 28px;
  }

  .hero-aside {
    order: 2;
  }

  .layout-duo {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .precheck .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .reading-order-section .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    height: 56px;
    padding: 0 16px;
    gap: 12px;
  }

  .mobile-drawer {
    inset: 56px 0 0 0;
    padding: 16px 16px 32px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .inner-main {
    padding: 16px 16px 56px;
  }

  .container {
    padding: 0 16px;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-lead {
    font-size: 0.9375rem;
  }

  .hero {
    padding: 24px 16px 0;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  /* 首屏状态表转字段卡片 */
  .status-table thead {
    display: none;
  }

  .status-table,
  .status-table tbody,
  .status-table tr,
  .status-table td {
    display: block;
    width: 100%;
  }

  .status-table tr {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .status-table tr:last-child {
    border-bottom: 0;
  }

  .status-table td {
    border-bottom: 0;
    padding: 2px 0;
    font-size: 0.875rem;
  }

  .status-table td:first-child {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 2px;
  }

  .status-table td:last-child {
    padding-top: 6px;
  }

  .hero-figure {
    margin-top: 24px;
    padding: 0 16px;
  }

  .channel-tabs {
    margin-top: 24px;
    padding: 0 16px;
  }

  .tab-list {
    gap: 6px;
  }

  .tab-item {
    padding: 7px 12px;
    font-size: 0.8125rem;
  }

  .layout-duo,
  .precheck,
  .principles,
  .faq-preview,
  .route-map {
    margin-top: 32px;
    padding: 0 16px;
  }

  .related-links {
    padding: 16px 16px 0;
    gap: 8px 12px;
  }

  .precheck .step-list,
  .principle-grid,
  .route-grid,
  .reading-order-section .step-list,
  .advice-list,
  .channel-card-grid,
  .feedback-cards,
  .coop-grid,
  .duty-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 通用数据表转字段卡片 */
  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .data-table tr:last-child {
    margin-bottom: 0;
  }

  .data-table tbody td {
    border-bottom: 0;
    padding: 4px 0;
    font-size: 0.875rem;
  }

  .data-table tbody td:first-child {
    font-weight: 700;
    font-size: 0.9375rem;
    padding-bottom: 6px;
  }

  .data-table tbody tr:hover {
    background: var(--surface);
  }

  .table-caption {
    display: block;
    padding: 0 0 8px;
  }

  .page-hero {
    gap: 16px;
    margin-bottom: 28px;
  }

  .faq-group {
    margin-bottom: 28px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 24px;
    gap: 24px;
  }

  .footer-bottom {
    padding: 14px 16px 20px;
  }

  .error-main {
    padding: 48px 16px 64px;
  }

  .article-column {
    max-width: 100%;
  }

  .page-container,
  .faq-shell {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .duty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
