.route-archive,
.route-file {
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --file-ink: #07111f;
  --file-line: rgba(7, 17, 31, .16);
  --file-line-2: rgba(7, 17, 31, .09);
}

.route-archive .hidden,
.route-file .hidden { display: none !important; }
.site-nav [hidden] { display: none !important; }
button.mini-link { background: none; border: 0; cursor: pointer; font: inherit; }

.boot-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--muted);
  font: 700 13px/1 var(--font-mono);
  letter-spacing: .12em;
  z-index: 200;
}

.page-shell {
  width: var(--container-wide);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 34px) 0 clamp(80px, 10vw, 130px);
}

.u-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.u-kicker::before { content: ""; width: 18px; height: 2px; background: var(--blue); }

.sec-tab {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: clamp(18px, 2.4vw, 24px);
  border-bottom: 3px solid var(--ink);
}
.sec-tab .no {
  font: 800 11px/1 var(--font-mono);
  letter-spacing: .08em;
  color: var(--paper);
  background: var(--ink);
  padding: 5px 8px 4px;
  border-radius: 6px 6px 0 0;
  transform: translateY(12px);
}
.sec-tab h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.sec-tab .tag {
  margin-left: auto;
  font: 700 11px/1 var(--font-mono);
  color: var(--faint);
  letter-spacing: .06em;
}

.backline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: clamp(18px, 2.6vw, 28px);
  transition: gap .22s var(--ease), color .2s var(--ease);
}
.backline::before { content: "←"; color: var(--blue); }
.backline:hover { color: var(--ink); gap: 12px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 17, 31, .42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal {
  position: relative;
  width: min(560px, 100%);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(24px, 4vw, 34px);
}
.modal h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -.015em;
}
.unlock-sub { margin: 0 0 20px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.unlock-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.unlock-free {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--file-line);
  font: 600 12.5px/1.6 var(--font-mono);
  color: var(--muted);
}
.unlock-free a { color: var(--blue-2); font-weight: 800; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 26px;
  line-height: 1;
  color: var(--faint);
  background: none;
  border: 0;
  cursor: pointer;
}
.modal-close:hover { color: var(--ink); }

.stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--acid);
  color: var(--ink);
  font: 800 11.5px/1 var(--font-mono);
  letter-spacing: .1em;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.stamp.red { background: var(--red); color: #fff; }
.stamp.plain { background: var(--white); }

.route-archive .archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: clamp(14px, 3vw, 36px) 0 clamp(26px, 4vw, 44px);
}
.route-archive .archive-head h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.4vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
  color: var(--ink);
}
.route-archive .archive-head .lead {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: clamp(.95rem, 1.4vw, 1.02rem);
  line-height: 1.75;
}
.route-archive .stat-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font: 600 12px/1.5 var(--font-mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.route-archive .stat-line span + span::before { content: "·"; margin-right: 20px; color: var(--blue); }
.archive-head-art {
  width: 216px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.archive-head-art picture {
  display: block;
  height: 128px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  background: #fff;
}
.archive-head-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.archive-head-art picture:last-child { transform: translateY(14px) rotate(1.6deg); }
.archive-head-art picture:first-child { transform: rotate(-1.4deg); }

.preview-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(20px, 3vw, 40px);
  align-items: center;
  margin: 4px 0 clamp(28px, 4vw, 42px);
  padding: clamp(26px, 3.4vw, 34px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 28px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink);
}
.preview-ribbon[hidden] { display: none; }
.preview-ribbon .pr-label {
  position: absolute;
  top: -15px;
  left: 20px;
  margin: 0;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--acid);
  font: 800 11.5px/1 var(--font-mono);
  letter-spacing: .12em;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.preview-ribbon p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); max-width: 66ch; }
.preview-ribbon strong { color: var(--ink); font-weight: 800; }
.preview-ribbon a:not(.btn) { color: var(--blue-2); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.filter-block {
  display: grid;
  gap: 12px;
  margin: 0 0 clamp(26px, 4vw, 40px);
  padding: 16px 0;
  border-top: 1px solid var(--file-line);
  border-bottom: 1px solid var(--file-line);
}
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-row .filter-label {
  min-width: 62px;
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.chip-btn {
  height: 32px;
  padding: 0 13px;
  border: 1.5px solid var(--file-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 700 12.5px/1 var(--font-sans);
  cursor: pointer;
  transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.chip-btn:hover { transform: translateY(-1px); border-color: var(--ink); color: var(--ink); }
.chip-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 rgba(7, 17, 31, .25);
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 14px;
  margin-bottom: clamp(30px, 4vw, 44px);
}
.uni-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 20px 22px;
  background: var(--white);
  border: 1.5px solid var(--file-line);
  border-radius: var(--r-sm);
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.uni-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.uni-card .crest {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 14px;
  font: 800 12px/1 var(--font-mono);
  color: var(--ink);
}
.uni-card.tier-g5 .crest { background: var(--blue); border-color: var(--blue-2); color: #fff; }
.uni-card.tier-russell .crest { background: var(--ink); color: var(--acid); }
.uni-card.tier-abroad .crest { border-style: dashed; }
.uni-head h3 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.3;
  color: var(--ink);
}
.uni-head .en {
  font: 500 10.5px/1.4 var(--font-mono);
  color: var(--faint);
  letter-spacing: .01em;
}
.uni-card .meta-line {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font: 600 10.5px/1.5 var(--font-mono);
  color: var(--muted);
}
.uni-card .meta-line .sep { color: var(--blue); }
.uni-card .pitch {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uni-card .status-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1.5px solid var(--file-line);
  border-radius: 999px;
  font: 800 10px/1 var(--font-mono);
  letter-spacing: .06em;
  color: var(--faint);
  background: var(--white);
}
.uni-card .status-chip.published { color: var(--blue-2); border-color: var(--blue); background: var(--blue-soft); }
.uni-card .status-chip.free { color: var(--ink); border-color: var(--ink); background: var(--acid); box-shadow: 2px 2px 0 var(--ink); }
.uni-card .status-chip.lock { color: var(--red); border-color: rgba(255, 79, 57, .5); }
.uni-card.locked { opacity: .62; border-style: dashed; }
.uni-card.locked:hover { opacity: 1; }

.uni-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink);
}
.uni-card.featured:hover { transform: translate(-2px, -2px); box-shadow: 11px 11px 0 var(--ink); }
.uni-plate {
  flex: 0 0 min(340px, 38%);
  min-height: 250px;
  display: block;
  background: var(--blue-soft);
  border-right: 2px solid var(--ink);
  overflow: hidden;
}
.uni-plate img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.uni-card.featured:hover .uni-plate img { transform: scale(1.03); }
.uni-card.featured .uni-body { flex: 1; padding: clamp(24px, 3vw, 34px); align-self: center; }
.uni-card.featured .uni-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.uni-card.featured .pitch { display: block; -webkit-line-clamp: unset; font-size: 14px; max-width: 46ch; margin-top: 12px; }
.uni-card.featured .status-chip { top: 20px; right: 20px; }
.uni-peek {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--file-line);
}
.uni-peek .pk { display: grid; gap: 3px; }
.uni-peek .pk dt {
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.uni-peek .pk dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue-2);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.uni-peek .pk dd small { font-size: 11px; font-weight: 600; color: var(--faint); margin-left: 2px; }

.empty-state {
  padding: 44px;
  text-align: center;
  border: 1.5px dashed var(--file-line);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 14px;
}

.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  border: 2.5px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--white);
}
.d-ink {
  background:
    linear-gradient(90deg, rgba(215, 255, 53, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(215, 255, 53, .05) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(32, 76, 255, .28), transparent 24rem),
    var(--file-ink);
  background-size: 30px 30px, 30px 30px, auto, auto;
  color: #fff;
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  align-content: center;
  gap: 14px;
}
.d-file {
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--acid);
}
.d-ink h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: #fff;
}
.d-en {
  font: 500 12.5px/1.5 var(--font-mono);
  color: var(--cyan);
  letter-spacing: .02em;
}
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.d-chips span {
  padding: 5px 11px;
  border: 1.5px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
}
.d-ranks {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 26px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.d-ranks .rk { display: grid; gap: 4px; }
.d-ranks .rk dt {
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.d-ranks .rk dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.d-ranks .rk.lead dd { font-size: 2.6rem; color: var(--acid); }
.d-ranks .rk dd small { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .55); margin-left: 4px; letter-spacing: 0; }
.d-plate {
  position: relative;
  min-height: 260px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 31, .05) 1px, transparent 1px),
    var(--paper);
  background-size: 30px 30px, 30px 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.d-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-plate .d-mono {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 150px);
  font-weight: 800;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
  opacity: .85;
  transform: rotate(-4deg);
}
.d-plate .stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  animation: stampIn .5s var(--ease) both;
}
@keyframes stampIn {
  from { transform: rotate(-2deg) scale(1.5); opacity: 0; }
  to { transform: rotate(-2deg) scale(1); opacity: 1; }
}

.verdict {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: min(92%, 780px);
  margin: -20px 0 0 clamp(18px, 3vw, 40px);
  padding: 14px 22px;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.1deg);
  font-family: var(--font-serif);
  font-size: clamp(15.5px, 1.8vw, 18.5px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.verdict::before { content: "「"; color: var(--blue-2); }
.verdict::after { content: "」"; color: var(--blue-2); }

.file-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: clamp(20px, 3vw, 28px) 0 clamp(24px, 3.4vw, 36px);
}
.src-chip {
  padding: 6px 12px;
  border: 1.5px solid var(--file-line);
  border-radius: 999px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .05em;
  color: var(--muted);
  background: var(--white);
}
.src-chip.first {
  border-color: var(--ink);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.quickboard {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 clamp(30px, 4.4vw, 46px);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(7, 17, 31, .16);
}
.quickboard .qb {
  flex: 1 1 140px;
  padding: 16px 20px 18px;
  display: grid;
  gap: 6px;
  border-left: 1.5px solid var(--file-line);
}
.quickboard .qb:first-child { border-left: 0; }
.quickboard .qb dt {
  font: 700 10px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quickboard .qb dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.quickboard .qb dd small { font-size: 12px; font-weight: 600; color: var(--faint); margin-left: 3px; letter-spacing: 0; }
.quickboard .qb.hot { background: var(--file-ink); }
.quickboard .qb.hot dt { color: rgba(255, 255, 255, .6); }
.quickboard .qb.hot dd { color: var(--acid); }

.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}
.u-main { min-width: 0; }
.u-sec { padding: clamp(26px, 3.4vw, 40px) 0 clamp(10px, 2vw, 16px); scroll-margin-top: 90px; }
.u-sec:first-child { padding-top: 0; }
.sec-hint { margin: -8px 0 18px; font-size: 13.5px; line-height: 1.65; color: var(--muted); max-width: 60ch; }

.reading p {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 1.1em;
  max-width: 62ch;
}
.reading p:last-child { margin-bottom: 0; }
.reading p:first-of-type::first-letter {
  float: left;
  margin: 7px 12px 0 0;
  padding: 2px 10px 4px;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 2.2em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.rl-rows { display: grid; border-top: 3px solid var(--ink); }
.rl-row {
  display: grid;
  grid-template-columns: 8.6em minmax(0, 1fr) 9.4em;
  grid-template-areas: "route scale need" ". note note";
  gap: 6px clamp(14px, 2vw, 28px);
  align-items: center;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--file-line);
}
.rl-route {
  grid-area: route;
  font: 700 11px/1.4 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.rl-scale { grid-area: scale; }
.rl-axis { position: relative; height: 24px; }
.rl-axis::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); border-radius: 2px; }
.rl-band {
  position: absolute;
  bottom: 3px;
  height: 15px;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(7, 17, 31, .25);
}
.rl-tick { position: absolute; bottom: 0; width: 2px; height: 9px; background: var(--ink); }
.rl-tick:last-of-type { transform: translateX(-2px); }
.rl-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font: 600 10.5px/1 var(--font-mono);
  color: var(--muted);
}
.rl-need {
  grid-area: need;
  text-align: right;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--blue-2);
  font-variant-numeric: tabular-nums;
}
.rl-note { grid-area: note; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.rl-note:empty { display: none; }
@media (max-width: 640px) {
  .rl-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "route need" "scale scale" "note note";
    gap: 8px 12px;
  }
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.lab {
  padding: 20px 22px;
  border: 1.5px solid var(--file-line);
  border-radius: var(--r-sm);
  background: var(--white);
}
.lab .lab-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font: 800 10.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.lab .lab-h .sub { font-weight: 500; color: var(--faint); letter-spacing: .05em; }
.radar-svg { display: block; width: 100%; height: auto; }
.radar-svg .ring { fill: none; stroke: rgba(7, 17, 31, .12); stroke-width: 1; }
.radar-svg .axis { stroke: rgba(7, 17, 31, .16); stroke-width: 1; }
.radar-svg .shape { fill: rgba(32, 76, 255, .16); stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.radar-svg .dot { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.radar-svg text { font: 700 9.5px var(--font-mono); fill: var(--ink-2); }
.waffle-wrap { display: flex; align-items: center; gap: 18px; }
.waffle-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.waffle-num small { font-size: 16px; margin-left: 2px; color: var(--muted); }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2.5px; flex: 1; min-width: 110px; }
.waffle i { aspect-ratio: 1; border-radius: 1.5px; background: rgba(7, 17, 31, .09); }
.waffle i.on { background: var(--blue); }
.lab-note { margin: 14px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.scale-big {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.scale-big small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.split-bar {
  display: flex;
  height: 16px;
  margin: 14px 0 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.split-bar .ug { background: var(--blue); }
.split-bar .pg { background: var(--cyan); }
.split-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font: 600 11px/1.6 var(--font-mono);
  color: var(--ink-2);
}
.split-key i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  vertical-align: baseline;
}
.split-key i.ug { background: var(--blue); }
.split-key i.pg { background: var(--cyan); }

.fee-group { display: grid; gap: 26px; }
.fee-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 9px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  font: 800 11px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.fee-cap .unit { font-weight: 500; color: var(--faint); letter-spacing: .04em; }
.fee-rows { display: grid; gap: 12px; }
.fee-row {
  display: grid;
  grid-template-columns: 11.5em minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.fee-label { font-size: 13.5px; color: var(--ink-2); }
.fee-track { position: relative; height: 18px; }
.fee-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(7, 17, 31, .14); border-radius: 2px; }
.fee-bar {
  position: absolute;
  left: 0;
  top: 50%;
  height: 5px;
  margin-top: -2.5px;
  background: var(--blue);
  border-radius: 3px;
}
.fee-dot {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  background: var(--acid);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}
.tc-band {
  position: absolute;
  top: 50%;
  height: 11px;
  margin-top: -5.5px;
  background: var(--blue);
  border-radius: 999px;
}
.tc-band::before,
.tc-band::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 3px;
  background: var(--ink);
  border-radius: 2px;
}
.tc-band::before { left: -1px; }
.tc-band::after { right: -1px; }
.fee-val {
  font: 800 12.5px/1 var(--font-mono);
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fee-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-left: calc(11.5em + 12px);
  font: 600 10px/1 var(--font-mono);
  color: var(--faint);
}
.fee-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
@media (max-width: 600px) {
  .fee-row { grid-template-columns: 1fr auto; }
  .fee-row .fee-track { grid-column: 1 / -1; order: 3; }
  .fee-axis { padding-left: 0; }
}

.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.board {
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.board .bd-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  font: 800 13px/1 var(--font-sans);
  letter-spacing: .04em;
}
.board.warn .bd-head { background: var(--red); color: #fff; }
.board.safe .bd-head { background: var(--file-ink); color: var(--acid); }
.board ul { list-style: none; margin: 0; padding: 8px 18px 16px; }
.board li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--file-line-2);
}
.board li:last-child { border-bottom: 0; }
.board li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 2px solid var(--ink);
}
.board.warn li::before { background: var(--red); border-color: var(--red); }
.board.safe li::before { background: var(--acid); }
@media (max-width: 820px) { .boards { grid-template-columns: 1fr; } }

.dc-list {
  list-style: none;
  counter-reset: dc;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--ink);
}
.dc-list li {
  counter-increment: dc;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "t w" "d d";
  gap: 4px 14px;
  padding: 0 0 22px 14px;
}
.dc-list li:last-child { padding-bottom: 4px; }
.dc-list li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 11px;
  height: 11px;
  background: var(--acid);
  border: 2.5px solid var(--ink);
  transform: rotate(45deg);
}
.dc-t { grid-area: t; font-size: 15px; font-weight: 800; color: var(--ink); }
.dc-t::before {
  content: counter(dc, decimal-leading-zero) " ";
  font: 800 11px/1 var(--font-mono);
  color: var(--blue);
  margin-right: 6px;
}
.dc-w {
  grid-area: w;
  align-self: start;
  padding: 4px 10px;
  border: 1.5px solid var(--file-line);
  border-radius: 999px;
  font: 700 10.5px/1 var(--font-mono);
  color: var(--muted);
  white-space: nowrap;
}
.dc-d { grid-area: d; font-size: 13px; line-height: 1.68; color: var(--ink-2); max-width: 60ch; }
.dc-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  background: var(--acid-soft);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xs);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.fact-grid {
  display: grid;
  gap: 14px 26px;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.fact-grid > div { display: grid; gap: 4px; }
.fact-grid dt {
  font: 700 10px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.fact-grid dd { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); }

.peer-list { list-style: none; margin: 0; padding: 0; display: grid; }
.peer-list li {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--file-line-2);
  font-size: 13.5px;
  line-height: 1.65;
}
.peer-list li:last-child { border-bottom: 0; }
.peer-list b { color: var(--ink); font-weight: 800; }
.peer-list span { color: var(--ink-2); }
@media (max-width: 560px) { .peer-list li { grid-template-columns: 1fr; gap: 2px; } }

.src-note {
  margin-top: clamp(26px, 3.4vw, 38px);
  padding-top: 16px;
  border-top: 1px solid var(--file-line);
  font: 500 11.5px/1.8 var(--font-mono);
  color: var(--muted);
}
.src-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.src-note a:hover { color: var(--blue); }
.src-note .disclaimer { margin: 8px 0 0; font-family: var(--font-sans); font-size: 12px; line-height: 1.7; }

.sidebar { position: sticky; top: 88px; display: grid; gap: 16px; }
.factbox,
.toc {
  padding: 20px 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 5px 5px 0 rgba(7, 17, 31, .14);
}
.factbox h4,
.toc h4 {
  margin: 0 0 12px;
  font: 800 10.5px/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.factbox .fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--file-line-2);
  font-size: 13.5px;
}
.factbox .fact:last-of-type { border-bottom: 0; }
.factbox .fact .k {
  font: 700 10.5px/1.6 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
}
.factbox .fact .v { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; }
.strength-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--file-line-2); }
.strength-tags .chip {
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--acid-soft);
  font: 700 11px/1.5 var(--font-sans);
  color: var(--ink);
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; display: flex; gap: 9px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--file-line-2); }
.toc li:last-child { border-bottom: 0; }
.toc li::before {
  content: counter(t, decimal-leading-zero);
  font: 800 10px/1 var(--font-mono);
  color: var(--blue);
}
.toc a { font-size: 13.5px; color: var(--ink-2); transition: color .18s var(--ease); }
.toc a:hover { color: var(--blue); }

.draft-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 28px);
  padding: 15px 18px;
  background: var(--acid-soft);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xs);
}
.draft-banner .icon { font: 800 17px/1.2 var(--font-mono); color: var(--blue-2); }
.draft-banner p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.draft-banner strong { color: var(--ink); }
.placeholder {
  padding: 14px 16px;
  border: 1.5px dashed var(--file-line);
  border-radius: var(--r-xs);
  background: var(--white);
  font: 500 12.5px/1.7 var(--font-mono);
  color: var(--muted);
}
.placeholder em { font-style: normal; font-weight: 800; color: var(--ink); }
.sec-intro { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }

.related { margin-top: clamp(40px, 6vw, 60px); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.related-card {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  background: var(--white);
  border: 1.5px solid var(--file-line);
  border-radius: var(--r-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.related-card:hover { transform: translate(-2px, -2px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.related-card .meta { font: 700 10.5px/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.related-card .name { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }

.lock-panel,
.guest-cta {
  position: relative;
  margin: clamp(26px, 4vw, 40px) 0;
  padding: clamp(26px, 4vw, 38px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 9px 9px 0 var(--ink);
}
.lock-panel { max-width: 760px; }
.lock-panel .stamp { position: absolute; top: -16px; left: 22px; }
.lock-panel h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.lock-panel > p { margin: 0 0 22px; font-size: 15px; line-height: 1.75; color: var(--ink-2); max-width: 58ch; }
.lock-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lock-free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--file-line);
  font: 600 12.5px/1.6 var(--font-mono);
  color: var(--muted);
}
.lock-free a { color: var(--blue-2); font-weight: 800; }
.guest-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px clamp(20px, 4vw, 44px);
  align-items: center;
}
.guest-cta h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--ink); }
.guest-cta p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 56ch; }
.guest-cta strong { color: var(--ink); }

.notfound { text-align: center; padding: clamp(60px, 10vw, 120px) 20px; }
.notfound h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.notfound p { margin: 0 0 28px; font: 500 14px/1.6 var(--font-mono); color: var(--muted); }

@media (max-width: 900px) {
  .body-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .dossier { grid-template-columns: 1fr; }
  .d-plate { min-height: 210px; border-top: 2px solid var(--ink); }
}
@media (max-width: 820px) {
  .route-archive .archive-head { grid-template-columns: 1fr; align-items: start; }
  .archive-head-art { order: -1; width: 172px; }
  .archive-head-art picture { height: 100px; }
  .preview-ribbon { grid-template-columns: 1fr; }
  .uni-card.featured { flex-direction: column; }
  .uni-plate { flex-basis: auto; width: 100%; border-right: 0; border-bottom: 2px solid var(--ink); }
  .uni-plate img { min-height: 190px; height: 190px; }
}
@media (max-width: 560px) {
  .uni-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .uni-card { padding: 14px 14px 16px; }
  .uni-card .pitch { display: none; }
  .uni-card .status-chip { top: 12px; right: 12px; }
  .pr-actions { display: grid; grid-template-columns: 1fr; }
  .verdict { margin-left: 12px; max-width: calc(100% - 24px); }
  .guest-cta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .uni-card,
  .uni-plate img,
  .related-card,
  .chip-btn,
  .backline { transition: none !important; }
  .d-plate .stamp { animation: none !important; }
}
