/* ============================================================
   微玩赛事合作 · site.css
   夜场战术板：墨绿底 / 细线网格 / 荧光青状态 / 暖橙入口
   ============================================================ */

/* ---------- 1. 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, dl, dd, figure, blockquote, fieldset {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; }

main { display: block; }

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #071814;
  --surface: #0E2A22;
  --surface-2: #123328;
  --paper: #F1E8D4;
  --paper-dim: #D8CFBA;
  --neon: #20F6C8;
  --mist: #8FF7DF;
  --orange: #FF8A3D;
  --brick: #D64C3A;
  --sage: #8AA39A;
  --line: #2E6B5E;
  --umber: #1A1410;

  --rail-w: 0px;
  --gut: clamp(16px, 2vw, 24px);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Arial Narrow", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --ease: cubic-bezier(.22,.8,.22,1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(46, 107, 94, .16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(46, 107, 94, .10) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-narrow);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--paper);
}

h1 { font-size: clamp(30px, 5vw, 58px); }
h2 { font-size: clamp(23px, 3.2vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; letter-spacing: 0; }

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

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

a:focus-visible,
button:focus-visible { outline-offset: 2px; }

/* ---------- 4. Utilities ---------- */
.u-container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.u-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gut);
}

.u-span-3 { grid-column: span 3; }
.u-span-4 { grid-column: span 4; }
.u-span-5 { grid-column: span 5; }
.u-span-6 { grid-column: span 6; }
.u-span-7 { grid-column: span 7; }
.u-span-8 { grid-column: span 8; }
.u-span-9 { grid-column: span 9; }
.u-span-12 { grid-column: span 12; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--sage);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.btn:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(32, 246, 200, .08);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--umber);
}

.btn--primary:hover {
  background: #FF9D5C;
  border-color: #FF9D5C;
  color: var(--umber);
}

.btn--ghost {
  background: transparent;
}

.btn__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  opacity: .78;
}

/* ---------- 6. Breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--sage);
  text-transform: uppercase;
}

.crumbs li { display: flex; align-items: center; gap: 8px; }

.crumbs li + li::before {
  content: "/";
  color: var(--line);
}

.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs a:hover { color: var(--neon); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 7. Section head / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--neon);
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--neon);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-head > p {
  max-width: 34ch;
  font-size: 14px;
  color: var(--sage);
}

/* ---------- 8. Panel ---------- */
.panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}

.panel--umber {
  background: var(--umber);
  border-color: #3A2F27;
}

.panel--ink {
  background: var(--ink);
}

/* ---------- 9. Tags & status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 246, 200, .07);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.4;
}

.tag--live {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
  font-weight: 700;
}

.tag--hot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--umber);
  font-weight: 700;
}

.tag--legacy {
  background: rgba(214, 76, 58, .18);
  border-color: var(--brick);
  color: #FFC5B9;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  animation: dot-pulse 2.6s ease-out infinite;
}

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(32, 246, 200, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(32, 246, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 246, 200, 0); }
}

/* ---------- 10. Media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}

.media__frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(32, 246, 200, .18), transparent 62%),
    radial-gradient(90% 80% at 12% 88%, rgba(255, 138, 61, .20), transparent 64%),
    linear-gradient(142deg, #0B221C 0%, #071814 56%, #12251F 100%);
}

.media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(46, 107, 94, .40) 1px, transparent 1px),
    linear-gradient(180deg, rgba(46, 107, 94, .40) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .55;
  pointer-events: none;
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__cap {
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--sage);
}

.media--diagonal .media__frame {
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}

.media--tall .media__frame { aspect-ratio: 4 / 5; }
.media--wide .media__frame { aspect-ratio: 21 / 9; }

/* ---------- 11. Prose ---------- */
.prose {
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--paper-dim);
}

.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
  list-style: revert;
}

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

.prose a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 246, 200, .45);
}

.prose a:hover { border-bottom-color: var(--neon); }

.prose strong { color: var(--paper); font-weight: 700; }

/* ---------- 12. Disclosure ---------- */
.disclosure {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  transition: border-color .2s var(--ease);
}

.disclosure + .disclosure { margin-top: 10px; }

.disclosure[data-open] { border-color: var(--neon); }

.disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.disclosure__trigger:hover { color: var(--neon); }
.disclosure[data-open] .disclosure__trigger { color: var(--neon); }

.disclosure__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  background: var(--neon);
  transition: transform .25s var(--ease);
}

.disclosure__icon::before { left: 0; top: 6.5px; width: 14px; height: 1.5px; }
.disclosure__icon::after { top: 0; left: 6.5px; width: 1.5px; height: 14px; }

.disclosure[data-open] .disclosure__icon::after { transform: scaleY(0); }

.disclosure__panel {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(46, 107, 94, .6);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--paper-dim);
}

/* ============================================================
   13. Header — 侧边轨道
   ============================================================ */
.as-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--neon);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.as-skip:focus,
.as-skip:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--paper);
}

.as-rail {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}

.as-rail::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(4, 14, 11, .68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}

.as-rail[data-open]::after {
  opacity: 1;
  pointer-events: auto;
}

/* --- 顶栏（移动端） --- */
.as-rail__top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(14px, 4vw, 22px);
}

.as-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  color: var(--paper);
}

.as-brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--orange);
  color: var(--umber);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.as-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.as-brand__name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.as-brand__desc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--sage);
  white-space: nowrap;
}

.as-navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 246, 200, .06);
  color: var(--paper);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.as-navtoggle:hover { border-color: var(--neon); }

.as-navtoggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.as-navtoggle__bars i {
  display: block;
  height: 1.5px;
  background: var(--neon);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.as-rail[data-open] .as-navtoggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.as-rail[data-open] .as-navtoggle__bars i:nth-child(2) { opacity: 0; }
.as-rail[data-open] .as-navtoggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.as-navtoggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}

/* --- 抽屉导航 --- */
.as-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(86vw, 334px);
  padding: 78px 0 26px;
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: 28px 0 64px rgba(0, 0, 0, .5);
  visibility: hidden;
  transform: translateX(-104%);
  transition: transform .32s var(--ease), visibility 0s linear .32s;
}

.as-nav[data-open="true"] {
  visibility: visible;
  transform: translateX(0);
  transition: transform .32s var(--ease), visibility 0s linear 0s;
}

.as-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.as-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 12px;
  border-left: 2px solid transparent;
  border-radius: 2px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}

.as-nav__list a:hover {
  color: var(--neon);
  background: rgba(32, 246, 200, .07);
  border-left-color: var(--line);
}

.as-nav__list a[aria-current="page"] {
  color: var(--neon);
  background: rgba(32, 246, 200, .1);
  border-left-color: var(--neon);
}

.as-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--sage);
}

.as-nav__list a[aria-current="page"] .as-nav__idx { color: var(--neon); }

.as-nav__label { line-height: 1.3; }

.as-nav__quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.as-nav__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--sage);
  text-transform: uppercase;
}

.as-quicklink {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 246, 200, .04);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}

.as-quicklink::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

.as-quicklink:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(32, 246, 200, .1);
}

.as-quicklink--hot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--umber);
}

.as-quicklink--hot::before { background: var(--umber); }

.as-quicklink--hot:hover {
  background: #FF9D5C;
  border-color: #FF9D5C;
  color: var(--umber);
}

.as-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: .04em;
  color: var(--sage);
}

.as-status__dot { flex: none; margin-top: 5px; }

.as-status__text { display: block; }

/* --- 滚动进度 --- */
.as-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 4;
  height: 2px;
  background: rgba(46, 107, 94, .55);
  pointer-events: none;
}

.as-progress__bar {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--mist), var(--neon));
  transition: width .12s linear;
}

/* ============================================================
   14. Footer — 出版式信息块
   ============================================================ */
.as-foot {
  position: relative;
  margin-top: clamp(46px, 7vw, 88px);
  background-color: var(--umber);
  background-image:
    linear-gradient(90deg, rgba(241, 232, 212, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(241, 232, 212, .04) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  border-top: 1px solid var(--line);
  color: #E3D9C4;
}

.as-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(88px, 18vw, 220px);
  height: 2px;
  background: var(--orange);
}

.as-foot__inner {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 60px) clamp(18px, 4vw, 44px) 0;
}

.as-foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.as-foot__eyebrow {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--orange);
  text-transform: uppercase;
}

.as-foot__line {
  max-width: 23em;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.46;
  letter-spacing: -.01em;
  color: var(--paper);
}

.as-foot__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 232, 212, .18);
}

.as-foot__contactItem {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 13.5px;
  color: #C9BFA8;
}

.as-foot__contactKey {
  min-width: 52px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--sage);
}

.as-foot__contact a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 246, 200, .35);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.as-foot__contact a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.as-foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-content: start;
}

.as-foot__colTitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(241, 232, 212, .18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--paper);
}

.as-foot__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--neon);
}

.as-foot__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.as-foot__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: #C9BFA8;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.as-foot__list a::before {
  content: "";
  flex: none;
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width .2s var(--ease);
}

.as-foot__list a:hover { color: var(--neon); }
.as-foot__list a:hover::before { width: 12px; }

.as-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(28px, 4vw, 46px);
  padding: 16px 0 22px;
  border-top: 1px solid rgba(241, 232, 212, .18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #9E967F;
}

.as-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.as-foot__legal a {
  color: #C9BFA8;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.as-foot__legal a:hover { color: var(--neon); }

.as-foot__icp {
  margin-left: auto;
  color: var(--sage);
}

.as-totop {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--umber);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.as-totop[data-visible] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.as-totop:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ============================================================
   15. Responsive
   ============================================================ */
@media (max-width: 900px) {
  body { background-attachment: scroll; }
}

@media (max-width: 820px) {
  .u-span-3,
  .u-span-4,
  .u-span-5,
  .u-span-6,
  .u-span-7,
  .u-span-8,
  .u-span-9 { grid-column: span 12; }
}

@media (max-width: 420px) {
  .as-brand__desc { display: none; }
  .as-brand__name { font-size: 15.5px; }
  .as-navtoggle__label { display: none; }
}

@media (min-width: 900px) {
  :root { --rail-w: 104px; }

  .as-rail {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: var(--rail-w);
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #0E2A22 0%, #0A211A 58%, #071814 100%);
    z-index: 90;
  }

  .as-rail::after { display: none; }

  .as-rail__top {
    flex-direction: column;
    gap: 0;
    padding: 18px 8px 14px;
    border-bottom: 1px solid rgba(46, 107, 94, .6);
  }

  .as-brand {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .as-brand__mark {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .as-brand__text { align-items: center; }

  .as-brand__name {
    font-size: 12.5px;
    letter-spacing: .18em;
    line-height: 1.3;
    white-space: normal;
    writing-mode: vertical-rl;
  }

  .as-brand__desc { display: none; }

  .as-navtoggle { display: none; }

  .as-nav {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    width: auto;
    min-height: 0;
    padding: 12px 0 10px;
    overflow-y: auto;
    border-right: 0;
    box-shadow: none;
    background: transparent;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .as-nav__list {
    flex: 0 0 auto;
    gap: 0;
    padding: 0;
  }

  .as-nav__list a {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 4px;
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 12.5px;
    letter-spacing: .02em;
    text-align: center;
  }

  .as-nav__list a + a { margin-top: 0; }

  .as-nav__list li + li a { border-top: 1px solid rgba(46, 107, 94, .3); }

  .as-nav__idx { font-size: 9px; }

  .as-nav__label { line-height: 1.25; }

  .as-nav__quick {
    margin: auto 8px 0;
    padding-top: 12px;
    gap: 6px;
  }

  .as-nav__title {
    font-size: 9px;
    letter-spacing: .16em;
    text-align: center;
  }

  .as-quicklink {
    justify-content: center;
    gap: 0;
    padding: 8px 4px;
    font-size: 11px;
    letter-spacing: .02em;
    text-align: center;
  }

  .as-quicklink::before { display: none; }

  .as-status {
    margin: 10px 8px 0;
    padding-top: 10px;
    border-top: 1px solid rgba(46, 107, 94, .4);
    font-size: 9.5px;
    letter-spacing: .02em;
  }

  .as-status__dot { margin-top: 4px; }

  .as-progress {
    top: 0;
    right: -1px;
    bottom: 0;
    left: auto;
    width: 2px;
    height: auto;
  }

  .as-progress__bar {
    width: 100%;
    height: calc(var(--p, 0) * 100%);
    background: linear-gradient(180deg, var(--neon), var(--mist));
    transition: height .12s linear;
  }

  .as-foot__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
    gap: clamp(30px, 4vw, 56px);
  }
}

@media (min-width: 1240px) {
  :root { --rail-w: 112px; }
  .as-nav__list a { font-size: 13px; padding: 13px 4px; }
}

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

  .status-dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(32, 246, 200, .2);
  }

  .as-nav { transition: none; }
  .as-progress__bar { transition: none; }
  .as-totop { transform: none; }
}
