:root {
  --color-primary: #FF6A00;
  --color-primary-soft: #FF8C42;
  --color-night: #1A1A2E;
  --color-slate: #2D2D44;
  --color-silver: #C0C0C0;
  --color-fog: #F0F0F5;
  --color-cyan: #00B4D8;
  --color-alert: #FF4D4D;
  --gradient-fire: linear-gradient(135deg, #FF6A00 0%, #FF8C42 100%);
  --font-head: 'Impact', 'DIN Condensed', '微软雅黑', 'Microsoft YaHei', sans-serif;
  --font-body: '微软雅黑', 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', system-ui, sans-serif;
  --font-data: 'Roboto Mono', 'Courier New', ui-monospace, monospace;
  --header-h: 76px;
  --content-w: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-fog);
  background-color: var(--color-night);
  background-image: linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-soft);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--color-fog);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(32px, 5.5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }
h4 { font-size: 18px; }

[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

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

::selection {
  background: var(--color-primary);
  color: var(--color-night);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-slate);
  border: 2px solid var(--color-night);
}

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(192, 192, 192, 0.22);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fire);
  z-index: 5;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  opacity: 0.5;
  z-index: 4;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--gradient-fire);
  color: var(--color-night);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 8px;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 6;
  will-change: transform;
}

.header-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  min-height: var(--header-h);
}

.brand-block {
  display: flex;
  align-items: center;
  grid-column: 1;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-link:hover .brand-name {
  color: var(--color-primary-soft);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--gradient-fire);
  color: var(--color-night);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-fog);
  text-transform: uppercase;
  transition: color 160ms ease;
}

.brand-subtext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sub-label {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  border: 1px solid rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.08);
  padding: 1px 6px;
  line-height: 1.5;
  white-space: nowrap;
}

.sub-old {
  display: none;
}

html[data-version="old"] .sub-new {
  display: none;
}

html[data-version="old"] .sub-old {
  display: inline;
  color: var(--color-silver);
  border-color: rgba(192, 192, 192, 0.4);
  background: rgba(192, 192, 192, 0.06);
}

.header-coords {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  grid-column: 2;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.55);
  white-space: nowrap;
  padding-left: 16px;
  border-left: 1px dashed rgba(192, 192, 192, 0.22);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-alert);
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.site-nav {
  grid-column: 3;
  justify-self: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding-left: 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-silver);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--color-primary);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-index {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-primary);
}

.version-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  grid-column: 4;
  gap: 2px;
  padding: 3px;
  background: var(--color-slate);
  border: 1px solid rgba(192, 192, 192, 0.32);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.version-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 5px 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-silver);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.version-btn:hover {
  color: var(--color-fog);
  background: rgba(255, 255, 255, 0.04);
}

.version-btn.is-active,
html[data-version="new"] .version-btn[data-version-toggle="new"] {
  background: var(--color-cyan);
  color: var(--color-night);
}

html[data-version="old"] .version-btn[data-version-toggle="old"] {
  background: var(--gradient-fire);
  color: var(--color-night);
}

.version-btn.is-active:hover {
  color: var(--color-night);
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  grid-column: 5;
  background: var(--color-slate);
  border: 1px solid rgba(192, 192, 192, 0.32);
  cursor: pointer;
}

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

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-fog);
  transition: transform 200ms ease, opacity 180ms ease;
}

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

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

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

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

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 88px);
  background: var(--color-night);
  border-top: 1px solid rgba(255, 106, 0, 0.45);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fire);
  z-index: 3;
}

.footer-watermark {
  position: absolute;
  right: -8px;
  bottom: -14px;
  z-index: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(90px, 18vw, 210px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(192, 192, 192, 0.07);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.footer-frame {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 52px clamp(16px, 3vw, 32px) 28px;
  background: repeating-linear-gradient(-45deg, rgba(255, 106, 0, 0.022) 0 10px, transparent 10px 20px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.2);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-fire);
  color: var(--color-night);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--color-fog);
  text-transform: uppercase;
}

.footer-brand-line {
  font-size: 14px;
  color: var(--color-silver);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-trust {
  padding: 12px 14px;
  background: var(--color-slate);
  border: 1px solid rgba(192, 192, 192, 0.14);
  border-left: 3px solid var(--color-primary);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(240, 240, 245, 0.72);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.footer-routes-col,
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.footer-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: var(--gradient-fire);
}

.footer-routes {
  list-style: none;
  padding-left: 0;
}

.footer-routes li + li {
  margin-top: 9px;
}

.footer-route-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-silver);
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer-route-link::before {
  content: "▹";
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--color-primary);
}

.footer-route-link:hover {
  color: var(--color-fog);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding-left: 0;
}

.footer-contact-item {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--color-silver);
  line-height: 1.6;
}

.contact-label {
  flex: none;
  min-width: 46px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.footer-note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 106, 0, 0.55);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(192, 192, 192, 0.6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 20px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(192, 192, 192, 0.62);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding-left: 0;
}

.footer-link {
  color: rgba(192, 192, 192, 0.7);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-icp {
  margin-left: auto;
}

/* ===================== 通用组件 ===================== */

.content-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.content-container p {
  margin-bottom: 12px;
}

.content-container ul,
.content-container ol {
  margin-bottom: 16px;
}

.content-container a:not(.btn):not(.breadcrumb a):not(.footer-route-link):not(.footer-link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 106, 0, 0.45);
  text-underline-offset: 3px;
}

.section-block {
  padding: clamp(44px, 7vw, 80px) 0;
}

.section-divider {
  height: 10px;
  border: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 106, 0, 0.32) 0 8px, transparent 8px 16px);
}

.section-tint {
  background: var(--color-slate);
}

.section-fog {
  background: var(--color-fog);
  color: var(--color-night);
}

.section-fog h1,
.section-fog h2,
.section-fog h3,
.section-fog h4,
.section-fog .section-heading {
  color: var(--color-night);
}

.section-fog .kicker {
  color: var(--color-primary);
}

.kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.kicker::before {
  content: "// ";
  color: var(--color-silver);
}

.section-heading {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 40px);
}

.section-subhead {
  max-width: 66ch;
  font-size: 15px;
  color: var(--color-silver);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--gradient-fire);
  color: var(--color-night);
}

.btn-primary:hover {
  color: var(--color-night);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(255, 106, 0, 0.6);
}

.btn-outline:hover {
  color: var(--color-primary-soft);
  border-color: var(--color-primary);
  background: rgba(255, 106, 0, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--color-silver);
  border-color: rgba(192, 192, 192, 0.4);
}

.btn-ghost:hover {
  color: var(--color-fog);
  border-color: var(--color-silver);
  background: rgba(240, 240, 245, 0.04);
}

.card {
  position: relative;
  background: var(--color-slate);
  border: 1px solid rgba(192, 192, 192, 0.13);
  padding: 20px;
  transition: border-color 160ms ease;
}

.card:hover {
  border-color: rgba(255, 106, 0, 0.42);
}

.clip-corner {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.38);
  text-transform: uppercase;
  white-space: nowrap;
}

.tag-cyan {
  color: var(--color-cyan);
  background: rgba(0, 180, 216, 0.1);
  border-color: rgba(0, 180, 216, 0.4);
}

.tag-silver {
  color: var(--color-silver);
  background: rgba(192, 192, 192, 0.08);
  border-color: rgba(192, 192, 192, 0.3);
}

.data-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.data-readout {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-data);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-fog);
}

.data-readout small {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-silver);
  letter-spacing: 0.08em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 12px 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-silver);
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(192, 192, 192, 0.35);
}

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

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

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

.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

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

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-slate);
  border: 1px solid rgba(192, 192, 192, 0.16);
}

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

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, var(--color-primary) 0 48%, transparent 48%);
  opacity: 0.8;
  pointer-events: none;
}

.media-frame--placeholder::before {
  content: "HX-PIC / 火狐体育";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.42);
  background: repeating-linear-gradient(-45deg, rgba(45, 45, 68, 0.65) 0 12px, rgba(26, 26, 46, 0.65) 12px 24px);
}

.media-caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(192, 192, 192, 0.65);
}

.text-gradient {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

@media (max-width: 1100px) {
  .header-coords {
    display: none;
  }

  .header-frame {
    grid-template-columns: auto auto 1fr auto auto;
  }
}

@media (max-width: 900px) {
  .header-frame {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-self: stretch;
    background: rgba(18, 18, 32, 0.98);
    border-top: 1px solid rgba(255, 106, 0, 0.55);
    border-bottom: 1px solid rgba(192, 192, 192, 0.18);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    padding: 10px 20px 16px;
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 13px 6px;
    border-bottom: 1px dashed rgba(192, 192, 192, 0.14);
    white-space: normal;
  }

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

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

  .site-header::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-frame {
    gap: 8px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .brand-name {
    font-size: 19px;
  }

  .sub-label {
    font-size: 9px;
  }

  .version-btn {
    min-width: 40px;
    padding: 5px 9px;
    font-size: 12px;
  }
}

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

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

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

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

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

  .footer-icp {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .grid-bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-col-3,
  .bento-col-4,
  .bento-col-5,
  .bento-col-6,
  .bento-col-7,
  .bento-col-8,
  .bento-col-12 {
    grid-column: span 6;
  }
}

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

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

/* ===================== 交互与动效 ===================== */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

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

  .live-dot {
    animation: none;
  }

  html.js [data-reveal] {
    transition: none;
  }

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