/* =========================================================
   365在线官 · /assets/site.css
   深夜战术室 + 实时数据流 · 共享外壳样式
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --court: #04140F;
  --rail: #0B2B22;
  --split: #123B33;
  --indigo: #5B4BC4;
  --wine: #8E2B4A;
  --cyan: #23F0D0;
  --pulse: #FF5A2B;
  --amber: #FF9A3C;
  --ink: #F2F7F5;
  --muted: #9DB3AC;
  --breath: #E8F1EE;

  --line: rgba(35, 240, 208, 0.18);
  --line-soft: rgba(157, 179, 172, 0.16);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 18px 40px -26px rgba(0, 0, 0, 0.9);

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

  --gutter: 18px;
  --slant: 8deg;
}

@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

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

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

body {
  margin: 0;
  background-color: var(--court);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(35, 240, 208, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

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

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

a { color: var(--cyan); }

button { font: inherit; }

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

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

/* ---------- 3. 排版工具 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.datakey {
  display: block;
  font: 700 11px/1.4 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-note {
  writing-mode: vertical-rl;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 4. 布局 ---------- */
.wrap {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: 5fr 7fr; gap: 40px; }
  .grid--rail { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
  .rail-sticky {
    position: sticky;
    top: 128px;
    max-height: calc(100vh - 152px);
    overflow-y: auto;
  }
}

.slant-rule {
  height: 3px;
  border: 0;
  margin: 56px 0;
  background: linear-gradient(90deg, var(--cyan), rgba(35, 240, 208, 0) 72%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.slant-band {
  height: 56px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(35, 240, 208, 0.16) 0 1px,
    transparent 1px 14px
  );
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--court);
  font: 700 14px/1 var(--font-display);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; }

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--court);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.header-utility {
  background: linear-gradient(90deg, var(--rail) 0%, #071C16 52%, var(--split) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  max-height: 72px;
  transition: max-height 0.3s ease, opacity 0.24s ease, border-color 0.3s ease;
}
.site-header.is-compact .header-utility {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 28px;
  padding: 9px 0;
}

.brand-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1.3 var(--font-display);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.brand-signature__mark {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.brand-signature__name {
  color: var(--ink);
  letter-spacing: 0.08em;
}
.brand-signature__sep { color: rgba(157, 179, 172, 0.4); }
.brand-signature__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.header-support {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.header-support__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(157, 179, 172, 0.7);
}
.header-support__value { color: var(--cyan); }
.header-support__hours { color: rgba(157, 179, 172, 0.75); }

.header-bar {
  position: relative;
  background: var(--court);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  transition: min-height 0.28s ease;
}
.site-header.is-compact .header-bar__inner { min-height: 54px; }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__glyph {
  padding: 8px 10px 9px;
  background: var(--rail);
  border: 1px solid var(--line);
  color: var(--cyan);
  font: 900 18px/1 var(--font-mono);
  letter-spacing: -0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 86% 100%, 0 100%);
}
.brand__name {
  display: block;
  font: 800 17px/1.1 var(--font-display);
  letter-spacing: 0.05em;
}
.brand__sub {
  display: block;
  margin-top: 4px;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* 导航 */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 12px 14px;
  color: var(--muted);
  text-decoration: none;
  font: 600 14px/1 var(--font-display);
  letter-spacing: 0.07em;
  transition: color 0.18s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--ink); }
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--ink); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--rail);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  font: 600 13px/1 var(--font-display);
  letter-spacing: 0.1em;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.22s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- 7. 联赛关注条 ---------- */
.ticker {
  background: var(--rail);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 6px 0;
  transition: min-height 0.28s ease, padding 0.28s ease;
}
.site-header.is-compact .ticker__inner {
  min-height: 44px;
  padding: 0;
}

.ticker__flag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 90, 43, 0.4);
  background: rgba(255, 90, 43, 0.08);
  border-radius: 2px;
  color: var(--pulse);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__flag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.ticker__track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 4px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.ticker__track::-webkit-scrollbar { display: none; }

.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.ticker__league {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ticker__score {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}
.ticker__score i {
  font-style: normal;
  padding: 0 1px;
  color: rgba(157, 179, 172, 0.6);
}
.ticker__event { color: var(--muted); }
.ticker__item--live .ticker__score { color: var(--pulse); }
.ticker__item--live .ticker__league::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--pulse);
  vertical-align: middle;
}

/* ---------- 8. 滚动进度 ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber) 68%, var(--pulse));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  margin-top: 96px;
  background: var(--court);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
  padding: 64px 0 48px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding: 76px 0 56px;
  }
}

.footer-brand__name {
  font: 900 26px/1.1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.footer-brand__tag {
  margin-top: 10px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-brand__desc {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.footer-brand__cta { margin-top: 22px; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col__title::before {
  content: "";
  flex: none;
  width: 3px;
  height: 14px;
  background: var(--cyan);
}
.footer-col--archive .footer-col__title::before { background: var(--indigo); }
.footer-col--contact .footer-col__title::before { background: var(--wine); }

.footer-list {
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 500 14px/1.5 var(--font-display);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-list a::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--line);
  transition: width 0.2s ease, background 0.2s ease;
}
.footer-list a:hover,
.footer-list a:focus-visible { color: var(--cyan); }
.footer-list a:hover::before,
.footer-list a:focus-visible::before {
  width: 20px;
  background: var(--cyan);
}

.footer-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 14px;
  font-size: 13px;
}
.footer-contact dt {
  padding-top: 2px;
  font: 700 10px/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(157, 179, 172, 0.7);
}
.footer-contact dd {
  color: var(--ink);
  line-height: 1.55;
  word-break: break-word;
}
.footer-contact dd.is-mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.footer-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-legal {
  background: var(--rail);
  border-top: 1px solid var(--line-soft);
}
.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding: 18px 0;
}
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
}
.footer-legal__links a {
  font: 500 12px/1 var(--font-display);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
}
.footer-legal__links a:hover,
.footer-legal__links a:focus-visible { color: var(--cyan); }
.footer-legal__icp,
.footer-legal__copy {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-legal__copy { color: rgba(157, 179, 172, 0.62); }

/* ---------- 10. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--cyan);
  color: var(--court);
  cursor: pointer;
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: var(--ink); }

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 700 14px/1 var(--font-display);
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--pulse); color: #180601; }
.btn--primary:hover { background: var(--amber); }
.btn--cyan { background: var(--cyan); color: var(--court); }
.btn--cyan:hover { background: var(--ink); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn:active { transform: translateY(1px); }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { margin-bottom: 26px; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__list li + li::before {
  content: "/";
  color: rgba(157, 179, 172, 0.45);
}
.breadcrumb__list a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb__list a:hover { color: var(--cyan); }
.breadcrumb__list [aria-current="page"] { color: var(--ink); }

/* ---------- 13. 正文容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2em;
  font: 800 clamp(24px, 3vw, 34px) / 1.25 var(--font-display);
  letter-spacing: 0.01em;
}
.prose h3 {
  margin-top: 1.6em;
  font: 700 20px/1.35 var(--font-display);
  color: var(--cyan);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul,
.prose ol {
  padding-left: 1.2em;
  display: grid;
  gap: 0.45em;
}
.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: 500 13px/1.4 var(--font-mono);
  color: var(--cyan);
}

/* ---------- 14. 卡片 / 标签 / 指标 ---------- */
.card {
  padding: 22px;
  background: var(--rail);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.card__title {
  font: 700 17px/1.4 var(--font-display);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.card__note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.card--breath {
  background: var(--breath);
  border-color: transparent;
  color: #07312A;
}
.card--breath .card__title { color: #04140F; }
.card--breath .card__note { color: #3E5C55; }
.card--breath .datakey { color: #4E6E66; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(35, 240, 208, 0.05);
  color: var(--muted);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--indigo {
  border-color: rgba(91, 75, 196, 0.5);
  background: rgba(91, 75, 196, 0.16);
  color: #B4AAFF;
}
.tag--wine {
  border-color: rgba(142, 43, 74, 0.6);
  background: rgba(142, 43, 74, 0.2);
  color: #FF9BB6;
}
.tag--pulse {
  border-color: rgba(255, 90, 43, 0.45);
  background: rgba(255, 90, 43, 0.1);
  color: var(--pulse);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__value {
  font: 800 clamp(36px, 6vw, 68px) / 0.95 var(--font-mono);
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.stat__label {
  font: 500 12.5px/1.5 var(--font-display);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 15. 图片容器 ---------- */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--split);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--wide { aspect-ratio: 16 / 9; }
.frame--standard { aspect-ratio: 4 / 3; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--band { aspect-ratio: 21 / 9; }

.frame--slant {
  border: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
}

.frame__ph {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(35, 240, 208, 0.07) 0 1px, transparent 1px 16px),
    radial-gradient(120% 90% at 22% 16%, rgba(35, 240, 208, 0.16), transparent 62%),
    radial-gradient(90% 80% at 84% 86%, rgba(91, 75, 196, 0.26), transparent 66%);
}
.frame__ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.frame__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  background: var(--pulse);
  color: #180601;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 13px;
  background: linear-gradient(0deg, rgba(4, 20, 15, 0.94), rgba(4, 20, 15, 0));
  font: 500 12px/1.55 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 16. 显隐与脉冲 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-pulse].is-pulsing {
  animation: pulse-flash 900ms ease-out 1;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

@keyframes pulse-flash {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 43, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(255, 90, 43, 0); }
}

/* ---------- 17. 移动端头部 ---------- */
@media (max-width: 1080px) {
  .header-support__hours { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    background: var(--court);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
  }
  .site-nav[data-open] {
    max-height: min(72vh, 480px);
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
  }
  .site-nav__link {
    display: block;
    padding: 16px 4px 16px 15px;
    border-left: 2px solid transparent;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .site-nav__link::after { display: none; }
  .site-nav__link:hover,
  .site-nav__link:focus-visible { border-left-color: var(--line); }
  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    border-left-color: var(--cyan);
  }
}

@media (max-width: 640px) {
  .header-utility__inner { padding: 8px 0; }
  .brand-signature__tag { display: none; }
  .header-support__value { font-size: 11px; }
  .brand__sub { display: none; }
  .header-bar__inner { min-height: 60px; }
  .site-header.is-compact .header-bar__inner { min-height: 52px; }
  .ticker__inner { min-height: 46px; }
  .site-header.is-compact .ticker__inner { min-height: 44px; }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
  .to-top { right: 14px; bottom: 14px; padding: 11px 14px; }
}

/* ---------- 18. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .to-top { transition: none; }
}
