/* ==========================================================================
   每天吃瓜 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --c-bg: #0B1220;
  --c-panel: #111C2E;
  --c-panel-2: #16233A;
  --c-text: #F5F7FA;
  --c-text-soft: #A9B6C8;
  --c-green: #2BD9A3;
  --c-amber: #FFB020;
  --c-red: #FF5D5D;
  --c-link: #4DA3FF;
  --c-line: #24344D;
  --c-line-soft: #1B2A41;
  --radius: 6px;
  --radius-sm: 4px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shell-w: 1180px;
  --shell-pad: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-link);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #7CBDFF;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
}

strong {
  color: var(--c-text);
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-size: 13px;
  color: var(--c-text-soft);
}

th,
td {
  text-align: left;
  vertical-align: top;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #0A101C;
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--c-text);
  flex: 0 0 auto;
  padding: 8px 0;
}

.brand:hover {
  color: var(--c-text);
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-text-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--c-text);
  border-radius: 1px;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-text-soft);
  border-radius: var(--radius-sm);
}

.nav-list a:hover {
  color: var(--c-text);
  background-color: var(--c-panel);
  text-decoration: none;
}

.nav-list a.is-current {
  color: var(--c-text);
  font-weight: 700;
  background-color: var(--c-panel);
  box-shadow: inset 0 -2px 0 var(--c-green);
}

.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--shell-pad) 64px;
}

.home-main {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--shell-pad) 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-soft);
}

.breadcrumb a {
  color: var(--c-text-soft);
}

.breadcrumb a:hover {
  color: var(--c-link);
}

.breadcrumb-sep {
  color: #5C6C84;
}

.breadcrumb-current {
  color: var(--c-text);
}

.page-header {
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 34px;
}

.page-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}

.page-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 68ch;
}

.page-type-tag,
.page-type-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--c-green);
  background-color: rgba(43, 217, 163, 0.1);
  border: 1px solid rgba(43, 217, 163, 0.35);
  border-radius: var(--radius-sm);
}

.page-type-label {
  color: var(--c-amber);
  background-color: rgba(255, 176, 32, 0.08);
  border-color: rgba(255, 176, 32, 0.32);
}

/* 页脚 */

.site-footer {
  background-color: #080E18;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-soft);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 40px var(--shell-pad) 28px;
}

.footer-brand {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 78ch;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line-soft);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 26px 0;
}

.footer-col h2 {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

.footer-col a:hover {
  color: var(--c-link);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--c-line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: #7C8CA4;
}

/* --------------------------------------------------------------------------
   3. components · 通用模块
   -------------------------------------------------------------------------- */

/* 区块标题与导语 */

.hero-schedule h2,
.opening-check h2,
.scene-matrix h2,
.route-timeline h2,
.route-compare h2,
.list-anatomy h2,
.label-summary h2,
.correction-preview h2,
.scene-overview-table h2,
.scene-map h2,
.scene-detail-grid h2,
.selection-notes h2,
.related-links h2,
.route-overview h2,
.route-visual h2,
.route-detail-list h2,
.route-field-table h2,
.anatomy-hero h2,
.field-table h2,
.field-examples h2,
.label-table h2,
.reading-order h2,
.faq-list h2,
.condition-matrix h2,
.checklist h2,
.misconceptions h2,
.correction-list h2,
.status-field-table h2,
.feedback-scope h2,
.aside-field-notes h2,
.aside-reading-order h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
}

.section-lead,
.section-intro,
.section-note {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 72ch;
  margin-bottom: 22px;
}

.section-more {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.section-more a {
  color: var(--c-link);
}

/* 通用表格 */

.data-table,
.scene-table,
.compare-table,
.label-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.65;
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table thead th,
.scene-table thead th,
.compare-table thead th,
.label-table thead th {
  background-color: #0E1A2B;
  color: var(--c-text-soft);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 14px;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.data-table tbody th,
.scene-table tbody th,
.compare-table tbody th,
.label-table tbody th {
  color: var(--c-text);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line-soft);
  background-color: #0F1B2D;
  border-left: 2px solid transparent;
}

.data-table tbody td,
.scene-table tbody td,
.compare-table tbody td,
.label-table tbody td {
  color: var(--c-text-soft);
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line-soft);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.scene-table tbody tr:last-child th,
.scene-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td,
.label-table tbody tr:last-child th,
.label-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover th,
.scene-table tbody tr:hover th,
.compare-table tbody tr:hover th,
.label-table tbody tr:hover th {
  background-color: #122036;
  border-left-color: var(--c-green);
}

.data-table tbody tr:hover td,
.scene-table tbody tr:hover td,
.compare-table tbody tr:hover td,
.label-table tbody tr:hover td {
  background-color: #14243C;
  color: var(--c-text);
}

.data-table a,
.scene-table a,
.compare-table a,
.label-table a {
  color: var(--c-link);
  font-weight: 700;
}

.table-scroll,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
}

.table-scroll table,
.table-wrap table {
  min-width: 640px;
}

/* 相关页面列表 */

.related-links {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--c-line);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-list li {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.related-list a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-link);
}

.related-list p,
.related-list span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

/* 图片与图注 */

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

.hero-visual img,
.anatomy-visual img,
.scene-map-figure img,
.route-figure img,
.anatomy-figure img,
.reading-visual img,
.condition-visual img,
.record-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background-color: var(--c-panel);
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

/* 页内锚点导航 */

.home-jump-nav {
  background-color: #0A1424;
  border-bottom: 1px solid var(--c-line);
}

.jump-list {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 44px;
  align-items: center;
}

.jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.jump-list a:hover {
  color: var(--c-text);
  border-color: var(--c-line);
  background-color: var(--c-panel);
  text-decoration: none;
}

/* 场景赛程表首屏 */

.hero-schedule {
  padding: 34px 0 10px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 34px;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 40ch;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 46ch;
  padding-left: 12px;
  border-left: 2px solid var(--c-green);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--c-green);
  color: #062018;
  border-color: var(--c-green);
}

.btn-primary:hover {
  background-color: #4BE7B7;
  color: #062018;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: var(--c-text);
  border-color: var(--c-line);
}

.btn-ghost:hover {
  color: var(--c-text);
  border-color: var(--c-amber);
  background-color: var(--c-panel);
  text-decoration: none;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
}

.scene-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.scene-table {
  min-width: 720px;
}

/* 开场核对条 */

.opening-check {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.check-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-strip-item {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-amber);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.check-strip-item h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-text);
}

.check-strip-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

.check-strip-item a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-link);
  margin-top: auto;
}

/* 场景频道矩阵 */

.scene-matrix {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scene-panel {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.scene-panel h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.scene-duration {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-amber);
  font-family: var(--font-mono);
}

.scene-channels-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scene-channels-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  padding-left: 14px;
  position: relative;
}

.scene-channels-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--c-green);
  border-radius: 1px;
}

.scene-panel > a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-link);
  margin-top: auto;
  padding-top: 6px;
}

/* 专题路线纵线 */

.route-timeline {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}

.route-node {
  position: relative;
  padding: 0 0 26px 60px;
  border-left: 2px solid var(--c-line);
  margin-left: 20px;
}

.route-node:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.route-node .node-index {
  position: absolute;
  left: -21px;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #062018;
  background-color: var(--c-green);
  border-radius: 50%;
  border: 3px solid var(--c-bg);
}

.route-node h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: 6px;
  padding-top: 6px;
}

.route-node p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 62ch;
  margin-bottom: 8px;
}

.route-node a {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-link);
}

/* 专题路线比较表 */

.route-compare {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.compare-table {
  min-width: 720px;
}

/* 片单结构解剖 */

.list-anatomy {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.anatomy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.anatomy-visual img {
  aspect-ratio: 4 / 3;
}

.anatomy-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-item {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.field-item h3 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: 4px;
}

.field-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
}

/* 标注说明摘要 */

.label-summary {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.label-table {
  min-width: 640px;
}

/* 更正记录摘要 */

.correction-preview {
  padding: 34px 0 0;
  border-top: 1px solid var(--c-line);
}

.correction-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.correction-row {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-amber);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 18px;
  align-items: start;
}

.correction-row h3 {
  grid-column: 1;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
}

.correction-field {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

.correction-status {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  font-size: 12px;
  line-height: 1.6;
  font-family: var(--font-mono);
  color: var(--c-green);
  padding: 2px 8px;
  border: 1px solid rgba(43, 217, 163, 0.4);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.correction-desc {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin-top: 4px;
}

.correction-row a {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-link);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   5. pages · 内页共用区块
   -------------------------------------------------------------------------- */

.scene-overview-table,
.scene-map,
.scene-detail-grid,
.selection-notes,
.route-overview,
.route-visual,
.route-detail-list,
.route-field-table,
.anatomy-hero,
.field-table,
.field-examples,
.label-table,
.reading-order,
.faq-list,
.condition-visual,
.condition-matrix,
.checklist,
.misconceptions,
.correction-list,
.status-field-table,
.feedback-scope {
  padding: 30px 0;
  border-bottom: 1px solid var(--c-line);
}

.scene-map,
.route-visual,
.condition-visual,
.anatomy-hero {
  padding-top: 30px;
}

/* 场景频道页 */

.scene-map-figure img {
  aspect-ratio: 16 / 9;
}

.map-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.map-notes li {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  min-width: 0;
}

.scene-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scene-detail-grid .scene-panel {
  gap: 12px;
}

.scene-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scene-fields dt {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--c-green);
  font-family: var(--font-mono);
}

.scene-fields dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  margin: 0;
}

.panel-link {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-link);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--c-line-soft);
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: note;
}

.note-list li {
  position: relative;
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 56px;
  min-width: 0;
  counter-increment: note;
}

.note-list li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-amber);
}

.note-list h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 4px;
}

.note-list p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 68ch;
  margin-bottom: 6px;
}

.note-list a {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-link);
}

/* 专题路线页 */

.page-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

.route-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-summary-item {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-green);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.route-summary-item h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 4px;
}

.route-summary-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
}

.route-summary-meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-amber);
}

.route-summary-meta a {
  color: var(--c-link);
  font-family: var(--font-sans);
  font-weight: 700;
}

.route-figure img {
  aspect-ratio: 16 / 9;
}

.route-visual > p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 72ch;
}

.route-detail-list > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 72ch;
  margin-bottom: 20px;
}

.route-entry {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  min-width: 0;
}

.route-entry:last-child {
  margin-bottom: 0;
}

.route-entry h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.route-entry-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 14px;
  margin-bottom: 12px;
}

.route-entry-fields dt {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--c-green);
  font-family: var(--font-mono);
}

.route-entry-fields dd {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin: 0;
  min-width: 0;
}

.route-entry-next {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text-soft);
  padding-top: 10px;
  border-top: 1px solid var(--c-line-soft);
}

.route-entry-next a {
  color: var(--c-link);
}

.route-compare-table {
  min-width: 0;
}

.route-side-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.aside-field-notes,
.aside-reading-order {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.aside-field-notes h2,
.aside-reading-order h2 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.aside-field-notes ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-field-notes li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  padding-left: 14px;
  position: relative;
}

.aside-field-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: var(--c-amber);
  border-radius: 1px;
}

.aside-reading-order ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: aside-step;
}

.aside-reading-order li {
  counter-increment: aside-step;
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
}

.aside-reading-order li::before {
  content: counter(aside-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #062018;
  background-color: var(--c-green);
  border-radius: 50%;
}

.related-links[aria-label="相关内容"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-line);
  margin-top: 30px;
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-soft);
  font-family: var(--font-mono);
}

.related-links-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-link);
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}

.related-links-item:hover {
  border-color: var(--c-link);
  text-decoration: none;
}

/* 片单结构页 */

.anatomy-figure img {
  aspect-ratio: 16 / 9;
}

.anatomy-intro {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 76ch;
}

.field-table .data-table {
  min-width: 640px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.example-block {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.example-block h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.example-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.example-fields dt {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--c-green);
  font-family: var(--font-mono);
}

.example-fields dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
  margin: 0;
}

.example-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-text-soft);
  padding-top: 10px;
  border-top: 1px solid var(--c-line-soft);
  margin-top: auto;
}

/* 标注说明页 */

.table-figure {
  margin: 0;
}

.table-figure table {
  min-width: 640px;
  font-size: 14px;
  line-height: 1.65;
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-figure thead th {
  background-color: #0E1A2B;
  color: var(--c-text-soft);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 14px;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.table-figure tbody th {
  color: var(--c-text);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line-soft);
  background-color: #0F1B2D;
  border-left: 2px solid transparent;
}

.table-figure tbody td {
  color: var(--c-text-soft);
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line-soft);
}

.table-figure tbody tr:last-child th,
.table-figure tbody tr:last-child td {
  border-bottom: 0;
}

.table-figure tbody tr:hover th {
  background-color: #122036;
  border-left-color: var(--c-green);
}

.table-figure tbody tr:hover td {
  background-color: #14243C;
  color: var(--c-text);
}

.table-figure a {
  color: var(--c-link);
  font-weight: 700;
}

.table-figure figcaption {
  margin-top: 10px;
}

.reading-visual img {
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.order-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.order-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 14px;
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.order-step .step-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #062018;
  background-color: var(--c-green);
  border-radius: 50%;
  margin-top: 2px;
}

.order-step h3 {
  grid-column: 2;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
}

.order-step p {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  max-width: 68ch;
}

/* FAQ 折叠 */

.faq-list {
  display: block;
}

.faq-item {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text);
}

.faq-toggle-text {
  flex: 0 0 auto;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--c-amber);
  padding: 2px 8px;
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.faq-toggle-text::after {
  content: "展开";
}

.faq-item[open] .faq-toggle-text::after {
  content: "收起";
}

.faq-item[open] .faq-toggle-text {
  color: var(--c-green);
  border-color: rgba(43, 217, 163, 0.4);
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid var(--c-line-soft);
  margin-top: 0;
}

.faq-answer p {
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 72ch;
}

.faq-answer a {
  color: var(--c-link);
  font-weight: 700;
}

/* 观看条件页 */

.condition-visual img {
  aspect-ratio: 16 / 9;
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.condition-panel {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-green);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.condition-panel h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--c-text);
}

.condition-standard {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
}

.condition-action {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-amber);
  padding-top: 8px;
  border-top: 1px solid var(--c-line-soft);
}

.condition-panel a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-link);
  margin-top: auto;
}

.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: check;
}

.check-item {
  counter-increment: check;
  position: relative;
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px 14px 52px;
  min-width: 0;
}

.check-item::before {
  content: counter(check, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-amber);
}

.check-item h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 4px;
}

.check-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 70ch;
}

.check-item a {
  color: var(--c-link);
  font-weight: 700;
}

.misconception-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.misconception-item {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-red);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.misconception-item h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 6px;
}

.misconception-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-soft);
}

.misconception-item a {
  color: var(--c-link);
  font-weight: 700;
}

/* 更正记录页 */

.correction-entry {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  min-width: 0;
}

.correction-entry:last-child {
  margin-bottom: 0;
}

.correction-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.correction-id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-soft);
}

.status-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-fixed {
  color: var(--c-green);
  border-color: rgba(43, 217, 163, 0.4);
  background-color: rgba(43, 217, 163, 0.08);
}

.status-review {
  color: var(--c-amber);
  border-color: rgba(255, 176, 32, 0.4);
  background-color: rgba(255, 176, 32, 0.08);
}

.status-note {
  color: var(--c-link);
  border-color: rgba(77, 163, 255, 0.4);
  background-color: rgba(77, 163, 255, 0.08);
}

.status-out {
  color: var(--c-red);
  border-color: rgba(255, 93, 93, 0.4);
  background-color: rgba(255, 93, 93, 0.08);
}

.correction-entry h3 {
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.correction-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 14px;
  margin-bottom: 12px;
}

.correction-fields dt {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--c-green);
  font-family: var(--font-mono);
}

.correction-fields dd {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin: 0;
  min-width: 0;
}

.correction-links {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid var(--c-line-soft);
}

.correction-links a {
  color: var(--c-link);
}

.status-field-table .data-table {
  min-width: 640px;
}

.record-figure {
  margin-bottom: 20px;
}

.record-figure img {
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scope-block {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.scope-block h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-soft);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
  padding-left: 14px;
  position: relative;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: var(--c-amber);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   6. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding: 60px var(--shell-pad) 80px;
}

.error-panel {
  background-color: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 720px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--c-amber);
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 28px;
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-soft);
  max-width: 56ch;
  margin-bottom: 20px;
}

.error-hints {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
  margin-bottom: 22px;
}

.error-hints li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-soft);
}

.error-path {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-green);
  padding: 1px 8px;
  border: 1px solid rgba(43, 217, 163, 0.35);
  border-radius: var(--radius-sm);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.error-btn:hover {
  color: var(--c-text);
  border-color: var(--c-amber);
  background-color: var(--c-panel-2);
  text-decoration: none;
}

.error-btn-primary {
  background-color: var(--c-green);
  border-color: var(--c-green);
  color: #062018;
}

.error-btn-primary:hover {
  background-color: #4BE7B7;
  color: #062018;
  border-color: #4BE7B7;
}

/* --------------------------------------------------------------------------
   7. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .scene-grid,
  .scene-panel-grid,
  .condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .route-side-notes {
    position: static;
  }

  .example-grid,
  .misconception-list,
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .example-grid > :last-child:nth-child(odd),
  .misconception-list > :last-child:nth-child(odd),
  .scope-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --shell-pad: 16px;
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    flex: 1 0 100%;
    margin-left: 0;
    padding-bottom: 10px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--c-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-list a.is-current {
    box-shadow: inset 3px 0 0 var(--c-green);
  }

  .jump-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }

  .jump-list li {
    flex: 0 0 auto;
  }

  .jump-list a {
    min-height: 36px;
  }

  .home-main,
  .inner-main {
    padding-bottom: 44px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 0 20px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .page-lead {
    font-size: 15px;
    line-height: 1.75;
    margin-top: 10px;
  }

  .hero-schedule {
    padding-top: 24px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-lead {
    font-size: 15px;
    max-width: none;
  }

  .hero-note {
    max-width: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .scene-table {
    min-width: 0;
  }

  .scene-table thead {
    display: none;
  }

  .scene-table,
  .scene-table tbody,
  .scene-table tr,
  .scene-table th,
  .scene-table td {
    display: block;
    width: 100%;
  }

  .scene-table tbody tr {
    border-bottom: 1px solid var(--c-line);
    padding: 12px 14px;
  }

  .scene-table tbody tr:last-child {
    border-bottom: 0;
  }

  .scene-table tbody th {
    padding: 0 0 8px;
    border-bottom: 0;
    border-left: 0;
    background-color: transparent;
    font-size: 15px;
  }

  .scene-table tbody td {
    padding: 4px 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    font-size: 13px;
  }

  .scene-table tbody td::before {
    content: attr(data-label);
    color: var(--c-text-soft);
    font-size: 12px;
    font-family: var(--font-mono);
  }

  .check-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .scene-grid,
  .scene-panel-grid,
  .condition-grid,
  .example-grid,
  .misconception-list,
  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .example-grid > :last-child:nth-child(odd),
  .misconception-list > :last-child:nth-child(odd),
  .scope-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .map-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .anatomy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .route-side-notes {
    position: static;
    gap: 14px;
  }

  .route-entry-fields,
  .correction-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 0;
  }

  .route-entry-fields dt,
  .correction-fields dt {
    margin-top: 8px;
  }

  .correction-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .correction-status {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-bottom: 2px;
  }

  .order-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 2px 12px;
  }

  .order-step .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .error-main {
    padding: 40px var(--shell-pad) 56px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 38px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .error-btn {
    flex: 1 1 auto;
    min-width: 130px;
  }

  .footer-inner {
    padding: 30px var(--shell-pad) 22px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
  }
}

@media (max-width: 520px) {
  .brand-slogan {
    display: none;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .scene-table tbody td {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .note-list li,
  .check-item {
    padding-left: 46px;
  }

  .route-node {
    padding-left: 48px;
    margin-left: 16px;
  }

  .route-node .node-index {
    width: 34px;
    height: 34px;
    left: -18px;
    font-size: 13px;
  }

  .faq-item summary {
    padding: 12px 14px;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 14px 14px;
  }

  .correction-entry,
  .route-entry,
  .field-item,
  .check-strip-item,
  .scene-panel,
  .condition-panel,
  .example-block,
  .misconception-item,
  .scope-block,
  .note-list li,
  .check-item {
    padding-left: 14px;
    padding-right: 14px;
  }

  .note-list li,
  .check-item {
    padding-left: 44px;
  }

  .scope-block,
  .example-block {
    padding: 14px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
