/* ==========================================================================
   开运体育主站 · 全站共享样式  /assets/site.css
   夜赛深蓝为底 · 日落金橙为信号 · 纸张叠层与印刷刻度
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色彩 */
  --c-sunset: #F08A24;
  --c-amber: #FFC46B;
  --c-night: #0B1A2E;
  --c-night-2: #16304C;
  --c-snow: #9CC6D6;
  --c-jade: #2FA37A;
  --c-lava: #E3402F;
  --c-paper: #F1E9DC;
  --c-paper-edge: #CDBFA8;
  --c-ink: #101C28;
  --c-slate: #6E8199;
  --c-amber-deep: #A85514;

  /* 语义映射（默认浅色纸面） */
  --surface: var(--c-paper);
  --surface-raised: #FBF7F0;
  --fg: var(--c-ink);
  --fg-muted: var(--c-slate);
  --line: rgba(16, 28, 40, 0.14);
  --line-strong: var(--c-paper-edge);
  --accent: var(--c-sunset);
  --accent-text: var(--c-amber-deep);

  /* 字体 */
  --font-heading: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-body: var(--font-heading);
  --font-score: ui-monospace, "JetBrains Mono", "IBM Plex Mono",
    "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    SimSun, Georgia, serif;

  /* 尺度 */
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 36px);
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-card: 0 1px 0 rgba(16, 28, 40, 0.05),
    0 18px 34px -26px rgba(11, 26, 46, 0.55);
  --shadow-lift: 0 22px 40px -28px rgba(11, 26, 46, 0.7);

  /* 动效 */
  --t-fast: 160ms;
  --t-mid: 240ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* 结构 */
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background-color: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

p {
  margin: 0 0 1em;
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: inherit;
}

strong,
b {
  font-weight: 800;
}

table {
  border-collapse: collapse;
  width: 100%;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

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

::selection {
  background: rgba(240, 138, 36, 0.32);
  color: var(--c-ink);
}

/* ---------- 3. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.container-narrow {
  max-width: 720px;
  margin-inline: auto;
}

.prose {
  max-width: 38em;
}

.prose p {
  margin-bottom: 1.1em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 34em;
}

/* ---------- 4. 分区色带 ---------- */
.band {
  position: relative;
  background-color: var(--surface);
}

.band--paper {
  background-color: var(--c-paper);
  color: var(--c-ink);
}

.band--night {
  background-color: var(--c-night);
  color: #E9F1F6;
}

.band--dusk {
  background-color: var(--c-night);
  background-image: linear-gradient(
    180deg,
    #0B1A2E 0%,
    #122A44 52%,
    #0B1A2E 100%
  );
  color: #E9F1F6;
}

.band--night,
.band--dusk {
  --surface: var(--c-night-2);
  --surface-raised: #1C3A5A;
  --fg: #E9F1F6;
  --fg-muted: #93A9B8;
  --line: rgba(156, 198, 214, 0.2);
  --line-strong: rgba(156, 198, 214, 0.34);
  --accent-text: var(--c-amber);
}

.band--night::before,
.band--dusk::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(156, 198, 214, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(156, 198, 214, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
  opacity: 0.9;
}

.band > .shell {
  position: relative;
  z-index: 1;
}

/* ---------- 5. 标题与标记 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 104px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--c-sunset);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--c-slate);
}

.tag--live {
  color: var(--c-lava);
}

.tag--jade {
  color: var(--c-jade);
}

.tag--sun {
  color: var(--c-amber-deep);
}

.band--night .tag--sun,
.band--dusk .tag--sun {
  color: var(--c-amber);
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-score);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--c-slate);
}

.trend--up {
  color: var(--c-lava);
}

.trend--flat {
  color: var(--c-jade);
}

.trend--down {
  color: var(--c-slate);
}

.text-link {
  color: var(--accent-text);
  border-bottom: 1px solid rgba(168, 85, 20, 0.36);
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.text-link:hover {
  color: var(--c-sunset);
  border-bottom-color: currentColor;
}

.band--night .text-link,
.band--dusk .text-link {
  color: var(--c-amber);
  border-bottom-color: rgba(255, 196, 107, 0.42);
}

/* ---------- 6. 索引列表 ---------- */
.index-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.index-list__item {
  border-bottom: 1px solid var(--line);
}

.index-list__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  transition: background-color var(--t-fast) var(--ease),
    padding-left var(--t-fast) var(--ease);
}

.index-list__link:hover {
  background-color: rgba(240, 138, 36, 0.09);
  padding-left: 14px;
}

.index-list__num {
  flex: none;
  font-family: var(--font-score);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-text);
}

.index-list__label {
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
}

.index-list__note {
  margin-left: auto;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: right;
}

/* ---------- 7. 卡片 ---------- */
.card-paper {
  position: relative;
  background-color: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
    transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.card-paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--c-paper-edge) 0 1px,
    transparent 1px 9px
  );
  opacity: 0.85;
  pointer-events: none;
}

.card-paper:hover {
  border-color: var(--c-sunset);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card-night {
  position: relative;
  background-color: var(--c-night-2);
  border: 1px solid rgba(156, 198, 214, 0.22);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  color: #E1EBF2;
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
    background-color var(--t-mid) var(--ease),
    transform var(--t-mid) var(--ease);
}

.card-night::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(156, 198, 214, 0.5), transparent);
  pointer-events: none;
}

.card-night:hover {
  border-color: var(--c-sunset);
  background-color: #1B3856;
  transform: translateY(-2px);
}

/* ---------- 8. 网格与横向卷轴 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

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

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

.scroll-row {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--c-paper-edge) transparent;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: var(--c-paper-edge);
  border-radius: 4px;
}

.scroll-row > * {
  flex: 0 0 clamp(240px, 70vw, 320px);
  scroll-snap-align: start;
}

/* ---------- 9. 图片容器 ---------- */
.figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(156, 198, 214, 0.22);
  background-color: var(--c-night);
}

.figure__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #0E2036;
  background-image: linear-gradient(
    152deg,
    #1C3A5A 0%,
    #16304C 38%,
    #0B1A2E 74%,
    #122A44 100%
  );
}

.figure--square .figure__media {
  aspect-ratio: 1 / 1;
}

.figure--portrait .figure__media {
  aspect-ratio: 4 / 5;
}

.figure--wide .figure__media {
  aspect-ratio: 21 / 9;
}

.figure__caption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--c-snow);
  background-color: rgba(11, 26, 46, 0.94);
  border-top: 1px solid rgba(156, 198, 214, 0.18);
}

/* ---------- 10. 记分牌 ---------- */
.scoreline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.scoreline__num {
  font-size: clamp(32px, 6vw, 56px);
  color: #fff;
}

.scoreline__num--lead {
  color: var(--c-amber);
}

.scoreline__sep {
  font-size: clamp(20px, 3vw, 32px);
  color: var(--c-snow);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--fg-muted);
}

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

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

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

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

.breadcrumb a {
  color: var(--accent-text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}

.breadcrumb a:hover {
  border-bottom-color: currentColor;
}

.band--night .breadcrumb,
.band--dusk .breadcrumb {
  color: #93A9B8;
}

.band--night .breadcrumb a,
.band--dusk .breadcrumb a {
  color: var(--c-amber);
}

/* ---------- 12. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.btn--primary {
  background-image: linear-gradient(160deg, var(--c-amber), var(--c-sunset));
  background-color: var(--c-sunset);
  color: #2A1200;
  box-shadow: 0 10px 22px -14px rgba(240, 138, 36, 0.95);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -14px rgba(240, 138, 36, 1);
}

.btn--ghost {
  border-color: rgba(156, 198, 214, 0.42);
  color: #DCE9F1;
}

.btn--ghost:hover {
  border-color: var(--c-sunset);
  color: #fff;
  background-color: rgba(240, 138, 36, 0.1);
}

.btn--solid-dark {
  background-color: var(--c-ink);
  color: var(--c-paper);
}

.btn--solid-dark:hover {
  background-color: var(--c-night-2);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

/* ---------- 13. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -160%);
  padding: 11px 22px;
  background-color: var(--c-sunset);
  color: #2A1200;
  font-weight: 800;
  font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.7);
  transition: transform var(--t-fast) var(--ease);
}

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

/* ---------- 14. 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 950;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--c-sunset), var(--c-amber));
  pointer-events: none;
}

/* ---------- 15. 比分带 ---------- */
.ticker {
  background-color: var(--c-night);
  border-bottom: 1px solid rgba(156, 198, 214, 0.16);
  color: var(--c-snow);
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 5px var(--gutter);
}

.ticker__tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--c-sunset);
}

.ticker__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background-color: var(--c-lava);
}

.ticker__list {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 5px;
}

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

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 13px;
}

.ticker__league {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 1px 5px;
  border: 1px solid rgba(156, 198, 214, 0.32);
  border-radius: 2px;
  color: var(--c-snow);
}

.ticker__team {
  color: #C6D8E3;
}

.ticker__num {
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
}

.ticker__num--lead {
  color: var(--c-amber);
}

.ticker__sep {
  font-family: var(--font-score);
  color: var(--c-snow);
  opacity: 0.7;
}

.ticker__phase {
  font-family: var(--font-score);
  font-size: 11.5px;
  color: #7E97A8;
}

/* ---------- 16. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-night);
  color: #E4EFF5;
  border-bottom: 1px solid rgba(156, 198, 214, 0.18);
  box-shadow: 0 14px 32px -26px rgba(0, 0, 0, 0.95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background-image: linear-gradient(
    145deg,
    var(--c-amber) 0%,
    var(--c-sunset) 58%,
    #C4661A 100%
  );
  color: #2A1200;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

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

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #F4F9FC;
}

.brand__line {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--c-snow);
  opacity: 0.8;
}

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

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

.site-nav__link {
  display: inline-block;
  padding: 20px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #C8DCE8;
  border-bottom: 3px solid transparent;
  transition: color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.site-nav__link:hover {
  color: #FFFFFF;
  background-color: rgba(240, 138, 36, 0.1);
}

.site-nav__link[aria-current="page"] {
  color: #FFFFFF;
  border-bottom-color: var(--c-sunset);
}

.site-nav__cta {
  margin-left: 12px;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(156, 198, 214, 0.36);
  border-radius: 3px;
  color: #E4EFF5;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-sunset);
  color: #FFFFFF;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
}

.nav-toggle__bars {
  position: relative;
  transition: background-color var(--t-fast) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform var(--t-fast) var(--ease),
    top var(--t-fast) var(--ease);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background-color: transparent;
}

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

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

/* ---------- 17. 站点页脚 ---------- */
.site-footer {
  position: relative;
  background-color: var(--c-night);
  color: #C9D9E3;
  border-top: 3px solid var(--c-sunset);
  font-size: 14.5px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(156, 198, 214, 0.05) 1px,
    transparent 1px
  );
  background-size: 100% 34px;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(38px, 5vw, 66px) 22px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(26px, 3.4vw, 46px);
  border-bottom: 1px solid rgba(156, 198, 214, 0.2);
}

.site-footer__brand .brand__name {
  color: #F4F9FC;
}

.site-footer__brand .brand__line {
  color: var(--c-snow);
}

.footer-tagline {
  margin: 16px 0 0;
  max-width: 26em;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-snow);
}

.footer-contact {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}

.footer-contact__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-contact__key {
  flex: none;
  min-width: 4.6em;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--c-sunset);
}

.footer-contact__val {
  color: #D8E5EE;
  word-break: break-word;
}

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

.footer-col__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer-col__list {
  display: grid;
  gap: 9px;
}

.footer-col__link {
  display: inline-block;
  font-size: 14.5px;
  color: #BCCFDA;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.footer-col__link:hover {
  color: var(--c-amber);
  border-bottom-color: var(--c-sunset);
}

.site-footer__bottom {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--c-slate);
}

.footer-meta,
.footer-hours {
  margin: 0;
}

.footer-legal {
  font-variant-numeric: tabular-nums;
  color: #93A9B8;
}

.footer-hours {
  color: #93A9B8;
}

/* ---------- 18. 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background-color: var(--c-night-2);
    border-top: 1px solid rgba(156, 198, 214, 0.2);
    border-bottom: 1px solid rgba(156, 198, 214, 0.2);
    padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.9);
    transition: opacity var(--t-mid) var(--ease),
      transform var(--t-mid) var(--ease), visibility var(--t-mid) var(--ease);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .site-nav__link {
    display: block;
    padding: 14px 14px;
    font-size: 16px;
    border-bottom: 1px solid rgba(156, 198, 214, 0.16);
    border-left: 3px solid transparent;
  }

  .site-nav__link[aria-current="page"] {
    border-bottom-color: rgba(156, 198, 214, 0.16);
    border-left-color: var(--c-sunset);
    background-color: rgba(240, 138, 36, 0.12);
    color: #FFFFFF;
  }

  .site-nav__cta {
    display: flex;
    width: 100%;
    margin: 16px 0 4px;
    padding: 13px 18px;
  }

  .brand__line {
    display: none;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
  }

  .ticker__inner {
    gap: 10px;
  }

  .ticker__list {
    gap: 18px;
  }

  .index-list__link {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .index-list__note {
    margin-left: 0;
    flex: 1 0 100%;
    text-align: left;
  }

  .scoreline {
    gap: 7px;
  }
}

@media (max-width: 520px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }

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

  .card-paper:hover,
  .card-night:hover,
  .btn--primary:hover {
    transform: none;
  }
}
