/* ===== 冠竞体育 · 共享站点外壳 ===== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 82px) + 18px);
}

body {
  min-height: 100vh;
  background-color: #0A1030;
  background-image:
    linear-gradient(to right, rgba(199, 208, 228, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 208, 228, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  background-attachment: fixed;
  color: #C7D0E4;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  padding-top: 82px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

main { display: block; }

#main-content { outline: none; }

:root {
  --ink: #0A1030;
  --ink-2: #151F4A;
  --ink-edge: #060A1E;
  --ink-3: #23306B;
  --grass: #4BE38A;
  --flare: #FF7A1A;
  --white: #F5F8FF;
  --grey: #C7D0E4;
  --mist: #7F8AA8;

  --line: 2px solid var(--ink-edge);
  --line-soft: 1px solid rgba(199, 208, 228, .16);
  --shadow-hard: 6px 6px 0 var(--ink-edge);
  --shadow-hard-sm: 4px 4px 0 var(--ink-edge);

  --header-h: 82px;
  --gutter: clamp(20px, 4vw, 56px);
  --max-w: 1280px;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ===== 基础排版 ===== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: .01em;
}

h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }

p { font-size: 16px; }

strong { color: var(--white); font-weight: 700; }

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

/* ===== 通用容器 ===== */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(28px, 4vw, 56px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink-edge);
  box-shadow: 0 3px 0 rgba(199, 208, 228, .14);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-head__title {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .02em;
}

.section-head__note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grass);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--flare);
}

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

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); }

/* ===== 按钮 ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: var(--line);
  box-shadow: var(--shadow-hard-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink-edge);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--ink-edge);
}

.btn--primary { background: var(--flare); color: var(--ink-edge); }
.btn--ghost { background: var(--ink-2); color: var(--white); }
.btn--grass { background: var(--grass); color: var(--ink-edge); }

/* ===== 标签 ===== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 2px solid var(--ink-edge);
  background: var(--ink-2);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
}

.tag--grass { background: var(--grass); color: var(--ink-edge); }
.tag--flare { background: var(--flare); color: var(--ink-edge); }
.tag--outline { background: transparent; color: var(--grey); border-color: var(--mist); }

/* ===== 面包屑 ===== */

.breadcrumb {
  margin-top: clamp(18px, 3vw, 30px);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb__list > li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--ink-3);
}

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

.breadcrumb__link:hover {
  color: var(--white);
  border-bottom-color: var(--flare);
}

.breadcrumb__current { color: var(--grass); }

/* ===== 侧边索引轨道 ===== */

.rail {
  border: var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow-hard-sm);
  padding: 18px 16px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.rail__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 12px;
}

.rail__list { display: grid; gap: 2px; }

.rail__link {
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--grey);
  border-left: 3px solid transparent;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.rail__link:hover { background: var(--ink); color: var(--white); }

.rail__link[aria-current="true"],
.rail__link.is-active {
  background: var(--ink);
  color: var(--grass);
  border-left-color: var(--grass);
}

/* ===== 图片展签容器 ===== */

.figure {
  margin: 0;
  border: var(--line);
  background: var(--ink-2);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}

.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink-3);
  overflow: hidden;
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 48, 0) 42%, rgba(10, 16, 48, .72) 100%);
  pointer-events: none;
}

.figure__caption {
  padding: 12px 16px;
  border-top: var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--portrait .figure__media { aspect-ratio: 3 / 4; }

/* ===== 窄栏正文 ===== */

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--grey);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(22px, 2.6vw, 30px);
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 19px;
}

.prose ul, .prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .4em; }

.prose a {
  color: var(--grass);
  border-bottom: 1px solid currentColor;
}

/* ===== 头部 ===== */

.skip-link {
  position: absolute;
  left: 14px;
  top: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--grass);
  color: var(--ink-edge);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .1em;
  border: var(--line);
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--ink);
  border-bottom: 3px solid var(--ink-edge);
  box-shadow: 0 16px 30px -22px #000;
  transition: box-shadow .2s var(--ease);
}

.site-header[data-scrolled] {
  box-shadow: 0 22px 40px -20px #000, 0 3px 0 rgba(75, 227, 138, .28);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--white);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--ink-2);
  border: var(--line);
  box-shadow: var(--shadow-hard-sm);
  color: var(--grass);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.brand:hover .brand__mark {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink-edge);
}

.brand__text { display: grid; gap: 1px; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .16em;
  line-height: 1.12;
  color: var(--white);
}

.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.4;
}

.header-band {
  flex: 1 1 auto;
  min-width: 24px;
  height: 12px;
  align-self: center;
  margin-top: 8px;
  background-image: repeating-linear-gradient(90deg, rgba(199, 208, 228, .34) 0 1px, transparent 1px 15px);
  border-bottom: 2px solid rgba(199, 208, 228, .16);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1;
}

.status__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 3px rgba(75, 227, 138, .18);
}

.status__text { white-space: nowrap; }

.quick-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--flare);
  color: var(--ink-edge);
  border: var(--line);
  box-shadow: var(--shadow-hard-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.quick-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink-edge);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: var(--ink-2);
  color: var(--white);
  border: var(--line);
  box-shadow: var(--shadow-hard-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.4;
}

.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--grass);
  transition: transform .2s var(--ease);
}

.nav-toggle__label { white-space: nowrap; }

.site-nav { flex: 0 0 auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 18px);
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 6px;
  color: var(--grey);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.1vw, 15.5px);
  letter-spacing: .1em;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .16s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 3px;
  background: var(--grass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease), background-color .16s var(--ease);
}

.site-nav__link:hover { color: var(--white); }
.site-nav__link:hover::before { transform: scaleX(1); }

.site-nav__link[aria-current="page"] { color: var(--white); }

.site-nav__link[aria-current="page"]::before {
  transform: scaleX(1);
  background: var(--flare);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink-edge);
}

.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--grass), var(--flare));
}

/* ===== 页脚 ===== */

.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-2);
  border-top: 3px solid var(--ink-edge);
  box-shadow: inset 0 3px 0 rgba(75, 227, 138, .22);
  color: var(--grey);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: var(--line);
  background: var(--ink);
  box-shadow: var(--shadow-hard-sm);
  margin-top: clamp(28px, 4vw, 46px);
}

.footer-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-right: 2px solid var(--ink-edge);
  font-family: var(--font-mono);
  line-height: 1.6;
}

.footer-strip__item:last-child { border-right: 0; }

.footer-strip__key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-strip__val {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.footer-strip__val--live {
  color: var(--grass);
  letter-spacing: .16em;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 68px) 0 clamp(26px, 4vw, 44px);
}

.footer-brand .brand { margin-bottom: 18px; }

.footer-brand .brand__mark {
  width: 52px;
  height: 52px;
  font-size: 26px;
}

.footer-note {
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

.footer-links__title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grass);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink-edge);
}

.footer-links__list { display: block; }

.footer-links__list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--grey);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.footer-links__list a:hover {
  color: var(--white);
  border-bottom-color: var(--flare);
}

.footer-contact__list { display: block; }

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(199, 208, 228, .16);
}

.footer-contact__row:last-child { border-bottom: 0; }

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-contact__val {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--white);
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 30px;
  border-top: 2px solid var(--ink-edge);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

.footer-legal { color: var(--grey); }

.footer-copy { color: var(--mist); }

/* ===== 响应式 ===== */

@media (max-width: 1299px) {
  .status__text { display: none; }
}

@media (max-width: 1099px) {
  :root { --header-h: 64px; }

  body { padding-top: 64px; }

  .header-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .header-band,
  .header-tools { display: none; }

  .brand__mark { width: 40px; height: 40px; font-size: 20px; box-shadow: 3px 3px 0 var(--ink-edge); }
  .brand__name { font-size: 17px; letter-spacing: .14em; }
  .brand__sub { font-size: 9px; letter-spacing: .22em; }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--ink-2);
    border-bottom: 3px solid var(--ink-edge);
    box-shadow: 0 24px 40px -20px #000;
    padding: 8px var(--gutter) 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s linear;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header[data-open] .nav-toggle__bars i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header[data-open] .nav-toggle__bars i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(199, 208, 228, .14);
  }

  .site-nav__link {
    padding: 14px 4px;
    font-size: 19px;
    letter-spacing: .12em;
  }

  .site-nav__link::before { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--grass);
    padding-left: 16px;
    box-shadow: inset 3px 0 0 var(--grass);
  }

  .site-nav__link:hover { color: var(--white); }

  .rail { position: static; }
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-strip__item { border-right: 0; border-bottom: 2px solid var(--ink-edge); }
  .footer-strip__item:last-child { border-bottom: 0; }
  .footer-bottom { font-size: 11px; letter-spacing: .06em; }
  h1 { font-size: clamp(38px, 9vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover,
  .quick-link:hover,
  .brand:hover .brand__mark {
    transform: none;
  }
}
