/* ================================================================
   诺亚赛事 · 共享站点套件 /assets/site.css
   夜间球场数据控制室：蓝图网格 + 左侧版本仪表栏 + 细线框架头
   ================================================================ */

:root {
  --nv-ink: #061421;
  --nv-panel: #0B2233;
  --nv-line: #123A4A;
  --nv-lime: #B7FF3C;
  --nv-lime-soft: #E6FFA3;
  --nv-orange: #FF8A3D;
  --nv-white: #F3F7F2;
  --nv-mute: #8FA5B2;
  --nv-teal: #2DD4BF;
  --nv-rail-w: 268px;
  --nv-top-h: 56px;
  --nv-max: 1240px;
  --nv-gutter: clamp(16px, 4vw, 40px);
  --nv-ease: cubic-bezier(.22, .7, .28, 1);
  --nv-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nv-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nv-top-h) + 16px);
}
body {
  margin: 0;
  padding-top: var(--nv-top-h);
  font-family: var(--nv-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--nv-white);
  background-color: var(--nv-ink);
  background-image:
    linear-gradient(to right, rgba(18, 58, 74, .38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 58, 74, .38) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--nv-teal);
  outline-offset: 3px;
}

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

/* ================================================================
   1. 框架头
   ================================================================ */
.nv-header { position: relative; z-index: 100; }

/* 跳转链接 */
.nv-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  font-family: var(--nv-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: #04121E;
  background: var(--nv-lime);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .18s var(--nv-ease);
}
.nv-skip:focus { transform: translateY(0); }

/* 顶部细线框架栏 */
.nv-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  height: var(--nv-top-h);
  padding: 0 var(--nv-gutter);
  background: rgba(6, 20, 33, .9);
  border-bottom: 1px solid var(--nv-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 品牌 */
.nv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--nv-white);
}
.nv-brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--nv-lime);
  color: #04121E;
  font-family: var(--nv-font-mono);
  font-size: 15px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.nv-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.nv-brand__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
}
.nv-brand__sub {
  font-family: var(--nv-font-mono);
  font-size: 9px;
  letter-spacing: .32em;
  color: var(--nv-mute);
}
.nv-brand--footer { margin-bottom: 14px; }

/* 开赛提醒条 */
.nv-strip {
  display: none;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--nv-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nv-strip__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--nv-orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .16);
  animation: nv-pulse 2.6s ease-in-out infinite;
}
.nv-strip__text { overflow: hidden; text-overflow: ellipsis; }
@keyframes nv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* 移动导航按钮 */
.nv-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--nv-line);
  color: var(--nv-white);
  font-family: var(--nv-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  cursor: pointer;
  transition: border-color .18s var(--nv-ease), color .18s var(--nv-ease);
}
.nv-toggle:hover { border-color: rgba(183, 255, 60, .6); color: var(--nv-lime); }
.nv-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 12px;
}
.nv-toggle__bars span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform .18s var(--nv-ease);
}
.nv-toggle[aria-expanded="true"] .nv-toggle__bars span:first-child { transform: translateY(2.5px) rotate(45deg); }
.nv-toggle[aria-expanded="true"] .nv-toggle__bars span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* 版本抽屉 / 左侧仪表栏 */
.nv-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  width: min(322px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 24px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, #0B2233 0%, #071825 58%, #061421 100%);
  border-right: 1px solid var(--nv-line);
  transform: translateX(-102%);
  transition: transform .22s var(--nv-ease);
}
.nv-drawer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  background-image: linear-gradient(to bottom, rgba(183, 255, 60, .45) 1px, transparent 1px);
  background-size: 100% 24px;
  opacity: .45;
  pointer-events: none;
}
.nv-drawer[data-open] { transform: translateX(0); }

.nv-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nv-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(183, 255, 60, .09);
  border-left: 2px solid var(--nv-lime);
}
.nv-badge__k {
  font-family: var(--nv-font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--nv-mute);
}
.nv-badge__v {
  font-family: var(--nv-font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--nv-lime);
}
.nv-drawer__close {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--nv-line);
  color: var(--nv-mute);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s var(--nv-ease), border-color .18s var(--nv-ease);
}
.nv-drawer__close:hover { color: var(--nv-lime); border-color: rgba(183, 255, 60, .55); }

/* 导航 */
.nv-nav { display: flex; flex-direction: column; gap: 10px; }
.nv-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nv-line);
}
.nv-nav__item { border-bottom: 1px solid rgba(18, 58, 74, .75); }
.nv-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 10px 12px 14px;
  color: var(--nv-mute);
  text-decoration: none;
  transition: color .18s var(--nv-ease), background-color .18s var(--nv-ease);
}
.nv-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  transform: translateY(-50%);
  transition: width .18s var(--nv-ease), background-color .18s var(--nv-ease), opacity .18s var(--nv-ease);
}
.nv-nav__link:hover { color: var(--nv-white); background: rgba(183, 255, 60, .06); }
.nv-nav__link:hover::before { width: 12px; background: var(--nv-lime-soft); opacity: 1; }
.nv-nav__idx {
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(143, 165, 178, .62);
}
.nv-nav__label { font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.nv-nav__link[aria-current="page"] {
  color: var(--nv-lime);
  background: rgba(183, 255, 60, .1);
}
.nv-nav__link[aria-current="page"]::before {
  width: 2px;
  height: calc(100% - 16px);
  background: var(--nv-lime);
  opacity: 1;
}
.nv-nav__link[aria-current="page"] .nv-nav__idx { color: var(--nv-lime-soft); }

/* 抽屉底部 */
.nv-drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--nv-line);
}
.nv-drawer__note {
  margin: 0;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--nv-mute);
}
.nv-drawer__meta {
  margin: 0;
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--nv-mute);
}
.nv-drawer__meta .nv-mono { color: var(--nv-lime); }

/* 遮罩 */
.nv-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 10, 17, .68);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--nv-ease), visibility .2s var(--nv-ease);
}
.nv-drawer[data-open] ~ .nv-scrim { opacity: 1; visibility: visible; }

/* 阅读进度光带 */
.nv-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 140;
  height: 2px;
  background: rgba(18, 58, 74, .65);
  pointer-events: none;
}
.nv-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nv-teal), var(--nv-lime));
  transition: width .12s linear;
}

/* ================================================================
   2. 通用按钮
   ================================================================ */
.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s var(--nv-ease), color .18s var(--nv-ease), border-color .18s var(--nv-ease);
}
.nv-btn--primary {
  background: var(--nv-orange);
  color: #24130A;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.nv-btn--primary:hover { background: #FFA268; }
.nv-btn--ghost {
  background: rgba(11, 34, 51, .65);
  border-color: var(--nv-line);
  color: var(--nv-white);
}
.nv-btn--ghost:hover { border-color: rgba(183, 255, 60, .6); color: var(--nv-lime); }

/* ================================================================
   3. 页脚
   ================================================================ */
.nv-footer {
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(30px, 5vw, 56px) var(--nv-gutter) 26px;
  background: linear-gradient(180deg, #071825 0%, #040E17 100%);
  border-top: 1px solid var(--nv-line);
}
.nv-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  max-width: var(--nv-max);
  margin: 0 auto;
}
.nv-footer__summary {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--nv-mute);
}
.nv-footer__stamp {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(143, 165, 178, .8);
}
.nv-footer__stamp .nv-mono { color: var(--nv-lime); }

.nv-footer__coltitle {
  margin: 0 0 12px;
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--nv-lime);
  text-transform: uppercase;
}
.nv-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.nv-footer__link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--nv-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--nv-ease), border-color .18s var(--nv-ease);
}
.nv-footer__link:hover { color: var(--nv-white); border-bottom-color: var(--nv-teal); }

.nv-footer__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--nv-max);
  margin: clamp(26px, 4vw, 42px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 58, 74, .85);
}
.nv-contact__item { display: flex; flex-direction: column; gap: 5px; }
.nv-contact__label {
  font-family: var(--nv-font-mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: rgba(143, 165, 178, .85);
  text-transform: uppercase;
}
.nv-contact__value {
  font-size: 13px;
  line-height: 1.7;
  color: var(--nv-white);
  word-break: break-word;
}
.nv-contact__value--mono {
  font-family: var(--nv-font-mono);
  letter-spacing: .06em;
  color: var(--nv-lime-soft);
}
.nv-copy {
  align-self: flex-start;
  margin-top: 4px;
  padding: 5px 9px;
  background: transparent;
  border: 1px solid var(--nv-line);
  color: var(--nv-mute);
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  cursor: pointer;
  transition: color .18s var(--nv-ease), border-color .18s var(--nv-ease);
}
.nv-copy__label { font: inherit; letter-spacing: inherit; }
.nv-copy:hover { color: var(--nv-lime); border-color: rgba(183, 255, 60, .5); }
.nv-copy[data-copied="true"] { color: var(--nv-lime); border-color: var(--nv-lime); }

.nv-footer__note {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--nv-line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--nv-mute);
}
.nv-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  max-width: var(--nv-max);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 58, 74, .85);
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(143, 165, 178, .85);
}
.nv-footer__legal, .nv-footer__meta { margin: 0; }
.nv-footer__meta .nv-mono { color: var(--nv-lime); }

/* ================================================================
   4. 正文容器 / 排版 / 网格 / 基础组件
   ================================================================ */
.nv-container {
  width: 100%;
  max-width: var(--nv-max);
  margin-inline: auto;
  padding-inline: var(--nv-gutter);
}
.nv-section { padding-block: clamp(32px, 6vw, 76px); }

.nv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--nv-lime);
  text-transform: uppercase;
}
.nv-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--nv-lime);
  flex: 0 0 auto;
}

.nv-display {
  margin: 0;
  font-size: clamp(40px, 9vw, 112px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: .02em;
}
.nv-h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: .06em;
}
.nv-h3 {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
}
.nv-lede {
  max-width: 60ch;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.78;
  color: #C9D8D2;
}

.nv-prose {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.85;
  color: #DCE7E0;
}
.nv-prose p { margin: 0 0 1.1em; }
.nv-prose h3 {
  margin: 1.8em 0 .6em;
  font-size: 17px;
  letter-spacing: .08em;
  color: var(--nv-white);
}
.nv-prose ul, .nv-prose ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.nv-prose li { margin-bottom: .45em; }
.nv-prose a {
  color: var(--nv-lime-soft);
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 191, .65);
  text-underline-offset: 3px;
}
.nv-prose strong { color: var(--nv-white); font-weight: 700; }

.nv-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--nv-mute);
}
.nv-breadcrumb li { display: flex; align-items: center; }
.nv-breadcrumb li + li::before {
  content: "/";
  padding: 0 9px;
  color: rgba(143, 165, 178, .45);
}
.nv-breadcrumb a {
  color: var(--nv-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nv-breadcrumb a:hover { color: var(--nv-lime); border-bottom-color: rgba(183, 255, 60, .5); }

.nv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.4vw, 24px);
}

.nv-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  background: linear-gradient(180deg, rgba(11, 34, 51, .96) 0%, rgba(7, 24, 37, .96) 100%);
  border: 1px solid var(--nv-line);
}
.nv-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 2px;
  background: var(--nv-lime);
}
.nv-card--cut {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.nv-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--nv-white);
}

.nv-figure { margin: 0; position: relative; }
.nv-figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--nv-line);
  background: linear-gradient(135deg, #0B2233 0%, #061421 55%, #0B2233 100%);
}
.nv-figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(18, 58, 74, .7) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 58, 74, .7) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .5;
  pointer-events: none;
}
.nv-figure__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05);
}
.nv-figure__cap {
  margin-top: 9px;
  font-family: var(--nv-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--nv-mute);
}
.nv-figure--wide .nv-figure__media { aspect-ratio: 21 / 9; }
.nv-figure--tall .nv-figure__media { aspect-ratio: 4 / 5; }

/* 滚动显现 */
html.nv-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--nv-ease), transform .5s var(--nv-ease);
}
html.nv-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ================================================================
   5. 断点
   ================================================================ */
@media (min-width: 640px) {
  .nv-grid--2, .nv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .nv-strip { display: flex; margin-left: auto; }
  .nv-toggle { margin-left: 0; }
  .nv-footer__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 1023px) {
  body.nv-nav-open { overflow: hidden; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--nv-rail-w); }
  .nv-topbar { left: var(--nv-rail-w); }
  .nv-toggle { display: none; }
  .nv-drawer {
    width: var(--nv-rail-w);
    transform: none;
    padding: 18px 20px 22px;
    z-index: 96;
  }
  .nv-drawer__close { display: none; }
  .nv-scrim { display: none; }
  .nv-progress { left: var(--nv-rail-w); }
  .nv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-footer__stamp { margin-top: 18px; }
}

/* ================================================================
   6. 无障碍
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.nv-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .nv-progress__bar { transition: none !important; }
}
