/* ============================================================
   博喜体育 · 共享样式表 /assets/site.css
   框架式导航 + 堆叠面板 · 海南热带体育数据站
   ============================================================ */

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

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

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

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

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

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink: #0B1B2A;
  --ink-deep: #08131F;
  --ink-2: #14304A;
  --aqua: #16E0C8;
  --violet: #7A5CFF;
  --sand: #F2B33D;
  --coral: #FF6B4A;
  --palm: #2FA36B;
  --mist: #F4F7F8;
  --graphite: #2B3440;
  --haze: #8FA3B5;

  --text: #E8EFF5;
  --text-soft: #B9CADA;

  --frame-top: 76px;
  --frame-rail: 76px;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(.22, .68, .32, 1);
  --line: rgba(143, 163, 181, .22);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Roboto Mono", "Noto Sans Mono", monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink);
  min-height: 100vh;
  padding-top: var(--frame-top);
  padding-left: var(--frame-rail);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

strong, b { font-weight: 700; color: #fff; }

::selection { background: rgba(22, 224, 200, .34); color: #fff; }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--aqua);
  color: #04211C;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 品牌组合 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--violet) 52%, var(--sand) 100%);
  box-shadow: 0 8px 22px rgba(22, 224, 200, .22);
  transition: width .3s var(--ease), height .3s var(--ease), border-radius .3s var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--ink-deep);
  transform: rotate(45deg);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.18; }

.brand__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
}

.brand__tagline {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--haze);
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}

/* ---------- 6. 页头框架 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  height: var(--frame-top);
  padding-inline: clamp(14px, 2.2vw, 26px);
  background: linear-gradient(96deg, #0B1B2A 0%, #0F2438 58%, #14304A 100%);
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), gap .3s var(--ease),
              background .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-condensed .site-header__bar {
  padding-inline: clamp(12px, 1.5vw, 20px);
  gap: clamp(8px, 1.1vw, 16px);
  background: linear-gradient(96deg, #071320 0%, #0B1E30 60%, #10283C 100%);
  box-shadow: 0 16px 38px rgba(3, 11, 19, .58);
}
.site-header.is-condensed .brand__mark { width: 34px; height: 34px; border-radius: 11px; }
.site-header.is-condensed .brand__name { font-size: 17px; }
.site-header.is-condensed .brand__tagline { opacity: 0; }

/* ---------- 7. 主导航 ---------- */
.site-nav { display: block; margin-inline-start: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .7vw, 10px);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  color: #C7D6E2;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(22, 224, 200, .12);
  border-color: rgba(22, 224, 200, .36);
}

.site-nav__link:focus-visible { outline-offset: 2px; }

.site-nav__link[aria-current="page"] {
  color: #062019;
  background: var(--aqua);
  border-color: var(--aqua);
  box-shadow: 0 8px 22px rgba(22, 224, 200, .3);
}

.site-nav__aside { display: none; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}

.btn--gold {
  background: var(--sand);
  color: #1B1200;
  box-shadow: 0 10px 26px rgba(242, 179, 61, .26);
}
.btn--gold:hover { background: #FFC65C; transform: translateY(-2px); }

.btn--ghost {
  color: #CFE0EC;
  border-color: rgba(143, 163, 181, .4);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover {
  color: #fff;
  border-color: var(--aqua);
  background: rgba(22, 224, 200, .12);
  transform: translateY(-2px);
}

.btn--aqua {
  background: var(--aqua);
  color: #062019;
  box-shadow: 0 10px 26px rgba(22, 224, 200, .24);
}
.btn--aqua:hover { background: #4BEFDB; transform: translateY(-2px); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* ---------- 9. 汉堡按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(143, 163, 181, .38);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  margin-inline-start: auto;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.nav-toggle:hover { border-color: var(--aqua); background: rgba(22, 224, 200, .12); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background .22s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), top .24s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* ---------- 10. 左侧赛季轨道 ---------- */
.site-header__rail {
  position: fixed;
  top: var(--frame-top);
  left: 0;
  bottom: 0;
  width: var(--frame-rail);
  z-index: 89;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 0 24px;
  background:
    repeating-linear-gradient(180deg, rgba(143, 163, 181, .07) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, #081320 0%, #0A1A2A 100%);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.rail__label {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--haze);
  text-transform: uppercase;
}

.rail__track {
  position: relative;
  flex: 1 1 auto;
  width: 6px;
  min-height: 80px;
  border-radius: var(--r-pill);
  background: rgba(143, 163, 181, .18);
  overflow: hidden;
}

.rail__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--aqua) 0%, var(--violet) 100%);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform .18s linear;
}

.rail__marks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.rail__mark {
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(143, 163, 181, .45);
}

.rail__round {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--sand);
  writing-mode: vertical-rl;
}

/* ---------- 11. 通用版式 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 34em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(18px, 2.6vw, 32px);
}

/* ---------- 12. 面板与栅格 ---------- */
.panel {
  position: relative;
  padding: clamp(22px, 3.2vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, #14304A 0%, #102639 100%);
}

.panel--ghost {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(143, 163, 181, .3);
}

.panel--light {
  background: var(--mist);
  color: var(--graphite);
  border-color: rgba(11, 27, 42, .1);
}
.panel--light .lede { color: #4A5A6B; }
.panel--light .stat__value { color: var(--graphite); }
.panel--light .stat__label { color: #6D7E8E; }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 13. 胶囊标签与切换 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(22, 224, 200, .34);
  background: rgba(22, 224, 200, .12);
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  white-space: nowrap;
}
.pill--gold   { color: var(--sand);   border-color: rgba(242, 179, 61, .34); background: rgba(242, 179, 61, .12); }
.pill--violet { color: #B7A6FF;       border-color: rgba(122, 92, 255, .38); background: rgba(122, 92, 255, .14); }
.pill--coral  { color: var(--coral);  border-color: rgba(255, 107, 74, .34); background: rgba(255, 107, 74, .12); }
.pill--palm   { color: #63D69E;       border-color: rgba(47, 163, 107, .38); background: rgba(47, 163, 107, .14); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(143, 163, 181, .32);
  background: rgba(255, 255, 255, .04);
  color: #C7D6E2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease);
}
.chip:hover { color: #fff; border-color: var(--aqua); background: rgba(22, 224, 200, .12); }
.chip[aria-pressed="true"],
.chip.is-active {
  color: #062019;
  background: var(--aqua);
  border-color: var(--aqua);
}

/* ---------- 14. 数据块与表格 ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--haze);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(143, 163, 181, .14);
  white-space: nowrap;
}

.data-table thead th {
  background: rgba(20, 48, 74, .92);
  color: #DCE8F1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(22, 224, 200, .07); }

.data-table td.num,
.data-table th.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ---------- 15. 面包屑 ---------- */
.breadcrumbs { margin-top: clamp(18px, 3vw, 30px); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--haze);
}

.breadcrumbs__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(143, 163, 181, .55);
}

.breadcrumbs a {
  color: var(--haze);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.breadcrumbs a:hover { color: var(--aqua); }

.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- 16. 图片容器 ---------- */
.figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.figure__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(143, 163, 181, .22);
  background: linear-gradient(140deg, #16334C 0%, #0D2136 100%);
  aspect-ratio: 16 / 9;
}

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

.figure__media--tall   { aspect-ratio: 3 / 4; }
.figure__media--square { aspect-ratio: 1 / 1; }
.figure__media--wide   { aspect-ratio: 21 / 9; }

.figure__media[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(244, 247, 248, .62);
}

.figure__caption {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--haze);
}

/* ---------- 17. 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua) 0%, var(--violet) 34%, var(--sand) 68%, var(--coral) 100%);
}

.site-footer__shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 74px) var(--gutter) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 2.5fr) minmax(0, 1.5fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand--footer .brand__mark { width: 42px; height: 42px; border-radius: 14px; }
.brand--footer .brand__name { font-size: 20px; }

.site-footer__pitch {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 26em;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.footer-col { display: flex; flex-direction: column; }

.footer-col__title {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--aqua);
}

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

.footer-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.footer-col__list a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--haze);
  opacity: .55;
  transform: rotate(45deg);
  transition: background .2s var(--ease), opacity .2s var(--ease);
}

.footer-col__list a:hover { color: #fff; transform: translateX(3px); }
.footer-col__list a:hover::before { background: var(--aqua); opacity: 1; }

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

.footer-contact__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
  word-break: break-word;
}

.footer-contact__key {
  flex: none;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--aqua);
  color: #04211C;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}

.footer-contact__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--haze);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.site-footer__base {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--haze);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-links a {
  font-size: 12.5px;
  color: var(--haze);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.legal-links a:hover { color: var(--aqua); }

/* ---------- 19. 平板断点 ---------- */
@media (max-width: 1160px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .site-footer__shell { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .grid--7-5,
  .grid--5-7,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 20. 移动端：抽屉式导航 ---------- */
@media (max-width: 1120px) {
  :root {
    --frame-top: 68px;
    --frame-rail: 0px;
  }

  body { padding-left: 0; }

  .site-header__rail { display: none; }
  .site-header__actions { display: none; }

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

  .site-nav {
    position: fixed;
    top: var(--frame-top);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    display: none;
    padding: 22px var(--gutter) 48px;
    background: #08131F;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav__link {
    padding: 15px 18px;
    border-radius: var(--r-md);
    border-color: rgba(143, 163, 181, .22);
    background: rgba(255, 255, 255, .03);
    font-size: 17px;
  }

  .site-nav__link[aria-current="page"] {
    color: #fff;
    background: rgba(22, 224, 200, .16);
    border-color: var(--aqua);
    box-shadow: none;
  }

  .site-nav__aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
  }

  .site-nav__aside .btn { padding: 14px 20px; font-size: 15.5px; }

  .site-header.is-condensed .brand__tagline { opacity: 1; }
}

/* ---------- 21. 手机断点 ---------- */
@media (max-width: 620px) {
  body { font-size: 16.5px; }

  .brand__tagline { display: none; }
  .brand__name { font-size: 17px; }

  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .panel { border-radius: var(--r-lg); }
  .figure__media { border-radius: var(--r-md); }
}

/* ---------- 22. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .rail__fill { transition: none; }
  .btn:hover { transform: none; }
}
