/* ============================================================
   多宝体育中国站 · 共享基础样式 /assets/site.css
   夜间体育数据控制台：墨绿基底 · 荧光青信号 · 暖橙行动点
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: #0B1F1A;
}

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B1F1A;
  --green-deep: #122B25;
  --green-mid: #17352D;
  --mist: #E9F3EE;
  --cyan: #5CF2D0;
  --orange: #FF8A3D;
  --orange-deep: #B85A1E;
  --sand: #C8B37E;
  --ice: #8FD3E8;
  --line: #2A4A42;
  --line-soft: rgba(42, 74, 66, 0.55);
  --mute: #9DB3AC;
  --on-accent: #1A0C04;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", "Roboto Mono",
    "Noto Sans Mono", Menlo, Consolas, monospace;

  --shell: 1320px;
  --pad: clamp(18px, 4.2vw, 56px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-lift: 0 18px 48px rgba(0, 0, 0, 0.38);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --nav-break: 1040px;
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-stretch: condensed;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { line-height: 1.8; }

strong { font-weight: 700; color: #FFFFFF; }

::selection { background: var(--cyan); color: #04150F; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.65;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  color: rgba(233, 243, 238, 0.82);
  max-width: 34em;
}

.prose p { max-width: 34em; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 300;
  display: inline-block;
  padding: 11px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--cyan);
  color: #04150F;
  font-size: 14px;
  font-weight: 800;
  transition: top 0.22s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 31, 26, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.28s var(--ease);
}

.site-header[data-condensed="true"] .site-header__inner {
  padding-block: 7px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--mist);
  transition: opacity 0.2s var(--ease);
}

.brand:hover { opacity: 0.86; }

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(145deg, var(--cyan) 0%, #2FAE95 55%, #17573F 100%);
  color: #04150F;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.06em;
  box-shadow: 0 0 0 1px rgba(92, 242, 208, 0.28), 0 10px 26px rgba(92, 242, 208, 0.14);
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.brand__mark-core {
  display: block;
  line-height: 1;
  transform: translateY(-0.5px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__tagline {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--cyan);
}

.brand--footer .brand__mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  font-size: 14px;
}

.brand--footer .brand__name { font-size: 17px; }

/* 右端栏目簇 */
.site-header__cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

/* 导航 */
.site-nav { display: block; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item { position: relative; }

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(233, 243, 238, 0.82);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: rgba(157, 179, 172, 0.75);
  transform: translateY(-1px);
  transition: color 0.2s var(--ease);
}

.site-nav__label { white-space: nowrap; }

.site-nav__link:hover {
  color: var(--cyan);
  background: rgba(92, 242, 208, 0.08);
}

.site-nav__link:hover .site-nav__index { color: var(--cyan); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(92, 242, 208, 0.1);
  box-shadow: inset 0 0 0 1px rgba(92, 242, 208, 0.34);
}

.site-nav__link[aria-current="page"] .site-nav__index { color: var(--cyan); }

.site-nav__item--cta { margin-left: 10px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  background: #FFA063;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 138, 61, 0.3);
}

.nav-cta:active { transform: translateY(0); }

.nav-cta__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--on-accent);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px 6px 16px 6px;
  border: 1px solid var(--line);
  background: var(--green-deep);
  color: var(--mist);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.18s linear,
    top 0.25s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

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

/* 快速入口条 */
.quickbar {
  background: rgba(18, 43, 37, 0.62);
  border-top: 1px solid var(--line-soft);
}

.quickbar__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.quickbar__label {
  color: var(--mute);
  letter-spacing: 0.2em;
  font-size: 10.5px;
  text-transform: uppercase;
}

.quickbar__link {
  color: var(--ice);
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(143, 211, 232, 0.4);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

/* ---------- 6. 移动端导航展开态 ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 75;
    padding: 8px var(--pad) 22px;
    background: #0C231D;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s linear;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .site-nav__link {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding: 14px 8px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(42, 74, 66, 0.5);
    font-size: 16px;
  }

  .site-nav__item:last-child .site-nav__link { border-bottom: 0; }

  .site-nav__item--cta { margin: 14px 0 0; }

  .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }
}

@media (max-width: 720px) {
  .quickbar { display: none; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 14.5px; }
  .brand__tagline { font-size: 9px; letter-spacing: 0.2em; }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0B1F1A 0%, #081814 62%, #061210 100%);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -32%;
  right: -12%;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  background: radial-gradient(circle, rgba(92, 242, 208, 0.12), rgba(92, 242, 208, 0) 62%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 242, 208, 0.55),
    rgba(255, 138, 61, 0.45), transparent);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--pad) clamp(28px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 0.85fr 1.15fr;
  gap: clamp(24px, 3.4vw, 56px);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand__line {
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mute);
}

.footer-brand__address {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: rgba(157, 179, 172, 0.8);
}

.footer-col { display: flex; flex-direction: column; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-col__title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--sand);
  opacity: 0.7;
}

.footer-nav__list { display: grid; gap: 11px; }

.footer-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 14.5px;
  color: rgba(233, 243, 238, 0.8);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav__link::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.footer-nav__link:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.footer-nav__link:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(92, 242, 208, 0.8);
}

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-block: 9px;
  border-bottom: 1px dashed rgba(42, 74, 66, 0.7);
}

.footer-contact__row:first-of-type { padding-top: 0; }
.footer-contact__row:last-child { border-bottom: 0; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(157, 179, 172, 0.85);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  word-break: break-word;
}

.footer-contact__value--mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ice);
}

.site-footer__meta {
  position: relative;
  z-index: 1;
  background: rgba(6, 18, 16, 0.55);
  border-top: 1px solid rgba(42, 74, 66, 0.7);
}

.site-footer__meta .site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 22px;
}

.footer-note {
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(157, 179, 172, 0.92);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__link {
  font-size: 13px;
  color: rgba(233, 243, 238, 0.8);
  transition: color 0.2s var(--ease);
}

.footer-legal__link:hover { color: var(--cyan); }

.site-footer__fixed {
  position: relative;
  z-index: 1;
  background: #050F0D;
  border-top: 1px solid rgba(42, 74, 66, 0.85);
}

.site-footer__fixed-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(157, 179, 172, 0.9);
}

.footer-icp { color: var(--sand); }
.footer-sep { color: var(--line); }
.footer-mail { color: rgba(143, 211, 232, 0.9); word-break: break-all; }

.footer-year {
  margin-left: auto;
  color: rgba(157, 179, 172, 0.75);
}

@media (max-width: 1040px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

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

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }

  .site-footer__meta .site-footer__inner { flex-direction: column; }

  .site-footer__fixed-inner { font-size: 11px; }

  .footer-year {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- 8. 版心 / 网格 / 段落节奏 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--narrow { max-width: 880px; }

.section {
  position: relative;
  padding-block: clamp(48px, 7.5vw, 104px);
}

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

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

@media (max-width: 900px) {
  .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: 1fr; }
}

/* ---------- 9. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: var(--on-accent);
  box-shadow: 0 10px 26px rgba(255, 138, 61, 0.22);
}

.btn--primary:hover {
  background: #FFA063;
  box-shadow: 0 16px 34px rgba(255, 138, 61, 0.3);
}

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

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(92, 242, 208, 0.06);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.breadcrumb__link {
  color: var(--mute);
  transition: color 0.2s var(--ease);
}

.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__sep {
  color: var(--line);
  user-select: none;
}

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-md) var(--r-sm) var(--r-md) var(--r-sm);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #17352D, #0B1F1A);
}

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

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(4, 14, 12, 0.92), rgba(4, 14, 12, 0));
}

.media--empty::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(157, 179, 172, 0.6);
  background-image: linear-gradient(rgba(42, 74, 66, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 66, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- 12. 卡片与标签 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: var(--r-lg) var(--r-sm) var(--r-lg) var(--r-sm);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(23, 53, 45, 0.95), rgba(11, 31, 26, 0.95));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(92, 242, 208, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sand);
}

.card__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 211, 232, 0.35);
  background: rgba(143, 211, 232, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(92, 242, 208, 0.35);
  background: rgba(92, 242, 208, 0.1);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.35);
  background: rgba(255, 138, 61, 0.1);
}

/* ---------- 13. 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

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

/* ---------- 14. 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .card:hover,
  .nav-cta:hover,
  .footer-nav__link:hover { transform: none; }
}
