/* ===========================================================
   风动体育 · 城市主场 CN 官方站
   共享样式表 /assets/site.css
   夜赛框架 + 堆叠面板 + 精密网格
   =========================================================== */

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

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: var(--plateau); text-underline-offset: .22em; }

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

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

/* 2. 变量 -------------------------------------------------- */
:root {
  --soil: #C4372B;
  --soil-deep: #7A1F1A;
  --night: #0B0F14;
  --stand: #30363D;
  --neon: #B7FF3C;
  --plateau: #1F6FEB;
  --sand: #D9A441;
  --mist: #F4F6F8;
  --mute: #8B949E;
  --ink: #0E1319;

  --paper: #FFFFFF;
  --paper-2: #E9EEF3;

  --line-light: rgba(244, 246, 248, .16);
  --line-dark: rgba(11, 15, 20, .16);
  --line-neon: rgba(183, 255, 60, .5);

  --font-head: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --frame-max: 1600px;
  --gutter: clamp(14px, 3.2vw, 44px);

  --ease: cubic-bezier(.22, .9, .24, 1);
  --dur: .28s;

  --shadow-panel: 0 20px 44px -30px rgba(11, 15, 20, .6);
  --shadow-lift: 0 26px 52px -32px rgba(11, 15, 20, .7);
}

/* 3. 基础排版 ---------------------------------------------- */
body {
  min-height: 100dvh;
  background-color: var(--mist);
  background-image:
    linear-gradient(rgba(11, 15, 20, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 15, 20, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .004em;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 6vw, 5rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -.015em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }

p { max-width: 72ch; }

strong { font-weight: 700; }

.num,
[data-num] {
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--stand);
  max-width: 62ch;
}

.label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--mute);
}

main { display: block; }

main:focus { outline: none; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.container--narrow { max-width: 1040px; }
.container--tight { max-width: 760px; }

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 26px);
}

.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }

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

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

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

@media (min-width: 1024px) {
  .grid--asym { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .grid--asym > .span-4 { grid-column: span 4; }
  .grid--asym > .span-5 { grid-column: span 5; }
  .grid--asym > .span-6 { grid-column: span 6; }
  .grid--asym > .span-7 { grid-column: span 7; }
  .grid--asym > .span-8 { grid-column: span 8; }
  .grid--asym > .span-12 { grid-column: span 12; }
}

/* 5. 斜切分隔与风动线条 ------------------------------------ */
.slant-strip {
  position: relative;
  height: clamp(26px, 4vw, 58px);
  background: var(--night);
  overflow: hidden;
}

.slant-strip::before,
.slant-strip::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  transform: skewY(-2.6deg);
}

.slant-strip::before {
  top: 30%;
  height: 42%;
  background: var(--soil);
}

.slant-strip::after {
  top: 72%;
  height: 12%;
  background: var(--sand);
}

.wind-line {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--soil), var(--sand) 45%, var(--plateau));
  transition: height var(--dur) var(--ease), transform var(--dur) var(--ease);
  transform-origin: left center;
}

.wind-line:hover,
a:hover > .wind-line,
.card:hover .wind-line {
  height: 3px;
  transform: scaleX(1.03);
}

/* 6. 页头框架 ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--night);
  border-left: 3px solid var(--soil);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--soil), var(--sand) 42%, var(--neon));
  pointer-events: none;
  z-index: 120;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--neon);
  color: var(--night);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  border: 2px solid var(--night);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 14px;
}

/* 6.1 赛事状态条 */
.status-ticker {
  display: flex;
  align-items: stretch;
  background: var(--night);
  color: var(--mist);
  border-bottom: 1px solid var(--line-light);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
}

.status-ticker__label {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 26px 8px 14px;
  background: var(--soil);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  white-space: nowrap;
}

.status-ticker__track {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.status-ticker__track::-webkit-scrollbar { display: none; }

.status-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-right: 1px solid var(--line-light);
  color: var(--mute);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.status-ticker__item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--plateau);
  flex: 0 0 auto;
}

.status-ticker__item:first-child { color: var(--mist); }
.status-ticker__item:first-child::before { background: var(--neon); }
.status-ticker__item:hover { color: var(--neon); }

.status-ticker__ver {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 16px;
  border-left: 1px solid var(--line-light);
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--sand);
  white-space: nowrap;
}

/* 6.2 导航带 */
.header-bar {
  background: var(--night);
  border-bottom: 1px solid var(--line-light);
}

.header-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 10px var(--gutter);
  min-height: 70px;
}

.brand-block { min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--mist);
  text-decoration: none;
}

.brand__mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  flex: 0 0 auto;
}

.brand__mark span {
  display: block;
  width: 4px;
  height: 100%;
  background: var(--soil);
  transition: background-color var(--dur) var(--ease), height var(--dur) var(--ease);
}

.brand__mark span:nth-child(2) { height: 58%; background: var(--neon); }
.brand__mark span:nth-child(3) { height: 80%; background: var(--plateau); }

.brand__text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.brand__text em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mute);
}

.brand:hover .brand__mark span:first-child { background: var(--neon); }

/* 6.3 主导航 */
.primary-nav {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}

.primary-nav__list a {
  display: block;
  padding: 24px 13px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
  color: var(--neon);
  border-bottom-color: var(--neon);
  background: rgba(183, 255, 60, .07);
}

.primary-nav__list a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--soil);
  background: linear-gradient(180deg, rgba(196, 55, 43, 0), rgba(196, 55, 43, .34));
}

/* 6.4 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-light);
  background: rgba(244, 246, 248, .03);
  color: var(--mist);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.drawer-toggle:hover,
.nav-toggle:hover {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(183, 255, 60, .08);
}

.drawer-toggle__icon {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-left-width: 5px;
  flex: 0 0 auto;
}

.nav-toggle { display: none; }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
  flex: 0 0 auto;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--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); }

/* 6.5 侧边数据抽屉 */
.data-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  padding: 26px 22px 56px;
  background: var(--night);
  color: var(--mist);
  border-left: 1px solid var(--line-light);
  box-shadow: -30px 0 64px -34px rgba(11, 15, 20, .95);
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform .38s var(--ease);
  z-index: 130;
}

.data-drawer[data-open] { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}

.drawer__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--neon);
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-light);
  color: var(--mist);
  font-size: 18px;
  line-height: 1;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.drawer__close:hover { color: var(--soil); border-color: var(--soil); }

.drawer__slot { padding: 18px 0 6px; }

.drawer__hint {
  padding-left: 12px;
  border-left: 2px solid var(--sand);
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
  max-width: none;
}

.drawer__links {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line-light);
}

.drawer__links a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-light);
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.drawer__links a:hover { color: var(--neon); padding-left: 10px; }

body[data-nav-open],
body[data-drawer-open] { overflow: hidden; }

/* 6.6 窄屏导航形态 */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    padding: 92px 0 40px;
    background: var(--night);
    border-left: 1px solid var(--line-light);
    box-shadow: -30px 0 64px -34px rgba(11, 15, 20, .95);
    overflow-y: auto;
    justify-content: flex-start;
    transform: translateX(102%);
    transition: transform .38s var(--ease);
    z-index: 128;
  }

  .primary-nav[data-open] { transform: translateX(0); }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav__list a {
    padding: 16px 22px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-light);
    border-left: 3px solid transparent;
    border-bottom-width: 1px;
  }

  .primary-nav__list a:hover,
  .primary-nav__list a:focus-visible {
    background: rgba(183, 255, 60, .08);
    border-bottom-color: var(--line-light);
    border-left-color: var(--neon);
  }

  .primary-nav__list a[aria-current="page"] {
    border-bottom-color: var(--line-light);
    border-left-color: var(--soil);
    background: linear-gradient(90deg, rgba(196, 55, 43, .38), transparent);
  }
}

@media (max-width: 479px) {
  .drawer-toggle__text,
  .nav-toggle__text { display: none; }
  .status-ticker__ver { display: none; }
}

/* 7. 通用按钮 ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  background: var(--soil);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:hover {
  background: var(--soil-deep);
  color: #fff;
  transform: translateY(-1px);
}

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

.btn--line:hover {
  background: rgba(183, 255, 60, .08);
  border-color: var(--neon);
  color: var(--neon);
}

.btn--ink {
  background: var(--night);
  color: var(--mist);
}

.btn--ink:hover { background: var(--stand); color: var(--neon); }

.btn--sand {
  background: var(--sand);
  color: var(--night);
}

.btn--sand:hover { background: #c7902f; color: var(--night); }

.btn--sm { padding: 9px 15px; font-size: 12.5px; }

/* 8. 面包屑 ------------------------------------------------ */
.breadcrumb { padding-top: 20px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
}

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

.breadcrumb__list li + li::before {
  content: "／";
  color: var(--mute);
  opacity: .6;
}

.breadcrumb__list a {
  color: var(--mute);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.breadcrumb__list a:hover { color: var(--soil); }

.breadcrumb__list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* 9. 章节与面板 -------------------------------------------- */
.section {
  position: relative;
  padding-block: clamp(40px, 7vw, 92px);
}

.section--night {
  background: var(--night);
  color: var(--mist);
}

.section--night h1,
.section--night h2,
.section--night h3 { color: var(--mist); }

.section--night .lede { color: rgba(244, 246, 248, .78); }

.section--deep {
  background: linear-gradient(180deg, var(--stand), var(--night));
  color: var(--mist);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section__kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--soil);
}

.section--night .section__kicker { color: var(--neon); }

.section__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.028em;
}

.panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-panel);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.panel__title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0;
}

.panel__body { padding: 20px; }

.panel__body--flush { padding: 0; }

.panel--night {
  background: var(--night);
  color: var(--mist);
  border-color: var(--line-light);
}

.panel--night .panel__head {
  background: rgba(48, 54, 61, .55);
  border-bottom-color: var(--line-light);
}

.panel--night .panel__title { color: var(--mist); }

.panel--stacked::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  width: 40%;
  height: 13px;
  background: var(--stand);
}

/* 10. 数据组件 --------------------------------------------- */
.kpi {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px 22px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--soil);
  transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}

.kpi:hover { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), var(--shadow-panel); }
.kpi:hover::before { width: 5px; background: var(--neon); }

.kpi__value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.kpi__value sup {
  margin-left: 4px;
  font-size: .4em;
  color: var(--mute);
}

.kpi__label {
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--mute);
}

.kpi--night {
  background: var(--night);
  border-color: var(--line-light);
  color: var(--mist);
}

.kpi--night .kpi__value { color: var(--neon); }
.kpi--night .kpi__label { color: var(--mute); }
.kpi--night::before { background: var(--sand); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  background: var(--paper-2);
  color: var(--stand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

.tag--neon {
  border-color: var(--line-neon);
  background: rgba(183, 255, 60, .22);
  color: #3d6d00;
}

.tag--soil {
  border-color: var(--soil);
  background: rgba(196, 55, 43, .09);
  color: var(--soil);
}

.tag--plateau {
  border-color: var(--plateau);
  background: rgba(31, 111, 235, .09);
  color: var(--plateau);
}

.tag--night {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, .06);
  color: var(--mist);
}

.tag--night.tag--neon { color: var(--neon); background: rgba(183, 255, 60, .12); }

.card {
  display: block;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--soil);
  box-shadow: 0 0 0 1px var(--soil), var(--shadow-lift);
  transform: translateY(-2px);
}

.card--data:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon), 0 26px 52px -30px rgba(183, 255, 60, .6);
}

.card__title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.card__meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--mute);
}

.card__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--plateau);
  transition: color var(--dur) var(--ease);
}

/* 11. 表格与图片容器 --------------------------------------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  background: var(--paper);
}

.table-scroll table {
  min-width: 640px;
  font-size: 14px;
}

.table-scroll th,
.table-scroll td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}

.table-scroll th {
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--stand);
}

.table-scroll tbody tr:hover { background: rgba(31, 111, 235, .05); }

.figure {
  position: relative;
  margin: 0;
  background: var(--stand);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}

.figure__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--night), var(--stand));
}

.figure__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 246, 248, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 248, .07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.figure__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 7px 22px 7px 14px;
  background: rgba(11, 15, 20, .82);
  color: var(--mist);
  font-size: 11.5px;
  letter-spacing: .1em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.figure--wide .figure__frame { aspect-ratio: 21 / 9; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }
.figure--tall .figure__frame { aspect-ratio: 3 / 4; }
.figure--portrait .figure__frame { aspect-ratio: 4 / 5; }

@media (min-width: 768px) {
  .figure--wide .figure__frame { aspect-ratio: 24 / 9; }
}

/* 12. 页脚 ------------------------------------------------ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--mist);
}

.stage-slant {
  position: relative;
  height: clamp(52px, 8vw, 108px);
  background: var(--night);
  overflow: hidden;
}

.stage-slant__row {
  position: absolute;
  left: -5%;
  right: -5%;
  transform: skewY(-3.4deg);
}

.stage-slant__row--1 { top: 22%; height: 36%; background: var(--soil-deep); }
.stage-slant__row--2 { top: 50%; height: 20%; background: var(--soil); }
.stage-slant__row--3 { top: 72%; height: 9%; background: var(--sand); }

.footer-inner {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 54px);
}

@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(264px, 1fr) 1.5fr; }
}

.brand--footer .brand__text strong { font-size: 19px; }

.footer-brand__desc {
  margin-top: 14px;
  max-width: 36ch;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand .btn { margin-top: 20px; }

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

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

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

.footer-nav__list a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              padding-left var(--dur) var(--ease);
}

.footer-nav__list a:hover {
  color: var(--neon);
  border-color: var(--neon);
  padding-left: 8px;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

@media (min-width: 768px) {
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}

.footer-contact__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
}

.footer-contact__label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--neon);
}

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

.copy-btn {
  padding: 6px 10px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.copy-btn:hover {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(183, 255, 60, .08);
}

.copy-btn.is-copied {
  color: var(--night);
  border-color: var(--neon);
  background: var(--neon);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-base__copy {
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mute);
}

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

.footer-legal a {
  font-size: 12.5px;
  color: var(--mute);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-legal a:hover { color: var(--neon); }

/* 13. 减少动效 --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .scroll-progress { display: none; }
}
