/* ============================================================
   贝博看台 · /assets/site.css
   共享层：reset / 变量 / 排版 / 头部 / 侧轨导航 / 页脚 / 通用组件
   ============================================================ */

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

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

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

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

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

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

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

hr {
  border: 0;
  height: 1px;
  background: var(--turf-line);
}

/* ---------- 设计变量 ---------- */
:root {
  /* 色板 */
  --ink-base: #0B1F1A;
  --stand-deep: #12302A;
  --turf-line: #1E4A3E;
  --paper: #F2EDE2;
  --paper-muted: #B4AE9F;
  --signal: #4BFFC4;
  --signal-dim: #2A9C77;
  --amber: #FF8A3D;
  --score-white: #FFFFFF;
  --plate-tint: #E8E1D2;

  /* 字体 */
  --font-display: "Oswald", "Arial Narrow", "HelveticaNeue-Condensed",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo,
    Consolas, "Courier New", monospace;

  /* 尺度 */
  --rail-w: 0px;
  --rail-w-open: 232px;
  --topbar-h: 60px;
  --content-max: 1240px;
  --radius-s: 4px;
  --radius-m: 14px;
  --radius-l: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
  :root {
    --rail-w: 88px;
    --topbar-h: 68px;
  }
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--topbar-h);
  padding-left: var(--rail-w);
  background-color: var(--ink-base);
  background-image:
    radial-gradient(900px 620px at 92% -8%, rgba(75, 255, 196, .08), transparent 66%),
    radial-gradient(820px 600px at 2% 104%, rgba(255, 138, 61, .06), transparent 70%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .02em;
  color: var(--paper);
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

p {
  font-size: 16px;
}

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

small {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--paper-muted);
}

code, kbd, samp, time, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

::selection {
  background: var(--signal);
  color: var(--ink-base);
}

/* ---------- 焦点与跳转 ---------- */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content:focus,
#main-content:focus-visible {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink-base);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  transform: translateY(-220%);
  transition: transform .18s var(--ease);
}

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

/* ---------- 容器与通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.prose {
  max-width: 36em;
}

.prose p + p {
  margin-top: 1.2em;
}

.grid {
  display: grid;
  gap: var(--gap, 20px);
}

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

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

/* ---------- 头部：顶栏 ---------- */
.site-header {
  position: relative;
  z-index: 80;
}

.topbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--topbar-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(14px, 3vw, 28px);
  background: rgba(11, 31, 26, .94);
  border-bottom: 1px solid var(--turf-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: none;
}

.topbar__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 4px 13px 4px 13px;
  background: var(--signal);
  color: var(--ink-base);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.topbar__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.topbar__name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .12em;
  color: var(--paper);
  white-space: nowrap;
}

.topbar__sub {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .16em;
  color: var(--paper-muted);
  white-space: nowrap;
}

.topbar__status {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid var(--turf-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--paper-muted);
  white-space: nowrap;
}

.topbar__status .status-dot {
  margin-left: 0;
}

.topbar__cta {
  margin-left: auto;
  flex: none;
}

.topbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--signal);
  animation: beibo-pulse 2.4s ease-in-out infinite;
}

@keyframes beibo-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(75, 255, 196, .55);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgba(75, 255, 196, 0);
    opacity: .72;
  }
}

/* ---------- 头部：移动导航按钮 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--turf-line);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .12em;
  transition: border-color .2s var(--ease), color .2s var(--ease),
    background-color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--signal-dim);
  background: rgba(75, 255, 196, .08);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
  flex: none;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.nav-toggle__label {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* ---------- 头部：侧边轨道导航 ---------- */
.rail {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  background: var(--stand-deep);
  border-right: 1px solid var(--turf-line);
  overflow: hidden;
  transition: width .24s var(--ease);
}

.rail__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--turf-line);
}

.rail__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  animation: beibo-pulse 2.4s ease-in-out infinite;
}

.rail__head-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--paper-muted);
}

.rail__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.rail__item {
  display: block;
}

.rail__link {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  color: var(--paper-muted);
  white-space: nowrap;
  overflow: hidden;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.rail__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-align: center;
  color: rgba(180, 174, 159, .55);
  transition: color .2s var(--ease);
}

.rail__label {
  display: block;
  padding-right: 16px;
  font-size: 14px;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s var(--ease), transform .24s var(--ease);
}

.rail__link:hover {
  color: var(--paper);
  background: rgba(75, 255, 196, .08);
}

.rail__link:hover .rail__num {
  color: var(--signal-dim);
}

.rail__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(75, 255, 196, .1);
}

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 0 2px 2px 0;
  background: var(--signal);
}

.rail__link[aria-current="page"] .rail__num {
  color: var(--signal);
}

.rail__link[aria-current="page"] .rail__label {
  font-weight: 600;
}

.rail__foot {
  flex: none;
  padding: 16px 0 20px;
  border-top: 1px solid var(--turf-line);
  text-align: center;
}

.rail__foot-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: rgba(180, 174, 159, .5);
}

@media (min-width: 1024px) {
  .rail:hover,
  .rail:focus-within {
    width: var(--rail-w-open);
  }

  .rail:hover .rail__label,
  .rail:focus-within .rail__label {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 头部：移动端抽屉 ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 64;
  display: block;
  background: rgba(4, 12, 10, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.nav-scrim[hidden] {
  display: none;
}

@media (max-width: 1023px) {
  .rail {
    top: var(--topbar-h);
    left: auto;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    border-right: 0;
    border-left: 1px solid var(--turf-line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
    transform: translateX(101%);
    transition: transform .28s var(--ease);
  }

  .rail[data-open="true"] {
    transform: none;
  }

  .rail__link {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-left: 8px;
  }

  .rail__label {
    opacity: 1;
    transform: none;
  }

  .rail__head {
    display: none;
  }

  .rail__foot {
    padding: 14px 0 22px;
  }

  .rail__foot-text {
    writing-mode: horizontal-tb;
    display: block;
  }

  body.is-nav-open {
    overflow: hidden;
  }
}

.topbar__status {
  border-left: 1px solid var(--turf-line);
}

@media (min-width: 1200px) {
  .topbar__status {
    display: flex;
  }
}

@media (max-width: 719px) {
  .topbar__cta {
    display: none;
  }

  .topbar__sub {
    display: none;
  }

  .topbar__name {
    font-size: 17px;
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  background: var(--stand-deep);
  border-top: 1px solid var(--turf-line);
  color: var(--paper-muted);
  font-size: 14px;
}

.footer__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--turf-line);
  background-image: linear-gradient(100deg, rgba(75, 255, 196, .09), transparent 58%);
}

.footer__closing {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .02em;
  color: var(--paper);
}

.footer__cta {
  flex: none;
}

.footer__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 52px);
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
}

@media (min-width: 720px) {
  .footer__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }
}

@media (min-width: 1080px) {
  .footer__body {
    grid-template-columns: minmax(200px, .9fr) minmax(0, 2fr) minmax(240px, 1.1fr);
  }
}

.footer__brand {
  min-width: 0;
}

.footer__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px 15px 4px 15px;
  background: var(--signal);
  color: var(--ink-base);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.footer__name {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--paper);
  line-height: 1.2;
}

.footer__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--paper-muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  min-width: 0;
}

.footer__col {
  min-width: 0;
}

.footer__col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--paper-muted);
  text-transform: uppercase;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--paper);
  transition: color .2s var(--ease);
}

.footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .18s var(--ease);
}

.footer__list a:hover,
.footer__list a:focus-visible {
  color: var(--signal);
}

.footer__list a:hover::after,
.footer__list a:focus-visible::after {
  transform: scaleX(1);
}

.footer__contact {
  min-width: 0;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid var(--turf-line);
}

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(180, 174, 159, .7);
}

.footer__contact-value {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 20px clamp(16px, 4vw, 40px) 30px;
  border-top: 1px solid var(--turf-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--paper-muted);
}

.footer__copyright,
.footer__legal {
  margin: 0;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--paper-muted);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease);
}

.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-base);
}

.btn--amber:hover {
  background: #FFA96E;
  border-color: #FFA96E;
}

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

.btn--ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn:active {
  transform: translateY(1px);
}

/* ---------- 文字链接 ---------- */
.link {
  position: relative;
  color: var(--signal);
  display: inline-block;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .18s var(--ease);
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- 索引标签与标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--signal);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: .01em;
  color: var(--paper);
}

.section-title strong {
  font-weight: 700;
}

/* ---------- 说明牌 ---------- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 2px;
  background: var(--plate-tint);
  color: var(--ink-base);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.4;
}

.plate--ghost {
  background: transparent;
  border: 1px solid var(--turf-line);
  color: var(--paper-muted);
}

/* ---------- 胶囊筛选 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--turf-line);
  border-radius: 999px;
  color: var(--paper-muted);
  font-size: 13px;
  letter-spacing: .06em;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease);
}

.chip:hover {
  border-color: var(--signal-dim);
  color: var(--paper);
  background: rgba(75, 255, 196, .08);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink-base);
  font-weight: 600;
}

/* ---------- 模块与信息板 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--turf-line);
  border-radius: var(--radius-m);
  background: var(--stand-deep);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.panel:hover,
.panel:focus-within {
  border-color: var(--signal-dim);
  background-color: rgba(75, 255, 196, .07);
}

/* ---------- 数据条带 ---------- */
.band {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 48px);
  padding: 18px 0;
  border-top: 1px solid var(--turf-line);
  border-bottom: 1px solid var(--turf-line);
}

.band__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.band__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1;
  color: var(--score-white);
}

.band__label {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--paper-muted);
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--turf-line);
}

.timeline__dot {
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--signal);
  animation: beibo-pulse 2.4s ease-in-out infinite;
}

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--paper-muted);
}

.crumb li {
  display: inline-flex;
  align-items: center;
}

.crumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--turf-line);
}

.crumb a {
  color: var(--paper-muted);
  transition: color .2s var(--ease);
}

.crumb a:hover,
.crumb a:focus-visible {
  color: var(--signal);
}

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

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  background-color: var(--stand-deep);
  background-image: linear-gradient(150deg, rgba(75, 255, 196, .1), rgba(255, 138, 61, .07));
}

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

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 2px;
  background: var(--plate-tint);
  color: var(--ink-base);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .media--offset {
    transform: translateX(-6%);
  }
}

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

  .status-dot,
  .rail__pulse,
  .timeline__dot {
    animation: none;
    box-shadow: none;
    opacity: 1;
  }
}
