/* =========================================================
   万博体育手机端 · 共享基础样式（/assets/site.css）
   框架式导航 + 纵向长卷 + 电子记分牌色彩
   ========================================================= */

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

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

body { margin: 0; min-height: 100vh; }

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

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

p { margin: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; }

a { color: inherit; }

table { width: 100%; border-collapse: collapse; }

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --pitch: #06120E;
  --pitch-2: #0B1A14;
  --rock: #1B241F;
  --moss: #23503A;
  --bone: #F3EEE2;
  --clay: #B76A45;
  --lime: #C6FF4A;
  --blue: #3E8BFF;
  --amber: #FFB324;
  --amber-ink: #8A5A00;
  --magenta: #FF4E86;
  --mist: #9CA89F;
  --ink: #0A0F0C;

  --status-h: 40px;
  --rail-w: 68px;
  --rail-m-h: 52px;
  --chrome-top: calc(var(--status-h) + var(--rail-m-h));
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1220px;

  --edge: 1px solid rgba(243, 238, 226, 0.12);
  --edge-lime: 1px solid rgba(198, 255, 74, 0.32);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 160ms;
  --t: 240ms;
  --t-slow: 320ms;

  --font-num: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-head: "Arial Narrow", "Helvetica Neue", -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

@media (min-width: 900px) {
  :root { --chrome-top: var(--status-h); }
}

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--pitch);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  padding-top: var(--chrome-top);
  padding-left: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { padding-left: var(--rail-w); }
}

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

h1 { font-size: clamp(26px, 4.6vw, 56px); }
h2 { font-size: clamp(22px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2.4vw, 26px); }

p + p { margin-top: 0.9em; }

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

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

#main-content { scroll-margin-top: calc(var(--chrome-top) + 24px); }

.num,
.stat__value,
[data-count] {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: calc(var(--chrome-top) + 6px);
  left: var(--gutter);
  z-index: 300;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform var(--t) var(--ease);
}

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

/* ---------- 5. 顶部状态带 ---------- */
.statusbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--status-h);
  z-index: 90;
  background: var(--rock);
  border-bottom: var(--edge);
}

.statusbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 0 var(--gutter);
}

@media (min-width: 900px) {
  .statusbar__inner { padding-left: calc(var(--rail-w) + var(--gutter)); }
}

.statusbar__id {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.statusbar__brand {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.statusbar__note {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statusbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.statusbar__btn,
.statusbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
  background: transparent;
  border: 1px solid rgba(243, 238, 226, 0.18);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.statusbar__btn:hover,
.statusbar__link:hover { color: var(--lime); border-color: rgba(198, 255, 74, 0.5); }

.statusbar__btn[aria-expanded="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.statusbar__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  transition: transform 120ms linear;
}

@media (max-width: 520px) {
  .statusbar__note { display: none; }
}

/* ---------- 6. 赛事轴（框架左边界 / 移动端顶部轨道） ---------- */
.league-rail {
  position: fixed;
  z-index: 80;
  background: var(--pitch);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.league-rail::-webkit-scrollbar { display: none; }

/* 移动端：顶部横排轨道 */
.league-rail {
  left: 0;
  right: 0;
  top: var(--status-h);
  height: var(--rail-m-h);
  border-bottom: var(--edge);
  background-image: repeating-linear-gradient(90deg, rgba(198, 255, 74, 0.05) 0 1px, transparent 1px 12px);
}

.league-rail[data-dragging] { cursor: grabbing; scroll-snap-type: none; }

.league-rail__list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  scroll-snap-type: x proximity;
}

.league-rail__item {
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 100%;
  border-right: 1px solid rgba(243, 238, 226, 0.07);
  transition: background var(--t-fast) var(--ease);
}

.league-rail__item:hover { background: rgba(243, 238, 226, 0.04); }

.league-rail__item[data-current] { background: rgba(198, 255, 74, 0.09); }

.league-rail__abbr {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bone);
  white-space: nowrap;
}

.league-rail__item[data-current] .league-rail__abbr { color: var(--lime); }

.league-rail__round {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mist);
  white-space: nowrap;
}

.league-rail__item[data-current] .league-rail__round { color: var(--amber); }

/* 桌面端：左侧竖排边界 */
@media (min-width: 900px) {
  .league-rail {
    top: var(--status-h);
    bottom: 0;
    right: auto;
    width: var(--rail-w);
    height: auto;
    border-bottom: 0;
    border-right: var(--edge);
    background-image: repeating-linear-gradient(0deg, rgba(198, 255, 74, 0.05) 0 1px, transparent 1px 14px);
  }

  .league-rail__list {
    flex-direction: column;
    height: auto;
    scroll-snap-type: y proximity;
  }

  .league-rail__item {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    height: auto;
    min-height: 62px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 238, 226, 0.07);
  }

  .league-rail__abbr {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.18em;
    font-size: 13px;
  }

  .league-rail__round { writing-mode: horizontal-tb; }
}

/* ---------- 7. 页头主行 ---------- */
.site-header {
  position: sticky;
  top: var(--chrome-top);
  z-index: 70;
  background: var(--pitch);
  border-bottom: var(--edge);
  box-shadow: 0 18px 30px -26px rgba(0, 0, 0, 0.95);
}

.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--bone);
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: var(--moss);
  border: 1px solid rgba(198, 255, 74, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.brand__mark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(243, 238, 226, 0.55);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--lime);
  border-radius: 50%;
}

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

.brand__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.brand__tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.4;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(243, 238, 226, 0.22);
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.nav-toggle__bars {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle:hover { color: var(--lime); border-color: rgba(198, 255, 74, 0.5); }

.nav-toggle[aria-expanded="true"] {
  color: var(--lime);
  border-color: var(--lime);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* 主栏目 */
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 75;
  display: none;
  max-height: calc(100vh - var(--chrome-top) - 60px);
  overflow-y: auto;
  padding: 8px var(--gutter) 22px;
  background: var(--rock);
  border-top: var(--edge);
  border-bottom: var(--edge-lime);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95);
}

.site-nav[data-open] {
  display: block;
  animation: nav-in var(--t) var(--ease);
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.site-nav__list { display: flex; flex-direction: column; }

.site-nav__link {
  display: block;
  padding: 14px 2px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 226, 0.08);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.site-nav__link:hover { color: var(--lime); padding-left: 8px; }

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

.site-nav__link[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--lime);
}

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

  .site-nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
  }

  .site-nav__list { flex-direction: row; align-items: center; gap: 4px; }

  .site-nav__link {
    padding: 8px 12px;
    font-size: 14px;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-radius: 2px;
  }

  .site-nav__link:hover {
    padding-left: 12px;
    border-color: rgba(198, 255, 74, 0.4);
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(198, 255, 74, 0.1);
    border-color: rgba(198, 255, 74, 0.45);
  }

  .site-nav__link[aria-current="page"]::before { width: 5px; height: 5px; margin-right: 8px; }
}

/* ---------- 8. 站点索引（可展开） ---------- */
.quickindex {
  position: absolute;
  top: calc(100% + 10px);
  right: var(--gutter);
  z-index: 85;
  width: min(360px, calc(100% - 2 * var(--gutter)));
  padding: 16px 18px 18px;
  background: var(--rock);
  border: 1px solid rgba(198, 255, 74, 0.28);
  border-left: 4px solid var(--lime);
  box-shadow: 0 34px 54px -32px rgba(0, 0, 0, 0.95);
  animation: nav-in var(--t) var(--ease);
}

.quickindex__label {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.quickindex__list { display: grid; gap: 2px; }

.quickindex__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  font-size: 14px;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 226, 0.08);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.quickindex__link:hover { color: var(--lime); padding-left: 6px; }

.quickindex__meta {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mist);
  white-space: nowrap;
}

/* ---------- 9. 布局与章节 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(40px, 8vw, 96px) 0; }

.section--rock { background: var(--rock); }

.section--bone {
  background: var(--bone);
  color: var(--ink);
}

.section--bone .label,
.section--bone .stat__label { color: var(--amber-ink); }

.section--bone .chip {
  color: var(--amber-ink);
  border-color: rgba(138, 90, 0, 0.35);
}

.section--bone .link { color: #1E5DB8; }

.band { height: 12px; background: var(--moss); }
.band--thin { height: 4px; }
.band--clay { background: var(--clay); }
.band--lime { background: var(--lime); }
.band--full { height: 12px; background: linear-gradient(90deg, var(--moss) 0 40%, var(--clay) 40% 58%, var(--lime) 58% 100%); }

.chapter { display: flex; align-items: baseline; gap: 14px; }

.chapter__index {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clay);
  white-space: nowrap;
}

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

.grid--split { grid-template-columns: 1fr; }

.grid--asym { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .grid--asym { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}

/* ---------- 10. 文本与数据组件 ---------- */
.label {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
}

.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.7;
  color: var(--bone);
  max-width: 34em;
}

.prose { max-width: 34em; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.4em 0 0.6em; }

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__value {
  font-size: clamp(40px, 11vw, 112px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--lime);
}

.stat--blue .stat__value { color: var(--blue); }
.stat--amber .stat__value { color: var(--amber); }
.stat--magenta .stat__value { color: var(--magenta); }
.stat--bone .stat__value { color: var(--bone); }

.stat__label {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(243, 238, 226, 0.2);
  border-radius: 999px;
  white-space: nowrap;
}

.chip--lime { color: var(--lime); border-color: rgba(198, 255, 74, 0.45); }
.chip--amber { color: var(--amber); border-color: rgba(255, 179, 36, 0.45); }
.chip--blue { color: var(--blue); border-color: rgba(62, 139, 255, 0.45); }
.chip--magenta { color: var(--magenta); border-color: rgba(255, 78, 134, 0.45); }

.panel {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  background: var(--rock);
  border: var(--edge);
}

.panel--float {
  margin: 0 0 0 clamp(0px, 2vw, 24px);
  border-left: 4px solid var(--moss);
  box-shadow: 0 40px 60px -46px rgba(0, 0, 0, 0.95);
}

.link {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 139, 255, 0.4);
}

.link:hover { border-bottom-color: var(--blue); }

/* ---------- 11. 图片容器（页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, var(--moss) 0%, var(--pitch-2) 60%, var(--pitch) 100%);
  border: var(--edge);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(6, 18, 14, 0.32) 0 1px, transparent 1px 5px);
}

.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 12px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(6, 18, 14, 0.72);
}

.scanlines {
  position: relative;
}

.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(198, 255, 74, 0.06) 0 1px, transparent 1px 14px);
}

/* ---------- 12. 可展开内容组 ---------- */
.disclosure {
  background: var(--rock);
  border: var(--edge);
}

.disclosure + .disclosure { margin-top: 8px; }

.disclosure__btn {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bone);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.disclosure__btn::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 20px;
  line-height: 1;
  color: var(--lime);
  transition: transform var(--t) var(--ease);
}

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

.disclosure__btn[aria-expanded="true"] {
  color: var(--lime);
  box-shadow: inset 3px 0 0 var(--amber);
}

.disclosure__btn[aria-expanded="true"]::after { transform: rotate(45deg); }

.disclosure__panel {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.disclosure__panel > * + * { margin-top: 0.8em; }

/* ---------- 13. 标签页切换 ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: var(--edge);
}

.tabs__btn {
  min-height: 40px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(243, 238, 226, 0.18);
  border-radius: 2px;
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.tabs__btn:hover { color: var(--bone); border-color: rgba(198, 255, 74, 0.45); }

.tabs__btn[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.tabs__panel { animation: panel-in var(--t) var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumbs {
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 8px; }

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--clay);
}

.breadcrumbs__link { color: var(--mist); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--lime); }
.breadcrumbs__current { color: var(--bone); }

/* ---------- 15. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--bone);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

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

.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #D8FF74; }

.btn--blue { background: var(--blue); color: #04121F; }
.btn--blue:hover { background: #62A1FF; }

.btn--ghost { border-color: rgba(243, 238, 226, 0.3); color: var(--bone); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.section--bone .btn--ghost { border-color: rgba(10, 15, 12, 0.3); color: var(--ink); }
.section--bone .btn--ghost:hover { border-color: var(--amber-ink); color: var(--amber-ink); }

/* ---------- 16. 显现动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--rock);
  border-top: 1px solid rgba(198, 255, 74, 0.22);
}

.footer__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__tier { border-bottom: var(--edge); }
.footer__tier:last-child { border-bottom: 0; }

.footer__tier--nav {
  display: grid;
  gap: 28px;
  padding: clamp(34px, 6vw, 64px) 0 clamp(26px, 4vw, 40px);
}

@media (min-width: 900px) {
  .footer__tier--nav {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
    gap: 40px;
    align-items: start;
  }
}

.footer__brandblock { min-width: 0; }

.footer__brand {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bone);
}

.footer__tagline {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
  max-width: 22em;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.footer__col { min-width: 0; }

.footer__title {
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer__list { display: grid; gap: 2px; }

.footer__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.footer__link:hover { color: var(--lime); padding-left: 6px; }

.footer__tier--note { padding: 22px 0; }

.footer__note {
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.footer__tier--legal { padding: 22px 0 34px; }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer__meta-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  font-size: 13px;
  color: var(--bone);
}

.footer__meta-key {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.footer__meta-val { overflow-wrap: anywhere; }

.footer__record {
  margin-top: 18px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 18. 降级动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; transition: none; }

  .site-nav[data-open],
  .quickindex,
  .tabs__panel { animation: none; }

  .statusbar__progress { transition: none; }

  .btn:hover,
  .site-nav__link:hover,
  .footer__link:hover,
  .quickindex__link:hover { transform: none; padding-left: inherit; }
}
