/* ======================================================
   BSPORTS(中国)官方网站 — 新版快速访问服务台
   共享样式 /assets/site.css
   ====================================================== */

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-ink);
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--text-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- Variables ---------- */
:root {
  --bg-ink: #0A0F1A;
  --bg-panel: #111B2E;
  --bg-panel-2: #16223A;
  --accent-blue: #00D4FF;
  --accent-green: #C6FF3D;
  --text-paper: #F2E9D8;
  --muted-cyan: #4FD8EB;
  --amber: #FFB454;
  --alert-red: #FF5C7A;
  --text-dim: rgba(242, 233, 216, 0.56);
  --text-faint: rgba(242, 233, 216, 0.32);
  --line-panel: rgba(242, 233, 216, 0.08);
  --line-blue: rgba(0, 212, 255, 0.18);
  --header-h: 64px;
  --radius: 2px;
  --font-head: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-paper);
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
}
h2 {
  font-size: clamp(21px, 2.8vw, 30px);
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.container,
.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-shell {
  padding-top: 44px;
  padding-bottom: 72px;
}

@media (max-width: 768px) {
  .container,
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-shell {
    padding-top: 28px;
    padding-bottom: 48px;
  }
}

.data-readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.link {
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link:hover {
  color: var(--accent-green);
  border-bottom-color: rgba(198, 255, 61, 0.5);
}

.skew-label {
  display: inline-block;
  transform: skewX(-4deg);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.rotated-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--accent-green);
  color: var(--bg-ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-80px);
  transition: transform 0.25s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 15, 26, 0.9), 0 0 0 6px var(--accent-green);
}

/* ---------- Site Main ---------- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}
#main-content {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    transparent 0,
    transparent 20px,
    rgba(0, 212, 255, 0.028) 20px,
    rgba(0, 212, 255, 0.028) 21px
  );
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-blue), transparent 28%, transparent 70%, var(--accent-green));
  opacity: 0.75;
  pointer-events: none;
}

.header-shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---------- Brand ---------- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-lockup:hover .brand-mark {
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.6), 0 0 18px rgba(0, 212, 255, 0.25);
}

.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-blue);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
  transition: box-shadow 0.15s ease;
}
.brand-mark-grid {
  position: absolute;
  inset: 6px;
  background:
    linear-gradient(rgba(10, 15, 26, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 26, 0.38) 1px, transparent 1px);
  background-size: 6px 6px;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}
.brand-mark-bolt {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 16px;
  background: var(--bg-ink);
  clip-path: polygon(58% 0, 20% 55%, 45% 55%, 42% 100%, 82% 42%, 55% 42%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-paper);
  transform: skewX(-4deg);
}
.brand-sub {
  display: block;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-blue);
  transform: skewX(-4deg);
  white-space: nowrap;
}

/* ---------- Command Nav ---------- */
.command-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s ease;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text-paper);
  background: rgba(0, 212, 255, 0.06);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-link .nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  color: var(--accent-blue);
  opacity: 0.65;
}
.nav-link[aria-current="page"] .nav-index {
  color: var(--accent-green);
  opacity: 1;
}
.nav-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Header Status ---------- */
.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  flex-shrink: 0;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: var(--bg-panel);
  white-space: nowrap;
  border: 1px solid var(--line-panel);
}
.status-blue {
  border-color: rgba(0, 212, 255, 0.3);
}
.status-green {
  border-color: rgba(198, 255, 61, 0.28);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-blue {
  background: var(--accent-blue);
  animation: dot-pulse-blue 2.4s ease-out infinite;
}
.dot-green {
  background: var(--accent-green);
  animation: dot-pulse-green 2.4s ease-out 0.6s infinite;
}

@keyframes dot-pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}
@keyframes dot-pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(198, 255, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
  }
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: var(--bg-panel);
  border: 1px solid var(--line-blue);
  cursor: pointer;
  margin-left: auto;
  transition: border-color 0.15s ease;
}
.nav-toggle:hover {
  border-color: var(--accent-blue);
}
.toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-paper);
  transition: background-color 0.15s ease;
}
.nav-toggle:hover .toggle-bar {
  background: var(--accent-blue);
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 2;
  background: rgba(0, 212, 255, 0.08);
}
.scroll-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 50%, var(--accent-blue) 100%);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
}

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  position: relative;
  background: var(--bg-ink);
  border-top: 1px solid var(--line-panel);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue) 30%, var(--accent-green) 55%, var(--accent-blue) 80%, transparent);
  opacity: 0.8;
  pointer-events: none;
}

.footer-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 56px;
}

.footer-brand-block {
  max-width: 46em;
}
.footer-index-block,
.footer-contact-block {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand:hover .footer-brand-mark {
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
}
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-blue);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
  color: var(--bg-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  transition: box-shadow 0.15s ease;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-paper);
  transform: skewX(-4deg);
}
.footer-statement {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}
.footer-service-note {
  margin-top: 12px;
  padding-left: 10px;
  border-left: 2px solid var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-faint);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-panel);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-paper);
  transform: skewX(-4deg);
}
.footer-heading::before {
  content: '';
  width: 14px;
  height: 3px;
  background: var(--accent-blue);
  transform: skewX(-14deg);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-links a:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-dim);
}
.contact-label {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding-top: 3px;
}
.contact-value {
  color: var(--text-paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line-panel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.footer-copy,
.footer-icp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--line-blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-paper);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-label {
  display: inline-block;
  transform: skewX(-4deg);
}
.btn:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent-blue);
}
.btn-primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg-ink);
  font-weight: 800;
}
.btn-primary:hover {
  background: var(--muted-cyan);
  border-color: var(--muted-cyan);
  color: var(--bg-ink);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-panel);
  color: var(--text-dim);
}
.btn-ghost:hover {
  background: rgba(10, 15, 26, 0.4);
  border-color: var(--text-dim);
  color: var(--text-paper);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
}
.breadcrumb a {
  color: var(--accent-blue);
  transition: color 0.15s ease;
}
.breadcrumb a:hover {
  color: var(--accent-green);
}
.breadcrumb-sep {
  color: var(--text-faint);
}
.breadcrumb-current {
  color: var(--text-dim);
}

/* ---------- Titles ---------- */
.main-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  color: var(--text-paper);
  margin-bottom: 12px;
  transform: skewX(-4deg);
}
.page-intro {
  max-width: 54em;
  margin-bottom: 44px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-paper);
  transform: skewX(-4deg);
}
.section-heading::before {
  content: '';
  width: 16px;
  height: 4px;
  background: var(--accent-blue);
  transform: skewX(-14deg);
  flex-shrink: 0;
}
.section-block {
  margin-bottom: 48px;
}

/* ---------- Prose ---------- */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-paper);
}
.prose p {
  margin-bottom: 1.1em;
}
.prose a {
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}
.prose a:hover {
  color: var(--accent-green);
  border-bottom-color: rgba(198, 255, 61, 0.5);
}
.prose ul,
.prose ol {
  margin: 0 0 1.1em 1.4em;
}
.prose ul li {
  list-style: square;
  margin-bottom: 0.4em;
}
.prose ol li {
  list-style: decimal;
  margin-bottom: 0.4em;
}
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.prose strong {
  color: var(--text-paper);
  font-weight: 700;
}

/* ---------- Bento Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento-cell {
  position: relative;
  padding: 20px;
  min-height: 110px;
  background: var(--bg-panel);
  border: 1px solid var(--line-panel);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.bento-cell::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 3px;
  background: var(--accent-blue);
  transform: skewX(-12deg);
}
.bento-cell::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 20px;
  height: 20px;
  background: var(--bg-ink);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.bento-cell:hover {
  background: var(--bg-panel-2);
  border-color: var(--line-blue);
}

/* ---------- Media Offset ---------- */
.media-offset {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.media-offset > *:first-child {
  order: 1;
}
.media-offset > *:last-child {
  order: 2;
}
.media-offset[data-reverse="true"] {
  grid-template-columns: 0.8fr 1.2fr;
}
.media-offset[data-reverse="true"] > *:first-child {
  order: 2;
}
.media-offset[data-reverse="true"] > *:last-child {
  order: 1;
}

/* ---------- Image Placeholder ---------- */
.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  min-height: 140px;
  border: 1px solid var(--line-panel);
  background:
    linear-gradient(120deg, transparent 0%, transparent 42%, rgba(0, 212, 255, 0.08) 42%, rgba(0, 212, 255, 0.08) 43%, transparent 43%, transparent 100%),
    linear-gradient(rgba(0, 212, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
  overflow: hidden;
}
.image-placeholder::after {
  content: attr(data-label);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--line-panel);
}

/* ---------- Tag Pills ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--muted-cyan);
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid var(--line-blue);
  white-space: nowrap;
}
.tag-pill-green {
  color: var(--accent-green);
  background: rgba(198, 255, 61, 0.07);
  border-color: rgba(198, 255, 61, 0.2);
}
.tag-pill-amber {
  color: var(--amber);
  background: rgba(255, 180, 84, 0.07);
  border-color: rgba(255, 180, 84, 0.2);
}
.tag-pill-red {
  color: var(--alert-red);
  background: rgba(255, 92, 122, 0.07);
  border-color: rgba(255, 92, 122, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .header-status {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-shell {
    gap: 12px;
    padding: 0 16px;
  }

  .command-nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 16px;
    right: 16px;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    margin: 0;
    display: none;
    background: rgba(17, 27, 46, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-blue);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .command-nav[data-open="true"] {
    display: flex;
  }

  .nav-link {
    padding: 12px;
    border-bottom: 1px solid var(--line-panel);
    justify-content: space-between;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link[aria-current="page"] {
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid var(--accent-blue);
    padding-left: 10px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-shell {
    padding: 40px 16px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand-block {
    grid-column: auto;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px;
  }
  .image-placeholder {
    aspect-ratio: 4 / 3;
  }
  .media-offset,
  .media-offset[data-reverse="true"] {
    grid-template-columns: 1fr;
  }
  .media-offset > *,
  .media-offset[data-reverse="true"] > * {
    order: 0;
  }
  .breadcrumb {
    font-size: 12px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .scroll-progress,
  .status-dot {
    display: none !important;
  }
}
