/* ==========================================================================
   TVT体育 · 共享样式表 /assets/site.css
   高原竞技场：夜空深蓝为底，藏红为锚，等宽数字为图形
   ========================================================================== */

:root {
  --night: #0A1633;
  --layer: #10224A;
  --ridge: #1B3A6B;
  --saffron: #C8102E;
  --banner: #F2B705;
  --jade: #00D6A4;
  --ember: #FF7A1A;
  --snow: #F4F7FF;
  --mist: #8FA3C8;
  --ice: #E8EDF7;
  --deep: #071026;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Courier New", monospace;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background-color: var(--night);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--snow);
}

p { margin: 0 0 1em; }

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

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

ul, ol { margin: 0; padding: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--ridge);
  margin: 2em 0;
}

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

::selection {
  background: var(--saffron);
  color: #fff;
}

/* --------------------------------------------------------------------------
   通用排版辅助
   -------------------------------------------------------------------------- */

.mono, .footer-mono, [data-year] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.footer-mono {
  color: var(--snow);
  font-size: 12.5px;
  word-break: break-all;
}

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

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

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 999;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  background: var(--saffron);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: transform .18s ease-out;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background-color: transparent;
}

.header-glass {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: opacity .24s ease-out, background-color .24s ease-out, border-color .24s ease-out;
}

.site-header[data-scrolled="true"] .header-glass {
  opacity: 1;
  background-color: rgba(10, 22, 51, .92);
  border-bottom-color: var(--ridge);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  transition: height .24s ease-out;
}

.site-header[data-scrolled="true"] .header-inner {
  height: calc(var(--header-h) - 14px);
}

/* 品牌 ------------------------------------------------------------------ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--saffron);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--snow);
  white-space: nowrap;
}

.brand-phase {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--mist);
  white-space: nowrap;
}

/* 主栏目 ---------------------------------------------------------------- */

.primary-nav {
  justify-self: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 26px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}

.nav-link:hover { color: var(--snow); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--snow);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 右侧工具 -------------------------------------------------------------- */

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.league-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--ridge);
  border-radius: 999px;
  background: rgba(27, 58, 107, .34);
  color: var(--snow);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease-out, background-color .18s ease-out, transform .12s ease-out;
}

.league-switch:hover {
  border-color: var(--banner);
  background: rgba(242, 183, 5, .13);
}

.league-switch:active { transform: scale(.98); }

.league-switch__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--mist);
}

.league-switch__value {
  font-weight: 700;
  font-size: 13px;
  color: var(--banner);
}

.account-link {
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(143, 163, 200, .14);
  color: var(--snow);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease-out, color .18s ease-out, transform .12s ease-out;
}

.account-link:hover { background: var(--saffron); color: #fff; }
.account-link:active { transform: scale(.97); }

/* 移动端按钮 ------------------------------------------------------------ */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--ridge);
  border-radius: 999px;
  background: rgba(16, 34, 74, .7);
  color: var(--snow);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .18s ease-out, transform .12s ease-out;
}

.nav-toggle:hover { border-color: var(--banner); }
.nav-toggle:active { transform: scale(.96); }

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), top .22s var(--ease), bottom .22s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

/* 滚动进度 -------------------------------------------------------------- */

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: block;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--saffron), var(--banner) 55%, var(--jade));
  opacity: 0;
  transition: opacity .3s ease-out;
}

.site-header[data-scrolled="true"] .scroll-progress { opacity: 1; }

/* 遮罩 ------------------------------------------------------------------ */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 79;
  display: block;
  background: rgba(6, 13, 32, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease-out, visibility .24s ease-out;
}

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

/* --------------------------------------------------------------------------
   主内容基线
   -------------------------------------------------------------------------- */

#main-content {
  display: block;
  padding-top: var(--header-h);
  scroll-margin-top: var(--header-h);
}

#main-content.main--bleed { padding-top: 0; }

/* --------------------------------------------------------------------------
   布局基础件
   -------------------------------------------------------------------------- */

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

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

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

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

.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: clamp(18px, 2.4vw, 32px);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--banner);
}

/* --------------------------------------------------------------------------
   正文容器
   -------------------------------------------------------------------------- */

.prose {
  max-width: 42em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--snow);
}

.prose > *:first-child { margin-top: 0; }

.prose p { margin: 0 0 1.35em; }

.prose h2 {
  margin: 2.2em 0 .7em;
  font-size: 22px;
  font-weight: 900;
}

.prose h3 {
  margin: 1.8em 0 .55em;
  font-size: 17px;
  font-weight: 700;
  color: var(--banner);
}

.prose ul,
.prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.3em;
}

.prose li { margin-bottom: .45em; }

.prose a {
  color: var(--banner);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--saffron);
  color: var(--mist);
}

.reading-layer {
  background: var(--ice);
  color: #16233F;
}

.reading-layer h1,
.reading-layer h2,
.reading-layer h3 { color: #0A1633; }

.reading-layer .prose { color: #22304E; }
.reading-layer .prose h3 { color: var(--saffron); }
.reading-layer .kicker { color: var(--saffron); }

/* --------------------------------------------------------------------------
   卡片 / 标签 / 按钮
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--layer);
  border: 1px solid var(--ridge);
  border-radius: var(--radius);
}

.card--glass {
  background: rgba(16, 34, 74, .58);
  border-color: rgba(143, 163, 200, .24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(143, 163, 200, .14);
  color: var(--snow);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.6;
}

.tag--saffron { background: var(--saffron); color: #fff; }
.tag--banner { background: var(--banner); color: #22180A; }
.tag--jade { background: rgba(0, 214, 164, .16); color: var(--jade); }
.tag--ember { background: rgba(255, 122, 26, .16); color: var(--ember); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease-out, color .18s ease-out,
    border-color .18s ease-out, transform .12s ease-out;
}

.btn:active { transform: scale(.98) translateY(1px); }

.btn--primary { background: var(--saffron); color: #fff; }
.btn--primary:hover { background: #E4163A; }

.btn--ghost {
  background: transparent;
  border-color: var(--ridge);
  color: var(--snow);
}
.btn--ghost:hover { border-color: var(--banner); color: var(--banner); }

.btn--quiet {
  background: rgba(143, 163, 200, .14);
  color: var(--snow);
}
.btn--quiet:hover { background: rgba(143, 163, 200, .24); }

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

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mist);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li::after {
  content: "/";
  color: var(--ridge);
}

.breadcrumb li:last-child::after { content: none; }

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color .16s ease-out;
}

.breadcrumb a:hover { color: var(--banner); }

/* --------------------------------------------------------------------------
   数据组件
   -------------------------------------------------------------------------- */

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--snow);
}

.stat__label {
  font-size: 12px;
  color: var(--mist);
}

.stat--up .stat__value { color: var(--jade); }
.stat--hot .stat__value { color: var(--ember); }

.meter {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 58, 107, .75);
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--jade);
  transition: width .6s var(--ease);
}

.meter--ember .meter__fill { background: var(--ember); }
.meter--banner .meter__fill { background: var(--banner); }

/* --------------------------------------------------------------------------
   图像容器（页面阶段放置图片占位）
   -------------------------------------------------------------------------- */

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ridge);
  background: linear-gradient(155deg, var(--layer), var(--night) 72%);
  aspect-ratio: 16 / 9;
}

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

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 51, 0) 42%, rgba(10, 22, 51, .74));
}

/* --------------------------------------------------------------------------
   装饰：细线网格
   -------------------------------------------------------------------------- */

.grid-veil {
  background-image:
    linear-gradient(to right, rgba(143, 163, 200, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 163, 200, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

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

.site-footer {
  position: relative;
  margin-top: clamp(72px, 9vw, 140px);
  background: var(--deep);
  border-top: 1px solid var(--ridge);
  color: var(--mist);
}

.banner-strip {
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg,
    var(--saffron) 0 28px,
    var(--banner) 28px 56px,
    var(--jade) 56px 84px,
    var(--ember) 84px 112px);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.25fr 1.25fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.footer-note--mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: #6C82AB;
}

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

.footer-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--snow);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: var(--mist);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .16s ease-out;
}

.footer-links a:hover { color: var(--banner); }

.footer-links--plain li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin-bottom: 4px;
}

.footer-meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.footer-cta {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(242, 183, 5, .5);
  color: var(--banner);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease-out, border-color .16s ease-out;
}

.footer-cta:hover {
  color: var(--snow);
  border-color: var(--snow);
}

.footer-base {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  margin-top: clamp(28px, 4vw, 52px);
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid rgba(27, 58, 107, .55);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: #6C82AB;
}

/* --------------------------------------------------------------------------
   返回顶部
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px -14px rgba(200, 16, 46, .95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s ease-out, transform .24s ease-out,
    visibility .24s ease-out, background-color .18s ease-out;
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: #E4163A; }
.to-top:active { transform: scale(.94); }

/* --------------------------------------------------------------------------
   动效协议
   -------------------------------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease-out, transform .5s var(--ease);
}

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

/* --------------------------------------------------------------------------
   响应式 · 平板
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .brand-phase { display: none; }

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

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    width: min(84vw, 340px);
    padding: calc(var(--header-h) + 20px) 28px 40px;
    background: var(--layer);
    border-left: 1px solid var(--ridge);
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s var(--ease);
  }

  .primary-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li { border-bottom: 1px solid rgba(27, 58, 107, .6); }

  .nav-link {
    display: block;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 700;
    white-space: normal;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { color: var(--banner); }

  .nav-link[aria-current="page"]::before {
    content: "▸ ";
    font-family: var(--font-mono);
    color: var(--saffron);
  }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  html.is-nav-open,
  html.is-nav-open body { overflow: hidden; }
}

@media (min-width: 1025px) {
  .nav-scrim { display: none; }
}

/* --------------------------------------------------------------------------
   响应式 · 手机
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .league-switch__label { display: none; }
  .league-switch { padding: 7px 12px; }
  .account-link { display: none; }
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner { gap: 10px; }
  .brand-mark { min-width: 40px; height: 27px; font-size: 12.5px; }
  .brand-name { font-size: 14px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; }

  .to-top {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   减少动态效果
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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