/* ==========================================================================
   91猎奇APP · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #f6f4ee;
  --card: #ffffff;
  --ink: #191b1f;
  --ink-soft: #5b5f66;
  --rule: #d9d3c6;
  --accent: #a63f2a;
  --slate: #2f5875;
  --highlight: #efe9dc;
  --zebra: #faf8f3;
  --font-ui: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shell: 1180px;
  --reading: 68ch;
  --gap: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

dt {
  font-weight: 600;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-underline-offset 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
  text-underline-offset: 5px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 页头骨架
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-notice {
  border-bottom: 1px solid var(--rule);
  background-color: var(--highlight);
}

.notice-text {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 7px 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  line-height: 1.6;
}

.header-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark:hover {
  color: var(--accent);
}

.brand-divider {
  width: 1px;
  height: 16px;
  background-color: var(--rule);
  align-self: center;
}

.brand-type {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before {
  top: 15px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  bottom: 15px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  bottom: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--rule);
  background-color: var(--card);
}

.mobile-nav-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 24px 16px;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--rule);
}

.mobile-nav-list li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav-list a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   layout · 主体与内页骨架
   -------------------------------------------------------------------------- */

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 12px 0 0;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 20px;
}

.page-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.page-title-block,
.page-title-area,
.page-head {
  max-width: var(--reading);
  padding-bottom: 22px;
}

.page-eyebrow,
.page-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.page-lead {
  margin: 0 0 12px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.meta-item,
.meta-label {
  display: inline-block;
}

.meta-sep {
  color: var(--rule);
}

.page-layout {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.layout-shell {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.layout-main-aside {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.page-aside,
.sidebar {
  min-width: 0;
  font-size: 14.5px;
}

.layout-shell .page-aside,
.layout-shell .sidebar {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}

.sidebar-left .page-aside {
  border-left: 0;
  border-right: 1px solid var(--rule);
  padding-left: 0;
  padding-right: 24px;
}

.page-article,
.article-main,
.article-body,
.content-body {
  min-width: 0;
  max-width: var(--reading);
}

/* --------------------------------------------------------------------------
   layout · 页脚
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin: 0 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-col-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-bottom {
  border-top: 1px solid var(--rule);
  background-color: var(--highlight);
}

.footer-boundary,
.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-boundary {
  padding-top: 14px;
}

.footer-copy {
  padding-bottom: 14px;
  color: #7a7e85;
}

/* 跳到正文 */
.skip-link,
.skip-to-main {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background-color: var(--card);
  border: 1px solid var(--slate);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus,
.skip-to-main:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   components · 通用文本与区块
   -------------------------------------------------------------------------- */

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-desc,
.section-intro {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.content-section {
  margin-bottom: 44px;
}

.content-section h2,
.article-section h2,
.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sec-num,
.h2-num,
.section-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.content-section p,
.article-section p {
  margin-bottom: 1.1em;
  line-height: 1.8;
}

.content-section p:last-child,
.article-section p:last-child {
  margin-bottom: 0;
}

.inline-link {
  display: inline-block;
  font-size: 14px;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--accent);
  text-underline-offset: 5px;
}

/* 结论块 */
.conclusion-block {
  border-left: 3px solid var(--accent);
  background-color: var(--card);
  padding: 18px 22px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.conclusion-block h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.conclusion-block p {
  margin-bottom: 0.9em;
  font-size: 15px;
  line-height: 1.78;
}

.conclusion-block p:last-child {
  margin-bottom: 0;
}

.conclusion-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
}

.conclusion-list {
  padding-left: 0;
}

.conclusion-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.75;
}

.conclusion-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.conclusion-list li:last-child {
  margin-bottom: 0;
}

.conclusion-line {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: 16px;
}

/* 编号清单 */
.numbered-list {
  counter-reset: num;
}

.numbered-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.numbered-list li:last-child {
  border-bottom: 0;
}

.num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 22px;
}

.num-text {
  font-size: 14.5px;
  line-height: 1.75;
}

/* 标签组 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--slate);
  background-color: var(--highlight);
  border: 1px solid #dfe6ec;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* 图片与图注 */
.content-figure,
.topic-figure,
.article-figure,
.media-figure,
.figure-note,
.content-media {
  margin: 20px 0;
}

.content-figure img,
.topic-figure img,
.article-figure img,
.media-figure img,
.figure-note img,
.content-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
  object-fit: cover;
}

.figure-caption,
.source-note,
.fig-caption {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 2px solid var(--rule);
}

.figure-source,
.caption-source {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #7a7e85;
}

.caption-line {
  display: block;
}

/* 数据表 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
}

.data-table {
  font-size: 15px;
  line-height: 1.6;
  min-width: 520px;
}

.data-table caption,
.table-caption {
  caption-side: top;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  border-bottom: 1px solid var(--rule);
  background-color: var(--zebra);
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
}

.data-table thead th {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background-color: var(--zebra);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--zebra);
}

.data-table tbody tr:hover {
  background-color: var(--highlight);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody td:first-child {
  font-weight: 600;
}

/* 折叠问答 */
.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.faq-answer p {
  margin-bottom: 0.8em;
}

/* 相关链接条 */
.related-bar,
.related-links {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.related-title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.related-list a,
.related-bar > a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-list a:hover,
.related-bar > a:hover {
  color: var(--accent);
  text-underline-offset: 5px;
}

.related-links-item {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--slate);
}

/* 侧栏通用块 */
.aside-block {
  margin-bottom: 26px;
}

.aside-title,
.sidebar-title,
.sidebar-subtitle {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}

.aside-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.aside-link a {
  font-size: 14px;
  color: var(--slate);
}

.aside-footnote {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.aside-cta {
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 16px;
}

/* 按钮 */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14.5px;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #8c3322;
  border-color: #8c3322;
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.home-hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 24px 8px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.28;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
}

.home-hero .content-media {
  max-width: var(--shell);
  margin: 32px 0 0;
}

.home-hero .content-media img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
}

.home-main > section:not(.home-hero) {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 24px 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1.5fr;
  gap: 14px;
}

.c-channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.c-channel:hover {
  border-color: var(--accent);
}

.channel-name {
  font-size: 1.02rem;
  font-weight: 600;
}

.channel-line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.channel-tags li {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--slate);
  background-color: var(--highlight);
  padding: 2px 8px;
  border-radius: 2px;
}

.channel-link {
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}

.channel-link:hover {
  color: var(--accent);
  text-underline-offset: 5px;
}

/* 结构示意 */
.diagram-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 36px;
  align-items: start;
}

.diagram-figure {
  min-width: 0;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-bar {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.bar-label {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.bar-track {
  position: relative;
  display: block;
  height: 18px;
  background-color: var(--zebra);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background-color: var(--slate);
  border-radius: 1px;
}

.bar-fill-a {
  width: 92%;
}

.bar-fill-b {
  width: 74%;
}

.bar-fill-c {
  width: 64%;
}

.bar-fill-d {
  width: 46%;
}

.bar-fill-e {
  width: 58%;
}

.bar-scale {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0 108px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.diagram-conclusion {
  min-width: 0;
}

.diagram-conclusion .conclusion-block {
  margin-top: 0;
}

/* 专题预览 */
.index-list {
  border-top: 1px solid var(--rule);
}

.c-index-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 96px 76px 64px;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.18s ease;
}

.c-index-row:hover {
  background-color: var(--highlight);
}

.index-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.index-name {
  font-size: 15.5px;
  font-weight: 600;
  min-width: 0;
}

.index-tag {
  font-size: 12px;
  color: var(--slate);
  background-color: var(--highlight);
  padding: 2px 8px;
  border-radius: 2px;
  justify-self: start;
}

.index-status {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.index-link {
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
  justify-self: end;
}

.index-link:hover {
  color: var(--accent);
  text-underline-offset: 5px;
}

/* 观看核对摘要 */
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 36px;
  align-items: start;
}

.watch-entry {
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 20px;
}

.watch-entry-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* 口径短栏 */
.glossary-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 36px;
  align-items: start;
}

.glossary-list {
  border-top: 1px solid var(--rule);
}

.glossary-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.glossary-item dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.glossary-item dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.glossary-notes p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* 最近批注 */
.notes-table {
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: var(--card);
  font-size: 14.5px;
  overflow: hidden;
}

.notes-table th,
.notes-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.65;
}

.notes-table thead th {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background-color: var(--zebra);
  font-weight: 600;
}

.notes-table tbody tr:last-child td {
  border-bottom: 0;
}

.notes-table tbody tr:hover {
  background-color: var(--highlight);
}

.recent-notes > .inline-link {
  margin-top: 14px;
}

/* 收束条 */
.closing-strip {
  padding-bottom: 12px;
}

.closing-inner {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background-color: var(--card);
  border-radius: 0 4px 4px 0;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.closing-title {
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1 1 100%;
}

.closing-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.closing-inner .btn-primary {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   pages · 分区说明
   -------------------------------------------------------------------------- */

.page-aside .aside-title {
  margin-top: 0;
}

.channel-toc {
  border-top: 1px solid var(--rule);
}

.channel-toc li {
  border-bottom: 1px solid var(--rule);
}

.toc-link {
  display: block;
  padding: 10px 2px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.55;
}

.toc-link:hover,
.toc-link.is-current {
  color: var(--accent);
}

.toc-note {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 400;
}

.rule-list {
  padding-left: 0;
}

.rule-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.75;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.rule-list li:last-child {
  margin-bottom: 0;
}

.rule-example {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 专题档案
   -------------------------------------------------------------------------- */

.sticky-filter {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 16px;
  margin-bottom: 28px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.filter-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--slate);
  background-color: var(--highlight);
  border: 1px solid #dfe6ec;
  border-radius: 2px;
  text-decoration: none;
}

.filter-chip:hover {
  border-color: var(--slate);
  color: var(--slate);
}

.filter-chip.is-active {
  background-color: var(--slate);
  border-color: var(--slate);
  color: #fff;
}

.topic-intro {
  margin-bottom: 36px;
}

.topic-intro h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.topic-entry {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.topic-entry h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.topic-lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 16px;
}

.five-part {
  margin: 18px 0;
  border-top: 1px solid var(--rule);
}

.five-part dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 12px;
}

.five-part dd {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding: 6px 0 12px;
  border-bottom: 1px solid var(--rule);
}

.five-part dd:last-of-type {
  border-bottom: 0;
}

.topic-conclusion h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.topic-index-table {
  font-size: 13.5px;
  line-height: 1.6;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--card);
}

.topic-index-table caption {
  caption-side: top;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: left;
  background-color: var(--zebra);
  border-bottom: 1px solid var(--rule);
}

.topic-index-table th,
.topic-index-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
}

.topic-index-table thead th {
  font-size: 12px;
  color: var(--ink-soft);
  background-color: var(--zebra);
  font-weight: 600;
}

.topic-index-table tbody tr:last-child td {
  border-bottom: 0;
}

.sidebar-note,
.sidebar-related {
  margin-top: 26px;
}

.sidebar-note p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.sidebar-related .related-list {
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   pages · 观看核对
   -------------------------------------------------------------------------- */

.numbered-checklist {
  border-top: 1px solid var(--rule);
}

.check-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.check-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 2px;
}

.check-body {
  min-width: 0;
}

.check-action {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 4px;
}

.check-standard {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.env-table-section,
.faq-section,
.checklist-section {
  margin-bottom: 40px;
}

.env-table {
  min-width: 520px;
}

.misread-list {
  border-top: 1px solid var(--rule);
}

.misread-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.misread-wrong {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--accent);
}

.misread-right {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 口径说明
   -------------------------------------------------------------------------- */

.article-body {
  max-width: var(--reading);
}

.article-section {
  margin-bottom: 40px;
}

.c-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.c-bar-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
}

.c-bar {
  display: block;
  height: 18px;
  background-color: var(--slate);
  border-radius: 2px;
}

.c-bar.bar-1 {
  width: 92%;
}

.c-bar.bar-2 {
  width: 74%;
}

.c-bar.bar-3 {
  width: 64%;
}

.c-bar.bar-4 {
  width: 46%;
}

.c-bar.bar-5 {
  width: 58%;
}

.bar-value {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  text-align: right;
}

.figure-note .bar-scale {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

.scale-tick {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 更新批注
   -------------------------------------------------------------------------- */

.page-shell {
  max-width: var(--shell);
  margin: 0 auto;
}

.page-shell .page-head {
  max-width: var(--reading);
}

.section-block {
  margin-bottom: 40px;
}

.log-table {
  min-width: 640px;
}

.cell-code {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

.cell-date {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  color: var(--ink-soft);
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.log-highlights .numbered-list {
  margin-top: 8px;
}

.list-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 22px;
}

.list-body {
  font-size: 14.5px;
  line-height: 1.75;
}

.field-list {
  border-top: 1px solid var(--rule);
}

.field-list dt {
  font-size: 13.5px;
  font-weight: 600;
  padding-top: 10px;
  color: var(--ink);
}

.field-list dd {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 4px 0 10px;
  border-bottom: 1px solid var(--rule);
}

.field-list dd:last-of-type {
  border-bottom: 0;
}

.aside-links {
  margin-top: 8px;
}

.aside-links a {
  font-size: 14px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   pages · 纠错与反馈
   -------------------------------------------------------------------------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.problem-card {
  padding: 18px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.problem-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.problem-basis {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 8px;
}

.problem-example {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  padding-left: 10px;
  border-left: 2px solid var(--rule);
}

.field-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.field-item:first-child {
  border-top: 1px solid var(--rule);
}

.field-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 2px;
}

.field-body {
  min-width: 0;
}

.field-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.field-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 18px;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--slate);
  border-radius: 0 0 4px 4px;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.step-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-list {
  padding-left: 0;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.75;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.boundary-list li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.error-shell {
  max-width: 640px;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.error-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.error-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14.5px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
  background-color: var(--card);
}

.error-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.error-btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.error-btn-primary:hover {
  background-color: #8c3322;
  border-color: #8c3322;
  color: #fff;
}

.error-hint {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.error-hint-title {
  font-size: 1rem;
  margin-bottom: 12px;
}

.error-hint-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}

.error-hint-list li:last-child {
  border-bottom: 0;
}

.error-hint-list a {
  color: var(--slate);
  text-decoration: none;
}

.error-hint-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .layout-shell,
  .layout-main-aside,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-shell .page-aside,
  .layout-shell .sidebar,
  .sidebar-left .page-aside {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--rule);
    padding: 24px 0 0;
    margin-top: 8px;
  }

  .page-article,
  .article-main,
  .article-body,
  .content-body {
    max-width: none;
  }

  .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-main {
    padding: 14px 20px;
  }

  .brand-type {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .notice-text,
  .inner-main,
  .home-hero,
  .home-main > section:not(.home-hero),
  .footer-inner,
  .footer-boundary,
  .footer-copy,
  .error-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-figure {
    order: 2;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagram-layout,
  .watch-layout,
  .glossary-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .c-index-row {
    grid-template-columns: 40px minmax(0, 1fr) 80px;
  }

  .c-index-row .index-tag {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .c-index-row .index-status {
    grid-column: 3 / 4;
    justify-self: end;
  }

  .c-index-row .index-link {
    grid-column: 2 / 4;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .hero-text h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .channel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-channel-wide,
  .c-channel-narrow {
    grid-column: auto;
  }

  .bar-scale {
    margin-left: 0;
  }

  .c-bar {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }

  .c-bar-row {
    grid-template-columns: 84px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .glossary-item {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sticky-filter {
    position: static;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px 12px;
  }

  .filter-group {
    flex-wrap: nowrap;
  }

  .filter-chip {
    white-space: nowrap;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-inner {
    padding: 20px;
  }

  .closing-inner .btn-primary {
    width: 100%;
  }

  .data-table,
  .env-table,
  .log-table {
    min-width: 480px;
  }
}

@media (max-width: 480px) {
  .header-main {
    padding: 12px 16px;
  }

  .notice-text,
  .inner-main,
  .home-hero,
  .home-main > section:not(.home-hero),
  .footer-inner,
  .footer-boundary,
  .footer-copy,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    font-size: 1.12rem;
  }

  .hero-text h1 {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .c-bar {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .c-bar-row {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
  }

  .bar-label {
    font-size: 12px;
  }

  .glossary-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .check-item,
  .field-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .c-index-row {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 6px;
  }

  .c-index-row .index-tag {
    grid-column: 2 / 3;
  }

  .c-index-row .index-status {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .c-index-row .index-link {
    grid-column: 2 / 3;
  }

  .notes-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-inner {
    padding-top: 28px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
