/* ============================================================
   泡芙短视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ---------- base ---------- */

:root {
  --paper: #f4f0e6;
  --ink: #17130f;
  --mustard: #ffcf3d;
  --signal: #2b5cff;
  --panel: #ffffff;
  --line: #d8d2c4;
  --shadow: 6px 6px 0 var(--ink);
  --edge: 2px solid var(--ink);
  --container: 1180px;
  --read: 760px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--signal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 18px;
  background: var(--mustard);
  border: var(--edge);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

/* ---------- layout ---------- */

.site-header {
  background: var(--paper);
  border-bottom: var(--edge);
  position: relative;
  z-index: 40;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-mark {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
  padding: 8px 0;
  flex: 0 0 auto;
}

.brand-mark:hover {
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: background-color 120ms linear, color 120ms linear, border-color 120ms linear;
}

.nav-link:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.nav-link.is-current {
  background: var(--mustard);
  border-color: var(--ink);
}

.nav-link.is-current:hover {
  background: var(--mustard);
  color: var(--ink);
}

.guide-entry {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: var(--edge);
  background: var(--panel);
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 120ms linear, color 120ms linear;
}

.guide-entry:hover {
  background: var(--signal);
  color: var(--panel);
  text-decoration: none;
}

.guide-icon {
  width: 12px;
  height: 12px;
  background: var(--signal);
  flex: 0 0 auto;
}

.guide-entry:hover .guide-icon {
  background: var(--panel);
}

.guide-text {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--paper);
  border: var(--edge);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.mobile-panel {
  display: none;
}

.site-main {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding-top: 0;
  padding-bottom: 64px;
  min-width: 0;
}

.breadcrumb {
  padding: 20px 0 6px;
  font-size: 14px;
  color: #4a423a;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-link {
  color: var(--signal);
}

.breadcrumb-current {
  color: #4a423a;
}

.inner-main > .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 6px;
  font-size: 14px;
}

.inner-main > .breadcrumb .breadcrumb-sep {
  color: var(--line);
}

.page-header {
  padding: 6px 0 26px;
  border-bottom: var(--edge);
  margin-bottom: 34px;
}

.page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch;
}

.page-title-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.page-title-text {
  min-width: 0;
  flex: 1 1 auto;
}

.page-title-summary,
.page-summary {
  margin-top: 14px;
  max-width: var(--read);
  font-size: 16px;
  color: #3c352e;
}

.page-title-badge,
.page-index-block {
  flex: 0 0 auto;
  border: var(--edge);
  background: var(--mustard);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  text-align: center;
  min-width: 96px;
}

.page-title-badge-label,
.badge-label,
.page-index-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.page-title-badge-num,
.badge-num,
.page-index-num,
.page-title-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
}

.site-footer {
  margin-top: 60px;
  border-top: var(--edge);
  background: var(--paper);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 42px 24px 26px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #4a423a;
  max-width: 28ch;
}

.footer-group-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  min-height: 34px;
  color: var(--ink);
  font-size: 14px;
}

.footer-link:hover {
  color: var(--signal);
}

.footer-icon {
  width: 10px;
  height: 10px;
  background: var(--ink);
  flex: 0 0 auto;
}

.footer-link:hover .footer-icon {
  background: var(--signal);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 34px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #4a423a;
}

.footer-scope {
  flex: 1 1 420px;
  max-width: 70ch;
}

.footer-copy {
  flex: 0 0 auto;
  font-family: var(--font-mono);
}

/* ---------- components ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: var(--edge);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  transition: transform 120ms linear, background-color 120ms linear, color 120ms linear;
}

.btn:hover {
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.btn-primary {
  background: var(--mustard);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--mustard);
}

.btn-outline {
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.text-link {
  display: inline-block;
  font-weight: 700;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}

.section-lead {
  max-width: var(--read);
  margin-top: 12px;
  color: #3c352e;
}

.section-note {
  max-width: var(--read);
  margin-top: 16px;
  font-size: 14px;
  color: #4a423a;
  padding-left: 14px;
  border-left: 4px solid var(--line);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: var(--edge);
  background: var(--panel);
  margin-top: 22px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #4a423a;
  border-bottom: 2px solid var(--ink);
}

.compare-table th,
.compare-table td,
.choice-table th,
.choice-table td,
.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.65;
}

.compare-table thead th,
.choice-table thead th,
.data-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}

.compare-table tbody th,
.choice-table tbody th {
  font-weight: 800;
  white-space: nowrap;
  background: #faf7ef;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td,
.choice-table tbody tr:last-child th,
.choice-table tbody tr:last-child td,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- pages: index ---------- */

.home-main {
  padding-bottom: 20px;
}

.hero {
  padding: 40px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-lead {
  min-width: 0;
}

.hero-lead h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 22ch;
}

.hero-intro {
  margin-top: 18px;
  max-width: 60ch;
  color: #3c352e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 13px;
  color: #4a423a;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.hero-figure {
  margin-top: 26px;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.hero-tasks {
  min-width: 0;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tasks-caption {
  padding: 12px 16px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  background: var(--mustard);
}

.task-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.task-cell {
  border-bottom: 2px solid var(--ink);
}

.task-cell:last-child {
  border-bottom: none;
}

.task-link {
  display: block;
  padding: 16px 16px 18px;
  color: var(--ink);
  transition: background-color 120ms linear, color 120ms linear;
}

.task-link:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.task-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--signal);
}

.task-link:hover .task-num {
  color: var(--mustard);
}

.task-name {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

.task-desc {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a423a;
}

.task-link:hover .task-desc {
  color: #e6e0d2;
}

.channel-map {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--edge);
}

.channel-map h2,
.structure-table h2,
.playlist-preview h2,
.checklist h2,
.archive-pointer h2 {
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
}

.channel-map-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 32px;
  margin-top: 26px;
  align-items: start;
}

.channel-index {
  min-width: 0;
}

.channel-index-list {
  border: var(--edge);
  background: var(--panel);
}

.channel-index-item {
  border-bottom: 2px solid var(--ink);
}

.channel-index-item:last-child {
  border-bottom: none;
}

.channel-index-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  transition: background-color 120ms linear;
}

.channel-index-link:hover {
  background: var(--mustard);
  text-decoration: none;
}

.index-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  flex: 0 0 auto;
}

.index-name {
  font-weight: 800;
  font-size: 16px;
}

.index-scope {
  font-size: 13px;
  color: #4a423a;
}

.channel-index-figure {
  margin-top: 20px;
  border: var(--edge);
  background: var(--panel);
}

.channel-index-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.channel-index-figure figcaption {
  padding: 9px 12px;
  font-size: 12.5px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.channel-panels {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.channel-block {
  border: var(--edge);
  background: var(--panel);
  padding: 20px 22px;
}

.channel-block .channel-name {
  font-size: 20px;
  font-weight: 700;
  padding-left: 12px;
  border-left: 6px solid var(--ink);
}

.channel-block .channel-position {
  margin-top: 10px;
  font-size: 15px;
  color: #3c352e;
}

.channel-items {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.channel-items li {
  font-size: 14.5px;
  padding-left: 16px;
  position: relative;
  color: #3c352e;
}

.channel-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.channel-block .text-link {
  margin-top: 10px;
  font-size: 14px;
}

.structure-table {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--edge);
}

.conclusion-line {
  margin-top: 14px;
  max-width: var(--read);
  font-weight: 700;
  padding: 12px 16px;
  background: var(--mustard);
  border: var(--edge);
}

.table-limit {
  margin-top: 14px;
  max-width: var(--read);
  font-size: 14px;
  color: #4a423a;
  padding-left: 14px;
  border-left: 4px solid var(--line);
}

.playlist-preview {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--edge);
}

.playlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 26px;
  align-items: start;
}

.playlist-feature {
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.playlist-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.playlist-feature .playlist-figure {
  border-bottom: 2px solid var(--ink);
}

.playlist-feature .playlist-name {
  padding: 16px 18px 0;
  font-size: 20px;
  font-weight: 800;
}

.playlist-feature .playlist-angle {
  padding: 8px 18px 0;
  font-size: 15px;
  color: #3c352e;
}

.playlist-feature .playlist-types {
  padding: 8px 18px 0;
  font-size: 14px;
  color: #4a423a;
}

.playlist-feature .text-link {
  margin: 12px 18px 18px;
  font-size: 14px;
}

.playlist-rows {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.playlist-row {
  display: flex;
  gap: 14px;
  border: var(--edge);
  background: var(--panel);
  padding: 16px 18px;
  transition: transform 120ms linear;
}

.playlist-row:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.playlist-row .row-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--signal);
  flex: 0 0 auto;
}

.row-body {
  min-width: 0;
}

.playlist-row .playlist-name {
  font-size: 17px;
  font-weight: 800;
}

.playlist-desc {
  margin-top: 4px;
  font-size: 14.5px;
  color: #3c352e;
}

.playlist-more {
  margin-top: 24px;
}

.checklist {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--edge);
}

.checklist-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.check-step {
  border: var(--edge);
  background: var(--panel);
  padding: 18px 20px;
}

.check-step .step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  background: var(--ink);
  color: var(--mustard);
  padding: 2px 9px;
}

.check-step .step-name {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

.step-rule {
  margin-top: 8px;
  font-size: 14.5px;
  color: #3c352e;
}

.archive-pointer {
  margin-top: 56px;
  padding-top: 40px;
  border-top: var(--edge);
}

.pointer-list {
  margin-top: 22px;
  border: var(--edge);
  background: var(--panel);
}

.pointer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
}

.pointer-row:last-child {
  border-bottom: none;
}

.pointer-name {
  font-weight: 700;
  font-size: 16px;
  flex: 1 1 260px;
  min-width: 0;
}

.pointer-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  border: 2px solid var(--ink);
  padding: 1px 8px;
  background: var(--mustard);
}

.feedback-strip {
  margin: 48px 0 0;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.feedback-text {
  flex: 1 1 420px;
  min-width: 0;
  font-size: 15px;
  color: #3c352e;
}

/* ---------- pages: channels ---------- */

.channel-jump {
  border: var(--edge);
  background: var(--panel);
  padding: 16px 18px;
  margin-bottom: 34px;
}

.channel-jump-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.channel-jump-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.channel-jump-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: background-color 120ms linear, color 120ms linear;
}

.channel-jump-link:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.channel-jump-link .jump-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--signal);
}

.channel-jump-link:hover .jump-num {
  color: var(--mustard);
}

.channel-block.channel-odd,
.channel-block.channel-even {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  border: var(--edge);
  background: var(--panel);
  padding: 26px 26px 28px;
  margin-bottom: 26px;
  align-items: start;
  scroll-margin-top: 96px;
}

.channel-info {
  min-width: 0;
}

.channel-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--signal);
}

.channel-info .channel-name {
  margin-top: 6px;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  padding-left: 12px;
  border-left: 6px solid var(--ink);
}

.channel-info .channel-position {
  margin-top: 12px;
  font-size: 15.5px;
  color: #3c352e;
}

.channel-subhead {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 3px 10px;
  background: var(--mustard);
  display: inline-block;
}

.channel-scope {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.channel-scope li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: #3c352e;
}

.channel-scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.channel-exclude {
  margin-top: 14px;
  font-size: 14px;
  color: #4a423a;
  border-left: 4px solid var(--line);
  padding-left: 12px;
}

.channel-media {
  min-width: 0;
}

.channel-figure {
  border: var(--edge);
  background: var(--paper);
}

.channel-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.channel-caption {
  padding: 9px 12px;
  font-size: 12.5px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.channel-samples {
  margin-top: 18px;
}

.sample-list {
  margin-top: 10px;
  border-top: 2px solid var(--ink);
}

.sample-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.sample-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.sample-desc {
  display: block;
  font-size: 14px;
  color: #4a423a;
}

.channel-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}

.channel-choice {
  margin-top: 40px;
  padding-top: 32px;
  border-top: var(--edge);
}

.channel-choice h2,
.playlist-bridge h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.choice-table {
  width: 100%;
  background: var(--panel);
}

.playlist-bridge {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.bridge-list {
  margin-top: 20px;
  border: var(--edge);
  background: var(--panel);
}

.bridge-item {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px 20px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
  align-items: baseline;
}

.bridge-item:last-child {
  border-bottom: none;
}

.bridge-channel {
  font-weight: 800;
  font-size: 15.5px;
}

.bridge-playlist {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--signal);
}

.bridge-note {
  font-size: 14px;
  color: #3c352e;
}

.bridge-more {
  margin-top: 18px;
}

/* ---------- pages: collections ---------- */

.playlist-index {
  margin-bottom: 40px;
}

.playlist-index h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.playlist-index-list {
  margin-top: 22px;
  border: var(--edge);
  background: var(--panel);
}

.playlist-index-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 10px 16px;
  align-items: baseline;
  padding: 13px 18px;
  border-bottom: 2px solid var(--ink);
}

.playlist-index-row:last-child {
  border-bottom: none;
}

.playlist-index-row .index-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--signal);
}

.playlist-index-row .index-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.index-desc {
  font-size: 14px;
  color: #3c352e;
}

.playlist {
  padding: 34px 0;
  border-top: var(--edge);
  scroll-margin-top: 96px;
}

.playlist-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.playlist-reverse .playlist-cols {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.playlist-reverse .playlist-media {
  order: 2;
}

.playlist-reverse .playlist-detail {
  order: 1;
}

.playlist-media {
  min-width: 0;
}

.playlist-media .playlist-figure {
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.playlist-media .playlist-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.playlist-media .playlist-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.playlist-media .playlist-angle {
  margin-top: 16px;
  font-size: 15px;
  color: #3c352e;
  max-width: 46ch;
}

.playlist-detail {
  min-width: 0;
}

.playlist-detail h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  padding-left: 12px;
  border-left: 6px solid var(--ink);
}

.playlist-detail h3 {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 3px 10px;
  background: var(--mustard);
}

.playlist-types {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.playlist-types li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: #3c352e;
}

.playlist-types li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.playlist-order {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  counter-reset: pl-order;
}

.playlist-order li {
  position: relative;
  padding-left: 34px;
  font-size: 14.5px;
  color: #3c352e;
  counter-increment: pl-order;
}

.playlist-order li::before {
  content: counter(pl-order);
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper);
}

.playlist-fit {
  margin-top: 16px;
  font-size: 14px;
  color: #4a423a;
  border-left: 4px solid var(--line);
  padding-left: 12px;
}

.playlist-limit {
  margin-top: 40px;
  padding-top: 32px;
  border-top: var(--edge);
}

.playlist-limit h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.limit-lead {
  margin-top: 14px;
  max-width: var(--read);
  font-weight: 700;
}

.playlist-limit > p {
  margin-top: 12px;
  max-width: var(--read);
  font-size: 15px;
  color: #3c352e;
}

.limit-points {
  margin-top: 16px;
  max-width: var(--read);
  display: grid;
  gap: 8px;
}

.limit-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #3c352e;
}

.limit-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

/* ---------- pages: archive ---------- */

.archive-note {
  padding-bottom: 30px;
  border-bottom: var(--edge);
}

.archive-note-lead {
  max-width: var(--read);
  font-weight: 700;
  font-size: 17px;
  padding: 12px 16px;
  background: var(--mustard);
  border: var(--edge);
}

.archive-note-body {
  margin-top: 16px;
  max-width: var(--read);
  font-size: 15.5px;
  color: #3c352e;
}

.archive-figure {
  margin-top: 24px;
  max-width: 720px;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.archive-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.archive-figure-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.year-jump {
  margin-top: 28px;
  border: var(--edge);
  background: var(--panel);
  padding: 14px 18px;
}

.year-jump-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.year-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.year-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 64px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  transition: background-color 120ms linear, color 120ms linear;
}

.year-jump-link:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.month-group {
  margin-top: 40px;
  scroll-margin-top: 96px;
}

.month-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 12px;
  border-bottom: var(--edge);
}

.month-group-head h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
}

.month-label {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
}

.month-group-note {
  font-size: 13.5px;
  color: #4a423a;
}

.archive-list {
  border: var(--edge);
  border-top: none;
  background: var(--panel);
}

.archive-row {
  border-bottom: 1px solid var(--line);
}

.archive-row:last-child {
  border-bottom: none;
}

.archive-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name tag"
    "summary link";
  gap: 6px 20px;
  padding: 16px 20px;
  align-items: baseline;
}

.archive-entry-name {
  grid-area: name;
  font-size: 16.5px;
  font-weight: 700;
  min-width: 0;
}

.archive-tag {
  grid-area: tag;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  border: 2px solid var(--ink);
  padding: 0 8px;
  background: var(--mustard);
  white-space: nowrap;
}

.archive-entry-summary {
  grid-area: summary;
  font-size: 14.5px;
  color: #3c352e;
  max-width: 70ch;
}

.archive-entry-link {
  grid-area: link;
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  padding: 4px 0;
}

.archive-limit {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.archive-limit h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.archive-limit-lead {
  margin-top: 14px;
  max-width: var(--read);
  font-weight: 700;
}

.archive-limit-list {
  margin-top: 16px;
  max-width: var(--read);
  display: grid;
  gap: 10px;
}

.archive-limit-item {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #3c352e;
}

.archive-limit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.archive-limit-note {
  margin-top: 18px;
  max-width: var(--read);
  font-size: 14.5px;
  color: #4a423a;
}

/* ---------- pages: watch-guide ---------- */

.page-layout.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.watch-layout .inner-main {
  padding: 0;
  max-width: none;
  margin: 0;
}

.watch-aside {
  min-width: 0;
  margin-top: 26px;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 20px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.aside-title {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.aside-figure {
  margin-top: 16px;
  border: 2px solid var(--ink);
}

.aside-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aside-caption {
  padding: 8px 10px;
  font-size: 12.5px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.aside-block {
  margin-top: 20px;
}

.aside-subtitle {
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 3px 10px;
  background: var(--mustard);
  margin-bottom: 10px;
}

.aside-list {
  display: grid;
  gap: 6px;
}

.aside-list-item {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #3c352e;
}

.aside-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.aside-links {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.aside-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aside-link-note {
  font-size: 13px;
  color: #4a423a;
  padding-left: 0;
}

.watch-main .checklist {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.step-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.step-item {
  display: flex;
  gap: 16px;
  border: var(--edge);
  background: var(--panel);
  padding: 18px 20px;
  align-items: flex-start;
}

.step-item .step-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  background: var(--ink);
  color: var(--mustard);
  padding: 4px 10px;
}

.step-body {
  min-width: 0;
}

.step-item .step-name {
  font-size: 18px;
  font-weight: 700;
}

.step-criteria {
  margin-top: 6px;
  font-size: 15px;
  color: #3c352e;
}

.step-fail {
  margin-top: 6px;
  font-size: 14px;
  color: #4a423a;
  border-left: 4px solid var(--line);
  padding-left: 12px;
}

.content-media {
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.content-media-inline {
  margin-top: 24px;
  max-width: 720px;
}

.content-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.env-table {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.data-table {
  background: var(--panel);
}

.data-table caption {
  caption-side: top;
}

.faq {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.faq-list {
  margin-top: 22px;
  border: var(--edge);
  background: var(--panel);
}

.faq-item {
  border-bottom: 2px solid var(--ink);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background-color 120ms linear;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  background: var(--panel);
  transition: background-color 120ms linear;
}

.faq-question:hover {
  background: #faf7ef;
}

.faq-item[open] .faq-question {
  background: var(--mustard);
}

.faq-item[open] .faq-question::after {
  background: var(--ink);
}

.faq-answer {
  padding: 4px 18px 18px;
  font-size: 15px;
  color: #3c352e;
  max-width: 70ch;
}

.not-support {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.plain-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.plain-item {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #3c352e;
}

.plain-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--ink);
}

/* ---------- pages: feedback ---------- */

.feedback-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: var(--edge);
}

.feedback-media {
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feedback-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feedback-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a423a;
  border-top: 2px solid var(--ink);
}

.feedback-intro-text {
  min-width: 0;
}

.feedback-intro-text h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  padding-left: 12px;
  border-left: 6px solid var(--ink);
}

.feedback-intro-text p {
  margin-top: 12px;
  font-size: 15.5px;
  color: #3c352e;
  max-width: 60ch;
}

.accept-scope {
  margin-top: 40px;
}

.accept-scope h2,
.not-accept h2,
.issue-format h2,
.page-bridge h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.scope-card {
  border: var(--edge);
  background: var(--panel);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
}

.scope-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--signal);
}

.scope-name {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
}

.scope-judge {
  margin-top: 8px;
  font-size: 14.5px;
  color: #3c352e;
}

.scope-example {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 13.5px;
  color: #4a423a;
}

.not-accept {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.not-accept-list {
  margin-top: 20px;
  border: var(--edge);
  background: var(--panel);
}

.not-accept-item {
  padding: 16px 20px;
  border-bottom: 2px solid var(--ink);
}

.not-accept-item:last-child {
  border-bottom: none;
}

.not-accept-name {
  font-size: 16.5px;
  font-weight: 700;
}

.not-accept-desc {
  margin-top: 6px;
  font-size: 14.5px;
  color: #3c352e;
  max-width: 70ch;
}

.issue-format {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.issue-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.issue-item {
  display: flex;
  gap: 16px;
  border: var(--edge);
  background: var(--panel);
  padding: 16px 20px;
  align-items: flex-start;
}

.issue-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  background: var(--ink);
  color: var(--mustard);
  padding: 4px 10px;
}

.issue-body {
  min-width: 0;
}

.issue-name {
  font-size: 17px;
  font-weight: 700;
}

.issue-write {
  margin-top: 6px;
  font-size: 14.5px;
  color: #3c352e;
  max-width: 70ch;
}

.page-bridge {
  margin-top: 44px;
  padding-top: 32px;
  border-top: var(--edge);
}

.bridge-list {
  margin-top: 20px;
  border: var(--edge);
  background: var(--panel);
}

.page-bridge .bridge-item {
  display: block;
  padding: 16px 20px;
  border-bottom: 2px solid var(--ink);
}

.page-bridge .bridge-item:last-child {
  border-bottom: none;
}

.bridge-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}

.bridge-desc {
  margin-top: 4px;
  font-size: 14.5px;
  color: #3c352e;
  max-width: 70ch;
}

/* ---------- pages: 404 ---------- */

.error-main {
  padding-top: 60px;
  padding-bottom: 80px;
}

.error-inner {
  max-width: 760px;
  border: var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 36px 34px 34px;
}

.error-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--signal);
}

.error-title {
  margin-top: 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.error-text {
  margin-top: 14px;
  font-size: 16px;
  color: #3c352e;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: var(--edge);
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow);
  transition: transform 120ms linear, background-color 120ms linear, color 120ms linear;
}

.error-btn:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.error-btn-primary {
  background: var(--mustard);
}

.error-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  color: #4a423a;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .header-inner {
    gap: 14px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 14px;
  }

  .guide-entry {
    font-size: 12px;
    padding: 7px 9px;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-layout.watch-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
  }

  .channel-jump-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.site-body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 66px;
    padding: 0 18px;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav {
    flex: 0 0 auto;
  }

  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .guide-entry:not(.guide-entry-mobile) {
    display: none;
  }

  .mobile-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--paper);
    padding: 18px;
    overflow-y: auto;
  }

  .mobile-panel[hidden] {
    display: none;
  }

  .mobile-panel .guide-entry-mobile {
    display: inline-flex;
    margin-bottom: 16px;
  }

  .mobile-nav-list {
    border: var(--edge);
    background: var(--panel);
  }

  .mobile-nav-list li {
    border-bottom: 2px solid var(--ink);
  }

  .mobile-nav-list li:last-child {
    border-bottom: none;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 18px;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
  }

  .mobile-nav-link.is-current {
    background: var(--mustard);
  }

  .site-main,
  .page-layout.watch-layout,
  .footer-inner,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-lead h1 {
    max-width: none;
  }

  .hero-tasks {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-cell:nth-child(odd) {
    border-right: 2px solid var(--ink);
  }

  .task-cell:nth-last-child(2) {
    border-bottom: 2px solid var(--ink);
  }

  .channel-map-inner,
  .playlist-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-index-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-index-item {
    border-bottom: 2px solid var(--ink);
  }

  .channel-index-item:nth-child(odd) {
    border-right: 2px solid var(--ink);
  }

  .channel-index-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .channel-index-link {
    flex-wrap: wrap;
    gap: 4px 10px;
    min-height: 48px;
  }

  .index-scope {
    flex: 1 1 100%;
  }

  .checklist-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .playlist-feature {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .page-title-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-title {
    max-width: none;
  }

  .page-title-badge,
  .page-index-block {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .channel-block.channel-odd,
  .channel-block.channel-even {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 20px 18px 22px;
  }

  .channel-jump-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bridge-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .playlist-cols,
  .playlist-reverse .playlist-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .playlist-reverse .playlist-media,
  .playlist-reverse .playlist-detail {
    order: initial;
  }

  .playlist-index-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .playlist-index-row .index-desc {
    grid-column: 1 / -1;
  }

  .archive-entry {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tag"
      "name"
      "summary"
      "link";
    gap: 8px;
  }

  .archive-entry-link {
    justify-self: start;
  }

  .page-layout.watch-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .watch-aside {
    margin-top: 40px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .feedback-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body.site-body {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .header-inner {
    padding: 0 14px;
    min-height: 60px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .site-main,
  .page-layout.watch-layout,
  .footer-inner,
  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-lead h1 {
    font-size: 27px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-meta {
    gap: 6px 14px;
  }

  .task-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-cell:nth-child(odd) {
    border-right: none;
  }

  .task-cell {
    border-bottom: 2px solid var(--ink);
  }

  .task-cell:last-child {
    border-bottom: none;
  }

  .channel-map,
  .structure-table,
  .playlist-preview,
  .checklist,
  .archive-pointer {
    margin-top: 40px;
    padding-top: 28px;
  }

  .channel-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-index-item:nth-child(odd) {
    border-right: none;
  }

  .channel-index-item:nth-last-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

  .channel-index-item:last-child {
    border-bottom: none;
  }

  .channel-block {
    padding: 16px 15px;
  }

  .playlist-row {
    flex-direction: column;
    gap: 6px;
  }

  .pointer-row {
    gap: 6px 12px;
  }

  .feedback-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .feedback-strip .text-link {
    min-height: 44px;
  }

  .breadcrumb,
  .inner-main > .breadcrumb {
    font-size: 13px;
    padding-top: 14px;
  }

  .page-header {
    padding-bottom: 18px;
    margin-bottom: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .channel-jump-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-jump {
    padding: 14px;
  }

  .channel-block.channel-odd,
  .channel-block.channel-even {
    padding: 16px 15px 18px;
  }

  .playlist {
    padding: 26px 0;
  }

  .playlist-index-row {
    padding: 12px 14px;
  }

  .month-group {
    margin-top: 30px;
  }

  .archive-entry {
    padding: 14px 15px;
  }

  .year-jump {
    padding: 12px 14px;
  }

  .step-item,
  .issue-item {
    flex-direction: column;
    gap: 8px;
    padding: 14px 15px;
  }

  .step-item .step-num,
  .issue-num {
    align-self: flex-start;
  }

  .faq-question {
    padding: 12px 14px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 4px 14px 16px;
  }

  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-card {
    padding: 15px;
  }

  .feedback-intro {
    padding-bottom: 24px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 28px;
  }

  .error-main {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .error-inner {
    padding: 24px 18px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .error-actions {
    flex-direction: column;
  }

  .error-btn {
    width: 100%;
  }

  .compare-table th,
  .compare-table td,
  .choice-table th,
  .choice-table td,
  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn:hover,
  .error-btn:hover,
  .playlist-row:hover {
    transform: none;
  }
}
