/* ============================================
   维基体育场 / Site Shared CSS
   Design DNA: 技术蓝图 × 赛场控制台
   ============================================ */

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

/* ---------- 2. Design Tokens ---------- */
:root {
  --navy: #0B1F3A;
  --navy-2: #1D3557;
  --orange: #FF6B00;
  --red: #E63946;
  --gold: #FFD700;
  --blue: #3A86FF;
  --white: #FFFFFF;
  --gray-l: #E5E7EB;
  --gray-d: #374151;
  --bg-gradient: linear-gradient(180deg, #1D3557 0%, #0B1F3A 100%);

  --header-w: 280px;
  --header-h-mobile: 67px;
  --container-w: 1280px;

  --border-l: 3px solid var(--navy);
  --border-m: 2px solid var(--navy);
  --shadow-hard: 6px 6px 0 rgba(11, 31, 58, 0.9);
  --shadow-hard-sm: 4px 4px 0 rgba(11, 31, 58, 0.85);

  --font-head: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 0.3s;
}

/* ---------- 3. Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--gray-l);
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--navy);
  line-height: 1.7;
  min-height: 100vh;
  padding-left: var(--header-w);
  display: flex;
  flex-direction: column;
}

body > * {
  width: 100%;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
}

button {
  font-family: inherit;
  line-height: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

/* ---------- 4. Accessibility ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  padding: 10px 18px;
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  transform: translateY(-300%);
  transition: transform 0.2s var(--ease);
}

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

/* ---------- 5. Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.7);
  z-index: 1500;
  transition: width 0.08s linear;
}

/* ---------- 6. Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  transform: skewX(-6deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-footer .brand-mark {
  width: 54px;
  height: 54px;
  font-size: 26px;
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.brand-footer .brand-name {
  font-size: 28px;
}

.brand-footer .brand-sub {
  font-size: 10px;
}

/* ---------- 7. Header / Left Rail ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--header-w);
  height: 100vh;
  z-index: 1000;
  background: var(--bg-gradient);
  border-right: 3px solid var(--orange);
  box-shadow: 6px 0 24px rgba(11, 31, 58, 0.35);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  color: var(--white);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- 8. Nav Toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.15);
}

.nav-toggle-box {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

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

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

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---------- 9. Site Nav ---------- */
.site-nav {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 0 0;
}

.nav-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 24px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.nav-list {
  list-style: none;
  flex: 1;
  padding: 0 12px;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  position: relative;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 215, 0, 0.3);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 107, 0, 0.18);
  border-color: var(--orange);
  box-shadow: inset 4px 0 0 var(--orange);
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 64px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.nav-label {
  flex: 1;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.nav-en {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-rl;
}

/* ---------- 10. Status Dot ---------- */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.nav-link:hover .status-dot {
  background: var(--gold);
}

.nav-link[aria-current="page"] .status-dot {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

.status-dot-online {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 14px rgba(255, 215, 0, 0.9); }
}

/* ---------- 11. Header Console ---------- */
.header-console {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
  background: rgba(11, 31, 58, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.console-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.console-copy {
  color: rgba(255, 255, 255, 0.75);
}

.console-key {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.console-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.console-note {
  margin-top: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  border-left: 2px solid var(--orange);
  padding-left: 8px;
  line-height: 1.5;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  color: rgba(255, 255, 255, 0.75);
  border-top: 4px solid var(--orange);
  padding: 64px 0 0;
  position: relative;
}

.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-masthead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-trust {
  max-width: 580px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-heading::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.footer-list,
.footer-contact-list,
.footer-legal-links {
  list-style: none;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-list a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-list a[aria-current="page"] {
  color: var(--gold);
}

.footer-contact-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  word-break: break-all;
}

.footer-contact-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-copy p {
  margin-bottom: 2px;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal-links li {
  display: flex;
  align-items: center;
}

.footer-legal-links li + li::before {
  content: "｜";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

.footer-legal-links a[aria-current="page"] {
  color: var(--gold);
}

/* ---------- 13. Containers & Sections ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding: 56px 0;
}

.section-sm {
  padding: 32px 0;
}

/* ---------- 14. Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

/* ---------- 15. Panels ---------- */
.panel {
  background: var(--white);
  border: var(--border-m);
  box-shadow: var(--shadow-hard-sm);
  padding: 24px;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.panel:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--navy);
}

.panel-dark {
  background: var(--bg-gradient);
  color: var(--white);
  border-color: var(--navy);
}

.panel-accent {
  border-top: 4px solid var(--orange);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-l);
}

/* ---------- 16. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  padding: 13px 24px;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--navy);
  transform: skewX(-4deg);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.btn:hover {
  transform: skewX(-4deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--navy);
}

.btn:active {
  transform: skewX(-4deg) translate(2px, 2px);
  box-shadow: 0 0 0 var(--navy);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
}

/* ---------- 17. Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 10px;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge-orange {
  background: var(--orange);
  color: var(--white);
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-blue {
  background: var(--blue);
  color: var(--white);
}

.badge-gold {
  background: var(--gold);
  color: var(--navy);
}

.badge-dark {
  background: var(--navy);
  color: var(--white);
}

/* ---------- 18. Breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-l);
  margin-bottom: 32px;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

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

.breadcrumbs .sep {
  color: var(--gray-d);
  opacity: 0.45;
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

/* ---------- 19. Typographic Components ---------- */
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--navy);
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: var(--orange);
  transform: skewX(-6deg);
}

.display-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.display-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-d);
}

/* ---------- 20. Stats ---------- */
.stat {
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.8);
  border-top: 2px solid var(--gray-l);
  border-bottom: 2px solid var(--gray-l);
  border-right: 2px solid var(--gray-l);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-d);
  margin-top: 4px;
}

/* ---------- 21. Media Frames ---------- */
.media-frame {
  position: relative;
  background-color: #DCE6F1;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  border: var(--border-l);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
  min-height: 100px;
  aspect-ratio: 16 / 9;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

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

/* ---------- 22. Tables ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: var(--border-m);
  box-shadow: var(--shadow-hard-sm);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.table-wrap th {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.table-wrap td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-l);
  border-right: 1px solid var(--gray-l);
}

.table-wrap tr:nth-child(even) td {
  background: rgba(58, 134, 255, 0.05);
}

.table-wrap tr:hover td {
  background: rgba(255, 107, 0, 0.08);
}

/* ---------- 23. Utilities ---------- */
.coord {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(11, 31, 58, 0.45);
  text-transform: uppercase;
}

.coord::before {
  content: "+";
  color: var(--orange);
  font-weight: 700;
  margin-right: 2px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

.text-small {
  font-size: 13px;
  color: var(--gray-d);
}

.prose p {
  margin-bottom: 1em;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.5em;
}

.prose img {
  max-width: 100%;
  height: auto;
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1024px) {
  body {
    padding-left: 0;
    padding-top: var(--header-h-mobile);
  }

  .site-header {
    width: 100%;
    height: var(--header-h-mobile);
    min-height: 0;
    border-right: none;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 4px 16px rgba(11, 31, 58, 0.25);
    overflow: visible;
  }

  .header-bar {
    height: 100%;
    padding: 0 16px;
    border-bottom: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

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

  .brand-sub {
    font-size: 8px;
  }

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

  .site-nav {
    flex: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0;
    background: var(--bg-gradient);
    border-bottom: 3px solid var(--orange);
    max-height: calc(100vh - var(--header-h-mobile));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      transform 0.25s var(--ease),
      opacity 0.25s var(--ease),
      visibility 0s linear 0.25s;
  }

  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      transform 0.25s var(--ease),
      opacity 0.25s var(--ease),
      visibility 0s;
  }

  .nav-caption {
    padding: 14px 20px 10px;
    margin-bottom: 6px;
  }

  .nav-list {
    padding: 0 16px;
  }

  .nav-link {
    padding: 13px 12px;
  }

  .nav-en {
    writing-mode: horizontal-tb;
    font-size: 8px;
  }

  .header-console {
    padding: 14px 20px;
  }

  .footer-inner {
    padding: 0 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 40px 0;
  }

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

  .footer-inner {
    padding: 0 20px;
  }

  .footer-masthead {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

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

  .display-title {
    transform: skewX(-3deg);
  }
}

/* ---------- 25. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .status-dot-online {
    animation: none;
  }

  .panel:hover {
    transform: none;
    box-shadow: var(--shadow-hard-sm);
  }

  .btn:hover {
    transform: skewX(-4deg);
    box-shadow: 4px 4px 0 var(--navy);
  }

  .skip-link {
    transition: none;
  }
}
