/* ==========================================================================
   完美体育主站 · 共享站点套件 / assets/site.css
   夜场数据台：深墨绿底 + 荧光青节点 + 裁判黄时间 + 橙红入口
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 140px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 560px at 82% -8%, rgba(53, 242, 192, 0.13), transparent 62%),
    radial-gradient(780px 460px at 2% 4%, rgba(255, 210, 63, 0.06), transparent 60%),
    radial-gradient(900px 700px at 50% 116%, rgba(255, 106, 43, 0.08), transparent 64%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; }
main { display: block; }
#main-content { outline: none; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #071A14;
  --ink-2: #0C2A20;
  --ink-3: #05130E;
  --line: #173D2E;
  --cyan: #35F2C0;
  --mint: #9BF7DE;
  --yellow: #FFD23F;
  --paper: #F4FBF7;
  --orange: #FF6A2B;
  --red: #E8412C;
  --dim: #7E9A8E;
  --on-accent: #04140E;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 48px);

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

  --t-fast: 160ms ease;
  --t-mid: 220ms ease;
  --shadow-lift: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. 中文排版与基础元素 ---------- */
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--paper);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.35; letter-spacing: 0; }
h4 { font-size: 16px; line-height: 1.4; letter-spacing: 0; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--mint); }

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

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

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

/* ---------- 4. 容器 / 网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.grid-12 > * { grid-column: span 12; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

@media (max-width: 820px) {
  .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    grid-column: span 12;
  }
}

/* ---------- 5. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn:hover { border-color: var(--cyan); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }

.btn--entry {
  --btn-fg: var(--on-accent);
  border-color: transparent;
  background: linear-gradient(100deg, var(--orange) 0%, var(--red) 100%);
  box-shadow: 0 12px 28px -18px rgba(255, 106, 43, 0.95);
}
.btn--entry:hover {
  background: linear-gradient(100deg, #FF8149 0%, #F2503A 100%);
  color: var(--on-accent);
  box-shadow: 0 14px 32px -16px rgba(255, 106, 43, 0.85);
}

.btn--ghost {
  --btn-fg: var(--mint);
  background: rgba(12, 42, 32, 0.65);
}
.btn--ghost:hover {
  --btn-fg: var(--paper);
  background: rgba(53, 242, 192, 0.12);
}

/* ---------- 6. 头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--t-fast);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); color: var(--on-accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 22, 17, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(53, 242, 192, 0.07) 0 1px, transparent 1px 92px);
  opacity: 0.55;
}

.header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: 66px;
  padding: 12px var(--gutter);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--paper); }

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 28%, rgba(53, 242, 192, 0.2), rgba(12, 42, 32, 0.92) 72%);
}
.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(53, 242, 192, 0.1);
}
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-line {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--dim);
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-right: 6px;
}
.header-meter i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: rgba(53, 242, 192, 0.32);
}
.header-meter i:nth-child(1) { height: 6px; }
.header-meter i:nth-child(2) { height: 11px; }
.header-meter i:nth-child(3) { height: 16px; }
.header-meter i:nth-child(4) { height: 9px; background: rgba(255, 210, 63, 0.75); }
.header-meter i:nth-child(5) { height: 18px; background: var(--cyan); }

/* 移动菜单键 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 42, 32, 0.8);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--paper);
  background: rgba(53, 242, 192, 0.12);
}
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-mid), opacity var(--t-fast);
}

/* 导航窄条 */
.header-nav {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(23, 61, 46, 0.9);
  background: linear-gradient(90deg, rgba(12, 42, 32, 0.72), rgba(7, 26, 20, 0.32));
}
.site-nav {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nav 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border-bottom: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  color: var(--mint);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.nav-list a::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
  transition: color var(--t-fast);
}
.nav-list a:hover {
  color: var(--paper);
  background: rgba(53, 242, 192, 0.08);
  border-bottom-color: rgba(53, 242, 192, 0.5);
}
.nav-list a:hover::before { color: var(--cyan); }

.nav-list a[aria-current="page"] {
  color: var(--paper);
  background: rgba(53, 242, 192, 0.14);
  border-bottom-color: var(--cyan);
}
.nav-list a[aria-current="page"]::before { color: var(--cyan); }

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(23, 61, 46, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.header-progress[data-visible="true"] { opacity: 1; }
.header-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  transition: width 90ms linear;
}

/* 移动端头部状态 */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .header-nav { display: none; }
  .site-header[data-open="true"] .header-nav { display: block; }
  .site-header[data-open="true"] .nav-toggle {
    color: var(--paper);
    border-color: var(--cyan);
    background: rgba(53, 242, 192, 0.14);
  }
  .site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 14px;
    overflow: visible;
  }
  .nav-list a {
    padding: 14px 12px;
    border-radius: 12px;
    border-bottom: 1px solid rgba(23, 61, 46, 0.75);
    font-size: 15px;
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--cyan); }
}

@media (max-width: 620px) {
  .header-meter { display: none; }
}

@media (max-width: 520px) {
  .brand-line { display: none; }
  .brand-name { font-size: 15.5px; }
  .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .nav-toggle { min-height: 40px; padding: 0 12px; }
}

@media (max-width: 430px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0 12px; }
  .btn--entry { display: none; }
}

/* ---------- 7. 页脚 ---------- */
.footer-rail {
  height: 20px;
  border-top: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(53, 242, 192, 0.34) 0 1px, transparent 1px 44px);
  background-repeat: repeat-x;
  background-size: 100% 11px;
  background-position: 0 100%;
}

.site-footer {
  position: relative;
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 42, 32, 0.85) 0%, rgba(6, 22, 17, 0.96) 58%, #05130E 100%);
  color: var(--paper);
}

.footer-main { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(36px, 5vw, 62px) clamp(26px, 4vw, 44px);
}

.footer-brand .brand { margin-bottom: 20px; }
.footer-note {
  max-width: 36ch;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dim);
}
.footer-hours {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--mint);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.footer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.footer-list a:hover {
  color: var(--paper);
  border-bottom-color: var(--cyan);
  transform: translateX(3px);
}

/* 客服信息带 */
.footer-contact {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  background: rgba(53, 242, 192, 0.035);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  align-items: center;
  gap: 14px 28px;
}
.contact-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.contact-item--wide { grid-column: 1 / -1; }
.contact-label {
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  white-space: nowrap;
}
.contact-value {
  min-width: 0;
  font-size: 14.5px;
  color: var(--paper);
  word-break: break-all;
}
.copy-btn {
  flex: 0 0 auto;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.copy-btn:hover {
  border-color: var(--cyan);
  color: var(--paper);
  background: rgba(53, 242, 192, 0.12);
}
.copy-btn[data-copied="true"] {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--on-accent);
}
.contact-note {
  margin-top: 14px;
  max-width: 82ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--dim);
}

/* 底栏 */
.footer-base {
  border-top: 1px solid var(--line);
  background: rgba(4, 16, 12, 0.72);
}
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.footer-copy, .footer-icp { margin: 0; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item--wide { grid-column: auto; }
  .footer-base-inner { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------- 8. 基础组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 42, 32, 0.7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mint);
  white-space: nowrap;
}
.tag--time {
  border-color: rgba(255, 210, 63, 0.38);
  background: rgba(255, 210, 63, 0.09);
  color: var(--yellow);
}
.tag--live {
  border-color: transparent;
  background: var(--cyan);
  color: var(--on-accent);
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 42, 32, 0.55);
  color: var(--mint);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--cyan); color: var(--paper); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--on-accent);
}

.fav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mint);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-mid), border-color var(--t-mid), color var(--t-mid);
}
.fav::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background var(--t-mid), border-color var(--t-mid);
}
.fav:hover { border-color: var(--cyan); color: var(--paper); }
.fav[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--on-accent);
}
.fav[aria-pressed="true"]::before {
  background: var(--on-accent);
  border-color: var(--on-accent);
}

.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(12, 42, 32, 0.92), rgba(7, 26, 20, 0.84));
  transition: border-color var(--t-fast), background var(--t-fast);
}
.panel:hover { border-color: rgba(53, 242, 192, 0.55); }

.note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
}

/* 图片容器基础规则：页面阶段在内部放置 <img> 占位 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(53, 242, 192, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(23, 61, 46, 0.8), rgba(7, 26, 20, 0.95));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(244, 251, 247, 0.05) 0 1px, transparent 1px 64px);
  opacity: 0.6;
}
.media-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--mint); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

.anchor-nav {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.anchor-nav a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
  text-decoration: none;
  transition: color var(--t-fast);
}
.anchor-nav a:hover { color: var(--mint); }
.anchor-nav a[aria-current] {
  color: var(--cyan);
  font-weight: 600;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 42, 32, 0.6);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.step:hover {
  border-color: var(--cyan);
  background: rgba(53, 242, 192, 0.08);
}
.step-index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.step-title { margin: 0; font-size: 15px; font-weight: 600; color: var(--paper); }
.step-note { margin: 2px 0 0; font-size: 13px; line-height: 1.6; color: var(--dim); }

/* ---------- 9. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto !important; }
  .footer-list a:hover { transform: none; }
}
