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

:root {
  --navy-900: #0a1a3f;
  --navy-800: #0f2454;
  --navy-700: #16306b;
  --gold-500: #d4af37;
  --gold-300: #e8c95b;
  --orange-500: #ff6b35;
  --ink-900: #1a1a1a;
  --ink-600: #4a4a4a;
  --paper-50: #f7f7f5;
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', Consolas, monospace;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --container-w: 1280px;
  --container-pad: 24px;
  --header-above-h: 64px;
  --header-navbar-h: 52px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 63, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 26, 63, 0.12);
  --shadow-hard: 6px 6px 0 rgba(10, 26, 63, 0.18);
  --border-w: 2px;
  --z-header: 900;
  --z-progress: 950;
  --z-skip: 1000;
  --z-nav: 10;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur: 0.25s;
  color-scheme: light;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-900);
  background-color: var(--paper-50);
}

main {
  display: block;
  flex: 1 0 auto;
  width: 100%;
}

#main-content,
[data-scrollspy-target],
section[id] {
  scroll-margin-top: 16px;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--gold-500);
  color: var(--navy-900);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border: 2px solid var(--navy-900);
  border-radius: 0;
  background: var(--paper-50);
  color: var(--navy-900);
  box-shadow: 3px 3px 0 rgba(10, 26, 63, 0.2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(10, 26, 63, 0.24);
  color: var(--navy-900);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(10, 26, 63, 0.3);
}

.btn-accent {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #fff;
}

.btn-accent:hover {
  background: var(--orange-500);
  border-color: var(--navy-900);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(10, 26, 63, 0.04);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--paper-50);
  box-shadow: 0 4px 20px rgba(10, 26, 63, 0.08);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  background: var(--navy-900);
  color: var(--paper-50);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-hard);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus-visible {
  top: 8px;
  outline: none;
  color: var(--paper-50);
}

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(212, 175, 55, 0.18);
  z-index: var(--z-progress);
  pointer-events: none;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--orange-500) 100%);
}

.header-above {
  position: relative;
  overflow: hidden;
  background-color: var(--paper-50);
  background-image:
    linear-gradient(rgba(10, 26, 63, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 26, 63, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 1px solid rgba(10, 26, 63, 0.08);
}

.header-above-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-above-h);
  padding-block: 8px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}

.header-brand:hover {
  color: var(--navy-900);
}

.brand-cn {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--navy-900);
}

.brand-line {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--gold-500);
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
  white-space: nowrap;
}

.header-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-600);
  white-space: nowrap;
}

.header-navbar {
  position: relative;
  background: var(--navy-900);
  border-top: 3px solid var(--gold-500);
}

.header-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-navbar-h);
}

.navbar-brand {
  display: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px 0;
}

.navbar-brand:hover {
  color: var(--paper-50);
}

.navbar-brand-cn {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--paper-50);
}

.navbar-brand-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-500);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(247, 247, 245, 0.82);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--paper-50);
  background: rgba(212, 175, 55, 0.07);
}

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

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

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold-500);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.navbar-side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-collect-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-note {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--navy-900);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: var(--gold-300);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--orange-500);
  color: #fff;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

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

  .header-above {
    display: none;
  }

  .navbar-brand {
    display: inline-flex;
  }

  .navbar-note {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-900);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 3px solid var(--gold-500);
    box-shadow: 0 12px 24px rgba(10, 26, 63, 0.4);
    max-height: calc(100vh - var(--header-navbar-h));
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    display: flex;
    animation: navDrop var(--dur) var(--ease);
  }

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

  .nav-link {
    padding: 14px 24px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    color: var(--paper-50);
  }

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

  .nav-link:hover {
    background: rgba(10, 26, 63, 0.4);
    color: var(--paper-50);
  }

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

  .nav-link[aria-current="page"] {
    border-left-color: var(--gold-500);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-300);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  flex-shrink: 0;
  position: relative;
  margin-top: auto;
  background: var(--navy-900);
  color: rgba(247, 247, 245, 0.72);
  border-top: 3px solid var(--gold-500);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange-500) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-block: 56px 40px;
}

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

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--paper-50);
  line-height: 1.2;
}

.footer-brand-line {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gold-500);
}

.footer-statement {
  margin-top: 18px;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 247, 245, 0.64);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.footer-links li + li,
.footer-contact-list li + li {
  margin-top: 10px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  color: rgba(247, 247, 245, 0.75);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--gold-500);
  transform: translateY(-50%) scaleX(0.4);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 20px;
}

.footer-links a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.footer-contact-list {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 247, 245, 0.65);
}

.footer-contact-list li {
  padding-left: 16px;
  position: relative;
}

.footer-contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--gold-500);
}

.footer-hours {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(212, 175, 55, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(6, 14, 34, 0.5);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(247, 247, 245, 0.5);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-block: 40px 24px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px 16px;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

.section {
  padding-block: var(--sp-7);
}

.section-dark {
  background: var(--navy-900);
  color: rgba(247, 247, 245, 0.8);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-tint h1,
.section-tint h2,
.section-tint h3,
.section-tint h4 {
  color: var(--paper-50);
}

.section-dark p,
.section-tint p {
  color: rgba(247, 247, 245, 0.78);
}

.section-tint {
  background: var(--navy-800);
  color: rgba(247, 247, 245, 0.78);
}

.section-paper {
  background: var(--paper-50);
  color: var(--ink-900);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.section-kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

.section-dark .section-kicker,
.section-tint .section-kicker {
  color: var(--gold-300);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.exhibit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  background: transparent;
}

.exhibit-label-dark {
  border-color: rgba(10, 26, 63, 0.7);
  color: var(--navy-900);
}

.work-note {
  padding: 20px 24px;
  border-left: 3px solid var(--gold-500);
  background: var(--paper-50);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-600);
}

.work-note-dark {
  background: var(--navy-800);
  border-left-color: var(--gold-500);
  color: rgba(247, 247, 245, 0.75);
}

.theme-zone {
  position: relative;
  padding: 32px;
  border: var(--border-w) solid var(--navy-900);
  box-shadow: var(--shadow-hard);
  background: var(--paper-50);
}

.theme-zone-dark {
  background: var(--navy-800);
  border-color: rgba(212, 175, 55, 0.4);
  color: rgba(247, 247, 245, 0.8);
}

.door-card {
  position: relative;
  padding: 28px;
  background: var(--paper-50);
  border: 2px solid var(--navy-900);
  box-shadow: 5px 5px 0 rgba(10, 26, 63, 0.14);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.door-card::before,
.door-card::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.door-card::before {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--gold-500);
  border-left: 3px solid var(--gold-500);
}

.door-card::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--gold-500);
  border-right: 3px solid var(--gold-500);
}

.door-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(10, 26, 63, 0.18);
}

.grid {
  display: grid;
  gap: 32px;
}

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

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

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

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.chapter-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.chapter-link {
  display: block;
  padding: 24px;
  background: var(--paper-50);
  border: 2px solid var(--navy-900);
  box-shadow: 4px 4px 0 rgba(10, 26, 63, 0.12);
  text-decoration: none;
  color: var(--ink-900);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.chapter-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(10, 26, 63, 0.18);
  color: var(--ink-900);
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-500);
}

.chapter-name {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-900);
}

.chapter-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-600);
}

@media (max-width: 960px) {
  .chapter-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 4 / 3;
}

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

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

.img-frame-1-1 {
  aspect-ratio: 1 / 1;
}

.img-frame > img,
.img-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.img-frame:hover > img,
.img-frame:hover > video {
  transform: scale(1.03);
}

.img-frame-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: rgba(10, 26, 63, 0.85);
  color: var(--paper-50);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.img-frame[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--navy-800);
  color: rgba(212, 175, 55, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--ink-600);
  text-decoration: none;
  font-weight: 500;
}

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

.breadcrumb-sep {
  color: var(--gold-500);
  font-weight: 700;
}

.breadcrumb-current {
  color: var(--navy-900);
  font-weight: 700;
}

.page-header {
  padding-block: 40px 24px;
  border-bottom: 2px solid var(--navy-900);
  margin-bottom: 48px;
}

.page-title {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-600);
}

.prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-900);
  max-width: 72ch;
}

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

.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  font-size: 24px;
}

.prose h3 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-size: 18px;
}

.prose ul {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  list-style: disc;
}

.prose ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: var(--gold-500);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 3px solid var(--gold-500);
  background: rgba(212, 175, 55, 0.08);
  font-weight: 700;
  color: var(--navy-900);
}

.prose a {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--orange-500);
  text-decoration-color: var(--orange-500);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(10, 26, 63, 0.05);
  padding: 2px 6px;
}

.prose pre {
  margin-bottom: 1.5em;
  padding: 20px;
  background: var(--navy-900);
  color: var(--paper-50);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.prose pre code {
  background: transparent;
  padding: 0;
}

.prose img {
  margin-block: 1.5em;
  border: 2px solid var(--navy-900);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5em;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border: 1px solid rgba(10, 26, 63, 0.2);
  text-align: left;
}

.prose th {
  background: var(--navy-900);
  color: var(--paper-50);
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold-500);
  color: var(--navy-900);
}

.tag-dark {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.v-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-600);
  line-height: 1.4;
}

.side-note {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-600);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0.04em;
}

a[data-spy-active="true"] {
  color: var(--orange-500);
  border-color: var(--orange-500);
}

@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;
  }

  .nav-toggle,
  .progress-fill,
  .nav-link::after,
  .footer-links a::before {
    transition: none;
  }
}

@media (max-width: 480px) {
  .header-collect-btn {
    padding: 5px 8px;
    font-size: 11px;
  }

  .nav-toggle-text {
    display: none;
  }

  .nav-toggle {
    padding: 8px 10px;
  }

  .navbar-brand-cn {
    font-size: 18px;
  }

  .navbar-brand-line {
    width: 16px;
  }
}
