/* ==========================================================================
   蜜柚影视 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: #12171a;
  color: #e8e5df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: #e8e5df;
}

h1 {
  font-size: 28px;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  line-height: 1.4;
}

h3 {
  font-size: 16px;
  line-height: 1.5;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #e8e5df;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: #ff8a3d;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #ff8a3d;
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

time {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  padding: 8px 14px;
  background-color: #1a2126;
  border: 1px solid #ff8a3d;
  border-radius: 4px;
  color: #e8e5df;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  background-color: #12171a;
  border-bottom: 1px solid #2a343a;
}

.header-inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
  color: #e8e5df;
}

.brand:hover,
.brand:focus-visible {
  color: #ff8a3d;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid #ff8a3d;
  border-radius: 3px;
  background-color: #1a2126;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background-color: #4fd1a5;
  border-radius: 1px;
}

.brand-name {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-home {
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  color: #98a3a9;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-home:hover,
.nav-home:focus-visible {
  color: #e8e5df;
  background-color: #1a2126;
}

.nav-home.is-current {
  color: #ff8a3d;
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 14px;
  color: #98a3a9;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-group-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}

.nav-group-toggle:hover,
.nav-group-toggle:focus-visible {
  color: #e8e5df;
  background-color: #1a2126;
}

.nav-group-toggle[aria-expanded="true"] {
  color: #ff8a3d;
  background-color: #1a2126;
}

.nav-group-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 6px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 6px;
  z-index: 55;
}

.nav-group-toggle[aria-expanded="true"] + .nav-dropdown {
  display: block;
}

.nav-dropdown li + li {
  margin-top: 2px;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  color: #e8e5df;
  line-height: 1.45;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background-color: #12171a;
  color: #ff8a3d;
}

.nav-dropdown a.is-current {
  color: #ff8a3d;
  background-color: #12171a;
}

.nav-desc {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: #98a3a9;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  min-height: 44px;
  font-size: 14px;
  color: #e8e5df;
  border: 1px solid #2a343a;
  border-radius: 4px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: #ff8a3d;
  color: #ff8a3d;
}

.menu-icon {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  flex-shrink: 0;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.15s ease, top 0.15s ease;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  background-color: #1a2126;
  border-bottom: 1px solid #2a343a;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-panel nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 20px;
}

.mobile-panel a {
  display: block;
  padding: 12px 10px;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: #e8e5df;
  border-radius: 4px;
}

.mobile-panel a:hover,
.mobile-panel a:focus-visible {
  background-color: #12171a;
  color: #ff8a3d;
}

.mobile-panel a.is-current {
  color: #ff8a3d;
}

.mobile-group-label {
  margin: 12px 0 2px;
  padding: 0 10px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #98a3a9;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #98a3a9;
}

.breadcrumb a {
  color: #98a3a9;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #ff8a3d;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #2a343a;
}

.breadcrumb-current {
  color: #e8e5df;
}

.page-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #2a343a;
}

.page-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: #e8e5df;
}

.page-head {
  margin-bottom: 24px;
}

.page-subtitle {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #cfd4d7;
  max-width: 720px;
}

.page-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

.meta-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.meta-item dt,
.meta-label {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #98a3a9;
}

.meta-item dd {
  margin: 0;
  color: #e8e5df;
}

.page-description {
  margin: 10px 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #cfd4d7;
  max-width: 720px;
}

/* 页脚 */

.site-footer {
  border-top: 1px solid #2a343a;
  background-color: #12171a;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 32px;
}

.footer-brand-name {
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e8e5df;
}

.footer-brand-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #98a3a9;
}

.footer-col-title {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #98a3a9;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  display: inline-block;
  padding: 2px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #e8e5df;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ff8a3d;
  text-decoration: underline;
}

.footer-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #98a3a9;
}

.footer-bottom {
  border-top: 1px solid #2a343a;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #98a3a9;
}

.footer-copy,
.footer-domain {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  letter-spacing: 0.02em;
}

/* 内页两栏与单栏容器 */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: 76px;
  padding: 18px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 6px;
}

.content-narrow,
.article-body {
  max-width: 760px;
  min-width: 0;
}

.page-container {
  max-width: 860px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background-color: #ff8a3d;
  color: #12171a;
  border-color: #ff8a3d;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #ffa163;
  border-color: #ffa163;
  color: #12171a;
}

.btn-ghost {
  background-color: transparent;
  color: #e8e5df;
  border-color: #2a343a;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #ff8a3d;
  color: #ff8a3d;
}

/* 文本链接 */

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ff8a3d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.text-link::after {
  content: " →";
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: #ff8a3d;
}

/* 状态徽标 */

.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  border-radius: 3px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.badge-new,
.status-new {
  color: #ff8a3d;
  background-color: rgba(255, 138, 61, 0.1);
}

.badge-verified,
.status-verified {
  color: #4fd1a5;
  background-color: rgba(79, 209, 165, 0.1);
}

.badge-observed,
.status-observing,
.badge-pending {
  color: #e9c46a;
  background-color: rgba(233, 196, 106, 0.1);
}

.badge-corrected,
.status-corrected {
  color: #e5484d;
  background-color: rgba(229, 72, 77, 0.1);
}

/* 表格基础 */

.data-table,
.info-table,
.field-table,
.compare-table,
.kv-table,
.mini-table,
.log-table,
.fields-table,
.legend-table {
  font-size: 13px;
  line-height: 1.6;
}

.data-table thead th,
.log-table thead th,
.fields-table thead th,
.compare-table thead th {
  padding: 8px 12px;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #98a3a9;
  background-color: #1a2126;
  border-bottom: 1px solid #2a343a;
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td,
.log-table tbody th,
.log-table tbody td,
.fields-table tbody th,
.fields-table tbody td,
.compare-table tbody th,
.compare-table tbody td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #2a343a;
  color: #e8e5df;
}

.data-table tbody th,
.compare-table tbody th {
  font-weight: 600;
  color: #e8e5df;
  background-color: #171e22;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td,
.log-table tbody tr:hover th,
.log-table tbody tr:hover td,
.fields-table tbody tr:hover th,
.fields-table tbody tr:hover td,
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td {
  background-color: #1a2126;
}

.data-table tbody tr:hover th,
.compare-table tbody tr:hover th {
  box-shadow: inset 2px 0 0 #ff8a3d;
}

.table-wrap,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #2a343a;
  border-radius: 6px;
  background-color: #12171a;
}

.table-wrap > table,
.table-scroll > table {
  min-width: 560px;
}

/* 通用 section 与标题 */

.section {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.section-title,
.section > h2,
.section-genres > h2,
.section-cross > h2,
.section-unsuitable > h2,
.section-next > h2,
.section-decide > h2,
.section-panels > h2,
.section-stop > h2,
.dimension-section > h2,
.caution-section > h2,
.next-step > h2,
.term-table-block > h2,
.term-status-block > h2,
.term-misread-block > h2,
.term-intro > h2,
.log-intro > h2,
.log-timeline > h2,
.log-corrections > h2,
.log-fields > h2,
.log-related > h2 {
  margin: 0 0 12px;
  padding-top: 16px;
  border-top: 1px solid #2a343a;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #e8e5df;
}

.section:first-of-type > h2,
.section-intro > h2,
.term-intro > h2,
.log-intro > h2 {
  padding-top: 0;
  border-top: 0;
}

.section-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

/* 图片容器 */

.media-figure,
.figure-wide,
.term-figure,
.pair-media,
.correction-media,
.exhibit-media,
.hero-media {
  overflow: hidden;
  border: 1px solid #2a343a;
  border-radius: 6px;
  background-color: #1a2126;
}

.media-figure img,
.figure-wide img,
.term-figure img,
.pair-media img,
.correction-media img,
.exhibit-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #1a2126;
}

.media-figure figcaption,
.figure-wide figcaption,
.term-figure figcaption,
.pair-media figcaption,
.correction-media figcaption,
.exhibit-media figcaption {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #2a343a;
  background-color: #1a2126;
}

/* 列表型下一步入口 */

.next-links,
.entry-links,
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.next-links li,
.entry-links li,
.related-links li {
  min-width: 0;
}

.next-links a,
.entry-links a,
.related-links a {
  display: block;
  padding: 12px 14px;
  min-height: 44px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.next-links a:hover,
.next-links a:focus-visible,
.entry-links a:hover,
.entry-links a:focus-visible,
.related-links a:hover,
.related-links a:focus-visible {
  border-color: #ff8a3d;
  border-left-color: #ff8a3d;
  color: #ff8a3d;
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.hero {
  border-bottom: 1px solid #2a343a;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #ff8a3d;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.28;
  font-weight: 600;
  color: #e8e5df;
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: #1a2126;
}

.hero-media figcaption {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #2a343a;
  background-color: #1a2126;
}

.hero-recent {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.hero-recent-title {
  margin: 0 0 10px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #98a3a9;
}

.recent-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.recent-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 14px;
  min-width: 0;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 4px;
  transition: border-color 0.15s ease;
}

.recent-list li:hover {
  border-color: #2a343a;
  border-left-color: #ff8a3d;
}

.recent-date {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #98a3a9;
}

.recent-list a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
}

.recent-list a:hover,
.recent-list a:focus-visible {
  color: #ff8a3d;
}

/* 首页各 section 容器 */

.visit-info,
.exhibit-catalog,
.timeline,
.pairs-preview,
.path-stages,
.notes-terms {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px;
  border-top: 1px solid #2a343a;
}

.visit-info > h2,
.exhibit-catalog > h2,
.timeline > h2,
.pairs-preview > h2,
.path-stages > h2,
.notes-terms > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #e8e5df;
}

/* 参观信息表 */

.info-table {
  margin-top: 12px;
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.info-table th {
  width: 140px;
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #98a3a9;
  background-color: #1a2126;
  border-bottom: 1px solid #2a343a;
}

.info-table td {
  padding: 11px 14px;
  vertical-align: top;
  color: #e8e5df;
  border-bottom: 1px solid #2a343a;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

/* 类型展品目录 */

.exhibit-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
  padding: 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 6px;
  transition: border-color 0.15s ease;
}

.exhibit-feature:hover {
  border-color: #ff8a3d;
}

.exhibit-media {
  margin: 0;
  min-width: 0;
}

.exhibit-fields {
  min-width: 0;
}

.exhibit-fields h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.exhibit-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #cfd4d7;
}

.exhibit-fields .field-table {
  margin-bottom: 4px;
}

.exhibit-fields .field-table th {
  width: 96px;
  padding: 7px 0;
  text-align: left;
  vertical-align: top;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #98a3a9;
  border-bottom: 1px solid #2a343a;
}

.exhibit-fields .field-table td {
  padding: 7px 0;
  vertical-align: top;
  color: #e8e5df;
  border-bottom: 1px solid #2a343a;
}

.exhibit-fields .field-table tr:last-child th,
.exhibit-fields .field-table tr:last-child td {
  border-bottom: 0;
}

.exhibit-rows {
  margin-top: 12px;
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.exhibit-rows li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 11px 14px;
  min-width: 0;
  border-bottom: 1px solid #2a343a;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.exhibit-rows li:last-child {
  border-bottom: 0;
}

.exhibit-rows li:hover {
  background-color: #1a2126;
  border-left-color: #ff8a3d;
}

.exhibit-name {
  font-size: 14px;
  font-weight: 600;
  color: #e8e5df;
}

.exhibit-line {
  font-size: 13px;
  line-height: 1.6;
  color: #98a3a9;
}

/* 收录与更订时间线 */

.timeline-list {
  margin-top: 12px;
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  padding: 11px 14px;
  min-width: 0;
  align-items: baseline;
  border-bottom: 1px solid #2a343a;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item:hover {
  background-color: #1a2126;
  border-left-color: #ff8a3d;
}

.timeline-date {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #ff8a3d;
}

.timeline-target {
  font-size: 13px;
  font-weight: 600;
  color: #e8e5df;
}

.timeline-reason {
  font-size: 13px;
  line-height: 1.6;
  color: #98a3a9;
}

.timeline-result {
  font-size: 13px;
  line-height: 1.6;
  color: #cfd4d7;
}

/* 专题对照预览 */

.compare-table {
  margin-top: 12px;
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.compare-table thead th:first-child {
  width: 180px;
}

/* 四阶段使用路径 */

.stage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stage-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-top: 2px solid #2a343a;
  border-radius: 6px;
  transition: border-color 0.15s ease;
}

.stage-item:hover {
  border-color: #2a343a;
  border-top-color: #ff8a3d;
}

.stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #ff8a3d;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 3px;
}

.stage-item h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.stage-item p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.7;
  color: #98a3a9;
}

.stage-item a {
  font-size: 13px;
  font-weight: 600;
  color: #ff8a3d;
  text-decoration: none;
}

.stage-item a::after {
  content: " →";
}

.stage-item a:hover,
.stage-item a:focus-visible {
  text-decoration: underline;
}

/* 误区与术语并列区 */

.notes-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.notes-col,
.terms-col {
  min-width: 0;
  padding: 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 6px;
}

.notes-col h3,
.terms-col h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2a343a;
  font-size: 15px;
  line-height: 1.45;
}

.notes-list li {
  padding: 10px 0;
  border-bottom: 1px solid #2a343a;
}

.notes-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.notes-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ff8a3d;
}

.notes-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.terms-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #2a343a;
  align-items: baseline;
}

.terms-list li:last-child {
  border-bottom: 0;
}

.term-name {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #4fd1a5;
}

.term-def {
  font-size: 13px;
  line-height: 1.65;
  color: #cfd4d7;
}

/* --------------------------------------------------------------------------
   5. pages · 类型导览
   -------------------------------------------------------------------------- */

.section-intro > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.section-intro .media-figure {
  margin-top: 8px;
}

.section-genres > p,
.section-cross > p,
.section-unsuitable > p,
.section-next > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.genre-card {
  margin-top: 14px;
  padding: 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 6px;
  transition: border-color 0.15s ease;
}

.genre-card:hover {
  border-color: #2a343a;
  border-left-color: #ff8a3d;
}

.genre-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.genre-card-head h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.genre-position {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #cfd4d7;
}

.genre-card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.genre-col {
  min-width: 0;
  padding: 12px;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 4px;
}

.genre-col h4,
.genre-col strong {
  display: block;
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #98a3a9;
}

.genre-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.genre-col li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.genre-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: #4fd1a5;
  border-radius: 1px;
}

.genre-col p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.genre-col .field-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.genre-col .field-list li {
  padding-left: 0;
}

.genre-col .field-list li::before {
  display: none;
}

.section-cross .data-table {
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.unsuitable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.unsuitable-list li {
  min-width: 0;
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #e5484d;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.unsuitable-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e5df;
}

/* 类型导览侧栏 */

.aside-title {
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #98a3a9;
}

.aside-note {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #98a3a9;
}

.aside-block + .aside-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #2a343a;
}

.mini-table {
  font-size: 12px;
}

.mini-table thead th {
  padding: 6px 8px;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #98a3a9;
  border-bottom: 1px solid #2a343a;
}

.mini-table tbody th,
.mini-table tbody td {
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #2a343a;
  color: #e8e5df;
  line-height: 1.55;
}

.mini-table tbody th {
  font-weight: 600;
  color: #4fd1a5;
  white-space: nowrap;
}

.mini-table tbody tr:last-child th,
.mini-table tbody tr:last-child td {
  border-bottom: 0;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-links a {
  display: block;
  padding: 8px 10px;
  min-height: 40px;
  font-size: 13px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.aside-links a:hover,
.aside-links a:focus-visible {
  border-color: #ff8a3d;
  color: #ff8a3d;
}

/* --------------------------------------------------------------------------
   6. pages · 专题对照
   -------------------------------------------------------------------------- */

.lead-section {
  margin-bottom: 24px;
  padding: 14px 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #ff8a3d;
  border-radius: 4px;
}

.lead-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #cfd4d7;
}

.lead-section a {
  color: #ff8a3d;
}

.pair-block {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.pair-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.pair-block > h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #e8e5df;
}

.pair-media {
  margin: 0 0 14px;
}

.pair-intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #cfd4d7;
}

.pair-block .compare-table {
  margin-top: 0;
}

.pair-hint {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #e9c46a;
  background-color: rgba(233, 196, 106, 0.06);
  border: 1px solid #2a343a;
  border-left: 2px solid #e9c46a;
  border-radius: 4px;
}

.dimension-section,
.caution-section,
.next-step {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.dimension-section > p,
.caution-section > p,
.next-step > p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.kv-table {
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.kv-table th {
  width: 140px;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #98a3a9;
  background-color: #1a2126;
  border-bottom: 1px solid #2a343a;
}

.kv-table td {
  padding: 10px 14px;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.7;
  color: #e8e5df;
  border-bottom: 1px solid #2a343a;
}

.kv-table tr:last-child th,
.kv-table tr:last-child td {
  border-bottom: 0;
}

.caution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caution-item {
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #e5484d;
  border-radius: 4px;
}

.caution-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #e5484d;
}

.caution-item p:not(.caution-title) {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.next-step .next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  min-height: 44px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: #ff8a3d;
  border-left-color: #ff8a3d;
  color: #ff8a3d;
}

.link-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

/* 专题对照侧栏 */

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-list li {
  min-width: 0;
}

.aside-list a {
  display: block;
  padding: 9px 10px;
  min-height: 40px;
  font-size: 13px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.aside-list a:hover,
.aside-list a:focus-visible {
  border-color: #ff8a3d;
  color: #ff8a3d;
}

.aside-desc {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

.aside-links {
  margin-top: 4px;
}

.aside-subtitle {
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px solid #2a343a;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #98a3a9;
}

/* --------------------------------------------------------------------------
   7. pages · 播放准备
   -------------------------------------------------------------------------- */

.content-section {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.content-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.content-section > h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #e8e5df;
}

.content-section > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: setup-step;
}

.step-item {
  padding: 16px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 6px;
  transition: border-color 0.15s ease;
}

.step-item:hover {
  border-color: #2a343a;
  border-left-color: #ff8a3d;
}

.step-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #ff8a3d;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 3px;
}

.step-purpose,
.step-action,
.step-criteria {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.75;
  color: #cfd4d7;
}

.step-purpose {
  color: #98a3a9;
}

.step-purpose::before {
  content: "目的 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  color: #98a3a9;
}

.step-action::before {
  content: "操作 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  color: #ff8a3d;
}

.step-criteria {
  margin-bottom: 0;
  padding: 8px 12px;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-left: 2px solid #4fd1a5;
  border-radius: 4px;
}

.step-criteria::before {
  content: "判断标准 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  color: #4fd1a5;
}

.media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.media-text .media-figure {
  margin: 0;
}

.setting-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.setting-item {
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 4px;
}

.setting-item dt {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e5df;
}

.setting-item dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #98a3a9;
}

.entry-section {
  padding-bottom: 0;
}

.entry-section .entry-links {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   8. pages · 故障排查
   -------------------------------------------------------------------------- */

.section-decide .decide-table {
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.decide-table tbody th {
  width: 160px;
  font-weight: 600;
  color: #e8e5df;
  background-color: #171e22;
}

.fault-panel {
  margin-top: 10px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.fault-panel[open] {
  border-color: #2a343a;
  border-left: 2px solid #ff8a3d;
}

.fault-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #e8e5df;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.fault-summary::-webkit-details-marker {
  display: none;
}

.fault-summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #98a3a9;
  border-bottom: 2px solid #98a3a9;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.fault-panel[open] .fault-summary::after {
  transform: rotate(-135deg);
}

.fault-summary:hover {
  color: #ff8a3d;
}

.fault-body {
  padding: 4px 16px 16px;
  border-top: 1px solid #2a343a;
}

.fault-cause {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.75;
  color: #cfd4d7;
}

.fault-cause::before {
  content: "可能原因 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  color: #e9c46a;
}

.fault-steps {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: fault-step;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fault-steps li {
  position: relative;
  padding-left: 30px;
  font-size: 13px;
  line-height: 1.75;
  color: #cfd4d7;
  counter-increment: fault-step;
}

.fault-steps li::before {
  content: counter(fault-step);
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #ff8a3d;
  background-color: #12171a;
  border: 1px solid #2a343a;
  border-radius: 3px;
}

.fault-stop {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #4fd1a5;
  background-color: rgba(79, 209, 165, 0.06);
  border: 1px solid #2a343a;
  border-left: 2px solid #4fd1a5;
  border-radius: 4px;
}

.fault-stop::before {
  content: "停止条件 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
}

.stop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stop-item {
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #4fd1a5;
  border-radius: 4px;
}

.stop-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #4fd1a5;
}

.stop-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #cfd4d7;
}

/* --------------------------------------------------------------------------
   9. pages · 术语索引
   -------------------------------------------------------------------------- */

.page-shell {
  display: block;
}

.term-intro > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.term-figure {
  margin: 8px 0 0;
}

.term-table-block,
.term-status-block,
.term-misread-block {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.term-table-block > p,
.term-status-block > p,
.term-misread-block > p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.term-table-block .field-table {
  min-width: 620px;
}

.term-table-block .field-table thead th:first-child {
  width: 140px;
}

.term-table-block .field-table thead th:nth-child(2) {
  width: auto;
}

.term-table-block .field-table thead th:last-child {
  width: 180px;
}

.term-table-block .field-table tbody td:first-child {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #4fd1a5;
  white-space: nowrap;
}

.term-table-block .field-table tbody td:last-child {
  color: #98a3a9;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.status-item {
  min-width: 0;
  padding: 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-radius: 4px;
}

.status-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.status-name {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: #e8e5df;
}

.status-desc {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.status-cond {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #2a343a;
  font-size: 12px;
  line-height: 1.7;
  color: #98a3a9;
}

.status-cond::before {
  content: "适用条件 · ";
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  color: #98a3a9;
}

.misread-item {
  margin-top: 10px;
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #e9c46a;
  border-radius: 4px;
}

.misread-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #e9c46a;
}

.misread-item p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.misread-item p:last-child {
  margin-bottom: 0;
}

.legend-table {
  font-size: 12px;
}

.legend-table td {
  padding: 7px 0;
  vertical-align: top;
  line-height: 1.6;
  color: #cfd4d7;
  border-bottom: 1px solid #2a343a;
}

.legend-table tr:last-child td {
  border-bottom: 0;
}

.legend-table td:first-child {
  width: 56px;
  padding-right: 10px;
}

.legend-table td:first-child > span,
.legend-table .legend-swatch {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 2px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   10. pages · 收录记录
   -------------------------------------------------------------------------- */

.log-body {
  display: block;
}

.log-intro > p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.log-timeline {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.log-month {
  margin-top: 18px;
}

.log-month:first-of-type {
  margin-top: 12px;
}

.log-month-title {
  margin: 0 0 8px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ff8a3d;
}

.log-table {
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.log-table thead th:first-child {
  width: 100px;
}

.log-table tbody td.log-date,
.log-table tbody th.log-date {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #ff8a3d;
  white-space: nowrap;
}

.log-corrections {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.log-corrections > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.correction-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.correction-media {
  margin: 0;
}

.correction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.correction-item {
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #e5484d;
  border-radius: 4px;
}

.correction-item h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e5df;
}

.correction-fields {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.correction-fields > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.correction-fields dt {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #98a3a9;
}

.correction-fields dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd4d7;
}

.log-fields {
  padding: 24px 0;
  border-top: 1px solid #2a343a;
}

.log-fields > p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.fields-table {
  border: 1px solid #2a343a;
  border-radius: 6px;
  overflow: hidden;
}

.fields-table thead th:first-child {
  width: 160px;
}

.fields-table tbody td.field-name {
  width: 160px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #4fd1a5;
  white-space: nowrap;
}

.log-related {
  padding: 24px 0 0;
  border-top: 1px solid #2a343a;
}

.log-related > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #98a3a9;
}

.related-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

/* --------------------------------------------------------------------------
   11. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.error-block {
  max-width: 640px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2a343a;
}

.error-code {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #ff8a3d;
}

.error-block h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.error-lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfd4d7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-paths {
  padding-top: 28px;
}

.error-paths h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.error-path-list li {
  min-width: 0;
  padding: 12px 14px;
  background-color: #1a2126;
  border: 1px solid #2a343a;
  border-left: 2px solid #2a343a;
  border-radius: 4px;
  transition: border-color 0.15s ease;
}

.error-path-list li:hover {
  border-left-color: #ff8a3d;
}

.error-path-list a {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #e8e5df;
  text-decoration: none;
}

.error-path-list a:hover,
.error-path-list a:focus-visible {
  color: #ff8a3d;
}

.error-path-desc {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #98a3a9;
}

/* --------------------------------------------------------------------------
   12. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-aside {
    position: static;
    top: auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-note {
    grid-column: 1 / -1;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .stage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 6px 16px;
  }

  .timeline-reason,
  .timeline-result {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
  }

  .hero-media {
    order: 2;
  }

  .recent-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .exhibit-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .exhibit-rows li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .exhibit-name {
    grid-column: 1;
  }

  .exhibit-line {
    grid-column: 1;
  }

  .exhibit-rows .badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .notes-terms-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-card-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .unsuitable-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-text {
    grid-template-columns: minmax(0, 1fr);
  }

  .correction-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .inner-main {
    padding: 16px 16px 44px;
  }

  .hero-inner,
  .hero-recent,
  .visit-info,
  .exhibit-catalog,
  .timeline,
  .pairs-preview,
  .path-stages,
  .notes-terms {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title {
    font-size: 22px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .error-main {
    padding: 40px 16px 56px;
  }

  .error-block h1 {
    font-size: 22px;
  }

  .footer-inner {
    padding: 32px 16px 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    padding: 14px 16px 20px;
  }

  .stage-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-item {
    padding: 14px;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .timeline-reason,
  .timeline-result {
    grid-column: 1;
  }

  .timeline-list,
  .exhibit-rows {
    border-radius: 4px;
  }

  .info-table th {
    width: 96px;
    font-size: 11px;
  }

  .terms-list li {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .kv-table th {
    width: 104px;
  }

  .term-table-block .field-table {
    min-width: 560px;
  }

  .table-wrap > table,
  .table-scroll > table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .inner-main {
    padding: 14px 12px 40px;
  }

  .hero-inner,
  .hero-recent,
  .visit-info,
  .exhibit-catalog,
  .timeline,
  .pairs-preview,
  .path-stages,
  .notes-terms {
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer-inner {
    padding: 28px 12px 20px;
  }

  .footer-bottom {
    padding: 12px 12px 18px;
  }

  .error-main {
    padding: 32px 12px 48px;
  }

  .page-meta,
  .meta-row {
    flex-direction: column;
    gap: 4px;
  }

  .meta-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
  }

  .page-subtitle {
    font-size: 14px;
  }

  .hero-actions .btn,
  .error-actions .btn {
    flex: 1 1 100%;
  }

  .exhibit-feature {
    padding: 12px;
  }

  .exhibit-rows li {
    padding: 10px 12px;
  }

  .genre-card {
    padding: 12px;
  }

  .term-table-block .field-table {
    min-width: 500px;
  }

  .table-wrap > table,
  .table-scroll > table {
    min-width: 480px;
  }

  .correction-fields > div {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .step-item {
    padding: 12px;
  }

  .fault-summary {
    padding: 12px;
  }

  .fault-body {
    padding: 4px 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
