/* ==========================================================================
   微玩体育合作 — /assets/site.css
   共享层：reset / tokens / 中文排版 / 头部 / 页脚 / 通用组件 / 响应式
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
hr { border: 0; border-top: 1px solid var(--hair); }

/* ---------- tokens ---------- */
:root {
  --ink: #0E1F1A;
  --ink-2: #16302A;
  --paper: #F1F6F2;
  --lime: #C6F24E;
  --lime-bright: #D8FB70;
  --orange: #FF6A2B;
  --mist: #7FE3D0;
  --steel: #7C8F87;
  --hair: #2C4A40;
  --lime-dim: #8FAE3E;
  --paper-soft: #E3EAE5;

  --paper-72: rgba(241, 246, 242, 0.72);
  --paper-52: rgba(241, 246, 242, 0.52);
  --lime-12: rgba(198, 242, 78, 0.12);
  --lime-07: rgba(198, 242, 78, 0.07);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono", ui-monospace, "Noto Sans Mono CJK SC", Menlo, Consolas, monospace;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "Bahnschrift Condensed", "Oswald", "PingFang SC", "Source Han Sans SC", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 64px;
  --radius: 2px;
  --line: 1px solid var(--hair);
  --shadow-soft: 0 1px 0 rgba(0, 0, 0, 0.28), 0 18px 34px -28px rgba(0, 0, 0, 0.92);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- base ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background-color: var(--lime); color: var(--ink); }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  display: inline-block;
  padding: 10px 16px;
  background-color: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- typography utilities ---------- */
.display-1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: none;
  background-color: var(--lime);
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.lede {
  max-width: 40em;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  color: var(--paper-72);
}
.prose {
  max-width: 44em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--paper-72);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--paper);
  line-height: 1.2;
}
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--lime-bright); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.section--tight { padding-block: clamp(30px, 4vw, 56px); }
.section--band {
  background-color: var(--ink-2);
  border-top: var(--line);
  border-bottom: var(--line);
}
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 12px;
  border-bottom: var(--line);
}
.chapter__index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lime);
  flex: none;
}
.chapter__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--paper);
}
.chapter__en {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn--primary { background-color: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--primary:hover { background-color: var(--lime-bright); border-color: var(--lime-bright); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background-color: transparent; border-color: var(--hair); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  color: var(--paper-72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tag--elite { background-color: var(--lime); border-color: var(--lime); color: var(--ink); }
.tag--open { background-color: var(--mist); border-color: var(--mist); color: var(--ink); }
.tag--invite { background-color: transparent; border-color: var(--orange); color: var(--orange); }
.tag--masters { background-color: var(--paper-soft); border-color: var(--paper-soft); color: var(--ink); }
.tag--mute { background-color: transparent; border-color: var(--lime-dim); color: var(--lime-dim); }

/* ---------- panel ---------- */
.panel {
  background-color: var(--ink-2);
  border: var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-soft);
}
.panel--flush { padding: 0; }
.panel--lime {
  background-color: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.panel--lime .mono-label,
.panel--lime .lede { color: rgba(14, 31, 26, 0.72); }

/* ---------- table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
}
.data-table caption {
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--hair);
  color: var(--paper-72);
  vertical-align: top;
}
.data-table tbody tr:nth-child(odd) { background-color: rgba(22, 48, 42, 0.55); }
.data-table tbody tr:hover { background-color: var(--lime-07); }
.data-table .num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--paper);
  text-align: right;
  white-space: nowrap;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__sep { color: var(--hair); }
.breadcrumb__link { color: var(--steel); transition: color 0.16s var(--ease); }
.breadcrumb__link:hover { color: var(--lime); }
.breadcrumb__current { color: var(--paper); }

/* ---------- filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
}
.filter-bar__label {
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.filter-btn {
  padding: 7px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background-color: transparent;
  color: var(--paper-72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
              background-color 0.16s var(--ease);
}
.filter-btn:hover { border-color: var(--lime); color: var(--lime); }
.filter-btn[aria-pressed="true"] {
  background-color: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

/* ---------- media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  box-shadow: var(--shadow-soft);
}
.media-frame__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.92);
}
.media-frame--wide .media-frame__img { aspect-ratio: 21 / 9; }
.media-frame--tall .media-frame__img { aspect-ratio: 4 / 5; }
.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 9px 12px;
  background-color: rgba(14, 31, 26, 0.82);
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--ink);
  border-bottom: var(--line);
  color: var(--paper);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: 1440px;
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 9px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--lime);
  border-radius: 50%;
}
.brand__mark::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--lime);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 1px;
  height: 5px;
  background-color: var(--lime);
  transform: translateX(-50%);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
  white-space: nowrap;
}
.brand__eyebrow {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.brand:hover .brand__eyebrow { color: var(--lime); }
.brand--footer { gap: 12px; }
.brand--footer .brand__name { font-size: 17px; }

.site-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-width: 0;
}
.site-nav__item {
  flex: none;
  border-left: 1px solid var(--hair);
}
.site-nav__item:last-child { border-right: 1px solid var(--hair); }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--paper-72);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.16s var(--ease);
}
.site-nav__link:hover { color: var(--paper); }
.site-nav__link:hover .site-nav__index { color: var(--lime); }
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--steel);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.site-nav__label { white-space: nowrap; }
.site-nav__link[aria-current="page"] { color: var(--paper); }
.site-nav__link[aria-current="page"] .site-nav__index {
  background-color: var(--lime);
  color: var(--ink);
  padding: 2px 4px;
}
.site-nav__link[aria-current="page"]::after { background-color: var(--lime); }
.site-nav__aux { display: none; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.status-lamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-lamp__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-12);
  animation: lamp-breathe 3.6s ease-in-out infinite;
}
.status-lamp__text { display: inline-block; }
@keyframes lamp-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.1); }
  50% { box-shadow: 0 0 0 5px rgba(198, 242, 78, 0.18); }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  flex: none;
  background-color: currentColor;
  transition: background-color 0.18s var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.18s var(--ease);
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }
.nav-toggle__text { display: inline-block; }
.site-header[data-open] .nav-toggle { border-color: var(--lime); color: var(--lime); }
.site-header[data-open] .nav-toggle__bar { background-color: transparent; }
.site-header[data-open] .nav-toggle__bar::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar::after { transform: translateY(-5px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer {
  background-color: var(--ink-2);
  border-top: var(--line);
  color: var(--paper);
}
.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer-col { min-width: 0; }
.footer-col--brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-tagline {
  max-width: 26em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper-72);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-heading {
  position: relative;
  margin-bottom: 14px;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 1px;
  background-color: var(--lime);
}
.footer-list { display: flex; flex-direction: column; gap: 9px; }
.footer-list a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-72);
  transition: color 0.16s var(--ease);
}
.footer-list a:hover { color: var(--lime); }
.footer-list--contact li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-72);
  word-break: break-word;
}
.footer-list--tags {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-72);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease),
              background-color 0.16s var(--ease);
}
.footer-tag:hover {
  border-color: var(--lime);
  background-color: var(--lime-07);
  color: var(--lime);
}

.footer-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-block: 14px;
  border-top: var(--line);
  border-bottom: var(--line);
}
.footer-status__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper-72);
}
.footer-status__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background-color: var(--lime);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 18px;
}
.footer-legal__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}
.footer-legal__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
  transition: color 0.16s var(--ease);
}
.footer-legal__links a:hover { color: var(--lime); }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav__link { padding: 9px 9px; font-size: 12px; }
  .site-nav__index { font-size: 9px; }
  .status-lamp { font-size: 10px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 56px; }
  body { padding-bottom: 62px; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px var(--gutter);
  }
  .header-tools { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    background-color: var(--ink-2);
    border-top: 1px solid var(--hair);
    box-shadow: 0 -20px 34px -26px rgba(0, 0, 0, 0.95);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .site-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav__list::-webkit-scrollbar { display: none; }
  .site-nav__item {
    flex: 0 0 auto;
    border-left: 1px solid var(--hair);
    border-right: 0;
  }
  .site-nav__item:first-child { border-left: 0; }
  .site-nav__item:last-child { border-right: 0; }
  .site-nav__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 14px 11px;
    font-size: 12px;
  }
  .site-nav__index { font-size: 9px; }
  .site-nav__link[aria-current="page"]::after { height: 2px; }

  .site-header[data-open] .site-nav {
    top: var(--header-h);
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-top: 1px solid var(--hair);
  }
  .site-header[data-open] .site-nav__list {
    flex-direction: column;
    overflow: visible;
  }
  .site-header[data-open] .site-nav__item {
    border-left: 0;
    border-bottom: 1px solid var(--hair);
  }
  .site-header[data-open] .site-nav__link {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 16px var(--gutter);
    font-size: 16px;
    color: var(--paper);
  }
  .site-header[data-open] .site-nav__index { font-size: 11px; }
  .site-header[data-open] .site-nav__aux {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
    padding: 22px var(--gutter) 32px;
    border-top: 1px solid var(--hair);
  }
  .site-header[data-open] .site-nav__aux .status-lamp { justify-content: flex-start; }
  .site-header[data-open] .site-nav__aux .btn { width: 100%; }

  .grid--2,
  .grid--3,
  .grid--duo,
  .grid--split { grid-template-columns: minmax(0, 1fr); }

  .chapter { flex-wrap: wrap; }
  .chapter__en { margin-left: 0; width: 100%; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col--brand { grid-column: auto; }
  .footer-legal__links { margin-left: 0; }
  .footer-status { gap: 8px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .status-lamp__dot { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
