/* ============================================================
   优博体育 Real-Time Data Platform — 共享 Site CSS
   File: /assets/site.css
   设计语言：数据研究板 / 展览画册 / 实时体育数据
   ============================================================ */

/* ---------- 1. Reset & Variables ---------- */

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

:root {
  /* Color Palette */
  --space-blue: #0B1E3F;
  --space-blue-2: #102A52;
  --space-blue-deep: #071527;
  --signal: #39FF88;
  --signal-dark: #1FA85A;
  --orange: #FF6B35;
  --orange-dark: #CC4F1F;
  --rock: #2E3B4E;
  --moss: #5E7A5E;
  --terra: #A66A4E;
  --rice: #F4F0E8;
  --red: #E63946;
  --line: rgba(244, 240, 232, 0.12);
  --line-strong: rgba(244, 240, 232, 0.25);

  /* Typography */
  --font-title: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "Roboto Mono", "Consolas", monospace;

  /* Layout Metrics */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --header-h-scrolled: 60px;
  --section-pad: clamp(64px, 10vw, 120px);
  --radius: 6px;
  --border-w: 2px;

  /* Effects */
  --shadow-hard: 8px 8px 0 rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.25);
  --glow: 0 0 12px rgba(57, 255, 136, 0.3);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-med: 0.3s;
  --t-slow: 0.55s;
}

/* ---------- 2. Base Typography ---------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--rice);
  background-color: var(--space-blue);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(57, 255, 136, 0.055), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 107, 53, 0.045), transparent),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(16, 42, 82, 0.5), transparent);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  color: var(--rice);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--signal);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--orange);
}

code,
pre,
.mono {
  font-family: var(--font-data);
  font-size: 0.875em;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--signal);
  color: var(--space-blue);
}

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

::-webkit-scrollbar-track {
  background: var(--space-blue-deep);
}

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

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

/* ---------- 3. Utilities ---------- */

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

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, var(--signal), transparent);
  margin-block: 2rem;
}

[data-year],
[data-count] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ---------- 4. Skip Link ---------- */

.skip-link {
  position: fixed;
  top: 0;
  left: var(--gutter);
  z-index: 2000;
  transform: translateY(-200%);
  padding: 0.7rem 1.3rem;
  background: var(--signal);
  color: var(--space-blue);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform var(--t-med) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--shadow-hard);
}

/* ---------- 5. Buttons & Tags ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  border-radius: var(--radius);
  border: var(--border-w) solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-accent {
  background: var(--signal);
  color: var(--space-blue);
  border-color: var(--signal);
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-accent:hover {
  background: var(--space-blue);
  color: var(--signal);
  border-color: var(--signal);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(57, 255, 136, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--rice);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(57, 255, 136, 0.06);
}

.btn-orange {
  background: var(--orange);
  color: var(--space-blue);
  border-color: var(--orange);
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-orange:hover {
  background: var(--space-blue);
  color: var(--orange);
  border-color: var(--orange);
  transform: translate(-2px, -2px);
}

.btn .btn-arrow {
  font-family: var(--font-data);
  font-size: 0.95em;
  line-height: 1;
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--rice);
  background: rgba(46, 59, 78, 0.6);
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.tag-green {
  color: var(--signal);
  border-color: rgba(57, 255, 136, 0.4);
  background: rgba(57, 255, 136, 0.08);
}

.tag-orange {
  color: var(--orange);
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.08);
}

.tag-red {
  color: var(--red);
  border-color: rgba(230, 57, 70, 0.4);
  background: rgba(230, 57, 70, 0.08);
}

/* ---------- 6. Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 30, 63, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-w) solid var(--line);
  transition:
    background var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(7, 21, 39, 0.98);
  border-bottom-color: rgba(57, 255, 136, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.scroll-progress {
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--signal), var(--orange) 70%, var(--red));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.08s linear;
  z-index: 10;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: 0.5rem;
  transition: min-height var(--t-med) var(--ease);
}

.site-header[data-scrolled] .header-inner {
  min-height: var(--header-h-scrolled);
}

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

/* ---------- 6a. Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: var(--glow);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--rice);
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-data);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--signal);
  font-weight: 600;
}

/* ---------- 6b. Navigation ---------- */

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

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(244, 240, 232, 0.85);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-index {
  font-family: var(--font-data);
  font-size: 0.65rem;
  color: var(--terra);
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}

.nav-label {
  line-height: 1.35;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--signal);
  border-radius: 2px 2px 0 0;
  transition: left var(--t-fast) var(--ease), right var(--t-fast) var(--ease);
  pointer-events: none;
}

.nav-link:hover {
  color: var(--signal);
  background: rgba(57, 255, 136, 0.07);
  border-color: rgba(57, 255, 136, 0.25);
}

.nav-link:hover .nav-index {
  color: var(--orange);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before {
  left: 0.6rem;
  right: 0.6rem;
}

.nav-link[aria-current="page"] {
  color: var(--signal);
  background: rgba(57, 255, 136, 0.12);
  border-color: rgba(57, 255, 136, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.header-actions .btn {
  padding-block: 0.45rem;
}

/* ---------- 6c. Mobile Nav Toggle ---------- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}

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

.toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rice);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}

.site-header[data-open] .toggle-bar:first-child {
  transform: translateY(7px) rotate(45deg);
  background: var(--signal);
}

.site-header[data-open] .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.site-header[data-open] .toggle-bar:last-child {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--signal);
}

/* ---------- 6d. Header Responsive ---------- */

@media (max-width: 1023px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--space-blue-deep);
    border-bottom: var(--border-w) solid rgba(57, 255, 136, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform var(--t-med) var(--ease),
      opacity var(--t-med) var(--ease),
      visibility var(--t-med);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(244, 240, 232, 0.07);
    border-radius: var(--radius);
  }

  .nav-link::before {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  .header-inner {
    gap: 0.8rem;
  }

  .header-actions .btn-accent {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-dot {
    width: 10px;
    height: 10px;
  }
}

/* ---------- 7. Footer ---------- */

.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--space-blue-deep);
  border-top: var(--border-w) solid var(--space-blue-2);
  color: rgba(244, 240, 232, 0.8);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--signal) 0 25%,
    var(--orange) 25% 50%,
    var(--terra) 50% 75%,
    rgba(57, 255, 136, 0.15) 75%);
  background-size: 400% 100%;
  animation: footer-line 12s linear infinite;
  pointer-events: none;
}

@keyframes footer-line {
  0% { background-position: 0% 0; }
  100% { background-position: 400% 0; }
}

.footer-inner {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  padding-block: 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.75);
  max-width: 26em;
}

.footer-trust {
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.5);
  border-left: 3px solid var(--signal);
  padding-left: 0.8rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--signal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(244, 240, 232, 0.7);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.footer-links a::before {
  content: "↗";
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--terra);
  transition: transform var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--signal);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  transform: translate(2px, -2px);
  color: var(--orange);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.contact-label {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--terra);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-value {
  font-size: 0.9rem;
  color: rgba(244, 240, 232, 0.85);
  line-height: 1.5;
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.4rem 2rem;
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.5);
  font-family: var(--font-data);
}

.footer-copy {
  margin: 0;
}

.footer-icp {
  color: rgba(244, 240, 232, 0.5);
}

/* ---------- 7a. Footer Responsive ---------- */

@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 639px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 8. Breadcrumb ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  padding-block: 1.25rem 0;
}

.breadcrumb .crumb-link {
  color: rgba(244, 240, 232, 0.55);
  transition: color var(--t-fast) var(--ease);
}

.breadcrumb .crumb-link:hover {
  color: var(--signal);
}

.breadcrumb .crumb-sep {
  color: var(--terra);
  font-size: 0.7rem;
}

.breadcrumb .crumb-current {
  color: var(--rice);
  font-weight: 600;
}

/* ---------- 9. Page Hero ---------- */

.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  position: relative;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--gap);
  align-items: start;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(244, 240, 232, 0.7);
  max-width: 36em;
}

@media (max-width: 767px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- 10. Grid & Cards ---------- */

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

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

@media (max-width: 1023px) {
  .col-3,
  .col-4,
  .col-5,
  .col-7,
  .col-8,
  .col-9 {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .grid > [class*="col-"] {
    grid-column: span 12;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 1023px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--rock);
  border: var(--border-w) solid rgba(244, 240, 232, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.5rem;
  position: relative;
  transition:
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.card-body {
  color: rgba(244, 240, 232, 0.78);
  font-size: 0.925rem;
  line-height: 1.65;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.card-foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  font-size: 0.82rem;
  color: rgba(244, 240, 232, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-border-accent {
  border-top: var(--border-w) solid var(--signal);
}

.card-border-orange {
  border-top: var(--border-w) solid var(--orange);
}

/* ---------- 11. Section Block / Research Board ---------- */

.section-block {
  position: relative;
  padding-block: var(--section-pad);
}

.section-block + .section-block {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.5);
}

.section-no {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--terra);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-desc {
  font-size: 0.95rem;
  color: rgba(244, 240, 232, 0.65);
  max-width: 36em;
}

.section-src {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--signal);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: var(--radius);
  background: rgba(57, 255, 136, 0.06);
  white-space: nowrap;
}

/* ---------- 12. Data Panels ---------- */

.data-panel {
  background: var(--space-blue-2);
  border: var(--border-w) solid rgba(57, 255, 136, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.data-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  background: rgba(57, 255, 136, 0.08);
  border-bottom: 1px solid rgba(57, 255, 136, 0.2);
}

.data-panel-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--signal);
  margin: 0;
}

.data-panel-body {
  padding: 1.2rem;
}

.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(244, 240, 232, 0.1);
}

.data-row:last-child {
  border-bottom: none;
}

.data-label {
  font-size: 0.85rem;
  color: rgba(244, 240, 232, 0.7);
}

.data-value {
  font-family: var(--font-data);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--signal);
  white-space: nowrap;
}

.data-value.orange {
  color: var(--orange);
}

.data-value.red {
  color: var(--red);
}

.data-value.rice {
  color: var(--rice);
}

.data-units {
  font-size: 0.7em;
  color: rgba(244, 240, 232, 0.5);
  margin-left: 0.2rem;
  font-family: var(--font-body);
}

/* ---------- 13. Live Indicators ---------- */

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: var(--glow);
  animation: pulse-dot 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.live-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: rgba(244, 240, 232, 0.6);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(46, 59, 78, 0.5);
}

.live-stamp .live-dot {
  margin: 0;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: rgba(244, 240, 232, 0.85);
}

.notice-icon {
  color: var(--orange);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------- 14. Image Frames ---------- */

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg,
      rgba(244, 240, 232, 0.025) 0 8px,
      transparent 8px 16px),
    var(--rock);
  border: var(--border-w) solid rgba(244, 240, 232, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.img-frame::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}

.img-frame[data-frame="4:3"]::before {
  padding-top: 75%;
}

.img-frame[data-frame="1:1"]::before {
  padding-top: 100%;
}

.img-frame[data-frame="21:9"]::before {
  padding-top: 42.86%;
}

.img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 15. Horizontal Scroll Strip ---------- */

.scroll-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-strip > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.scroll-strip::-webkit-scrollbar {
  height: 5px;
}

.scroll-strip::-webkit-scrollbar-track {
  background: var(--space-blue-deep);
  border-radius: 3px;
}

.scroll-strip::-webkit-scrollbar-thumb {
  background: var(--terra);
  border-radius: 3px;
}

/* ---------- 16. Reveal & Count ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 17. Focus & Reduced Motion ---------- */

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

  .brand-dot,
  .live-dot,
  .site-footer::before {
    animation: none;
  }

  .card:hover,
  .btn:hover,
  .btn-accent:hover,
  .btn-orange:hover {
    transform: none;
    box-shadow: var(--shadow-hard);
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav,
  .header-inner,
  .scroll-progress {
    transition: none;
  }
}
