/* ============================================================
   葬AI Web4 — Obsidian Editorial Theme
   独立 · 尖锐 · 有态度
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #0a0b0d;
  --bg-2:      #101216;
  --bg-3:      #171a20;
  --bg-4:      #1f232b;
  --text:      #e7e8ec;
  --text-dim:  #888d98;
  --text-mute: #565b66;
  --line:      #23272f;
  --line-2:    #2e333d;

  /* brand */
  --acid:      #c6ff3d;   /* primary accent — acid lime */
  --acid-dim:  #8aab2a;
  --blood:     #ff4d6d;   /* hot — rank / danger */
  --amber:     #ffb020;
  --cyan:      #34d4f3;

  /* node type colors */
  --t-product: #34d4f3;
  --t-person:  #ff4d6d;
  --t-company: #c6ff3d;
  --t-vc:      #ffb020;

  --mono: "JetBrains Mono","SF Mono","Fira Code",ui-monospace,"Menlo","Consolas",monospace;
  --serif: "Noto Serif SC","Source Han Serif SC","Songti SC","Georgia",serif;
  --sans: "PingFang SC","Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;

  --nav-h: 56px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--acid); color: #000; }

/* scrollbar */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--text-mute); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,11,13,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand .dot {
  width: 9px; height: 9px;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  flex-shrink: 0;
}
.brand .blood-txt { color: var(--blood); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  padding: 7px 12px;
  border: 1px solid transparent;
  transition: all .15s;
}
.nav-links a:hover { color: var(--acid); border-color: var(--line-2); }
.nav-links a.active { color: var(--acid); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acid);
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(198,255,61,.10), transparent 70%);
  top: 20%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.logo-mark {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 104px);
  line-height: .95;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.logo-mark .ai { color: var(--blood); }
.logo-mark .web4 {
  color: var(--acid);
  text-shadow: 0 0 30px rgba(198,255,61,.35);
}
.logo-tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.logo-tag .blink {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--acid);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  color: var(--text);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-lede em { color: var(--acid); font-style: normal; font-weight: 600; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  font-family: var(--mono);
  font-size: 14px;
  padding: 14px 26px;
  border: 1px solid var(--line-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .18s;
  cursor: pointer;
}
.btn:hover { border-color: var(--acid); color: var(--acid); transform: translateY(-1px); }
.btn-primary {
  background: var(--acid);
  color: #0a0b0d;
  border-color: var(--acid);
  font-weight: 700;
}
.btn-primary:hover { background: #d4ff5e; color: #000; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat-cell {
  background: var(--bg-2);
  padding: 28px 24px;
}
.stat-num {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--acid);
}
.stat-num.blood { color: var(--blood); }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 10px;
}

/* home sections */
.home-sec-title {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-sec-title::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--acid);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--bg-2);
  padding: 32px 28px;
  transition: background .2s;
}
.feature-card:hover { background: var(--bg-3); }
.feature-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-head {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}
.page-head .title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.page-head .sub {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ============================================================
   GRAPH PAGE
   ============================================================ */
.graph-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  height: calc(100vh - var(--nav-h));
}
@media (max-width: 900px) {
  .graph-layout { grid-template-columns: 1fr; height: auto; }
}

.graph-canvas-wrap {
  position: relative;
  background: #07080a;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
@media (max-width: 900px) {
  .graph-canvas-wrap { height: 60vh; border-right: none; border-bottom: 1px solid var(--line); }
}
#graph-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
#graph-canvas:active { cursor: grabbing; }

.graph-overlay {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.graph-overlay > * { pointer-events: auto; }

.graph-controls {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 5;
  display: flex;
  gap: 6px;
}
.gc-btn {
  width: 38px; height: 38px;
  background: rgba(16,18,22,.9);
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.gc-btn:hover { border-color: var(--acid); color: var(--acid); }

.graph-legend {
  background: rgba(16,18,22,.9);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11px;
}
.graph-legend-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.graph-legend-row:last-child { margin-bottom: 0; }
.graph-legend-row .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.graph-filter-bar {
  background: rgba(16,18,22,.9);
  border: 1px solid var(--line);
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  cursor: pointer;
  transition: all .15s;
  background: transparent;
}
.filter-chip:hover { color: var(--text); }
.filter-chip.active { color: #000; font-weight: 700; }

.graph-search {
  background: rgba(16,18,22,.9);
  border: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}
.graph-search svg { flex-shrink: 0; opacity: .5; }
.graph-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  width: 100%;
}
.graph-search input::placeholder { color: var(--text-mute); }

.graph-stats-mini {
  background: rgba(16,18,22,.9);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}
.graph-stats-mini span { color: var(--acid); }

/* detail panel */
.graph-panel {
  background: var(--bg-2);
  overflow-y: auto;
  padding: 0;
}
.panel-default { padding: 32px 24px; }
.panel-default h2 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.panel-default p { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }

.node-detail { padding: 24px; }
.node-detail .back {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  cursor: pointer;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.node-detail .back:hover { color: var(--acid); }
.node-detail .nd-type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.node-detail .nd-name {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.node-detail .nd-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}
.nd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 20px; }
.nd-meta-cell { background: var(--bg-3); padding: 12px; }
.nd-meta-cell .k { font-family: var(--mono); font-size: 10px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 1px; }
.nd-meta-cell .v { font-family: var(--mono); font-size: 20px; font-weight: 700; margin-top: 4px; }
.nd-subhead { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-mute); margin: 20px 0 10px; }
.nd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nd-tag { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--text-dim); }
.nd-links { display: flex; flex-direction: column; gap: 8px; }
.nd-link-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  cursor: pointer;
  transition: border-color .15s;
}
.nd-link-row:hover { border-color: var(--acid); }
.nd-link-row .rel { font-family: var(--mono); font-size: 10px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .5px; }
.nd-link-row .tgt { font-weight: 600; }
.nd-link-row .w { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--acid); }
.nd-articles { display: flex; flex-direction: column; gap: 6px; }
.nd-article {
  font-size: 13px;
  padding: 8px 10px;
  border-left: 2px solid var(--acid-dim);
  background: var(--bg-3);
  color: var(--text-dim);
  transition: all .15s;
}
.nd-article:hover { color: var(--text); border-left-color: var(--acid); }
.nd-article .date { font-family: var(--mono); font-size: 10px; color: var(--text-mute); }

/* ============================================================
   LEADERBOARDS
   ============================================================ */
.lb-section { padding: 48px 0 80px; }
.lb-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}
.lb-tab {
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 22px;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  white-space: nowrap;
  background: transparent;
  border-top: none; border-left: none; border-right: none;
}
.lb-tab:hover { color: var(--text); }
.lb-tab.active { color: var(--acid); border-bottom-color: var(--acid); }
.lb-tab .count { font-size: 11px; color: var(--text-mute); margin-left: 6px; }

.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.lb-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.lb-table tr:hover td { background: var(--bg-2); }
.lb-rank {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
  width: 50px;
}
.lb-rank.top1 { color: var(--blood); }
.lb-rank.top2 { color: var(--amber); }
.lb-rank.top3 { color: var(--acid); }
.lb-name { font-weight: 700; font-size: 15px; }
.lb-desc { font-size: 13px; color: var(--text-dim); margin-top: 3px; line-height: 1.5; }
.lb-metric { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.lb-bar {
  height: 5px;
  background: var(--bg-4);
  position: relative;
  overflow: hidden;
  min-width: 80px;
}
.lb-bar-fill { height: 100%; background: var(--acid); }
.type-pill {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid currentColor;
  display: inline-block;
}

/* ============================================================
   ARTICLE LIST
   ============================================================ */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  padding: 12px 16px;
  margin-bottom: 20px;
  transition: border-color .15s;
}
.search-box:focus-within { border-color: var(--acid); }
.search-box svg { opacity: .4; flex-shrink: 0; }
.search-box input {
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: 15px; width: 100%;
  font-family: var(--sans);
}
.search-box input::placeholder { color: var(--text-mute); }
.search-count { font-family: var(--mono); font-size: 12px; color: var(--text-mute); }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }

.article-list { display: flex; flex-direction: column; }
.article-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.article-item:hover { padding-left: 12px; }
.article-item:hover .a-title { color: var(--acid); }
.a-id {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-mute);
}
.a-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .15s;
}
.a-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.a-author { color: var(--acid-dim); }
.a-date { color: var(--text-mute); }
.a-entities { color: var(--text-mute); }
@media (max-width: 640px) {
  .article-item { grid-template-columns: 60px 1fr; }
  .article-item .a-entities-cell { display: none; }
}

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.article-head { padding: 56px 0 32px; border-bottom: 1px solid var(--line); }
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 12px;
}
.article-nav a { color: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.article-nav a:hover { color: var(--acid); }
.article-nav .disabled { color: var(--text-mute); opacity: .4; pointer-events: none; }
.article-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 14px;
}
.article-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.article-byline {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
.article-byline .sep { color: var(--text-mute); }
.article-byline .author-name { color: var(--acid); font-weight: 600; }

.article-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
  color: #d4d6dc;
  padding: 48px 0 64px;
}
.article-body p { margin-bottom: 1.4em; }
.article-body h1, .article-body h2, .article-body h3 {
  font-family: var(--sans);
  font-weight: 800;
  margin-top: 1.8em;
  margin-bottom: .8em;
  line-height: 1.3;
}
.article-body h1 { font-size: 1.5em; color: var(--text); }
.article-body h2 { font-size: 1.3em; color: var(--text); }
.article-body h3 { font-size: 1.12em; color: var(--acid); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { font-style: italic; color: var(--acid); }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--acid);
  padding-left: 20px;
  margin: 1.6em 0;
  color: var(--text-dim);
  font-style: italic;
}
.article-body ul, .article-body ol { margin: 1.2em 0 1.2em 1.5em; }
.article-body li { margin-bottom: .5em; }
.article-body code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--bg-3);
  padding: 2px 6px;
  color: var(--acid);
}
.article-body pre {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 1.4em 0;
}
.article-body pre code { background: none; padding: 0; color: var(--text); }
.article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.2em 0;
}
.article-body img { margin: 1.6em auto; border: 1px solid var(--line); }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0;
  font-family: var(--mono); font-size: 14px;
}
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-body th { background: var(--bg-3); color: var(--acid); }

.article-footer { border-top: 1px solid var(--line); padding: 32px 0 64px; }
.related-box { margin-top: 24px; }
.related-box h4 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-mute); margin-bottom: 14px;
}
.related-entities { display: flex; flex-wrap: wrap; gap: 8px; }
.related-entity {
  font-size: 13px; padding: 6px 12px;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  transition: all .15s;
}
.related-entity:hover { border-color: var(--acid); color: var(--acid); }
.related-entity .et { font-family: var(--mono); font-size: 10px; color: var(--text-mute); margin-left: 6px; text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer .brand-mini { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.footer .brand-mini .blood-txt { color: var(--blood); }
.footer .meta { font-family: var(--mono); font-size: 12px; color: var(--text-mute); }
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--acid); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-inner { gap: 12px; padding: 0 16px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 8px; font-size: 12px; }
  .brand { font-size: 14px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
}

/* loading */
.loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: #07080a;
  z-index: 10;
}
.loader.hide { display: none; }
.loader-spin {
  width: 32px; height: 32px;
  border: 2px solid var(--line-2);
  border-top-color: var(--acid);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-txt { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
