/* ==========================================================================
   宅男视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --ink: #172033;
  --ink-soft: #2c3547;
  --red: #b3262e;
  --red-deep: #8f1e25;
  --paper: #fbf8f2;
  --paper-deep: #eee9df;
  --text: #1f2328;
  --text-soft: #4a4f58;
  --line: #d8d2c6;
  --line-strong: #bdb5a5;
  --yellow: #e8b84b;
  --teal: #2f6f73;
  --blue: #2c4a7c;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --wrap: 1180px;
  --wrap-text: 1120px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   layout · 骨架
   ========================================================================== */

.site-header {
  background: var(--ink);
  color: #f4efe4;
  border-bottom: 3px solid var(--red);
}

.masthead-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.masthead-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: #f4efe4;
}

.brand-link:hover,
.brand-link:focus-visible {
  color: #fff;
}

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 12px;
  color: #b8b1a1;
  letter-spacing: 0.06em;
  border-left: 1px solid #4a5266;
  padding-left: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid #4a5266;
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #f4efe4;
  border-radius: 1px;
}

.site-nav {
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  color: #d5cfc2;
  border-bottom: 2px solid transparent;
  line-height: 1.5;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  border-bottom-color: var(--yellow);
}

.nav-link.is-current {
  color: #fff;
  font-weight: 700;
  border-bottom-color: var(--red);
}

.channel-stripe {
  display: flex;
  height: 5px;
  width: 100%;
}

.stripe-seg {
  display: block;
  height: 100%;
}

.seg-blue {
  flex: 3;
  background: var(--blue);
}

.seg-red {
  flex: 4;
  background: var(--red);
}

.seg-teal {
  flex: 2;
  background: var(--teal);
}

.seg-yellow {
  flex: 1;
  background: var(--yellow);
}

.site-main {
  display: block;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap-text);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.breadcrumb {
  max-width: var(--wrap-text);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.inner-main > .breadcrumb {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--teal);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--text-soft);
}

.page-header {
  max-width: var(--wrap-text);
  margin: 0 auto;
  padding: 20px 20px 24px;
  border-bottom: 1px solid var(--line);
}

.inner-main > .page-header {
  padding-left: 0;
  padding-right: 0;
}

.page-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.page-lead,
.page-lede {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 780px;
}

.page-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.page-heading.site-brand-heading,
.site-brand-heading {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

header.page-title {
  max-width: var(--wrap-text);
  margin: 0 auto;
  padding: 20px 20px 24px;
  border-bottom: 1px solid var(--line);
}

header.page-title .site-brand-heading {
  margin: 0 0 6px;
}

/* ==========================================================================
   components · 通用
   ========================================================================== */

.section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.section-lead,
.section-intro,
.section-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 820px;
}

.section-head {
  margin-bottom: 20px;
}

.brief-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}

.status-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  padding: 1px 8px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag-blue {
  background: #e2e8f3;
  color: var(--blue);
}

.tag-red {
  background: #f7e2e3;
  color: var(--red);
}

.tag-teal {
  background: #dceceb;
  color: var(--teal);
}

.tag-yellow {
  background: #fbf0d6;
  color: #8a6512;
}

.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  padding: 1px 8px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-normal {
  background: #dceceb;
  color: var(--teal);
}

.tag-limited {
  background: #fbf0d6;
  color: #8a6512;
}

.tag-moved {
  background: #e2e8f3;
  color: var(--blue);
}

.tag-error {
  background: #f7e2e3;
  color: var(--red);
}

.text-link {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red-deep);
  border-bottom-color: var(--red-deep);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  max-width: var(--wrap-text);
  margin: 32px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.related-links-item {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid transparent;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* 图片容器统一约束 */

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

figcaption {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 8px;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* 首屏：目录索引 + 推荐 */

.hero-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--line);
}

.directory-main {
  min-width: 0;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero-directory h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 14px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 0 26px;
}

.directory-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.directory-group {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.group-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.group-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 10px;
}

.group-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-links li {
  min-width: 0;
}

.group-links a {
  display: inline-block;
  font-size: 14px;
  color: var(--teal);
  padding: 2px 0;
  border-bottom: 1px dashed transparent;
  line-height: 1.6;
}

.group-links a:hover,
.group-links a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.directory-picks {
  min-width: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.picks-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.picks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pick-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pick-index {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.pick-body {
  min-width: 0;
}

.pick-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.45;
}

.pick-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.picks-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* 专题三块主区 */

.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.topic-feature > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.topic-cover {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.cover-figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.cover-caption {
  margin-top: 6px;
}

.cover-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cover-meta .status-tag {
  align-self: flex-start;
}

.cover-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 0;
  line-height: 1.4;
}

.cover-intro {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.topic-tracks {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.track-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.track-no {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.4;
}

.track-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
  min-width: 0;
}

.track-type {
  font-size: 12px;
  color: var(--teal);
  border: 1px solid #b9d6d5;
  border-radius: 3px;
  padding: 0 6px;
  line-height: 1.6;
  white-space: nowrap;
}

.track-desc {
  grid-column: 2 / -1;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.topic-notes {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.notes-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}

.topic-notes p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 10px;
}

.topic-notes p:last-child {
  margin-bottom: 0;
}

/* 视频卡片带 */

.video-grid {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover,
.video-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 2px 10px rgba(23, 32, 51, 0.08);
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  min-width: 0;
}

.card-body .status-tag {
  align-self: flex-start;
}

.card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.45;
}

.card-title a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.card-title a:hover,
.card-title a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.card-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* 双栏说明带 */

.guide-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.guide-check > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.guide-brief,
.check-brief {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.brief-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 0 14px;
  background: var(--paper-deep);
}

.brief-caption {
  margin-top: 6px;
}

.guide-brief .step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

.step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
}

.step-no {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  margin-top: 2px;
}

.check-brief .check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 14px;
}

.check-brief .check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.check-brief .check-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.check-brief .check-item .status-tag {
  flex: 0 0 auto;
  margin-top: 3px;
}

.check-brief .check-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
  min-width: 0;
}

/* 规则摘要与反馈 */

.policy-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 40px 0 0;
}

.policy-feedback > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.rule-summary,
.feedback-note {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.rule-summary p,
.feedback-note p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 10px;
}

.rule-summary p:last-child,
.feedback-note p:last-child {
  margin-bottom: 0;
}

.terms-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms-item {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  padding: 10px 12px 10px 30px;
  background: var(--paper-deep);
  border-radius: var(--radius);
  position: relative;
}

.terms-item::before {
  content: "§";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   pages · 频道索引
   ========================================================================== */

.channel-overview {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.channel-overview h2,
.channel-relations h2,
.channel-choice h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.overview-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.category-topic,
.category-format,
.category-special {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px;
}

.category-format {
  border-top-color: var(--blue);
}

.category-special {
  border-top-color: var(--yellow);
}

.category-topic h3,
.category-format h3,
.category-special h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.4;
}

.category-topic > p,
.category-format > p,
.category-special > p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0 0 12px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-list li {
  min-width: 0;
}

.category-list a {
  display: block;
  font-size: 14px;
  color: var(--teal);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  line-height: 1.6;
}

.category-list a:hover,
.category-list a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.channel-relations {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.channel-relations > .channel-entry-list,
.channel-relations > .relation-grid {
  margin-top: 20px;
}

.channel-entry-list {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.channel-entry-list h3,
.relation-grid h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.4;
}

.entry-dl {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.entry-dl dt {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px 10px 0;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.entry-dl dt a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.entry-dl dt a:hover,
.entry-dl dt a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.entry-dl dd {
  font-size: 14px;
  color: var(--text-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  margin: 0;
  line-height: 1.7;
  min-width: 0;
}

.relation-grid {
  min-width: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 22px;
}

.relation-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-strong);
}

.relation-current {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  min-width: 0;
}

.relation-adjacent {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  min-width: 0;
}

.channel-choice {
  padding: 32px 0 0;
}

.choice-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.channel-choice .choice-steps > li {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.channel-choice .choice-steps h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.45;
}

.channel-choice .choice-steps p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.channel-figure {
  margin: 26px 0 0;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  padding: 12px;
}

.channel-figure img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

/* ==========================================================================
   pages · 专题片单
   ========================================================================== */

.special-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.special-feature > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.special-cover {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.cover-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.cover-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.cover-scope {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.special-track-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.special-track-list .track-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.track-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  min-width: 0;
}

.track-tag {
  font-size: 12px;
  color: var(--blue);
  border: 1px solid #c3d0e4;
  border-radius: 3px;
  padding: 0 6px;
  line-height: 1.6;
  white-space: nowrap;
}

.special-track-list .track-desc {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.special-notes {
  min-width: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.special-notes .notes-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}

.notes-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 12px;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notes-list li {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.special-order {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.order-media {
  max-width: 760px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.order-media img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.order-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.order-step {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.order-step .step-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.45;
}

.order-step .step-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.special-maintenance {
  padding: 32px 0 0;
}

.maintenance-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rule-item {
  min-width: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.rule-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.45;
}

.rule-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   pages · 观看指南 / 入口核验（主内容 + 右栏）
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  max-width: var(--wrap-text);
  margin: 0 auto;
  padding: 0 20px 56px;
  align-items: start;
}

.page-layout > .inner-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-layout > aside {
  min-width: 0;
  position: sticky;
  top: 20px;
}

.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .page-layout > aside {
  order: -1;
}

.precheck,
.browse-steps,
.guide-faq,
.check-items,
.status-explain,
.feedback-path {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.precheck:first-child,
.check-items:first-child {
  padding-top: 8px;
}

.precheck h2,
.browse-steps h2,
.guide-faq h2,
.check-items h2,
.status-explain h2,
.feedback-path h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.precheck-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 18px;
}

.precheck-item {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.precheck-item h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.45;
}

.precheck-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.guide-figure {
  max-width: 720px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.guide-figure img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.browse-steps .step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.browse-steps .step-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.browse-steps .step-item h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

.browse-steps .step-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.browse-steps .step-item a {
  color: var(--teal);
  border-bottom: 1px solid var(--line-strong);
}

.browse-steps .step-item a:hover,
.browse-steps .step-item a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.guide-faq .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-top: 12px;
  overflow: hidden;
}

.guide-faq .faq-item summary {
  padding: 13px 44px 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.6;
  list-style: none;
}

.guide-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.guide-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.guide-faq .faq-item[open] summary::after {
  content: "–";
}

.guide-faq .faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.guide-faq .faq-item p {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

.check-summary,
.status-labels {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
}

.check-summary h2,
.status-labels h2 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.4;
}

.aside-intro {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 14px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 16px;
}

.summary-list li {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}

.summary-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.summary-list p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 4px;
}

.summary-list a {
  font-size: 13px;
  color: var(--teal);
  border-bottom: 1px solid var(--line-strong);
}

.summary-list a:hover,
.summary-list a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.aside-links {
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.aside-links h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.4;
}

.aside-links ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-links a {
  font-size: 13px;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  line-height: 1.6;
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* 入口核验页 */

.check-figure {
  max-width: 720px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.check-figure img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.check-list {
  margin: 0;
}

.check-items .check-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.check-items .check-item dt {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  min-width: 0;
}

.check-items .check-item dd {
  margin: 0;
  min-width: 0;
}

.check-where {
  font-size: 13px;
  color: var(--red);
  line-height: 1.6;
  margin: 0 0 4px;
}

.check-what {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 4px;
}

.check-how {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.status-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.status-row:first-child {
  border-top: 0;
}

.status-head {
  background: var(--ink);
}

.status-head .status-cell {
  color: #f4efe4;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.status-cell {
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-cell + .status-cell {
  border-left: 1px solid var(--line);
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.path-step {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  position: relative;
}

.path-step h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.45;
}

.path-step p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.path-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.path-note a {
  color: var(--teal);
  border-bottom: 1px solid var(--line-strong);
}

.path-note a:hover,
.path-note a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.label-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label-item {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}

.label-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.label-item .tag {
  margin-bottom: 4px;
}

.label-item p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.aside-link {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}

.aside-link a {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
}

/* ==========================================================================
   pages · 问题反馈
   ========================================================================== */

.issue-categories,
.feedback-info,
.process-steps,
.progress-notes {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.issue-categories h2,
.feedback-info h2,
.process-steps h2,
.progress-notes h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.issue-categories .category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.category-item {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-tag {
  align-self: flex-start;
}

.category-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

.category-scope {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.category-link {
  margin: 4px 0 0;
}

.category-link a {
  font-size: 13px;
  color: var(--teal);
  border-bottom: 1px solid var(--line-strong);
}

.category-link a:hover,
.category-link a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.feedback-info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.feedback-info-copy {
  min-width: 0;
}

.feedback-info-copy > p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 16px;
}

.prep-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prep-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 0;
}

.prep-box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line-strong);
  border-radius: 3px;
  margin-top: 3px;
  background: var(--paper);
}

.prep-body {
  min-width: 0;
}

.prep-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.45;
}

.prep-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.support-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.support-figure img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 18px;
}

.process-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.process-num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.process-body {
  min-width: 0;
}

.process-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.45;
}

.process-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.progress-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.progress-item {
  min-width: 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.progress-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.45;
}

.progress-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   pages · 关于本站
   ========================================================================== */

.site-positioning {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.position-copy {
  min-width: 0;
}

.position-copy > p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.85;
  margin: 0 0 14px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.scope-list li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 1px;
}

.site-structure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.site-structure img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.site-organization {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.site-organization > h2,
.site-boundaries > h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.site-organization > p,
.site-boundaries > p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 16px;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0 0 18px;
}

.term-item {
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.term-item dt {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 2px;
}

.term-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
}

.site-boundaries {
  padding: 30px 0 0;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}

.boundary-list li {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  padding: 10px 12px 10px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--red);
  font-weight: 700;
}

.site-boundaries > p a {
  color: var(--teal);
  border-bottom: 1px solid var(--line-strong);
  margin-right: 10px;
}

.site-boundaries > p a:hover,
.site-boundaries > p a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.error-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.error-code {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin: 0 0 12px;
}

.error-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.error-lead {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 auto 22px;
  max-width: 560px;
}

.error-home-link {
  display: inline-block;
  padding: 11px 26px;
  background: var(--ink);
  color: #f4efe4;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
}

.error-home-link:hover,
.error-home-link:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.error-help {
  margin-top: 32px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.error-help-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.4;
}

.error-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.error-link-list a {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.error-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #c8c2b4;
  margin-top: 8px;
  border-top: 3px solid var(--red);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: #f4efe4;
  margin: 0 0 8px;
  line-height: 1.4;
}

.footer-desc {
  font-size: 13px;
  color: #a9a294;
  line-height: 1.75;
  margin: 0 0 10px;
}

.footer-copy {
  font-size: 12px;
  color: #8b8578;
  line-height: 1.7;
  margin: 0;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: #f4efe4;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a4256;
  line-height: 1.4;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  font-size: 13px;
  color: #b6afa1;
  line-height: 1.6;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #fff;
  border-bottom-color: var(--yellow);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 960px) {
  .masthead-inner {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 23px;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 14px;
  }

  .home-main {
    padding: 0 16px 48px;
  }

  .hero-directory {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 26px 0 32px;
  }

  .hero-directory h1 {
    font-size: 30px;
  }

  .topic-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0;
  }

  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-check {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0;
  }

  .policy-feedback {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0 0;
  }

  .overview-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-special {
    grid-column: 1 / -1;
  }

  .choice-steps,
  .maintenance-rules,
  .progress-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .special-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0;
  }

  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 0 16px 48px;
  }

  .page-layout > aside {
    position: static;
  }

  .sidebar-left .page-layout > aside {
    order: 0;
  }

  .issue-categories .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .site-positioning {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 32px 16px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .inner-main,
  .breadcrumb,
  .page-header,
  header.page-title {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 680px) {
  body.site-body {
    font-size: 15px;
    line-height: 1.7;
  }

  .masthead-inner {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .masthead-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-link {
    flex-wrap: wrap;
    gap: 2px 10px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-slogan {
    font-size: 11px;
    padding-left: 10px;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 8px;
    padding: 6px 0;
    border-top: 1px solid #3a4256;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 8px;
    font-size: 15px;
    border-bottom: 1px solid #2a3244;
    min-height: 44px;
  }

  .nav-link.is-current {
    background: #222c41;
    border-bottom-color: var(--red);
  }

  .home-main {
    padding: 0 14px 40px;
  }

  .hero-directory {
    padding: 22px 0 26px;
    gap: 22px;
  }

  .hero-directory h1 {
    font-size: 25px;
    line-height: 1.32;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .directory-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .directory-group {
    padding: 12px 14px;
  }

  .directory-picks {
    padding: 16px 14px;
  }

  .section-title,
  .channel-overview h2,
  .channel-relations h2,
  .channel-choice h2,
  .precheck h2,
  .browse-steps h2,
  .guide-faq h2,
  .check-items h2,
  .status-explain h2,
  .feedback-path h2,
  .issue-categories h2,
  .feedback-info h2,
  .process-steps h2,
  .progress-notes h2,
  .site-organization > h2,
  .site-boundaries > h2 {
    font-size: 20px;
  }

  .page-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .page-header,
  header.page-title {
    padding: 16px 14px 18px;
  }

  .breadcrumb {
    padding: 14px 14px 0;
    font-size: 12px;
  }

  .inner-main,
  .page-layout,
  .sidebar-left .page-layout {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 40px;
  }

  .inner-main,
  .breadcrumb,
  .page-header,
  header.page-title {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topic-feature {
    gap: 20px;
    padding: 26px 0;
  }

  .topic-cover {
    padding: 12px;
  }

  .track-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px 8px;
  }

  .track-type {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 2px;
  }

  .track-desc {
    grid-column: 2 / -1;
  }

  .card-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .guide-check {
    gap: 20px;
    padding: 26px 0;
  }

  .guide-brief,
  .check-brief {
    padding: 16px;
  }

  .policy-feedback {
    gap: 20px;
    padding: 26px 0 0;
  }

  .rule-summary,
  .feedback-note {
    padding: 16px;
  }

  .overview-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .category-special {
    grid-column: auto;
  }

  .entry-dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-dl dt {
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
  }

  .entry-dl dd {
    padding: 2px 0 10px;
    border-top: 0;
  }

  .relation-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
  }

  .choice-steps,
  .maintenance-rules,
  .order-list,
  .process-list,
  .progress-list,
  .precheck-list,
  .issue-categories .category-list,
  .term-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .special-track-list .track-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .track-tag {
    justify-self: start;
  }

  .special-track-list .track-desc {
    grid-column: 1 / -1;
  }

  .check-items .check-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .status-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-cell {
    padding: 9px 12px;
  }

  .status-cell + .status-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .status-head .status-cell + .status-cell {
    border-top: 1px solid #3a4256;
  }

  .guide-faq .faq-item summary {
    padding: 12px 40px 12px 14px;
    font-size: 14px;
  }

  .guide-faq .faq-item p {
    padding: 10px 14px 12px;
  }

  .browse-steps .step-item,
  .path-step,
  .order-step,
  .precheck-item,
  .category-item,
  .process-item,
  .progress-item,
  .rule-item {
    padding: 12px 14px;
  }

  .feedback-info-copy > p,
  .position-copy > p,
  .site-organization > p,
  .site-boundaries > p {
    font-size: 14px;
  }

  .error-main {
    padding: 32px 14px 48px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-help {
    padding: 18px;
  }

  .error-link-list a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 14px 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-list a {
    padding: 6px 0;
    min-height: 32px;
  }

  .related-links {
    margin-top: 24px;
    padding-top: 14px;
  }

  .channel-figure,
  .guide-figure,
  .check-figure,
  .order-media {
    padding: 10px;
  }
}

@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;
  }
}
