/* ==========================================================================
   中欧体育主站 · 共享样式表 /assets/site.css
   夜场转播台 × 战术板：深墨绿底 + 转播深蓝分区 + 荧光青信号 + 赛道橙点火
   ========================================================================== */

/* ---------- 0. 变量 ---------- */
:root {
  /* 色板 */
  --ink: #061A16;
  --blue: #0C2233;
  --board: #16362F;
  --paper: #F4EFE4;
  --paper-2: #E4DED1;
  --cyan: #6FF2D2;
  --orange: #FF6A2B;
  --mist: #9CB3AC;
  --line: #2A4A42;
  --alert: #E2483C;
  --on-paper: #0F1B17;
  --on-cyan: #06120F;

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "Barlow Condensed", "Oswald", "DIN Alternate", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-label: "Inter", "Helvetica Neue", Arial, "PingFang SC", sans-serif;

  /* 度量 */
  --maxw: 1320px;
  --gut: clamp(18px, 4vw, 44px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, dt, figcaption {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--cyan);
  color: var(--on-cyan);
}

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

/* ---------- 2. 基础排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--paper);
}

h1 { font-size: clamp(28px, 6vw, 56px); }
h2 { font-size: clamp(23px, 3.4vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }

.section-kicker {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-num {
  display: inline-block;
  font-family: var(--font-num);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(111, 242, 210, 0.34);
  margin-right: 0.5em;
  vertical-align: baseline;
}

.num {
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 3. 容器与网格 ---------- */
.container {
  width: min(calc(100% - var(--gut) * 2), var(--maxw));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - var(--gut) * 2), 880px);
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

.grid--split { grid-template-columns: 7fr 5fr; }
.grid--wide { grid-template-columns: 8fr 4fr; }
.grid--halves { grid-template-columns: 1fr 1fr; }

@media (max-width: 960px) {
  .grid--split,
  .grid--wide,
  .grid--halves { grid-template-columns: 1fr; }
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--on-cyan);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-240%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  padding: 16px 0 0;
  border-bottom: 1px solid var(--line);
}

.header-frame {
  width: min(calc(100% - var(--gut) * 2), var(--maxw));
  margin-inline: auto;
  position: relative;
}

/* 品牌 */
.brand {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #0A120F;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
  transition: background 0.18s var(--ease);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark { background: var(--cyan); }

.brand__text {
  display: block;
  min-width: 0;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--paper);
}

.brand__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--board);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 快捷路径 */
.quick-paths {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.quick-path {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.quick-path__num {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--line);
  transition: color 0.18s var(--ease);
}

.quick-path:hover,
.quick-path:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--line);
}

.quick-path:hover .quick-path__num,
.quick-path:focus-visible .quick-path__num { color: var(--cyan); }

/* 主导航 */
.site-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--paper-2);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cyan);
  background: rgba(111, 242, 210, 0.1);
  border-color: rgba(111, 242, 210, 0.28);
}

.nav-link[aria-current="page"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--on-cyan);
}

.nav-link[aria-current="page"]:hover {
  background: var(--cyan);
  color: var(--on-cyan);
}

/* 页脚细信号线 */
.header-rule {
  display: flex;
  height: 2px;
  margin-top: 14px;
  background: var(--line);
}

.header-rule span {
  display: block;
  width: 18%;
  min-width: 90px;
  background: var(--cyan);
}

/* 桌面端：左岸纵向锚定 + 右侧栏目走廊 */
@media (min-width: 861px) {
  .header-frame {
    display: grid;
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
    grid-template-areas:
      "brand nav"
      "quick nav";
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: 12px;
    align-items: start;
  }

  .brand { grid-area: brand; }
  .header-tools { display: contents; }
  .quick-paths { grid-area: quick; }
  .site-nav {
    grid-area: nav;
    justify-self: end;
    align-self: center;
  }
  .nav-list { justify-content: flex-end; }
}

/* 移动/平板：顶部品牌条 + 底部横向滚动标签栏 */
@media (max-width: 860px) {
  .site-header { padding: 12px 0 0; }

  .header-frame {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand__name { font-size: 17px; }
  .brand__mark { width: 38px; height: 38px; font-size: 19px; }

  .nav-toggle { display: inline-flex; flex: 0 0 auto; }

  .header-tools {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--blue);
    border-top: 1px solid var(--line);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    transform: translateY(112%);
    visibility: hidden;
    transition: transform 0.26s var(--ease), visibility 0.26s var(--ease);
  }

  .header-tools[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .quick-paths,
  .site-nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
  }

  .quick-paths { flex-direction: row; gap: 8px; }

  .nav-list { flex-wrap: nowrap; gap: 8px; }

  .quick-path {
    padding: 9px 12px;
    font-size: 12.5px;
    color: var(--paper);
    background: rgba(255, 106, 43, 0.12);
    border: 1px solid rgba(255, 106, 43, 0.45);
    border-bottom-color: rgba(255, 106, 43, 0.45);
  }

  .quick-path__num { color: rgba(255, 106, 43, 0.9); }

  .nav-link {
    padding: 9px 14px;
    font-size: 12.5px;
    background: var(--board);
    border-color: var(--line);
  }

  .header-rule { margin-top: 10px; }
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--blue);
  color: var(--paper-2);
  border-top: 1px solid var(--line);
}

.footer-slash {
  position: relative;
  height: 12px;
  background: var(--ink);
}

.footer-slash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
}

.footer-frame {
  width: min(calc(100% - var(--gut) * 2), var(--maxw));
  margin-inline: auto;
  padding: clamp(38px, 6vw, 68px) 0 clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--paper);
}

.footer-tagline {
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.footer-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  background: var(--orange);
  color: #0B1411;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.footer-cta:hover,
.footer-cta:focus-visible {
  background: var(--cyan);
  color: var(--on-cyan);
}

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

.footer-col__title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper-2);
  text-decoration: none;
  opacity: 0.84;
  transition: color 0.18s var(--ease), opacity 0.18s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--cyan);
  opacity: 1;
}

.footer-meta {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 3vw, 36px);
}

.footer-meta-list {
  display: grid;
  gap: 14px;
}

.footer-meta-item dt {
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.footer-meta-item dd {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-legal {
  border-top: 1px solid rgba(228, 222, 209, 0.22);
}

.footer-legal__inner {
  width: min(calc(100% - var(--gut) * 2), var(--maxw));
  margin-inline: auto;
  padding: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.footer-legal__text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal__links a {
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-legal__links a:hover,
.footer-legal__links a:focus-visible { color: var(--cyan); }

@media (max-width: 960px) {
  .footer-frame { grid-template-columns: 1fr; }
  .footer-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
  .footer-meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-meta-list { grid-template-columns: 1fr; }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #0B1411;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--cyan);
  color: var(--on-cyan);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(111, 242, 210, 0.08);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  padding: 18px 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible { color: var(--cyan); }

.breadcrumbs [aria-current="page"] { color: var(--paper-2); }

/* ---------- 9. 正文排版块 ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper-2);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 1.9em;
  color: var(--paper);
}

.prose h3 {
  margin-top: 1.6em;
  color: var(--paper);
}

.prose strong { color: var(--paper); font-weight: 600; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.45em; }

.prose blockquote {
  border-left: 2px solid var(--cyan);
  padding-left: 16px;
  color: var(--mist);
}

/* ---------- 10. 斜切比分条 ---------- */
.score-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 30px 10px 22px;
  background: var(--board);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.score-bar__round {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  flex: 0 0 auto;
}

.score-bar__match {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-bar__value {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

/* ---------- 11. 纸张叠层卡与贴纸 ---------- */
.paper-card {
  position: relative;
  z-index: 0;
  background: var(--paper);
  color: var(--on-paper);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.6vw, 28px);
}

.paper-card::before {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  z-index: -1;
}

.paper-card h3,
.paper-card h2 { color: var(--on-paper); }

.paper-card__tag {
  position: absolute;
  top: -10px;
  right: 12px;
  z-index: 2;
}

.sticker {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper-2);
  color: var(--on-paper);
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
  transform: rotate(-2deg);
}

.sticker--cyan { background: var(--cyan); color: var(--on-cyan); }
.sticker--orange { background: var(--orange); color: #0B1411; }

/* ---------- 12. 观察板式四栏 ---------- */
.research-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.research-board > * {
  background: var(--board);
  padding: 18px;
}

.research-board h3 {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 10px;
}

@media (max-width: 960px) {
  .research-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .research-board { grid-template-columns: 1fr; }
}

/* ---------- 13. 分段切换（可访问标签页） ---------- */
.seg-tabs { display: block; }

.tablist {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.tab {
  flex: 0 0 auto;
  padding: 12px 18px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--mist);
  background: transparent;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.tab:hover {
  color: var(--cyan);
  background: rgba(111, 242, 210, 0.08);
}

.tab[aria-selected="true"] {
  background: var(--cyan);
  color: var(--on-cyan);
  border-bottom-color: var(--orange);
}

[data-tab-panel] {
  padding-top: clamp(18px, 2.6vw, 28px);
  outline: none;
}

[data-tab-panel][hidden] { display: none; }

/* ---------- 14. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--board);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

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

.media > img,
.media > picture,
.media > picture > img,
.media > svg,
.media > .media__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(111, 242, 210, 0.13) 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(111, 242, 210, 0.13) 46px 47px),
    var(--board);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.media__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 15. 标签组 ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.tag--cyan { border-color: rgba(111, 242, 210, 0.55); color: var(--cyan); }
.tag--orange { border-color: rgba(255, 106, 43, 0.55); color: var(--orange); }

/* ---------- 16. 进入视口显现 ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 无障碍与动效降级 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@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;
  }

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

  .skip-link { transition: none; }
  .header-tools { transition: none; }
}
