/* ==========================================================================
   久久影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --ink: #14181f;
  --paper: #f6f4ef;
  --white: #ffffff;
  --accent: #c8452d;
  --brand-blue: #1f3a5f;
  --muted: #8a8578;
  --line: #d9d4c8;
  --line-soft: #e6e2d8;
  --shell: 1180px;
  --gutter: 24px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas,
    "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted);
  transition: text-decoration-color 0.15s ease, text-decoration-thickness 0.15s ease;
}

a:hover,
a:focus {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

time,
.mono,
.channel-num,
.step-num,
.rank-num,
.topic-no,
.month-num,
.flow-num,
.prep-num,
.rule-num,
.error-code {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   layout
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-main {
  display: block;
  padding-bottom: 96px;
}

.inner-main {
  padding-top: 8px;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}

.brand-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
}

.brand:hover .brand-mark {
  color: var(--accent);
}

/* ---- nav ---- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.primary-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

/* ---- breadcrumb ---- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 0;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* ---- page header ---- */

.page-header {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  max-width: 900px;
}

.page-head {
  max-width: 900px;
  padding: 24px 0 0;
}

.page-lead {
  font-size: 17px;
  color: #3a3f47;
  line-height: 1.85;
  max-width: 760px;
}

.page-meta,
.page-revised,
.page-lede {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.page-lede {
  font-size: 17px;
  color: #3a3f47;
  line-height: 1.85;
  max-width: 760px;
}

.page-revised {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---- generic section ---- */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
}

.section:first-child {
  border-top: 0;
  padding-top: 0;
}

.section-title {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-lead {
  max-width: 760px;
  color: #3a3f47;
  margin-bottom: 28px;
}

.section-intro {
  max-width: 760px;
  color: #3a3f47;
  margin-bottom: 24px;
}

.section-text {
  max-width: 760px;
  margin-bottom: 24px;
}

/* ---- page layout ---- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.layout-shell {
  grid-template-columns: minmax(0, 760px) 300px;
  justify-content: space-between;
}

.layout-single {
  grid-template-columns: minmax(0, 820px);
}

.page-main,
.page-content,
.content-column,
.content-main {
  min-width: 0;
}

.page-aside,
.page-sidebar,
.sidebar {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 104px;
}

/* ---- footer ---- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: 56px;
  font-size: 13px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-mark {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.footer-desc {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-boundary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter) 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---- buttons ---- */

.btn,
.btn-primary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #a83824;
  border-color: #a83824;
  text-decoration: none;
}

.btn-text {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
}

.btn-text:hover,
.btn-text:focus {
  border-color: var(--ink);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--ink);
  text-decoration: none;
}

/* ---- figure / media ---- */

.hero-visual,
.figure,
.media-figure,
.flow-figure,
.path-figure,
.media-block,
.faq-figure {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}

.hero-visual img,
.figure img,
.media-figure img,
.flow-figure img,
.path-figure img,
.media-block img,
.faq-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--line-soft);
}

figcaption,
.figure-caption,
.media-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
}

/* ---- info table (home) ---- */

.info-table {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.info-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

/* ---- toc ---- */

.entry-toc,
.toc {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.toc-title,
.sidebar-title,
.aside-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.toc-list li,
.entry-toc .toc-list li {
  margin-bottom: 2px;
}

.toc-list a {
  display: block;
  padding: 8px 0 8px 14px;
  font-size: 14px;
  color: #3a3f47;
  text-decoration: none;
  border-left: 2px solid transparent;
  line-height: 1.6;
}

.toc-list a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

.entry-toc .toc-list a {
  font-size: 15px;
}

/* ---- channel rows (home) ---- */

.channel-list {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 180px) minmax(0, 1fr) minmax(0, 180px);
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.channel-num {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

.channel-name {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.channel-scope {
  margin: 0;
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
}

.channel-link {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.channel-link a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.channel-link a:hover {
  border-bottom-width: 3px;
}

/* ---- step list ---- */

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.step-item {
  min-width: 0;
}

.step-num {
  display: block;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title,
.step-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #3a3f47;
  line-height: 1.75;
  margin: 0;
}

/* ---- continue links ---- */

.continue-list {
  border-top: 1px solid var(--line);
}

.continue-item,
.continue-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.continue-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.continue-item a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.continue-note,
.continue-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- data / spec / status tables ---- */

.data-table,
.spec-table,
.status-table {
  margin: 24px 0;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--white);
}

.data-table caption,
.spec-caption,
.table-caption,
.status-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 0 0 10px;
}

.data-table th,
.data-table td,
.spec-table th,
.spec-table td,
.status-table th,
.status-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.data-table thead th,
.spec-table thead th,
.status-table thead th {
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
}

.spec-table tbody th {
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td,
.status-table tbody tr:last-child th,
.status-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---- compare list ---- */

.compare-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.compare-term {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.compare-desc {
  margin: 0;
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
}

/* ---- rule list ---- */

.rule-list {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.rule-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.75;
}

.rule-num {
  color: var(--accent);
  font-size: 14px;
}

/* ---- verdict tags ---- */

.verdict {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.6;
}

.verdict-go {
  background: #eef2e6;
  color: #3f5a24;
  border: 1px solid #cfd8bd;
}

.verdict-stop {
  background: #f7e9e5;
  color: #8f2c18;
  border: 1px solid #e6c3b9;
}

/* ---- aside blocks ---- */

.aside-block {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.aside-block:first-of-type {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.aside-subtitle {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.aside-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.year-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.year-item {
  min-width: 0;
}

.year-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
}

.year-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.year-link.is-current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---- next list ---- */

.next-list {
  border-top: 1px solid var(--line);
}

.next-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.75;
}

.next-item a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.next-item a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.next-note {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---- sidebar notes ---- */

.sidebar-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sidebar-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.sidebar-foot a {
  color: var(--accent);
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---- home hero ---- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-intro {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.hero-intro h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: #3a3f47;
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-tags li {
  min-width: 0;
}

.hero-tags a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.hero-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  min-width: 0;
}

/* ---- headlines ---- */

.headlines {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
}

.headlines > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.headline-latest,
.headline-topics {
  min-width: 0;
}

.block-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.month-group {
  margin-bottom: 20px;
}

.month-group:last-child {
  margin-bottom: 0;
}

.month-label {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.record-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.7;
}

.record-list li:last-child {
  border-bottom: 0;
}

.record-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.record-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topic-ranked li {
  border-bottom: 1px solid var(--line-soft);
}

.topic-ranked li:last-child {
  border-bottom: 0;
}

.topic-ranked a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.7;
}

.topic-ranked a:hover .rank-text {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.rank-num {
  color: var(--accent);
  font-size: 14px;
}

.rank-text {
  min-width: 0;
}

/* ---- topic tabs ---- */

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tabs-intro {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  flex: 0 0 auto;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-list li {
  min-width: 0;
}

.tab-list a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.tab-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- entry summary + toc ---- */

.entry {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.entry-summary {
  min-width: 0;
}

.entry-summary > p {
  max-width: 640px;
  color: #3a3f47;
}

/* ---- paths ---- */

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.path-row {
  min-width: 0;
  padding-right: 24px;
  border-right: 1px solid var(--line-soft);
}

.path-row:last-child {
  border-right: 0;
  padding-right: 0;
}

.path-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.path-scene {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 14px;
}

.path-links {
  font-size: 14px;
  margin: 0;
}

.path-links a {
  color: var(--accent);
  margin-right: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.path-links a:hover {
  border-bottom-width: 3px;
}

.path-figure {
  margin-top: 36px;
}

/* ---- flow more ---- */

.flow-more {
  margin-top: 28px;
  font-size: 15px;
}

.flow-more a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.flow-more a:hover {
  border-bottom-width: 3px;
}

/* ---- start grid ---- */

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.start-item {
  min-width: 0;
}

.start-item h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.start-item p {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 12px;
}

.start-item a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.start-item a:hover {
  border-bottom-width: 3px;
}

/* ---- sitemap groups ---- */

.sitemap {
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
}

.map-group {
  display: inline-block;
  vertical-align: top;
  width: calc(33.333% - 24px);
  margin-right: 32px;
  min-width: 0;
}

.map-group:last-child {
  margin-right: 0;
}

.map-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.map-list li {
  padding: 6px 0;
  font-size: 15px;
}

.map-list a {
  color: var(--ink);
  text-decoration: none;
}

.map-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---- channel-index page ---- */

.section-diagram .figure {
  margin-top: 8px;
}

.channel-entry {
  padding: 28px 0;
  border-top: 1px solid var(--line-soft);
}

.channel-entry:first-of-type {
  border-top: 1px solid var(--line);
}

.channel-entry .channel-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.channel-entry .channel-scope {
  margin-bottom: 10px;
  max-width: 660px;
}

.channel-exclude {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
  max-width: 660px;
}

.channel-entry .channel-link {
  text-align: left;
  font-size: 14px;
  margin: 0;
}

/* ---- topic-archive page ---- */

.year-index {
  position: sticky;
  top: 88px;
  z-index: 20;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 8px;
}

.year-index-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.year-index-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  flex: 0 0 auto;
}

.archive-body {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 8px;
}

.year-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.year-block:last-of-type {
  border-bottom: 0;
}

.year-block-head {
  margin-bottom: 24px;
}

.year-block-head .section-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.year-block-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.month-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.month-num {
  color: var(--accent);
  font-size: 15px;
}

.month-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.topic-list {
  border-top: 1px solid var(--line-soft);
}

.topic-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.topic-no {
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
}

.topic-entry {
  min-width: 0;
}

.topic-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.topic-entry .topic-name a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.topic-entry .topic-name a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topic-desc {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 6px;
}

.topic-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.archive-figure,
.archive-notes,
.continue-links {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.continue-links {
  border-bottom: 0;
}

.archive-notes > p {
  max-width: 760px;
}

/* ---- view-guide page ---- */

.flow-overview {
  padding-top: 8px;
}

.flow-overview .section-title,
.flow-detail .section-title,
.status-section .section-title,
.device-section .section-title,
.continue-section .section-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.flow-figure {
  margin: 36px 0;
}

.detail-item {
  padding: 28px 0;
  border-top: 1px solid var(--line-soft);
}

.detail-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.detail-item > p {
  max-width: 660px;
  margin-bottom: 12px;
  color: #3a3f47;
}

.detail-notes {
  padding-left: 18px;
  list-style: disc;
  max-width: 660px;
}

.detail-notes li {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 6px;
}

.status-section,
.device-section,
.continue-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.device-section > p {
  max-width: 660px;
  color: #3a3f47;
}

.sidebar-note p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.sidebar-note a {
  color: var(--accent);
}

/* ---- entry-check page ---- */

.content-section {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}

.content-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.content-section > h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.content-section > p {
  max-width: 720px;
  color: #3a3f47;
}

.check-list {
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.check-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 100px;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.check-index {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.check-body {
  min-width: 0;
}

.check-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.check-standard {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin: 0;
}

.check-item .verdict {
  justify-self: end;
  margin-top: 2px;
}

.record-list {
  border-top: 1px solid var(--line);
  margin: 16px 0 0;
}

.entry-check .record-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
}

.record-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.continue-nav {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.continue-nav > h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

/* ---- glossary page ---- */

.glossary-layout {
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: space-between;
}

.term-structure {
  margin-bottom: 32px;
}

.glossary-block > h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.glossary-entry {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.glossary-entry .term-name {
  font-size: 19px;
  margin-bottom: 8px;
}

.term-def {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
  max-width: 680px;
}

.term-usage {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 8px;
  max-width: 680px;
}

.term-links {
  font-size: 14px;
  margin: 0;
}

.term-links a {
  color: var(--accent);
  margin-right: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.term-links a:hover {
  border-bottom-width: 3px;
}

.related-terms {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.related-terms > h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.term-link-list {
  border-top: 1px solid var(--line);
}

.term-link-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.term-link-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.term-link-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.glossary-sidebar {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.term-cat-list {
  border-top: 1px solid var(--line-soft);
}

.term-cat-list li {
  min-width: 0;
}

.term-cat-link {
  display: block;
  padding: 9px 0 9px 12px;
  font-size: 14px;
  color: #3a3f47;
  text-decoration: none;
  border-left: 2px solid transparent;
  line-height: 1.6;
}

.term-cat-link:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

.term-cat-link.is-current {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}

/* ---- faq page ---- */

.page-body {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 8px;
}

.faq-context {
  padding-bottom: 32px;
}

.faq-context > p {
  max-width: 720px;
  color: #3a3f47;
}

.faq-figure {
  margin-top: 24px;
}

.faq-list-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.faq-list-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "＋";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 16px;
  line-height: 1.7;
}

.faq-item[open] .faq-question::before {
  content: "－";
}

.faq-answer {
  padding: 0 0 20px 28px;
  max-width: 720px;
}

.faq-context-line {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  margin-bottom: 12px;
}

.faq-answer > p {
  font-size: 16px;
  color: #3a3f47;
  line-height: 1.85;
  margin-bottom: 10px;
}

.faq-source {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.faq-source a {
  color: var(--accent);
}

.faq-related {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.faq-related > p {
  max-width: 720px;
  color: #3a3f47;
  margin-bottom: 16px;
}

.related-list {
  border-top: 1px solid var(--line);
}

.related-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.related-row a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.related-row a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- feedback page ---- */

.page-hero {
  padding: 24px 0 0;
}

.page-hero--narrow {
  max-width: 820px;
}

.page-layout--single {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}

.feedback-route,
.feedback-scope,
.feedback-prepare,
.feedback-flow,
.continue-browse {
  padding: 36px 0;
  border-top: 1px solid var(--line-soft);
}

.feedback-route {
  border-top: 0;
  padding-top: 32px;
}

.feedback-route .section-title,
.feedback-scope .section-title,
.feedback-prepare .section-title,
.feedback-flow .section-title,
.continue-browse .section-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.media-block {
  margin-top: 24px;
}

.scope-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.scope-block {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
}

.scope-block--accept {
  border-top: 3px solid #4a6b2a;
}

.scope-block--reject {
  border-top: 3px solid var(--accent);
}

.scope-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.scope-list {
  list-style: disc;
  padding-left: 18px;
}

.scope-list li {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 8px;
}

.prep-list {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.prep-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.prep-num {
  font-size: 14px;
  color: var(--accent);
  padding-top: 3px;
}

.prep-body {
  min-width: 0;
}

.prep-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.prep-text {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 20px;
}

.flow-step {
  min-width: 0;
}

.flow-num {
  display: block;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.flow-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-text {
  font-size: 14px;
  color: #3a3f47;
  line-height: 1.75;
  margin: 0;
}

.flow-note {
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.flow-note-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.flow-note-list {
  list-style: disc;
  padding-left: 18px;
}

.flow-note-list li {
  font-size: 15px;
  color: #3a3f47;
  line-height: 1.75;
  margin-bottom: 6px;
}

/* ---- 404 page ---- */

.error-main {
  padding: 80px 0 96px;
}

.error-shell {
  max-width: 720px;
}

.error-code {
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 16px;
}

.error-title {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 17px;
  color: #3a3f47;
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.error-hints {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.error-hints-title {
  font-size: 19px;
  margin-bottom: 14px;
}

.error-hint-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.error-hint-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

.error-hint-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .hero {
    gap: 40px;
  }

  .headlines,
  .entry {
    gap: 40px;
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .glossary-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
  }

  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-intro h1 {
    font-size: 36px;
  }

  .headlines {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .entry-toc {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .entry-toc .toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .path-row {
    padding-right: 0;
    border-right: 0;
  }

  .start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .layout-shell,
  .glossary-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .page-aside,
  .page-sidebar,
  .sidebar {
    position: static;
    top: auto;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .channel-row {
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 180px);
    gap: 16px;
  }

  .channel-row .channel-scope {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .channel-row .channel-link {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    align-self: center;
  }

  .map-group {
    width: calc(50% - 20px);
    margin-right: 24px;
    margin-bottom: 24px;
  }

  .year-index {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    flex-direction: column;
    gap: 2px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 12px;
    white-space: normal;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    flex-basis: 100%;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    margin-top: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-link.is-current {
    border-bottom-color: var(--accent);
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding: 16px 0 20px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-head {
    padding-top: 20px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-intro h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn,
  .btn-primary,
  .btn-text {
    padding: 10px 18px;
    font-size: 15px;
  }

  .headlines {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .topic-tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-list li {
    flex: 0 0 auto;
  }

  .entry {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .entry-toc .toc-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 18px 0;
  }

  .channel-num {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .channel-name {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-size: 18px;
  }

  .channel-row .channel-scope {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .channel-row .channel-link {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    text-align: left;
    align-self: auto;
  }

  .path-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .path-row {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }

  .path-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .start-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .step-num {
    font-size: 24px;
  }

  .map-group {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .map-group:last-child {
    margin-bottom: 0;
  }

  .continue-item,
  .continue-row,
  .related-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .info-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .channel-entry {
    padding: 24px 0;
  }

  .channel-entry .channel-name {
    font-size: 20px;
  }

  .year-index {
    padding: 12px 0;
  }

  .year-index-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .year-index .year-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .year-item {
    flex: 0 0 auto;
  }

  .archive-body {
    padding-top: 0;
  }

  .year-block {
    padding: 32px 0;
  }

  .topic-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .archive-figure,
  .archive-notes,
  .continue-links {
    padding: 32px 0;
  }

  .spec-table,
  .data-table,
  .status-table {
    font-size: 14px;
  }

  .data-table th,
  .data-table td,
  .spec-table th,
  .spec-table td,
  .status-table th,
  .status-table td {
    padding: 10px 12px;
  }

  .spec-table tbody th {
    white-space: normal;
  }

  .check-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 16px 0;
  }

  .check-index {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .check-body {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .check-item .verdict {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: start;
    margin-top: 4px;
  }

  .scope-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .prep-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .faq-answer {
    padding-left: 0;
  }

  .faq-question {
    font-size: 16px;
  }

  .error-main {
    padding: 56px 0 72px;
  }

  .error-title {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    padding-bottom: 20px;
  }

  .site-main {
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .hero-intro h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-eyebrow {
    font-size: 12px;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .tab-list a {
    font-size: 13px;
    padding: 6px 12px;
  }

  .year-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .info-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .channel-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .check-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .prep-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .topic-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .scope-block {
    padding: 16px 18px;
  }

  .flow-note {
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
