/* ==========================================================================
   浩瀚体育投注 · 共享站点样式 /assets/site.css
   夜间球场指挥台 · 深空蓝底 / 电光青数据条 / 信号橙行动 / 荧光绿核对
   ========================================================================== */

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

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:root {
  --bg-deep: #0A1226;
  --bg-panel: #101B36;
  --line: #1C2B4F;
  --text: #F2F6FF;
  --muted: #93A6C9;
  --cyan: #00E5FF;
  --orange: #FF7A1A;
  --lime: #B6FF3C;
  --deck: #0C1A3A;
  --hover: #2A3F73;

  --shell: 1240px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- 基础版面 ---------- */

body {
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(0, 229, 255, .16), transparent 62%),
    radial-gradient(760px 460px at 2% 0%, rgba(255, 122, 26, .10), transparent 60%),
    linear-gradient(rgba(28, 43, 79, .32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 43, 79, .32) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: 100% 900px, 100% 700px, 24px 24px, 24px 24px;
  background-position: top center, top center, 0 0, 0 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body,
.site-header,
.site-footer,
main {
  position: relative;
}

main,
.site-footer {
  z-index: 1;
}

main {
  padding-bottom: 8px;
}

::selection {
  background: rgba(0, 229, 255, .28);
  color: var(--text);
}

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

/* ---------- 排版工具 ---------- */

.t-display {
  font-size: clamp(52px, 8.4vw, 96px);
  line-height: .95;
  font-weight: 900;
  font-stretch: 85%;
  letter-spacing: -.035em;
  color: var(--text);
}

.t-page {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.06;
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -.02em;
  color: var(--text);
}

.t-block {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

.t-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

.t-label {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--muted);
}

.t-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .14em;
  color: var(--muted);
}

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

/* ---------- 序号 / 标签 / 状态 ---------- */

.idx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--cyan);
  color: #02121A;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 0 14px rgba(0, 229, 255, .35);
}

.idx-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.idx-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 43, 79, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .08);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 122, 26, .45);
  background: rgba(255, 122, 26, .08);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--lime);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(182, 255, 60, .85);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: #1A0B00;
  box-shadow: 0 6px 18px rgba(255, 122, 26, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #FF9040;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 122, 26, .3);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(16, 27, 54, .5);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, .07);
  transform: translateY(-2px);
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 120;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--cyan);
  color: #02121A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: top .18s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 26, 58, .88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(8, 15, 33, .95);
  border-bottom-color: rgba(0, 229, 255, .28);
}

.header-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 品牌字标 */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  font-size: 24px;
  font-weight: 900;
  font-stretch: 85%;
  letter-spacing: .04em;
  color: var(--text);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 4px;
  bottom: -5px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 229, 255, 0));
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.brand-full {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text);
}

.brand-line {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}

.brand-version {
  align-self: center;
  padding: 2px 6px;
  border: 1px solid rgba(0, 229, 255, .45);
  border-radius: 4px;
  background: rgba(0, 229, 255, .10);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.4;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  color: var(--cyan);
}

/* 导航（桌面：两端分置右侧一列） */

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  flex: 0 0 auto;
}

.nav-link {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease), transform .2s var(--ease);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
  opacity: .72;
}

.nav-label {
  font-size: 14px;
  letter-spacing: .04em;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .07);
  transform: translateY(-2px);
}

.nav-link[aria-current="page"] {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .10);
}

.nav-link[aria-current="page"] .nav-num {
  opacity: 1;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.nav-util-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav-util-link:hover,
.nav-util-link:focus-visible {
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
}

.nav-cta {
  margin-left: 8px;
  flex: 0 0 auto;
}

/* 移动导航按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16, 27, 54, .8);
  color: var(--text);
  font-size: 13px;
  letter-spacing: .1em;
  flex: 0 0 auto;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(0, 229, 255, .55);
  color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, .10);
}

.nav-toggle-bars {
  display: block;
  width: 16px;
  height: 10px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px;
  background-position: 0 0, 0 50%, 0 100%;
  background-repeat: no-repeat;
  transition: transform .22s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  transform: rotate(90deg);
}

.nav-toggle-text {
  line-height: 1;
}

/* 顶部滚动进度（计时器式发光条） */

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
}

.scroll-meter::before {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  transition: transform .14s linear;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--deck);
  border-top: 1px solid rgba(0, 229, 255, .22);
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(360px, 42%);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 229, 255, 0));
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px var(--gutter) 30px;
}

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

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

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 26px;
  font-weight: 900;
  font-stretch: 85%;
  letter-spacing: .02em;
  color: var(--text);
}

.footer-brand-sub {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--muted);
}

.footer-brand:hover .footer-brand-sub,
.footer-brand:focus-visible .footer-brand-sub {
  color: var(--cyan);
}

.footer-stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.8;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 0 26px;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--cyan);
}

.footer-col-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, .5);
  flex: 0 0 auto;
}

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

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--muted);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: width .2s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  padding-left: 14px;
}

.footer-link:hover::before,
.footer-link:focus-visible::before {
  width: 9px;
}

.footer-contact-line {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer-contact .footer-contact-line:first-of-type {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.footer-service {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- 容器与网格 ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

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

/* ---------- 内容面 ---------- */

.surface {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.surface--soft {
  background: linear-gradient(160deg, #12203D 0%, #0C1529 100%);
}

.hairline {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  padding: 22px 0 6px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-link {
  color: var(--muted);
  transition: color .2s var(--ease);
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible {
  color: var(--cyan);
}

.breadcrumb-current {
  color: var(--text);
}

/* ---------- 图片容器基础 ---------- */

.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  background-image:
    radial-gradient(140% 120% at 78% 8%, rgba(0, 229, 255, .16), transparent 60%),
    linear-gradient(rgba(28, 43, 79, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 43, 79, .5) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 38, 0) 38%, rgba(10, 18, 38, .88) 100%);
}

.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--2x1 { aspect-ratio: 2 / 1; }

.media--slant { clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%); }
.media--slant-r { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }

.media-cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text);
}

/* ---------- 交互状态钩子 ---------- */

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .46s var(--ease), transform .46s var(--ease);
}

.js-ready [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

[data-spy-link] {
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

[data-spy-link][aria-current="true"] {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, .55);
}

[data-landed="true"] {
  box-shadow: inset 0 0 0 1px var(--lime), 0 0 22px rgba(182, 255, 60, .18);
  transition: box-shadow .3s var(--ease);
}

/* ---------- 平板 ---------- */

@media (max-width: 1119px) {
  :root {
    --gutter: 20px;
  }

  body {
    padding-bottom: 86px;
  }

  .header-shell {
    padding: 12px var(--gutter);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 16, 34, .97);
    border-top: 1px solid rgba(0, 229, 255, .35);
    box-shadow: 0 -20px 44px rgba(2, 8, 20, .6);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .js-ready .nav {
    transform: translateY(110%);
    visibility: hidden;
    opacity: 0;
    transition: transform .3s var(--ease), opacity .22s var(--ease), visibility .3s var(--ease);
  }

  .js-ready .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-list {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
  }

  .nav-item {
    flex: 0 0 auto;
  }

  .nav-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 70px;
    min-height: 50px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .nav-num {
    font-size: 10px;
  }

  .nav-label {
    font-size: 13px;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    transform: none;
  }

  .nav-utility {
    flex: 0 0 auto;
    margin-left: 6px;
    padding-left: 9px;
  }

  .nav-util-link {
    padding: 10px 6px;
  }

  .nav-cta {
    flex: 0 0 auto;
    margin-left: 6px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

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

  .footer-contact {
    grid-column: span 2;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 1023px) {
  .span-5,
  .span-7,
  .span-8 {
    grid-column: span 6;
  }

  .span-9 {
    grid-column: span 12;
  }
}

/* ---------- 手机 ---------- */

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --radius: 10px;
  }

  body {
    font-size: 16px;
    background-size: 100% 720px, 100% 560px, 20px 20px, 20px 20px;
  }

  .brand-line {
    display: none;
  }

  .brand-meta {
    padding-left: 9px;
  }

  .brand-mark {
    font-size: 21px;
  }

  .brand-version {
    font-size: 10px;
  }

  .nav-link {
    min-width: 64px;
    min-height: 48px;
  }

  .grid-12 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

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

  .footer-shell {
    padding: 40px var(--gutter) 26px;
  }

  .footer-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-brand {
    font-size: 22px;
  }

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

  .footer-contact {
    grid-column: span 2;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .surface {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  .brand-full {
    display: none;
  }

  .nav-toggle-text {
    display: none;
  }
}

/* ---------- 无障碍：降低动态 ---------- */

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

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

  .nav-link:hover,
  .nav-link:focus-visible,
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }
}
