/* ==========================================================================
   麻花天美星空无限 · 全站样式表
   分组：基础 / 布局骨架 / 通用组件 / 首页模块 / 内页模块 / 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --paper: #fbfaf7;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --rule: #d8d4cc;
  --accent: #8c2b21;
  --wash: #f0ede6;
  --serif: "Songti SC", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --wrap: 1120px;
  --pad: 20px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   2. 布局骨架：页面容器、页头、导航、主区、页脚
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header,
.site-main,
.site-footer {
  width: 100%;
}

.site-header {
  border-bottom: 0;
  background: var(--paper);
}

/* 报头 */
.masthead {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--pad) 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.brand:hover {
  color: var(--accent);
}

.brand-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* 双线收口 */
.site-header::after {
  content: "";
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  height: 3px;
}

/* 主导航 */
.site-nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
}

.nav-link {
  display: inline-block;
  padding: 12px 0 10px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-current {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
}

/* 主区 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) 64px;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--pad) 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.page-title {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.3;
}

.page-description {
  margin: 12px 0 0;
  color: var(--ink-soft);
  max-width: 38em;
}

.page-meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.page-lead {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 38em;
}

.page-lede {
  margin: 0 0 8px;
  color: var(--ink-soft);
  max-width: 38em;
}

/* 内页顶部导语块（位于布局之上的独立区块） */
.page-title-block,
.page-head,
.page-intro {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.page-title-block .page-lead,
.page-head .page-lede,
.page-intro .page-lede {
  font-size: 16px;
}

/* 页脚 */
.site-footer {
  background: var(--wash);
  border-top: 3px solid var(--ink);
  margin-top: 20px;
}

.footer-columns {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px var(--pad) 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 40px;
}

.footer-heading {
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-list a:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--pad) 30px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

.footer-brand,
.footer-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-text {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   3. 通用组件
   -------------------------------------------------------------------------- */

/* 文字链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease;
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

.inline-link-line {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.inline-link-line .text-link + .text-link {
  margin-left: 18px;
}

.inline-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 小节标题 */
.section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 20px;
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.section-note {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 44em;
}

.section-lede {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}

.section-text {
  margin: 0 0 16px;
  color: var(--ink-soft);
  max-width: 38em;
}

.sub-title {
  font-size: 18px;
  margin: 20px 0 10px;
}

/* 筛选按钮 */
.filter-bar {
  margin-bottom: 18px;
}

.filter-group,
.filter-bar[role="group"] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 9px 16px;
  min-height: 44px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 表格通用 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.channel-table,
.catalog-table,
.data-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.channel-table caption,
.catalog-table caption,
.data-table caption,
.compare-table caption {
  text-align: left;
}

.channel-table th,
.channel-table td,
.catalog-table th,
.catalog-table td,
.data-table th,
.data-table td,
.compare-table th,
.compare-table td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.channel-table thead th,
.catalog-table thead th,
.data-table thead th,
.compare-table thead th {
  background: var(--wash);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  white-space: nowrap;
}

.channel-table tbody tr:hover,
.catalog-table tbody tr:hover,
.data-table tbody tr:hover,
.compare-table tbody tr:hover {
  background: #f6f3ec;
}

.channel-table td:first-child,
.catalog-table td:first-child {
  font-family: var(--serif);
  font-weight: 700;
}

.channel-table td a,
.catalog-table td a,
.data-table td a,
.compare-table td a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.channel-table td a:hover,
.catalog-table td a:hover,
.data-table td a:hover,
.compare-table td a:hover {
  border-bottom-color: var(--accent);
}

.table-caption {
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 8px;
}

/* 图片与图注 */
.hero-media,
.feature-figure,
.channel-figure,
.content-figure,
.archive-figure,
.compare-figure,
.media-figure {
  margin: 0;
}

.hero-media img,
.feature-figure img,
.channel-figure img,
.content-figure img,
.archive-figure img,
.compare-figure img,
.media-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--wash);
}

figcaption,
.media-caption,
.figure-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 相关入口条 */
.related-bar {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.related-heading {
  font-size: 16px;
  margin-bottom: 12px;
}

.related-list,
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.related-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-arrow {
  color: var(--accent);
  font-size: 13px;
}

.related-strip {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.related-lead,
.related-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 编号条目（首页与本期看点共用外壳，内部按父级区分） */
.entry-list {
  border-top: 1px solid var(--rule);
}

.entry-item {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.entry-num,
.entry-index {
  flex: 0 0 auto;
  width: 40px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.entry-body {
  flex: 1 1 auto;
  min-width: 0;
}

.entry-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.entry-def,
.entry-desc {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 40em;
}

.entry-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 提示块 */
.compare-hint,
.selector-note,
.aside-note {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 10px 14px;
  background: var(--wash);
  border-left: 3px solid var(--accent);
  margin: 12px 0 0;
}

/* --------------------------------------------------------------------------
   4. 首页模块
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  padding: 30px 0 12px;
  border-bottom: 1px solid var(--rule);
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
  padding-bottom: 26px;
}

.hero-intro h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-lead {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 34em;
}

/* 三步路径条 */
.path-steps {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}

.path-step {
  padding: 12px 0 14px 16px;
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.path-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.path-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.path-desc {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 440px);
  gap: 40px;
  padding: 26px 0 30px;
  align-items: start;
}

.hero-table-wrap {
  min-width: 0;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  aspect-ratio: 4 / 3;
}

/* 编选说明 */
.editorial-note {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.editorial-head {
  border-right: 1px solid var(--rule);
  padding-right: 24px;
}

.editorial-head h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.editorial-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.editorial-body p {
  color: var(--ink-soft);
  max-width: 38em;
}

.standard-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.standard-list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-size: 15px;
  color: var(--ink);
}

.standard-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* 频道目录速览 */
.channel-glance {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.field-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.field-note {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

.field-note h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.field-note p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 本期片单条目 */
.issue-list {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

/* 专题策划推荐 */
.feature-spotlight {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.feature-main {
  min-width: 0;
}

.feature-figure img {
  aspect-ratio: 16 / 10;
}

.feature-name {
  font-size: 20px;
  margin: 14px 0 8px;
}

.feature-reason,
.feature-scope {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink-soft);
}

.feature-main .text-link {
  margin-top: 6px;
}

.feature-side {
  min-width: 0;
  border-top: 1px solid var(--rule);
}

.feature-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-item-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature-item-desc {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 题材对照入口 */
.compare-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.compare-entry-text {
  flex: 1 1 420px;
  min-width: 0;
}

.compare-entry-text h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.compare-entry-text p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 42em;
}

.entry-button {
  flex: 0 0 auto;
  display: inline-block;
  padding: 12px 24px;
  min-height: 46px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.16s ease;
}

.entry-button:hover {
  background: var(--accent);
}

/* 术语条目 */
.term-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.term-list {
  border-top: 1px solid var(--rule);
}

.term-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.term-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.term-def {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ink);
}

.term-detail,
.term-example,
.term-related {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}

.term-example {
  padding-left: 12px;
  border-left: 2px solid var(--rule);
}

.term-related {
  font-size: 13px;
}

/* 站内三类信息 */
.site-info {
  padding: 34px 0 10px;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 18px;
}

.info-block {
  padding: 16px 18px;
  background: var(--wash);
  border-top: 2px solid var(--ink);
  border-radius: 2px;
}

.info-heading {
  font-size: 16px;
  margin-bottom: 10px;
}

.notice-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}

.notice-list li:last-child {
  border-bottom: 0;
}

.discuss-quote {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--ink-soft);
}

.guide-steps {
  counter-reset: guide;
}

.guide-steps li {
  counter-increment: guide;
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.guide-steps li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. 内页布局
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  gap: 28px;
}

/* 默认：主内容在左，侧栏在右 */
.layout-shell,
.layout-right {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

/* 侧栏在左 */
.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.layout-main,
.content-main,
.page-content {
  min-width: 0;
}

.layout-aside,
.content-aside,
.page-aside,
.page-sidebar {
  min-width: 0;
}

/* 侧栏通用块 */
.aside-block,
.sidebar-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.aside-block:last-child,
.sidebar-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.aside-title,
.aside-heading,
.sidebar-heading,
.sidebar-title {
  font-size: 16px;
  margin-bottom: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.aside-lead,
.sidebar-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   6. 频道目录页
   -------------------------------------------------------------------------- */

.filter-bar .section-heading {
  border-top: 0;
  padding-top: 0;
}

.channel-table-section {
  margin-top: 8px;
}

.channel-row {
  display: contents;
}

.channel-figure {
  margin-top: 26px;
}

.channel-figure img {
  aspect-ratio: 16 / 9;
}

.field-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.field-item:last-of-type {
  border-bottom: 0;
}

.field-name {
  font-size: 15px;
  margin-bottom: 4px;
}

.field-def {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.field-example {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 2px solid var(--rule);
}

.aside-note {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   7. 本期看点
   -------------------------------------------------------------------------- */

.section-block {
  margin-bottom: 30px;
}

.section-block .section-title {
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.order-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: var(--wash);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--ink-soft);
}

.content-figure {
  margin-top: 26px;
}

.content-figure img {
  aspect-ratio: 16 / 9;
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.meta-list dt {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
}

.meta-list dt:first-child {
  margin-top: 0;
}

.meta-list dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.change-list {
  border-top: 1px solid var(--rule);
}

.change-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.change-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.change-reason {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.link-list li {
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   8. 往期目录
   -------------------------------------------------------------------------- */

.issue-index-list {
  border-top: 1px solid var(--rule);
}

.issue-index-list li {
  border-bottom: 1px solid var(--rule);
}

.issue-index-link {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.issue-index-link:hover {
  color: var(--accent);
}

.naming-list {
  border-top: 1px solid var(--rule);
}

.naming-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.naming-term {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.naming-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.archive-list-section {
  margin-bottom: 30px;
}

.archive-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.archive-entry:first-of-type {
  border-top: 1px solid var(--rule);
}

.archive-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.archive-issue-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.archive-theme {
  font-size: 19px;
}

.archive-summary {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 42em;
}

.archive-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin-bottom: 10px;
}

.archive-field {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: 6px;
}

.archive-field dt {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 600;
}

.archive-field dd {
  margin: 0;
}

.archive-figure {
  margin: 26px 0;
}

.archive-figure img {
  aspect-ratio: 16 / 9;
}

.update-log-section {
  margin-top: 26px;
}

.update-log-list {
  border-top: 1px solid var(--rule);
}

.update-log-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.update-log-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   9. 专题策划
   -------------------------------------------------------------------------- */

.feature-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-lead-media {
  min-width: 0;
}

.feature-lead-media img {
  aspect-ratio: 4 / 3;
}

.feature-lead-body {
  min-width: 0;
}

.feature-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.feature-facts {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  margin: 12px 0 14px;
}

.feature-facts dt {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.feature-facts dt:first-of-type {
  margin-top: 0;
}

.feature-facts dd {
  margin: 2px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.feature-list-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 16px 18px;
  background: var(--wash);
  border-top: 2px solid var(--ink);
  border-radius: 2px;
  min-width: 0;
}

.feature-card-index {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.feature-card-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.feature-card-title a {
  border-bottom: 1px solid transparent;
}

.feature-card-title a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.feature-card-desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.feature-card-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  font-size: 13px;
  border-top: 1px solid var(--rule);
  padding-top: 8px;
}

.feature-card-facts dt {
  color: var(--ink-soft);
}

.feature-card-facts dd {
  margin: 0;
  color: var(--ink);
}

.feature-card-media .media-figure {
  margin-bottom: 12px;
}

.feature-card-media .media-figure img {
  aspect-ratio: 16 / 9;
}

.feature-map-block {
  padding: 30px 0;
}

.feature-map-table tbody th {
  font-weight: 600;
  font-family: var(--serif);
  background: transparent;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. 编选手记
   -------------------------------------------------------------------------- */

.toc-list {
  border-top: 1px solid var(--rule);
}

.toc-list li {
  border-bottom: 1px solid var(--rule);
}

.toc-link {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.toc-link:hover {
  color: var(--accent);
}

.aside-link-list li {
  margin-bottom: 8px;
}

.content-section {
  margin-bottom: 30px;
}

.content-section .section-title {
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.content-section p {
  color: var(--ink-soft);
  max-width: 38em;
}

.rule-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.rule-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.rule-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.rule-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.order-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.order-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.order-name {
  font-size: 15px;
  color: var(--ink-soft);
}

.order-item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   11. 观看说明
   -------------------------------------------------------------------------- */

.step-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.step-num {
  flex: 0 0 auto;
  width: 32px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.step-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-text {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 38em;
}

.mark-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.mark-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.mark-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.mark-def {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.mark-example {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 2px solid var(--rule);
}

.faq-list {
  border-top: 1px solid var(--rule);
  margin-top: 14px;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 40em;
}

.term-list .term-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.term-list .term-link:hover {
  color: var(--accent);
}

.sidebar-note .sidebar-text {
  font-size: 13px;
}

.jump-list li {
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   12. 题材对照
   -------------------------------------------------------------------------- */

.compare-selector {
  margin-bottom: 26px;
}

.selector-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 44em;
}

.selector-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selector-btn {
  padding: 9px 16px;
  min-height: 44px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.selector-btn:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
}

.selector-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.selector-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.compare-dims {
  margin-bottom: 26px;
}

.dims-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

.dims-item {
  min-width: 0;
}

.dims-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.dims-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.compare-table-section {
  margin-bottom: 26px;
}

.compare-table thead th:first-child,
.compare-table tbody th {
  font-family: var(--serif);
  white-space: nowrap;
  background: var(--wash);
}

.compare-table tbody th {
  font-size: 14px;
}

.compare-figure {
  margin: 0 0 26px;
}

.compare-figure img {
  aspect-ratio: 16 / 9;
}

.compare-cases {
  margin-bottom: 10px;
}

.case-block {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.case-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.case-desc {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 42em;
}

.case-steps {
  counter-reset: case;
}

.case-steps li {
  counter-increment: case;
  position: relative;
  padding: 5px 0 5px 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.case-steps li::before {
  content: counter(case);
  position: absolute;
  left: 0;
  top: 5px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   13. 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--pad) 64px;
}

.error-block {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--rule);
}

.error-code {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.error-title {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 12px;
}

.error-lead {
  margin: 0 0 20px;
  color: var(--ink-soft);
  max-width: 38em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.button-primary {
  display: inline-block;
  padding: 12px 24px;
  min-height: 46px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.16s ease;
}

.button-primary:hover {
  background: var(--accent);
}

.error-hints {
  padding: 30px 0 0;
}

.error-hints-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.error-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.error-item {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

.error-item-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.error-item-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   14. 响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-head {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }

  .hero-body {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
  }

  .editorial-note {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
  }

  .layout-shell,
  .layout-right {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .sidebar-left {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }

  .field-notes,
  .info-columns,
  .error-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-block:last-child,
  .error-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  /* 页头与移动导航 */
  .masthead {
    padding: 16px var(--pad) 12px;
    align-items: center;
  }

  .brand {
    font-size: 21px;
  }

  .brand-tagline {
    flex: 1 1 100%;
    font-size: 12px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  .site-nav {
    padding: 0 var(--pad);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--rule);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--rule);
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    border-bottom: 0;
    border-left: 3px solid transparent;
    padding-left: 10px;
  }

  .nav-link.is-current {
    border-bottom-color: transparent;
    border-left-color: var(--accent);
    color: var(--ink);
  }

  /* 容器 */
  .home-main,
  .inner-main,
  .error-main {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 21px;
  }

  /* 首页首屏 */
  .hero {
    padding-top: 22px;
  }

  .hero-head,
  .hero-body,
  .editorial-note,
  .feature-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-intro h1 {
    font-size: 30px;
  }

  .path-steps {
    border-top: 1px solid var(--rule);
  }

  .path-step {
    border-left: 0;
  }

  .editorial-head {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
  }

  /* 表格转卡片式：保留表格语义，改为块级堆叠 */
  .table-scroll {
    overflow-x: visible;
  }

  .channel-table,
  .catalog-table,
  .data-table,
  .compare-table {
    display: block;
    width: 100%;
  }

  .channel-table thead,
  .catalog-table thead,
  .data-table thead,
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .channel-table tbody,
  .catalog-table tbody,
  .data-table tbody,
  .compare-table tbody {
    display: block;
    width: 100%;
  }

  .channel-table tbody tr,
  .catalog-table tbody tr,
  .data-table tbody tr,
  .compare-table tbody tr {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }

  .channel-table tbody td,
  .catalog-table tbody td,
  .data-table tbody td,
  .compare-table tbody td,
  .data-table tbody th,
  .compare-table tbody th {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-bottom: 0;
    white-space: normal;
  }

  .channel-table tbody td::before,
  .catalog-table tbody td::before,
  .data-table tbody td::before,
  .compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }

  .compare-table tbody th {
    font-size: 15px;
    padding-bottom: 6px;
  }

  /* 内页布局：全部单栏，主内容与标题在前，侧栏在后 */
  .page-layout,
  .layout-shell,
  .layout-right,
  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sidebar-left .page-sidebar,
  .sidebar-left .page-aside {
    order: 2;
  }

  .sidebar-left .page-content {
    order: 1;
  }

  .page-aside,
  .page-sidebar {
    border-top: 1px solid var(--rule);
    padding-top: 16px;
  }

  /* 侧栏内的期号索引横向标签 */
  .issue-index-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 0;
  }

  .issue-index-list li {
    border-bottom: 0;
  }

  .issue-index-link {
    padding: 8px 12px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    min-height: 40px;
  }

  /* 首页多栏 */
  .field-notes,
  .info-columns,
  .feature-grid,
  .dims-list,
  .error-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-block:last-child,
  .error-item:last-child {
    grid-column: auto;
  }

  .field-note {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 10px;
  }

  .compare-entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-entry-text {
    flex: 1 1 auto;
  }

  .entry-button {
    width: 100%;
    text-align: center;
  }

  .feature-lead {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive-fields {
    grid-template-columns: 1fr;
  }

  .update-log-item {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 页脚 */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
  }

  .footer-heading {
    margin-bottom: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  /* 触摸目标 */
  .footer-list a,
  .related-link,
  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .footer-list li {
    margin-bottom: 2px;
  }

  .filter-btn,
  .selector-btn {
    flex: 1 1 calc(50% - 5px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
