/* ==========================================================================
   吃瓜入口 · 全站样式表
   校园刊物风：墨绿 + 荧光橘 + 米白纸张
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base —— 变量、重置、排版基础
   -------------------------------------------------------------------------- */

:root {
  --ink: #123329;
  --ink-soft: #1c4436;
  --accent: #f2603c;
  --accent-soft: #fbe4dc;
  --paper: #f6f1e4;
  --paper-raise: #fffdf7;
  --text: #2b2b26;
  --text-soft: #5a5a52;
  --muted: #8fa79b;
  --line: #d9d2be;
  --line-strong: #b9b09a;
  --white: #ffffff;

  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;

  --wrap: 1160px;
  --wrap-narrow: 900px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 0 rgba(18, 51, 41, 0.06);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(18, 51, 41, 0.022) 0,
      rgba(18, 51, 41, 0.022) 1px,
      transparent 1px,
      transparent 4px
    );
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.35;
}

p {
  margin: 0 0 0.85em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   2. layout —— 页头 / 导航 / 主容器 / 面包屑 / 页脚 全站骨架
   -------------------------------------------------------------------------- */

/* ---- 2.1 页头 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  color: var(--white);
}

.brand:hover {
  color: var(--white);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: var(--white);
}

.brand-sub {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 2.2 主导航 ---- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #d7e2db;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link.is-current {
  color: var(--white);
  font-weight: 700;
}

.nav-link.is-current::after {
  transform: scaleX(1);
}

/* ---- 2.3 汉堡按钮（桌面隐藏） ---- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- 2.4 主容器 ---- */
.site-main {
  display: block;
  min-height: 40vh;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ---- 2.5 面包屑 ---- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 4px;
  font-size: 13px;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.breadcrumb-sep {
  color: var(--muted);
  font-family: var(--font-mono);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

/* ---- 2.6 页面标题区 ---- */
.page-header {
  padding: 8px 0 22px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 28px;
}

.page-title {
  font-size: 30px;
  line-height: 1.3;
  color: var(--ink);
  padding-left: 14px;
  border-left: 6px solid var(--accent);
}

/* ---- 2.7 页脚 ---- */
.site-footer {
  background: var(--ink);
  color: #cfdad3;
  margin-top: 56px;
  border-top: 4px solid var(--accent);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 28px;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #cfdad3;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 20px;
  padding-top: 22px;
  font-size: 12.5px;
  color: #9fb3a8;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  margin: 0;
}

.footer-position {
  margin: 0;
  color: #9fb3a8;
}

.footer-copy {
  grid-column: 1 / 3;
  margin: 0;
  color: #82988d;
}

.back-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  min-height: 40px;
  font-size: 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

.back-top::after {
  content: "↑";
  font-family: var(--font-mono);
  color: var(--accent);
}

.back-top:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   3. components —— 通用组件
   -------------------------------------------------------------------------- */

/* ---- 3.1 区块标题与导语 ---- */
.section-title {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.section-lead,
.section-intro,
.section-desc {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 62ch;
}

.section-intro {
  margin-bottom: 20px;
}

/* ---- 3.2 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---- 3.3 文字链接 ---- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(242, 96, 60, 0.4);
  padding-bottom: 1px;
}

.text-link::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ---- 3.4 状态标记 ---- */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-done {
  color: #2f6b52;
  background: #e6efe9;
}

.status-updating {
  color: #b8492a;
  background: var(--accent-soft);
}

.status-paused {
  color: #6b6350;
  background: #ece7d8;
}

/* ---- 3.5 图片容器 ---- */
.hero-media img,
.focus-media img,
.channel-figure img,
.special-figure img,
.guide-figure img,
.aside-figure img,
.phase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e3ddcc;
}

/* ---- 3.6 上一篇 / 下一篇 ---- */
.pager,
.page-pager,
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.pager-link,
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  min-height: 44px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pager-link:hover,
.post-nav-link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.pager-dir,
.post-nav-dir {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.pager-title,
.post-nav-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.pager-next,
.post-nav-next {
  text-align: right;
}

.pager-next .pager-dir,
.post-nav-next .post-nav-dir {
  color: var(--accent);
}

/* 单侧时占位对齐 */
.pager-prev:only-child,
.post-nav-prev:only-child {
  grid-column: 1;
}

/* --------------------------------------------------------------------------
   4. pages —— 各页业务模块
   -------------------------------------------------------------------------- */

/* ==== 4.1 首页 index.html ==== */

/* ---- 当前播出状态条 ---- */
.status-bar {
  background: var(--ink-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7e2db;
}

.status-bar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 20px;
}

.status-now {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.status-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}

.status-text {
  margin: 0;
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}

.status-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 20px;
}

.status-next-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 13px;
}

.status-next-list li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #cfdad3;
  min-width: 0;
}

.status-next-list time {
  color: var(--white);
  font-size: 12.5px;
}

.status-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--radius);
  white-space: nowrap;
}

.status-entry:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---- 首屏焦点区 ---- */
.hero {
  background: var(--paper);
  padding: 32px 0 8px;
}

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 340px;
}

.hero-media img {
  aspect-ratio: 16 / 9;
  min-height: 240px;
  flex: 1 1 auto;
}

.hero-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "tag title"
    "desc desc";
  gap: 6px 12px;
  padding: 16px 20px 18px;
  background: var(--ink);
  color: var(--white);
}

.hero-tag {
  grid-area: tag;
  align-self: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--radius);
  white-space: nowrap;
}

.hero-title {
  grid-area: title;
  align-self: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.hero-desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.7;
  color: #b8c9c0;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.hero-heading {
  font-size: 26px;
  line-height: 1.32;
  color: var(--ink);
}

.hero-summary {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

/* ---- 频道标签条 ---- */
.channel-strip {
  padding: 32px 0 8px;
}

.channel-strip-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.channel-tags {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.channel-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.channel-tag::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.channel-tag:hover,
.channel-tag:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.channel-tag:hover::before,
.channel-tag:focus-visible::before {
  transform: scaleX(1);
}

/* ---- 本期重点工作 ---- */
.focus-work {
  padding: 40px 0 8px;
}

.focus-work-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.focus-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.focus-media {
  min-height: 240px;
  background: #e3ddcc;
}

.focus-media img {
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.focus-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 22px;
  min-width: 0;
}

.focus-title {
  font-size: 20px;
  line-height: 1.4;
}

.focus-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.85;
  margin: 0;
}

.focus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
}

.focus-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.focus-meta dt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.focus-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.focus-body .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.work-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.work-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.work-row:hover {
  background: rgba(255, 253, 247, 0.9);
}

.work-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.work-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.work-object {
  font-size: 13px;
  color: var(--text-soft);
  min-width: 0;
}

.work-state {
  justify-self: start;
  font-size: 12px;
  color: var(--ink);
  background: #ece7d8;
  padding: 1px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
}

/* ---- 公告网格 ---- */
.notice-grid {
  padding: 40px 0 8px;
}

.notice-grid-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.notice-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "date title"
    "date desc";
  gap: 2px 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.notice-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  border-left-color: var(--accent);
}

.notice-date {
  grid-area: date;
  align-self: start;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 2px;
}

.notice-title {
  grid-area: title;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.notice-desc {
  grid-area: desc;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 4px 0 0;
}

/* ---- 年度项目记录 ---- */
.project-record {
  padding: 40px 0 8px;
}

.project-record-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.record-list {
  margin-top: 20px;
  border-top: 2px solid var(--ink);
}

.record-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.record-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.record-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.record-object {
  font-size: 13px;
  color: var(--text-soft);
  min-width: 0;
}

.record-state {
  justify-self: start;
  font-size: 12px;
  color: #2f6b52;
  background: #e6efe9;
  padding: 1px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.project-record-inner .text-link {
  margin-top: 18px;
}

/* ---- 观看前核验三步 ---- */
.verify-steps {
  padding: 40px 0 8px;
}

.verify-steps-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius);
}

.step-name {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.step-cond {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.verify-steps-inner .btn-ghost {
  margin-top: 20px;
}

/* ---- 问题分类入口 ---- */
.issue-entry {
  padding: 40px 0 8px;
}

.issue-entry-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.issue-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.issue-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.issue-item:hover {
  border-color: var(--ink);
}

.issue-name {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.issue-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.issue-item .text-link {
  margin-top: auto;
  font-size: 13px;
}

/* ==== 4.2 内页通用标题区 ==== */
.page-hero,
.page-head,
.page-intro,
.page-title-block {
  padding: 20px 0 24px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line-strong);
}

.page-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  max-width: 76ch;
  margin: 0;
}

.page-fields,
.page-meta,
.intro-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 18px 0 0;
}

.field,
.meta-item,
.intro-field,
.field-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.field-name,
.meta-item dt,
.intro-field dt,
.field-item dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.field-value,
.meta-item dd,
.intro-field dd,
.field-item dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* 内页 section 通用间距 */
.section {
  padding: 28px 0 0;
}

/* ==== 4.3 频道索引 channels.html ==== */

.section-classify .classify-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.classify-item {
  padding: 16px 18px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.classify-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.classify-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.channel-card {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 0;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.channel-figure {
  position: relative;
  min-height: 220px;
  background: #e3ddcc;
}

.channel-figure img {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.channel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--white);
  background: rgba(18, 51, 41, 0.82);
  line-height: 1.5;
}

.channel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  min-width: 0;
}

.channel-name {
  font-size: 19px;
  line-height: 1.4;
}

.channel-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.85;
  margin: 0;
}

.channel-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.compare-col {
  padding: 12px 14px;
  border-radius: var(--radius);
  min-width: 0;
}

.compare-in {
  background: #eef3ef;
  border: 1px solid #cfdcd4;
}

.compare-out {
  background: #faf0ec;
  border: 1px solid #ecd5cc;
}

.compare-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.compare-in .compare-title {
  color: #2f6b52;
}

.compare-out .compare-title {
  color: #b8492a;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.compare-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--muted);
}

.compare-in .compare-list li::before {
  background: #2f6b52;
}

.compare-out .compare-list li::before {
  background: #b8492a;
}

/* 更新节奏表 */
.rhythm-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.rhythm-table {
  min-width: 560px;
}

.rhythm-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.rhythm-table thead th {
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--ink);
  text-align: left;
  white-space: nowrap;
}

.rhythm-table tbody th {
  padding: 11px 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
  background: #f3eee0;
}

.rhythm-table tbody td {
  padding: 11px 16px;
  font-size: 13.5px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.rhythm-table tbody tr:last-child th,
.rhythm-table tbody tr:last-child td {
  border-bottom: 0;
}

.rhythm-table tbody tr:hover td,
.rhythm-table tbody tr:hover th {
  background: #fbf7ec;
}

/* 从频道到专题 */
.to-specials-inner {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--ink);
  color: #d7e2db;
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--accent);
}

.to-specials-text {
  max-width: 78ch;
}

.to-specials-text p {
  font-size: 14px;
  line-height: 1.9;
  color: #cfdad3;
}

.to-specials-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
}

.to-specials-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.to-specials-links a:hover {
  color: var(--accent);
}

/* ==== 4.4 专题片单 specials.html ==== */

.principle-block {
  padding: 28px 0 0;
}

.principle-block h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.principle-intro {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 62ch;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.principle-item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.principle-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.principle-body {
  min-width: 0;
}

.principle-body h3 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.principle-body p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.special-list {
  padding: 36px 0 0;
}

.special-list h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.special-block {
  margin-top: 26px;
  padding: 22px 24px 24px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.special-figure {
  position: relative;
  margin: -22px -24px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: #e3ddcc;
}

.special-figure img {
  aspect-ratio: 21 / 7;
  min-height: 150px;
}

.special-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--white);
  background: rgba(18, 51, 41, 0.82);
}

.special-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.special-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.special-name {
  font-size: 20px;
  line-height: 1.4;
  margin-right: auto;
}

.special-origin {
  margin: 14px 0 6px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
  max-width: 78ch;
}

.entry-list {
  margin-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.entry-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--line);
}

.entry-row:last-child {
  border-bottom: 0;
}

.entry-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 2px;
}

.entry-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.entry-tag {
  align-self: start;
  padding: 1px 9px;
  font-size: 12px;
  color: var(--ink);
  background: #ece7d8;
  border-radius: var(--radius);
  white-space: nowrap;
}

/* 状态标记说明 */
.status-legend {
  padding: 36px 0 0;
}

.status-legend h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.status-item .status-tag {
  flex: 0 0 auto;
}

.status-body {
  min-width: 0;
}

.status-body h3 {
  font-size: 15px;
  margin-bottom: 3px;
}

.status-body p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

/* 跨专题关联 */
.cross-topic {
  padding: 36px 0 0;
}

.cross-topic h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.cross-card {
  padding: 18px 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.cross-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.cross-card p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

.cross-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
}

.cross-more a {
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(242, 96, 60, 0.4);
}

.cross-more a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==== 4.5 观看指南 guide.html ==== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}

.layout-main {
  min-width: 0;
}

.layout-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-check h2,
.guide-trouble h2,
.prep-panel h2,
.record-panel h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.guide-figure {
  margin: 18px 0 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.guide-figure img {
  aspect-ratio: 16 / 7;
  min-height: 180px;
}

.guide-figure figcaption {
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  background: #f3eee0;
}

.check-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc"
    "idx cond";
  gap: 3px 14px;
  padding: 16px 18px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.check-step .step-index {
  grid-area: idx;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius);
}

.check-step .step-name {
  grid-area: name;
  font-size: 16px;
  line-height: 1.45;
}

.check-step .step-desc {
  grid-area: desc;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

.check-step .step-condition {
  grid-area: cond;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 4px 0 0;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.trouble-list {
  counter-reset: trouble;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.trouble-item {
  padding: 14px 18px 14px 46px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.trouble-item::before {
  counter-increment: trouble;
  content: counter(trouble, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.trouble-name {
  font-size: 15.5px;
  line-height: 1.45;
  margin-bottom: 4px;
}

.trouble-judge {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 4px;
}

.trouble-action {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

/* 侧栏面板 */
.prep-panel,
.record-panel {
  padding: 18px 18px 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.prep-panel h2,
.record-panel h2 {
  font-size: 18px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
}

.prep-list,
.record-panel .record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.prep-item {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.prep-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prep-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.prep-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 3px;
  word-break: break-word;
}

.prep-why {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.record-item {
  padding-left: 12px;
  border-left: 3px solid var(--muted);
  min-width: 0;
}

.record-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.record-desc {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* ==== 4.6 年度概览 report.html ==== */

.page-report .page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.page-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--ink);
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
}

.report-section {
  padding: 32px 0 0;
}

.section-head {
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.section-head h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

/* 栏目构成网格 */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.structure-card {
  padding: 16px 18px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.structure-name {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-strong);
}

.structure-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
}

.structure-fields dt {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.structure-fields dd {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  min-width: 0;
}

/* 阶段工作（编号段落） */
.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.phase-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 260px);
  grid-template-areas:
    "no body media"
    "no body media";
  gap: 0 22px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.phase-no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  padding-top: 2px;
}

.phase-body {
  grid-area: body;
  min-width: 0;
  max-width: 100%;
}

.phase-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.phase-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.phase-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 8px;
  max-width: 68ch;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.phase-output {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.phase-media {
  grid-area: media;
  align-self: start;
  background: #e3ddcc;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

.phase-media img {
  aspect-ratio: 4 / 3;
  width: 100%;
}

/* 项目记录表 */
.project-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raise);
}

.project-head,
.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: center;
  padding: 11px 16px;
}

.project-head {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.project-row {
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-soft);
}

.project-row:hover {
  background: #fbf7ec;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.project-cell {
  min-width: 0;
}

/* 数据口径 */
.metrics-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metrics-item {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  min-width: 0;
}

.metrics-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.metrics-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

/* 接下来的内容安排 */
.next-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.next-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) minmax(0, 0.8fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.next-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.next-text {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.8;
  min-width: 0;
}

.next-target {
  justify-self: start;
  font-size: 12px;
  color: var(--ink);
  background: #ece7d8;
  padding: 1px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
}

/* ==== 4.7 反馈说明 feedback.html ==== */

.page-feedback .page-title-block {
  padding-top: 20px;
}

.problem-types {
  padding-top: 8px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.problem-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc"
    "idx btn";
  gap: 4px 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.problem-card.is-active {
  border-color: var(--ink);
  background: var(--paper-raise);
  box-shadow: inset 4px 0 0 var(--accent);
}

.problem-index {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.5;
}

.problem-name {
  grid-area: name;
  font-size: 16px;
  line-height: 1.45;
}

.problem-desc {
  grid-area: desc;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.problem-switch {
  grid-area: btn;
  justify-self: start;
  margin-top: 6px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.problem-switch:hover {
  background: var(--ink);
  color: var(--white);
}

.problem-card.is-active .problem-switch {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.problem-switch[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.feedback-layout {
  margin-top: 32px;
}

.content-main {
  min-width: 0;
}

.content-aside {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.content-main h2#selfcheck-title,
.content-aside h2#info-list-title {
  font-size: 20px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  margin-bottom: 6px;
}

.aside-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 6px 0 0;
}

.selfcheck-panel {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.selfcheck-panel[hidden] {
  display: none;
}

.selfcheck-name {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-strong);
}

.selfcheck-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selfcheck-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.selfcheck-step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.step-body {
  min-width: 0;
}

.step-action {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 2px;
}

.step-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.selfcheck-link {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
}

.selfcheck-link a {
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(242, 96, 60, 0.4);
}

.selfcheck-link a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.info-item {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.info-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.info-where {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  margin: 0 0 3px;
  word-break: break-word;
}

.info-use {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.aside-figure {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e3ddcc;
}

.aside-figure img {
  aspect-ratio: 16 / 10;
}

.aside-figure figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-soft);
  background: #f3eee0;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* 处理顺序 */
.process-section {
  padding-top: 36px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  min-width: 0;
}

.process-step .process-no {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.process-name {
  font-size: 16px;
  line-height: 1.45;
}

.process-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

.process-note-tail {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.process-note-tail a {
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(242, 96, 60, 0.4);
}

.process-note-tail a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==== 4.8 404.html ==== */

.error-main {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.error-panel {
  padding: 32px 32px 30px;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius-lg);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 8px;
}

.error-title {
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.error-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 0 22px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hints {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
}

.error-hints-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.error-hint-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-hint-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.75;
}

.error-path {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  background: #ece7d8;
  padding: 1px 8px;
  border-radius: var(--radius);
}

/* 跳转链接（可访问性） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   5. responsive —— 900px / 600px 两档
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
    letter-spacing: 0.1em;
  }

  .brand-sub {
    font-size: 10.5px;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 12px 24px rgba(18, 51, 41, 0.28);
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform-origin: top center;
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    width: 100%;
    height: 48px;
    padding: 0 4px;
    font-size: 15px;
  }

  .nav-link::after {
    left: 4px;
    right: auto;
    width: 40px;
    bottom: 8px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .page-title {
    font-size: 26px;
  }

  /* 页脚 */
  .footer-inner {
    padding: 32px 16px 24px;
  }

  .footer-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
  }

  .footer-copy {
    grid-column: 1 / -1;
    order: 3;
  }

  /* 首页状态条 */
  .status-bar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    padding: 12px 16px;
  }

  .status-next {
    grid-column: 1 / -1;
    grid-row: 2;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 8px;
  }

  .status-entry {
    grid-column: 2;
    grid-row: 1;
  }

  /* 首屏焦点区 */
  .hero {
    padding: 24px 0 4px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px;
    gap: 18px;
  }

  .hero-heading {
    font-size: 24px;
  }

  .channel-strip-inner,
  .focus-work-inner,
  .notice-grid-inner,
  .project-record-inner,
  .verify-steps-inner,
  .issue-entry-inner {
    padding: 0 16px;
  }

  .channel-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .focus-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-media img {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .notice-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .issue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 内页两栏 -> 单栏 */
  .page-layout,
  .feedback-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .layout-side {
    order: 2;
  }

  .classify-list,
  .principle-list,
  .status-list,
  .cross-grid,
  .structure-grid,
  .metrics-list,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-figure {
    min-height: 0;
  }

  .channel-figure img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .channel-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 阶段工作：图片移到正文下方 */
  .phase-item {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "no body"
      "no media";
    gap: 14px 16px;
  }

  .phase-media {
    margin-top: 4px;
  }

  .phase-media img {
    aspect-ratio: 16 / 9;
  }

  .project-head {
    display: none;
  }

  .project-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    padding: 14px 16px;
  }

  .next-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .next-target {
    justify-self: start;
  }

  .error-panel {
    padding: 26px 22px 24px;
  }

  .error-code {
    font-size: 46px;
  }

  .error-title {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  body.site-body {
    font-size: 14.5px;
  }

  .brand-sub {
    display: none;
  }

  .inner-main {
    padding: 0 14px 40px;
  }

  .page-header {
    padding: 6px 0 16px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 24px;
    padding-left: 10px;
    border-left-width: 5px;
  }

  .breadcrumb {
    padding: 14px 0 2px;
    font-size: 12px;
  }

  /* 页脚单列 */
  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .back-top {
    justify-self: start;
    margin-top: 6px;
  }

  /* 状态条纵向 */
  .status-bar-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .status-entry {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .status-next-list {
    flex-direction: column;
    gap: 4px;
  }

  .status-next-list li {
    justify-content: flex-start;
  }

  /* 首屏焦点区 */
  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .hero-caption {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tag"
      "title"
      "desc";
    padding: 14px 16px 16px;
    gap: 6px;
  }

  .hero-tag {
    justify-self: start;
  }

  .hero-title {
    font-size: 18px;
  }

  .hero-side {
    padding: 18px 16px;
  }

  .hero-heading {
    font-size: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  /* 频道标签两列 */
  .channel-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .channel-tag {
    min-height: 46px;
    font-size: 13.5px;
  }

  .section-title {
    font-size: 19px;
  }

  /* 条目行：字段换行卡片 */
  .work-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 2px 10px;
    padding: 12px 2px;
  }

  .work-no {
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 2px;
  }

  .work-name {
    grid-column: 2;
  }

  .work-object {
    grid-column: 2;
    font-size: 12.5px;
  }

  .work-state {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .notice-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "date"
      "title"
      "desc";
    gap: 2px;
    padding: 14px 16px;
  }

  .notice-date {
    padding-top: 0;
    margin-bottom: 2px;
  }

  .record-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 2px 10px;
    padding: 12px 2px;
  }

  .record-no {
    grid-row: 1 / 4;
    align-self: start;
    padding-top: 2px;
  }

  .record-name,
  .record-object,
  .record-state {
    grid-column: 2;
  }

  .record-state {
    margin-top: 4px;
  }

  .issue-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .classify-list,
  .principle-list,
  .status-list,
  .cross-grid,
  .structure-grid,
  .metrics-list,
  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-body {
    padding: 16px;
  }

  .special-block {
    padding: 18px 16px 20px;
  }

  .special-figure {
    margin: -18px -16px 16px;
  }

  .special-figure img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .special-name {
    font-size: 18px;
  }

  .entry-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .entry-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .guide-figure img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .check-step {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px 14px;
    gap: 3px 12px;
  }

  .check-step .step-index {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .trouble-item {
    padding: 14px 14px 14px 40px;
  }

  .trouble-item::before {
    left: 12px;
    top: 14px;
  }

  .prep-panel,
  .record-panel,
  .content-aside {
    padding: 16px 14px 18px;
  }

  /* 阶段工作：单列 */
  .phase-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "no"
      "body"
      "media";
    gap: 8px;
    padding: 18px 2px;
  }

  .phase-no {
    font-size: 17px;
  }

  .phase-name {
    font-size: 16.5px;
  }

  .phase-text {
    font-size: 13.5px;
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .project-name {
    font-size: 14px;
  }

  .next-item {
    padding: 12px 2px;
  }

  .problem-card {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px 14px;
  }

  .selfcheck-panel {
    padding: 14px 14px;
  }

  .selfcheck-step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .selfcheck-step .step-no {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .process-step {
    padding: 16px 16px 14px;
  }

  /* 翻页导航 */
  .pager,
  .page-pager,
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 36px;
  }

  .pager-next,
  .post-nav-next {
    text-align: left;
  }

  .error-main {
    padding: 36px 14px 48px;
  }

  .error-panel {
    padding: 22px 16px 20px;
  }

  .error-code {
    font-size: 40px;
  }

  .error-title {
    font-size: 21px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
  }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
