/* ==========================================================================
   爱游戏看台 — 共享样式 /assets/site.css
   夜场看台 + 数据记分牌：深墨绿地基 / 炭黑承重 / 荧光青柠状态 / 暖橙数据
   ========================================================================== */

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

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

body {
  margin: 0;
  min-height: 100%;
}

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

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

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- 2. Tokens ---------- */
:root {
  --c-green: #061F1A;
  --c-black: #111514;
  --c-teal: #0E3B32;
  --c-lime: #C6FF2E;
  --c-orange: #FF7A1A;
  --c-paper: #F4F7F2;
  --c-steel: #7C8A84;
  --c-timer: #34E0C8;
  --c-warn: #FFD84D;

  --text: var(--c-paper);
  --text-dim: #A9B7B1;

  --line: rgba(244, 247, 242, 0.14);
  --line-lime: rgba(198, 255, 46, 0.42);
  --line-orange: rgba(255, 122, 26, 0.55);

  --font-display: "MiSans Heavy", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-hard: 6px 6px 0 #040C0A;
  --shadow-deep: 8px 8px 0 #040C0A;
  --shadow-lime: 6px 6px 0 var(--c-lime);
  --shadow-orange: 6px 6px 0 var(--c-orange);

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --gap: 20px;
  --radius: 2px;
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  background-color: var(--c-green);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

::selection {
  background: var(--c-lime);
  color: var(--c-black);
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 200;
  display: inline-block;
  padding: 12px 20px;
  background: var(--c-lime);
  color: var(--c-black);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--c-black);
  box-shadow: 4px 4px 0 var(--c-orange);
  transition: top 0.18s ease;
}

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

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--c-black);
  color: var(--c-paper);
  border-bottom: 2px solid var(--line-lime);
}

.site-header__bar {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__side {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-width: 0;
}

/* 品牌字标 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-paper);
  flex: 0 0 auto;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 40px;
  background: var(--c-lime);
  color: var(--c-black);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid #040C0A;
  box-shadow: 3px 3px 0 var(--c-orange);
  transform: skewX(-6deg);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.brand:hover .brand__mark {
  box-shadow: 5px 5px 0 var(--c-orange);
  transform: skewX(-6deg) translate(-1px, -1px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
  gap: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--c-steel);
  white-space: nowrap;
}

.brand--footer .brand__name { font-size: 1.25rem; }
.brand--footer .brand__sub { color: var(--c-timer); }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--c-paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

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

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  display: block;
  min-width: 0;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #CBD5CF;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.site-nav__link:hover {
  color: var(--c-lime);
  border-color: var(--line-lime);
}

.site-nav__link[aria-current="page"] {
  background: var(--c-lime);
  color: var(--c-black);
  border-color: var(--c-lime);
  font-weight: 800;
}

.site-nav__mobile-cta {
  display: none;
}

/* 阅读进度条 */
.scroll-progress {
  display: block;
  width: 0;
  height: 3px;
  background: var(--c-lime);
  transition: width 0.1s linear;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid #040C0A;
  border-radius: var(--radius);
  background: var(--c-paper);
  color: var(--c-black);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.65);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.65);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.65);
}

.btn--lime {
  background: var(--c-lime);
  color: var(--c-black);
  border-color: #040C0A;
}

.btn--lime:hover {
  background: #D4FF5C;
}

.btn--orange {
  background: var(--c-orange);
  color: #1A0B00;
  border-color: #1A0B00;
}

.btn--ghost {
  background: transparent;
  color: var(--c-paper);
  border-color: rgba(244, 247, 242, 0.6);
  box-shadow: 4px 4px 0 rgba(198, 255, 46, 0.32);
}

.btn--ghost:hover {
  color: var(--c-lime);
  border-color: var(--c-lime);
  box-shadow: 6px 6px 0 rgba(198, 255, 46, 0.42);
}

.header-cta {
  flex: 0 0 auto;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--c-black);
  color: var(--c-paper);
  border-top: 2px solid var(--line-lime);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 1.6fr) minmax(240px, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

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

.site-footer__statement {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #C3D0CA;
  max-width: 34ch;
}

.site-footer__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-steel);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.6vw, 48px);
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 96px;
}

.footer-group__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-lime);
}

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

.footer-group__link {
  display: inline-block;
  padding: 3px 0;
  font-size: 0.92rem;
  color: #C3D0CA;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-group__link:hover {
  color: var(--c-lime);
  border-bottom-color: var(--c-lime);
}

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

.site-footer__contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #C3D0CA;
  overflow-wrap: anywhere;
}

.site-footer__contact-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-steel);
  padding-top: 3px;
}

.site-footer__note {
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-warn);
  background: rgba(255, 216, 77, 0.08);
  border-left: 3px solid var(--c-warn);
}

.site-footer__base {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-steel);
}

.site-footer__copy { color: var(--c-steel); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.site-footer__legal-link {
  color: #9FAEA8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-footer__legal-link:hover {
  color: var(--c-timer);
  border-bottom-color: var(--c-timer);
}

.site-footer__icp {
  color: var(--c-steel);
  white-space: nowrap;
}

/* ---------- 8. 容器与板块 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(32px, 6vw, 72px);
}

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

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

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--c-lime);
}

.page-title {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-title em {
  font-style: normal;
  color: var(--c-orange);
}

.page-lead {
  max-width: 62ch;
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #B9C7C1;
}

/* ---------- 9. Bento 网格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}

.bento > * { min-width: 0; }

.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-10 { grid-column: span 10; }
.span-12 { grid-column: span 12; }

/* ---------- 10. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--c-teal);
  border: 2px solid rgba(4, 12, 10, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-deep);
  border-color: var(--line-lime);
}

.card--lime {
  background: var(--c-lime);
  color: var(--c-black);
  border-color: #040C0A;
  box-shadow: var(--shadow-orange);
}

.card--ink {
  background: var(--c-black);
  border-color: rgba(244, 247, 242, 0.18);
}

.card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-lime);
}

.card--lime .card__label { color: #0A2418; }

.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card__body {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #B9C7C1;
}

.card--lime .card__body { color: #12241B; }

/* ---------- 11. 标签与徽标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  background: rgba(244, 247, 242, 0.08);
  color: var(--c-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag--lime {
  background: var(--c-lime);
  color: var(--c-black);
  border-color: #040C0A;
  transform: skewX(-6deg);
}

.tag--orange {
  background: var(--c-orange);
  color: #1A0B00;
  border-color: #1A0B00;
}

.tag--warn {
  background: var(--c-warn);
  color: #1A1500;
  border-color: #1A1500;
}

.tag--outline {
  background: transparent;
  color: var(--c-lime);
  border-color: var(--line-lime);
}

/* ---------- 12. 等宽数字 ---------- */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
  text-align: right;
}

.num--xl {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-orange);
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  padding-top: clamp(16px, 3vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-steel);
}

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

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

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

.breadcrumb__link {
  color: #A9B7B1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

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

.breadcrumb__item[aria-current="page"] {
  color: var(--c-paper);
}

/* ---------- 14. 图片容器基础 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-teal);
  border: 2px solid #040C0A;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(6, 31, 26, 0.28) 0,
    rgba(6, 31, 26, 0.28) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.55;
  z-index: 1;
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 6px 12px;
  background: var(--c-black);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  border-top: 2px solid var(--c-lime);
}

.media--wide { aspect-ratio: 16 / 7; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }

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

/* ---------- 15. 纵向标签带 ---------- */
.side-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.side-rail__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-steel);
  border-left: 2px solid var(--line-lime);
}

/* ---------- 16. 进场上浮 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---------- 17. 移动导航 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--c-green);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .site-nav__item { width: 100%; }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--c-paper);
    background: rgba(14, 59, 50, 0.55);
    border-color: var(--line);
  }

  .site-nav__link::after {
    content: "→";
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 400;
    color: var(--c-lime);
  }

  .site-nav__link[aria-current="page"] {
    background: var(--c-lime);
    color: var(--c-black);
    border-color: var(--c-lime);
  }

  .site-nav__link[aria-current="page"]::after { color: var(--c-black); }

  .site-nav__mobile-cta {
    display: flex;
    width: 100%;
    margin-top: 18px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- 18. 平板 ---------- */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

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

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

  .side-rail {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .side-rail__label {
    writing-mode: horizontal-tb;
    border-left: 0;
    border-bottom: 2px solid var(--line-lime);
    padding: 4px 6px 6px;
    white-space: nowrap;
  }
}

/* ---------- 19. 手机 ---------- */
@media (max-width: 620px) {
  body { font-size: 16px; }

  .brand__sub { display: none; }
  .brand__mark { width: 42px; height: 36px; font-size: 13px; }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    gap: 24px 32px;
  }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .media--tilt { transform: none; }
}

@media (max-width: 380px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0 12px; }
}

/* ---------- 20. 降低动态效果 ---------- */
@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;
  }

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

  .card:hover,
  .btn:hover,
  .brand:hover .brand__mark {
    transform: none;
  }
}
