/* ==========================================================================
   Airdrop Atlas — 单文件样式表
   设计语言：近黑底 + 荧光绿强调 + 等宽字标签 + 细分隔线
   无外链字体 / 无框架，首屏 CSS 约 20KB（gzip ~5KB）
   ========================================================================== */

/* ------------------------------ tokens ---------------------------------- */
:root {
  --bg: #08090b;
  --bg-soft: #0b0d11;
  --panel: #0f1218;
  --panel-2: #131821;
  --line: #21262f;
  --line-2: #2b313d;
  --ink: #eef0f3;
  --ink-2: #b9c1cc;
  --muted: #8b95a3;
  --dim: #7a8492;
  --accent: #c8f751;
  --accent-ink: #0b0d07;
  --accent-soft: rgba(200, 247, 81, 0.12);
  --accent-line: rgba(200, 247, 81, 0.35);
  --live: #3ee9a0;
  --soon: #ffb454;
  --ended: #7b8698;
  --danger: #ff7a7a;

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --pad: clamp(18px, 4.2vw, 44px);
  --head-h: 66px;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f6f6f1;
  --bg-soft: #f0f0ea;
  --panel: #ffffff;
  --panel-2: #fbfbf7;
  --line: #e0e1d8;
  --line-2: #cfd1c5;
  --ink: #12150f;
  --ink-2: #333a2c;
  --muted: #5f6657;
  --dim: #686e5f;
  --accent: #4f7a00;
  --accent-ink: #ffffff;
  --accent-soft: rgba(79, 122, 0, 0.1);
  --accent-line: rgba(79, 122, 0, 0.3);
  --live: #04794f;
  --soon: #a35a00;
  --ended: #6b7280;
  --danger: #b42318;
  --shadow: 0 24px 50px -36px rgba(30, 35, 20, 0.4);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

svg {
  width: 1em;
  height: 1em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

/* ----------------------------- primitives -------------------------------- */
[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip:focus {
  transform: translateY(0);
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.section {
  padding-block: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 12px);
}

.section-head {
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}

.section-head h2 {
  text-wrap: balance;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.section-sub {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.accent {
  color: var(--accent);
}

/* ------------------------------- header --------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--dim);
  font-weight: 400;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}

.nav a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.18s var(--ease);
  position: relative;
  padding-block: 6px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  transition: 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--panel);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.theme-icon--sun {
  display: none;
}

[data-theme="light"] .theme-icon--sun {
  display: block;
}

[data-theme="light"] .theme-icon--moon {
  display: none;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink-2);
  transition: 0.18s var(--ease);
}

.lang-btn:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

/* 移动端菜单（<details>，无 JS 也能展开） */
.nav-menu {
  display: none;
  position: relative;
}

.nav-menu summary {
  list-style: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--panel);
}

.nav-menu summary svg {
  width: 18px;
  height: 18px;
}

.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 7px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  z-index: 60;
}

.nav-menu-panel a {
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.nav-menu-panel a:hover {
  background: var(--panel);
  color: var(--accent);
}

/* -------------------------------- hero ---------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(600px 380px at 18% 10%, rgba(200, 247, 81, 0.09), transparent 70%),
    radial-gradient(520px 320px at 88% 0%, rgba(88, 120, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(600px 380px at 18% 10%, rgba(79, 122, 0, 0.08), transparent 70%),
    radial-gradient(520px 320px at 88% 0%, rgba(60, 90, 220, 0.05), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%;
  opacity: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 7px 12px;
  border-radius: 999px;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(62, 233, 160, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 233, 160, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(62, 233, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 233, 160, 0);
  }
}

.hero h1 {
  text-wrap: balance;
  margin-top: 22px;
  font-size: clamp(2.4rem, 5.3vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  background: linear-gradient(transparent 74%, var(--accent-soft) 74%);
}

.lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-2);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 560;
  border: 1px solid transparent;
  transition: 0.18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-2);
  background: var(--panel);
  color: var(--ink-2);
}

.btn--ghost:hover {
  border-color: var(--accent-line);
  color: var(--ink);
}

.btn--sm {
  padding: 9px 13px;
  font-size: 12.5px;
  gap: 7px;
}

.btn svg {
  flex: none;
}

/* hero terminal panel */
.hero-panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--mono);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 180px at 80% -10%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-transform: uppercase;
}

.panel-dots {
  display: flex;
  gap: 5px;
}

.panel-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.panel-dots i:first-child {
  background: var(--accent);
}

.panel-body {
  padding: 16px 15px 14px;
}

.panel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}

.panel-row b {
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.panel-row:first-child b {
  color: var(--accent);
}

.panel-foot {
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  flex: none;
}

.dot--live {
  background: var(--live);
}

.dot--soon {
  background: var(--soon);
}

/* chain ticker */
.ticker {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  flex: none;
}

.ticker-list {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ticker-list::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1200px) {
  .ticker-list {
    mask-image: linear-gradient(90deg, #000 94%, transparent);
  }
}

.ticker-list a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.16s var(--ease);
}

.ticker-list a:hover {
  color: var(--accent);
}

.ticker-list span {
  color: var(--line-2);
  padding-inline: 7px;
  font-size: 11px;
}

.ticker-more {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  white-space: nowrap;
  padding-left: 4px;
}

.ticker-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------- grid ---------------------------------- */
.grid {
  display: grid;
  gap: 16px;
}

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

.grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
}

/* -------------------------------- card ---------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 19px 19px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

.card:hover {
  border-color: var(--accent-line);
  background: var(--panel-2);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-head-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--muted);
  background: color-mix(in srgb, currentColor 7%, transparent);
}

.chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.chip--live {
  color: var(--live);
}

.chip--upcoming {
  color: var(--soon);
}

.chip--ended {
  color: var(--ended);
}

.fav {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--dim);
  position: relative;
  z-index: 2;
  transition: 0.18s var(--ease);
}

.fav svg {
  width: 15px;
  height: 15px;
}

.fav:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.fav[aria-pressed="true"] {
  color: var(--accent);
}

.score {
  font-family: var(--mono);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--ink-2);
  margin-left: 2px;
}

.score b {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.score i {
  font-size: 9px;
  font-style: normal;
  color: var(--dim);
}

.score--high b {
  color: var(--accent);
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.card-kicker .chain {
  color: var(--ink-2);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-title {
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.015em;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.card-title a:hover {
  color: var(--accent);
}

.card-summary {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1px;
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  transition: 0.16s var(--ease);
}

a.tag:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.card-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 13px 0 15px;
  border-top: 1px solid var(--line);
}

.card-foot > div {
  min-width: 0;
}

.card-foot dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}

.card-foot dd {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-foot .is-hot dd {
  color: var(--danger);
}

.card-foot .is-soon dd {
  color: var(--soon);
}

.card-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dim);
  transition: 0.2s var(--ease);
}

.card-arrow svg {
  width: 13px;
  height: 13px;
}

.card:hover .card-arrow {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* ------------------------------- filters -------------------------------- */
.filters {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
  margin-bottom: 22px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 0 12px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.search-field:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-field > svg {
  width: 16px;
  height: 16px;
  color: var(--dim);
  flex: none;
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14.5px;
  padding: 13px 0;
  outline: none;
}

.search-field input::placeholder {
  color: var(--dim);
}

.search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-field kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 1px 5px;
  background: var(--panel);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.pill-group {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 6px;
  transition: 0.16s var(--ease);
  white-space: nowrap;
}

.pill:hover {
  color: var(--ink);
}

.pill.is-active {
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.pill--fav {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  padding: 7px 11px;
}

.pill--fav svg {
  width: 14px;
  height: 14px;
}

.pill--fav[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  max-width: 190px;
}

.select-wrap svg {
  position: absolute;
  right: 10px;
  width: 13px;
  height: 13px;
  color: var(--dim);
  pointer-events: none;
}

.select-wrap select:hover {
  border-color: var(--line-2);
}

.clear-btn {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  padding: 8px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}

.clear-btn:hover {
  color: var(--ink);
}

.result-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.result-count--static {
  margin: -8px 0 20px;
  color: var(--dim);
}

.explorer-foot {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.showing {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 52px 20px;
  text-align: center;
}

.empty-title {
  font-size: 17px;
  font-weight: 600;
}

.empty-hint {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ------------------------------- method --------------------------------- */
.section--method {
  background: linear-gradient(180deg, transparent, var(--bg-soft));
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.method-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 20px 24px;
  overflow: hidden;
}

.method-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.method-card h3 {
  margin-top: 14px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.method-card p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.method-note {
  margin-top: 16px;
  max-width: 88ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--dim);
  border-left: 2px solid var(--line-2);
  padding-left: 12px;
}

.cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 3vw, 34px);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 200px at 12% 0%, var(--accent-soft), transparent 70%),
    var(--panel);
}

.cta h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.cta p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ------------------------------- detail --------------------------------- */
.page-detail {
  background: var(--bg);
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.crumbs a {
  color: var(--muted);
  transition: color 0.16s;
}

.crumbs a:hover {
  color: var(--accent);
}

.detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 158px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.detail-chain {
  color: var(--ink-2);
}

.kicker-sep {
  width: 14px;
  height: 1px;
  background: var(--line-2);
}

.detail h1 {
  text-wrap: balance;
  margin-top: 18px;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 660;
  max-width: 26ch;
}

.detail-head .lede {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 62ch;
}

.stale-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--soon) 45%, transparent);
  background: color-mix(in srgb, var(--soon) 8%, transparent);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--soon);
  max-width: 62ch;
}

.stale-note svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.score-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  position: sticky;
  top: calc(var(--head-h) + 20px);
}

.score-num {
  font-family: var(--mono);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.score-den {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.score-track {
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.score-track i {
  display: block;
  height: 100%;
  background: var(--accent);
}

.score-cap {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(34px, 4vw, 56px);
  align-items: start;
}

.detail-side {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.block + .block {
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: clamp(30px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}

.block-head {
  margin-bottom: 20px;
}

.block-head h2 {
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.block-head h2::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 1px;
}

.block-head p {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--dim);
}

.prose {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 70ch;
}

.prose > h2 {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 30px 0 10px;
  font-weight: 620;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 24px 0 8px;
}

.prose p + p {
  margin-top: 12px;
}

.prose > ul,
.prose > ol {
  margin: 12px 0;
  display: grid;
  gap: 7px;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.prose ol {
  counter-reset: ol;
}

.prose ol li {
  counter-increment: ol;
}

.prose ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  top: 0.2em;
}

.prose strong {
  color: var(--ink);
  font-weight: 620;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
}

.prose blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: var(--panel);
  color: var(--ink-2);
  font-size: 14.5px;
}

/* checklist */
.checklist {
  display: grid;
  gap: 8px;
  counter-reset: step;
}

.checklist li label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  cursor: pointer;
  transition: 0.16s var(--ease);
}

.checklist li label:hover {
  border-color: var(--line-2);
}

.checklist input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-box {
  flex: none;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  color: transparent;
  transition: 0.16s var(--ease);
}

.check-box svg {
  width: 12px;
  height: 12px;
}

.checklist input:focus-visible + .check-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checklist input:checked + .check-box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.checklist input:checked ~ .check-body .check-text {
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--line-2);
}

.check-body {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.check-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  padding-top: 2px;
  flex: none;
}

.progress {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  max-width: 220px;
}

.progress-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

/* facts sidebar */
.facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 4px 16px;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.fact:last-child {
  border-bottom: 0;
}

.fact dt {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  flex: none;
}

.fact dd {
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.5;
}

.fact dd.fact-reward {
  color: var(--accent);
  font-weight: 560;
}

.soon-note {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--danger);
  margin-top: 3px;
}

.level {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid currentColor;
}

.level--low {
  color: var(--live);
}

.level--medium {
  color: var(--soon);
}

.level--high {
  color: var(--danger);
}

.level--tier {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.side-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-actions .btn {
  padding-inline: 8px;
}

.side-actions .btn svg {
  width: 14px;
  height: 14px;
}

.side-actions .btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
}

.side-disclaimer {
  display: flex;
  gap: 9px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--dim);
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.side-disclaimer svg {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.link-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.link-cols h3 {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 10px;
}

.link-list {
  display: grid;
  gap: 6px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: 0.16s var(--ease);
}

.link-list a svg {
  width: 12px;
  height: 12px;
  color: var(--dim);
}

.link-list a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.related {
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.section-head--inline {
  margin-bottom: 18px;
}

.entry-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.entry-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  transition: 0.16s var(--ease);
}

.entry-nav-item span {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.entry-nav-item strong {
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.45;
  color: var(--ink-2);
}

.entry-nav-item:hover {
  border-color: var(--accent-line);
}

.entry-nav-item--next {
  text-align: right;
  align-items: flex-end;
}

.disclaimer {
  margin-top: 28px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 80ch;
}

/* ------------------------------ archive --------------------------------- */
.page-head {
  padding-block: clamp(40px, 5vw, 64px) clamp(22px, 3vw, 32px);
}

.page-head h1 {
  text-wrap: balance;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-top: 14px;
  font-weight: 660;
}

.page-head .section-sub {
  margin-top: 14px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pager-step {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: 0.16s var(--ease);
}

.pager-step:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.pager-nums {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pager-num {
  min-width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  border-radius: 6px;
  padding-inline: 6px;
}

.pager-num:hover {
  color: var(--ink);
  background: var(--panel);
}

.pager-num.is-current {
  background: var(--accent);
  color: var(--accent-ink);
}

.pager-gap {
  color: var(--dim);
  padding-inline: 4px;
}

/* ------------------------------- chains --------------------------------- */
.chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.chain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: 0.18s var(--ease);
}

.chain-card:hover {
  border-color: var(--accent-line);
  background: var(--panel-2);
  transform: translateY(-2px);
}

.chain-name {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.chain-count {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
}

.chain-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.chain-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--dim);
}

.chain-arrow svg {
  width: 14px;
  height: 14px;
}

.chain-card:hover .chain-arrow {
  color: var(--accent);
}

/* ------------------------------- footer --------------------------------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 26px;
  margin-top: clamp(40px, 6vw, 80px);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
  gap: clamp(26px, 4vw, 64px);
}

.foot-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.65;
  text-wrap: pretty;
}

.foot-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  transition: color 0.16s;
}

.foot-social a:hover {
  color: var(--accent);
}

.foot-social svg {
  width: 11px;
  height: 11px;
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
  font-weight: 400;
  margin-bottom: 13px;
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding-block: 3px;
  transition: color 0.16s;
}

.foot-col a:hover {
  color: var(--ink);
}

.foot-handle {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding-block: 3px;
}

.foot-disclaimer {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 100ch;
}

.foot-bot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

/* -------------------------------- 404 ----------------------------------- */
.notfound {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding-block: 80px;
}

.notfound h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}

.notfound .btn {
  margin-top: 12px;
}

/* ----------------------------- responsive ------------------------------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 440px;
  }

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

  .method-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
    order: -1;
  }

  .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }

  .fact:nth-last-child(2) {
    border-bottom: 0;
  }

  .detail-head {
    grid-template-columns: 1fr;
  }

  .score-card {
    position: static;
    width: 150px;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --head-h: 60px;
  }

  .nav {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .filter-row {
    align-items: stretch;
  }

  .pill-group {
    width: 100%;
    overflow-x: auto;
  }

  .select-wrap,
  .select-wrap select {
    flex: 1;
    max-width: none;
  }

  .select-wrap select {
    width: 100%;
  }

  .clear-btn {
    margin-left: 0;
  }

  .card-foot {
    grid-template-columns: 1fr 1fr;
  }

  .card-arrow {
    display: none;
  }

  .entry-nav {
    grid-template-columns: 1fr;
  }

  .entry-nav-item--next {
    text-align: left;
    align-items: flex-start;
  }

  .pager {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pager-step {
    order: 2;
  }

  .side-actions {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact:nth-last-child(2) {
    border-bottom: 1px dashed var(--line);
  }
}

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

@media print {
  .site-head,
  .site-foot,
  .filters,
  .side-actions,
  .hero-panel,
  .entry-nav,
  .pager,
  .skip {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
