/* ==========================================================================
   Locus.|汇 · V45 「清新现场」设计系统
   方向：真正的 UI/UE 重构 —— 去装饰、大留白、精致排版、呼吸感。
   基于真实 HTML 结构，只改视觉表现，不改 DOM。
   ========================================================================== */

:root {
  color-scheme: light;
  /* 纯白画布 —— 清新的基础 */
  --canvas: #ffffff;
  --surface: #fafafa;
  --surface-soft: #f5f5f5;
  --surface-hover: #f0f0f0;
  --ink: #1a1a1a;
  --ink-2: rgba(26, 26, 26, 0.7);
  --ink-3: rgba(26, 26, 26, 0.4);
  --line: rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.16);
  --line-axis: rgba(26, 26, 26, 0.24);
  --dot: rgba(26, 26, 26, 0.02);
  /* 单一强调色：青绿 —— 清新、现代、有活力 */
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.08);
  --accent-fill: #0d9488;
  --accent-fill-hover: #0f766e;
  /* 语义色（弱化，只用于状态） */
  --time: #0d9488;
  --time-soft: rgba(13, 148, 136, 0.08);
  --place: #0d9488;
  --place-soft: rgba(13, 148, 136, 0.08);
  --action: #0d9488;
  --action-soft: rgba(13, 148, 136, 0.08);
  /* 状态色 */
  --positive: #059669;
  --positive-soft: rgba(5, 150, 105, 0.08);
  --attention: #d97706;
  --attention-soft: rgba(217, 119, 6, 0.08);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --danger-fill: #dc2626;
  --danger-fill-hover: #b91c1c;
  --unknown-soft: rgba(26, 26, 26, 0.04);
  --focus: #0d9488;
  --inverse-bg: #1a1a1a;
  --inverse-fg: #ffffff;
  /* 校色（只用于甘特图） */
  --school-thu: #7c3aed;
  --school-pku: #dc2626;
  /* 字体：标题衬线（优雅），正文无衬线（现代） */
  --font-ui: "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
  --font-latin: "Instrument Local", var(--font-ui);
  --font-head: "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "Instrument Local", ui-monospace, monospace;
  --font-display: "Noto Serif SC", Georgia, serif;
  --font: var(--font-ui);
  /* 布局：更宽的呼吸空间 */
  --shell: 1200px;
  --gutter: clamp(24px, 5vw, 64px);
  --header: 64px;
  /* 统一垂直节奏 —— 4px 基础网格 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  /* 区域间距 —— 统一节奏 */
  --section-gap: var(--space-6);
  --block-gap: var(--space-4);
  --element-gap: var(--space-3);
  /* 微圆角 —— 现代感 */
  --radius-control: 8px;
  --radius-panel: 12px;
  --radius-sheet: 16px;
  /* 微阴影 —— 层次感 */
  --shadow-raised: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-sticky: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
  /* 动效 */
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-panel: 350ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #0a0a0a;
    --surface: #141414;
    --surface-soft: #1a1a1a;
    --surface-hover: #222222;
    --ink: #f5f5f5;
    --ink-2: rgba(245, 245, 245, 0.7);
    --ink-3: rgba(245, 245, 245, 0.4);
    --line: rgba(245, 245, 245, 0.08);
    --line-strong: rgba(245, 245, 245, 0.16);
    --line-axis: rgba(245, 245, 245, 0.24);
    --dot: rgba(245, 245, 245, 0.02);
    --accent: #2dd4bf;
    --accent-dark: #14b8a6;
    --accent-soft: rgba(45, 212, 191, 0.12);
    --accent-fill: #2dd4bf;
    --accent-fill-hover: #14b8a6;
    --time: #2dd4bf;
    --time-soft: rgba(45, 212, 191, 0.12);
    --place: #2dd4bf;
    --place-soft: rgba(45, 212, 191, 0.12);
    --action: #2dd4bf;
    --action-soft: rgba(45, 212, 191, 0.12);
    --positive: #34d399;
    --positive-soft: rgba(52, 211, 153, 0.12);
    --attention: #fbbf24;
    --attention-soft: rgba(251, 191, 36, 0.12);
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, 0.12);
    --danger-fill: #f87171;
    --danger-fill-hover: #ef4444;
    --unknown-soft: rgba(245, 245, 245, 0.04);
    --focus: #2dd4bf;
    --inverse-bg: #f5f5f5;
    --inverse-fg: #0a0a0a;
    --school-thu: #a78bfa;
    --school-pku: #f87171;
    --shadow-raised: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-sticky: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   基础重置
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  min-height: 100vh;
}

/* 背景纹理 —— 微妙的点阵，增加质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   排版系统 —— 精致的层级
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 3vw, 22px); letter-spacing: -0.01em; }
h4 { font-size: 16px; }

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--accent-dark);
}

/* ==========================================================================
   布局容器
   ========================================================================== */

.shell-width {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.locus-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
  padding-bottom: 80px;
}

/* ==========================================================================
   头部导航 —— 极简、呼吸感
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .site-header {
  background: rgba(10, 10, 10, 0.8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.locus-brand {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.locus-brand i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.locus-brand b {
  color: var(--accent);
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-matrix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.header-matrix:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.header-plan {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--accent-fill);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}

.header-plan:hover {
  background: var(--accent-fill-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   首页 Hero —— 大标题、大留白、故事感
   ========================================================================== */

.home-intro {
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
}

.home-intro__mast {
  margin-bottom: var(--space-5);
}

.home-intro__mast .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}

.semantic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.semantic-dot--place {
  background: var(--place);
}

.home-intro h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mast-kicker {
  font-size: clamp(18px, 4vw, 32px);
  font-weight: 400;
  color: var(--ink-2);
}

.mast-digit {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}

.mast-week {
  font-size: clamp(18px, 4vw, 32px);
  font-weight: 400;
  color: var(--ink-2);
}

.home-intro__statusline {
  max-width: 600px;
  margin: 0 auto;
}

.home-intro__status {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--ink-2);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.home-intro__meta {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

.meta-full {
  display: block;
}

.meta-short {
  display: none;
}

/* ==========================================================================
   编目注 —— 精致、有层次
   ========================================================================== */

.data-provenance {
  margin: var(--section-gap) auto;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  font-size: 13px;
  line-height: 1.7;
}

.data-provenance summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.data-provenance summary::-webkit-details-marker {
  display: none;
}

.data-provenance__lede {
  flex: 1;
  color: var(--ink-2);
}

.data-provenance__lede em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.data-provenance__toggle {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-provenance[open] .data-provenance__toggle {
  display: none;
}

.data-provenance p {
  margin: 16px 0 0;
  color: var(--ink-2);
}

.data-provenance p em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.data-provenance__note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

/* ==========================================================================
   实时时钟 —— 极简、有呼吸感
   ========================================================================== */

.live-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: var(--section-gap) 0;
  font-size: 14px;
  color: var(--ink-2);
}

.live-ticker__clock {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  font-size: 16px;
}

.live-ticker__next {
  color: var(--ink-3);
}

.live-ticker__next b {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   甘特图 —— 极简时间线（基于真实 HTML 结构）
   ========================================================================== */

.day-gantt {
  margin: var(--section-gap) 0;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.day-gantt__track {
  position: relative;
  height: 48px;
  background: var(--surface-soft);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.gantt-bar {
  position: absolute;
  top: 8px;
  height: 32px;
  border-radius: 6px;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}

.gantt-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.gantt-bar--thu {
  background: var(--school-thu);
}

.gantt-bar--pku {
  background: var(--school-pku);
}

.gantt-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  z-index: 10;
}

.gantt-now::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.day-gantt__ticks {
  display: flex;
  justify-content: space-between;
  position: relative;
  height: 20px;
}

.gantt-tick {
  position: absolute;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  transform: translateX(-50%);
  white-space: nowrap;
}

.gantt-tick:first-child {
  transform: translateX(0);
}

.gantt-tick:last-child {
  transform: translateX(-100%);
}

/* ==========================================================================
   编辑精选卡 —— 精致、有层次（基于真实 HTML 结构）
   ========================================================================== */

.editorial-pulse {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-6);
  margin: var(--section-gap) auto;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  align-items: start;
}

.editorial-pulse__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.specimen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  position: relative;
  overflow: hidden;
}

.specimen i {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
}

.specimen b {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  z-index: 1;
}

.specimen--performance b {
  color: var(--school-pku);
}

.specimen--architecture b {
  color: var(--school-thu);
}

.specimen--humanities b {
  color: var(--accent);
}

.specimen--science b {
  color: var(--positive);
}

.editorial-pulse__copy {
  flex: 1;
  min-width: 0;
}

.editorial-pulse__copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.editorial-pulse__copy .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.editorial-pulse__copy h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.editorial-pulse__facts {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.editorial-pulse__copy > p:last-of-type {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.editorial-pulse__actions {
  display: flex;
  gap: 12px;
}

.editorial-pulse__actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--accent-fill);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.editorial-pulse__actions a:hover {
  background: var(--accent-fill-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   范围切换 —— 精致、有层次
   ========================================================================== */

.scope-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--section-gap) auto;
  padding: var(--space-3) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.scope-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.unit-switch {
  display: flex;
  background: var(--surface-soft);
  border-radius: var(--radius-control);
  padding: 4px;
  margin-right: 16px;
}

.unit-switch a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--dur-fast) var(--ease);
}

.unit-switch a:hover {
  color: var(--ink);
}

.unit-switch a[aria-current="page"] {
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow-sticky);
}

.scope-tabs > a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius-control);
  transition: all var(--dur-fast) var(--ease);
}

.scope-tabs > a:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.scope-tabs > a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.scope-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.filter-control {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.filter-control:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

/* ==========================================================================
   首页网格 —— 两栏布局
   ========================================================================== */

.home-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-6);
  margin: var(--section-gap) auto;
}

/* ==========================================================================
   章节标题 —— 精致、有层次
   ========================================================================== */

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.section-heading > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-heading .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-heading > span {
  font-size: 14px;
  color: var(--ink-3);
}

/* ==========================================================================
   事件列表 —— 精致、有层次（基于真实 coordinate-row 结构）
   ========================================================================== */

.coordinate-field {
  position: relative;
  padding-left: 80px;
}

.now-marker {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-3);
}

.now-marker strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
}

.now-marker span {
  width: 1px;
  height: 40px;
  background: var(--line-axis);
}

.now-marker em {
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coordinate-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  margin-bottom: var(--space-3);
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
}

.coordinate-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}

.coordinate-row__main {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.coordinate-row--featured {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.coordinate-row--live {
  border-color: var(--positive);
}

.coordinate-row--expired {
  opacity: 0.6;
}

/* 封面 */
.row-cover {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-cover .specimen {
  width: 64px;
  height: 64px;
}

.row-cover .specimen b {
  font-size: 20px;
}

/* 时间列 */
.coordinate-time {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
}

.coordinate-time strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 4px;
}

.coordinate-time span {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coordinate-time--pending strong {
  color: var(--ink-3);
}

/* 轴线 */
.coordinate-axis {
  flex-shrink: 0;
  width: 1px;
  height: 48px;
  background: var(--line-axis);
  position: relative;
}

.coordinate-axis span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* 内容列 */
.coordinate-copy {
  flex: 1;
  min-width: 0;
}

.row-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.truth-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.truth-label--attention {
  background: var(--attention-soft);
  color: var(--attention);
}

.truth-label--positive {
  background: var(--positive-soft);
  color: var(--positive);
}

.truth-label--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.row-featured {
  color: var(--accent);
  font-weight: 600;
}

.src-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.coordinate-copy h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
}

.place-vector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.place-vector__line {
  width: 16px;
  height: 1px;
  background: var(--line-axis);
}

.place-vector strong {
  font-weight: 600;
  color: var(--ink);
}

.place-vector small {
  color: var(--ink-3);
  font-size: 12px;
}

.row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.access-line {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.source-line {
  font-size: 12px;
  color: var(--ink-3);
}

.access-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  padding: var(--space-1) var(--space-2);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.access-badge--gated {
  background: var(--attention-soft);
  color: var(--attention);
}

.access-badge--open {
  background: var(--positive-soft);
  color: var(--positive);
}

.row-enter {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  transition: all var(--dur-fast) var(--ease);
}

.coordinate-row:hover .row-enter {
  color: var(--accent);
  transform: translateX(4px);
}

.row-notes-link {
  position: absolute;
  bottom: var(--space-5);
  right: 60px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  z-index: 2;
}

.row-notes-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   侧边栏 —— 精致、有层次
   ========================================================================== */

.home-context {
  position: relative;
}

.home-context__sticky {
  position: sticky;
  top: calc(var(--header) + var(--space-6));
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.home-context__sticky .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.home-context__sticky .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.context-clock {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.home-context__sticky h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.home-context__sticky > p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.context-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.context-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.context-stats > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.context-stats dt {
  font-size: 13px;
  color: var(--ink-2);
}

.context-stats dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ==========================================================================
   已结束列表 —— 精致、有层次
   ========================================================================== */

.ended-field {
  margin: var(--section-gap) auto;
}

.ended-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ended-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  transition: all var(--dur-base) var(--ease);
}

.ended-row:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.ended-row__time {
  flex-shrink: 0;
  width: 100px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}

.ended-row__copy {
  flex: 1;
  min-width: 0;
}

.ended-row__copy h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.ended-row__copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.ended-row__copy h3 a:hover {
  color: var(--accent);
}

.ended-row__copy p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}

.ended-row__note {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}

.ended-row__note:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ==========================================================================
   开放时段列表 —— 精致、有层次
   ========================================================================== */

.flex-field {
  margin: var(--section-gap) auto;
}

.flex-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ==========================================================================
   移动端导航 —— 只在移动端显示
   ========================================================================== */

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-top: 1px solid var(--line);
    padding: 8px 0;
    z-index: 100;
  }

  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 11px;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--accent);
  }

  .mobile-nav__icon {
    width: 24px;
    height: 24px;
  }

  .mobile-nav__label {
    font-size: 11px;
  }
}

/* ==========================================================================
   响应式 —— 移动端适配
   ========================================================================== */

@media (max-width: 1024px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-context__sticky {
    position: static;
  }

  .editorial-pulse {
    grid-template-columns: 1fr;
  }

  .editorial-pulse__art {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .desktop-nav {
    display: none;
  }

  .home-intro h1 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .coordinate-field {
    padding-left: 0;
  }

  .now-marker {
    position: static;
    flex-direction: row;
    margin-bottom: 16px;
  }

  .now-marker span {
    width: 40px;
    height: 1px;
  }

  .coordinate-row {
    flex-wrap: wrap;
  }

  .row-cover {
    width: 60px;
    height: 60px;
  }

  .row-cover .specimen {
    width: 60px;
    height: 60px;
  }

  .row-cover .specimen b {
    font-size: 18px;
  }

  .coordinate-time {
    width: 60px;
  }

  .coordinate-time strong {
    font-size: 16px;
  }

  .access-badge {
    position: static;
    margin-top: 8px;
  }

  .row-enter {
    position: static;
    margin-top: 8px;
  }

  .row-notes-link {
    position: static;
    margin-top: 8px;
  }

  .scope-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .scope-tabs {
    flex-wrap: wrap;
  }

  .scope-tools {
    justify-content: space-between;
  }
}
