/* ==========================================================================
   天美mv · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基础
   -------------------------------------------------------------------------- */

:root {
  --ink: #14161a;
  --ink-soft: #3c4149;
  --paper: #f7f6f3;
  --surface: #ffffff;
  --pine: #3d5c52;
  --pine-deep: #2c453d;
  --muted: #7a8089;
  --line: #c9c5bc;
  --line-soft: #e8e5df;
  --wash: #efede7;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shell: 1120px;
  --shell-pad: 32px;
  --radius: 6px;
  --ease: 160ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: var(--pine);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--pine-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. layout — 骨架：页头、导航、主容器、面包屑、页标题、页脚
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--pine);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--ink);
  border-bottom-color: var(--pine);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: var(--ink);
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--shell-pad) 16px;
}

.drawer-list li + li {
  border-top: 1px solid var(--line-soft);
}

.drawer-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink-soft);
  font-size: 15px;
}

.drawer-list a.is-current {
  color: var(--pine);
  font-weight: 600;
}

.site-main {
  display: block;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--shell-pad) 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--pine);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 22px 0 0;
}

.page-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}

.page-head,
.page-hero,
.page-title-block {
  padding: 20px 0 0;
  max-width: 760px;
}

.eyebrow,
.page-eyebrow {
  margin-bottom: 10px;
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.section-desc,
.section-note,
.section-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-title {
  font-size: 22px;
  line-height: 1.35;
}

.container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px var(--shell-pad);
  border-bottom: 1px solid var(--line-soft);
}

.footer-cta-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--shell-pad);
}

.footer-col-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.footer-col ul li + li {
  margin-top: 6px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--pine);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--shell-pad) 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-brand {
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-note {
  flex: 1 1 320px;
  min-width: 0;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   3. components — 按钮、字段行、条目行、点标、图注、通用链接
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: background-color var(--ease), color var(--ease),
    border-color var(--ease);
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--pine);
  border-color: var(--pine);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--pine-deep);
  border-color: var(--pine-deep);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--pine);
  color: var(--pine);
}

/* 字段行：等宽标签 + 值 */
.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.field {
  min-width: 0;
}

.field dt,
.field-item dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.field dd,
.field-item dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.field-mono,
.field dd.field-mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* 条目行：标题 + 字段 + 箭头 */
.entry-list {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.entry-item {
  border-bottom: 1px solid var(--line-soft);
}

.entry-item > a,
.entry-item .entry-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 12px 0;
  color: var(--ink);
}

.entry-item > a:hover,
.entry-item > a:focus-visible {
  text-decoration: none;
}

.entry-item > a:hover .entry-title,
.entry-item > a:focus-visible .entry-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-item > a:hover .entry-arrow,
.entry-item > a:focus-visible .entry-arrow {
  transform: translateX(2px);
}

.entry-title {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.6;
}

.entry-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.entry-field {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.entry-arrow {
  flex: 0 0 auto;
  color: var(--pine);
  font-size: 14px;
  transition: transform var(--ease);
}

.entry-summary {
  flex: 1 1 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* 点标 */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--pine);
}

.dot-nature {
  background-color: #3d5c52;
}

.dot-city {
  background-color: #6b7f8c;
}

.dot-craft {
  background-color: #a08a63;
}

.dot-sound {
  background-color: #8a7f9c;
}

/* 图片容器与图注 */
.media-figure,
.hero-media,
.batch-figure,
.help-figure,
.help-path-figure,
.selection-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background-color: var(--wash);
}

.media-figure img,
.hero-media img,
.batch-figure img,
.help-figure img,
.help-path-figure img,
.selection-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.media-figure figcaption,
.hero-media figcaption,
.batch-figure figcaption,
.help-figure figcaption,
.help-path-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 通用箭头链接与内联链接组 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

.home-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--shell-pad) 72px;
}

/* 首屏对照区 */
.hero {
  padding: 40px 0 8px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.hero-lead {
  min-width: 0;
}

.hero-lead h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 600;
}

.hero-sub {
  max-width: 620px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-media {
  max-width: 620px;
  margin-top: 28px;
}

.hero-media img {
  aspect-ratio: 16 / 9;
}

/* 方案对照列 */
.hero-options {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.options-title {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.option-list {
  margin-top: 12px;
}

.option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.option-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.option-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.option-fit {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.option-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

/* 站点信息条 */
.info-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 28px;
}

.info-item {
  min-width: 0;
}

.field-label,
.info-item dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.info-item dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.field-sep {
  color: var(--line);
}

/* 编排日历双栏 */
.calendar-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  line-height: 1.35;
}

.section-head .section-desc {
  max-width: 520px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 32px;
  align-items: start;
}

.calendar-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.calendar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.calendar-month {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.calendar-legend .dot {
  margin-right: 5px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 6px 2px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.cal-head {
  min-height: 34px;
  background-color: var(--wash);
  color: var(--muted);
  font-size: 12px;
}

.cal-empty {
  background-color: transparent;
}

.cal-day {
  line-height: 1;
}

.cal-cell.has-item {
  background-color: #f2f5f2;
}

.cal-cell.has-item .cal-day {
  color: var(--pine-deep);
  font-weight: 600;
}

/* 当日条目列表 */
.day-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.day-panel-title {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.day-list {
  margin-top: 10px;
}

.day-item {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.day-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.day-item-title {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.day-item-title:hover,
.day-item-title:focus-visible {
  color: var(--pine);
}

.day-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.day-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* 频道分类树与条目列表 */
.channel-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.channel-tree {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.tree-list li + li {
  border-top: 1px solid var(--line-soft);
}

.tree-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding-left: 10px;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 15px;
}

.tree-link:hover,
.tree-link:focus-visible,
.tree-link.is-active {
  border-left-color: var(--pine);
  color: var(--pine-deep);
  text-decoration: none;
}

.tree-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0;
  transition: opacity var(--ease);
}

.tree-link:hover .tree-count,
.tree-link:focus-visible .tree-count,
.tree-link.is-active .tree-count {
  opacity: 1;
}

.channel-items {
  min-width: 0;
}

.channel-items-head {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.item-list {
  margin-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.item-title {
  flex: 1 1 260px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.item-title:hover,
.item-title:focus-visible {
  color: var(--pine);
}

.item-field {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.item-arrow {
  flex: 0 0 auto;
  color: var(--pine);
  font-size: 14px;
}

/* 主题片单 */
.playlist-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.playlist-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background-color: var(--wash);
}

.playlist-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.playlist-name {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.playlist-desc {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.playlist-field {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

/* 精选推荐 */
.selection-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.selection-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.selection-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.selection-thumb {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background-color: var(--wash);
}

.selection-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.selection-body {
  min-width: 0;
}

.selection-title {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.selection-title a {
  color: var(--ink);
}

.selection-title a:hover,
.selection-title a:focus-visible {
  color: var(--pine);
}

.selection-reason {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.selection-field {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

/* 观看帮助摘要 */
.help-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.help-summary-list {
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.help-summary-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.help-question {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.help-answer {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* 编选边界两栏 */
.boundary-block {
  padding: 40px 0 8px;
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.boundary-col {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.boundary-col-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.boundary-list {
  margin-top: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.boundary-list li + li {
  margin-top: 6px;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--pine);
}

/* --------------------------------------------------------------------------
   5. pages — 内页：内容频道
   -------------------------------------------------------------------------- */

.page-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.inner-main .page-shell {
  padding-left: 0;
  padding-right: 0;
}

.channel-index {
  padding: 32px 0 8px;
}

.channel-index-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.channel-index-item {
  min-width: 0;
}

.channel-index-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--ink);
}

.channel-index-item a:hover,
.channel-index-item a:focus-visible {
  border-color: var(--pine);
  text-decoration: none;
}

.channel-index-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.channel-index-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.channel-media {
  padding: 24px 0 0;
}

.channel-media .media-figure img {
  aspect-ratio: 21 / 9;
}

.channel-block {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.channel-block:last-of-type {
  border-bottom: 0;
}

.channel-block-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.channel-mark {
  flex: 0 0 auto;
  width: 3px;
  height: 26px;
  margin-top: 4px;
  border-radius: 2px;
  background-color: var(--pine);
}

.channel-block-title-wrap {
  min-width: 0;
}

.channel-block-title {
  font-size: 22px;
  line-height: 1.35;
}

.channel-block-range {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  max-width: 720px;
}

.relation-note {
  padding: 32px 0 8px;
  max-width: 760px;
}

.relation-note h2 {
  font-size: 22px;
  line-height: 1.35;
}

.relation-note p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.relation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
}

.relation-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   6. pages — 编排日历
   -------------------------------------------------------------------------- */

.batch-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.batch-figure img {
  aspect-ratio: 16 / 9;
}

.batch-note {
  min-width: 0;
}

.batch-note h2 {
  font-size: 22px;
  line-height: 1.35;
}

.batch-note p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0;
}

.schedule-layout .calendar-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.schedule-layout .calendar-panel h2 {
  font-size: 17px;
  line-height: 1.5;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--pine);
}

.schedule-layout .calendar-grid {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.calendar-head,
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-head span {
  padding: 8px 2px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background-color: var(--wash);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.calendar-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  padding: 4px 2px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.calendar-cell.is-empty {
  background-color: transparent;
}

.calendar-cell.has-entry {
  background-color: #f2f5f2;
}

.calendar-cell.has-entry .cell-day {
  color: var(--pine-deep);
  font-weight: 600;
}

.cell-day {
  line-height: 1;
}

.cell-link {
  display: block;
  width: 100%;
  color: inherit;
  text-align: center;
}

.cell-link:hover,
.cell-link:focus-visible {
  color: var(--pine-deep);
  text-decoration: none;
}

.cell-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--pine);
}

.calendar-fields {
  margin-top: 16px;
}

.schedule-layout .day-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.schedule-layout .day-panel h2 {
  font-size: 17px;
  line-height: 1.5;
}

.day-group {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.day-group:first-of-type {
  border-top: 0;
}

.day-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.day-heading time {
  font-family: var(--font-mono);
  color: var(--ink);
}

.day-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.schedule-layout .entry-list {
  margin-top: 8px;
}

.schedule-layout .entry-item .entry-body {
  display: block;
  padding: 10px 0;
}

.schedule-layout .entry-title {
  display: block;
  font-size: 15px;
  line-height: 1.6;
}

.schedule-layout .entry-fields {
  margin-top: 4px;
}

.rule-section {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.rule-section h2 {
  font-size: 22px;
  line-height: 1.35;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 16px;
}

.rule-col {
  min-width: 0;
}

.rule-col p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.rule-col p + p {
  margin-top: 8px;
}

.rule-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}

.rule-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   7. pages — 主题片单
   -------------------------------------------------------------------------- */

.playlist-block {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.playlist-cover {
  min-width: 0;
}

.playlist-cover .media-figure img {
  aspect-ratio: 4 / 3;
}

.playlist-body {
  min-width: 0;
}

.playlist-body h2 {
  font-size: 22px;
  line-height: 1.35;
}

.playlist-intro {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
  max-width: 720px;
}

.ordered-list {
  margin-top: 16px;
  counter-reset: playlist-item;
  border-top: 1px solid var(--line-soft);
}

.ordered-list li {
  counter-increment: playlist-item;
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line-soft);
}

.ordered-list li::before {
  content: counter(playlist-item, decimal-leading-zero);
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.ordered-list .item-title {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.item-reason {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.boundary-note {
  padding: 32px 0 0;
  max-width: 760px;
}

.boundary-note h2 {
  font-size: 22px;
  line-height: 1.35;
}

.boundary-note p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

/* --------------------------------------------------------------------------
   8. pages — 精选推荐
   -------------------------------------------------------------------------- */

.selection-list {
  padding: 28px 0 8px;
}

.selection-list h2 {
  font-size: 22px;
  line-height: 1.35;
}

.selection-list .section-lead {
  margin-top: 6px;
  max-width: 720px;
}

.selection-item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.selection-figure {
  min-width: 0;
}

.selection-figure img {
  aspect-ratio: 16 / 10;
}

.selection-body {
  min-width: 0;
}

.selection-body .field-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.selection-basis {
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}

.selection-basis h2 {
  font-size: 22px;
  line-height: 1.35;
}

.basis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 16px;
}

.basis-col {
  min-width: 0;
}

.basis-col-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.basis-col p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.checkpoint-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.checkpoint-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.checkpoint-name {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.related-entry {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.related-entry h2 {
  font-size: 22px;
  line-height: 1.35;
}

.related-entry .section-lead {
  margin-top: 6px;
}

.entry-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.entry-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--ink);
}

.entry-link:hover,
.entry-link:focus-visible {
  border-color: var(--pine);
  text-decoration: none;
}

.entry-link-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.entry-link-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   9. pages — 观看帮助
   -------------------------------------------------------------------------- */

.help-figure {
  margin-top: 24px;
}

.help-figure img {
  aspect-ratio: 21 / 9;
}

.help-group {
  padding: 32px 0 8px;
  border-bottom: 1px solid var(--line);
}

.help-group:last-of-type {
  border-bottom: 0;
}

.help-group .section-note {
  margin-top: 6px;
  max-width: 720px;
}

.help-item {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.help-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.help-question::-webkit-details-marker {
  display: none;
}

.help-question::after {
  content: "展开细节";
  flex: 0 0 auto;
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.help-item[open] .help-question::after {
  content: "收起细节";
}

.help-conclusion {
  padding: 0 18px 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.help-detail {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line-soft);
  background-color: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
}

.help-detail p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.help-detail p + p {
  margin-top: 8px;
}

.help-path {
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}

.help-path-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

.help-path-text {
  min-width: 0;
}

.help-path-text p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.help-path-text p + p {
  margin-top: 8px;
}

.help-path-figure {
  min-width: 0;
}

.help-path-figure img {
  aspect-ratio: 16 / 10;
}

.help-links {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   10. pages — 编选与边界
   -------------------------------------------------------------------------- */

.editorial-body {
  max-width: 720px;
  padding: 32px 0 8px;
}

.editorial-body h2 {
  font-size: 22px;
  line-height: 1.35;
}

.editorial-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.editorial-block h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.editorial-block p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.checkpoints {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.checkpoints h2 {
  font-size: 22px;
  line-height: 1.35;
}

.checkpoints .section-lead {
  margin-top: 6px;
  max-width: 720px;
}

.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.checkpoint {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.checkpoint-index {
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.checkpoint h3 {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.checkpoint p:last-child {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.scope-pair {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.scope-pair h2 {
  font-size: 22px;
  line-height: 1.35;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.scope-col {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.scope-col h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.scope-list {
  margin-top: 10px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.scope-list li + li {
  margin-top: 6px;
}

.scope-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--pine);
}

.scope-col-boundary .scope-list li::before {
  background-color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding: 56px var(--shell-pad) 72px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.error-code {
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.error-title {
  margin-top: 8px;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25;
}

.error-lead {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   12. responsive — 960px / 640px
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root {
    --shell-pad: 24px;
  }

  .header-inner {
    gap: 16px;
    min-height: 60px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-options {
    max-width: none;
  }

  .option-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 12px;
  }

  .option-link {
    justify-self: end;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-layout,
  .schedule-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-tree {
    padding: 12px;
  }

  .tree-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tree-list li + li {
    border-top: 0;
  }

  .tree-list li {
    flex: 0 0 auto;
  }

  .tree-link {
    padding: 0 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .tree-link:hover,
  .tree-link:focus-visible,
  .tree-link.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--pine);
  }

  .tree-count {
    opacity: 1;
  }

  .playlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-index-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .batch-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .playlist-block {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
  }

  .selection-item {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 20px;
  }

  .selection-body .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-path-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --shell-pad: 18px;
  }

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .header-inner {
    min-height: 56px;
  }

  .brand {
    font-size: 18px;
  }

  .page-header {
    padding-top: 18px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-lead {
    font-size: 16px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .home-main {
    padding-bottom: 56px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-lead h1 {
    font-size: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .option-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .option-link {
    justify-self: start;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .field-row,
  .rule-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .calendar-block,
  .channel-block,
  .playlist-block,
  .selection-block,
  .help-block {
    padding: 28px 0;
  }

  .calendar-panel,
  .day-panel {
    padding: 14px;
  }

  .calendar-grid {
    overflow-x: auto;
  }

  .cal-cell {
    min-height: 44px;
    font-size: 12px;
  }

  .cal-head {
    min-height: 30px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .playlist-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .selection-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .selection-thumb {
    max-width: 100%;
  }

  .boundary-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-block-head {
    gap: 10px;
  }

  .channel-block-title {
    font-size: 20px;
  }

  .batch-intro {
    padding: 22px 0;
  }

  .schedule-layout {
    padding: 24px 0;
    gap: 24px;
  }

  .schedule-layout .calendar-panel {
    padding: 14px;
  }

  .calendar-head span,
  .calendar-cell {
    font-size: 12px;
  }

  .calendar-cell {
    min-height: 42px;
  }

  .rule-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .playlist-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0;
  }

  .playlist-body h2 {
    font-size: 20px;
  }

  .ordered-list li {
    padding-left: 30px;
  }

  .selection-list {
    padding-top: 22px;
  }

  .selection-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .selection-body .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .basis-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .checkpoint-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-question {
    padding: 12px 14px;
    font-size: 15px;
  }

  .help-conclusion {
    padding: 0 14px 12px;
  }

  .help-detail {
    padding: 12px 14px 14px;
  }

  .checkpoint-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .editorial-body {
    padding-top: 24px;
  }

  .error-main {
    padding: 40px var(--shell-pad) 56px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px var(--shell-pad);
  }

  .footer-cta .btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 26px var(--shell-pad);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px var(--shell-pad) 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
