:root {
  --bg: #0a0e1a;
  --bg-deep: #0d2a44;
  --card: #131c2e;
  --border: #1f2a44;
  --orange: #ff7a1a;
  --orange-soft: #ffb35c;
  --green: #2effb0;
  --muted: #8fa3c7;
  --near-white: #e8f0ff;
  --link: #3b6ea5;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --header-h: 72px;
  --container-w: 1240px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

p {
  margin-bottom: 1rem;
}

:where(ul, ol):not([class]) {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--near-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--orange);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--link);
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 300;
  transform: translateY(-120%);
  background: var(--orange);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

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

#main-content {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

.section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section--tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.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));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--bg);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--orange-soft);
  color: var(--bg);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.18);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--near-white);
}

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

.btn--sm {
  min-height: 36px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card--accent {
  border-color: rgba(255, 122, 26, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.08), 0 24px 48px rgba(0, 0, 0, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  background: rgba(46, 255, 176, 0.1);
  color: var(--green);
  border: 1px solid rgba(46, 255, 176, 0.3);
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  flex-shrink: 0;
}

.badge--orange {
  background: rgba(255, 122, 26, 0.1);
  color: var(--orange);
  border-color: rgba(255, 122, 26, 0.3);
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--near-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title__index {
  font-family: var(--font-mono);
  font-size: 0.55em;
  font-weight: 400;
  color: var(--orange);
}

.section-title__sub {
  font-size: 0.42em;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.data-number {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--near-white);
  letter-spacing: -0.02em;
}

.data-number__unit {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.25em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '\2215';
  color: var(--border);
  margin-right: 0.5rem;
  font-family: var(--font-mono);
}

.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--near-white);
}

.breadcrumb__current {
  color: var(--near-white);
  font-weight: 600;
}

.image-frame {
  position: relative;
  display: block;
  min-height: 0;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.image-frame--sport {
  aspect-ratio: 4 / 5;
}

.image-frame--wide {
  aspect-ratio: 21 / 9;
}

.image-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.image-frame__placeholder::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  margin-right: 0.5rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}

.legend__dot--orange {
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
}

.legend__dot--blue {
  background: var(--link);
  box-shadow: 0 0 6px var(--link);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
}

.site-header__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--green));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand__mark {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
}

.site-brand__mark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  border-right-color: transparent;
  animation: spin 6s linear infinite;
}

.site-brand__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-glow 2.2s ease-in-out infinite;
}

.site-brand__text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--near-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-brand__product {
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--orange);
  opacity: 0.55;
}

.site-nav__link:hover {
  color: var(--near-white);
  background-color: rgba(31, 42, 68, 0.45);
}

.site-nav__link[aria-current="page"] {
  color: var(--near-white);
  background-color: rgba(31, 42, 68, 0.5);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  opacity: 1;
}

.site-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  transform: translateX(-50%);
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.site-nav-toggle:hover {
  border-color: var(--orange);
}

.site-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--near-white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

html[data-nav-open] {
  overflow: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(10, 14, 26, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

html[data-nav-open] body::after {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--near-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-top:hover,
.site-top:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.site-top__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--border) 35%, transparent 100%);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -6rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 110, 165, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.site-footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.site-footer__brand-block {
  max-width: 34rem;
}

.site-footer__brand-block .site-brand__text {
  font-size: 1.4rem;
}

.site-footer__trust {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer__address {
  font-style: normal;
  display: grid;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__addr-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__addr-item::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
}

.site-footer__column {
  min-width: 0;
}

.site-footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-white);
  padding-bottom: 0.625rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(31, 42, 68, 0.8);
}

.site-footer__linklist {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.site-footer__linklist a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__linklist a::before {
  content: '';
  flex-shrink: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  transition: background-color 0.2s ease;
}

.site-footer__linklist a:hover {
  color: var(--near-white);
}

.site-footer__linklist a:hover::before {
  background: var(--orange);
}

.site-footer__bottom {
  border-top: 1px solid rgba(31, 42, 68, 0.7);
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__copyright,
.site-footer__icp,
.site-footer__credit {
  margin-bottom: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--green);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 16px var(--green), 0 0 28px rgba(46, 255, 176, 0.45);
  }
}

@media (max-width: 980px) {
  .site-nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(360px, 90vw);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    margin-left: 0;
    background: var(--card);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 0 var(--radius-lg);
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.35);
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav::before {
    content: '目录索引 / 06';
    display: block;
    padding: 0.25rem 0.75rem 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: var(--muted);
  }

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

  .site-nav__item {
    border-bottom: 1px solid rgba(31, 42, 68, 0.7);
  }

  .site-nav__item:last-child {
    border-bottom: none;
  }

  .site-nav__link {
    padding: 0.875rem 0.75rem;
    border-radius: 12px;
    font-size: 1.05rem;
    min-height: 44px;
  }

  .site-nav__link[aria-current="page"]::after {
    left: auto;
    right: 0.75rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .site-footer__brand-block {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 420px) {
  .site-brand__product {
    display: none;
  }
}

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

  .site-brand__mark::before,
  .site-brand__pulse {
    animation: none;
  }

  .site-nav,
  .site-nav-toggle__bar,
  .site-top {
    transition: none;
  }

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