/* ==========================================================================
   哔咔漫画 · 全站样式表
   分组：base / layout / components / pages / responsive
   字体：系统中文黑体栈，无外部字体
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版基础
   -------------------------------------------------------------------------- */
:root {
  --bg: #f6f7f6;
  --surface: #ffffff;
  --ink: #1d2220;
  --ink-soft: #5d6661;
  --line: #dfe3e0;
  --accent: #2f7a63;
  --accent-soft: #e7f0eb;
  --tag: #8a6f3c;
  --radius: 6px;
  --container: 1160px;
  --gutter: 24px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

h1 { font-size: 32px; line-height: 1.3; }
h2 { font-size: 22px; line-height: 1.4; }
h3 { font-size: 17px; line-height: 1.5; }
h4 { font-size: 15px; line-height: 1.5; }

p {
  margin: 0 0 12px;
  max-width: 42em;
}

ul,
ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

li {
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout：外壳、容器、主区、页脚骨架
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-stack);
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.brand-slogan {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item > a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  line-height: 1.4;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nav-item > a:hover,
.nav-item > a:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.nav-item.is-current > a {
  color: var(--accent);
  background: var(--accent-soft);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* 移动导航容器：桌面不占位，手机由 media 打开 */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav-list {
  margin: 0;
  padding: 6px var(--gutter) 10px;
  list-style: none;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.mobile-nav-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* 当前位置说明行 */
.nav-location {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

/* 主区 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) 48px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 20px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.page-head {
  margin-bottom: 20px;
}

.page-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0 0 8px;
}

.page-status {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin: 0;
}

/* 页脚 */
.site-footer {
  flex: 0 0 auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group li {
  margin-bottom: 6px;
}

.footer-group a {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-group a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46em;
}

.footer-copy {
  color: var(--ink-soft);
}

/* 双栏布局骨架：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside,
.page-aside,
.content-aside {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   components：通用组件
   -------------------------------------------------------------------------- */

/* 章节标题与说明 */
.section-title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}

.section-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0 0 18px;
}

.section-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46em;
  margin: 0 0 18px;
}

.section-note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.section {
  margin-bottom: 40px;
}

.sub-title {
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 10px;
}

/* 表格 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 0;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #f1f3f1;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td,
.data-table tbody tr:hover th {
  background: #fafbfa;
}

/* 标签 */
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #f4f6f4;
  white-space: nowrap;
}

.tag-subject {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #cfe2d8;
}

.tag-status {
  color: var(--tag);
  background: #f8f2e6;
  border-color: #e7dcc4;
}

/* 按钮与文字链接 */
.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #256a55;
  border-color: #256a55;
  color: #fff;
  text-decoration: none;
}

.btn-link {
  display: inline-block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.btn-link:hover,
.btn-link:focus-visible {
  background: var(--accent-soft);
  text-decoration: none;
}

.link-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* 封面卡（首页封面墙 + 题材索引共用结构差异由父级限定） */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cover-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.cover-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cover-card > a {
  display: block;
  color: inherit;
  padding: 10px;
}

.cover-card > a:hover {
  text-decoration: none;
}

.cover-figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: #eef1ef;
  margin: 0 0 10px;
}

.cover-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 6px;
  color: var(--ink);
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

/* 侧栏基础块 */
.aside-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}

.aside-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.aside-text:last-child {
  margin-bottom: 0;
}

.aside-note {
  background: #f3f6f4;
}

/* 编号规则列表（首页规则带 + 榜单页排序说明共用 .rule-list，用父级区分） */
.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

/* 锚点目录 */
.anchor-list,
.toc-list,
.aside-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.anchor-list li,
.toc-list li,
.aside-link-list li {
  border-bottom: 1px solid var(--line);
}

.anchor-list li:last-child,
.toc-list li:last-child,
.aside-link-list li:last-child {
  border-bottom: 0;
}

.anchor-list a,
.toc-list a,
.aside-link-list a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.anchor-list a:hover,
.toc-list a:hover,
.aside-link-list a:hover {
  color: var(--accent);
}

/* 图片说明 */
figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   pages：各页面业务模块
   -------------------------------------------------------------------------- */

/* ===== 首页 ===== */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 48px;
}

.hero {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
}

.hero-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 0 16px;
}

.hero-points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-points strong {
  color: var(--ink);
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1ef;
}

/* 题材标签条 */
.tag-bar {
  margin-bottom: 36px;
}

.tag-bar .section-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.tag-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.tag-item {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tag-item:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.tag-item.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
  font-weight: 600;
}

/* 题材对照表区 */
.subject-table-section {
  margin-bottom: 40px;
}

.subject-table tbody th {
  color: var(--accent);
}

/* 封面墙区 */
.cover-wall-section {
  margin-bottom: 40px;
}

/* 最近更新区 */
.update-section {
  margin-bottom: 40px;
}

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.update-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.update-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.update-item:last-child {
  border-bottom: 0;
}

.update-index {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.7;
}

.update-body {
  min-width: 0;
}

.update-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 2px;
  color: var(--ink);
}

.update-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.update-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.update-aside h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.update-aside p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.update-aside .link-more {
  font-size: 13px;
}

/* 榜单与专题合辑卡 */
.topic-section {
  margin-bottom: 40px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.topic-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.topic-card > a {
  display: block;
  padding: 10px;
  color: inherit;
}

.topic-card > a:hover {
  text-decoration: none;
}

.topic-figure {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #eef1ef;
  margin: 0 0 10px;
}

.topic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
  color: var(--ink);
}

.topic-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* 规则要点带 */
.rule-band {
  background: var(--accent-soft);
  border: 1px solid #cfe2d8;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 8px;
}

.rule-band .section-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.rule-band .rule-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.rule-band .rule-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.rule-band .rule-index {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.7;
}

.rule-band .rule-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  min-width: 0;
}

/* ===== 题材索引页 ===== */
.page-title-section {
  margin-bottom: 20px;
}

.subject-groups {
  margin-bottom: 40px;
}

.group-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  scroll-margin-top: 90px;
}

.group-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}

.group-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 4px;
}

.group-meta {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
}

.cover-wall {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.cover-wall .cover-card-link {
  display: flex;
  flex-direction: column;
  padding: 10px;
  color: inherit;
}

.cover-wall .cover-card-link:hover {
  text-decoration: none;
}

.cover-body {
  min-width: 0;
}

.cover-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 4px 0 8px;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field-dictionary {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ===== 更新记录页 ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.record-intro {
  margin-bottom: 32px;
}

.record-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 42em;
}

.record-rule {
  font-size: 13px;
  line-height: 1.7;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin: 12px 0 0;
  max-width: 42em;
}

.record-list {
  margin-bottom: 32px;
}

.entry-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.entry-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.entry-item:last-child {
  border-bottom: 0;
}

.entry-no {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.7;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 2px;
  color: var(--ink);
}

.entry-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.follow-hint {
  margin-bottom: 32px;
}

.hint-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hint-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.hint-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 6px;
}

.hint-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 6px;
}

.hint-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.related-entry {
  margin-bottom: 32px;
}

.related-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links li {
  margin: 0;
}

.related-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.status-table th,
.status-table td {
  padding: 8px 10px;
  text-align: left;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.status-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: #f1f3f1;
  white-space: nowrap;
}

.status-table tbody tr:last-child th,
.status-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ===== 榜单与专题页 ===== */
.section-compare {
  margin-bottom: 40px;
}

.compare-table tbody th {
  color: var(--accent);
}

.collection-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
}

.collection-intro {
  min-width: 0;
}

.collection-intro h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.collection-intro p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.collection-basis {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  background: #f3f6f4;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 0 0 10px;
}

.collection-figure {
  margin: 0;
  min-width: 0;
}

.collection-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #eef1ef;
}

.work-list {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.work-mini {
  margin: 0;
  min-width: 0;
}

.work-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fafbfa;
}

.work-mini a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.work-mini-name {
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}

.section-rules {
  margin-bottom: 40px;
}

.section-rules .rule-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section-rules .rule-list > li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.section-rules .rule-list h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.section-rules .rule-list p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.section-note .note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.note-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.note-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.note-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.section-more {
  margin: 0;
}

/* ===== 作品条目示例页 ===== */
.work-basic {
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

.work-basic-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 24px;
  align-items: start;
}

.work-cover {
  margin: 0;
  min-width: 0;
}

.work-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1ef;
}

.work-fields {
  min-width: 0;
}

.work-fields-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-table th,
.field-table td {
  padding: 9px 12px;
  text-align: left;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.field-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: #f1f3f1;
  white-space: nowrap;
}

.field-table tbody th {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.work-structure {
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

.structure-figure {
  margin: 0 0 16px;
}

.structure-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1ef;
}

.level-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.level-table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.level-table th,
.level-table td {
  padding: 9px 12px;
  text-align: left;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.level-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: #f1f3f1;
  white-space: nowrap;
}

.level-table tbody tr:last-child th,
.level-table tbody tr:last-child td {
  border-bottom: 0;
}

.order-steps {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

.order-steps li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.order-steps li strong {
  color: var(--ink);
}

.structure-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: #f3f6f4;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 0;
}

.work-related {
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: inherit;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.related-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.related-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
  color: var(--ink);
}

.related-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.aside-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.source-note {
  background: var(--accent-soft);
  border: 1px solid #cfe2d8;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.source-note p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  max-width: none;
}

.aside-tips {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.tips-list {
  margin: 0;
  padding-left: 1.2em;
}

.tips-list li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

/* ===== 阅读说明页 ===== */
.anchor-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 28px;
}

.anchor-toc-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.anchor-toc ol {
  margin: 0;
  padding-left: 1.3em;
}

.anchor-toc li {
  font-size: 13px;
  line-height: 1.7;
}

.guide-section {
  margin-bottom: 36px;
  scroll-margin-top: 90px;
}

.guide-section h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.guide-section h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.guide-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 42em;
}

.guide-figure {
  margin: 16px 0;
}

.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1ef;
}

.step-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.step-list > li {
  position: relative;
  padding: 12px 16px 12px 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  min-width: 0;
}

.step-list > li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.step-list h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}

.step-list p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0 16px;
}

.term-table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.term-table th,
.term-table td {
  padding: 10px 14px;
  text-align: left;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.term-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: #f1f3f1;
  white-space: nowrap;
}

.term-table tbody th {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.term-table tbody tr:last-child th,
.term-table tbody tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 40px 10px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

/* ===== 版权与反馈页 ===== */
.content-narrow {
  max-width: 880px;
}

.content-narrow .section {
  margin-bottom: 36px;
}

.content-narrow h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.content-narrow p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 42em;
}

.media-figure {
  margin: 16px 0;
}

.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef1ef;
}

.note-block {
  background: #f3f6f4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
}

.note-block h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.note-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.plain-list {
  margin: 0;
  padding-left: 1.2em;
}

.plain-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.plain-list li:last-child {
  margin-bottom: 0;
}

.fix-flow .step-list {
  counter-reset: fix-step;
}

.fix-flow .step-list > li::before {
  counter-increment: fix-step;
  content: counter(fix-step);
}

.fix-flow .step-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}

.fix-flow .step-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-item {
  position: relative;
  padding: 10px 14px 10px 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.check-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.feedback-checklist .related-entry {
  margin-top: 24px;
}

/* ===== 404 ===== */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter) 72px;
  width: 100%;
}

.error-block {
  max-width: 640px;
}

.error-code {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 10px;
}

.error-block h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.error-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.error-links {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-links a {
  display: inline-block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.error-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* --------------------------------------------------------------------------
   responsive：900px / 600px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* 导航折叠 */
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .nav-location {
    border-top: 1px solid var(--line);
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 12px;
  }

  /* 页脚单列 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  /* 双栏布局：aside 落到主内容之后通栏 */
  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* 首页 */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-media {
    order: 2;
  }

  .update-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-band .rule-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 题材索引封面墙保持三列偏密，改为两列 */
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 榜单页区块 */
  .collection-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .section-rules .rule-list,
  .section-note .note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 作品条目 */
  .work-basic-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .work-cover {
    max-width: 320px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hint-examples {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  h1,
  .page-title,
  .hero-text h1,
  .error-block h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  h2,
  .section-title,
  .guide-section h2,
  .content-narrow h2 {
    font-size: 19px;
  }

  h3 {
    font-size: 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-location {
    padding: 8px 16px;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  /* 封面墙两列 */
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-card > a,
  .cover-wall .cover-card-link {
    padding: 8px;
  }

  .cover-name {
    font-size: 14px;
  }

  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 更新条目：状态标签移到序号之后 */
  .update-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 12px;
  }

  .update-item .tag-status {
    grid-column: 2;
    justify-self: start;
  }

  .entry-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 12px;
  }

  .entry-item .tag-status {
    grid-column: 2;
    justify-self: start;
  }

  /* 表格转逐行标签式 */
  .table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .data-table {
    display: block;
    background: transparent;
  }

  .data-table caption {
    display: block;
    padding: 0 0 8px;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 4px 0;
  }

  .data-table tbody th {
    white-space: normal;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    padding: 10px 14px;
  }

  .data-table td {
    border-bottom: 1px dashed var(--line);
    padding: 8px 14px;
    font-size: 14px;
  }

  .data-table td:last-child {
    border-bottom: 0;
  }

  .data-table tbody tr:hover td,
  .data-table tbody tr:hover th {
    background: transparent;
  }

  /* 字段表、层级表、术语表、状态表同样转块式 */
  .field-table,
  .level-table,
  .term-table,
  .status-table {
    display: block;
    border: 0;
    background: transparent;
  }

  .field-table caption,
  .level-table caption,
  .term-table caption {
    display: block;
    padding: 0 0 8px;
  }

  .field-table thead,
  .level-table thead,
  .term-table thead,
  .status-table thead {
    display: none;
  }

  .field-table tbody,
  .field-table tr,
  .field-table th,
  .field-table td,
  .level-table tbody,
  .level-table tr,
  .level-table th,
  .level-table td,
  .term-table tbody,
  .term-table tr,
  .term-table th,
  .term-table td,
  .status-table tbody,
  .status-table tr,
  .status-table th,
  .status-table td {
    display: block;
    width: 100%;
  }

  .field-table tr,
  .level-table tr,
  .term-table tr,
  .status-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 10px;
    padding: 2px 0;
  }

  .field-table tbody th,
  .level-table tbody th,
  .term-table tbody th,
  .status-table tbody th {
    white-space: normal;
    border-bottom: 1px solid var(--line);
    padding: 9px 12px;
    color: var(--accent);
  }

  .field-table td,
  .level-table td,
  .term-table td,
  .status-table td {
    border-bottom: 1px dashed var(--line);
    padding: 8px 12px;
  }

  .field-table td:last-child,
  .level-table td:last-child,
  .term-table td:last-child,
  .status-table td:last-child {
    border-bottom: 0;
  }

  /* 作品条目封面居中 */
  .work-cover {
    max-width: 260px;
    margin: 0 auto;
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list > li {
    padding: 12px 14px 12px 42px;
  }

  .step-list > li::before {
    left: 12px;
  }

  .faq-item summary {
    padding: 12px 38px 12px 14px;
  }

  .faq-item p {
    padding: 0 14px 14px;
  }

  .rule-band {
    padding: 18px 16px;
  }

  .collection-block {
    padding: 16px;
  }

  .error-main {
    padding: 36px 16px 56px;
  }

  .error-links {
    flex-direction: column;
    align-items: stretch;
  }

  .error-links a {
    text-align: center;
  }

  .related-links {
    flex-direction: column;
    align-items: stretch;
  }

  .related-links a {
    text-align: center;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
