/* ==========================================================================
   6686体育 · 共享样式表 /assets/site.css
   夜间赛场指挥中心：深墨绿底 · 炭黑看台面板 · 荧光青柠导航 · 暖橙标记 · 奶油展签
   ========================================================================== */

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

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

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

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

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

@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;
  }
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 色板 */
  --ink:        #0B1410;
  --panel:      #101B16;
  --panel-up:   #17251E;
  --lime:       #C9FF3D;
  --lime-deep:  #9BE02B;
  --orange:     #FF8A2B;
  --cream:      #F3EAD8;
  --text:       #E9F1E8;
  --muted:      #8FA396;
  --faint:      #6F8279;
  --line:       #2C3B33;
  --line-soft:  rgba(44, 59, 51, 0.55);

  /* 字体 */
  --font-display: "Haettenschweiler", "Arial Narrow", "Helvetica Neue",
                  "PingFang SC", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-body:    "PingFang SC", "Source Han Sans SC", "Noto Sans SC",
                  "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "Roboto Mono", ui-monospace,
                  SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺寸 */
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 40px);
  --pill: 999px;
  --radius-panel: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(140% 80% at 82% -12%, rgba(201, 255, 61, 0.07) 0%, transparent 56%),
    radial-gradient(110% 70% at 4% 8%, rgba(23, 37, 30, 0.9) 0%, transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

p { max-width: 38em; }

#main-content { display: block; scroll-margin-top: 132px; }
#main-content:focus { outline: none; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--lime); color: var(--ink); }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/* ---------- 5. 头部：悬浮胶囊浮岛 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px var(--gut) 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 82%, rgba(11, 20, 16, 0.72) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.head-rail {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background:
    linear-gradient(100deg, rgba(23, 37, 30, 0.98) 0%, rgba(16, 27, 22, 0.98) 100%);
  box-shadow: 0 16px 38px -30px rgba(0, 0, 0, 0.95);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-head.is-scrolled .head-rail {
  border-color: #3d5147;
  box-shadow: 0 18px 42px -26px rgba(0, 0, 0, 0.98);
}

/* 品牌 */
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  transition: background-color 0.18s var(--ease);
}
.brand:hover .brand__mark { background: var(--lime-deep); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
}

/* 导航 */
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__list > li { flex: 0 0 auto; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(201, 255, 61, 0.09); }
.nav-link:focus-visible { outline-color: var(--cream); }
.nav-link[aria-current="page"] {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.nav-link[aria-current="page"]:hover { background: var(--lime-deep); color: var(--ink); }

/* 工具胶囊区 */
.head-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.tool::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.tool--lime::before { background: var(--lime); }
.tool:hover {
  color: var(--text);
  border-color: var(--lime-deep);
  background: rgba(201, 255, 61, 0.07);
}
.head-cta { margin-left: 2px; }

/* 移动端开关按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] { color: var(--lime); border-color: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 阅读进度条 */
.scroll-meter {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line-soft);
  pointer-events: none;
}
.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-deep) 58%, var(--orange) 100%);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff6e6; }
.btn--sm { padding: 7px 15px; font-size: 12.5px; }

/* ---------- 7. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 880px; }

.stack { display: grid; gap: clamp(12px, 1.6vw, 20px); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--8-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

/* ---------- 8. 排版组件 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.page-lede {
  max-width: 36em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
  color: #CFDACD;
}

.vertical-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: dotPulse 1.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 9. 面板 / 标签 / 分隔 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.panel--cut {
  border: 0;
  border-radius: 0;
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: background-color 0.2s var(--ease);
}
.panel--cut::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(
    225deg,
    transparent calc(50% - 1px),
    var(--lime-deep) calc(50% - 1px),
    var(--lime-deep) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  pointer-events: none;
}
.panel--cut:hover { background: var(--panel-up); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tag--lime { background: transparent; border-color: var(--lime); color: var(--lime); }
.tag--orange { background: transparent; border-color: var(--orange); color: var(--orange); }

.rule { height: 1px; border: 0; background: var(--line); }
.rule--slash {
  height: 10px;
  border: 0;
  background-image: repeating-linear-gradient(
    115deg,
    var(--line) 0 1px,
    transparent 1px 12px
  );
}
.trackline {
  height: 12px;
  background-image: repeating-linear-gradient(
    115deg,
    var(--line) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.9;
}

/* ---------- 10. 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.crumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.crumb a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.crumb__sep { color: #4B5C52; }

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--panel);
  background-image:
    radial-gradient(120% 90% at 18% 0%, #1B2D24 0%, transparent 62%),
    linear-gradient(160deg, #14211B 0%, #0B1410 100%);
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--stage { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--cut {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(11, 20, 16, 0.74) 100%);
  pointer-events: none;
}

/* ---------- 12. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(72px, 10vw, 132px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 32px);
  background: var(--panel);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--lime-deep) 28%,
    var(--orange) 72%,
    transparent 100%
  );
  opacity: 0.75;
}

.foot-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
}

.foot-brand__mark {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}
.foot-brand__mark span { color: var(--lime); }
.foot-brand__name {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.foot-brand__note {
  margin-top: 14px;
  max-width: 22em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--faint);
}

.foot-col__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}
.foot-col__no {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.foot-col__desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
}
.foot-col__list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.foot-col__list a {
  font-size: 13.5px;
  color: #A9BDB1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.foot-col__list a:hover { color: var(--lime); border-bottom-color: currentColor; }

.foot-plate {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 6px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
}
.foot-plate__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #7A6A4F;
}
.foot-plate__line {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  max-width: none;
}
.foot-plate__line--mono {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.foot-plate__note {
  margin-top: 12px;
  max-width: 44em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--faint);
}

.foot-base {
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.foot-base__icp { color: var(--muted); }

/* ---------- 13. 响应式：平板 ---------- */
@media (max-width: 1180px) {
  .brand__sub { display: none; }
  .head-tools .tool { padding: 6px 10px; font-size: 11px; }
  .nav-link { padding: 7px 11px; font-size: 13.5px; }
}

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 14. 响应式：移动导航 ---------- */
@media (max-width: 1023px) {
  .site-head { padding: 8px 12px 0; }

  .head-rail {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .brand { margin-right: auto; }

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

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    display: none;
  }
  .site-nav[data-open] {
    display: block;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
  }
  .site-nav__list > li { flex: 1 1 auto; }
  .nav-link {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .head-tools {
    order: 4;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .head-tools::-webkit-scrollbar { display: none; }
  .head-tools .tool { display: inline-flex; flex: 0 0 auto; }
  .head-cta { flex: 0 0 auto; margin-left: auto; }
}

/* ---------- 15. 响应式：手机 ---------- */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .media--wide { aspect-ratio: 16 / 10; }
  .media--tall { aspect-ratio: 1 / 1; }
  .section { padding: clamp(36px, 8vw, 56px) 0; }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .display { font-size: clamp(32px, 9vw, 48px); }
}
