/* =========================================================
   DOU ARENA · 共享层 /assets/site.css
   夜场竞技 · Bento 信息板 · 粗野主义边框
   ========================================================= */

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

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

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

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

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

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

table { border-collapse: collapse; }

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0A0D10;
  --tunnel: #141A20;
  --court: #2A323C;
  --chalk: #F4F7F9;
  --stand: #8E9AA6;
  --pulse: #FF5A1F;
  --volt: #14E0D2;
  --red: #FF3B4E;
  --green: #30E08A;
  --amber: #FFC53D;

  --shell-w: 1240px;
  --gutter: 20px;
  --hdr-h: 62px;
  --hdr-h-scrolled: 54px;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, .62);
  --shadow-hard-lg: 10px 10px 0 rgba(0, 0, 0, .68);

  --ease: cubic-bezier(.2, .7, .3, 1);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-num: "DIN Alternate", "Bebas Neue", ui-monospace, "SF Mono",
    Menlo, Consolas, monospace;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --hdr-h: 72px; --hdr-h-scrolled: 58px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 36px; --hdr-h: 78px; --hdr-h-scrolled: 60px; }
}

/* ---------- 3. 基础排版 ---------- */
html:focus-within { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 12% -6%, rgba(255, 90, 31, .10), transparent 62%),
    radial-gradient(760px 480px at 94% 4%, rgba(20, 224, 210, .07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 900; line-height: 1.16; letter-spacing: -.02em; }

p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--chalk); font-weight: 900; }

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

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

#main-content { scroll-margin-top: 96px; display: block; }

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

.section { padding: 56px 0; }
.section--tight { padding: 34px 0; }

@media (min-width: 768px) {
  .section { padding: 76px 0; }
  .section--tight { padding: 44px 0; }
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--court);
}

.section__kicker {
  display: block;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stand);
}

.section__title {
  margin-top: 8px;
  font-size: clamp(24px, 4.4vw, 36px);
  transform: skewX(-3deg);
  transform-origin: left bottom;
}

.section__note {
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--stand);
}

/* 网格 */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 700px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
}

.col-span-3, .col-span-4, .col-span-5 { grid-column: span 2; }
.col-span-6, .col-span-7, .col-span-8, .col-span-12 { grid-column: span 2; }

@media (min-width: 700px) {
  .col-span-3, .col-span-4, .col-span-5 { grid-column: span 3; }
  .col-span-6, .col-span-7, .col-span-8 { grid-column: span 6; }
  .col-span-12 { grid-column: span 6; }
}

@media (min-width: 1024px) {
  .col-span-3 { grid-column: span 3; }
  .col-span-4 { grid-column: span 4; }
  .col-span-5 { grid-column: span 5; }
  .col-span-6 { grid-column: span 6; }
  .col-span-7 { grid-column: span 7; }
  .col-span-8 { grid-column: span 8; }
  .col-span-12 { grid-column: span 12; }
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--court);
  border-radius: 2px;
  background: transparent;
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .14s var(--ease),
    box-shadow .14s var(--ease),
    background-color .14s var(--ease),
    color .14s var(--ease),
    border-color .14s var(--ease);
}

.btn--pulse {
  background: var(--pulse);
  border-color: var(--pulse);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 224, 210, .55);
}

.btn--volt {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(255, 90, 31, .5);
}

.btn--ghost {
  background: transparent;
  border-color: var(--court);
  color: var(--chalk);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
}

.btn--sm {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 12px;
  letter-spacing: .1em;
}

@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); }
  .btn--pulse:hover { box-shadow: 7px 7px 0 rgba(20, 224, 210, .75); }
  .btn--volt:hover { box-shadow: 7px 7px 0 rgba(255, 90, 31, .7); }
  .btn--ghost:hover {
    border-color: var(--pulse);
    color: var(--pulse);
    box-shadow: 6px 6px 0 rgba(255, 90, 31, .32);
  }
}

.btn:active { transform: translate(0, 0); }

/* 复制入口 */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 2px dashed var(--court);
  border-radius: 2px;
  background: transparent;
  color: var(--stand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  cursor: pointer;
  transition: color .14s var(--ease), border-color .14s var(--ease), background-color .14s var(--ease);
}

.copy-btn__label { display: inline-block; }

.copy-btn[data-copied] {
  border-style: solid;
  border-color: var(--green);
  background: rgba(48, 224, 138, .12);
  color: var(--green);
}

@media (hover: hover) {
  .copy-btn:hover { border-color: var(--volt); color: var(--volt); }
}

/* ---------- 6. 面包屑 ---------- */
.breadcrumb { padding-top: 18px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--stand);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 10px; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--court);
}

.breadcrumb__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--stand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .14s var(--ease), border-color .14s var(--ease);
}

.breadcrumb__link:hover { color: var(--volt); border-bottom-color: var(--volt); }

.breadcrumb__current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--chalk);
}

/* ---------- 7. 正文 ---------- */
.prose {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: #CFD7DE;
}

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

.prose h2 {
  margin: 2em 0 .6em;
  font-size: clamp(20px, 3vw, 26px);
}

.prose h3 { margin: 1.6em 0 .5em; font-size: 19px; }

.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }

.prose a {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { color: var(--pulse); }

/* ---------- 8. Bento 面板 ---------- */
.panel {
  position: relative;
  padding: 20px;
  border: 2px solid var(--court);
  border-radius: 2px;
  background: var(--tunnel);
  box-shadow: var(--shadow-hard);
  transition:
    transform .16s var(--ease),
    box-shadow .16s var(--ease),
    border-color .16s var(--ease);
}

.panel--focus {
  background: linear-gradient(150deg, #171E26 0%, #0D1218 68%);
  border-color: var(--chalk);
  box-shadow: var(--shadow-hard-lg);
}

.panel--pulse {
  border-color: var(--pulse);
  box-shadow: 8px 8px 0 rgba(255, 90, 31, .22);
}

.panel--volt {
  border-color: var(--volt);
  box-shadow: 8px 8px 0 rgba(20, 224, 210, .2);
}

.panel--tilt { transform: rotate(-1.5deg); }
.panel--tilt-r { transform: rotate(1.5deg); }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--court);
}

.panel__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.panel__body { font-size: 15px; color: #C6CFD8; }

.panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--court);
}

@media (hover: hover) {
  .panel:hover {
    transform: translate(-2px, -2px);
    border-color: var(--pulse);
    box-shadow: var(--shadow-hard-lg);
  }
  .panel--tilt:hover { transform: rotate(-1.5deg) translate(-2px, -2px); }
  .panel--tilt-r:hover { transform: rotate(1.5deg) translate(-2px, -2px); }
}

/* ---------- 9. 记分牌数字 / 状态 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__value {
  font-family: var(--font-num);
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--chalk);
}

.stat__value--live { color: var(--pulse); }
.stat__value--done { color: var(--chalk); }
.stat__value--soon { color: var(--stand); }
.stat__value--win { color: var(--green); }

.stat__label {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--stand);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--court);
  border-radius: 2px;
  background: rgba(20, 26, 32, .85);
  color: var(--stand);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--live { color: var(--red); border-color: var(--red); }
.tag--done { color: var(--green); border-color: var(--green); }
.tag--soon { color: var(--amber); border-color: var(--amber); }
.tag--info { color: var(--volt); border-color: var(--volt); }
.tag--hot { color: var(--pulse); border-color: var(--pulse); }

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: dou-pulse 1.4s ease-in-out infinite;
}

@keyframes dou-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}

/* ---------- 10. 索引 / 图例 / 注释 ---------- */
.coord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--stand);
}

.coord::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--court);
}

.annotation {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stand);
}

.annotation--tilt { transform: rotate(-3deg); }

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

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--stand);
}

.legend__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--court);
}

.legend__swatch--pulse { background: var(--pulse); border-color: var(--pulse); }
.legend__swatch--volt { background: var(--volt); border-color: var(--volt); }
.legend__swatch--red { background: var(--red); border-color: var(--red); }
.legend__swatch--green { background: var(--green); border-color: var(--green); }
.legend__swatch--amber { background: var(--amber); border-color: var(--amber); }
.legend__swatch--chalk { background: var(--chalk); border-color: var(--chalk); }

.court-rule {
  position: relative;
  height: 1px;
  margin: 38px 0;
  background: var(--court);
}

.court-rule::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 38px;
  height: 7px;
  background: var(--pulse);
}

/* ---------- 11. 图片容器（页面阶段放占位） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--court);
  border-radius: 2px;
  background: var(--tunnel);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(20, 224, 210, .10), transparent 46%),
    linear-gradient(300deg, rgba(255, 90, 31, .13), transparent 52%);
}

.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 22px 12px 10px;
  background: linear-gradient(0deg, rgba(10, 13, 16, .94), rgba(10, 13, 16, 0));
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--chalk);
}

.media-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(42, 50, 60, .75) 0 8px,
    rgba(20, 26, 32, .75) 8px 20px
  );
  color: var(--stand);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .28em;
}

/* ---------- 12. SITE HEADER ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 14px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 2px;
  background: var(--pulse);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  transition: top .16s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 16, .96) 0%,
    rgba(10, 13, 16, .78) 58%,
    rgba(10, 13, 16, 0) 100%
  );
  border-bottom: 1px solid transparent;
  transition:
    background-color .22s var(--ease),
    border-color .22s var(--ease),
    box-shadow .22s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(10, 13, 16, .97);
  border-bottom-color: var(--court);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
}

.header__grid {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--shell-w);
  min-height: var(--hdr-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height .22s var(--ease);
}

.site-header[data-scrolled="true"] .header__grid { min-height: var(--hdr-h-scrolled); }

.header__brand { display: flex; align-items: center; min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--chalk);
  text-decoration: none;
}

.brand__mark {
  flex: none;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  background: var(--pulse);
  box-shadow: 3px 3px 0 var(--volt);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: skewX(-8deg);
  transition: box-shadow .14s var(--ease), transform .14s var(--ease);
}

@media (hover: hover) {
  .brand:hover .brand__mark {
    transform: skewX(-8deg) translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--volt);
  }
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.1;
}

.brand__lockup {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
}

.brand__cn { font-weight: 700; color: var(--stand); letter-spacing: .02em; }

.brand__slogan {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--pulse);
  white-space: nowrap;
}

@media (max-width: 599px) {
  .brand { gap: 9px; }
  .brand__cn { display: none; }
  .brand__lockup { font-size: 12px; letter-spacing: .04em; }
  .brand__slogan { letter-spacing: .22em; }
}

/* 中线分割 */
.header__divider { display: none; }

@media (min-width: 1024px) {
  .header__divider {
    position: relative;
    display: block;
    align-self: stretch;
    width: 1px;
    margin-inline: 14px;
    background: var(--court);
  }

  .header__divider::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--pulse);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

/* 导航：移动端抽屉 */
.header__nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--hdr-h));
  padding: 10px var(--gutter) 24px;
  overflow-y: auto;
  background: rgba(9, 12, 16, .985);
  border-top: 1px solid var(--court);
  border-bottom: 2px solid var(--court);
  box-shadow: 0 26px 44px rgba(0, 0, 0, .62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity .18s var(--ease),
    transform .18s var(--ease),
    visibility .18s linear;
}

.header__nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__item { display: block; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--chalk);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition:
    color .14s var(--ease),
    background-color .14s var(--ease),
    border-color .14s var(--ease),
    box-shadow .14s var(--ease);
}

.nav__index {
  flex: none;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--stand);
  transition: color .14s var(--ease);
}

.nav__link[aria-current="page"] {
  color: var(--volt);
  background: rgba(20, 224, 210, .08);
  box-shadow: inset 3px 0 0 var(--volt);
}

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

@media (hover: hover) {
  .nav__link:hover {
    color: var(--pulse);
    background: rgba(255, 90, 31, .09);
    border-color: rgba(255, 90, 31, .4);
  }
  .nav__link:hover .nav__index { color: var(--pulse); }
}

.nav__utility {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--court);
}

.nav__util-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  color: var(--stand);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .18em;
  text-decoration: none;
  transition: color .14s var(--ease);
}

.nav__util-link:hover { color: var(--volt); }

.nav__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
}

/* 导航：桌面端内联 */
@media (min-width: 1024px) {
  .header__nav {
    position: static;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav__list {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav__link {
    min-height: 46px;
    padding: 8px 11px;
    font-size: 14px;
    letter-spacing: .03em;
  }

  .nav__link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--volt);
  }

  .nav__utility { display: none; }
}

/* 头部动作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header__cta { display: none; }

@media (min-width: 1024px) {
  .header__cta { display: inline-flex; }
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 46px;
  min-height: 44px;
  padding: 8px 11px;
  border: 2px solid var(--court);
  border-radius: 2px;
  background: transparent;
  color: var(--chalk);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  cursor: pointer;
  transition:
    border-color .14s var(--ease),
    background-color .14s var(--ease),
    color .14s var(--ease);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .16s var(--ease), opacity .16s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (hover: hover) {
  .nav-toggle:hover { border-color: var(--pulse); color: var(--pulse); }
  .nav-toggle[aria-expanded="true"]:hover { color: var(--ink); }
}

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

/* 顶部进度条 */
.progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.progress__bar {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--pulse), var(--amber));
  box-shadow: 0 0 12px rgba(255, 90, 31, .6);
}

/* ---------- 13. SITE FOOTER ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  border-top: 2px solid var(--pulse);
  background: #080B0E;
  color: var(--chalk);
}

@media (min-width: 768px) {
  .site-footer { margin-top: 104px; }
}

.footer__ticks {
  position: absolute;
  top: 2px;
  right: 0;
  left: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--court) 0 2px,
    transparent 2px 16px
  );
  opacity: .9;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 54px 0 32px;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .footer__contact { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)) 1.5fr;
    gap: 30px;
    padding: 64px 0 40px;
  }
  .footer__brand { grid-column: auto; }
  .footer__contact { grid-column: auto; }
}

.footer__brand { display: flex; flex-direction: column; gap: 12px; }

.footer__mark {
  align-self: flex-start;
  padding: 6px 10px;
  border: 2px solid var(--pulse);
  color: var(--pulse);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  transform: skewX(-8deg);
}

.footer__slogan {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
  transform: skewX(-3deg);
  transform-origin: left bottom;
}

.footer__tag {
  margin: 0;
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--stand);
}

.footer__legend { margin-top: 4px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }

.footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--chalk);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--court);
}

.footer__list { display: flex; flex-direction: column; gap: 2px; }

.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--stand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .14s var(--ease), transform .14s var(--ease), border-color .14s var(--ease);
}

.footer__link:hover {
  color: var(--pulse);
  border-bottom-color: var(--pulse);
  transform: translateX(3px);
}

.footer__contact { display: flex; flex-direction: column; gap: 12px; }

.contact__list { display: flex; flex-direction: column; gap: 12px; }

.contact__item { display: flex; flex-direction: column; gap: 2px; }

.contact__label {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--stand);
}

.contact__value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--chalk);
  word-break: break-word;
}

.contact__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--stand);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 0 30px;
  border-top: 1px dashed var(--court);
}

.footer__legal,
.footer__meta {
  margin: 0;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--stand);
}

.footer__legal { color: var(--chalk); }

/* ---------- 14. 显现动效 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  translate: 0 14px;
  transition: opacity .45s var(--ease), translate .45s var(--ease);
}

.js-ready [data-reveal].is-inview {
  opacity: 1;
  translate: 0 0;
}

/* ---------- 15. 降低动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }

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

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

  .brand__mark,
  .footer__mark,
  .footer__slogan,
  .section__title { transform: none; }

  .panel--tilt,
  .panel--tilt-r { transform: none; }

  .footer__link:hover { transform: none; }
}
