/* ==========================================================================
   新利赛场 — 共享样式 /assets/site.css
   夜场战术板：深蓝底 + 草皮绿光带 + 灯光金数字 + 记分牌红状态
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }

/* ---------- tokens ---------- */
:root {
  --ink: #0B1220;
  --ink-2: #131F33;
  --ink-3: #1B2A44;
  --board: #F2F5F3;
  --white: #FFFFFF;

  --grass: #1FD65F;
  --grass-deep: #0A7F4B;
  --gold: #FFC94A;
  --red: #C42B2B;
  --cyan: #4DD8E0;

  --text-dark: #0F1B2D;
  --text-light: #E6EEF5;
  --text-dim: #97A9BE;

  --line-light: rgba(230, 238, 245, .14);
  --line-dark: rgba(15, 27, 45, .14);
  --gold-line: rgba(255, 201, 74, .42);
  --grass-line: rgba(31, 214, 95, .34);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-soft: 0 24px 48px rgba(0, 0, 0, .48);
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.page-body { padding-block: clamp(28px, 5vw, 64px); }

.section { padding-block: clamp(40px, 7vw, 88px); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

/* ---------- typography ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
}

.h-sec {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: #fff;
}

.h-sub {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

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

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--grass);
  border-radius: 2px;
}

.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--text-light);
  max-width: 62ch;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 66ch;
}

a.body-link {
  color: var(--grass);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a.body-link:hover { color: var(--gold); }

.num {
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.num--gold { color: var(--gold); }
.num--cyan { color: var(--cyan); }
.num--lg { font-size: 1.6em; }

.note {
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--text-dim);
}

.note-rail {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- surface 切换 ---------- */
.surface-board {
  background: var(--board);
  color: var(--text-dark);
}

.surface-board .display-xl,
.surface-board .h-sec,
.surface-board .h-sub { color: var(--text-dark); }

.surface-board .lede,
.surface-board .body-text { color: var(--text-dark); }

.surface-board .note,
.surface-board .note-rail { color: #5A6B80; }

.surface-board .eyebrow { color: var(--grass-deep); }
.surface-board .eyebrow::before { background: var(--grass-deep); }

.surface-board a.body-link { color: var(--grass-deep); }

/* ---------- 面板与玻璃层 ---------- */
.glass {
  background: rgba(19, 31, 51, .62);
  border: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.panel {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 30px);
}

.panel--board {
  background: var(--board);
  color: var(--text-dark);
  border-color: var(--line-dark);
}

.panel--white {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--line-dark);
}

.panel--edge {
  position: relative;
  overflow: hidden;
}

.panel--edge::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--grass), var(--cyan) 55%, var(--gold));
}

/* ---------- Bento 骨架 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.bento__cell {
  position: relative;
  grid-column: span 12;
  min-width: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.bento__cell--span3,
.bento__cell--span4,
.bento__cell--span6,
.bento__cell--span8 { grid-column: span 12; }

@media (min-width: 760px) {
  .bento__cell--span3 { grid-column: span 6; }
  .bento__cell--span4 { grid-column: span 6; }
  .bento__cell--span6 { grid-column: span 6; }
  .bento__cell--span8 { grid-column: span 12; }
}

@media (min-width: 1060px) {
  .bento__cell--span3 { grid-column: span 3; }
  .bento__cell--span4 { grid-column: span 4; }
  .bento__cell--span6 { grid-column: span 6; }
  .bento__cell--span8 { grid-column: span 8; }
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .07);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.tag--live {
  background: var(--red);
  border-color: transparent;
  color: #fff;
}

.tag--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}

.tag--grass { background: var(--grass); border-color: transparent; color: #04240F; }
.tag--gold { background: var(--gold); border-color: transparent; color: #22190A; }
.tag--cyan { background: rgba(77, 216, 224, .16); border-color: rgba(77, 216, 224, .42); color: var(--cyan); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

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

.btn--grass { background: var(--grass); color: #04240F; }
.btn--grass:hover { background: #4DEE82; }

.btn--gold { background: var(--gold); color: #22190A; }
.btn--gold:hover { background: #FFD977; }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-light);
  color: var(--text-light);
}

.btn--ghost:hover { border-color: var(--grass); color: var(--grass); }

.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 18px 0 2px; font-size: 13px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.crumbs li { color: var(--text-dim); }

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(230, 238, 245, .28);
}

.crumbs a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.crumbs a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- 图片容器（页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  isolation: isolate;
  background:
    radial-gradient(circle at 26% 18%, rgba(31, 214, 95, .24), transparent 56%),
    radial-gradient(circle at 80% 78%, rgba(77, 216, 224, .18), transparent 54%),
    radial-gradient(circle at 60% 8%, rgba(255, 201, 74, .14), transparent 46%),
    linear-gradient(160deg, #131F33 0%, #0B1220 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 26px);
  pointer-events: none;
}

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

.media-frame--16x9 { aspect-ratio: 16 / 9; min-height: 0; }
.media-frame--4x3 { aspect-ratio: 4 / 3; min-height: 0; }
.media-frame--1x1 { aspect-ratio: 1 / 1; min-height: 0; }
.media-frame--wide { aspect-ratio: 21 / 9; min-height: 0; }
.media-frame--tall { aspect-ratio: 3 / 4; min-height: 0; }

/* ---------- 章节目录跟随 ---------- */
.toc-link {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line-light);
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

.toc-link:hover { color: var(--text-light); }

.toc-link.is-active {
  color: var(--grass);
  border-left-color: var(--grass);
  font-weight: 700;
}

/* ---------- 滚动进度 & 返回顶部（JS 注入） ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--grass), var(--cyan) 48%, var(--gold));
  pointer-events: none;
  z-index: 400;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--grass-line);
  border-radius: 50%;
  background: rgba(19, 31, 51, .92);
  color: var(--grass);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease, background-color .18s ease, color .18s ease;
  z-index: 300;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grass); color: #04240F; }

/* ---------- 渐显 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #16150C;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}

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

/* 上层：品牌说明条 */
.nav-top {
  background: var(--ink);
  border-bottom: 1px solid var(--gold-line);
}

.nav-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding-block: 4px;
}

.brand-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-sign__mark {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 4px rgba(31, 214, 95, .16);
  animation: pulse 2.6s ease-in-out infinite;
}

.brand-sign__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #fff;
}

.brand-sign__tag {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-top__utils {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.util-link {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}

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

.util-link--strong { color: var(--grass); font-weight: 700; }
.util-link--strong:hover { color: var(--gold); }

.util-meta {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--text-dim);
  white-space: nowrap;
}

/* 下层：主导航条 */
.nav-main {
  position: relative;
  background: rgba(19, 31, 51, .88);
  border-bottom: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.nav-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
}

.primary-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 18px 14px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text-light);
  text-decoration: none;
  transition: color .18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  height: 3px;
  border-radius: 2px;
  background: var(--grass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s cubic-bezier(.2, .7, .3, 1), background-color .18s ease;
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); background: var(--gold); }

.nav-link[aria-current="page"] { color: #fff; font-weight: 700; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--grass); }

.nav-num {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-dim);
  transition: color .18s ease;
}

.nav-link:hover .nav-num { color: var(--gold); }
.nav-link[aria-current="page"] .nav-num { color: var(--grass); }

.nav-label { white-space: nowrap; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}

.nav-toggle:hover { border-color: var(--grass); color: var(--grass); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动菜单底部联络区（桌面隐藏） */
.nav-panel-foot { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: var(--text-light);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grass) 18%, var(--gold) 50%, var(--cyan) 82%, transparent);
  opacity: .85;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  padding-block: clamp(38px, 6vw, 66px);
}

.footer-col { min-width: 0; }
.footer-col--brand { max-width: 42ch; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--grass);
  margin-bottom: 12px;
}

.footer-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.footer-title {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 14.5px;
  color: var(--text-light);
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.footer-contact strong {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: .04em;
}

.copy-email {
  display: inline-block;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px dashed var(--line-light);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-num);
  font-size: 13.5px;
  text-align: left;
  word-break: break-all;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, border-style .18s ease;
}

.copy-email:hover { border-color: var(--grass); color: var(--grass); }

.copy-email.is-copied {
  border-style: solid;
  border-color: var(--grass);
  color: var(--grass);
  background: rgba(31, 214, 95, .1);
}

.footer-legal { border-top: 1px solid var(--line-light); }

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 26px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-legal__copy {
  font-family: var(--font-num);
  letter-spacing: .04em;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-legal__links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s ease;
}

.footer-legal__links a:hover { color: var(--gold); }

/* ==========================================================================
   动效
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.82); }
}

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

.num-flip { animation: flipIn .38s ease both; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-link { padding-inline: 11px; font-size: 14.5px; }
  .nav-link::after { left: 11px; right: 11px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 104px; }

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

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    background: #0B1220;
    border-top: 1px solid var(--grass-line);
    border-bottom: 1px solid var(--gold-line);
    box-shadow: var(--shadow-soft);
    padding: 6px 0 18px;
  }

  .site-header[data-open] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding-inline: clamp(16px, 4vw, 40px);
  }

  .nav-item { display: block; }

  .nav-link {
    display: flex;
    justify-content: flex-start;
    padding: 15px 2px;
    font-size: 16.5px;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 28px;
    bottom: 9px;
  }

  .nav-panel-foot {
    display: grid;
    gap: 6px;
    margin: 16px clamp(16px, 4vw, 40px) 0;
    padding-top: 16px;
    border-top: 1px dashed var(--line-light);
  }

  .nav-panel-foot__link {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
  }

  .nav-panel-foot__link:hover { color: var(--grass); }

  .nav-panel-foot__meta {
    font-family: var(--font-num);
    font-size: 12.5px;
    color: var(--text-dim);
    word-break: break-all;
  }

  .footer-col--brand { max-width: none; }
}

@media (max-width: 860px) {
  .util-meta--lang { display: none; }
}

@media (max-width: 720px) {
  .nav-top__utils { gap: 14px; }
  .brand-sign__tag { display: none; }
}

@media (max-width: 620px) {
  .util-meta--icp { display: none; }
  .footer-legal__inner { justify-content: flex-start; }
}

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

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
}

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

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

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