.pal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4,43,89,0.35);
  animation: fvFade .2s ease both;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12vh;
}
.pal {
  animation: fvPop .32s cubic-bezier(.2,.9,.3,1.15) both;
  transform-origin: 50% 0;
  width: min(640px,92vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(4,43,89,0.22);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}
.pal-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.pal-input input {
  flex: 1;
  height: 50px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.pal-slash {
  font: 500 14px 'Geist Mono',monospace;
  color: var(--muted);
}
.pal-kbd {
  font: 500 12px 'Geist Mono',monospace;
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--muted);
}
.pal-body {
  overflow-y: auto;
  padding: 6px 0;
}
.pal-group {
  padding: 10px 8px;
}
.pal-group-title {
  padding: 6px 12px 8px;
}
.pal-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.pal-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.watermark {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
  line-height: 0.78;
  height: clamp(64px,13vw,170px);
  overflow: hidden;
}
.watermark-inner {
  position: relative;
  width: fit-content;
  --r: 0px;
  --mx: 50%;
  --my: 50%;
}
.wm-outline, .wm-fill {
  display: block;
  font-size: clamp(80px,16.2vw,214px);
  font-weight: 700;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.wm-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,244,255,0.28);
}
.wm-fill {
  position: absolute;
  left: 0;
  top: 0;
  color: #54C5F8;
  -webkit-text-stroke: 1px #54C5F8;
  clip-path: circle(var(--r) at var(--mx) var(--my));
  transition: clip-path .35s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
html[data-intro-seen] .intro {
  display: none;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  cursor: pointer;
  overflow: hidden;
  clip-path: circle(150vmax at 50% 44%);
}
.intro.out {
  animation: fvOut .7s cubic-bezier(.7,0,.25,1) forwards;
}
.intro-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro-stars span {
  position: absolute;
  border-radius: 50%;
  background: var(--ink);
  opacity: .12;
}
.intro-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
}
.intro.out .intro-body {
  animation: fvShrink .5s ease-in forwards;
}
.intro-float {
  animation: fvFloat 3.2s ease-in-out 2s infinite;
}
.intro-word {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  overflow: hidden;
  padding: 2px 0 4px;
}
.intro-word span {
  display: inline-block;
  opacity: 0;
}
.intro-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fvFade .4s ease .6s forwards;
}
.intro-ticker {
  height: 1.6em;
  overflow: hidden;
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6em;
}
.intro-ticker > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fvTick 2.2s ease-in-out .6s forwards;
}
.intro-track {
  width: 168px;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.intro-track > div {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: fvBar 2.2s cubic-bezier(.4,0,.2,1) .3s forwards;
}
.intro-skip {
  position: absolute;
  bottom: 28px;
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
  opacity: 0;
  animation: fvFade .4s ease 1.6s forwards;
}
.lamp {
  cursor: pointer;
  position: relative;
  width: 56px;
  height: 64px;
  flex-shrink: 0;
  margin-left: 4px;
  z-index: 1;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
.lamp-cord {
  position: absolute;
  left: 27px;
  top: -1px;
  width: 2px;
  height: 12px;
  background: var(--ink);
}
.lamp-shade {
  position: absolute;
  left: 8px;
  top: 10px;
  display: block;
  fill: var(--ink);
}
.lamp-bulb {
  position: absolute;
  left: 20px;
  top: 32px;
  width: 16px;
  height: 9px;
  border-radius: 0 0 16px 16px;
  background: var(--line);
  transition: background .25s, box-shadow .35s;
}
:root[data-theme="dark"] .lamp-bulb {
  background: #FFD966;
  box-shadow: 0 0 6px 2px rgba(255,236,170,0.95), 0 0 18px 8px rgba(255,217,102,0.7), 0 8px 60px 26px rgba(255,200,80,0.35);
}
.lamp-cone {
  position: absolute;
  left: -102px;
  top: 26px;
  filter: blur(6px);
  width: 260px;
  height: 360px;
  pointer-events: none;
  z-index: -1;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255,214,110,0.28), rgba(255,214,110,0.08) 55%, rgba(255,214,110,0) 80%);
  opacity: 0;
  transition: opacity .4s ease;
}
:root[data-theme="dark"] .lamp-cone {
  opacity: 1;
}
.lamp-rope {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
}
.lamp-rope path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}
.lamp-rope path.lamp-rope-hit {
  stroke: transparent;
  stroke-width: 14;
  pointer-events: stroke;
  cursor: grab;
  touch-action: none;
}
.lamp-bead {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  cursor: grab;
  touch-action: none;
  outline: none;
}
.lamp-bead:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pal-item {
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 2px;
  cursor: pointer;
  color: var(--ink);
}
.pal-item.on {
  background: var(--surface2);
}
.pal-item:hover {
  color: var(--ink);
}
.pal-tile {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: var(--surface2);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 11px 'Geist Mono',monospace;
  flex-shrink: 0;
}
.pal-label {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pal-meta {
  font: 500 12px 'Geist Mono',monospace;
  color: var(--muted);
  white-space: nowrap;
}
.pal-try {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pal-try-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pal-try-list button {
  font-size: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.pal-try-list button:hover {
  border-color: var(--ink);
}
.site-footer {
  background: var(--foot-bg);
  color: #E8F4FF;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
}
.foot-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
  flex: 1 1 320px;
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-logo span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.foot-tagline {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3,minmax(140px,auto));
  gap: 40px 56px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-head {
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7F9BBE;
}
.foot-col a, .foot-col button {
  font-size: 15px;
  color: #E8F4FF;
  cursor: pointer;
  width: fit-content;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.foot-col a:hover, .foot-col button:hover, .to-top:hover, .made-with a:hover {
  color: #54C5F8;
}
.foot-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(232,244,255,0.12);
  border-bottom: 1px solid rgba(232,244,255,0.12);
}
.foot-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.foot-stat b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #E8F4FF;
}
.foot-stat span {
  font-size: 13px;
  color: #9AB3CF;
}
.site-footer .spacer {
  flex: 1;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  font-size: 13px;
  color: #9AB3CF;
}
.to-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E8F4FF;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
}
.made-with {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #9AB3CF;
}
.made-with a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E8F4FF;
  text-decoration: underline dashed;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232,244,255,0.5);
}
.made-with img {
  display: block;
  border-radius: 3px;
}
@media (max-width: 639px) {
  .foot-wrap {
    padding: 56px 16px 0;
  }
  .foot-cols {
    grid-template-columns: repeat(2,minmax(120px,auto));
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.bar-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 12px;
}
.bar-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}
.search-trigger {
  width: 40px;
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
}
.search-trigger:hover, .icon-btn:hover {
  border-color: var(--ink);
}
.search-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}
.search-kbd {
  font: 500 12px 'Geist Mono',monospace;
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 2px;
  display: none;
}
@media (min-width: 1120px) {
  .search-trigger {
    width: 180px;
  }
  .search-text {
    display: block;
  }
  .search-kbd {
    display: inline;
  }
}
@media (min-width: 1260px) {
  .search-trigger {
    width: 240px;
  }
}
.icon-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
}
@media (max-width: 719px) {
  .site-header .bar {
    padding: 0 16px;
    gap: 12px;
  }
  .bar-divider {
    display: none;
  }
  .brand span {
    display: none;
  }
}
.site-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right,#000 calc(100% - 28px),transparent);
  mask-image: linear-gradient(to right,#000 calc(100% - 28px),transparent);
  padding-right: 28px;
}
.site-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 500 14px 'Geist',sans-serif;
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a.on {
  color: var(--ink);
  background: var(--surface2);
}
.combo {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
}
.combo.open {
  border-color: var(--ink);
}
.combo input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px 0 14px;
  font-size: 15px;
  outline: none;
}
.combo-toggle {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
}
.combo-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(4,43,89,0.14);
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 0;
}
.combo-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}
.combo-opt.on {
  background: var(--surface2);
}
.combo-opt.create {
  justify-content: flex-start;
}
.combo-opt.sep {
  border-top: 1px solid var(--line);
}
.combo-opt b {
  font-weight: 600;
}
.combo-meta {
  font-size: 12px;
  color: var(--muted);
}
.combo-plus {
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
}
.combo-none {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}
.combo-picked {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.combo-picked .pill {
  padding: 3px 9px;
  font: 500 12px 'Geist Mono',monospace;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4,43,89,0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  animation: fvFade .2s ease both;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(4,43,89,0.22);
  display: flex;
  flex-direction: column;
  animation: fvPop .3s cubic-bezier(.2,.9,.3,1.15) both;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 0;
}
.modal-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-title b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.modal-title span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.modal-x {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.modal-btn {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.modal-btn.go {
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
}
.modal-btn.go:disabled, .modal-btn.go.off {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field-label {
  font-size: 13px;
  font-weight: 500;
}
.field-label i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.field-box {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}
.field-box:focus-within {
  border-color: var(--ink);
}
.field-prefix {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10px 0 14px;
  font: 400 15px 'Geist Mono',monospace;
  color: var(--muted);
  background: var(--bg);
  border-right: 1px solid var(--line);
  user-select: none;
}
.field-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
  font: 400 15px 'Geist Mono',monospace;
  outline: none;
}
.field textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  padding: 12px 14px;
  font: 400 15px/1.5 'Geist',sans-serif;
  outline: none;
  resize: vertical;
  width: 100%;
}
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
}
.field-hint.bad {
  color: var(--neg);
}
.done {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.done-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
}
.done b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.done span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 380px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mini-row:hover {
  color: var(--ink);
}
.mini-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mini-name {
  font-size: 14px;
  font-weight: 600;
}
.mini-sub {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-val {
  font: 500 13px 'Geist Mono',monospace;
  color: var(--pos);
  white-space: nowrap;
}
.pcard {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
}
.pcard:hover {
  color: var(--ink);
}
.pcard-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pcard-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pcard-id b {
  font-size: 15px;
  font-weight: 600;
}
.pcard-id span {
  font-size: 13px;
  color: var(--muted);
}
.pcard-signal {
  font: 600 13px 'Geist Mono',monospace;
  color: var(--pos);
}
.pcard-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.pcard-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  font: 400 13px 'Geist Mono',monospace;
  color: var(--muted);
}
.pcard-facts b {
  color: var(--ink);
}
.ptable {
  overflow-x: auto;
}
.ptable-inner {
  min-width: 960px;
}
.ptable-head, .ptable-row {
  display: grid;
  grid-template-columns: 56px minmax(280px,2.4fr) minmax(120px,1fr) minmax(90px,0.8fr) minmax(90px,0.8fr) minmax(120px,1fr) 120px;
  gap: 0 24px;
  align-items: center;
  padding: 12px 24px;
}
.ptable-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ptable-head .r {
  text-align: right;
}
.ptable-row {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.ptable-row:hover {
  color: var(--ink);
}
.pt-rank {
  font: 500 14px 'Geist Mono',monospace;
  color: var(--muted);
}
.pt-project {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.pt-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}
.pt-title {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pt-name {
  font-size: 15px;
  font-weight: 600;
}
.pt-owner {
  font-size: 13px;
  color: var(--muted);
}
.pt-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pt-signal {
  font: 500 13px 'Geist Mono',monospace;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--pos);
  white-space: nowrap;
}
.pt-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.pt-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.pt-value .icon {
  color: var(--muted);
}
.pt-repo {
  font-size: 11px;
  color: var(--muted);
}
.pt-mom {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-mom b {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  width: 28px;
}
.pt-trend {
  display: flex;
  justify-content: flex-end;
}
.pcards {
  display: none;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 819px) {
  .ptable {
    display: none;
  }
  .pcards {
    display: flex;
  }
}
.table-legend {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.meter {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(10,minmax(0,1fr));
}
.meter > span {
  background: var(--surface2);
}
.meter > span.on {
  background: var(--accent);
}
.mono-num {
  font: 500 13px 'Geist Mono',monospace;
}
.pips {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.pip-star {
  display: block;
}
.pip-star path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.pip-star.on path {
  fill: var(--accent);
  stroke: none;
}
.pip-bar {
  width: 4px;
  border-radius: 1px;
  background: var(--line);
}
.pip-bar.on {
  background: var(--accent);
}
.trend-row {
  display: grid;
  grid-template-columns: 26px 40px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.trend-row:hover {
  color: var(--ink);
}
.trend-rank {
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
  padding-top: 8px;
}
.trend-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.trend-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trend-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trend-owner {
  font-size: 13px;
  color: var(--muted);
}
.trend-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}
.trend-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.trend-stars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  min-width: 96px;
}
.trend-stars-label {
  font-size: 12px;
  color: var(--muted);
}
.trend-stars-value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 639px) {
  .trend-row {
    grid-template-columns: 20px 40px minmax(0,1fr);
    padding: 16px;
  }
  .trend-stats {
    grid-column: 3;
  }
}
svg.icon {
  display: block;
  flex-shrink: 0;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px 0 4px;
}
.pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: 500 13px 'Geist Mono',monospace;
  cursor: pointer;
}
.pager button:hover:not(:disabled) {
  border-color: var(--ink);
}
.pager button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.pager button:disabled {
  opacity: .4;
  cursor: default;
}
.pager-gap {
  min-width: 24px;
  text-align: center;
  color: var(--muted);
}
.logo {
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.chip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-count {
  opacity: 0.6;
  font-family: 'Geist Mono',monospace;
  font-size: 12px;
}
svg.spark {
  display: block;
  flex-shrink: 0;
}
.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.spark-area {
  fill: var(--accent);
  opacity: 0.1;
}
.about {
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding-top: 24px;
}
.about-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
}
.about-hero h1 {
  font-size: clamp(40px,6vw,72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}
.about-hero p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}
.about-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-problems {
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}
.about-problem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}
.about-num {
  font: 600 13px 'Geist Mono',monospace;
  color: var(--accent);
}
.about-h {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.about-p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .about-pillars {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
.about-pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  color: var(--ink);
}
.about-pillar:hover {
  color: var(--ink);
}
.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-pillar-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-pillar-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.about-pillar-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about-cta {
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
}
.about-split {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 48px;
  align-items: start;
}
.about-sources {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-big {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-chips .pill {
  font: 500 13px 'Geist Mono',monospace;
  padding: 6px 12px;
}
.about-principles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}
.about-principle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-principle > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-principle-icon {
  color: var(--accent);
  padding-top: 2px;
}
.about-principle-title {
  font-size: 16px;
  font-weight: 600;
}
.about-principle-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.about-cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  border-radius: 2px;
  background: var(--accent-soft);
}
.about-cta-band > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}
.about-cta-band .muted {
  font-size: 15px;
}
.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-cta-buttons .btn {
  padding: 0 18px;
}
.chart-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}
.chart-headline b {
  font: 500 28px 'Geist',sans-serif;
  letter-spacing: -0.02em;
}
.chart-headline span {
  font-size: 13px;
  color: var(--muted);
}
.chart-plot {
  position: relative;
  height: 300px;
  margin: 28px 0 0 0;
}
.chart-plot svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  animation: fvFade .4s ease both;
}
.chart-grid-label {
  position: absolute;
  left: 0;
  transform: translateY(-120%);
  font: 400 11px 'Geist Mono',monospace;
  color: var(--muted);
  pointer-events: none;
}
.chart-gridline {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.chart-mark-line {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--line);
  pointer-events: none;
}
.chart-mark-label {
  position: absolute;
  top: -24px;
  font: 500 11px 'Geist Mono',monospace;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}
.chart-end-dot {
  position: absolute;
  left: 100%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 16px 2px color-mix(in srgb, var(--accent) 33%, transparent);
  pointer-events: none;
}
.chart-end-label {
  position: absolute;
  right: 0;
  transform: translate(-12px, 70%);
  font: 600 12px 'Geist Mono',monospace;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--bg);
  pointer-events: none;
  white-space: nowrap;
}
.chart-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--accent);
  opacity: 0.5;
  pointer-events: none;
}
.chart-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--surface);
  border: 3px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.chart-tip {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(4,43,89,0.12);
}
.chart-tip span {
  font-size: 12px;
  color: var(--muted);
}
.chart-tip b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chart-x {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.crumbs {
  font: 400 13px 'Geist Mono',monospace;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.crumbs a:hover {
  color: var(--ink);
}
.crumb-here {
  color: var(--ink);
}
.detail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.detail-id {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 480px;
}
.detail-id-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.detail-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-version {
  font: 500 14px 'Geist Mono',monospace;
  color: var(--muted);
}
.detail-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
}
.detail-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.detail-cat {
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.detail-cat:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-link {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}
.pub-favicon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  background: url(https://pub.dev/favicon.ico) center/contain no-repeat;
}
.detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.detail-main {
  flex: 1 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-aside {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.platforms {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.platforms > span {
  font-size: 15px;
  font-weight: 600;
}
.platforms > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.platforms .pill {
  padding: 4px 10px;
}
.detail-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-section h2 {
  font-size: 18px;
  font-weight: 600;
}
.detail-section-note {
  font-size: 13px;
  color: var(--muted);
}
.timeline {
  border-top: 1px solid var(--line);
}
.tl-year {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tl-year-label {
  font: 600 15px 'Geist Mono',monospace;
}
.tl-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-event {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}
.tl-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.tl-dot.calc {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
  border-radius: 0;
}
.tl-label {
  flex: 1;
}
.tl-date {
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.kpis {
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
}
.kpi {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-big {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kpi-spark {
  margin-top: auto;
}
.gain-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 56px;
  gap: 12px;
  align-items: center;
}
.gain-row > span:first-child {
  font-size: 13px;
  color: var(--muted);
}
.gain-row > b {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.track {
  height: 8px;
  background: var(--surface2);
  border-radius: 999px;
  overflow: hidden;
}
.track > div {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.verdict {
  display: flex;
  align-items: center;
  gap: 5px;
  font: 500 12px 'Geist Mono',monospace;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--ink);
}
.verdict.hot {
  background: var(--hot-bg);
  color: var(--hot-ink);
}
.kpi-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.kpi-score span {
  font-size: 15px;
  color: var(--muted);
}
.kpi-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.kpi-pair {
  display: grid;
  grid-template-columns: repeat(2,max-content);
  justify-content: space-between;
  gap: 16px;
}
.kpi-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-fact > span {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.kpi-fact > b {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.kpi-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.kpi-line span {
  color: var(--muted);
}
.kpi-line b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kpi-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.kpi-list > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
}
.kpi-list > div + div {
  border-top: 1px solid var(--line);
}
.kpi-list span {
  color: var(--muted);
}
.kpi-list b {
  font-weight: 500;
}
.related {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 8px;
}
.related-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}
.related-card:hover {
  color: var(--ink);
}
.related-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.related-name {
  font-size: 14px;
  font-weight: 600;
}
.related-sub {
  font-size: 13px;
  color: var(--muted);
}
.src {
  display: flex;
  flex-direction: column;
}
.src-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.src-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.src-title > span:first-child {
  font-size: 15px;
  font-weight: 600;
}
.src-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.src-mark {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.src-mark.gh {
  background: var(--ink);
  color: var(--bg);
}
.src-mark.pub {
  border: 1px solid var(--line);
  background: #fff url(https://pub.dev/favicon.ico) center/20px no-repeat;
}
.src-note {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.src-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.src-tile {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.src-tile:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.src-tile:nth-child(-n+2) {
  border-bottom: 1px solid var(--line);
}
.src-tile-k {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.src-tile-k span {
  font-size: 12px;
}
.src-tile-v {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.src-rows {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}
.src-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 14px;
}
.src-row-icon {
  color: var(--muted);
  display: flex;
}
.src-row-k {
  color: var(--muted);
  flex: 1;
}
.src-row-v {
  font-weight: 500;
  text-align: right;
}
.src-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.src-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.src-cta {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.src-cta a {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}
.src-cta a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chart-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.chart-head .chip-tabs {
  gap: 6px;
}
.chart-head .spacer {
  flex: 1;
}
.chart-body {
  padding: 24px 16px 12px;
}
.chart-empty {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed var(--line);
  text-align: center;
  padding: 0 24px;
}
.chart-empty b {
  font-size: 15px;
  font-weight: 600;
}
.chart-empty span {
  font-size: 14px;
  color: var(--muted);
}
.cat-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--ink);
}
.cat-card:hover {
  color: var(--ink);
}
.cat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cat-card-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cat-card-title > span:first-child {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cat-card-title .muted {
  font-size: 13px;
}
.cat-arrow {
  font-size: 18px;
  color: var(--muted);
}
.cat-card-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat-logos {
  display: flex;
}
.cat-leader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.cat-leader b {
  font-weight: 600;
}
.cat-none {
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.category {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.category-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.category-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  width: fit-content;
}
.category-back:hover {
  color: var(--ink);
}
.category-title {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.category-title .btn.ink:hover {
  color: var(--bg);
}
.category-stats {
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
}
.category-stat {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.category-stat-v {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.category-related {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-cat {
  font: 500 13px 'Geist Mono',monospace;
  padding: 6px 12px;
}
.related-cat:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.cat-tabs-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.cat-tabs-head > span {
  font-size: 13px;
  color: var(--muted);
}
.cat-row {
  display: grid;
  grid-template-columns: 26px 40px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.cat-row:hover {
  color: var(--ink);
}
.cat-row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cat-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-row-title > span:first-child {
  font-size: 16px;
  font-weight: 600;
}
.cat-row-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-row-val {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 96px;
}
.cat-row-val > span {
  font-size: 12px;
  color: var(--muted);
}
.cat-row-val > b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cat-rows-none {
  padding: 32px 24px;
  font-size: 14px;
  color: var(--muted);
}
.explore {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.explore-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.explore-head > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 16px;
}
.dev-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  cursor: default;
}
.dev-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dev-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.dev-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
}
.dev-cat {
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.dev-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.dev-name > span:first-child {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.dev-handle {
  font: 400 14px 'Geist Mono',monospace;
  color: var(--muted);
}
.dev-tagline {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.dev-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.dev-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.dev-stat b {
  color: var(--ink);
  font-weight: 600;
}
.dev-pinned {
  margin: 0 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
}
.dev-pin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
.dev-pin:hover {
  color: var(--ink);
}
.dev-pin + .dev-pin {
  border-top: 1px solid var(--line);
}
.dev-pin-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.dev-pin-name {
  font-size: 14px;
  font-weight: 600;
}
.dev-pin-desc {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dev-pin-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  font: 500 12px 'Geist Mono',monospace;
  color: var(--muted);
  white-space: nowrap;
}
.dev-cta {
  padding: 20px 24px 24px;
  margin-top: auto;
}
.dev-cta a {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.dev-cta a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.hof {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hof-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.hof-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}
.hof-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hof-section-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 240px;
}
.hof-section-head .muted {
  font-size: 14px;
}
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(340px,1fr));
  gap: 16px;
}
.inductees {
  grid-template-columns: repeat(auto-fill,minmax(408px,1fr));
}
@media (max-width: 639px) {
  .dev-grid, .inductees {
    grid-template-columns: 1fr;
  }
}
.inductee {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inductee-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.inductee-kind {
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.inductee-id {
  display: flex;
  gap: 12px;
  align-items: center;
}
.inductee-name {
  display: flex;
  flex-direction: column;
}
.inductee-name > span:first-child {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.inductee-name .muted {
  font-size: 13px;
}
.inductee-reason {
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.inductee-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}
.inductee-stat {
  font: 400 13px 'Geist Mono',monospace;
  color: var(--muted);
}
.hof-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hof-preview-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hof-preview-head h2 {
  flex: 1;
}
.hof-preview-grid {
  grid-template-columns: repeat(auto-fill,minmax(312px,1fr));
}
.hof-cell {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
}
.hof-cell:hover {
  color: var(--ink);
}
.hof-cell-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hof-cell-reason {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
  font: 400 14px 'Geist',sans-serif;
}
.home-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.home-hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}
.home-hero h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-search {
  flex: 1 1 320px;
  max-width: 460px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  cursor: text;
  color: var(--muted);
  font-size: 15px;
  text-align: left;
}
.hero-search:hover {
  border-color: var(--ink);
}
.hero-slash {
  font: 500 14px 'Geist Mono',monospace;
}
.hero-placeholder {
  flex: 1;
}
.hero-kbd {
  font: 500 12px 'Geist Mono',monospace;
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
}
@media (max-width: 639px) {
  .home-hero h1 {
    font-size: 34px;
  }
}
.home {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.home-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.home-side {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.side-head span {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}
.side-empty {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.side-more {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.side-more:hover {
  color: var(--ink);
}
.trending {
  flex: 1 1 640px;
  min-width: 0;
}
.trending h2 {
  font-size: 16px;
  font-weight: 600;
}
.trending .spacer {
  flex: 1;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 12px 'Geist Mono',monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sort-label select {
  height: 32px;
  font: 400 14px 'Geist',sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.trending-more {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.trending-more:hover {
  background: var(--surface2);
  color: var(--ink);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
}
.active-chip {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.list-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.list-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.list-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 240px;
}
.list-count {
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
}
.owner-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.owner-filter button {
  font: 500 13px 'Geist Mono',monospace;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  cursor: pointer;
  border: 0;
}
.list-foot {
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
}
.list-foot span {
  font-size: 13px;
  color: var(--muted);
}
.pub-row {
  display: grid;
  grid-template-columns: 28px 44px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.pub-row:hover {
  color: var(--ink);
}
.pub-rank {
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
}
.pub-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.pub-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pub-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}
.pub-version {
  font: 400 13px 'Geist Mono',monospace;
  color: var(--muted);
}
.pub-sdk {
  font: 500 11px 'Geist Mono',monospace;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--ink);
}
.pub-desc {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pub-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.pub-meta .icon {
  color: var(--accent);
}
.pub-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.pub-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 84px;
}
.pub-stat-v {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pub-stat-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pub-stat-k {
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 819px) {
  .pub-row {
    grid-template-columns: 28px 44px minmax(0,1fr);
  }
  .pub-stats {
    grid-column: 3;
  }
}
.pub {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pub-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}
.pub-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pub-logo {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff url(https://pub.dev/favicon.ico) center/22px no-repeat;
  flex-shrink: 0;
}
.pub-tabs {
  grid-template-columns: repeat(5,minmax(0,1fr));
}
.pub-tabs > button {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: var(--bg);
  color: var(--ink);
  border-top: 0;
  border-left: 0;
  text-align: left;
  font: inherit;
}
.pub-tabs > button.on {
  background: var(--surface);
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.pub-tabs > button.ff {
  background: #0175C2;
  color: #FFFFFF;
}
.pub-tabs > button.ff:hover {
  background: #0168AE;
}
.pub-tabs > button.ff.on {
  box-shadow: inset 0 -2px 0 #FFFFFF;
}
.pub-tabs > button.ff .pub-tab-desc {
  color: rgba(255,255,255,.82);
}
.pub-tab-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.pub-tab-desc {
  font-size: 13px;
  color: var(--muted);
}
.pub-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 16px;
}
.pub-more > span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 859px) {
  .pub-tabs {
    grid-template-columns: 1fr;
  }
}
.rankings-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.rankings-desc {
  font-size: 14px;
  color: var(--muted);
  text-wrap: pretty;
}
.heli {
  position: absolute;
  width: 64px;
  height: 48px;
  z-index: 4;
  pointer-events: none;
  transform-origin: 38px 24px;
  transition: left 1.6s cubic-bezier(.45,0,.25,1), top 1.6s cubic-bezier(.45,0,.25,1), transform .7s cubic-bezier(.45,0,.25,1);
}
.heli-shadow {
  position: absolute;
  left: 38px;
  top: 24px;
  width: 44px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  filter: blur(3px);
  transition: all .7s cubic-bezier(.3,0,.2,1);
}
.heli-body {
  display: block;
  overflow: visible;
  transform-origin: 38px 24px;
  transition: transform .7s cubic-bezier(.3,0,.2,1);
}
.mono-11 {
  font: 500 11px 'Geist Mono',monospace;
}
.lesson {
  grid-column: span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
}
.lesson-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lesson-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.lesson-optional {
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--muted);
  padding: 2px 6px;
  border-radius: 2px;
}
.lesson-learned {
  font: 500 11px 'Geist Mono',monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}
.lesson h3 {
  margin: 0;
  font-size: clamp(28px,3.4vw,40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.lesson-intro p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  text-wrap: pretty;
}
.lesson-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.concepts {
  display: flex;
  align-items: center;
}
.concept-root {
  font: 600 13px 'Geist Mono',monospace;
  padding: 9px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.concept-tree {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
.concept-tree path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.concept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.concept-list span {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
  font: 400 14px 'Geist Mono',monospace;
  white-space: nowrap;
  width: fit-content;
}
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 10px;
}
.resource {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
}
.resource:hover {
  color: var(--ink);
}
.resource.project {
  background: var(--accent-soft);
}
.resource-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resource-host {
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.resource-label {
  font-size: 15px;
  font-weight: 600;
}
.resource-arrow {
  font-size: 16px;
  color: var(--accent);
}
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.lesson-actions .spacer {
  flex: 1;
}
.lesson-toggle {
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  font: 500 15px 'Geist',sans-serif;
  cursor: pointer;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.lesson-toggle.done {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.lesson-next {
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px 'Geist',sans-serif;
  cursor: pointer;
}
@media (max-width: 639px) {
  .lesson {
    padding: 24px 16px;
    grid-column: auto;
  }
}
.metro-box {
  overflow: hidden;
}
.metro-outer {
  position: relative;
}
.metro-inner {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
.metro-band {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--surface);
}
.metro-band.alt {
  background: var(--bg);
  border-top: 1px dashed var(--line);
}
.metro-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
}
.metro-svg path {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.transfer-out {
  stroke: var(--ink);
  stroke-width: 14;
}
.transfer-in {
  stroke: var(--surface);
  stroke-width: 7;
}
.rail {
  stroke: var(--muted);
  stroke-width: 12;
  opacity: 0.32;
}
.rail-done {
  stroke-width: 12;
}
.rail-gap {
  stroke: var(--surface);
  stroke-width: 6;
}
.rail-gap.alt {
  stroke: var(--bg);
}
.metro-ctrl {
  position: absolute;
  display: flex;
  gap: 4px;
  z-index: 5;
  transition: left .9s cubic-bezier(.45,0,.2,1), top .9s cubic-bezier(.45,0,.2,1);
}
.metro-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
}
.metro-back:hover {
  border-color: var(--ink);
}
.metro-primary {
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 2px;
  cursor: pointer;
  font: 500 13px 'Geist',sans-serif;
  white-space: nowrap;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.metro-primary.undo {
  background: var(--surface);
  color: var(--ink);
}
.line-tag {
  position: absolute;
  left: 24px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
}
.line-tag.vertical {
  transform: none;
  gap: 10px;
  width: auto;
}
.line-chip {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--metro-ink);
  font: 600 13px 'Geist Mono',monospace;
}
.line-tag.vertical .line-chip {
  width: 32px;
  height: 32px;
}
.line-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.line-tag.vertical .line-text {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.line-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.line-prog {
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.station {
  position: absolute;
  transform: translate(-50%,-50%);
  cursor: pointer;
  outline: none;
}
.station-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  transition: box-shadow .15s;
}
.station-tick {
  display: block;
}
.station-tick path {
  fill: none;
  stroke: var(--metro-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.station-label {
  position: absolute;
  transform-origin: 0 100%;
  transform: rotate(-30deg);
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: -0.01em;
  pointer-events: none;
}
.station-label.vertical {
  top: 50%;
  transform: translateY(-50%);
  gap: 8px;
}
.station-num {
  font: 500 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.station-name {
  font-weight: 600;
  color: var(--ink);
}
.station-name.on {
  font-weight: 700;
  color: var(--accent);
}
.station-meta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
  white-space: nowrap;
}
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 24px;
}
.roadmap-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.roadmap-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.roadmap-intro h1 {
  font-size: clamp(36px,5vw,56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}
.roadmap-intro p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.roadmap-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  margin-left: auto;
}
.roadmap-progress {
  display: flex;
  gap: 14px;
  align-items: center;
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
  white-space: nowrap;
}
.roadmap-reset {
  cursor: pointer;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}
.stop {
  display: flex;
  flex-direction: column;
}
.stop-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.stop-id {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.stop-chip {
  font: 600 13px 'Geist Mono',monospace;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  flex-shrink: 0;
}
.stop-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.stop-title > span:first-child {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stop-title .muted {
  font-size: 14px;
  text-wrap: pretty;
}
.stop-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.stop-nav > div {
  display: flex;
}
.stop-count {
  font: 500 13px 'Geist Mono',monospace;
  color: var(--muted);
  white-space: nowrap;
}
.stop-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: -1px;
  cursor: pointer;
}
.stop-arrow.off {
  cursor: default;
  opacity: 0.35;
}
.stop-body {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr));
}
.topics {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 2px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 2px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 0;
  text-align: left;
  font: inherit;
  transition: background .15s;
}
.topic.on {
  background: var(--ink);
  color: var(--bg);
}
.topic-badge {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px 'Geist Mono',monospace;
  border: 1.5px solid var(--muted);
}
.topic.on .topic-badge {
  border-color: var(--bg);
}
.topic-badge.optional {
  border-style: dashed;
}
.topic-badge.done {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1.5px solid var(--accent);
}
.topic-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.topic-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.topic-meta {
  font: 400 12px 'Geist Mono',monospace;
  color: var(--muted);
}
.topic.on .topic-meta {
  color: var(--bg);
  opacity: 0.7;
}
.milestone {
  display: flex;
  align-items: stretch;
  border-top: 1px dashed var(--line);
  position: relative;
}
.notch {
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
}
.notch.left {
  left: -9px;
  clip-path: inset(0 0 0 50%);
}
.notch.right {
  right: -9px;
  clip-path: inset(0 50% 0 0);
}
.milestone-stub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 18px 24px;
  border-right: 1px dashed var(--line);
  flex-shrink: 0;
}
.milestone-num {
  font: 600 15px 'Geist Mono',monospace;
}
.milestone-build {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 18px 24px;
}
.milestone-build span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: pretty;
}