/* =========================================================
   亚博体育中文站 · 夜场数据台 Site Kit
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html { scroll-padding-top: 140px; }
}

html, body { margin: 0; }

:root {
  --ink: #071C16;
  --ink-2: #0C2A21;
  --ink-3: #123B2E;
  --lime: #C8FF3D;
  --lime-dim: #8FBF1F;
  --orange: #FF8A3D;
  --mist: #EAF5EE;
  --sage: #9DB5A8;
  --line: #2E5A48;
  --night: #030B08;
  --on-lime: #06210F;

  --shadow-hard: 8px 8px 0 var(--night);
  --shadow-soft: 4px 4px 0 var(--night);
  --radius-pill: 999px;
  --radius-card: 2px;

  --shell-w: 1180px;
  --gutter: clamp(18px, 4vw, 44px);

  --font-title: "Arial Narrow", "Helvetica Neue", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-data: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .7, .25, 1);
}

body {
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 520px at 82% -12%, rgba(200, 255, 61, .12), transparent 62%),
    radial-gradient(720px 420px at 4% 2%, rgba(255, 138, 61, .08), transparent 60%);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  min-height: 100vh;
}

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

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--mist);
}
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.22; letter-spacing: -.01em; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

strong, b { font-weight: 800; color: var(--lime); }

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

/* ---------- 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 84px); }

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

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  max-width: 62ch;
  margin: 0 0 1em;
  color: var(--mist);
}

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  border: 2px solid var(--night);
  box-shadow: var(--shadow-soft);
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--on-lime); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(3, 11, 8, .97), rgba(7, 28, 22, .92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  pointer-events: none;
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transition: width .1s linear;
}

.header-utility { border-bottom: 1px dashed rgba(46, 90, 72, .8); }

.header-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding-block: 8px;
}

.header-utility__note {
  margin: 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--sage);
}

.utility-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.utility-list li { margin: 0; }

.utility-link {
  display: inline-block;
  padding-bottom: 2px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.utility-link:hover { color: var(--lime); border-bottom-color: var(--lime); }

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px 16px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--mist);
  text-decoration: none;
}
.brand:hover { color: var(--mist); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--lime);
  color: var(--on-lime);
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 2px solid var(--night);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transform: skewX(-7deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .03em;
  color: var(--mist);
}
.brand__line {
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

/* 悬浮胶囊导航 */
.nav-island {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  background: rgba(12, 42, 33, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 6px 6px 0 rgba(3, 11, 8, .85);
}

.site-nav { display: flex; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { margin: 0; display: block; }

.site-nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.site-nav__link:hover { color: var(--lime); background: rgba(200, 255, 61, .1); }
.site-nav__link[aria-current="page"] {
  color: var(--on-lime);
  background: var(--lime);
  box-shadow: inset 0 0 0 1px var(--night);
}
.site-nav__link[aria-current="page"]:hover { color: var(--on-lime); background: var(--orange); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: var(--lime);
  color: var(--on-lime);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  border: 2px solid var(--night);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.nav-toggle:hover { background: var(--orange); }

.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--on-lime);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--night);
  border-top: 1px solid var(--line);
  color: var(--mist);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 64px, var(--orange) 64px 128px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(0, 1.7fr) minmax(230px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 76px) clamp(28px, 4vw, 44px);
}

.footer-brand__tagline {
  margin: 16px 0 20px;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.footer-group__title,
.footer-contact__title {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list li { margin: 0; }

.footer-link {
  display: inline-block;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-link:hover { color: var(--lime); border-bottom-color: var(--lime); }

.footer-contact {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2.5vw, 28px);
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-line__label {
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
}
.contact-line__value { color: var(--mist); word-break: break-word; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 9px 16px;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.copy-btn:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--night);
}

.copy-status {
  min-height: 18px;
  margin: 8px 0 0;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--lime);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
}
.footer-copy,
.footer-icp {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sage);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink-2);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- 通用按钮 ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  border: 2px solid var(--night);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn--lime {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 6px 6px 0 var(--night);
}
.btn--lime:hover {
  background: var(--orange);
  color: #2A1200;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--night);
}
.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: var(--line);
  box-shadow: 6px 6px 0 var(--night);
}
.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--night);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(18, 59, 46, .6);
  color: var(--sage);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.tag--lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.tag--orange { background: var(--orange); color: #2A1200; border-color: var(--orange); }

/* ---------- 面包屑 ---------- */
.breadcrumb { margin: 0 0 clamp(18px, 3vw, 28px); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}
.breadcrumb__list li { margin: 0; }
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--line); }
.breadcrumb__link { color: var(--sage); text-decoration: none; }
.breadcrumb__link:hover { color: var(--lime); }
.breadcrumb__current { color: var(--mist); }

/* ---------- 章节索引条 ---------- */
.chapter-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 42, 33, .6);
}
.chapter-index__list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.chapter-index__list li { margin: 0; }
.chapter-index__link {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sage);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.chapter-index__link:hover { color: var(--lime); border-color: var(--line); }
.chapter-index__link[aria-current="true"] {
  background: var(--lime);
  color: var(--on-lime);
  border-color: var(--lime);
}

/* ---------- 面板 ---------- */
.panel {
  padding: clamp(20px, 3vw, 32px);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* ---------- 图片容器基础规则（页面阶段放占位图） ---------- */
.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard);
}
.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.media-frame[data-ratio="wide"] .media-frame__img { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="square"] .media-frame__img { aspect-ratio: 1 / 1; }
.media-frame__caption {
  padding: 10px 14px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(3, 11, 8, .55);
  border-top: 1px solid var(--line);
}

/* ---------- 数据数字 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 16px;
}
.stat__value {
  font-family: var(--font-data);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- 可展开组 ---------- */
.accordion { display: grid; gap: 10px; }

.accordion__item {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: 0;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color .16s var(--ease);
}
.accordion__trigger:hover { color: var(--lime); }
.accordion__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 20px;
  line-height: 1;
  color: var(--lime);
  transition: transform .2s var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after {
  content: "–";
  transform: rotate(180deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .28s var(--ease), visibility .28s var(--ease);
}
.accordion__panel[data-open] {
  grid-template-rows: 1fr;
  visibility: visible;
}
.accordion__body {
  min-height: 0;
  overflow: hidden;
  padding-inline: 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--mist);
}
.accordion__body p { margin: 0 0 12px; }
.accordion__body > *:last-child { margin-bottom: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 22px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .grid--split { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-island { padding: 6px; gap: 6px; }

  .site-nav {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    max-width: 560px;
    margin-inline: auto;
    padding: 10px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-hard);
    z-index: 90;
  }
  .site-nav[data-open] { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .site-nav__link {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 16px;
  }
  .site-nav__link[aria-current="page"] { border-radius: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-utility__note { display: none; }
  .header-utility__inner { justify-content: flex-end; padding-block: 7px; }
  .brand__mark { width: 38px; height: 38px; font-size: 13px; }
  .brand__name { font-size: 17px; }
  .brand__line { font-size: 9.5px; letter-spacing: .14em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .to-top { padding: 9px 13px; font-size: 12px; }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .nav-toggle__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .skip-link { transition: none; }
  .scroll-progress__bar { transition: none; }
  .to-top { transition: none; }
}
