/* ==========================================================================
   K8·体育 — 共享样式表 /assets/site.css
   深空蓝作战室 · 左侧索引轨道 · 比分带 · 近单色骨架 + 单一荧光绿强调
   ========================================================================== */

:root {
  /* 色彩阶梯 */
  --ink-900: #050B18;
  --ink-850: #070E20;
  --ink-800: #0B1730;
  --ink-700: #12244A;
  --line: #1E3A6E;

  --lime: #7CFF3D;
  --orange: #FF7A1A;
  --cyan: #3DD6FF;
  --danger: #FF4D5E;

  --white: #F2F7FF;
  --muted: #93A7C8;

  /* 尺寸与节奏 */
  --rail-w: 84px;
  --shell-max: 1280px;
  --radius: 6px;
  --dur: 0.42s;

  /* 字体 */
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(circle at 82% -8%, rgba(61, 214, 255, 0.1), transparent 55%),
    radial-gradient(circle at 6% 6%, rgba(124, 255, 61, 0.06), transparent 42%),
    linear-gradient(rgba(30, 58, 110, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 110, 0.24) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
}

ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

/* ---------- 中文排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 6vw, 76px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, 3.4vw, 38px);
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 17px;
  letter-spacing: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  font-weight: 700;
  color: var(--white);
}

small {
  font-size: 12px;
  color: var(--muted);
}

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

a:hover {
  color: var(--lime);
}

code,
kbd,
samp,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

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

/* ---------- 可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 220;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
  background: var(--lime);
  color: #04160A;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
}

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

/* ---------- 容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .shell {
    padding-inline: 28px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-inline-start: var(--rail-w);
  }
}

/* ---------- 面包屑 ---------- */
.crumbs {
  padding-block: 14px 6px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

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

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

.crumbs a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.crumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

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

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(124, 255, 61, 0.6), transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.btn:active::after {
  animation: btn-flare 180ms ease-out;
}

@keyframes btn-flare {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 0;
  }
}

.btn--signal {
  background: var(--lime);
  border-color: var(--lime);
  color: #04160A;
}

.btn--signal:hover {
  background: var(--lime);
  color: #04160A;
  box-shadow: 0 12px 28px -14px rgba(124, 255, 61, 0.9);
}

.btn--ghost {
  background: rgba(18, 36, 74, 0.55);
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 12px 28px -18px rgba(61, 214, 255, 0.8);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(18, 36, 74, 0.5);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.6;
}

.tag--live {
  color: var(--lime);
  border-color: rgba(124, 255, 61, 0.55);
  background: rgba(124, 255, 61, 0.1);
}

.tag--risk {
  color: var(--orange);
  border-color: rgba(255, 122, 26, 0.55);
  background: rgba(255, 122, 26, 0.1);
}

.tag--info {
  color: var(--cyan);
  border-color: rgba(61, 214, 255, 0.5);
  background: rgba(61, 214, 255, 0.08);
}

/* ---------- 面板 ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  padding: 20px;
}

.panel--solid {
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
}

.panel--glass {
  background: rgba(18, 36, 74, 0.42);
  border-color: rgba(61, 214, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- 元信息条 ---------- */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(30, 58, 110, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 图片容器基础规则 ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(18, 36, 74, 0.95), rgba(5, 11, 24, 0.98));
  aspect-ratio: 16 / 9;
}

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  z-index: 2;
}

.figure--wide {
  aspect-ratio: 21 / 9;
}

.figure--tall {
  aspect-ratio: 4 / 5;
}

.figure--square {
  aspect-ratio: 1 / 1;
}

.figure__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(5, 11, 24, 0.92));
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  z-index: 2;
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: static;
  z-index: 70;
}

/* 滚动进度条 */
.scroll-meter {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 220;
  background: rgba(30, 58, 110, 0.45);
  pointer-events: none;
}

.scroll-meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(124, 255, 61, 0.7);
}

/* 品牌条 */
.bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 11, 24, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 2px 0 -1px rgba(124, 255, 61, 0.35),
    0 24px 48px -40px rgba(0, 0, 0, 0.95);
}

.bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 8px 14px;
  min-height: 62px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-end: auto;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand:hover {
  color: var(--white);
}

.brand__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04160A;
  background: var(--lime);
  padding: 3px 7px;
  border-radius: 3px;
  box-shadow: 0 0 22px -6px rgba(124, 255, 61, 0.9);
}

.brand__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

.brand__line {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  line-height: 1.5;
  white-space: nowrap;
}

.bar__cta {
  flex: none;
  padding: 9px 14px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* 抽屉按钮 */
.nav-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(18, 36, 74, 0.5);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--lime);
  background: rgba(124, 255, 61, 0.08);
}

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

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--lime);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s 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);
}

.nav-toggle__text {
  display: none;
}

/* 比分带 */
.ticker {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  background: linear-gradient(90deg, rgba(11, 23, 48, 0.96), rgba(5, 11, 24, 0.96));
  border-top: 1px solid rgba(30, 58, 110, 0.75);
}

.ticker::-webkit-scrollbar {
  height: 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  padding-inline: 8px;
}

.score-chip {
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-inline-end: 1px solid rgba(30, 58, 110, 0.55);
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.score-chip:hover {
  background: rgba(18, 36, 74, 0.75);
  color: var(--white);
}

.score-chip__league {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(61, 214, 255, 0.4);
  border-radius: 2px;
  padding: 0 5px;
}

.score-chip__side {
  color: var(--muted);
  font-size: 12px;
}

.score-chip__side--away {
  color: var(--muted);
}

.score-chip__num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.score-chip__num i {
  font-style: normal;
  color: var(--line);
  margin-inline: 1px;
}

.score-chip__state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.score-chip__state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.9);
}

/* 遮罩 */
.rail__scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(3, 7, 16, 0.74);
  border: 0;
  padding: 0;
}

/* 侧边索引轨道 */
.rail {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(320px, 86vw);
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, #071026 0%, #050B18 48%, #071026 100%);
  border-inline-end: 1px solid var(--line);
  box-shadow: 28px 0 70px -40px rgba(0, 0, 0, 0.95);
  transform: translateX(-102%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform 0.34s cubic-bezier(0.22, 0.8, 0.3, 1),
    visibility 0.34s ease;
}

.rail[data-open] {
  transform: translateX(0);
  visibility: visible;
}

.rail__top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.rail__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.rail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail__link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.rail__link:hover {
  background: rgba(18, 36, 74, 0.75);
  color: var(--white);
}

.rail__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(147, 167, 200, 0.65);
}

.rail__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.rail__link[aria-current="page"] {
  background: rgba(124, 255, 61, 0.1);
  color: var(--lime);
}

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

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(124, 255, 61, 0.75);
}

.rail__foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rail__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(124, 255, 61, 0.9);
}

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

@media (max-width: 1023.98px) {
  body.is-nav-open {
    overflow: hidden;
  }
}

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

  .rail__scrim {
    display: none;
  }

  .rail {
    width: var(--rail-w);
    padding: 0;
    transform: none;
    visibility: visible;
    overflow: visible;
    box-shadow: none;
    transition: none;
  }

  .rail__top {
    padding: 16px 0 12px;
    margin-bottom: 8px;
  }

  .rail__tag {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .rail__list {
    gap: 2px;
    padding-inline: 4px;
  }

  .rail__link {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 9px 4px;
    border-radius: 0;
    text-align: center;
  }

  .rail__num {
    font-size: 9px;
  }

  .rail__label {
    font-size: 11px;
    line-height: 1.32;
    font-weight: 600;
  }

  .rail__link[aria-current="page"] {
    background: rgba(124, 255, 61, 0.09);
  }

  .rail__link[aria-current="page"]::before {
    top: 6px;
    bottom: 6px;
  }

  .rail__foot {
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    padding: 12px 0 18px;
  }
}

@media (max-width: 519.98px) {
  .brand__line {
    display: none;
  }

  .bar__cta {
    padding: 8px 10px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }

  .score-chip {
    padding: 7px 12px;
  }
}

@media (min-width: 720px) {
  .nav-toggle__text {
    display: inline;
  }

  .bar__inner {
    padding-inline: 20px;
    gap: 16px;
  }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 23, 48, 0.7) 0%, rgba(5, 11, 24, 1) 46%);
}

.footer__grid {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 46px 20px 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px 28px;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 28px;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.45fr 1fr 1.25fr 1fr;
    gap: 40px 32px;
    padding-top: 56px;
  }
}

.footer__col {
  min-width: 0;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer__mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #04160A;
  background: var(--lime);
  padding: 3px 7px;
  border-radius: 3px;
}

.footer__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.18s ease;
}

.footer__brand:hover .footer__name {
  color: var(--lime);
}

.footer__desc {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.footer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  line-height: 1.5;
}

.footer__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 16px;
  background: linear-gradient(90deg, rgba(30, 58, 110, 0.95), transparent);
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__list a {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer__list a:hover {
  color: var(--lime);
  transform: translateX(3px);
}

.footer__list + .footer__meta {
  margin-top: 18px;
}

.footer__defs {
  display: grid;
  gap: 12px;
}

.footer__defs div {
  display: grid;
  gap: 1px;
}

.footer__defs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(147, 167, 200, 0.75);
}

.footer__defs dd {
  margin: 0;
  color: var(--white);
  font-size: 13.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer__meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.footer__meta:last-child {
  margin-bottom: 0;
}

.footer__bar {
  max-width: var(--shell-max);
  margin: 34px auto 0;
  padding: 14px 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer__bar-end {
  margin-inline-start: auto;
  color: rgba(147, 167, 200, 0.6);
}

@media (min-width: 700px) {
  .footer__bar {
    padding-inline: 28px;
  }
}

@media (max-width: 599.98px) {
  .footer__bar-end {
    margin-inline-start: 0;
  }
}

/* ==========================================================================
   滚动显现（初始状态不隐藏内容，仅在 JS 就绪时接管）
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* ==========================================================================
   降级：尊重 reduced-motion
   ========================================================================== */
@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;
  }

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

  .btn:hover {
    transform: none;
  }

  .footer__list a:hover {
    transform: none;
  }
}
