/* ==========================================================================
   911吃瓜网 · 漫画作品档案站 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与重置
   -------------------------------------------------------------------------- */

:root {
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --ink: #17181C;
  --gray: #6B6760;
  --line: #DCD7CC;
  --red: #C8442B;
  --blue: #2E4A7D;
  --green: #2F7A6B;
  --red-light: #F3E4E0;

  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1120px;
  --wide: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0 0 12px;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

a:hover {
  color: var(--red);
  text-decoration-thickness: 2px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.brand-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.brand-name:hover {
  color: var(--red);
}

.brand-slogan {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray);
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.nav-item a:hover::after {
  transform: scaleX(1);
}

.nav-item.is-current a {
  color: var(--red);
}

.nav-item.is-current a::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.home-main {
  padding-bottom: 56px;
}

.layout-shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.sidebar-left .page-layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.sidebar-left .page-layout > .side-column {
  order: -1;
}

.main-column,
.content-column,
.content-main {
  min-width: 0;
}

.side-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumb-item {
  font-size: 13px;
  color: var(--gray);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}

.breadcrumb-item a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--red);
  text-decoration: underline;
}

.breadcrumb-item.is-current {
  color: var(--ink);
}

/* 页面标题区 */

.page-header {
  padding: 20px 0 4px;
}

.page-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  line-height: 1.3;
}

.page-hero {
  padding: 12px 0 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-summary {
  margin: 0 0 8px;
  max-width: 76ch;
  font-size: 16px;
  color: var(--ink);
}

.page-meta,
.page-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--gray);
}

.page-head {
  padding: 12px 0 0;
}

.page-head .page-summary {
  max-width: 76ch;
}

/* 页脚 */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-brand-name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.footer-brand-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.footer-col-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--red);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 14px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}

.back-to-top {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.back-to-top:hover {
  color: var(--red);
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */

.section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2,
.section-title {
  position: relative;
  padding-left: 14px;
  font-size: clamp(20px, 2.4vw, 24px);
}

.section-head h2::before,
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 4px;
  height: 1em;
  background: var(--red);
}

.section-desc,
.section-intro,
.section-lead {
  margin: 8px 0 0;
  max-width: 76ch;
  font-size: 15px;
  color: var(--gray);
}

.section-foot {
  margin: 16px 0 0;
}

.more-link,
.text-link {
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
}

.more-link:hover,
.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 标签 */

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag-subject {
  background: rgba(46, 74, 125, .1);
  color: var(--blue);
}

.tag-structure {
  background: rgba(23, 24, 28, .06);
  color: var(--ink);
}

.tag-length {
  background: rgba(200, 68, 43, .1);
  color: var(--red);
}

.tag-status {
  background: rgba(47, 122, 107, .12);
  color: var(--green);
}

.tag-blue {
  background: rgba(46, 74, 125, .1);
  color: var(--blue);
}

.tag-ink {
  background: rgba(23, 24, 28, .06);
  color: var(--ink);
}

/* 表格 */

.data-table,
.field-table,
.rank-rule-table,
.compare-table,
.combo-table {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
}

.data-table th,
.data-table td,
.field-table th,
.field-table td,
.rank-rule-table th,
.rank-rule-table td,
.compare-table th,
.compare-table td,
.combo-table th,
.combo-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.field-table thead th,
.rank-rule-table thead th,
.compare-table thead th,
.combo-table thead th {
  background: var(--paper);
  font-weight: 600;
  font-size: 14px;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.rank-rule-table tbody tr:last-child th,
.rank-rule-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td,
.combo-table tbody tr:last-child th,
.combo-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table-caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 13px;
  color: var(--gray);
}

.field-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

/* 可展开问答 */

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 14px 40px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--red);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  margin: 0;
  font-size: 15px;
  color: var(--gray);
}

/* 图片容器 */

.section-figure,
.section-media,
.rank-figure,
.coop-figure,
.article-figure,
.panel-analysis-figure {
  margin: 20px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.section-figure img,
.section-media img,
.rank-figure img,
.rank-figure-img,
.coop-figure img,
.article-figure img,
.panel-analysis-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-figure figcaption,
.section-media figcaption,
.rank-figure-caption,
.coop-figure figcaption,
.figure-caption,
.article-figure figcaption,
.panel-analysis-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* 相关链接 */

.related-links {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.related-item {
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.related-link {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.related-link:hover {
  color: var(--red);
  text-decoration: underline;
}

.related-desc,
.related-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--gray);
}

/* 侧栏卡片 */

.side-card,
.aside-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.side-title,
.side-card-title,
.aside-card-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.side-links,
.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-links a,
.aside-link-list a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.side-links a:hover,
.aside-link-list a:hover {
  color: var(--red);
  text-decoration: underline;
}

.side-text,
.aside-card-text,
.aside-card-intro {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--gray);
}

.side-link-btn,
.aside-card-link {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red);
  border-radius: 4px;
  min-height: 40px;
}

.side-link-btn:hover,
.aside-card-link:hover {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

/* 页内锚点导航 */

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  scrollbar-width: none;
}

.anchor-list::-webkit-scrollbar {
  display: none;
}

.anchor-item a {
  position: relative;
  display: inline-block;
  padding: 12px 10px;
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  white-space: nowrap;
}

.anchor-item a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.anchor-item a:hover,
.anchor-item a.is-active {
  color: var(--ink);
}

.anchor-item a.is-active::after {
  transform: scaleX(1);
}

/* 滚动出现增强（仅在不支持 reduced-motion 且已启用脚本时生效） */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero-console {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--gutter) 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.hero-copy h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.25;
}

.hero-lead {
  margin: 14px 0 22px;
  max-width: 56ch;
  font-size: 16px;
  color: var(--gray);
}

.hero-tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-card {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s ease;
}

.task-card:hover {
  border-color: var(--red);
}

.task-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.task-title {
  margin: 6px 0 4px;
  font-size: 16px;
}

.task-desc {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.task-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.task-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* 首页题材定义列表 */

.subject-dl {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.subject-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.subject-row:last-child {
  border-bottom: 0;
}

.subject-term {
  font-size: 15px;
  font-weight: 600;
}

.subject-def {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

/* 首页封面墙 */

.cover-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.cover-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .18s ease;
}

.cover-card:hover {
  border-color: var(--red);
}

.cover-figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.cover-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .25s ease;
}

.cover-card:hover .cover-figure img {
  transform: scale(1.02);
}

.cover-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cover-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.cover-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.cover-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 首页榜单摘要 */

.rank-rows,
.batch-rows {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-name {
  font-size: 15px;
  font-weight: 600;
}

.rank-dim {
  font-size: 14px;
  color: var(--gray);
}

.rank-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

.rank-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 首页批次摘要 */

.batch-row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) minmax(120px, 160px) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.batch-row:last-child {
  border-bottom: 0;
}

.batch-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
}

.batch-scope {
  font-size: 14px;
  color: var(--gray);
}

.batch-change {
  font-size: 13px;
  color: var(--green);
}

.batch-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

.batch-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 首页字段速查与阅读说明 */

.field-quick-reference .field-table {
  margin-bottom: 20px;
}

.reading-note {
  padding: 16px 18px;
  background: var(--red-light);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
}

.note-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.note-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.note-text:last-child {
  margin-bottom: 0;
}

/* 首页侧栏收录维度 */

.dimension-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dimension-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dimension-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue);
}

.dimension-val {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   pages · 题材分类
   -------------------------------------------------------------------------- */

.category-overview .overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.overview-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.card-index {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.card-title {
  margin: 0 0 8px;
  font-size: 17px;
}

.card-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.card-tags {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue);
}

.category-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.category-block:last-child {
  border-bottom: 0;
}

.category-head {
  margin-bottom: 14px;
}

.category-name {
  font-size: 18px;
}

.category-note {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--gray);
}

.category-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.category-tags-col,
.category-scope-col {
  min-width: 0;
}

.sub-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 2px 10px;
  background: rgba(46, 74, 125, .08);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue);
}

.scope-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
}

.scope-exclude {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  padding-left: 12px;
  border-left: 3px solid var(--line);
}

.scope-faq {
  margin-top: 24px;
}

.combo-section .combo-table {
  margin-top: 16px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 13px;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   pages · 作品档案
   -------------------------------------------------------------------------- */

.page-title-block {
  padding: 20px 0 0;
}

.page-title-block .page-summary {
  max-width: 76ch;
}

.field-legend .data-table {
  margin-top: 16px;
}

.archive-list .group-title {
  margin: 24px 0 10px;
  padding-left: 12px;
  font-size: 16px;
  border-left: 3px solid var(--red);
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s ease;
}

.entry-row:hover {
  border-color: var(--red);
}

.entry-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
}

.entry-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.entry-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.entry-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.entry-batch {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--green);
}

.entry-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.entry-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.inclusion-standard .standard-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.standard-col {
  min-width: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.col-title {
  margin: 0 0 10px;
  font-size: 15px;
}

.standard-included .col-title {
  color: var(--green);
}

.standard-excluded .col-title {
  color: var(--red);
}

.standard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.standard-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.standard-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.standard-included .standard-list li::before {
  background: var(--green);
}

.standard-excluded .standard-list li::before {
  background: var(--red);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue);
}

.filter-list dd {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   pages · 年份归档
   -------------------------------------------------------------------------- */

.batch-intro .intro-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.intro-item {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.intro-item-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.intro-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.batch-timeline .timeline-list {
  position: relative;
  margin-top: 20px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.timeline-node {
  position: relative;
  padding: 0 0 28px 20px;
}

.timeline-node:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
}

.timeline-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline-note,
.timeline-entries {
  min-width: 0;
}

.timeline-batch {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--red);
}

.timeline-desc {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.timeline-tags {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue);
}

.timeline-entries-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.timeline-entries .entry-list {
  gap: 8px;
}

.entry-item {
  padding: 8px 10px;
  background: var(--paper);
  border-radius: 4px;
  font-size: 14px;
}

.entry-item a {
  color: var(--ink);
  text-decoration: none;
}

.entry-item a:hover {
  color: var(--red);
  text-decoration: underline;
}

.dimension-compare .compare-table {
  margin-top: 16px;
}

.module-guide .guide-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.guide-col {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.guide-col-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.guide-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   pages · 榜单排行
   -------------------------------------------------------------------------- */

.rank-figure {
  margin: 0 0 8px;
}

.rank-rules .rank-rule-table {
  margin-top: 16px;
}

.rank-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.rank-board {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.rank-board-title {
  margin: 0 0 6px;
  font-size: 17px;
}

.rank-board-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--gray);
}

.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-no {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gray);
}

.rank-item:nth-child(-n+3) .rank-no {
  color: var(--red);
  font-weight: 600;
}

.rank-desc {
  font-size: 13px;
  color: var(--gray);
}

.rank-board-foot {
  margin: 14px 0 0;
}

.rank-usage .usage-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.usage-col {
  min-width: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.usage-col-title {
  margin: 0 0 10px;
  font-size: 15px;
}

.usage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usage-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.usage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   pages · 更新动态
   -------------------------------------------------------------------------- */

.update-log .container {
  min-width: 0;
}

.batch-summary .batch-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.batch-summary .batch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.batch-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.batch-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.batch-summary .batch-scope {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
}

.batch-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(47, 122, 107, .12);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.batch-summary .batch-change {
  margin: 0;
  font-size: 13px;
  color: var(--green);
}

.change-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.change-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.change-item:last-child {
  border-bottom: 0;
}

.change-term {
  font-size: 15px;
  font-weight: 600;
}

.change-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.step-item {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.step-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.step-name {
  margin: 0 0 6px;
  font-size: 16px;
}

.step-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.step-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.step-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.side-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   pages · 创作手记
   -------------------------------------------------------------------------- */

.content-main.article-main {
  min-width: 0;
}

.craft-article {
  max-width: 720px;
}

.article-section {
  padding: 8px 0 24px;
}

.article-section h2 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 14px;
  font-size: clamp(20px, 2.4vw, 24px);
}

.article-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 4px;
  height: 1em;
  background: var(--red);
}

.article-section p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.9;
}

.article-figure {
  margin: 20px 0;
}

.panel-analysis {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.panel-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 16px;
  align-items: start;
}

.panel-analysis-figure {
  margin: 0;
}

.panel-analysis-points {
  min-width: 0;
}

.panel-analysis-title {
  margin: 0 0 10px;
  font-size: 16px;
}

.observation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.observation-item {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.observation-index {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--red);
}

.source-note {
  margin: 8px 0 24px;
  padding: 14px 16px;
  background: var(--red-light);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
}

.source-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
}

.content-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-note-item {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--gray);
}

.aside-note-index {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   pages · 合作说明
   -------------------------------------------------------------------------- */

.page-cooperation .page-hero-inner {
  min-width: 0;
}

.page-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.page-lead {
  margin: 0 0 8px;
  max-width: 76ch;
  font-size: 16px;
}

.coop-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.coop-type-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.coop-type-num {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.coop-type-name {
  margin: 0 0 10px;
  font-size: 17px;
}

.coop-type-audience,
.coop-type-need,
.coop-type-handle {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.coop-type-handle {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.scope-col {
  min-width: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.scope-col-title {
  margin: 0 0 12px;
  font-size: 16px;
}

.scope-included .scope-col-title {
  color: var(--green);
}

.scope-excluded .scope-col-title {
  color: var(--red);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scope-item {
  padding-left: 14px;
  border-left: 3px solid var(--line);
}

.scope-included .scope-item {
  border-left-color: var(--green);
}

.scope-excluded .scope-item {
  border-left-color: var(--red);
}

.scope-item-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.scope-item-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.coop-faq .faq-list {
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feedback-step {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feedback-step-num {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--red);
}

.feedback-step-name {
  margin: 0 0 8px;
  font-size: 16px;
}

.feedback-step-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.feedback-step-link {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.feedback-step-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.error-panel {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--red);
}

.error-title {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 12px;
}

.error-desc {
  margin: 0 0 20px;
  max-width: 60ch;
  font-size: 16px;
  color: var(--gray);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
}

.error-home-link:hover {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.error-routes {
  padding: 32px 0;
}

.error-routes-title {
  margin: 0 0 16px;
  font-size: 20px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.error-route-list a {
  display: block;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
}

.error-route-list a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   responsive · 断点
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .category-columns,
  .timeline-body,
  .panel-analysis-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-visual {
    order: 2;
  }

  .rank-row,
  .batch-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: start;
  }

  .rank-link,
  .batch-link {
    justify-self: start;
  }

  .batch-summary .batch-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .change-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 18px;
    --header-h: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    margin-left: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-item a::after {
    display: none;
  }

  .nav-item.is-current a {
    border-left: 3px solid var(--red);
    padding-left: 12px;
  }

  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sidebar-left .page-layout > .side-column {
    order: 0;
  }

  .hero-inner {
    padding: 28px var(--gutter) 24px;
  }

  .hero-tasks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .subject-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .entry-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-cover img {
    aspect-ratio: 16 / 9;
  }

  .inclusion-standard .standard-columns,
  .rank-usage .usage-columns,
  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .batch-timeline .timeline-list {
    padding-left: 14px;
  }

  .timeline-node {
    padding-left: 14px;
  }

  .timeline-marker {
    left: -20px;
  }

  .data-table,
  .field-table,
  .rank-rule-table,
  .compare-table,
  .combo-table {
    font-size: 14px;
  }

  .data-table th,
  .data-table td,
  .field-table th,
  .field-table td,
  .rank-rule-table th,
  .rank-rule-table td,
  .compare-table th,
  .compare-table td,
  .combo-table th,
  .combo-table td {
    padding: 9px 10px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero-tasks {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .rank-item .tag,
  .rank-item .rank-desc,
  .rank-item .rank-link {
    grid-column: 2;
  }

  .observation-item {
    padding-left: 26px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
