/* =========================================================
   365在线体育 — 共享样式 /assets/site.css
   夜间球场指挥台：深墨绿底 · 荧光青柠 · 暖橙角标 · 粗边框
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: #3D5A4C #05100C;
  background: #05100C;
}

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

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

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

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

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --bg-deep: #05100C;
  --bg-pitch: #0A1B14;
  --bg-board: #123024;
  --lime: #C6FF3D;
  --lime-dark: #8FBF2A;
  --orange: #FF7A2F;
  --orange-soft: #FFB27A;
  --chalk: #F2F7EE;
  --mist: #A9BDB1;
  --line: #3D5A4C;
  --red: #FF4D4D;
  --glow: linear-gradient(160deg, #1E4D38, #0A1B14);

  --font-display: "Archivo Black", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Barlow Condensed", "DIN Condensed", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --w-max: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.2vw, 32px);
  --border: 2px solid var(--line);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(198, 255, 61, .10), transparent 62%),
    radial-gradient(900px 520px at 4% 2%, rgba(30, 77, 56, .55), transparent 66%);
  background-repeat: no-repeat;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: clamp(15px, .55vw + 13.6px, 17px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: #05100C; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
}

#main-content { scroll-margin-top: 96px; }

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(26px, 4vw, 52px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--lime);
}

.section-num::after {
  content: "";
  width: 52px;
  height: 2px;
  background: var(--lime-dark);
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.h-hero {
  font-family: var(--font-display);
  font-size: clamp(42px, 8.5vw, 96px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.02em;
  margin: 0;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.2;
  margin: 0;
}

.lede {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--mist);
}

.num {
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.accent-lime { color: var(--lime); }
.accent-orange { color: var(--orange); }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  transform: translateY(-130%);
  padding: 12px 20px;
  background: var(--lime);
  color: #05100C;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #05100C;
  transition: transform .18s ease;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 6. 命令栏页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 16, 12, .94);
  border-bottom: var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sh-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(61, 90, 76, .45);
  pointer-events: none;
}

.sh-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(198, 255, 61, .55);
}

.sh-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  min-height: 74px;
  padding-block: 10px;
}

/* 品牌 */
.sh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--chalk);
  white-space: nowrap;
}

.sh-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: #05100C;
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  border: 2px solid #05100C;
  box-shadow: 4px 4px 0 rgba(198, 255, 61, .22);
  transition: background .18s ease, box-shadow .18s ease;
}

.sh-brand:hover .sh-brand-mark {
  background: var(--orange);
  box-shadow: 4px 4px 0 rgba(255, 122, 47, .3);
}

.sh-brand-text { display: block; }

.sh-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
}

.sh-brand-sub {
  display: block;
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--lime-dark);
  line-height: 1.4;
}

/* 主导航 */
.sh-nav { justify-self: center; }

.sh-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.1vw, 18px);
}

.sh-nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 6px;
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .18s ease;
}

.sh-nav-num {
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--line);
  transition: color .18s ease;
}

.sh-nav-link:hover,
.sh-nav-link:focus-visible { color: var(--chalk); }

.sh-nav-link:hover .sh-nav-num,
.sh-nav-link:focus-visible .sh-nav-num { color: var(--orange); }

.sh-nav-link::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--lime);
  transform: translateY(-50%);
  transition: height .18s ease;
}

.sh-nav-link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.sh-nav-link[aria-current="page"] {
  color: var(--chalk);
  font-weight: 700;
}

.sh-nav-link[aria-current="page"] .sh-nav-num { color: var(--lime); }

.sh-nav-link[aria-current="page"]::before { height: 20px; }

.sh-nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 右侧工具区 */
.sh-utility {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.sh-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mist);
  white-space: nowrap;
}

.sh-sync-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .16);
  animation: syncPulse 2.6s ease-in-out infinite;
}

@keyframes syncPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 255, 61, .16); }
  50% { box-shadow: 0 0 0 7px rgba(198, 255, 61, 0); }
}

.sh-download {
  padding-bottom: 2px;
  font-size: 12.5px;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
  transition: color .18s ease, border-color .18s ease;
}

.sh-download:hover,
.sh-download:focus-visible {
  color: var(--orange-soft);
  border-bottom-color: var(--orange);
}

.sh-cta { padding: 10px 16px; font-size: 13px; }

/* 移动开关 */
.sh-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: var(--border);
  color: var(--chalk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: border-color .18s ease, color .18s ease;
}

.sh-toggle:hover,
.sh-toggle:focus-visible { border-color: var(--lime); color: var(--lime); }

.sh-toggle-box { display: grid; gap: 3px; width: 16px; }

.sh-toggle-box span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.sh-toggle[aria-expanded="true"] .sh-toggle-box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sh-toggle[aria-expanded="true"] .sh-toggle-box span:nth-child(2) { opacity: 0; }
.sh-toggle[aria-expanded="true"] .sh-toggle-box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: var(--border);
  background: linear-gradient(180deg, var(--bg-pitch), #04100B 74%);
  padding-block: clamp(38px, 6vw, 72px) 26px;
}

.sf-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.sf-brand-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.sf-brand-sub {
  margin: 8px 0 20px;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--lime-dark);
}

.sf-cta { font-size: 12.5px; padding: 10px 18px; }

.sf-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.sf-col-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--chalk);
  border-bottom: 1px solid var(--line);
}

.sf-col-num {
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
}

.sf-links { display: grid; gap: 9px; }

.sf-link {
  font-size: 13.5px;
  color: var(--mist);
  transition: color .16s ease;
}

.sf-link:hover,
.sf-link:focus-visible { color: var(--lime); }

.sf-meta {
  display: grid;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sf-contact {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.sf-note {
  margin: 0;
  font-size: 12px;
  color: #7A8F83;
}

.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 90, 76, .6);
  font-size: 12px;
  color: #7A8F83;
}

.sf-copy, .sf-icp { margin: 0; }

.sf-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.sf-legal-links a {
  color: var(--mist);
  transition: color .16s ease;
}

.sf-legal-links a:hover,
.sf-legal-links a:focus-visible { color: var(--orange-soft); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #05100C;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 rgba(255, 122, 47, .28);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--chalk);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0B02;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
}

.btn--orange:hover,
.btn--orange:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: #05100C;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { margin-bottom: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--mist);
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.breadcrumb [aria-current="page"] {
  color: var(--chalk);
  font-weight: 600;
}

/* ---------- 10. 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 11. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: var(--border);
  background: var(--glow);
}

.media-frame > img,
.media-frame > picture,
.media-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--std { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: rgba(5, 16, 12, .84);
  border-top: 2px solid var(--lime);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--lime);
}

/* ---------- 12. 面板 / 标签 / 筛选 / 折叠 ---------- */
.panel {
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--bg-pitch);
  border: var(--border);
}

.panel--lime {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px rgba(198, 255, 61, .18), 0 0 28px rgba(198, 255, 61, .12);
}

.panel--orange {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 47, .16);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}

.tag--lime { border-color: var(--lime); color: var(--lime); }
.tag--orange { border-color: var(--orange); color: var(--orange); background: rgba(255, 122, 47, .1); }
.tag--red { border-color: var(--red); color: var(--red); background: rgba(255, 77, 77, .08); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: var(--border);
  background: transparent;
  color: var(--mist);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.chip:hover,
.chip:focus-visible {
  color: var(--chalk);
  border-color: var(--lime-dark);
}

.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #05100C;
}

.fold {
  background: var(--bg-pitch);
  border: var(--border);
}

.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--chalk);
  cursor: pointer;
  list-style: none;
  transition: color .16s ease;
}

.fold > summary::-webkit-details-marker { display: none; }

.fold > summary:hover { color: var(--lime); }

.fold > summary::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  color: var(--lime);
}

.fold[open] > summary {
  border-bottom: var(--border);
  color: var(--lime);
}

.fold[open] > summary::after { content: "–"; }

.fold__body {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 13. 显现动画 ---------- */
html[data-js="on"] .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .26s ease, transform .26s ease;
}

html[data-js="on"] .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1160px) {
  .sh-sync { display: none; }
  .sh-nav-link { font-size: 12.5px; }
  .sh-nav-num { font-size: 9px; }
}

@media (max-width: 1000px) {
  .sh-download { display: none; }
}

@media (max-width: 900px) {
  .sh-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    gap: 12px;
  }

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

  .sh-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    padding: 6px var(--gutter) 22px;
    background: var(--bg-pitch);
    border-bottom: var(--border);
    justify-self: stretch;
  }

  .sh-nav[data-open] { display: block; }

  .sh-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .sh-nav-link {
    padding: 15px 0 15px 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(61, 90, 76, .55);
  }

  .sh-nav-link::before {
    left: 0;
    height: 0;
  }

  .sh-nav-link[aria-current="page"]::before { height: 26px; }

  .sh-nav-link::after {
    left: 16px;
    right: auto;
    width: 30px;
    bottom: 9px;
  }

  .sf-top { grid-template-columns: 1fr; }

  .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }

  .grid-12 > * { grid-column: span 12; }
}

@media (max-width: 640px) {
  .sh-brand-sub { display: none; }
  .sh-brand-mark { width: 38px; height: 38px; font-size: 16px; }
  .sh-brand-name { font-size: 14px; }
  .sh-cta { display: none; }
  .sh-toggle { padding: 8px 10px; }
  .sf-cols { grid-template-columns: 1fr; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding-block: clamp(32px, 8vw, 52px); }
}

@media (max-width: 380px) {
  .sh-toggle-label { display: none; }
}

/* ---------- 15. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html[data-js="on"] .reveal,
  html[data-js="on"] .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sh-sync-dot { animation: none; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
