/* ============================================================
   华体会看台 · 共享外壳 site.css
   夜间看台通道：左侧固定竖栏 + 顶部双层信息条 + 记分牌页脚
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
}

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

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

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

button { font: inherit; color: inherit; }

img { height: auto; }

/* ---------- tokens ---------- */
:root {
  --navy: #061627;
  --navy-deep: #050F1C;
  --stand: #0D2740;
  --teal: #0B3B3E;
  --indigo: #251A45;
  --wine: #4E1B2B;
  --orange: #FF6A1A;
  --cyan: #25E0D0;
  --green: #5BD46E;
  --magenta: #FF3D7F;
  --white: #F4F8FC;
  --slate: #9DB0C3;
  --gold: #D9A441;

  --line: rgba(157, 176, 195, 0.22);
  --line-strong: rgba(157, 176, 195, 0.38);

  --rail-w: 252px;
  --content-max: 1240px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95);

  --font-display: "Noto Sans SC", "Barlow Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Consolas, "Courier New", monospace;

  --dur: 0.22s;
}

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 0.55vw + 0.86rem, 17.5px);
  font-weight: 450;
  line-height: 1.75;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    radial-gradient(1100px 640px at 92% -12%, rgba(255, 106, 26, 0.15), transparent 62%),
    radial-gradient(900px 700px at 4% 108%, rgba(37, 224, 208, 0.12), transparent 62%),
    repeating-linear-gradient(180deg, rgba(244, 248, 252, 0.022) 0 1px, transparent 1px 46px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }

p { margin-bottom: 1em; }

a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(37, 224, 208, 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) ease, text-decoration-color var(--dur) ease;
}

a:hover { color: var(--orange); text-decoration-color: var(--orange); }

strong { font-weight: 800; color: var(--white); }

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--cyan);
  color: #04101C;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #04101C;
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.6vw, 2.25rem);
}

.section {
  padding-block: clamp(2.2rem, 4.6vw, 4.4rem);
  position: relative;
}

.section--teal {
  background: linear-gradient(180deg, rgba(11, 59, 62, 0.62), rgba(11, 59, 62, 0.18));
  border-block: 1px solid rgba(37, 224, 208, 0.16);
}

.section--indigo {
  background: linear-gradient(180deg, rgba(37, 26, 69, 0.66), rgba(37, 26, 69, 0.2));
  border-block: 1px solid rgba(157, 176, 195, 0.16);
}

.section--wine {
  background: linear-gradient(180deg, rgba(78, 27, 43, 0.58), rgba(78, 27, 43, 0.18));
  border-block: 1px solid rgba(255, 61, 127, 0.18);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.6rem;
  margin-bottom: clamp(1.2rem, 2.6vw, 2rem);
}

.section__title { margin: 0; }

.section__note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--slate);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: #CBD9E6;
  max-width: 62ch;
  margin-bottom: 1.1em;
}

.grid {
  display: grid;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}

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

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.68rem 1.15rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease,
    border-color var(--dur) ease, transform var(--dur) ease;
}

.btn--signal {
  background: var(--orange);
  color: #1A0A00;
  box-shadow: 0 12px 26px -16px rgba(255, 106, 26, 0.95);
}

.btn--signal:hover {
  background: #FF8340;
  color: #1A0A00;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(37, 224, 208, 0.08);
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(157, 176, 195, 0.08);
  color: #C6D5E3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--live {
  color: #FF9C60;
  border-color: rgba(255, 106, 26, 0.5);
  background: rgba(255, 106, 26, 0.12);
}

.tag--new {
  color: #FF8CB2;
  border-color: rgba(255, 61, 127, 0.5);
  background: rgba(255, 61, 127, 0.12);
}

.tag--saved {
  color: #8FE79E;
  border-color: rgba(91, 212, 110, 0.5);
  background: rgba(91, 212, 110, 0.12);
}

.tag--data {
  color: #7BF1E7;
  border-color: rgba(37, 224, 208, 0.5);
  background: rgba(37, 224, 208, 0.1);
}

/* ---------- cards ---------- */
.card {
  position: relative;
  padding: clamp(1rem, 1.9vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 39, 64, 0.94), rgba(8, 24, 40, 0.94));
  box-shadow: var(--shadow);
}

.card--signal {
  border-color: rgba(255, 106, 26, 0.45);
  background:
    linear-gradient(180deg, rgba(40, 24, 20, 0.85), rgba(10, 25, 41, 0.95));
}

.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.card__body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #C3D2E0;
}

.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

/* ---------- media placeholder ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(37, 224, 208, 0.18), transparent 58%),
    radial-gradient(120% 90% at 100% 100%, rgba(255, 106, 26, 0.2), transparent 60%),
    linear-gradient(160deg, #0C2338, #071627);
}

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

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

.media__caption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { margin-bottom: clamp(1rem, 2vw, 1.6rem); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--slate);
}

.breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumbs__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumbs__sep { color: rgba(157, 176, 195, 0.5); }

.breadcrumbs__current { color: var(--white); font-weight: 700; }

/* ---------- prose ---------- */
.prose {
  max-width: 68ch;
  color: #C9D8E6;
}

.prose h2,
.prose h3 { margin-top: 1.5em; }

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1.1em;
  display: grid;
  gap: 0.4rem;
}

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

.prose a:hover { color: var(--orange); }

/* ---------- reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   头部：看台通道
   ============================================================ */
.rail {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(37, 224, 208, 0.08), transparent 62%),
    repeating-linear-gradient(180deg, rgba(244, 248, 252, 0.028) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #081B2E, #050F1C);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--dur) ease;
}

.rail[data-open] { border-bottom-color: rgba(37, 224, 208, 0.55); }

.rail__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(157, 176, 195, 0.18);
  z-index: 3;
  pointer-events: none;
}

.rail__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.rail__inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.75rem clamp(0.9rem, 3vw, 1.3rem) 0.9rem;
}

.rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

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

.brand__mark {
  flex: none;
  display: grid;
  gap: 3px;
  width: 27px;
  padding: 5px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(37, 224, 208, 0.09);
}

.brand__mark i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.brand__mark i:nth-child(2) { width: 70%; background: var(--cyan); }

.brand__mark i:nth-child(3) { width: 45%; background: var(--white); opacity: 0.45; }

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

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.brand--footer .brand__name { font-size: 1.18rem; }

/* status */
.rail__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #B9C9D8;
}

.rail__status-time {
  margin-left: auto;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.pulse {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(91, 212, 110, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(91, 212, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 212, 110, 0); }
}

/* toggle */
.nav-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 39, 64, 0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color var(--dur) ease, color var(--dur) ease, background var(--dur) ease;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(37, 224, 208, 0.1);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

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

/* nav */
.nav { display: none; }

.nav[data-open] {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(157, 176, 195, 0.3);
  animation: nav-drop 0.22s ease both;
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.nav__item { min-width: 0; }

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.7rem 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--dur) ease, background var(--dur) ease, border-color var(--dur) ease;
}

.nav__link::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--cyan);
  transition: height 0.2s ease, background var(--dur) ease;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(37, 224, 208, 0.09);
  border-color: var(--line);
}

.nav__link:hover::before { height: 18px; }

.nav__link[aria-current="page"] {
  color: #04101C;
  background: linear-gradient(90deg, var(--cyan), #7CF0E6);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 10px 24px -18px rgba(37, 224, 208, 0.95);
}

.nav__link[aria-current="page"]:hover {
  color: #04101C;
  background: linear-gradient(90deg, #4BEBDF, #9BF5EC);
}

.nav__link[aria-current="page"]::before { height: 22px; background: var(--orange); }

.nav__cta { width: 100%; }

.nav__note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #7E93A8;
}

/* ============================================================
   页脚：记分牌与信号带
   ============================================================ */
.footer {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 15, 28, 0.35), var(--navy-deep) 42%);
  border-top: 1px solid var(--line-strong);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan) 42%, transparent 92%);
  opacity: 0.85;
}

/* ticker */
.footer__ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem clamp(1rem, 3.6vw, 2.25rem);
  background: rgba(13, 39, 64, 0.7);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker__label {
  flex: none;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(255, 106, 26, 0.45);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 52s linear infinite;
}

.ticker__viewport:hover .ticker__track { animation-play-state: paused; }

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

.ticker__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.8rem;
  color: #C9D8E6;
}

.ticker__time {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.ticker__tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
}

.ticker__tag--update {
  color: #FF8CB2;
  background: rgba(255, 61, 127, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 127, 0.4);
}

.ticker__tag--saved {
  color: #8FE79E;
  background: rgba(91, 212, 110, 0.14);
  box-shadow: inset 0 0 0 1px rgba(91, 212, 110, 0.38);
}

.ticker__tag--sync {
  color: #7BF1E7;
  background: rgba(37, 224, 208, 0.14);
  box-shadow: inset 0 0 0 1px rgba(37, 224, 208, 0.4);
}

/* main */
.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-block: clamp(1.8rem, 4vw, 3rem);
}

.footer__brand { display: block; }

.footer__intro {
  margin: 0.95rem 0 1.1rem;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate);
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(37, 224, 208, 0.45);
  border-radius: 9px;
  background: rgba(37, 224, 208, 0.1);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}

.footer__cta:hover {
  color: #04101C;
  background: var(--cyan);
  border-color: var(--cyan);
}

.footer__cta-note {
  margin: 0.6rem 0 0;
  max-width: 34ch;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #7E93A8;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
}

.footer__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer__links { display: grid; gap: 0.1rem; }

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #C6D5E3;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}

.footer__links a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer__contact { min-width: 0; }

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #C6D5E3;
  overflow-wrap: anywhere;
}

.contact-line__k {
  flex: none;
  min-width: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.contact-note {
  margin: 0.85rem 0 0;
  max-width: 40ch;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #7E93A8;
}

/* legal */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 0.9rem 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #7E93A8;
}

.footer__copy { margin: 0; }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  margin: 0;
}

.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--slate);
  text-decoration: none;
}

.footer__legal-links a:hover { color: var(--cyan); }

.footer__icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

/* dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  padding: 0.55rem clamp(0.75rem, 3vw, 1.25rem);
  background: rgba(6, 22, 39, 0.94);
  border-top: 1px solid rgba(37, 224, 208, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dock__link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--orange), #FF8A3D);
  color: #1A0A00;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.dock__link:hover { color: #1A0A00; filter: brightness(1.06); }

@media (max-width: 1023px) {
  body { padding-bottom: 74px; }
}

/* ============================================================
   响应式：平板 / 桌面看台通道
   ============================================================ */
@media (min-width: 720px) {
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  :root { --rail-w: 252px; }

  body {
    padding-left: var(--rail-w);
    padding-bottom: 0;
    background-attachment: fixed;
  }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    border-bottom: 0;
    border-right: 1px solid var(--line-strong);
  }

  .rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange), var(--cyan) 46%, transparent 88%);
    opacity: 0.75;
    pointer-events: none;
  }

  .rail__inner {
    height: 100%;
    overflow-y: auto;
    gap: 0.9rem;
    padding: 1.2rem 1rem 1.3rem;
  }

  .rail__top { align-items: flex-start; }

  .nav-toggle { display: none; }

  .nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .nav__list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav__link { font-size: 0.94rem; }

  .nav__cta { margin-top: auto; }

  .footer__main {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.9fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer__brand { grid-column: auto; }

  .dock { display: none; }
}

@media (min-width: 1280px) {
  .rail__inner { padding-inline: 1.15rem; }
  .nav__link { font-size: 0.97rem; }
}

/* ============================================================
   降低动效
   ============================================================ */
@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;
  }

  .pulse { animation: none !important; box-shadow: 0 0 0 3px rgba(91, 212, 110, 0.22); }

  .ticker__track { animation: none !important; }

  .ticker__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .nav[data-open] { animation: none !important; }

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