/* ==========================================================================
   乐竟赛场 · 全站共享样式 /assets/site.css
   夜间赛场记分牌 + 战术板：堆叠面板、非对称网格、居中刊头
   ========================================================================== */

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

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

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

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

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

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

button { background: none; border: 0; }

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- Tokens ---------- */
:root {
  --deep-pitch: #0B2B24;
  --panel-deep: #103A31;
  --panel-lift: #15493D;
  --night-stand: #071A2B;
  --signal-orange: #FF6A2B;
  --data-amber: #F5A524;
  --live-lime: #C8FF4D;
  --steel-blue: #7E93A8;
  --mist: #E8EDE9;
  --alert-red: #E5484D;
  --neutral-gray: #A9B4B0;
  --ink: #08170F;

  --line: rgba(126, 147, 168, 0.22);
  --line-soft: rgba(126, 147, 168, 0.14);
  --line-strong: rgba(126, 147, 168, 0.38);

  --font-display: 'Oswald', 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --font-numeric: 'IBM Plex Mono', 'Roboto Mono', 'Noto Sans SC', monospace;
  --font-body: 'Noto Sans SC', 'Source Han Sans', system-ui, sans-serif;

  --wrap: 1360px;
  --gut: 32px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--deep-pitch);
  background-image:
    radial-gradient(1200px 620px at 82% -8%, rgba(255, 106, 43, 0.11), transparent 62%),
    radial-gradient(900px 520px at -6% 18%, rgba(200, 255, 77, 0.05), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(7, 26, 43, 0.9), transparent 70%);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-main { display: block; padding-bottom: 88px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(38px, 6vw, 82px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; }
h4 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; }

p { max-width: 68ch; }

strong { color: #fff; font-weight: 600; }

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

/* ---------- Utility ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 24px);
}

.num,
.stat__num {
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.label,
.eyebrow {
  display: inline-block;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-blue);
  line-height: 1.6;
}

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--data-amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -72px;
  transform: translateX(-50%);
  z-index: 140;
  background: var(--live-lime);
  color: var(--ink);
  padding: 11px 22px;
  border-radius: 0 0 16px 16px;
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.96), rgba(11, 43, 36, 0.94));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.masthead__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gut) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: padding 0.3s var(--ease);
}

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

.brand__mark {
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--signal-orange), var(--data-amber));
  margin-bottom: 12px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.1vw, 40px);
  letter-spacing: 0.2em;
  line-height: 1;
  text-indent: 0.2em;
  color: var(--mist);
}

.brand__sub {
  margin-top: 8px;
  font-family: var(--font-numeric);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-height: 60px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.32s var(--ease), opacity 0.26s var(--ease), transform 0.32s var(--ease);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(16, 58, 49, 0.66);
  color: var(--steel-blue);
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill--live {
  color: var(--live-lime);
  border-color: rgba(200, 255, 77, 0.42);
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live-lime);
  box-shadow: 0 0 0 0 rgba(200, 255, 77, 0.6);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(200, 255, 77, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(200, 255, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 77, 0); }
}

.header-cta {
  position: absolute;
  right: var(--gut);
  top: 26px;
}

/* 收缩态 */
.site-header[data-shrink] .masthead__inner { padding-top: 12px; }
.site-header[data-shrink] .status-strip {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
}

/* ---------- Nav ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  position: absolute;
  top: 16px;
  right: var(--gut);
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(16, 58, 49, 0.86);
  color: var(--mist);
  cursor: pointer;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease), background 0.24s;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.nav-toggle[aria-expanded="true"] { border-color: rgba(200, 255, 77, 0.5); color: var(--live-lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: var(--live-lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); background: var(--live-lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); background: var(--live-lime); }

.site-nav {
  display: flex;
  justify-content: center;
  padding: 14px var(--gut) 18px;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(16, 58, 49, 0.74);
  border: 1px solid var(--line);
}

.site-nav__item { position: relative; }

.site-nav__link {
  display: block;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav__link:hover { background: rgba(255, 106, 43, 0.18); color: #fff; }

.site-nav__link[aria-current="page"] {
  background: var(--signal-orange);
  color: var(--ink);
  font-weight: 700;
}

/* 悬停预览 */
.nav-peek {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  min-width: 236px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-deep), rgba(7, 26, 43, 0.96));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.site-nav__item:hover .nav-peek,
.site-nav__item:focus-within .nav-peek {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-peek__title {
  font-family: var(--font-numeric);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 6px;
  padding-left: 8px;
}

.nav-peek__row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--neutral-gray);
  max-width: none;
}

.nav-peek__idx {
  font-family: var(--font-numeric);
  font-size: 11px;
  color: var(--data-amber);
  letter-spacing: 0.06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-numeric);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--orange {
  background: var(--signal-orange);
  color: var(--ink);
  font-weight: 600;
}
.btn--orange:hover { background: var(--data-amber); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(16, 58, 49, 0.55);
  border-color: var(--line-strong);
  color: var(--mist);
}
.btn--ghost:hover { border-color: var(--live-lime); color: var(--live-lime); transform: translateY(-2px); }

.btn--sm { padding: 9px 16px; font-size: 11px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(16, 58, 49, 0.6);
  color: var(--neutral-gray);
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pill--live  { color: var(--live-lime);  border-color: rgba(200, 255, 77, 0.42); }
.pill--amber { color: var(--data-amber); border-color: rgba(245, 165, 36, 0.4); }
.pill--alert { color: var(--alert-red);  border-color: rgba(229, 72, 77, 0.42); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.section__head h2 { max-width: 22ch; }

/* ---------- Panels ---------- */
.panel {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, var(--panel-deep), rgba(7, 26, 43, 0.86));
}

.panel--flat { background: var(--panel-deep); }

.panel--slant { border-top-left-radius: 68px; }

.panel--accent {
  border-color: rgba(255, 106, 43, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.08);
}

/* ---------- Grids ---------- */
.rail-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 2.4fr;
  gap: 40px;
  align-items: start;
}

/* ---------- Stats & data band ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__num {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--data-amber);
}

.stat__cap {
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.stat--live .stat__num { color: var(--live-lime); }
.stat--alert .stat__num { color: var(--alert-red); }

.data-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.data-band__cell {
  flex: 1 1 168px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--panel-deep);
}

.data-band__cell--amber { background: linear-gradient(160deg, rgba(245, 165, 36, 0.12), var(--panel-deep)); }
.data-band__cell--live  { background: linear-gradient(160deg, rgba(200, 255, 77, 0.1), var(--panel-deep)); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 4px 0 0 24px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.timeline__item { position: relative; padding-bottom: 28px; }
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--data-amber);
  border: 2px solid var(--deep-pitch);
}

.timeline__item--live::before { background: var(--live-lime); }

.timeline__time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.timeline__item p { color: var(--neutral-gray); font-size: 15px; }

/* ---------- Light table ---------- */
.table-lite {
  width: 100%;
  font-size: 15px;
  text-align: left;
}

.table-lite__head th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-numeric);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-blue);
  white-space: nowrap;
}

.table-lite td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--neutr al-gray, #A9B4B0);
}

.table-lite tbody tr:hover td { background: rgba(245, 165, 36, 0.06); color: var(--mist); }

.table-lite td.num { color: var(--data-amber); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: rgba(126, 147, 168, 0.5); }
.breadcrumb a { text-decoration: none; color: var(--neutral-gray); }
.breadcrumb a:hover { color: var(--live-lime); }
.breadcrumb [aria-current="page"] { color: var(--data-amber); }

/* ---------- Media frame (图片容器基础) ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 106, 43, 0.16), transparent 62%),
    linear-gradient(150deg, var(--panel-deep), var(--night-stand));
  aspect-ratio: 16 / 9;
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(126, 147, 168, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 147, 168, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ---------- Tabs ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(16, 58, 49, 0.55);
  color: var(--neutral-gray);
  cursor: pointer;
  font-family: var(--font-numeric);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tab:hover { border-color: var(--line-strong); color: var(--mist); }

.tab[aria-selected="true"] {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  color: var(--ink);
  font-weight: 600;
}

.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line-soft); }

.acc__item { border-bottom: 1px solid var(--line-soft); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}

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

.acc__btn::after {
  content: '+';
  flex: none;
  font-family: var(--font-numeric);
  font-size: 18px;
  color: var(--data-amber);
  transition: transform 0.24s var(--ease);
}

.acc__btn[aria-expanded="true"]::after { content: '–'; transform: rotate(180deg); }

.acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}
.acc__panel[data-open] { max-height: 640px; }

.acc__panel-inner {
  padding-bottom: 20px;
  color: var(--neutral-gray);
  font-size: 15.5px;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 130;
  pointer-events: none;
  background: rgba(126, 147, 168, 0.16);
}

.scroll-progress__fill {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--signal-orange), var(--data-amber) 55%, var(--live-lime));
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 77, 0.42);
  background: rgba(7, 26, 43, 0.86);
  color: var(--live-lime);
  font-family: var(--font-numeric);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--signal-orange); color: var(--signal-orange); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 96px;
  padding: 68px 0 34px;
  background: linear-gradient(180deg, var(--deep-pitch), var(--night-stand) 78%);
  border-top: 1px solid var(--line);
  color: var(--neutral-gray);
  font-size: 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2.1fr 1fr;
  gap: 52px;
  align-items: start;
}

.footer-brand__mark {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--signal-orange), var(--data-amber));
  margin-bottom: 16px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: 0.18em;
  color: var(--mist);
  line-height: 1.1;
}

.footer-brand__sig {
  margin-top: 8px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.footer-note {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel-blue);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__list a {
  text-decoration: none;
  color: var(--mist);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}
.footer-col__list a:hover { color: var(--live-lime); }

.footer-contact__row {
  margin-bottom: 10px;
  font-family: var(--font-numeric);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--neutral-gray);
  word-break: break-word;
}

.footer-contact__row a { color: var(--data-amber); text-decoration: none; }
.footer-contact__row a:hover { color: var(--live-lime); }

.footer-contact__row--addr {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel-blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel-blue);
}

.footer-copy, .footer-icp { max-width: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1440px) {
  :root { --wrap: 1240px; }
}

@media (max-width: 1024px) {
  .rail-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .section { padding: 56px 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .masthead__inner { padding-top: 18px; gap: 12px; }

  .site-nav {
    display: block;
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 var(--gut);
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), visibility 0.4s;
  }

  .site-nav[data-open] {
    max-height: min(74vh, 640px);
    overflow-y: auto;
    visibility: visible;
    padding: 0 var(--gut) 20px;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 12px;
  }

  .site-nav__link {
    padding: 13px 16px;
    border-radius: var(--radius-md);
  }

  .nav-peek { display: none; }
}

@media (max-width: 768px) {
  :root {
    --gut: 20px;
    --radius-lg: 20px;
    --radius-md: 14px;
  }

  body { font-size: 16px; line-height: 1.72; }

  .section { padding: 44px 0; }

  .panel { padding: 22px; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer { margin-top: 64px; padding: 48px 0 26px; }

  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .footer-cols { grid-template-columns: 1fr; }
  .data-band__cell { flex-basis: 100%; }
  .section__head { flex-direction: column; align-items: flex-start; }
}

/* 大屏放大字距与行距 */
@media (min-width: 1600px) {
  body { font-size: 18px; }
  .section { padding: 88px 0; }
}

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

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

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