/* ==========================================================================
   樱花视频在线观看 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #1F2933;
  --ink-soft: #5B6B7A;
  --accent: #C2410C;
  --surface: #FFFFFF;
  --surface-alt: #F5F7FA;
  --line: #E3E8EF;
  --radius: 6px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

button {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  z-index: 60;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout：全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.site-brand:hover,
.site-brand:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.nav-link {
  display: inline-block;
  padding: 8px 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 14px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-main {
  display: block;
}

.home-main {
  padding-bottom: 8px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-description {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 16px;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-group {
  min-width: 0;
}

.footer-brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
  max-width: 320px;
}

.footer-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  color: var(--ink-soft);
  font-size: 14px;
  display: inline-block;
  padding: 3px 0;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 32px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   components：通用区块与列表
   -------------------------------------------------------------------------- */

.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-desc {
  color: var(--ink-soft);
}

.section-title {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.section-intro,
.section-text {
  max-width: 800px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.section-more {
  margin-top: 22px;
  font-size: 15px;
}

.section-note,
.section-footnote {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}

.section-note a,
.section-footnote a {
  margin-right: 18px;
}

.section-media,
.section-figure,
.guide-figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.section-media img,
.section-figure img,
.guide-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.section-media figcaption,
.section-figure figcaption,
.guide-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-table,
.compare-table,
.checkpoint-table,
.record-table {
  min-width: 560px;
  font-size: 15px;
}

.field-table caption,
.compare-table caption,
.checkpoint-table caption,
.record-caption {
  padding: 14px 16px;
  text-align: left;
  color: var(--ink-soft);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.field-table thead th,
.compare-table thead th,
.checkpoint-table thead th,
.record-table thead th {
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.field-table tbody th,
.field-table tbody td,
.compare-table tbody th,
.compare-table tbody td,
.checkpoint-table tbody th,
.checkpoint-table tbody td,
.record-table tbody th,
.record-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.field-table tbody th,
.compare-table tbody th,
.checkpoint-table tbody th,
.record-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td,
.checkpoint-table tbody tr:last-child th,
.checkpoint-table tbody tr:last-child td,
.record-table tbody tr:last-child th,
.record-table tbody tr:last-child td {
  border-bottom: 0;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step-item {
  position: relative;
  padding: 18px 20px 18px 62px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.step-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.step-text {
  color: var(--ink-soft);
}

/* 频道明细行：首页与频道页共用 */
.channel-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-main {
  min-width: 0;
}

.channel-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.channel-orient,
.channel-orientation {
  color: var(--ink);
  margin-bottom: 4px;
}

.channel-audience {
  color: var(--ink-soft);
  font-size: 14px;
}

.channel-link {
  flex: 0 0 auto;
  font-size: 15px;
  white-space: nowrap;
}

.channel-link a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 44px;
  line-height: 26px;
}

.channel-row:hover .channel-link a,
.channel-link a:hover,
.channel-link a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* 专题片单并列块 */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collection-card,
.collection-block {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}

.collection-card:hover,
.collection-block:hover {
  border-color: var(--ink-soft);
}

.collection-name,
.collection-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.collection-scope {
  color: var(--ink);
  margin-bottom: 8px;
}

.collection-channel {
  color: var(--ink-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tag {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
}

.hero-tag:hover,
.hero-tag:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.home-main .scope,
.home-main .channels,
.home-main .collections,
.home-main .fields-summary,
.home-main .guide-overview,
.home-main .feedback-note {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 24px;
}

.scope-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
}

.scope-body p {
  color: var(--ink-soft);
}

.scope-body p + p {
  margin-top: 14px;
}

.scope-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.scope-list li {
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.feedback-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.feedback-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.feedback-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feedback-media figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.feedback-text {
  min-width: 0;
}

.feedback-text p {
  color: var(--ink-soft);
}

.feedback-text p + p {
  margin-top: 14px;
}

.feedback-text .section-more {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages：频道分类
   -------------------------------------------------------------------------- */

.section-division .division-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.division-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  min-width: 0;
}

.division-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.division-desc {
  color: var(--ink-soft);
  font-size: 15px;
}

.section-relation .relation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.relation-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.relation-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.relation-desc {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 10px;
}

.relation-source {
  font-size: 14px;
}

.section-channels .boundary-list,
.section-boundary .boundary-list {
  display: grid;
  gap: 16px;
}

.section-boundary .boundary-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.boundary-item {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.section-boundary .boundary-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.boundary-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.boundary-desc {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：专题片单
   -------------------------------------------------------------------------- */

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.principle-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  min-width: 0;
}

.principle-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.principle-text {
  color: var(--ink-soft);
  font-size: 15px;
}

.collection-figure {
  margin: 0 0 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.collection-figure img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.collection-caption {
  font-size: 13px;
  padding: 8px 0 0;
}

.collection-meta {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 14px;
}

.collection-meta dt {
  color: var(--ink-soft);
}

.collection-meta dd {
  margin: 0;
  color: var(--ink);
}

.mapping-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.mapping-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(140px, 0.8fr) minmax(0, 2fr);
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.mapping-name {
  font-weight: 600;
}

.mapping-channel {
  color: var(--accent);
}

.mapping-note {
  color: var(--ink-soft);
}

.next-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-item a {
  display: block;
  padding: 16px 18px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
}

.next-item a:hover,
.next-item a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages：条目字段说明
   -------------------------------------------------------------------------- */

.section-structure p {
  max-width: 800px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.section-check .check-list {
  counter-reset: check;
  display: grid;
  gap: 16px;
}

.check-item {
  position: relative;
  padding: 18px 20px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.check-item::before {
  counter-increment: check;
  content: counter(check, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.check-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.check-item p {
  color: var(--ink-soft);
}

.section-boundary .boundary-item p {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：观看指南
   -------------------------------------------------------------------------- */

.guide-overview,
.guide-steps,
.guide-checkpoints,
.guide-faq {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.guide-faq {
  border-bottom: 0;
}

.guide-overview h2,
.guide-steps h2,
.guide-checkpoints h2,
.guide-faq h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.guide-overview > p,
.guide-checkpoints > p,
.guide-faq > p {
  max-width: 800px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.guide-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.guide-path-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  min-width: 0;
}

.path-step {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.path-name {
  font-size: 17px;
  font-weight: 600;
}

.path-note {
  color: var(--ink-soft);
  font-size: 15px;
}

.guide-overview-note {
  font-size: 15px;
}

.guide-steps .step-list {
  counter-reset: guide-step;
}

.guide-steps .step-item {
  padding: 18px 20px 18px 62px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-steps .step-item::before {
  counter-increment: guide-step;
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.guide-steps .step-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.guide-steps .step-item p {
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-question {
  padding: 16px 18px;
  min-height: 44px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 600;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

.guide-feedback-note {
  margin-top: 22px;
  font-size: 15px;
}

.guide-feedback-note a {
  margin-right: 18px;
}

/* --------------------------------------------------------------------------
   pages：收录边界与反馈
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.sidebar-left .page-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar-left .page-layout .content-column {
  order: 2;
}

.sidebar-left .page-layout .sidebar {
  order: 1;
}

.content-column {
  min-width: 0;
}

.section-scope .section-intro,
.section-exclude .section-intro,
.section-feedback .section-intro,
.section-record .section-intro {
  max-width: 760px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.scope-points {
  display: grid;
  gap: 16px;
}

.scope-point {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.scope-point-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.scope-point p {
  color: var(--ink-soft);
}

.exclude-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.exclude-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.exclude-item-title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.exclude-item p {
  color: var(--ink-soft);
  font-size: 15px;
}

.feedback-steps {
  counter-reset: feedback-step;
  display: grid;
  gap: 14px;
}

.feedback-step {
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.feedback-step::before {
  counter-increment: feedback-step;
  content: counter(feedback-step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.feedback-step-title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.feedback-step p {
  color: var(--ink-soft);
  font-size: 15px;
}

.record-table {
  min-width: 520px;
}

.sidebar {
  min-width: 0;
}

.sidebar-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.sidebar-block + .sidebar-block {
  margin-top: 18px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.sidebar-list li + li {
  margin-top: 8px;
}

.sidebar-list a {
  display: inline-block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.sidebar-list a:hover,
.sidebar-list a:focus-visible {
  color: var(--accent);
}

.sidebar-text {
  color: var(--ink-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */

.error-main {
  padding: 0 0 40px;
}

.error-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 24px;
}

.error-code {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.error-text {
  max-width: 640px;
  color: var(--ink-soft);
}

.error-text + .error-text {
  margin-top: 10px;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-btn {
  display: inline-block;
  padding: 10px 18px;
  min-height: 44px;
  line-height: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
  background: var(--surface);
}

.error-btn:hover,
.error-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .site-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-left .page-layout .content-column,
  .sidebar-left .page-layout .sidebar {
    order: initial;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px 24px;
  }

  .hero-media img {
    height: 280px;
  }

  .scope-body,
  .feedback-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .collection-grid,
  .section-division .division-list,
  .section-relation .relation-grid,
  .principle-list,
  .guide-path,
  .next-list,
  .section-boundary .boundary-list,
  .exclude-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mapping-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 6px;
  }

  .mapping-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.site-body {
    font-size: 16px;
  }

  .site-header-inner {
    padding: 12px 18px;
    gap: 12px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    display: block;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: block;
    padding: 13px 4px;
    min-height: 44px;
    border-bottom: 0;
    font-size: 16px;
  }

  .nav-link.is-current {
    border-bottom: 0;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
  }

  .inner-main,
  .home-main .scope,
  .home-main .channels,
  .home-main .collections,
  .home-main .fields-summary,
  .home-main .guide-overview,
  .home-main .feedback-note {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inner-main {
    padding-bottom: 40px;
  }

  .page-title,
  .hero-title,
  .error-title {
    font-size: 26px;
  }

  .section-head h2,
  .section-title,
  .guide-overview h2,
  .guide-steps h2,
  .guide-checkpoints h2,
  .guide-faq h2 {
    font-size: 21px;
  }

  .page-header {
    padding: 14px 0 20px;
    margin-bottom: 26px;
  }

  .section,
  .guide-overview,
  .guide-steps,
  .guide-checkpoints,
  .guide-faq {
    padding: 32px 0;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .channel-link a {
    width: 100%;
    text-align: center;
  }

  .collection-grid,
  .section-division .division-list,
  .section-relation .relation-grid,
  .principle-list,
  .guide-path,
  .next-list,
  .section-boundary .boundary-list,
  .exclude-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .mapping-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-media img,
  .section-figure img,
  .guide-figure img {
    height: 210px;
  }

  .hero-media img,
  .feedback-media img {
    height: 220px;
  }

  .collection-figure img {
    height: 190px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 32px 18px 20px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-copy {
    padding: 0 18px 28px;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    padding: 32px 16px;
  }

  .inner-main,
  .home-main .scope,
  .home-main .channels,
  .home-main .collections,
  .home-main .fields-summary,
  .home-main .guide-overview,
  .home-main .feedback-note,
  .error-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .step-item,
  .check-item,
  .feedback-step {
    padding-left: 52px;
  }

  .step-item::before,
  .check-item::before,
  .feedback-step::before {
    left: 16px;
  }

  .hero-tags {
    gap: 10px;
  }

  .hero-tag {
    flex: 1 1 100%;
    text-align: center;
  }
}
