/* ============================================================
   33体育赛事 · 共享样式 /assets/site.css
   ============================================================ */

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

:root {
  --ink: #051A15;
  --panel: #0B2A22;
  --line: #174A3C;
  --cyan: #37F5D4;
  --orange: #FF8A3D;
  --violet: #9B7BFF;
  --chalk: #F4F7F2;
  --mist: #A9BDB4;
  --amber: #FFC857;
  --red: #FF5C6C;

  --font-display: 'Archivo Black', 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --rail-w: 104px;
  --bar-h: 56px;
  --topline-h: 44px;
  --gutter: 20px;
  --shell: 1320px;
  --cut: 12px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 480px at 78% -8%, rgba(55, 245, 212, .10), transparent 62%),
    radial-gradient(720px 420px at 2% 102%, rgba(255, 138, 61, .08), transparent 60%);
  background-repeat: no-repeat;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--chalk);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--chalk); }

img { max-width: 100%; }

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

::selection { background: var(--cyan); color: var(--ink); }

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

#main-content { scroll-margin-top: 72px; }

/* ---------- 内容容器与通用工具 ---------- */

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  line-height: 1.4;
  color: var(--cyan);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.02em;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--cyan);
  background: rgba(55, 245, 212, .10);
  border: 1px solid rgba(55, 245, 212, .34);
}

.tag--violet {
  color: var(--violet);
  background: rgba(155, 123, 255, .12);
  border-color: rgba(155, 123, 255, .42);
}

.tag--amber {
  color: var(--amber);
  background: rgba(255, 200, 87, .12);
  border-color: rgba(255, 200, 87, .38);
}

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

.btn {
  --cut: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #22120A;
}
.btn--primary:hover { background: #FFA464; color: #22120A; }

.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: var(--line);
  clip-path: none;
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: rgba(55, 245, 212, .55);
  background: rgba(55, 245, 212, .08);
}

.btn--small {
  padding: 10px 8px;
  font-size: 13px;
}

/* ---------- 图片容器基础规则（页面阶段放入 <img>） ---------- */

.figure {
  position: relative;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.figure__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 76% 8%, rgba(55, 245, 212, .16), transparent 58%),
    linear-gradient(140deg, #0B2A22 0%, #16453A 58%, #0B2A22 100%);
}

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

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

.figure__body {
  position: relative;
  padding: 18px;
}

.figure__body p { color: var(--mist); font-size: 14px; }

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

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--mist);
}

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

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

.breadcrumb__link { color: var(--mist); }
.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__current { color: var(--chalk); }

/* ============================================================
   头部外壳
   ============================================================ */

.masthead {
  position: relative;
  z-index: 60;
  height: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-220%);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink);
}

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

.brand {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 70;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--chalk);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.06em;
  color: var(--ink);
  background: linear-gradient(150deg, var(--cyan), #1FD6B8);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  box-shadow: 0 0 22px rgba(55, 245, 212, .32);
  flex: 0 0 auto;
}

.brand__text {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .2em;
  line-height: 1;
  color: var(--chalk);
}

.brand:hover .brand__text { color: var(--cyan); }

/* ---------- 比分带 ---------- */

.topline {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  height: 40px;
  z-index: 64;
  display: flex;
  align-items: center;
  background: rgba(5, 26, 21, .94);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid rgba(23, 74, 60, .65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ticker {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
}

.ticker__flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 14px;
  flex: 0 0 auto;
  background: var(--red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: tickerPulse 1.6s ease-in-out infinite;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .22; }
}

.ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.ticker__track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: tickerScroll 46s linear infinite;
}

.ticker__viewport:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track,
.ticker__viewport[data-paused] .ticker__track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 100%;
  border-right: 1px solid rgba(23, 74, 60, .8);
  white-space: nowrap;
  color: var(--chalk);
}

.ticker__meta {
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.ticker__team {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--mist);
}

.ticker__score {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan);
}

.ticker__colon {
  color: rgba(23, 74, 60, 1);
  padding: 0 1px;
  font-weight: 400;
}

.ticker__state {
  padding: 3px 7px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  color: var(--ink);
  background: var(--mist);
}

.ticker__state--live { background: var(--red); color: #FFFFFF; }
.ticker__state--soon { background: var(--amber); color: #22160A; }
.ticker__state--ended { background: var(--line); color: var(--mist); }

/* ---------- 抽屉按钮 ---------- */

.rail-toggle {
  display: none;
  position: fixed;
  top: 8px;
  right: 12px;
  z-index: 90;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--chalk);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.rail-toggle:hover { color: var(--cyan); border-color: rgba(55, 245, 212, .5); }

.rail-toggle__bars {
  display: grid;
  gap: 4px;
  width: 20px;
}

.rail-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.rail-toggle[aria-expanded="true"] .rail-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rail-toggle[aria-expanded="true"] .rail-toggle__bars span:nth-child(2) { opacity: 0; }
.rail-toggle[aria-expanded="true"] .rail-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 侧边轨道 / 移动抽屉 ---------- */

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 65;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 84px 18px 24px;
  background: linear-gradient(180deg, rgba(11, 42, 34, .98), rgba(5, 26, 21, .99));
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-102%);
  transition: transform .28s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.rail[data-open],
.masthead[data-open] .rail {
  transform: translateX(0);
}

.rail__nav {
  flex: 0 0 auto;
  min-height: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.nav-list__item { display: block; }

.nav-link {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid transparent;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.nav-link__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(169, 189, 180, .6);
  transition: color .2s var(--ease);
}

.nav-link__label {
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.4;
}

.nav-link:not([aria-current="page"]):hover {
  color: var(--cyan);
  background: rgba(55, 245, 212, .07);
  border-color: rgba(55, 245, 212, .3);
}

.nav-link:not([aria-current="page"]):hover .nav-link__num { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.nav-link[aria-current="page"] .nav-link__num { color: rgba(5, 26, 21, .62); }

.rail__actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex: 0 0 auto;
}

.rail__actions .btn { flex: 1 1 0; }

.rail__spine {
  position: absolute;
  top: 84px;
  bottom: 24px;
  right: 0;
  width: 2px;
  background: rgba(23, 74, 60, .55);
  pointer-events: none;
}

.rail__spine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transform: scaleY(var(--p, 0));
  transform-origin: top center;
  transition: transform .12s linear;
}

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: none;
  background: rgba(3, 14, 11, .7);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

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

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(11, 42, 34, .94);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.to-top:hover {
  background: var(--cyan);
  color: var(--ink);
  transform: translateY(-2px);
}

.to-top[hidden] { display: none; }

/* ============================================================
   页脚
   ============================================================ */

.site-foot {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #04140F 0%, #071E18 52%, #051A15 100%);
  border-top: 1px solid var(--line);
  color: var(--mist);
  overflow: hidden;
}

.site-foot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--orange) 55%, var(--violet));
  opacity: .9;
}

.site-foot__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 48px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.site-foot__lede { max-width: 34ch; }

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--chalk);
  text-decoration: none;
}

.foot-brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.06em;
  color: var(--ink);
  background: linear-gradient(150deg, var(--cyan), #1FD6B8);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  flex: 0 0 auto;
}

.foot-brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
}

.foot-brand:hover .foot-brand__name { color: var(--cyan); }

.foot-brand__line {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

.foot-badge {
  display: inline-flex;
  align-items: center;
  margin: 20px 0 0;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1.6;
  color: var(--amber);
  border: 1px solid rgba(255, 200, 87, .32);
  background: rgba(255, 200, 87, .07);
}

.site-foot__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 22px;
}

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

.foot-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.5;
  color: var(--cyan);
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-list a {
  position: relative;
  display: inline-block;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}

.foot-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width .18s var(--ease);
}

.foot-list a:hover { color: var(--chalk); padding-left: 14px; }
.foot-list a:hover::before { width: 10px; }

.site-foot__contact { min-width: 0; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list__item {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 74, 60, .55);
}

.contact-list__item:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-list__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1.6;
  color: rgba(169, 189, 180, .62);
}

.contact-list__val {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--chalk);
  word-break: break-word;
}

.site-foot__base {
  max-width: var(--shell);
  margin: 44px auto 0;
  padding: 20px var(--gutter) 26px;
  border-top: 1px solid rgba(23, 74, 60, .7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: rgba(169, 189, 180, .72);
}

.site-foot__icp { color: var(--mist); }
.site-foot__tip { color: rgba(169, 189, 180, .55); }

/* ============================================================
   响应式
   ============================================================ */

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .site-foot__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }

  .brand__mark { width: 46px; height: 46px; font-size: 20px; }
  .brand__text { font-size: 13px; }

  .site-foot__inner {
    grid-template-columns: 1.15fr 1.85fr;
    padding-top: 64px;
    gap: 48px;
  }

  .site-foot__base { padding-bottom: 32px; }

  .figure__body { padding: 22px; }
}

@media (max-width: 1023px) {
  body {
    padding-top: calc(var(--bar-h) + 40px);
    padding-left: 0;
  }

  .rail-toggle { display: flex; }

  .rail-scrim:not([hidden]) { display: block; }
}

@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
    padding-top: var(--topline-h);
    padding-right: 0;
    padding-bottom: 0;
  }

  .topline {
    top: 0;
    left: var(--rail-w);
    right: 0;
    height: var(--topline-h);
    border-top: 0;
  }

  .rail-toggle { display: none; }

  .brand {
    top: 14px;
    left: 14px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: calc(var(--rail-w) - 28px);
  }

  .brand__mark {
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .brand__text {
    writing-mode: vertical-rl;
    font-size: 12px;
    letter-spacing: .42em;
    line-height: 1.1;
    color: var(--mist);
  }

  .rail {
    width: var(--rail-w);
    padding: 148px 12px 16px;
    transform: none;
    transition: none;
    overflow-y: auto;
  }

  .rail__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }

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

  .nav-list {
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: center;
  }

  .nav-list__item {
    display: flex;
    width: 100%;
    flex: 0 1 auto;
  }

  .nav-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 4px;
  }

  .nav-link__label {
    writing-mode: vertical-rl;
    font-size: 12px;
    letter-spacing: .2em;
    line-height: 1.1;
  }

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

  .rail__actions {
    flex-direction: column;
    gap: 8px;
  }

  .rail__actions .btn {
    flex: 0 0 auto;
    width: 100%;
    padding: 11px 4px;
    font-size: 12.5px;
    letter-spacing: .06em;
  }

  .rail__spine {
    top: 148px;
    bottom: 16px;
  }

  .to-top {
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
  }

  .skip-link { left: calc(var(--rail-w) + 16px); }

  .site-foot__base { padding-bottom: 36px; }
}

@media (min-width: 1240px) {
  .site-foot__inner {
    grid-template-columns: 1.05fr 1.85fr .95fr;
    padding-top: 72px;
  }
}

/* ============================================================
   动效降级
   ============================================================ */

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

  .ticker__track { animation: none !important; transform: none !important; }
  .ticker__dot { animation: none !important; }
  .btn:hover, .to-top:hover { transform: none; }
}
