/* ==========================================================
   亚体育竞界 共享样式 /assets/site.css
   设计基调：竞速数据终端 / Racing Data Terminal
   ========================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --c-bg: #0A1F44;
  --c-accent: #FF6B35;
  --c-cyan: #00E5FF;
  --c-paper: #F5F0E8;
  --c-ink: #1A1A1A;
  --c-bg-alt: #1E3A5F;
  --c-muted: #8A94A6;
  --c-border: #C0C8D0;
  --c-bg-deep: #061633;

  --font-head: Montserrat, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: Inter, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', 'Courier New', monospace;

  --container: 80rem;
  --transition: 0.22s ease;
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-paper);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

body.nav-open {
  overflow: hidden;
}

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

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

a {
  color: var(--c-cyan);
}

a:hover {
  color: var(--c-accent);
}

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

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

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--c-bg-alt);
  border: 2px solid var(--c-bg);
}

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

/* ---------- 布局工具 ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.page-main {
  flex: 1 0 auto;
  width: 100%;
  outline: none;
}

#main-content {
  scroll-margin-top: 5rem;
}

.section {
  padding-block: var(--space-lg);
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 64rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-paper);
}

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.text-muted {
  color: var(--c-muted);
}

.display-heading {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 2rem;
  background: var(--c-accent);
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 6px) 100%, 0 100%);
}

.section-title__sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-muted);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  color: var(--c-paper);
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  color: var(--c-paper);
  margin: 2rem 0 0.75rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.25rem;
}

.prose li {
  margin-bottom: 0.375rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  color: var(--c-paper);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-bg);
  border: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.btn--primary:hover {
  background: #ff8255;
  color: var(--c-bg);
}

.btn--outline {
  border: 1px solid var(--c-cyan);
  color: var(--c-cyan);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(0, 229, 255, 0.08);
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ---------- 头部框架 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 31, 68, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 4px 24px rgba(4, 12, 35, 0.45);
}

.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-accent) 0 32%, var(--c-cyan) 32% 100%);
  pointer-events: none;
  z-index: 4;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0 14%, var(--c-cyan) 14% 22%, transparent 22%);
  pointer-events: none;
  z-index: 4;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-accent));
  z-index: 6;
  pointer-events: none;
}

/* 顶部状态条 */
.header-topline {
  background: var(--c-bg-deep);
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.header-topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.4rem;
}

.header-topline__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-topline__mono {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  white-space: nowrap;
  display: none;
}

@media (min-width: 48rem) {
  .header-topline__mono {
    display: block;
  }
}

.status-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* 主行 */
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

@media (min-width: 64rem) {
  .header-main {
    padding-block: 1rem;
  }
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--c-paper);
  flex-shrink: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--c-bg-alt);
  border: 1px solid rgba(0, 229, 255, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: rotate(-6deg);
  border-color: var(--c-accent);
}

.brand__text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand__text strong {
  color: var(--c-accent);
  font-weight: 900;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-bg);
  border: 1px solid rgba(255, 107, 53, 0.6);
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 120;
}

.nav-toggle:hover {
  background: rgba(255, 107, 53, 0.14);
  border-color: var(--c-accent);
}

.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-cyan);
  transition: transform 0.2s ease, width 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__line:nth-child(2) {
  width: 70%;
}

.nav-toggle:hover .nav-toggle__line:nth-child(2),
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  width: 100%;
}

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

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

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

.nav-toggle__label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

/* ---------- 抽屉导航 ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 28, 0.72);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-backdrop[data-open] {
  opacity: 1;
  pointer-events: auto;
}

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  width: min(84vw, 20rem);
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border-left: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  padding: 4.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}

.main-nav[data-open] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.28s ease, visibility 0s linear 0s;
}

/* 搜索框 */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: -1;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.5);
  padding: 0.4rem 0.75rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search:focus-within {
  background: rgba(255, 107, 53, 0.14);
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.nav-search__icon {
  color: var(--c-accent);
  flex-shrink: 0;
}

.nav-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.2rem 0;
}

.nav-search__input::placeholder {
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.nav-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.nav-search__input::-ms-clear {
  display: none;
}

.nav-search__slash {
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* 导航列表 */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-list__link {
  display: block;
  position: relative;
  padding: 0.875rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list__link:hover,
.nav-list__link:focus-visible {
  background: rgba(0, 229, 255, 0.06);
  color: var(--c-cyan);
}

.nav-list__link[aria-current="page"] {
  color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: inset 3px 0 0 var(--c-accent);
}

/* 抽屉底部状态 */
.nav-quick {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.nav-quick__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.nav-quick__text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* ---------- 桌面导航 ---------- */
@media (min-width: 64rem) {

  .site-header {
    background: var(--c-bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-toggle,
  .nav-quick,
  .nav-backdrop {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    transform: none;
    visibility: visible;
    transition: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding: 0;
    box-shadow: none;
    border-left: none;
    background: none;
    overflow: visible;
  }

  .main-nav[data-open] {
    transform: none;
    visibility: visible;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-list__link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9063rem;
    border-bottom: none;
    background: none;
    box-shadow: none;
  }

  .nav-list__link:hover,
  .nav-list__link:focus-visible,
  .nav-list__link[aria-current="page"] {
    background: none;
    box-shadow: none;
  }

  .nav-list__link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    display: block;
    background: linear-gradient(90deg, var(--c-accent), var(--c-cyan));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
  }

  .nav-list__link:hover::after,
  .nav-list__link:focus-visible::after,
  .nav-list__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-list__link[aria-current="page"] {
    color: var(--c-cyan);
  }

  .nav-search {
    order: 0;
    width: 12.5rem;
    margin-bottom: 0;
  }

  .nav-search__input {
    width: auto;
    flex: 1;
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--c-bg-deep);
  color: var(--c-paper);
  margin-top: var(--space-xl);
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent) 0 38%, var(--c-cyan) 38% 100%);
}

.footer-main {
  padding-top: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1fr 1.8fr;
    gap: 3rem;
  }

  .footer-block--brand {
    grid-column: auto;
  }
}

.footer-block--brand .brand__text {
  font-size: 1.125rem;
}

.footer-trust {
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 34rem;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-cyan);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  text-transform: uppercase;
}

.footer-contact__value {
  color: var(--c-paper);
  font-size: 0.875rem;
  line-height: 1.6;
  word-break: break-all;
}

/* 遥测状态条 */
.footer-status {
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.03);
}

.footer-status__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.25rem;
}

@media (min-width: 48rem) {
  .footer-status__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

.footer-status__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.footer-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

.footer-status__label {
  color: var(--c-muted);
}

.footer-status__value {
  color: var(--c-cyan);
}

/* 底栏 */
.footer-bottom {
  background: #050F2B;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.footer-bottom__icp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer-bottom__note {
  flex-basis: 100%;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--c-muted);
  opacity: 0.85;
}

/* ---------- 内页首屏 ---------- */
.page-hero {
  padding: 4rem 0 3rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

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

.page-hero__sub {
  color: var(--c-muted);
  font-size: 1.0625rem;
  max-width: 42rem;
}

.page-hero__meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 1rem;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0;
  margin: 0;
}

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

.breadcrumb li + li::before {
  content: '/';
  color: var(--c-accent);
}

.breadcrumb a {
  color: var(--c-cyan);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-accent);
}

.breadcrumb [aria-current="page"] {
  color: var(--c-muted);
}

/* ---------- 面板与卡片 ---------- */
.panel {
  background: var(--c-bg-alt);
  color: var(--c-paper);
  border: 1px solid rgba(0, 229, 255, 0.16);
  padding: 2rem;
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.data-card {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 1.5rem;
  border-left: 3px solid var(--c-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.data-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-bg-alt);
  margin-bottom: 0.375rem;
}

.data-card__value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-bg);
  margin-bottom: 0.25rem;
}

.data-card__meta {
  font-size: 0.875rem;
  color: #666;
}

/* ---------- 徽标与标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.1);
  color: var(--c-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.badge--orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--c-accent);
  border-color: rgba(255, 107, 53, 0.3);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--c-bg-alt);
  color: var(--c-paper);
  border-left: 2px solid var(--c-accent);
}

.tag--cyan {
  border-left-color: var(--c-cyan);
}

/* ---------- 图片占位 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
  aspect-ratio: 16 / 9;
  display: block;
}

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

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 装饰元素 ---------- */
.speed-line {
  display: block;
  height: 2px;
  width: 100%;
  max-width: 8rem;
  background: repeating-linear-gradient(90deg, var(--c-cyan) 0 8px, transparent 8px 16px);
  position: relative;
}

.speed-line::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 2px;
  background: var(--c-accent);
}

.accent-bar {
  display: inline-block;
  width: 3rem;
  height: 4px;
  background: var(--c-accent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  border: none;
  cursor: pointer;
  color: var(--c-bg);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #ff8255;
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {

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

  .main-nav {
    transition: none;
  }

  .nav-backdrop {
    transition: none;
  }
}
