/* ==========================================================================
   泥巴影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #fbf8f2;
  color: #1f2733;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-weight: 700;
  color: #14243a;
}

h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.3;
}

h2 {
  font-size: 22px;
  line-height: 1.4;
}

h3 {
  font-size: 17px;
  line-height: 1.5;
}

h4 {
  font-size: 15px;
  line-height: 1.5;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dt,
dd {
  margin: 0;
}

a {
  color: #14243a;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: #c85c2e;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #5c6673;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

strong {
  font-weight: 700;
  color: #14243a;
}

:focus-visible {
  outline: 2px solid #c85c2e;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #14243a;
  border-bottom: 1px solid rgba(251, 248, 242, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 1160px;
  max-width: 100%;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-mark {
  flex: 0 0 auto;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fbf8f2;
  padding: 8px 0;
}

.brand-mark:hover,
.brand-mark:focus-visible {
  color: #f0c9a8;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 22px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #d8dbe0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(200, 92, 46, 0.6);
}

.site-nav a.is-current {
  font-weight: 700;
  color: #ffffff;
  border-bottom-color: #c85c2e;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid rgba(251, 248, 242, 0.35);
  border-radius: 6px;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fbf8f2;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background-color: #14243a;
  border-top: 1px solid rgba(251, 248, 242, 0.14);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu ul {
  padding: 8px 20px 16px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 16px;
  color: #e6e8ec;
  border-bottom: 1px solid rgba(251, 248, 242, 0.1);
}

.mobile-menu a.is-current {
  font-weight: 700;
  color: #ffffff;
}

.site-main {
  display: block;
}

.home-main {
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.inner-main {
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 20px 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #5c6673;
}

.breadcrumb a {
  color: #5c6673;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #c85c2e;
}

.breadcrumb-sep {
  color: #b3b8be;
}

.breadcrumb-current {
  color: #14243a;
  font-weight: 600;
}

.page-header {
  margin-top: 14px;
}

.page-title {
  max-width: 46em;
}

.page-head {
  margin-top: 10px;
}

.page-lead {
  max-width: 52em;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #5c6673;
}

.page-divider {
  height: 0;
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid #e2dcd0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  gap: 0 32px;
  align-items: start;
  margin-top: 28px;
}

.page-layout.layout-single {
  display: block;
  grid-template-columns: none;
}

.page-layout.sidebar-left {
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
}

.page-layout > * {
  min-width: 0;
}

.site-footer {
  background-color: #14243a;
  color: #c9ced6;
}

.footer-inner {
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px 24px;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  gap: 28px 32px;
}

.footer-group h2 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fbf8f2;
}

.footer-group ul {
  display: grid;
  gap: 8px;
}

.footer-group a {
  display: inline-block;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #c9ced6;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: #f0c9a8;
}

.footer-about p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #b6bdc7;
}

.footer-about .footer-slogan {
  margin-bottom: 10px;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fbf8f2;
}

.footer-bottom {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(251, 248, 242, 0.14);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #9aa3ae;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

/* 3.1 按钮与文字链 */

.btn,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background-color: #14243a;
  color: #fbf8f2;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #c85c2e;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: #14243a;
  border-color: #c8c0b2;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #c85c2e;
  border-color: #c85c2e;
}

.text-link {
  display: inline-block;
  padding: 2px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.text-link:hover,
.text-link:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.text-link::after {
  content: " →";
  font-weight: 400;
}

/* 3.2 频道色标 */

.channel-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: #5c6673;
}

.dot-docu,
.dot-doc,
.swatch-documentary {
  background-color: #2f6f6a;
}

.dot-human,
.swatch-humanities {
  background-color: #7a4b8f;
}

.dot-life,
.swatch-life {
  background-color: #b4802a;
}

.dot-tech,
.swatch-tech {
  background-color: #3b5b8a;
}

.dot-craft,
.swatch-visual {
  background-color: #8a5a3b;
}

.dot-nature,
.swatch-audio {
  background-color: #4a6b52;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #5c6673;
}

.channel-tag::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: currentColor;
}

.tag-docu {
  color: #2f6f6a;
}

.tag-life {
  color: #b4802a;
}

.tag-tech {
  color: #3b5b8a;
}

.tag-craft {
  color: #8a5a3b;
}

/* 3.3 区块标题 */

.section-head {
  margin-bottom: 18px;
}

.section-head h2,
.section-title {
  position: relative;
  padding-left: 12px;
}

.section-head h2::before,
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #c85c2e;
  border-radius: 1px;
}

.section-head p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.section-note {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.section-intro,
.section-lead {
  margin: 8px 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #5c6673;
  max-width: 52em;
}

/* 3.4 折叠问答 */

.qa-item,
.faq-item {
  border-top: 1px solid #e2dcd0;
}

.qa-item:last-child,
.faq-item:last-child {
  border-bottom: 1px solid #e2dcd0;
}

.qa-item summary,
.faq-item summary {
  position: relative;
  display: block;
  padding: 14px 40px 14px 0;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #14243a;
  cursor: pointer;
  list-style: none;
}

.qa-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #c85c2e;
  border-bottom: 2px solid #c85c2e;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.qa-item[open] summary::after,
.faq-item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.qa-item summary:hover,
.faq-item summary:hover {
  color: #c85c2e;
}

.qa-item p {
  margin: 0 0 16px;
  padding-right: 40px;
  font-size: 15px;
  line-height: 1.8;
  color: #3a444f;
}

/* 3.5 图片说明条 */

.hero-figure,
.pick-figure,
.card-media,
.channel-figure,
.guide-figure,
.check-figure,
.faq-figure,
.order-figure {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #eee8dd;
}

.hero-figure img,
.pick-figure img,
.card-media img,
.channel-figure img,
.guide-figure img,
.check-figure img,
.faq-figure img,
.order-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hero-figure figcaption,
.pick-figure figcaption,
.card-media figcaption,
.channel-figure figcaption,
.guide-figure figcaption,
.check-figure figcaption,
.faq-figure figcaption,
.order-figure figcaption {
  margin-top: 8px;
  padding: 0 2px;
}

/* 3.6 编号与图章 */

.stamp,
.date-stamp,
.board-date {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

/* 4.1 焦点区 */

.hero-focus {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px;
  align-items: start;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.hero-figure {
  aspect-ratio: 16 / 9;
  background-color: #e6dfd2;
}

.hero-figure img {
  aspect-ratio: 16 / 9;
}

.hero-copy h1 {
  max-width: 20em;
}

.hero-copy > p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: #3a444f;
  max-width: 40em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-schedule {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.hero-schedule h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.schedule-mini {
  display: grid;
  gap: 0;
}

.schedule-mini li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "stamp tag"
    "stamp time"
    "stamp dir";
  gap: 2px 12px;
  padding: 12px 0;
  border-top: 1px solid #eee8dd;
}

.schedule-mini li:first-child {
  border-top: 0;
  padding-top: 0;
}

.schedule-mini .stamp {
  grid-area: stamp;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 46px;
  height: 46px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #14243a;
  background-color: #f4efe5;
  border: 1px solid #d8d0c1;
  border-radius: 4px;
  padding: 4px;
}

.schedule-mini .channel-tag {
  grid-area: tag;
}

.schedule-mini .slot-time {
  grid-area: time;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  color: #5c6673;
}

.schedule-mini .slot-dir {
  grid-area: dir;
  font-size: 14px;
  line-height: 1.7;
  color: #1f2733;
}

.hero-schedule .text-link {
  margin-top: 14px;
}

/* 4.2 频道标签条 */

.channel-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid #e2dcd0;
  border-bottom: 1px solid #e2dcd0;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #14243a;
  border-right: 1px solid #e2dcd0;
  transition: transform 160ms ease, background-color 160ms ease;
}

.channel-item:last-child {
  border-right: 0;
}

.channel-item:hover,
.channel-item:focus-visible {
  color: #14243a;
  background-color: #ffffff;
  transform: translateY(-2px);
}

.channel-name {
  line-height: 1.5;
}

/* 4.3 精选专题 */

.special-picks,
.schedule-board,
.watch-path,
.home-qa,
.source-note {
  margin-top: 44px;
}

.picks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: start;
}

.pick-card {
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.pick-card:hover,
.pick-card:focus-within {
  border-color: #c85c2e;
  transform: translateY(-2px);
}

.pick-large {
  grid-row: span 2;
}

.pick-link {
  display: block;
  color: inherit;
}

.pick-link:hover,
.pick-link:focus-visible {
  color: inherit;
}

.pick-figure {
  margin: 0;
  border-radius: 0;
  background-color: #e6dfd2;
}

.pick-figure img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.pick-large .pick-figure img {
  aspect-ratio: 16 / 10;
}

.pick-figure figcaption {
  padding: 8px 18px 0;
  margin-top: 0;
}

.pick-body {
  padding: 14px 18px 18px;
}

.pick-body h3 {
  font-size: 18px;
  line-height: 1.45;
}

.pick-large .pick-body h3 {
  font-size: 21px;
}

.pick-body p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.pick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2dcd0;
}

.pick-count {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #5c6673;
}

/* 4.4 更新排期速览 */

.board-list {
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  overflow: hidden;
}

.board-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 130px) minmax(0, 120px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid #eee8dd;
}

.board-row:first-child {
  border-top: 0;
}

.board-date {
  font-size: 13px;
  font-weight: 700;
  color: #14243a;
}

.board-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #14243a;
}

.board-time {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  color: #5c6673;
}

.board-dir {
  font-size: 14px;
  line-height: 1.7;
  color: #1f2733;
}

.schedule-board > .text-link {
  margin-top: 14px;
}

/* 4.5 观看路径 */

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.path-step {
  position: relative;
  padding: 20px 20px 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.path-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #c85c2e;
  border-radius: 50%;
}

.path-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.path-step p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

/* 4.6 首页问答 */

.qa-list {
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  padding: 4px 20px;
}

.qa-list .qa-item:first-child {
  border-top: 0;
}

.qa-list .qa-item:last-child {
  border-bottom: 0;
}

/* 4.7 内容来源说明 */

.source-note {
  padding: 24px;
  background-color: #f4efe5;
  border-left: 4px solid #2f6f6a;
  border-radius: 0 8px 8px 0;
}

.source-note h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.source-note > p {
  max-width: 52em;
  font-size: 15px;
  line-height: 1.8;
  color: #3a444f;
}

.note-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 16px 0;
}

.note-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #3a444f;
}

.note-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #2f6f6a;
}

/* 4.8 相关内容条 */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #e2dcd0;
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c6673;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  font-size: 14px;
  color: #14243a;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 999px;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  color: #c85c2e;
  border-color: #c85c2e;
}

/* --------------------------------------------------------------------------
   5. pages · 内页
   -------------------------------------------------------------------------- */

/* 5.1 频道分类 */

.channel-index {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  position: sticky;
  top: 84px;
}

.aside-title {
  margin-bottom: 12px;
  font-size: 16px;
}

.channel-index-list {
  display: grid;
  gap: 0;
}

.channel-link {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #eee8dd;
  transition: transform 160ms ease;
}

.channel-link:first-child {
  border-top: 0;
  padding-top: 0;
}

.channel-link:hover,
.channel-link:focus-visible {
  transform: translateY(-2px);
}

.channel-link .channel-swatch {
  grid-row: span 2;
  margin-top: 5px;
}

.channel-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: #5c6673;
}

.channel-link .channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #14243a;
}

.channel-hint {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.65;
  color: #5c6673;
}

.channel-list {
  display: grid;
  gap: 0;
}

.channel-list > .section-title {
  margin-bottom: 16px;
}

.channel-figure {
  margin-bottom: 22px;
  background-color: #e6dfd2;
}

.channel-figure img {
  aspect-ratio: 16 / 9;
}

.channel-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0 24px;
  padding: 20px 0;
  border-top: 1px solid #e2dcd0;
}

.channel-entry:last-child {
  border-bottom: 1px solid #e2dcd0;
}

.channel-entry-head {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
}

.channel-entry-head .channel-swatch {
  margin-top: 7px;
}

.channel-entry-head h3 {
  font-size: 18px;
  line-height: 1.45;
}

.channel-entry-head .channel-tag {
  grid-column: 2;
}

.channel-entry-scope h4,
.channel-entry-meta h4 {
  margin-bottom: 6px;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c6673;
}

.channel-entry-scope p,
.channel-entry-meta p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
}

.channel-entry-meta .text-link {
  margin-top: 2px;
}

.source-label {
  margin-top: 40px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.source-label > .section-title {
  margin-bottom: 12px;
}

.source-label > p {
  max-width: 52em;
  font-size: 15px;
  line-height: 1.8;
  color: #3a444f;
}

.source-points {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.source-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
}

.source-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #c85c2e;
}

.source-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed #e2dcd0;
}

/* 5.2 专题片单 */

.special-main {
  min-width: 0;
}

.special-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.toolbar-text h2 {
  font-size: 18px;
}

.toolbar-text p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5c6673;
}

.toolbar-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-label,
.stepper-unit {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #5c6673;
}

.stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #14243a;
  background-color: #f4efe5;
  border: 1px solid #d8d0c1;
  border-radius: 6px;
  transition: border-color 160ms ease, color 160ms ease;
}

.stepper-btn:hover:not(:disabled),
.stepper-btn:focus-visible:not(:disabled) {
  color: #c85c2e;
  border-color: #c85c2e;
}

.stepper-btn:disabled {
  color: #b3b8be;
  border-color: #e2dcd0;
  background-color: #f7f4ee;
  cursor: not-allowed;
}

.stepper-value {
  min-width: 24px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #14243a;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.special-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.special-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.special-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.special-card:hover,
.special-card:focus-within {
  border-color: #c85c2e;
  transform: translateY(-2px);
}

.special-card-large {
  grid-column: span 2;
}

.special-grid[data-cols="2"] .special-card-large,
.special-grid[data-cols="4"] .special-card-large {
  grid-column: span 2;
}

.card-media {
  border-radius: 0;
  background-color: #e6dfd2;
}

.card-media img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.card-media figcaption {
  padding: 8px 16px 0;
  margin-top: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}

.card-body h3 {
  font-size: 17px;
  line-height: 1.45;
}

.card-angle {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 12px;
}

.card-tags .channel-tag {
  font-size: 12px;
}

.card-meta {
  margin: auto 0 0;
  padding-top: 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #5c6673;
  border-top: 1px dashed #e2dcd0;
}

.curation-rules {
  margin-top: 36px;
  padding: 22px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.curation-rules h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.rules-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.rule-item {
  padding-top: 12px;
  border-top: 2px solid #e2dcd0;
}

.rule-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.rule-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.special-aside {
  min-width: 0;
  display: grid;
  gap: 20px;
  position: sticky;
  top: 84px;
}

.aside-block {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.aside-block h2 {
  margin-bottom: 12px;
  font-size: 16px;
}

.topic-index {
  display: grid;
  gap: 0;
}

.topic-index li {
  border-top: 1px solid #eee8dd;
}

.topic-index li:first-child {
  border-top: 0;
}

.topic-index a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #14243a;
}

.topic-index a:hover,
.topic-index a:focus-visible {
  color: #c85c2e;
}

.aside-links {
  display: grid;
  gap: 0;
}

.aside-links li {
  border-top: 1px solid #eee8dd;
}

.aside-links li:first-child {
  border-top: 0;
}

.aside-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #14243a;
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: #c85c2e;
}

/* 5.3 更新排期 */

.schedule-grid-section,
.rhythm-notes,
.before-check {
  margin-top: 28px;
}

.schedule-grid-section {
  margin-top: 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 96px repeat(4, minmax(0, 1fr));
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  overflow: hidden;
}

.grid-head,
.grid-row {
  display: contents;
}

.grid-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-left: 1px solid #eee8dd;
  border-top: 1px solid #eee8dd;
}

.grid-head .grid-cell {
  border-top: 0;
  background-color: #f4efe5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #14243a;
}

.grid-head .grid-cell .channel-dot {
  margin-right: 6px;
}

.grid-corner {
  border-left: 0;
  background-color: #f4efe5;
}

.grid-date {
  border-left: 0;
  background-color: #fbf8f2;
  justify-content: center;
}

.date-stamp {
  font-size: 13px;
  font-weight: 700;
  color: #14243a;
}

.slot-time {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #c85c2e;
}

.slot-topic {
  font-size: 13px;
  line-height: 1.7;
  color: #3a444f;
}

.grid-cell.is-empty {
  justify-content: center;
  background-color: #faf7f1;
}

.slot-empty {
  font-size: 13px;
  color: #b3b8be;
}

.grid-footnote {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #5c6673;
}

.grid-footnote a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.grid-footnote a:hover,
.grid-footnote a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.rhythm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.rhythm-item {
  padding: 16px 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.rhythm-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 6px;
}

.rhythm-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.before-check .check-figure {
  margin-bottom: 20px;
  background-color: #e6dfd2;
}

.before-check .check-figure img {
  aspect-ratio: 16 / 9;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  counter-reset: check;
}

.check-item {
  position: relative;
  padding: 16px 18px 16px 48px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  counter-increment: check;
}

.check-item::before {
  content: counter(check, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #c85c2e;
}

.check-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.check-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.check-item p a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.check-item p a:hover,
.check-item p a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

/* 5.4 观看指南 */

.guide-body {
  min-width: 0;
}

.guide-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2dcd0;
}

.guide-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-section h2 {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
}

.guide-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #c85c2e;
  border-radius: 1px;
}

.guide-section > p {
  max-width: 52em;
  font-size: 15px;
  line-height: 1.85;
  color: #3a444f;
}

.guide-section h3 {
  margin: 18px 0 6px;
  font-size: 16px;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 4px;
  counter-reset: guide-step;
}

.step-item {
  position: relative;
  padding: 16px 18px 16px 58px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.step-item .step-num {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: #c85c2e;
  border-radius: 50%;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step-item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
}

.step-link {
  font-size: 14px;
  font-weight: 600;
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.step-link:hover,
.step-link:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.guide-figure {
  margin: 16px 0;
  background-color: #e6dfd2;
}

.guide-figure img {
  aspect-ratio: 16 / 9;
}

.guide-section .check-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.guide-section .check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
}

.guide-section .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #2f6f6a;
}

.term-list {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  overflow: hidden;
}

.term-list dt {
  padding: 12px 18px 0;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 15px;
  font-weight: 700;
  color: #14243a;
}

.term-list dd {
  padding: 4px 18px 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
  border-top: 1px dashed #eee8dd;
  margin-top: 8px;
}

.term-list dt + dd {
  border-top: 0;
  margin-top: 0;
}

.term-list dd + dt {
  border-top: 1px solid #e2dcd0;
  padding-top: 14px;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.section-links a {
  font-size: 14px;
  font-weight: 600;
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.section-links a:hover,
.section-links a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.guide-toc {
  min-width: 0;
  position: sticky;
  top: 84px;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.guide-toc h2 {
  margin-bottom: 10px;
  font-size: 16px;
}

.guide-toc nav ul {
  display: grid;
  gap: 0;
}

.guide-toc nav li {
  border-top: 1px solid #eee8dd;
}

.guide-toc nav li:first-child {
  border-top: 0;
}

.guide-toc nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0 4px 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #14243a;
  border-left: 2px solid transparent;
}

.guide-toc nav a:hover,
.guide-toc nav a:focus-visible {
  color: #c85c2e;
  border-left-color: #c85c2e;
}

.toc-related {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2dcd0;
}

.toc-related h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.toc-related ul {
  display: grid;
  gap: 0;
}

.toc-related li {
  border-top: 1px solid #eee8dd;
}

.toc-related li:first-child {
  border-top: 0;
}

.toc-related a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #14243a;
}

.toc-related a:hover,
.toc-related a:focus-visible {
  color: #c85c2e;
}

/* 5.5 常见问题 */

.faq-groups {
  min-width: 0;
}

.faq-groups > h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.faq-figure {
  margin-bottom: 22px;
  background-color: #e6dfd2;
}

.faq-figure img {
  aspect-ratio: 16 / 9;
}

.faq-group {
  margin-top: 28px;
}

.faq-group:first-of-type {
  margin-top: 0;
}

.faq-group h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.faq-answer {
  padding: 0 40px 16px 0;
}

.faq-answer p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #3a444f;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.faq-aside {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
  position: sticky;
  top: 84px;
}

.faq-aside h2 {
  margin-bottom: 10px;
  font-size: 16px;
}

.aside-nav ul {
  display: grid;
  gap: 0;
}

.aside-nav li {
  border-top: 1px solid #eee8dd;
}

.aside-nav li:first-child {
  border-top: 0;
}

.aside-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #14243a;
}

.aside-nav a:hover,
.aside-nav a:focus-visible {
  color: #c85c2e;
}

.aside-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2dcd0;
}

.aside-note h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.aside-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.aside-note a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.aside-note a:hover,
.aside-note a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

/* 5.6 纠错反馈 */

.correction-scope,
.feedback-payload,
.handle-order,
.common-drift {
  margin-top: 32px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.correction-scope {
  margin-top: 28px;
}

.correction-scope h2,
.feedback-payload h2,
.handle-order h2,
.common-drift h2 {
  position: relative;
  padding-left: 12px;
  font-size: 20px;
}

.correction-scope h2::before,
.feedback-payload h2::before,
.handle-order h2::before,
.common-drift h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: #c85c2e;
  border-radius: 1px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.scope-item {
  position: relative;
  padding: 16px 18px 16px 52px;
  background-color: #fbf8f2;
  border: 1px solid #eee8dd;
  border-radius: 8px;
}

.scope-no {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #c85c2e;
}

.scope-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.scope-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.payload-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}

.payload-item {
  padding: 16px 18px;
  background-color: #fbf8f2;
  border: 1px solid #eee8dd;
  border-radius: 8px;
}

.payload-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.payload-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.order-figure {
  margin-bottom: 20px;
  background-color: #e6dfd2;
}

.order-figure img {
  aspect-ratio: 16 / 9;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.order-step {
  position: relative;
  padding: 16px 16px 16px;
  background-color: #fbf8f2;
  border: 1px solid #eee8dd;
  border-radius: 8px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2f6f6a;
  border-radius: 50%;
}

.order-step h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.order-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.order-note {
  margin: 16px 0 0;
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
  border-top: 1px dashed #e2dcd0;
}

.drift-list {
  display: grid;
  gap: 14px;
}

.drift-item {
  padding: 16px 18px;
  background-color: #fbf8f2;
  border: 1px solid #eee8dd;
  border-radius: 8px;
}

.drift-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.drift-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3a444f;
}

.drift-item a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.drift-item a:hover,
.drift-item a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

.drift-more {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.drift-more a {
  font-weight: 600;
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.drift-more a:hover,
.drift-more a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

/* 5.7 404 */

.error-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 8px;
}

.error-code {
  margin: 0 0 8px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c85c2e;
}

.error-panel h1 {
  margin-bottom: 10px;
}

.error-lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #5c6673;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hint {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2dcd0;
}

.error-hint h2 {
  margin-bottom: 10px;
  font-size: 17px;
}

.error-hint ul {
  display: grid;
  gap: 0;
}

.error-hint li {
  border-top: 1px solid #eee8dd;
}

.error-hint li:first-child {
  border-top: 0;
}

.error-hint a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: 15px;
  color: #14243a;
}

.error-hint a:hover,
.error-hint a:focus-visible {
  color: #c85c2e;
}

.error-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6673;
}

.error-note a {
  color: #c85c2e;
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
}

.error-note a:hover,
.error-note a:focus-visible {
  color: #14243a;
  border-bottom-color: #14243a;
}

/* --------------------------------------------------------------------------
   6. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    width: 100%;
    padding: 0 18px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .home-main,
  .inner-main,
  .footer-inner,
  .error-main {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-focus {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-main {
    gap: 18px;
  }

  .channel-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .channel-item:nth-child(3n) {
    border-right: 0;
  }

  .channel-item:nth-child(-n + 3) {
    border-bottom: 1px solid #e2dcd0;
  }

  .picks-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pick-large {
    grid-row: auto;
  }

  .board-row {
    grid-template-columns: 76px minmax(0, 120px) minmax(0, 100px) minmax(0, 1fr);
    gap: 12px;
  }

  .path-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .channel-index,
  .special-aside,
  .guide-toc,
  .faq-aside {
    position: static;
  }

  .special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .special-card-large {
    grid-column: span 2;
  }

  .rules-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-grid {
    grid-template-columns: 84px repeat(4, minmax(0, 1fr));
  }

  .rhythm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scope-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payload-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h2 {
    font-size: 20px;
  }

  .page-layout {
    margin-top: 22px;
  }

  .channel-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .channel-entry-head {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .channel-entry-head .channel-tag {
    grid-column: 2;
  }

  .channel-index {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .channel-index-list {
    display: flex;
    gap: 12px;
    min-width: max-content;
  }

  .channel-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid #eee8dd;
    border-radius: 6px;
    background-color: #fbf8f2;
  }

  .channel-link:first-child {
    padding-top: 10px;
  }

  .channel-link .channel-swatch {
    margin-top: 0;
  }

  .channel-hint {
    grid-column: auto;
  }

  .channel-figure {
    margin-bottom: 18px;
  }

  .board-row {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "date channel"
      "date time"
      "date dir";
    gap: 2px 12px;
    align-items: start;
    padding: 14px 16px;
  }

  .board-date {
    grid-area: date;
    align-self: start;
    padding-top: 2px;
  }

  .board-channel {
    grid-area: channel;
  }

  .board-time {
    grid-area: time;
  }

  .board-dir {
    grid-area: dir;
  }

  .path-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .note-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .source-note {
    padding: 20px;
  }

  .special-toolbar {
    align-items: flex-start;
  }

  .special-grid,
  .special-grid[data-cols="2"],
  .special-grid[data-cols="4"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-card-large,
  .special-grid[data-cols="2"] .special-card-large,
  .special-grid[data-cols="4"] .special-card-large {
    grid-column: auto;
  }

  .rules-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .schedule-grid {
    display: block;
    border: 0;
    background-color: transparent;
    overflow: visible;
  }

  .grid-head {
    display: none;
  }

  .grid-row {
    display: block;
    margin-bottom: 14px;
    background-color: #ffffff;
    border: 1px solid #e2dcd0;
    border-radius: 8px;
    overflow: hidden;
  }

  .grid-row .grid-cell {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border-left: 0;
    border-top: 1px solid #eee8dd;
  }

  .grid-row .grid-date {
    background-color: #f4efe5;
    border-top: 0;
  }

  .grid-row .grid-cell.is-empty {
    background-color: #faf7f1;
  }

  .grid-row .slot-empty {
    font-size: 13px;
  }

  .rhythm-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .payload-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .correction-scope,
  .feedback-payload,
  .handle-order,
  .common-drift {
    padding: 20px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-group ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
  }

  .footer-about ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-panel {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 19px;
  }

  h3 {
    font-size: 16px;
  }

  .header-inner {
    height: 60px;
    padding: 0 14px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .home-main,
  .inner-main,
  .footer-inner,
  .error-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-main {
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .inner-main {
    padding-top: 14px;
    padding-bottom: 44px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
    padding: 10px 16px;
  }

  .hero-schedule {
    padding: 16px;
  }

  .channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-item {
    min-height: 48px;
    padding: 8px 12px;
    font-size: 14px;
    border-right: 1px solid #e2dcd0;
  }

  .channel-item:nth-child(2n) {
    border-right: 0;
  }

  .channel-item:nth-child(-n + 4) {
    border-bottom: 1px solid #e2dcd0;
  }

  .channel-item:nth-child(3n) {
    border-right: 1px solid #e2dcd0;
  }

  .pick-body {
    padding: 12px 14px 16px;
  }

  .pick-body h3,
  .pick-large .pick-body h3 {
    font-size: 17px;
  }

  .pick-figure figcaption {
    padding: 8px 14px 0;
  }

  .board-row {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .path-step {
    padding: 16px;
  }

  .qa-list {
    padding: 2px 14px;
  }

  .qa-item summary,
  .faq-item summary {
    font-size: 15px;
    padding-right: 32px;
  }

  .qa-item p {
    padding-right: 0;
  }

  .faq-answer {
    padding-right: 0;
  }

  .source-note {
    padding: 18px 16px;
  }

  .source-label {
    padding: 18px 16px;
  }

  .special-toolbar {
    padding: 14px;
  }

  .toolbar-stepper {
    gap: 6px;
  }

  .stepper-label {
    display: none;
  }

  .curation-rules {
    padding: 18px 16px;
  }

  .aside-block,
  .guide-toc,
  .faq-aside,
  .channel-index {
    padding: 16px;
  }

  .step-item {
    padding: 14px 14px 14px 52px;
  }

  .step-item .step-num {
    left: 14px;
    top: 14px;
  }

  .term-list dt {
    padding: 12px 14px 0;
  }

  .term-list dd {
    padding: 4px 14px 12px;
  }

  .scope-item {
    padding: 14px 14px 14px 46px;
  }

  .scope-no {
    left: 14px;
    top: 14px;
  }

  .footer-group ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-main {
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .error-panel {
    padding: 20px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
  }
}

@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;
  }
}
