/* ========== 63棋牌官网版游戏中心 · 全站共享样式 ========== */
/* 文件 /assets/site.css */

/* ---------- 1. Reset & Design Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-deep: #0A2342;
  --color-sapphire: #1B3A5C;
  --color-gold: #D4AF37;
  --color-crimson: #C0392B;
  --color-ivory: #F8F5F0;
  --color-cloud: #B0B8C4;
  --color-data: #00D2FF;
  --color-gold-light: #F9E5A8;
  --color-success: #27AE60;
  --color-error: #F4A6A6;

  --font-heading: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Serif SC', 'Times New Roman', serif;

  --size-display: 48px;
  --size-h1: 36px;
  --size-h2: 28px;
  --size-h3: 22px;
  --size-body: 16px;
  --size-small: 14px;

  --header-width: 280px;
  --header-height-mobile: 64px;
  --content-max: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.8;
  color: var(--color-ivory);
  background: var(--color-deep);
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-family: var(--font-heading); line-height: 1.3; color: var(--color-ivory); }

a {
  color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease), text-decoration-thickness 0.2s var(--ease);
}
a:hover { color: var(--color-gold-light); text-decoration-thickness: 2px; }

button {
  font-family: var(--font-heading);
  cursor: pointer;
}

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

[hidden] { display: none !important; }

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

@media (min-width: 769px) {
  html { scroll-padding-top: 0; }
}

/* ---------- 2. Skip Link & Layout ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: var(--header-width);
  z-index: 300;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep);
  background: var(--color-gold);
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:hover { color: var(--color-deep); text-decoration: none; }
.skip-link:focus { top: 0; }

.main-content {
  margin-left: var(--header-width);
  min-height: 70vh;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(0, 210, 255, 0.06), transparent 55%),
    linear-gradient(180deg, var(--color-deep) 0%, var(--color-sapphire) 100%);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 3. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--header-width);
  z-index: 100;
  display: flex;
  background:
    radial-gradient(circle at 25% 12%, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(165deg, var(--color-deep) 0%, #0D2E52 55%, var(--color-sapphire) 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px;
  overflow: hidden;
}
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 210, 255, 0.035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(0, 210, 255, 0.035) 0 1px, transparent 1px 28px);
  pointer-events: none;
}
.header-inner::after {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 0;
  width: 42px;
  height: 42px;
  border-left: 1px solid rgba(212, 175, 55, 0.55);
  border-bottom: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}

.header-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 36px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.header-brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 8px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.04));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.22), inset 0 0 10px rgba(212, 175, 55, 0.08);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}
.brand-mark-number { letter-spacing: -1px; }

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--color-ivory);
}

.brand-tagline {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--color-cloud);
}

.header-icp {
  min-width: 0;
  padding-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(176, 184, 196, 0.55);
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.main-nav {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-cloud);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--color-gold-light);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
  border-left-color: var(--color-gold);
  padding-left: 22px;
  text-decoration: none;
}
.nav-link[aria-current="page"] {
  color: var(--color-gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14), transparent);
  border-left-color: var(--color-gold);
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

/* ---------- 4. Scroll Progress ---------- */
.chapter-progress {
  position: fixed;
  top: 0;
  left: var(--header-width);
  right: 0;
  height: 3px;
  z-index: 150;
  background: rgba(212, 175, 55, 0.08);
  pointer-events: none;
}
.chapter-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-data) 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ---------- 5. Footer ---------- */
.site-footer {
  margin-left: var(--header-width);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(0, 210, 255, 0.07), transparent 50%),
    linear-gradient(180deg, var(--color-deep) 0%, #07172E 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--color-cloud);
  font-size: var(--size-small);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 40px 28px;
}

.footer-topline {
  height: 1px;
  margin-bottom: 40px;
  background: linear-gradient(90deg, transparent 5%, var(--color-gold) 25%, var(--color-gold) 75%, transparent 95%);
}

.trust-band {
  margin-bottom: 40px;
  padding: 18px 24px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 3px solid var(--color-gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.07), transparent 65%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.trust-statement {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .brand-mark {
  min-width: 44px;
  height: 44px;
  font-size: 15px;
}
.footer-brand .brand-name { font-size: 15px; }

.footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: var(--color-cloud);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--color-gold-light);
  padding-left: 6px;
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 14px;
}
.footer-contact-label {
  min-width: 56px;
  color: rgba(176, 184, 196, 0.7);
  font-family: var(--font-heading);
  font-size: 13px;
}
.footer-phone,
.footer-email {
  color: var(--color-ivory);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(176, 184, 196, 0.15);
  font-size: 13px;
  color: rgba(176, 184, 196, 0.72);
  letter-spacing: 0.03em;
}
.footer-icp {
  letter-spacing: 0.1em;
  color: rgba(176, 184, 196, 0.6);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #B8963E 100%);
  color: var(--color-deep);
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  color: var(--color-deep);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gold);
  border-color: rgba(212, 175, 55, 0.6);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold-light);
  border-color: var(--color-gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-cloud);
}
.breadcrumb a {
  color: var(--color-cloud);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb a:hover { color: var(--color-gold); text-decoration: none; }
.breadcrumb-arrow { color: rgba(212, 175, 55, 0.6); font-size: 12px; }
.breadcrumb-current { color: var(--color-gold); }

/* ---------- 8. Sections ---------- */
.section {
  padding: 72px 40px;
}
.section--compact {
  padding: 44px 40px;
}
.section--dark {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 210, 255, 0.07), transparent 55%),
    linear-gradient(180deg, var(--color-deep) 0%, var(--color-sapphire) 100%);
  color: var(--color-cloud);
}
.section--light {
  background: var(--color-ivory);
  color: var(--color-deep);
}
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light h5,
.section--light h6 {
  color: var(--color-deep);
}
.section--light p { color: rgba(10, 35, 66, 0.82); }
.section--light a { color: var(--color-sapphire); }
.section--light a:hover { color: var(--color-crimson); }
.section--light :focus-visible { outline-color: var(--color-deep); }

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: var(--size-h2);
  font-weight: 700;
  color: var(--color-ivory);
}
.section--light .section-heading { color: var(--color-deep); }

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 2px 12px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}
.section--light .section-index {
  border-color: rgba(10, 35, 66, 0.35);
  color: var(--color-sapphire);
  background: rgba(10, 35, 66, 0.04);
}

.section-rule {
  height: 1px;
  flex: 1;
  max-width: 100px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}
.section--light .section-rule { background: linear-gradient(90deg, var(--color-sapphire), transparent); }

/* ---------- 9. Grid ---------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

/* ---------- 10. Filter ---------- */
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
  color: var(--color-cloud);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}
.filter-btn[aria-pressed="true"] {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-deep);
  font-weight: 700;
}
.section--light .filter-btn { color: var(--color-sapphire); border-color: rgba(10, 35, 66, 0.3); }
.section--light .filter-btn:hover { border-color: var(--color-deep); color: var(--color-deep); }
.section--light .filter-btn[aria-pressed="true"] {
  background: var(--color-sapphire);
  border-color: var(--color-sapphire);
  color: var(--color-ivory);
}

[data-filter-item] {
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.is-filter-leave {
  opacity: 0;
  transform: translateY(10px);
}
.is-filter-enter {
  animation: filter-enter 0.26s var(--ease) both;
}
@keyframes filter-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. Data Blocks & Tags ---------- */
.data-block {
  padding: 28px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(27, 58, 92, 0.9), rgba(10, 35, 66, 0.95));
  color: var(--color-cloud);
}
.section--light .data-block {
  background: linear-gradient(145deg, #FFFFFF, #ECE7DE);
  border-color: rgba(10, 35, 66, 0.14);
  color: var(--color-deep);
}
.data-stat {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.data-stat small {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-cloud);
}
.data-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-cloud);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-gold-light);
}
.tag--crimson {
  border-color: rgba(192, 57, 43, 0.45);
  background: rgba(192, 57, 43, 0.12);
  color: var(--color-crimson);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 20px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  background: rgba(10, 35, 66, 0.5);
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-cloud);
}
.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}
.map-legend-dot--data { background: var(--color-data); box-shadow: 0 0 6px rgba(0, 210, 255, 0.5); }
.map-legend-dot--crimson { background: var(--color-crimson); box-shadow: 0 0 6px rgba(192, 57, 43, 0.5); }

/* ---------- 12. Figure / Image Placeholder ---------- */
.figure-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.14), transparent 60%),
    repeating-linear-gradient(45deg, var(--color-sapphire) 0 14px, var(--color-deep) 14px 28px);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.figure-frame::after {
  content: attr(data-figure-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
  background: linear-gradient(0deg, rgba(10, 35, 66, 0.85), transparent);
}
.figure-frame img,
.figure-frame svg,
.figure-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section--light .figure-frame {
  border-color: rgba(10, 35, 66, 0.18);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(10, 35, 66, 0.1), transparent 60%),
    repeating-linear-gradient(45deg, #E4DED3 0 14px, var(--color-ivory) 14px 28px);
}

/* ---------- 13. Responsive ---------- */
@media (min-width: 769px) and (max-width: 1023px) {
  :root { --header-width: 220px; }
  .header-inner { padding: 22px 16px 16px; }
  .brand-name { font-size: 14px; }
  .brand-tagline { font-size: 11px; }
  .nav-link { font-size: 15px; padding: 9px 12px; }
  .section { padding: 56px 28px; }
  .section--compact { padding: 36px 28px; }
  .footer-inner { padding: 44px 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .skip-link {
    left: 0;
    border-radius: 0 0 var(--radius) 0;
  }

  .site-header {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--header-height-mobile);
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background:
      radial-gradient(circle at 12% 50%, rgba(212, 175, 55, 0.16), transparent 45%),
      linear-gradient(90deg, var(--color-deep) 0%, var(--color-sapphire) 100%);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    overflow: visible;
  }
  .header-inner::before,
  .header-inner::after { display: none; }

  .header-top {
    display: block;
    margin-bottom: 0;
  }

  .header-brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 90px);
  }
  .brand-mark {
    min-width: 34px;
    height: 34px;
    padding: 0 5px;
    font-size: 13px;
    border-width: 1.5px;
  }
  .brand-name { font-size: 15px; line-height: 1.3; }
  .brand-tagline { display: none; }
  .header-icp { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    z-index: 99;
    margin-bottom: 0;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-deep), var(--color-sapphire));
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0s 0.35s;
  }
  .main-nav[data-open] {
    visibility: visible;
    opacity: 1;
    max-height: 72vh;
    overflow-y: auto;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  }

  .nav-list {
    flex-direction: column;
    padding: 12px 16px 18px;
    gap: 2px;
  }
  .nav-link {
    border-left-width: 3px;
    font-size: 15px;
    padding: 11px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    background: rgba(10, 35, 66, 0.55);
    color: var(--color-gold);
  }
  .nav-toggle-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: background 0.2s var(--ease);
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), top 0.25s var(--ease);
  }
  .nav-toggle-icon::before { top: -6px; }
  .nav-toggle-icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

  .chapter-progress { left: 0; }
  .main-content {
    margin-left: 0;
    padding-top: calc(var(--header-height-mobile) + 20px);
  }
  .site-footer {
    margin-left: 0;
  }
  .footer-inner { padding: 32px 16px 20px; }
  .footer-topline { margin-bottom: 24px; }
  .trust-band { padding: 14px 16px; margin-bottom: 28px; }
  .trust-statement { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-meta { flex-direction: column; align-items: flex-start; }

  .container { padding: 0 16px; }
  .section { padding: 48px 16px; }
  .section--compact { padding: 32px 16px; }

  .content-grid {
    gap: 16px;
  }
  .col-span-3,
  .col-span-4,
  .col-span-6,
  .col-span-8,
  .col-span-12 { grid-column: 1 / -1; }

  .section-heading { font-size: 24px; gap: 10px; }
  .data-stat { font-size: 28px; }
  .breadcrumb { font-size: 12px; margin-bottom: 20px; }
}

/* ---------- 14. 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;
  }
  .skip-link { transition: none; }
  .main-nav { transition: none; }
  [data-filter-item] { transition: none; }
}
