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

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

body {
  font-family: var(--yz-font-body);
  font-size: var(--yz-size-base);
  line-height: 1.8;
  color: var(--yz-color-text);
  background-color: var(--yz-color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  body {
    font-size: var(--yz-size-desk);
    padding-left: var(--yz-rail-width);
  }
}

main {
  flex: 1 0 auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: var(--yz-color-action);
  text-decoration: none;
  transition: color var(--yz-transition);
}

a:hover,
a:focus-visible {
  color: #E55E00;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--yz-font-heading);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--yz-color-primary);
}

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

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

/* ===== CSS Variables ===== */
:root {
  --yz-color-primary: #0A1E3F;
  --yz-color-primary-deep: #07152E;
  --yz-color-secondary: #143A6B;
  --yz-color-gold: #C9A96E;
  --yz-color-action: #FF6A00;
  --yz-color-bg: #F5F7FA;
  --yz-color-white: #FFFFFF;
  --yz-color-text: #1A1A1A;
  --yz-color-text-light: #5A5A5A;
  --yz-color-success: #28A745;
  --yz-color-warning: #DC3545;

  --yz-font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --yz-font-body: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --yz-font-mono: 'Noto Mono', 'SF Mono', 'Consolas', monospace;

  --yz-rail-width: 240px;
  --yz-bar-height: 64px;
  --yz-strip-height: 36px;
  --yz-progress-height: 3px;

  --yz-border-w: 2px;
  --yz-radius: 2px;
  --yz-shadow: 4px 4px 0 rgba(10, 30, 63, 0.15);
  --yz-shadow-sm: 2px 2px 0 rgba(10, 30, 63, 0.12);
  --yz-shadow-gold: 3px 3px 0 rgba(201, 169, 110, 0.18);
  --yz-transition: 0.25s ease;
}

/* ===== Skip Link ===== */
.yz-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5000;
  padding: 10px 22px;
  background: var(--yz-color-action);
  color: #fff;
  font-family: var(--yz-font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--yz-color-primary);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

/* ===== Progress ===== */
.yz-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--yz-progress-height);
  background: rgba(10, 30, 63, 0.08);
  z-index: 3000;
  pointer-events: none;
}

.yz-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yz-color-gold) 0%, var(--yz-color-action) 100%);
  transition: width 0.1s linear;
}

@media (min-width: 1024px) {
  .yz-progress {
    left: var(--yz-rail-width);
  }
}

/* ===== Header ===== */
.yz-header {
  /* container for fixed children */
}

/* ---- Mobile top bar ---- */
.yz-header__bar {
  position: fixed;
  top: var(--yz-progress-height);
  left: 0;
  right: 0;
  height: var(--yz-bar-height);
  background: var(--yz-color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2000;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
}

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

.yz-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--yz-color-gold);
  color: var(--yz-color-primary);
  font-family: var(--yz-font-heading);
  font-size: 20px;
  font-weight: 900;
  border: 2px solid var(--yz-color-primary);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.yz-brand__name {
  font-family: var(--yz-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--yz-color-white);
  letter-spacing: 0.08em;
}

/* ---- Hamburger button ---- */
.yz-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(201, 169, 110, 0.5);
  border-radius: var(--yz-radius);
  cursor: pointer;
  transition: border-color var(--yz-transition), background var(--yz-transition);
}

.yz-nav-toggle:hover,
.yz-nav-toggle:focus-visible {
  border-color: var(--yz-color-gold);
  background: rgba(201, 169, 110, 0.08);
}

.yz-nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--yz-color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* ---- Rail / Drawer ---- */
.yz-header__rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background:
    linear-gradient(25deg, transparent 0%, transparent 72%, rgba(201, 169, 110, 0.04) 72%, rgba(201, 169, 110, 0.04) 74%, transparent 74%),
    linear-gradient(35deg, transparent 0%, transparent 55%, rgba(201, 169, 110, 0.05) 55%, rgba(201, 169, 110, 0.05) 58%, transparent 58%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 169, 110, 0.07) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 4px),
    var(--yz-color-primary);
  color: var(--yz-color-white);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
  z-index: 2500;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-right: 2px solid var(--yz-color-gold);
}

.yz-header[data-open] .yz-header__rail {
  transform: translateX(0);
}

/* Overlay */
.yz-header::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 63, 0.55);
  z-index: 2400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yz-header[data-open]::after {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* ---- Rail Brand ---- */
.yz-rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.yz-rail-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yz-color-gold);
  color: var(--yz-color-primary);
  font-family: var(--yz-font-heading);
  font-size: 24px;
  font-weight: 900;
  border: 2px solid var(--yz-color-primary);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.yz-rail-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.yz-rail-brand__text strong {
  font-family: var(--yz-font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--yz-color-white);
  letter-spacing: 0.05em;
}

.yz-rail-brand__text small {
  font-family: var(--yz-font-mono);
  font-size: 11px;
  color: var(--yz-color-gold);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

/* ---- Rail Label ---- */
.yz-rail__label {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 12px;
  border: 1px solid var(--yz-color-gold);
  color: var(--yz-color-gold);
  font-family: var(--yz-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  border-radius: 999px;
}

/* ---- Nav ---- */
.yz-nav {
  flex: 1 0 auto;
}

.yz-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yz-nav__item {
  position: relative;
}

.yz-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(245, 247, 250, 0.85);
  font-family: var(--yz-font-heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.yz-nav__link:hover,
.yz-nav__link:focus-visible {
  color: var(--yz-color-white);
  background: rgba(201, 169, 110, 0.08);
  border-left-color: var(--yz-color-gold);
}

.yz-nav__link[aria-current="page"] {
  color: var(--yz-color-white);
  background: rgba(201, 169, 110, 0.15);
  border-left-color: var(--yz-color-action);
}

.yz-nav__link[aria-current="page"] .yz-nav__index {
  color: var(--yz-color-action);
}

.yz-nav__index {
  font-family: var(--yz-font-mono);
  font-size: 12px;
  color: rgba(201, 169, 110, 0.8);
  letter-spacing: 0.05em;
  min-width: 22px;
}

.yz-nav__text {
  letter-spacing: 0.03em;
}

/* ---- Trust Area ---- */
.yz-header__trust {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
}

.yz-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yz-font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--yz-color-gold);
  letter-spacing: 0.08em;
}

.yz-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yz-color-success);
  box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
  animation: yz-pulse 2s infinite;
}

@keyframes yz-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.yz-status__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.65);
}

/* ---- Desktop Strip ---- */
.yz-header__strip {
  position: fixed;
  top: var(--yz-progress-height);
  left: var(--yz-rail-width);
  right: 0;
  height: var(--yz-strip-height);
  background: var(--yz-color-bg);
  border-bottom: 1px solid rgba(10, 30, 63, 0.08);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 950;
  font-family: var(--yz-font-heading);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.yz-header__chapter {
  color: var(--yz-color-secondary);
  font-weight: 700;
}

.yz-header__chapter::before {
  content: '章节 / ';
  color: var(--yz-color-gold);
  font-size: 11px;
}

.yz-header__hint {
  color: var(--yz-color-text-light);
  font-family: var(--yz-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
}

/* ---- Desktop Rail Layout ---- */
@media (min-width: 1024px) {
  .yz-header__bar {
    display: none;
  }

  .yz-header__rail {
    transform: none;
    width: var(--yz-rail-width);
    max-width: none;
    z-index: 900;
    padding: 28px 24px 32px;
    box-shadow: none;
  }

  .yz-header__rail::after {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--yz-color-gold), rgba(201, 169, 110, 0.2));
  }

  .yz-header__strip {
    display: flex;
  }

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

/* ===== Buttons ===== */
.yz-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--yz-color-action);
  color: #fff;
  border: 2px solid var(--yz-color-action);
  font-family: var(--yz-font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--yz-radius);
  box-shadow: 3px 3px 0 rgba(10, 30, 63, 0.2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.yz-btn:hover,
.yz-btn:focus-visible {
  background: #E55E00;
  border-color: #E55E00;
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(10, 30, 63, 0.25);
}

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

.yz-btn--outline {
  background: transparent;
  color: var(--yz-color-gold);
  border-color: var(--yz-color-gold);
  box-shadow: 3px 3px 0 rgba(201, 169, 110, 0.15);
}

.yz-btn--outline:hover,
.yz-btn--outline:focus-visible {
  background: rgba(201, 169, 110, 0.12);
  border-color: #DBC18A;
  color: #DBC18A;
  box-shadow: 4px 4px 0 rgba(201, 169, 110, 0.2);
}

.yz-btn--ghost {
  background: transparent;
  color: var(--yz-color-secondary);
  border-color: var(--yz-color-secondary);
  box-shadow: none;
}

.yz-btn--ghost:hover,
.yz-btn--ghost:focus-visible {
  background: rgba(20, 58, 107, 0.06);
  color: var(--yz-color-primary);
  border-color: var(--yz-color-primary);
  box-shadow: none;
}

.yz-btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.yz-btn--small {
  padding: 6px 16px;
  font-size: 13px;
}

/* ===== Badge ===== */
.yz-badge {
  display: inline-block;
  padding: 2px 12px;
  background: var(--yz-color-white);
  border: 1px solid var(--yz-color-gold);
  color: var(--yz-color-secondary);
  font-family: var(--yz-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
}

/* ===== Vertical label ===== */
.yz-vert {
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: var(--yz-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--yz-color-gold);
  text-transform: uppercase;
  line-height: 1.6;
}

/* ===== Rule ===== */
.yz-rule {
  display: block;
  height: 2px;
  border: none;
  background: linear-gradient(90deg, var(--yz-color-gold) 0%, transparent 100%);
  margin: 32px 0;
}

/* ===== Layout Containers ===== */
.yz-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.yz-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .yz-section {
    padding: 100px 0;
  }
}

/* ===== Grid ===== */
.yz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .yz-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .yz-grid {
    grid-template-columns: repeat(var(--yz-cols, 3), 1fr);
  }
}

/* ===== Card ===== */
.yz-card {
  background: var(--yz-color-white);
  border: var(--yz-border-w) solid var(--yz-color-secondary);
  border-radius: var(--yz-radius);
  box-shadow: var(--yz-shadow);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yz-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(10, 30, 63, 0.18);
}

.yz-card--gold {
  border-top: 4px solid var(--yz-color-gold);
}

/* ===== Image shell ===== */
.yz-image-shell {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background:
    linear-gradient(25deg, transparent 0%, transparent 62%, rgba(10, 30, 63, 0.05) 62%, rgba(10, 30, 63, 0.05) 65%, transparent 65%),
    linear-gradient(35deg, transparent 0%, transparent 42%, rgba(10, 30, 63, 0.04) 42%, rgba(10, 30, 63, 0.04) 46%, transparent 46%),
    linear-gradient(135deg, var(--yz-color-bg) 0%, #E9EDF2 100%);
  border: var(--yz-border-w) solid var(--yz-color-secondary);
  border-radius: var(--yz-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.yz-image-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 20%, rgba(201, 169, 110, 0.12) 0%, transparent 55%);
  z-index: 1;
}

.yz-image-shell > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* ===== Breadcrumb ===== */
.yz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--yz-font-heading);
  font-size: 13px;
  color: var(--yz-color-text-light);
  margin-bottom: 24px;
}

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

.yz-breadcrumb a:hover,
.yz-breadcrumb a:focus-visible {
  color: var(--yz-color-action);
}

.yz-breadcrumb__sep {
  color: var(--yz-color-gold);
  font-family: var(--yz-font-mono);
}

/* ===== Note ===== */
.yz-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--yz-color-text-light);
}

/* ===== Reveal Animation ===== */
.yz-reveal-init:not(.yz-is-revealed) {
  opacity: 0;
  transform: translateY(18px);
}

.yz-is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ===== Scroll Spy Active ===== */
.yz-nav__link.yz-is-active {
  color: var(--yz-color-white);
  background: rgba(201, 169, 110, 0.18);
  border-left-color: var(--yz-color-action);
}

.yz-nav__link.yz-is-active .yz-nav__index {
  color: var(--yz-color-action);
}

/* ===== Footer ===== */
.yz-footer {
  flex-shrink: 0;
  margin-top: 100px;
  background:
    linear-gradient(25deg, transparent 0%, transparent 75%, rgba(201, 169, 110, 0.03) 75%, rgba(201, 169, 110, 0.03) 77%, transparent 77%),
    linear-gradient(40deg, transparent 0%, transparent 58%, rgba(201, 169, 110, 0.04) 58%, rgba(201, 169, 110, 0.04) 61%, transparent 61%),
    radial-gradient(ellipse at 15% 100%, rgba(201, 169, 110, 0.05) 0%, transparent 55%),
    var(--yz-color-primary);
  color: rgba(245, 247, 250, 0.85);
  border-top: 2px solid var(--yz-color-gold);
}

.yz-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .yz-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
  }
}

.yz-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.yz-footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yz-color-gold);
  color: var(--yz-color-primary);
  font-family: var(--yz-font-heading);
  font-size: 24px;
  font-weight: 900;
  border: 2px solid var(--yz-color-primary);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.yz-footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.yz-footer__logo-text strong {
  font-family: var(--yz-font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--yz-color-white);
  letter-spacing: 0.06em;
}

.yz-footer__logo-text small {
  font-family: var(--yz-font-mono);
  font-size: 11px;
  color: var(--yz-color-gold);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.yz-footer__desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.65);
  margin-bottom: 16px;
  max-width: 320px;
}

.yz-footer__col {
  min-width: 0;
}

.yz-footer__heading {
  font-family: var(--yz-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--yz-color-gold);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.yz-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yz-footer__link {
  color: rgba(245, 247, 250, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--yz-transition), padding-left var(--yz-transition);
}

.yz-footer__link:hover,
.yz-footer__link:focus-visible {
  color: var(--yz-color-gold);
  padding-left: 4px;
}

.yz-footer__item {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.8);
}

.yz-footer__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.5);
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid var(--yz-color-gold);
  background: rgba(201, 169, 110, 0.05);
}

.yz-footer__bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.yz-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--yz-font-heading);
  font-size: 12px;
  color: rgba(245, 247, 250, 0.55);
}

@media (min-width: 768px) {
  .yz-footer__bottom-inner {
    flex-direction: row;
  }
}

.yz-footer__copyright {
  letter-spacing: 0.05em;
}

.yz-footer__icp {
  letter-spacing: 0.1em;
}

/* ===== Content Spacing ===== */
@media (min-width: 1024px) {
  body {
    padding-top: var(--yz-strip-height);
  }
}

@media (max-width: 1023px) {
  body {
    padding-top: calc(var(--yz-bar-height) + var(--yz-progress-height));
  }
}

/* ===== Active nav styles ===== */
.yz-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--yz-color-action);
  border-radius: 50%;
}

@media (max-width: 1023px) {
  .yz-nav__link[aria-current="page"]::after {
    right: 8px;
  }
}

/* ===== Focus & Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yz-reveal-init:not(.yz-is-revealed) {
    opacity: 1;
    transform: none;
  }

  .yz-status__dot {
    animation: none;
  }
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--yz-color-secondary);
  border-radius: 4px;
}

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