/* ==========================================================================
   浩瀚体育中文站 · 共享样式 /assets/site.css
   夜场战术板：深墨蓝底 / 暗草绿区块 / 荧光黄绿实时 / 琥珀橙警示
   ========================================================================== */

/* 1. 令牌 ---------------------------------------------------------------- */
:root {
  --night: #0B1220;
  --grass: #10201A;
  --surface: #16202F;
  --cream: #EDE6D6;
  --carbon: #1A1512;
  --live: #C8FF3D;
  --amber: #FFA51F;
  --mint: #7FE3A8;
  --brick: #C9463A;
  --steel: #8C9AA8;
  --moss: #5E7A68;

  --text: #DCD6C6;
  --text-dim: #8C9AA8;
  --line: rgba(140, 154, 168, 0.24);
  --line-strong: rgba(140, 154, 168, 0.48);

  --font-display: 'Barlow Condensed', 'Roboto Condensed', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, monospace;

  --rail-w: 236px;
  --shell: 1440px;
  --pad: clamp(16px, 4vw, 44px);
  --gap: clamp(20px, 3vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Reset --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background-color: var(--night);
  background-image:
    repeating-linear-gradient(90deg, rgba(94, 122, 104, 0.07) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(94, 122, 104, 0.05) 0 1px, transparent 1px 120px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; }

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--live); }

:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 2px;
}

/* 3. 通用工具 ------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.85;
  color: var(--cream);
}

.prose { max-width: 68ch; }
.prose p { text-wrap: pretty; }
.prose p + p { margin-top: 1em; }

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--live);
  vertical-align: middle;
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 4. 跳转链接 ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--live);
  color: var(--carbon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 10px; color: var(--carbon); }

/* 5. 头部：状态带 + 报头 + 吸顶栏目 -------------------------------------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--night);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  background: var(--grass);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 9px var(--pad);
}

.header-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.masthead {
  position: relative;
  border-bottom: 1px solid var(--line);
  background-color: var(--night);
  background-image:
    radial-gradient(120% 150% at 50% -55%, rgba(200, 255, 61, 0.12), transparent 62%),
    repeating-linear-gradient(90deg, rgba(94, 122, 104, 0.11) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(94, 122, 104, 0.08) 0 1px, transparent 1px 96px);
}

.masthead-inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px) var(--pad) clamp(16px, 3vw, 24px);
  text-align: center;
}

.brand-plate {
  position: relative;
  display: inline-block;
  padding: 12px 26px 14px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.brand-plate::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 62px;
  height: 3px;
  background: var(--brick);
  transform: translateX(-50%);
}

.brand-link { display: block; color: inherit; }
.brand-link:hover { color: inherit; }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.brand-sub {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--live);
}

.brand-tagline {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { background: var(--surface); border-color: var(--moss); }

.nav-toggle-mark {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}
.nav-toggle-mark::before,
.nav-toggle-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: var(--live);
}
.nav-toggle-mark::after {
  transform: rotate(90deg);
  transition: transform 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-mark::after { transform: rotate(0deg); }

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.site-nav {
  background: var(--grass);
  border-bottom: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px;
  color: var(--text);
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-link:hover { background: var(--surface); color: var(--cream); }

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.nav-link[aria-current="page"] {
  color: var(--live);
  border-bottom-color: var(--live);
}
.nav-link[aria-current="page"] .nav-idx { color: var(--live); }

@media (min-width: 900px) {
  .site-nav { position: sticky; top: 0; z-index: 55; }
}

/* 6. 页脚 ---------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(40px, 7vw, 96px);
  background: var(--night);
  border-top: 3px solid var(--brick);
  color: var(--text);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.footer-top {
  padding: clamp(30px, 5vw, 60px) 0 clamp(24px, 4vw, 44px);
  background-image: linear-gradient(180deg, var(--grass), var(--night) 78%);
  border-bottom: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.footer-brand-sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer-summary {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--steel);
}

.footer-nav {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col-title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--live);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-link:hover { color: var(--live); border-bottom-color: var(--moss); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.75;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.contact-val {
  color: var(--text);
  word-break: break-word;
}

.contact-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--steel);
}

.footer-bottom {
  background: var(--carbon);
  border-top: 1px solid rgba(140, 154, 168, 0.18);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 16px;
}

.legal,
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.footer-top-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mint);
  border-bottom: 1px solid var(--moss);
  padding-bottom: 2px;
}
.footer-top-link:hover { color: var(--live); border-bottom-color: var(--live); }

/* 7. 按钮 ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { background: var(--grass); border-color: var(--moss); color: var(--cream); }

.btn-solid {
  background: var(--live);
  border-color: var(--live);
  color: var(--carbon);
  font-weight: 700;
}
.btn-solid:hover { background: #d8ff6b; border-color: #d8ff6b; color: var(--carbon); }

.btn-line { background: transparent; }

/* 8. 面包屑 -------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--moss); }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--live); }
.breadcrumb [aria-current="page"] { color: var(--cream); }

/* 9. 侧边导览 + 正文栅格 -------------------------------------------------- */
.layout {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
}
.content-col { min-width: 0; }

@media (min-width: 1000px) {
  .layout { grid-template-columns: var(--rail-w) minmax(0, 1fr); }
}

.rail {
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (min-width: 1000px) {
  .rail { position: sticky; top: 74px; }
}

.rail-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rail-block:first-child { border-top: 0; padding-top: 0; }

.rail-title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--text);
  border-left: 2px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.rail-link:hover { background: var(--grass); color: var(--cream); }
.rail-link[aria-current="page"] {
  border-left-color: var(--live);
  color: var(--live);
}

@media (max-width: 999px) {
  .rail {
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .rail-block {
    border-bottom: 0;
    padding: 10px 0 0;
  }
  .rail-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .rail-link {
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    border-left-width: 1px;
    padding: 7px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .rail-link[aria-current="page"] {
    border-color: var(--live);
    background: rgba(200, 255, 61, 0.07);
  }
}

@media (min-width: 640px) and (max-width: 1199px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.2fr); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 10. 胶囊筛选条 --------------------------------------------------------- */
.pill-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pill {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.pill:hover { background: var(--grass); border-color: var(--moss); }
.pill.is-active,
.pill[aria-pressed="true"] {
  background: var(--live);
  border-color: var(--live);
  color: var(--carbon);
}

/* 11. 区块 --------------------------------------------------------------- */
.section { padding-block: clamp(30px, 5vw, 68px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.section-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

/* 12. 打断横条 ----------------------------------------------------------- */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 15px var(--pad);
  background: var(--surface);
  border-block: 1px solid var(--line);
  border-left: 4px solid var(--moss);
}
.band .mono { color: var(--steel); }

.band--live {
  border-left-color: var(--live);
  background-image: linear-gradient(90deg, rgba(200, 255, 61, 0.12), rgba(22, 32, 47, 0) 62%);
}
.band--amber {
  border-left-color: var(--amber);
  background-image: linear-gradient(90deg, rgba(255, 165, 31, 0.14), rgba(22, 32, 47, 0) 62%);
}
.band--cream {
  background: var(--cream);
  border-left-color: var(--brick);
  color: var(--carbon);
}
.band--cream .mono,
.band--cream .section-note { color: #6d5c48; }

/* 13. 数据条目 ----------------------------------------------------------- */
.data-list { border-top: 1px solid var(--line); }

.data-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .data-item { grid-template-columns: 118px minmax(0, 1fr); }
}

.data-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  transition: color 0.16s var(--ease);
}

.data-text {
  color: var(--text);
  line-height: 1.85;
  text-wrap: pretty;
}

.data-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.data-item.is-current { border-bottom-color: var(--moss); }
.data-item.is-current .data-time { color: var(--live); }

/* 14. 面板 --------------------------------------------------------------- */
.panel {
  padding: clamp(16px, 2.5vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--cream);
}

/* 15. 对照表 ------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.compare-table caption {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.compare-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 14px;
  background: var(--grass);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: left;
  white-space: nowrap;
  color: var(--cream);
}

.compare-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: top;
}

.compare-table tbody tr:hover { background: rgba(94, 122, 104, 0.14); }

.compare-table .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* 16. 标签 --------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  white-space: nowrap;
}
.tag--live { border-color: var(--live); color: var(--live); }
.tag--amber { border-color: var(--amber); color: var(--amber); }
.tag--brick { border-color: var(--brick); color: var(--brick); }

/* 17. 档案树 ------------------------------------------------------------- */
.archive-tree { padding-left: 0; }

.tree-node {
  position: relative;
  padding: 11px 0 11px 24px;
  border-left: 1px solid var(--line);
}
.tree-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 1px;
  background: var(--moss);
}

.tree-title {
  display: block;
  font-size: 15px;
  color: var(--cream);
}

.tree-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* 18. 媒体容器（页面阶段放图） ------------------------------------------- */
.media-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.92);
}

.media-frame__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
  background-image:
    repeating-linear-gradient(90deg, rgba(94, 122, 104, 0.14) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(94, 122, 104, 0.14) 0 1px, transparent 1px 48px);
}

.media-frame__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--steel);
}

/* 19. 十字展开标记 ------------------------------------------------------- */
.cross-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}
.cross-mark::before,
.cross-mark::after {
  content: "";
  position: absolute;
  background: var(--mint);
}
.cross-mark::before { left: 0; right: 0; top: 50%; height: 1.5px; }
.cross-mark::after { top: 0; bottom: 0; left: 50%; width: 1.5px; }
[aria-expanded="true"] .cross-mark::after { transform: scaleX(1) scaleY(0); }

/* 20. 显现动效 ----------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* 21. 移动端头部折叠 ----------------------------------------------------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    border-bottom-width: 0;
    transition: max-height 0.3s var(--ease);
  }
  .site-nav[data-open] {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    border-bottom-width: 1px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 4px var(--pad) 12px;
  }

  .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    border-left: 2px solid transparent;
  }
  .nav-link[aria-current="page"] {
    padding-left: 12px;
    border-bottom-color: var(--line);
    border-left-color: var(--live);
  }
}

@media (max-width: 640px) {
  .header-note { display: none; }
  .header-actions .btn-line { display: none; }
  .brand-plate { padding: 10px 16px 12px; }
}

/* 22. 动效降级 ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .data-time { transition: none; }
}
