/* ==========================================================================
   国精产品天美一区 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #F5F0E6;
  color: #17140F;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 600;
  line-height: 1.28;
  color: #17140F;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #17140F;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: #D0472F;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

dl,
dd,
dt {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid #D0472F;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 页头 */

.site-header {
  position: relative;
  background-color: #F5F0E6;
  border-bottom: 1px solid #E2D8C8;
  z-index: 40;
}

.header-inner {
  width: 100%;
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-mark {
  flex: 0 0 auto;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #17140F;
  white-space: nowrap;
}

.brand-mark:hover {
  color: #D0472F;
}

.main-nav.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #3A342B;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #17140F;
  border-bottom-color: #D0472F;
}

.nav-link.is-current {
  color: #17140F;
  font-weight: 600;
  border-bottom-color: #D0472F;
}

.header-tool {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #53624E;
  border: 1px solid #C9A46A;
  border-radius: 3px;
  white-space: nowrap;
}

.header-tool:hover {
  color: #F5F0E6;
  background-color: #53624E;
  border-color: #53624E;
}

.header-tool.is-current {
  color: #F5F0E6;
  background-color: #53624E;
  border-color: #53624E;
}

/* 汉堡按钮：桌面隐藏 */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #E2D8C8;
  border-radius: 3px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #17140F;
}

/* 移动抽屉：默认收起 */

.mobile-drawer {
  display: none;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list li {
  border-bottom: 1px solid #E2D8C8;
}

.drawer-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  color: #17140F;
}

.drawer-list a:hover {
  background-color: #EFE7D8;
}

.drawer-list a.is-current {
  color: #D0472F;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #D0472F;
}

/* 内页主容器 */

.inner-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6B6357;
}

.breadcrumb a {
  color: #53624E;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

.breadcrumb-sep {
  color: #C9A46A;
}

.breadcrumb-current {
  color: #3A342B;
}

/* 页标题区 */

.page-header {
  padding: 18px 0 26px;
  border-bottom: 1px solid #17140F;
  margin-bottom: 34px;
}

.page-title {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.24;
  color: #17140F;
}

.page-head {
  padding: 26px 0 30px;
  border-bottom: 1px solid #17140F;
  margin-bottom: 34px;
}

.page-head .page-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}

.page-title-main {
  flex: 1 1 520px;
  min-width: 0;
}

.page-title-main .eyebrow {
  margin-top: 10px;
}

.page-title-task {
  flex: 0 1 420px;
  min-width: 240px;
  font-size: 15px;
  line-height: 1.7;
  color: #53624E;
}

.eyebrow {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #C9A46A;
  text-transform: uppercase;
}

.section-label {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #D0472F;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  padding-bottom: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid #17140F;
}

.section-head h2 {
  font-size: 28px;
  line-height: 1.3;
}

.section-desc {
  flex: 0 1 460px;
  font-size: 14px;
  line-height: 1.7;
  color: #53624E;
}

.section-title {
  font-size: 26px;
  line-height: 1.32;
}

.section-lead {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #4A4338;
  max-width: 760px;
}

/* 通用链接 */

.text-link {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
  padding-bottom: 1px;
}

.text-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 3px;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  color: #F5F0E6;
  background-color: #D0472F;
  border-color: #D0472F;
}

.btn-primary:hover {
  color: #F5F0E6;
  background-color: #B03A25;
  border-color: #B03A25;
}

.btn-ghost {
  color: #17140F;
  background-color: transparent;
  border-color: #17140F;
}

.btn-ghost:hover {
  color: #F5F0E6;
  background-color: #17140F;
}

/* 页脚 */

.site-footer {
  flex: 0 0 auto;
  background-color: #F5F0E6;
  border-top: 2px solid #D0472F;
  margin-top: 72px;
}

.footer-top {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  margin-bottom: 14px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #53624E;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-group a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #3A342B;
  border-bottom: 1px solid transparent;
}

.footer-group a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

.footer-band {
  height: 10px;
  background-color: #53624E;
}

.footer-bottom {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
}

.footer-brand {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 17px;
  font-weight: 600;
  color: #17140F;
}

.footer-position {
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

.footer-domain {
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  color: #53624E;
}

.footer-note {
  flex: 1 1 100%;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid #E2D8C8;
  font-size: 12px;
  line-height: 1.7;
  color: #6B6357;
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */

/* 状态标签 */

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  border-radius: 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-tag--ready,
.status-filed {
  color: #53624E;
}

.status-tag--editing,
.status-annotated {
  color: #C9A46A;
}

.status-tag--archived,
.status-archived {
  color: #8A8175;
}

/* 图片容器 */

.media-figure,
.hero-figure,
.featured-figure,
.cover-figure,
.envelope-figure,
.feature-media,
.guide-figure,
.feedback-figure {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #E2D8C8;
  border-radius: 4px;
}

.media-figure img,
.hero-figure img,
.featured-figure img,
.cover-figure img,
.envelope-figure img,
.feature-media img,
.guide-figure img,
.feedback-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption,
.hero-caption,
.figure-caption,
.cover-figure figcaption,
.envelope-figure figcaption,
.feature-media figcaption,
.guide-figure figcaption {
  padding: 8px 2px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #6B6357;
}

/* 折叠问答 */

.faq-item {
  border-bottom: 1px solid #E2D8C8;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #17140F;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "＋";
  flex: 0 0 auto;
  font-family: "Courier New", "Courier", monospace;
  font-size: 16px;
  line-height: 1.6;
  color: #D0472F;
}

.faq-item[open] .faq-question::before {
  content: "－";
}

.faq-question:hover {
  color: #D0472F;
}

.faq-answer {
  padding: 0 0 18px 28px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  width: 100%;
}

/* 首屏 */

.hero-split {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.hero-main {
  min-width: 0;
}

.hero-figure {
  aspect-ratio: 16 / 10;
}

.hero-copy {
  padding-top: 22px;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: #17140F;
}

.hero-lead {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: #3A342B;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 首屏右侧 */

.hero-aside {
  min-width: 0;
  padding-top: 4px;
}

.status-card {
  padding: 20px 20px 22px;
  background-color: #EFE7D8;
  border-left: 3px solid #D0472F;
  border-radius: 4px;
}

.status-label {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #53624E;
}

.status-value {
  margin-top: 6px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #17140F;
}

.status-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.status-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.status-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

.quick-index {
  margin-top: 22px;
}

.quick-index-label {
  padding-bottom: 8px;
  margin-bottom: 4px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #53624E;
  border-bottom: 1px solid #E2D8C8;
}

.quick-index-list {
  display: flex;
  flex-direction: column;
}

.quick-index-list li {
  border-bottom: 1px solid #E2D8C8;
}

.quick-index-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 10px;
  min-height: 48px;
  padding: 10px 6px 10px 0;
  border-left: 2px solid transparent;
  padding-left: 8px;
}

.quick-index-list a:hover {
  background-color: #EFE7D8;
  border-left-color: #D0472F;
}

.quick-num {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #C9A46A;
}

.quick-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #17140F;
}

.quick-note {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.6;
  color: #6B6357;
}

/* 专题主展 */

.featured-topic {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.featured-main {
  min-width: 0;
}

.featured-figure {
  aspect-ratio: 16 / 9;
}

.featured-copy {
  padding-top: 20px;
}

.featured-copy h2 {
  margin: 10px 0 14px;
  font-size: 32px;
  line-height: 1.3;
}

.featured-copy p {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.featured-copy .text-link {
  margin-top: 6px;
}

.featured-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.side-topic {
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.side-topic-num {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #C9A46A;
}

.side-topic h3 {
  margin: 6px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.side-topic p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.side-topic .text-link {
  font-size: 14px;
}

/* 频道切片 */

.channel-slices {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.slice-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E2D8C8;
}

.slice-row {
  display: grid;
  grid-template-columns: 56px minmax(120px, 200px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 8px;
  border-bottom: 1px solid #E2D8C8;
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.slice-row:hover {
  background-color: #EFE7D8;
  padding-left: 14px;
}

.slice-num {
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #C9A46A;
}

.slice-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #17140F;
}

.slice-direction {
  font-size: 14px;
  line-height: 1.7;
  color: #4A4338;
}

.slice-link {
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.slice-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 首页编排时间轴 */

.schedule-timeline {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.timeline-list {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px 24px;
  padding: 20px 8px;
  border-bottom: 1px solid #E2D8C8;
  transition: background-color 0.18s ease;
}

.timeline-item:hover {
  background-color: #EFE7D8;
}

.timeline-seq {
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #C9A46A;
}

.timeline-body {
  min-width: 0;
}

.timeline-channel {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #53624E;
}

.timeline-body h3 {
  margin: 4px 0 6px;
  font-size: 19px;
  line-height: 1.4;
}

.timeline-summary {
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.timeline-state {
  margin-top: 6px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #8A8175;
}

.timeline-link {
  align-self: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.timeline-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 往期索引 */

.archive-strip {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.archive-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.archive-col {
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.archive-col h3 {
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.4;
  border-bottom: 1px solid #C9A46A;
}

.archive-col p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.archive-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #3A342B;
  border-bottom: 1px solid transparent;
}

.archive-links a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

/* 观看步骤 */

.viewing-steps {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step-item {
  min-width: 0;
  padding: 20px;
  border: 1px solid #E2D8C8;
  border-top: 3px solid #D0472F;
  border-radius: 4px;
  background-color: #FAF6EE;
}

.step-num {
  display: block;
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #C9A46A;
}

.step-item h3 {
  margin: 8px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.step-item p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.step-item .text-link {
  font-size: 14px;
}

/* 内容边界与反馈带 */

.feedback-band {
  width: 100%;
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px 48px;
  align-items: start;
  background-color: #E9E0CE;
  border-radius: 6px;
}

.boundary-copy {
  min-width: 0;
}

.boundary-copy h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.32;
}

.boundary-copy p {
  max-width: 700px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.boundary-entry {
  min-width: 0;
  padding: 18px 20px;
  background-color: #F5F0E6;
  border-radius: 4px;
  border-left: 3px solid #53624E;
}

.boundary-entry-label {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #53624E;
}

.boundary-entry p + p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.boundary-entry .btn {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   pages · 频道目录
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
}

.page-layout.layout-main-aside {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.page-layout.layout-shell.archive-layout {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.page-layout.sidebar-left > .channel-index {
  grid-column: 1;
  grid-row: 1;
}

.page-layout.sidebar-left > .channel-main {
  grid-column: 2;
  grid-row: 1;
}

/* 左索引栏 */

.channel-index {
  position: sticky;
  top: 24px;
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.aside-title {
  font-size: 18px;
  line-height: 1.4;
}

.aside-intro {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

.index-list {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  border-top: 1px solid #C9A46A;
}

.index-list li {
  border-bottom: 1px solid #DDD1BC;
}

.index-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 8px 8px 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #3A342B;
  border-left: 2px solid transparent;
}

.index-link:hover {
  color: #17140F;
  background-color: #F5F0E6;
  border-left-color: #C9A46A;
}

.index-link.is-current {
  color: #17140F;
  font-weight: 600;
  background-color: #F5F0E6;
  border-left-color: #D0472F;
}

.aside-foot {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

.aside-foot a {
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.aside-foot a:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 频道主内容 */

.channel-main {
  min-width: 0;
}

.channel-cover {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid #17140F;
}

.cover-figure {
  aspect-ratio: 4 / 3;
}

.cover-text {
  min-width: 0;
}

.cover-text h2 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.32;
}

.cover-text p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.channel-list {
  min-width: 0;
}

.channel-list .section-title {
  margin-bottom: 20px;
}

.channel-entry {
  padding: 22px 0;
  border-bottom: 1px solid #E2D8C8;
}

.channel-entry:first-of-type {
  padding-top: 0;
}

.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 12px;
}

.entry-no {
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #C9A46A;
}

.entry-name {
  font-size: 21px;
  line-height: 1.4;
}

.entry-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 18px;
  margin-bottom: 12px;
}

.entry-fields dt {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: #53624E;
}

.entry-fields dd {
  min-width: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.entry-link {
  font-size: 14px;
  line-height: 1.6;
}

.entry-link a {
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.entry-link a:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 交叉入口 */

.cross-links {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #17140F;
}

.cross-links .section-title {
  margin-bottom: 20px;
}

.cross-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cross-item {
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.cross-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.cross-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.cross-link {
  margin-top: 10px;
}

.cross-link a {
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.cross-link a:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

.cross-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #6B6357;
}

.cross-note a {
  color: #53624E;
  border-bottom: 1px solid #53624E;
}

.cross-note a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

/* --------------------------------------------------------------------------
   pages · 节目预告
   -------------------------------------------------------------------------- */

.page-task {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: #4A4338;
}

.section-block {
  padding: 34px 0;
  border-bottom: 1px solid #E2D8C8;
}

.section-block:first-of-type {
  padding-top: 0;
}

.status-board-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 36px;
  align-items: start;
}

.status-board-media {
  min-width: 0;
}

.status-board-media .media-figure {
  aspect-ratio: 4 / 3;
}

.batch-label {
  margin-top: 10px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #53624E;
}

.status-board-panel {
  min-width: 0;
}

.status-lead {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.status-facts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.status-fact {
  min-width: 0;
  padding: 12px 14px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.status-fact dt {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #53624E;
}

.status-fact dd {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.7;
  color: #17140F;
}

/* 节目预告页时间轴 */

.schedule-timeline.section-block {
  padding: 34px 0;
  max-width: none;
  margin: 0;
}

.schedule-timeline .timeline-item {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.timeline-heading {
  margin: 4px 0 6px;
  font-size: 19px;
  line-height: 1.4;
}

/* 状态图例 */

.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.legend-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #E2D8C8;
  border-radius: 4px;
  background-color: #FAF6EE;
}

.legend-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 1.4;
}

.legend-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.legend-action {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.legend-action a {
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.legend-action a:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 关联入口 */

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 88px;
  padding: 18px 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
  border-left: 3px solid #53624E;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.related-card:hover {
  background-color: #E9E0CE;
  border-left-color: #D0472F;
}

.related-label {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #53624E;
}

.related-text {
  font-size: 15px;
  line-height: 1.7;
  color: #17140F;
}

/* --------------------------------------------------------------------------
   pages · 往期内容
   -------------------------------------------------------------------------- */

.layout-shell.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.archive-content {
  min-width: 0;
}

.archive-envelope {
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid #17140F;
}

.archive-envelope .section-title {
  margin-bottom: 20px;
}

.envelope-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px;
  align-items: start;
}

.envelope-figure {
  aspect-ratio: 4 / 3;
}

.batch-index {
  min-width: 0;
}

.batch-index-intro {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #53624E;
}

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.batch-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 12px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.batch-no {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #C9A46A;
}

.batch-theme {
  font-size: 14px;
  line-height: 1.7;
  color: #3A342B;
}

.batch-link {
  margin-left: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.batch-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 归档台账 */

.archive-ledger {
  margin-top: 0;
}

.ledger-group {
  margin-top: 30px;
}

.ledger-group-title {
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.4;
  border-bottom: 1px solid #C9A46A;
}

.ledger-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
}

.ledger-table thead th {
  padding: 10px 12px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: #53624E;
  background-color: #E9E0CE;
  border-bottom: 1px solid #C9A46A;
}

.ledger-table tbody td {
  padding: 12px;
  vertical-align: top;
  color: #3A342B;
  border-bottom: 1px solid #E2D8C8;
}

.ledger-table tbody tr:hover td {
  background-color: #EFE7D8;
}

.ledger-table tbody td a {
  color: #D0472F;
  border-bottom: 1px solid transparent;
}

.ledger-table tbody td a:hover {
  border-bottom-color: #D0472F;
}

/* 归档右栏 */

.archive-aside {
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.archive-aside .aside-title {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C9A46A;
}

.aside-group {
  min-width: 0;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #DDD1BC;
}

.aside-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.aside-group-title {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.4;
}

.aside-group-note {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-link-list a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #3A342B;
  border-bottom: 1px solid transparent;
}

.aside-link-list a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.feature-narrative {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #17140F;
}

.feature-main {
  min-width: 0;
}

.feature-media {
  aspect-ratio: 16 / 9;
}

.feature-main h2 {
  margin: 18px 0 12px;
  font-size: 28px;
  line-height: 1.32;
}

.feature-main p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.feature-info {
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.feature-info h2 {
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.4;
  border-bottom: 1px solid #C9A46A;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  min-width: 0;
}

.info-row dt {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #53624E;
}

.info-row dd {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.7;
  color: #17140F;
}

.feature-info .text-link {
  margin-top: 16px;
  font-size: 14px;
}

/* 片单顺序 */

.episode-order {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #E2D8C8;
}

.order-list {
  display: flex;
  flex-direction: column;
}

.order-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px 20px;
  padding: 18px 8px;
  border-bottom: 1px solid #E2D8C8;
  transition: background-color 0.18s ease;
}

.order-item:hover {
  background-color: #EFE7D8;
}

.order-num {
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #C9A46A;
}

.order-body {
  min-width: 0;
}

.order-name {
  font-size: 18px;
  line-height: 1.4;
}

.order-meta {
  margin-top: 4px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #53624E;
}

.order-reason {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.order-link {
  align-self: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.order-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

.tag-channel {
  display: inline-block;
  padding: 0 6px;
  font-family: "Courier New", "Courier", monospace;
  font-size: 11px;
  line-height: 1.8;
  color: #53624E;
  border: 1px solid #C9A46A;
  border-radius: 2px;
}

/* 入选依据 */

.selection-notes {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #E2D8C8;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.note-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #E2D8C8;
  border-top: 3px solid #53624E;
  border-radius: 4px;
  background-color: #FAF6EE;
}

.note-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.note-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #4A4338;
}

/* 延伸阅读 */

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.reading-col {
  min-width: 0;
  padding: 18px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.reading-col h3 {
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
  border-bottom: 1px solid #C9A46A;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-list a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #3A342B;
  border-bottom: 1px solid transparent;
}

.link-list a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

/* --------------------------------------------------------------------------
   pages · 观看说明
   -------------------------------------------------------------------------- */

.layout-main-aside {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.content-main {
  min-width: 0;
}

.guide-section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #E2D8C8;
}

.guide-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.guide-figure {
  margin: 18px 0 22px;
  aspect-ratio: 16 / 9;
}

.verification-steps .step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.verification-steps .step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #E2D8C8;
  border-radius: 0;
  background-color: transparent;
}

.verification-steps .step-item:last-child {
  border-bottom: 0;
}

.step-body {
  min-width: 0;
}

.step-title {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.step-text {
  font-size: 15px;
  line-height: 1.8;
  color: #3A342B;
}

.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.step-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* 设备与页面状态 */

.condition-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.condition-col {
  min-width: 0;
  padding: 18px 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.condition-title {
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.4;
  border-bottom: 1px solid #C9A46A;
}

.condition-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.condition-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #3A342B;
}

.condition-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: #D0472F;
  border-radius: 1px;
}

/* 观看说明右栏 */

.privacy-aside {
  min-width: 0;
  padding: 20px;
  background-color: #EFE7D8;
  border-radius: 4px;
}

.privacy-aside .aside-title {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C9A46A;
}

.aside-block {
  min-width: 0;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #DDD1BC;
}

.aside-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.aside-subtitle {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.4;
}

.aside-text {
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.aside-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #D0472F;
  border-bottom: 1px solid #D0472F;
}

.aside-link:hover {
  color: #17140F;
  border-bottom-color: #17140F;
}

/* --------------------------------------------------------------------------
   pages · 内容反馈
   -------------------------------------------------------------------------- */

.page-kicker {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #C9A46A;
}

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.feedback-left,
.feedback-right {
  min-width: 0;
}

.feedback-scope,
.feedback-prepare,
.processing-notes,
.alternative-entry {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E2D8C8;
}

.feedback-right > :last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.feedback-scope .section-title,
.feedback-prepare .section-title,
.processing-notes .section-title,
.alternative-entry .section-title {
  margin-bottom: 16px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.scope-item {
  min-width: 0;
  padding: 14px 16px;
  background-color: #EFE7D8;
  border-radius: 4px;
  border-left: 3px solid #53624E;
}

.scope-num {
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #C9A46A;
}

.scope-name {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #17140F;
}

.scope-body {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

.prepare-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.prepare-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #E2D8C8;
  border-radius: 4px;
  background-color: #FAF6EE;
}

.prepare-index {
  grid-row: span 2;
  font-family: "Courier New", "Courier", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #C9A46A;
}

.prepare-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #17140F;
}

.prepare-item p {
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

.feedback-figure {
  margin-top: 18px;
  aspect-ratio: 16 / 9;
}

/* 处理说明 */

.processing-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.processing-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 6px 14px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #E2D8C8;
  border-radius: 4px;
}

.processing-num {
  grid-row: span 2;
  font-family: "Courier New", "Courier", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #D0472F;
}

.processing-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #17140F;
}

.processing-step p {
  font-size: 14px;
  line-height: 1.75;
  color: #4A4338;
}

/* 替代入口 */

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.entry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 12px 16px;
  background-color: #EFE7D8;
  border-radius: 4px;
  border-left: 3px solid #C9A46A;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.entry-item:hover {
  background-color: #E9E0CE;
  border-left-color: #D0472F;
}

.entry-item .entry-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #17140F;
}

.entry-item p {
  font-size: 13px;
  line-height: 1.7;
  color: #53624E;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.error-panel {
  max-width: 760px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #17140F;
}

.error-code {
  font-family: "Courier New", "Courier", monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: #D0472F;
}

.error-title {
  margin: 12px 0 16px;
  font-size: 42px;
  line-height: 1.24;
}

.error-text {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: #3A342B;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.4;
  color: #17140F;
  border: 1px solid #17140F;
  border-radius: 3px;
}

.error-button:hover {
  color: #F5F0E6;
  background-color: #17140F;
}

.error-hints-title {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.4;
}

.error-hints-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-hints-list a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.7;
  color: #3A342B;
  border-bottom: 1px solid transparent;
}

.error-hints-list a:hover {
  color: #D0472F;
  border-bottom-color: #D0472F;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

/* 1080px */

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .nav-list {
    gap: 4px 16px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .page-title {
    font-size: 38px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 32px;
  }

  .page-layout.layout-main-aside,
  .page-layout.layout-shell.archive-layout,
  .layout-shell.archive-layout,
  .layout-main-aside {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 32px;
  }

  .feedback-grid {
    gap: 32px;
  }

  .slice-row {
    grid-template-columns: 48px minmax(110px, 170px) minmax(0, 1fr) auto;
    gap: 10px 18px;
  }
}

/* 900px：导航折叠为抽屉 */

@media (max-width: 900px) {
  .main-nav.site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-tool {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background-color: #F5F0E6;
    border-bottom: 2px solid #D0472F;
    box-shadow: 0 12px 24px rgba(23, 20, 15, 0.12);
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .hero-split,
  .featured-topic {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .featured-copy h2 {
    font-size: 28px;
  }

  .archive-columns,
  .step-list,
  .legend-grid,
  .notes-grid,
  .reading-grid,
  .cross-grid,
  .related-grid,
  .condition-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
  }

  .status-board-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .channel-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .envelope-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .page-layout.sidebar-left,
  .page-layout.layout-main-aside,
  .page-layout.layout-shell.archive-layout,
  .layout-shell.archive-layout,
  .layout-main-aside,
  .feedback-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-layout.sidebar-left > .channel-index,
  .page-layout.sidebar-left > .channel-main {
    grid-column: 1;
    grid-row: auto;
  }

  .channel-index {
    position: static;
  }

  .site-footer {
    margin-top: 56px;
  }
}

/* 760px */

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 64px;
    padding: 0 20px;
  }

  .brand-mark {
    font-size: 18px;
  }

  .mobile-drawer {
    max-height: calc(100vh - 64px);
  }

  .inner-main,
  .container,
  .page-shell,
  .layout-shell.archive-layout,
  .layout-main-aside,
  .feedback-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-main,
  .layout-shell.archive-layout,
  .layout-main-aside,
  .feedback-grid {
    padding-bottom: 56px;
  }

  .breadcrumb {
    padding-top: 18px;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 0 20px;
    margin-bottom: 26px;
  }

  .page-title {
    font-size: 32px;
    line-height: 1.26;
  }

  .page-head {
    padding: 20px 0 22px;
    margin-bottom: 26px;
  }

  .page-head .page-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-title-main {
    flex: 1 1 auto;
    width: 100%;
  }

  .page-title-task {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-desc {
    flex: 1 1 auto;
    font-size: 13px;
  }

  .section-title {
    font-size: 22px;
  }

  .hero-split,
  .featured-topic,
  .channel-slices,
  .schedule-timeline,
  .archive-strip,
  .viewing-steps {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-split {
    padding-top: 28px;
  }

  .hero-copy {
    padding-top: 16px;
  }

  .hero-copy h1 {
    font-size: 32px;
    margin: 10px 0 12px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    padding: 0 18px;
    font-size: 14px;
  }

  .featured-topic,
  .channel-slices,
  .schedule-timeline,
  .archive-strip,
  .viewing-steps {
    padding-top: 48px;
  }

  .featured-copy h2 {
    font-size: 25px;
  }

  .feedback-band {
    margin: 48px 20px 0;
    padding: 24px 20px;
    border-radius: 4px;
  }

  .boundary-copy h2 {
    font-size: 22px;
  }

  .slice-row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "num name"
      ". direction"
      ". link";
    gap: 4px 12px;
    padding: 14px 6px;
  }

  .slice-row:hover {
    padding-left: 6px;
  }

  .slice-num {
    grid-area: num;
  }

  .slice-name {
    grid-area: name;
    font-size: 17px;
  }

  .slice-direction {
    grid-area: direction;
    margin-top: 2px;
    font-size: 13px;
  }

  .slice-link {
    grid-area: link;
    justify-self: start;
    margin-top: 6px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .timeline-item,
  .schedule-timeline .timeline-item {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "seq body"
      ". link";
    gap: 4px 12px;
    padding: 16px 6px;
  }

  .timeline-seq {
    grid-area: seq;
  }

  .timeline-body {
    grid-area: body;
  }

  .timeline-link {
    grid-area: link;
    justify-self: start;
    margin-top: 6px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .timeline-body h3,
  .timeline-heading {
    font-size: 17px;
  }

  .archive-columns,
  .step-list,
  .legend-grid,
  .notes-grid,
  .reading-grid,
  .cross-grid,
  .related-grid,
  .condition-columns,
  .status-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .order-item {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "num body"
      ". link";
    gap: 4px 12px;
    padding: 14px 6px;
  }

  .order-num {
    grid-area: num;
  }

  .order-body {
    grid-area: body;
  }

  .order-link {
    grid-area: link;
    justify-self: start;
    margin-top: 6px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .entry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .entry-fields dt {
    margin-top: 6px;
    font-size: 11px;
  }

  .entry-name {
    font-size: 19px;
  }

  .verification-steps .step-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 14px 0;
  }

  .ledger-table {
    font-size: 13px;
  }

  .ledger-table thead th {
    padding: 8px 6px;
    font-size: 11px;
  }

  .ledger-table tbody td {
    padding: 10px 6px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 36px 20px 30px;
  }

  .footer-bottom {
    padding: 22px 20px 32px;
  }

  .error-main {
    padding: 48px 20px;
  }

  .error-title {
    font-size: 32px;
  }

  .error-panel {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
}

/* 480px */

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .inner-main,
  .container,
  .page-shell,
  .layout-shell.archive-layout,
  .layout-main-aside,
  .feedback-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-split,
  .featured-topic,
  .channel-slices,
  .schedule-timeline,
  .archive-strip,
  .viewing-steps {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feedback-band {
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px 16px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .page-title {
    font-size: 27px;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .section-title {
    font-size: 20px;
  }

  .featured-copy h2 {
    font-size: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .quick-index-list a {
    grid-template-columns: 28px minmax(0, 1fr);
    padding-left: 4px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-card,
  .side-topic,
  .archive-col,
  .step-item,
  .legend-item,
  .note-item,
  .reading-col,
  .cross-item,
  .condition-col,
  .channel-index,
  .archive-aside,
  .privacy-aside,
  .feature-info,
  .scope-item {
    padding: 16px;
  }

  .status-value {
    font-size: 19px;
  }

  .error-title {
    font-size: 27px;
  }
}

/* 减少动效 */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
