/* ============================================================
   十博体育 · 夜场数据台 —— 共享外壳样式 /assets/site.css
   负责：reset、变量、中文排版、刊头导航、页脚、通用组件
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

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

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 夜场草皮 */
  --ink-900: #04100D;
  --ink-800: #071A15;
  --ink-700: #0C2B23;
  --ink-600: #163A31;
  --glass: #1E4A3F;

  /* 灯光与判罚 */
  --mint: #3AF2C4;
  --mint-soft: #9BF8DF;
  --flag-red: #FF4D5E;
  --flag-yellow: #FFD447;

  /* 文字 */
  --paper: #F4FAF6;
  --muted: #A9C4B8;

  /* 线 */
  --line: rgba(58, 242, 196, 0.16);
  --line-strong: rgba(58, 242, 196, 0.34);

  /* 形状 */
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  /* 栅格 */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 24px);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 3. 页面底色与中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(58, 242, 196, 0.028) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(58, 242, 196, 0.022) 0 1px, transparent 1px 96px),
    radial-gradient(120% 70% at 8% -12%, rgba(58, 242, 196, 0.16), transparent 58%),
    radial-gradient(90% 55% at 96% 4%, rgba(30, 74, 63, 0.72), transparent 62%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

#main-content {
  scroll-margin-top: 128px;
}

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  top: 0;
  left: var(--gutter);
  z-index: 200;
  transform: translateY(-130%);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--mint);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- 5. 页头外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7, 26, 21, 0.97), rgba(4, 16, 13, 0.94));
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line);
}

/* 顶部数据横幅 */
.ticker {
  background: var(--ink-900);
  border-bottom: 1px solid rgba(58, 242, 196, 0.1);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.ticker__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 9px var(--gutter);
  transition: padding 0.22s var(--ease-out);
}

.ticker__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.ticker__label {
  color: var(--mint-soft);
}

.ticker__time {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.ticker__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.ticker__link {
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ticker__link:hover {
  color: var(--mint);
  border-color: var(--line);
  background: rgba(58, 242, 196, 0.08);
}

/* 刊头行 */
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter) 6px;
  transition: padding 0.22s var(--ease-out);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-side--end {
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(58, 242, 196, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(58, 242, 196, 0.1);
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(58, 242, 196, 0.16);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

.status-pill--muted {
  border-color: var(--line);
  background: rgba(30, 74, 63, 0.5);
  color: var(--muted);
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(58, 242, 196, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(58, 242, 196, 0.03); }
}

/* 品牌刊头 */
.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding-inline: 8px;
  text-decoration: none;
}

.masthead__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--paper);
  transition: color 0.2s ease, font-size 0.24s var(--ease-out);
}

.masthead:hover .masthead__name {
  color: var(--mint-soft);
}

.masthead__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--mint);
}

/* 栏目导航 */
.site-nav {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) 12px;
  transition: padding 0.22s var(--ease-out);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav__link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, padding 0.2s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--paper);
  background: rgba(58, 242, 196, 0.08);
  border-color: var(--line);
}

.site-nav__link[aria-current="page"] {
  color: var(--ink-900);
  background: var(--mint);
  border-color: var(--mint);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]:hover {
  color: var(--ink-900);
  background: var(--mint-soft);
  border-color: var(--mint-soft);
}

/* 滚动紧凑态 */
.site-header[data-scrolled="true"] .ticker__inner {
  padding-block: 4px;
}

.site-header[data-scrolled="true"] .site-header__inner {
  padding-block: 8px 4px;
}

.site-header[data-scrolled="true"] .masthead__name {
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
}

.site-header[data-scrolled="true"] .site-nav {
  padding-bottom: 8px;
}

.site-header[data-scrolled="true"] .site-nav__link {
  padding: 6px 14px;
}

/* ---------- 6. 按钮与胶囊 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--mint), #24e0b2);
  color: #04120f;
  box-shadow: 0 14px 30px -16px rgba(58, 242, 196, 0.95);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -14px rgba(58, 242, 196, 0.95);
}

.btn--ghost {
  background: rgba(30, 74, 63, 0.45);
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  background: rgba(30, 74, 63, 0.72);
  border-color: var(--line-strong);
}

.ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(30, 74, 63, 0.35);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ghost-pill:hover {
  color: var(--mint-soft);
  border-color: var(--line-strong);
  background: rgba(30, 74, 63, 0.6);
}

/* ---------- 7. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(30, 74, 63, 0.5);
  color: var(--mint);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease-out), opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 8. 页头响应式 ---------- */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-side--start .status-pill,
  .header-side--end .ghost-pill {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-block: 10px;
  }

  .site-nav {
    display: none;
    padding-bottom: 16px;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav__link {
    display: block;
    padding: 13px 16px;
    border-color: var(--line);
    border-radius: var(--radius-md);
    background: rgba(30, 74, 63, 0.32);
  }

  .site-header[data-scrolled="true"] .site-nav__link {
    padding: 13px 16px;
  }
}

@media (max-width: 600px) {
  .masthead__name {
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .masthead__tag {
    font-size: 9px;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
  }

  .header-side--end .btn--primary {
    padding: 9px 13px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .ticker {
    font-size: 11px;
  }

  .ticker__group {
    gap: 8px;
  }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  margin-top: clamp(40px, 7vw, 88px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 8% 0%, rgba(30, 74, 63, 0.55), transparent 68%),
    var(--ink-900);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr));
  gap: 36px 28px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 36px);
}

.footer-brand__name {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-brand__name:hover {
  color: var(--mint-soft);
}

.footer-brand__text {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 242, 196, 0.12);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact__row {
  margin: 0;
}

.footer-contact__label {
  display: inline-block;
  min-width: 44px;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.footer-contact__note {
  margin-top: 6px;
  color: rgba(169, 196, 184, 0.75);
  font-size: 12px;
  line-height: 1.7;
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mint-soft);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-col__link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-col__link:hover {
  color: var(--paper);
  border-bottom-color: var(--line-strong);
}

.footer-legal {
  border-top: 1px solid rgba(58, 242, 196, 0.12);
  background: rgba(4, 16, 13, 0.72);
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter) 26px;
  color: rgba(169, 196, 184, 0.82);
  font-size: 12px;
  letter-spacing: 0.04em;
}

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

.footer-legal__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-legal__link:hover {
  color: var(--mint-soft);
  border-bottom-color: currentColor;
}

.footer-legal__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-legal__inner {
    justify-content: flex-start;
  }
}

/* ---------- 10. 通用容器与章节 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(36px, 6vw, 80px);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ---------- 11. 标题与正文 ---------- */
.h-display {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.h-section {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.h-data {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.prose {
  max-width: 66ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.prose p {
  margin-bottom: 1em;
}

.prose > *:last-child {
  margin-bottom: 0;
}

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

.prose h3 {
  margin: 1.4em 0 0.5em;
  font-size: 1.15rem;
  color: var(--paper);
}

.prose a {
  color: var(--mint-soft);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

/* ---------- 12. 网格与卡片 ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(30, 74, 63, 0.6), rgba(12, 43, 35, 0.88));
}

.card--glass {
  background: linear-gradient(158deg, rgba(30, 74, 63, 0.72), rgba(12, 43, 35, 0.58));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card--accent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--mint), rgba(58, 242, 196, 0) 72%);
}

.card__title {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 13. 数据指标与标签 ---------- */
.stat {
  display: grid;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(58, 242, 196, 0.08);
  color: var(--mint-soft);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.tag--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.tag--red {
  color: #FFD5DA;
  border-color: rgba(255, 77, 94, 0.45);
  background: rgba(255, 77, 94, 0.14);
}

.tag--yellow {
  color: #FFF0C2;
  border-color: rgba(255, 212, 71, 0.45);
  background: rgba(255, 212, 71, 0.14);
}

/* ---------- 14. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(30, 74, 63, 0.42);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chip:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.chip[aria-pressed="true"] {
  background: var(--mint);
  border-color: var(--mint);
  color: #04120f;
  font-weight: 700;
}

/* ---------- 15. 面包屑 ---------- */
.breadcrumbs {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--gutter) 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(169, 196, 184, 0.4);
}

.breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.breadcrumbs__link:hover {
  color: var(--mint);
}

/* ---------- 16. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(30, 74, 63, 0.9), rgba(12, 43, 35, 0.95));
}

.figure__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(4, 16, 13, 0.88), rgba(4, 16, 13, 0));
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.figure--21x9 { aspect-ratio: 21 / 9; }
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3  { aspect-ratio: 4 / 3; }
.figure--1x1  { aspect-ratio: 1 / 1; }

/* ---------- 17. 表格外壳 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

/* ---------- 18. 入场显现协议 ---------- */
[data-reveal][data-reveal-ready] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.46s var(--ease-out), transform 0.46s var(--ease-out);
}

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

/* ---------- 19. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .status-pill__dot {
    box-shadow: 0 0 0 4px rgba(58, 242, 196, 0.16);
  }

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