/* ==========================================================================
   U体育赛场 — 共享外壳样式 /assets/site.css
   夜间赛场控制室：夜光蓝连续画布 + 荧光绿数据高亮 + 橙红时间戳
   ========================================================================== */

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

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

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

ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }

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

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

a { color: inherit; }

/* -------------------- 2. Tokens -------------------- */
:root {
  --ink-900: #071A2F;
  --ink-800: #0A2440;
  --ink-700: #0E2A47;
  --ink-650: #123253;
  --line: #1B4568;
  --line-soft: rgba(27, 69, 104, .52);

  --lime: #7CFF6B;
  --lime-soft: #B9FFB0;
  --lime-08: rgba(124, 255, 107, .08);
  --lime-14: rgba(124, 255, 107, .14);
  --lime-30: rgba(124, 255, 107, .30);

  --ember: #FF6B4A;
  --ember-14: rgba(255, 107, 74, .14);

  --paper: #F2F7FB;
  --muted: #9DB2C7;
  --muted-soft: rgba(157, 178, 199, .62);
  --shade: #020A14;

  --f-head: 'Barlow Condensed', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --f-data: 'IBM Plex Mono', 'Roboto Mono', 'Noto Sans Mono CJK SC', monospace;
  --f-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --shell: 1180px;
  --gutter: 22px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .4s;
}

/* -------------------- 3. 中文排版基底 -------------------- */
body {
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: .01em;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 720px at 86% -12%, rgba(124, 255, 107, .075), transparent 62%),
    radial-gradient(900px 640px at -10% 6%, rgba(20, 54, 87, .62), transparent 66%),
    linear-gradient(180deg, #05121F 0%, #071A2F 44%, #050F1D 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

p { text-wrap: pretty; }

main:focus,
#main-content:focus { outline: none; }

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

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

/* -------------------- 4. Skip link -------------------- */
.u-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #04240D;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .24s var(--ease);
}
.u-skip:focus,
.u-skip:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

/* -------------------- 5. Header -------------------- */
.u-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 26, 47, .88);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.u-header[data-scrolled] {
  background: rgba(5, 20, 38, .95);
  box-shadow: 0 20px 42px -30px rgba(2, 10, 20, 1);
}

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

.u-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 11px;
}

/* --- 品牌 --- */
.u-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-block: 2px;
  text-decoration: none;
  color: var(--paper);
}
.u-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(155deg, #9CFF8E 0%, var(--lime) 46%, #35D95F 100%);
  color: #03240F;
  font-family: var(--f-head);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(185, 255, 176, .45), 0 10px 24px -12px rgba(124, 255, 107, .8);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.u-brand:hover .u-brand__mark,
.u-brand:focus-visible .u-brand__mark {
  transform: translateY(-1px) rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(185, 255, 176, .7), 0 14px 28px -12px rgba(124, 255, 107, .95);
}
.u-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.u-brand__name {
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
.u-brand__tag {
  font-family: var(--f-data);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--muted);
}

/* --- 状态胶囊 --- */
.u-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(14, 42, 71, .66);
  font-family: var(--f-data);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
.u-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-14);
  animation: u-pulse 2.6s var(--ease) infinite;
}
.u-status__label {
  color: var(--paper);
  font-weight: 600;
}
.u-status__sep { color: var(--muted-soft); }
.u-status__value { color: var(--muted); }

@keyframes u-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--lime-14); }
  50% { box-shadow: 0 0 0 8px rgba(124, 255, 107, .04); }
}

/* --- 移动导航按钮 --- */
.u-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 42, 71, .8);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.u-nav-toggle:hover {
  border-color: var(--lime-30);
  color: var(--lime);
}
.u-nav-toggle__bars {
  position: relative;
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease);
}
.u-nav-toggle__bars::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top var(--t) var(--ease), transform var(--t) var(--ease);
}
.u-header[data-open] .u-nav-toggle {
  border-color: var(--lime-30);
  color: var(--lime);
}
.u-header[data-open] .u-nav-toggle__bars { transform: rotate(45deg); }
.u-header[data-open] .u-nav-toggle__bars::before {
  top: 0;
  transform: rotate(-90deg);
}
.u-nav-toggle__text { letter-spacing: .04em; }

/* --- 命令栏导航 --- */
.u-nav {
  border-top: 1px solid var(--line-soft);
}
.u-nav__list {
  display: flex;
  align-items: stretch;
  margin-left: -16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.u-nav__list::-webkit-scrollbar { display: none; }

.u-nav__item { flex: 0 0 auto; }

.u-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  transition: color var(--t) var(--ease);
}
.u-nav__idx {
  font-family: var(--f-data);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05em;
  color: rgba(157, 178, 199, .5);
  transition: color var(--t) var(--ease);
}
.u-nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--ember));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t) var(--ease);
}
.u-nav__link:hover,
.u-nav__link:focus-visible { color: var(--paper); }
.u-nav__link:hover .u-nav__idx,
.u-nav__link:focus-visible .u-nav__idx { color: var(--lime); }
.u-nav__link:hover::after,
.u-nav__link:focus-visible::after { transform: scaleX(.35); }
.u-nav__link[aria-current="page"] {
  color: var(--paper);
  font-weight: 600;
}
.u-nav__link[aria-current="page"] .u-nav__idx { color: var(--lime); }
.u-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* --- 滚动进度 --- */
.u-header__progress {
  height: 2px;
  background: rgba(27, 69, 104, .35);
  overflow: hidden;
}
.u-header__progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--lime) 0%, #4FE8B0 58%, var(--ember) 100%);
}

/* -------------------- 6. Footer -------------------- */
.u-footer {
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background-color: var(--shade);
  background-image:
    radial-gradient(720px 380px at 88% 0%, rgba(124, 255, 107, .07), transparent 70%),
    linear-gradient(180deg, rgba(14, 42, 71, .55) 0%, rgba(2, 10, 20, .9) 100%);
}
.u-footer__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 58px) var(--gutter) 0;
}
.u-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.u-footer__col { min-width: 0; }

.u-footer__line {
  font-family: var(--f-head);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--paper);
}
.u-footer__addr {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.u-footer__note {
  margin-top: 8px;
  font-family: var(--f-data);
  font-size: 12px;
  line-height: 1.65;
  color: rgba(157, 178, 199, .72);
}

.u-footer__head {
  margin-bottom: 14px;
  font-family: var(--f-data);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}

.u-footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.u-footer__links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.u-footer__links a:hover,
.u-footer__links a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--lime);
}

.u-footer__contact {
  margin-top: 16px;
  font-family: var(--f-data);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  word-break: break-all;
}

.u-footer__base {
  margin-top: clamp(28px, 4vw, 44px);
  padding-block: 20px 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  font-family: var(--f-data);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(157, 178, 199, .72);
}
.u-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.u-footer__meta { letter-spacing: .02em; }

/* -------------------- 7. 通用页面容器 -------------------- */
.u-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.u-section { padding-block: clamp(28px, 5vw, 56px); }

.u-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-data);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.u-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.u-prose {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.85;
  color: #DCE7F2;
}
.u-prose p + p { margin-top: 1em; }

/* -------------------- 8. 面包屑 -------------------- */
.u-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--f-data);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--muted);
}
.u-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.u-breadcrumb a:hover,
.u-breadcrumb a:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime-30);
}
.u-breadcrumb__sep { color: rgba(157, 178, 199, .38); }
.u-breadcrumb [aria-current="page"] { color: var(--paper); }

/* -------------------- 9. 按钮 -------------------- */
.u-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease), transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.u-btn--lime {
  background: var(--lime);
  color: #04240D;
  box-shadow: 0 12px 26px -16px rgba(124, 255, 107, .9);
}
.u-btn--lime:hover,
.u-btn--lime:focus-visible {
  background: var(--lime-soft);
  transform: translateY(-1px);
}
.u-btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.u-btn--ghost:hover,
.u-btn--ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}
.u-btn__arrow {
  font-family: var(--f-data);
  font-size: 13px;
  line-height: 1;
  transition: transform var(--t) var(--ease);
}
.u-btn:hover .u-btn__arrow,
.u-btn:focus-visible .u-btn__arrow { transform: translateX(3px); }

/* -------------------- 10. 标签 / 时间戳 / 数字 -------------------- */
.u-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-data);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
}
.u-tag--lime {
  background: var(--lime-14);
  border-color: rgba(124, 255, 107, .34);
  color: var(--lime);
}
.u-tag--ember {
  background: var(--ember-14);
  border-color: rgba(255, 107, 74, .34);
  color: var(--ember);
}
.u-tag--muted {
  background: rgba(157, 178, 199, .08);
  border-color: var(--line-soft);
  color: var(--muted);
}

.u-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-data);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.u-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.u-num {
  font-family: var(--f-data);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* -------------------- 11. 响应式图片容器 -------------------- */
.u-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background-color: var(--ink-700);
  background-image: linear-gradient(140deg, rgba(18, 50, 83, .95), rgba(2, 10, 20, .95));
}
.u-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-figure[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.u-figure[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.u-figure[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.u-figure[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.u-figure--slant {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.u-figure__cap {
  margin-top: 8px;
  font-family: var(--f-data);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--muted);
}

/* -------------------- 12. 进入视口显现 -------------------- */
.u-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.u-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* -------------------- 13. 响应式 -------------------- */
@media (max-width: 1080px) {
  .u-footer__grid { grid-template-columns: 1.4fr 1fr; }
  .u-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .u-status { display: none; }
  .u-nav-toggle { display: inline-flex; }

  .u-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .u-header[data-open] .u-nav,
  .u-nav[data-open] { display: block; }

  .u-nav__list {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    overflow: visible;
  }
  .u-nav__item { width: 100%; }
  .u-nav__link {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--line-soft);
  }
  .u-nav__link::after {
    left: 0;
    right: auto;
    bottom: 0;
    width: 44px;
  }
  .u-nav__item:last-child .u-nav__link { border-bottom: 0; }
}

@media (max-width: 760px) {
  .u-footer__grid { grid-template-columns: 1fr; }
  .u-footer__col:last-child { grid-column: auto; }
  .u-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .u-brand__mark { flex-basis: 34px; width: 34px; height: 34px; font-size: 22px; }
  .u-brand__name { font-size: 18px; }
  .u-brand__tag { font-size: 10px; letter-spacing: .05em; }
  .u-btn { padding: 12px 20px; font-size: 14.5px; }
}

/* -------------------- 14. 减少动态偏好 -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .u-status__dot { animation: none; }

  .u-skip,
  .u-header,
  .u-brand__mark,
  .u-nav-toggle,
  .u-nav-toggle__bars,
  .u-nav-toggle__bars::before,
  .u-nav__link,
  .u-nav__link::after,
  .u-nav__idx,
  .u-footer__links a,
  .u-btn,
  .u-btn__arrow,
  .u-breadcrumb a {
    transition: none !important;
  }

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