/* ============================================================
   安博赛事 · 共享 Site Kit
   夜墨底 / 墨绿面 / 荧光青绿数据高亮 / 琥珀橙场次标记
   ============================================================ */

/* 1. reset -------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-left: var(--ab-rail-w);
  padding-top: var(--ab-top-h);
  background: var(--ab-ink);
  color: var(--ab-text);
  font-family: var(--ab-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }
hr { border: 0; }

/* 2. tokens ------------------------------------------------- */
:root {
  --ab-ink: #08110F;
  --ab-surface: #0E1F1A;
  --ab-layer: #16302A;
  --ab-line: #1F4A3E;
  --ab-accent: #3BE8A8;
  --ab-amber: #F2A23C;
  --ab-mint: #6FE7C4;
  --ab-text: #E8F4EF;
  --ab-muted: #9FB8AF;
  --ab-alert: #E4572E;

  --ab-rail-w: 84px;
  --ab-top-h: 48px;
  --ab-edge: 14px;
  --ab-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ab-font: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ab-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 3. base typography ---------------------------------------- */
::selection { background: rgba(59, 232, 168, 0.28); color: #FFFFFF; }

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

.ab-prose {
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ab-muted);
}
.ab-prose p + p { margin-top: 1em; }
.ab-prose strong { color: var(--ab-text); font-weight: 600; }
.ab-prose a {
  color: var(--ab-mint);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(111, 231, 196, 0.42);
}
.ab-prose a:hover { color: var(--ab-accent); }

/* 4. skip link ---------------------------------------------- */
.ab-skip {
  position: fixed;
  top: 0;
  left: var(--ab-rail-w);
  z-index: 200;
  padding: 10px 18px;
  background: var(--ab-accent);
  color: #04120D;
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  border-radius: 0 0 10px 0;
  transform: translateY(-160%);
  transition: transform 0.22s var(--ab-ease);
}
.ab-skip:focus-visible {
  transform: translateY(0);
  outline-offset: 0;
}

/* 5. header · top rail -------------------------------------- */
.ab-header { position: relative; z-index: 80; }

.ab-toprail {
  position: fixed;
  top: 0;
  left: var(--ab-rail-w);
  right: 0;
  height: var(--ab-top-h);
  z-index: 90;
  display: flex;
  align-items: center;
  background: rgba(8, 17, 15, 0.92);
  border-bottom: 1px solid var(--ab-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s var(--ab-ease), box-shadow 0.3s var(--ab-ease);
}
.ab-header[data-scrolled="true"] .ab-toprail {
  background: rgba(8, 17, 15, 0.985);
  box-shadow: 0 1px 0 var(--ab-line), 0 12px 28px rgba(0, 0, 0, 0.35);
}

.ab-toprail__inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 0 20px;
  min-width: 0;
}

.ab-toprail__brand {
  display: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ab-text);
  white-space: nowrap;
}

.ab-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ab-mint);
  white-space: nowrap;
}
.ab-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ab-accent);
  box-shadow: 0 0 0 3px rgba(59, 232, 168, 0.16);
  animation: ab-pulse 2.8s var(--ab-ease) infinite;
}
@keyframes ab-pulse {
  50% { box-shadow: 0 0 0 8px rgba(59, 232, 168, 0); }
}

.ab-toprail__meta {
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ab-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-toprail__meta::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--ab-line);
}

.ab-feedback-link {
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid var(--ab-line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ab-text);
  white-space: nowrap;
  transition: color 0.24s var(--ab-ease), border-color 0.24s var(--ab-ease), background 0.24s var(--ab-ease);
}
.ab-feedback-link:hover {
  color: var(--ab-accent);
  border-color: var(--ab-accent);
  background: rgba(59, 232, 168, 0.08);
}

.ab-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--ab-accent), var(--ab-mint));
  box-shadow: 0 0 12px rgba(59, 232, 168, 0.55);
}

/* 6. header · frame rail ------------------------------------ */
.ab-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 95;
  width: var(--ab-rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0 18px;
  background: var(--ab-surface);
  border-right: 1px solid var(--ab-line);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.ab-rail::-webkit-scrollbar { display: none; }

.ab-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ab-text);
}
.ab-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ab-accent);
  color: #04120D;
  font-family: var(--ab-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: transform 0.3s var(--ab-ease), background 0.3s var(--ab-ease);
}
.ab-brand:hover .ab-brand__mark { transform: translateY(-2px); background: var(--ab-mint); }
.ab-brand__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.16em;
  color: var(--ab-text);
}

.ab-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ab-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.ab-nav__item { display: flex; justify-content: center; }

.ab-nav__link {
  position: relative;
  display: block;
  padding: 11px 7px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.26em;
  color: var(--ab-muted);
  transition: color 0.24s var(--ab-ease), background 0.24s var(--ab-ease);
}
.ab-nav__link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--ab-accent);
  transform: translateY(-50%);
  transition: height 0.3s var(--ab-ease);
}
.ab-nav__link:hover { color: var(--ab-text); }
.ab-nav__link[aria-current="page"] { color: var(--ab-accent); }
.ab-nav__link[aria-current="page"]::before { height: 26px; }

.ab-rail__foot {
  flex: 0 0 auto;
  font-family: var(--ab-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ab-line);
  writing-mode: vertical-rl;
}

/* 7. header · mobile toggle & scrim ------------------------- */
.ab-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 7px 13px;
  border: 1px solid var(--ab-line);
  border-radius: 999px;
  background: rgba(14, 31, 26, 0.9);
  color: var(--ab-text);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  transition: color 0.24s var(--ab-ease), border-color 0.24s var(--ab-ease);
}
.ab-navtoggle:hover { color: var(--ab-accent); border-color: var(--ab-accent); }
.ab-navtoggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.ab-navtoggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.26s var(--ab-ease), opacity 0.2s var(--ab-ease);
}
.ab-header[data-open] .ab-navtoggle__bars span:first-child { transform: translateY(2.75px) rotate(45deg); }
.ab-header[data-open] .ab-navtoggle__bars span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.ab-navtoggle__label { display: inline-block; }

.ab-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(4, 10, 8, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ab-ease);
}
.ab-header[data-open] .ab-scrim { opacity: 1; pointer-events: auto; }

/* 8. footer ------------------------------------------------- */
.ab-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 128px);
  padding: clamp(40px, 5vw, 64px) 0 22px;
  background: var(--ab-surface);
  border-top: 1px solid var(--ab-line);
}
.ab-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ab-accent) 0 12%, rgba(242, 162, 60, 0.9) 12% 18%, transparent 18%);
}

.ab-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

.ab-brand--footer { flex-direction: row; gap: 12px; }
.ab-brand--footer .ab-brand__name {
  flex-direction: row;
  gap: 2px;
  font-size: 15px;
  letter-spacing: 0.2em;
}
.ab-footer__tagline {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ab-muted);
}

.ab-footer__navlist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.ab-footer__navlink {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ab-muted);
  transition: color 0.22s var(--ab-ease);
}
.ab-footer__navlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--ab-accent);
  transition: width 0.26s var(--ab-ease);
}
.ab-footer__navlink:hover { color: var(--ab-accent); }
.ab-footer__navlink:hover::after { width: 100%; }

.ab-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.ab-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ab-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(31, 74, 62, 0.62);
  font-family: var(--ab-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ab-muted);
}
.ab-footer__meta-item { margin: 0; }

/* 9. layout · container / grid / section -------------------- */
.ab-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.ab-container--narrow { max-width: 760px; }

.ab-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.ab-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ab-section {
  position: relative;
  padding-block: clamp(56px, 7vw, 110px);
}
.ab-section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.ab-eyebrow {
  font-family: var(--ab-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ab-muted);
}

.ab-index {
  font-family: var(--ab-mono);
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ab-line);
  text-stroke: 1px var(--ab-line);
}

.ab-title {
  font-size: clamp(1.72rem, 3.3vw, 2.85rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ab-text);
}
.ab-title strong {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ab-accent);
}

.ab-lead {
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ab-muted);
}

.ab-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--ab-line), transparent);
}

.ab-slash {
  height: 34px;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 18px,
    rgba(31, 74, 62, 0.62) 18px 19px
  );
}

/* 10. components · buttons / tags / cards ------------------- */
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--ab-line);
  border-radius: 2px;
  background: transparent;
  color: var(--ab-text);
  font-family: var(--ab-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  transition: background 0.24s var(--ab-ease), color 0.24s var(--ab-ease), border-color 0.24s var(--ab-ease), transform 0.24s var(--ab-ease);
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn:active { transform: translateY(0); }

.ab-btn--primary {
  background: var(--ab-accent);
  border-color: var(--ab-accent);
  color: #04120D;
  font-weight: 700;
}
.ab-btn--primary:hover { background: var(--ab-mint); border-color: var(--ab-mint); }

.ab-btn--ghost { color: var(--ab-text); }
.ab-btn--ghost:hover {
  color: var(--ab-accent);
  border-color: var(--ab-accent);
  background: rgba(59, 232, 168, 0.08);
}

.ab-btn--amber {
  color: var(--ab-amber);
  border-color: rgba(242, 162, 60, 0.55);
}
.ab-btn--amber:hover {
  color: #1A1206;
  background: var(--ab-amber);
  border-color: var(--ab-amber);
}

.ab-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(59, 232, 168, 0.4);
  border-radius: 2px;
  background: rgba(59, 232, 168, 0.08);
  font-family: var(--ab-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ab-accent);
  white-space: nowrap;
}
.ab-tag--amber {
  border-color: rgba(242, 162, 60, 0.45);
  background: rgba(242, 162, 60, 0.1);
  color: var(--ab-amber);
}
.ab-tag--alert {
  border-color: rgba(228, 87, 46, 0.5);
  background: rgba(228, 87, 46, 0.12);
  color: var(--ab-alert);
  font-weight: 700;
}

.ab-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ab-edge)), calc(100% - var(--ab-edge)) 100%, 0 100%);
  transition: border-color 0.26s var(--ab-ease), background 0.26s var(--ab-ease);
}
.ab-card:hover { border-color: rgba(59, 232, 168, 0.42); }
.ab-card--layer { background: var(--ab-layer); }

.ab-card__meta {
  font-family: var(--ab-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--ab-muted);
  margin-bottom: 12px;
}
.ab-card__title {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ab-text);
}
.ab-card__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ab-muted);
}

/* 11. components · data bar / table ------------------------- */
.ab-bar {
  position: relative;
  display: block;
  height: 6px;
  background: var(--ab-layer);
  overflow: hidden;
}
.ab-bar__fill {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  background: linear-gradient(90deg, var(--ab-accent), var(--ab-mint));
  transition: width 0.7s var(--ab-ease);
}

.ab-table__wrap {
  overflow-x: auto;
  border: 1px solid var(--ab-line);
  background: var(--ab-surface);
}
.ab-table {
  width: 100%;
  min-width: 520px;
  font-family: var(--ab-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.ab-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ab-muted);
  background: var(--ab-layer);
  border-bottom: 1px solid var(--ab-line);
  white-space: nowrap;
}
.ab-table td {
  padding: 11px 14px;
  color: var(--ab-text);
  border-bottom: 1px solid rgba(31, 74, 62, 0.55);
  white-space: nowrap;
}
.ab-table tbody tr:last-child td { border-bottom: 0; }
.ab-table tbody tr:hover td { background: rgba(59, 232, 168, 0.05); }
.ab-table .is-num { text-align: right; }

/* 12. components · figure / caption ------------------------- */
.ab-figure {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ab-layer);
  border: 1px solid var(--ab-line);
}
.ab-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.86);
  transition: transform 0.8s var(--ab-ease), filter 0.6s var(--ab-ease);
}
.ab-figure:hover img {
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
}
.ab-figure::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 68px;
  height: 68px;
  background: var(--ab-accent);
  opacity: 0.16;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.ab-figure--16x9 { aspect-ratio: 16 / 9; }
.ab-figure--4x5 { aspect-ratio: 4 / 5; }
.ab-figure--21x9 { aspect-ratio: 21 / 9; }
.ab-figure--square { aspect-ratio: 1 / 1; }

.ab-figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px 12px;
  font-family: var(--ab-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ab-text);
  background: linear-gradient(transparent, rgba(4, 10, 8, 0.88));
}

/* 13. components · breadcrumb ------------------------------- */
.ab-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding-top: clamp(18px, 2.6vw, 30px);
  font-family: var(--ab-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ab-muted);
}
.ab-breadcrumb a { color: var(--ab-muted); transition: color 0.2s var(--ab-ease); }
.ab-breadcrumb a:hover { color: var(--ab-accent); }
.ab-breadcrumb__sep { color: var(--ab-line); }
.ab-breadcrumb [aria-current="page"] { color: var(--ab-text); }

/* 14. component · back to top ------------------------------- */
.ab-totop {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--ab-line);
  border-radius: 999px;
  background: rgba(14, 31, 26, 0.94);
  color: var(--ab-text);
  font-family: var(--ab-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ab-ease), transform 0.3s var(--ab-ease), color 0.24s var(--ab-ease), border-color 0.24s var(--ab-ease);
}
.ab-totop::before { content: "↑"; font-size: 13px; line-height: 1; }
.ab-totop[data-visible="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ab-totop:hover { color: var(--ab-accent); border-color: var(--ab-accent); }

/* 15. responsive -------------------------------------------- */
@media (max-width: 1023px) {
  :root { --ab-top-h: 56px; }

  body { padding-left: 0; padding-top: var(--ab-top-h); }
  body.ab-nav-open { overflow: hidden; }

  .ab-skip { left: 0; }

  .ab-toprail { left: 0; }
  .ab-toprail__inner { padding: 0 16px; gap: 14px; }
  .ab-toprail__brand { display: block; }
  .ab-toprail__meta { display: none; }
  .ab-navtoggle { display: inline-flex; }

  .ab-rail {
    width: min(304px, 84vw);
    align-items: stretch;
    gap: 0;
    padding: 20px 0 26px;
    background: var(--ab-surface);
    border-right: 1px solid var(--ab-line);
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.34s var(--ab-ease), visibility 0.34s var(--ab-ease);
  }
  .ab-header[data-open] .ab-rail {
    transform: translateX(0);
    visibility: visible;
  }

  .ab-brand {
    flex-direction: row;
    gap: 12px;
    padding: 0 22px 18px;
  }
  .ab-brand__name { flex-direction: row; gap: 2px; font-size: 15px; letter-spacing: 0.2em; }

  .ab-nav {
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 4px;
  }
  .ab-nav__list { align-items: stretch; gap: 0; }
  .ab-nav__item {
    display: block;
    border-top: 1px solid rgba(31, 74, 62, 0.62);
  }
  .ab-nav__link {
    writing-mode: horizontal-tb;
    padding: 15px 22px;
    font-size: 16px;
    letter-spacing: 0.14em;
    color: var(--ab-text);
  }
  .ab-nav__link::before {
    left: 0;
    width: 3px;
    height: 0;
  }
  .ab-nav__link:hover { background: rgba(59, 232, 168, 0.06); }
  .ab-nav__link[aria-current="page"] {
    color: var(--ab-accent);
    background: rgba(59, 232, 168, 0.07);
  }
  .ab-nav__link[aria-current="page"]::before { height: 64%; }

  .ab-rail__foot { display: none; }

  .ab-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ab-grid--3, .ab-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ab-status { display: none; }
  .ab-grid--2, .ab-grid--3, .ab-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .ab-footer__meta { flex-direction: column; }
}

@media (max-width: 560px) {
  .ab-feedback-link { display: none; }
  .ab-navtoggle__label { display: none; }
  .ab-toprail__inner { padding: 0 12px; gap: 10px; }
  .ab-title { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .ab-footer__navlist { gap: 10px 18px; }
  .ab-totop { padding: 9px 12px; font-size: 10.5px; }
}

/* 16. motion preferences ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ab-status__dot { box-shadow: none; }
  .ab-figure:hover img { transform: none; }
  .ab-btn:hover { transform: none; }
}
