:root {
  --bg: #070605;
  --bg-elev: #120e09;
  --bg-elev-2: #1c150c;
  --line: #6b4c16;
  --gold: #ffd54a;
  --gold-2: #e89a00;
  --ink: #1a1204;
  --text: #f8f1e4;
  --muted: #e6d5b6;
  --dim: #d4c09a;
  --up: #9ddeb0;
  --down: #f0a8a0;
  --danger: #e07a6a;
  --warn: #e6b15c;
  --info: #d9c7a2;
  --focus: #fff8e8;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --header: 0px;
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100dvh;
  padding-bottom: 36px;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='124' viewBox='0 0 72 124'%3E%3Cg fill='none' stroke='%23ffd54a' stroke-opacity='0.09' stroke-width='1'%3E%3Cpath d='M36 2l30 17.3v34.6L36 71.2 6 53.9V19.3z'/%3E%3Cpath d='M72 33l-6 3.5v34.6L36 88.4 6 71.1V36.5L0 33'/%3E%3Cpath d='M36 64.8l30 17.3v34.6L36 134 6 116.7V82.1z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 124px;
  color: var(--text);
  line-height: 1.45;
}
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  background: rgba(14, 12, 9, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, main, .site-footer {
  width: auto;
  max-width: none;
  margin: 0;
  padding-left: 16px;
  padding-right: 16px;
}
.header-inner { padding-top: 12px; padding-bottom: 14px; }
.search { max-width: 720px; }
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.logo {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: cover;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffd54a;
}
.brand-tag { color: var(--muted); font-size: 0.82rem; }
.nav { display: flex; gap: 6px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  border-color: #ffd54a;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.nav a:hover { box-shadow: 0 0 16px rgba(255, 213, 74, 0.35); }
.honey-drip {
  height: 14px;
  margin: 4px 0 2px;
  background:
    radial-gradient(8px 11px at 7% 0, #e89a00 58%, transparent 60%),
    radial-gradient(5px 8px at 16% 0, #ffd54a 58%, transparent 60%),
    radial-gradient(11px 14px at 31% 0, #e89a00 58%, transparent 60%),
    radial-gradient(4px 7px at 44% 0, #ffd54a 58%, transparent 60%),
    radial-gradient(9px 12px at 58% 0, #e89a00 58%, transparent 60%),
    radial-gradient(6px 9px at 73% 0, #ffd54a 58%, transparent 60%),
    radial-gradient(10px 13px at 89% 0, #e89a00 58%, transparent 60%),
    linear-gradient(#e89a00, #e89a00) top / 100% 2px no-repeat;
}

.search { margin-top: 12px; position: relative; }
.search label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.search-results {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  max-height: min(60vh, 420px);
  overflow: auto;
  background: #120e09;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.search-results[hidden] { display: none; }
.search-status, .search-note { margin: 0; padding: 10px 12px; }
.search-hit {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 8px 12px;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(107, 76, 22, 0.55);
  touch-action: manipulation;
}
.search-hit.is-active,
.search-hit:hover,
.search-hit:focus-visible { background: #2a2114; }
.search-hit .avatar { width: 36px; height: 36px; }
.search-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.search-title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.search-name { font-weight: 700; overflow-wrap: anywhere; }
.search-price { margin-left: auto; font-variant-numeric: tabular-nums; }
.search-meta { color: var(--dim); font-size: 0.82rem; }
.search-mark {
  display: inline-block;
  width: fit-content;
  color: var(--gold);
  background: rgba(240, 193, 75, 0.12);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
  padding: 2px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.search-row { display: flex; gap: 8px; }
.search input {
  flex: 1;
  min-width: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
}
.search input:focus { border-color: var(--gold); }
.primary, a.button {
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  color: var(--ink);
  border: 1px solid #ffd54a;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.primary:hover, a.button:hover, .ghost:hover, .token-card:hover {
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.38);
}
.ghost, a.ghost, label.file-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 44px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ghost.hive-on, button[aria-pressed="true"].ghost {
  border-color: var(--gold);
  color: var(--gold);
}
button:disabled { opacity: 0.6; cursor: not-allowed; }

.trust {
  margin: 4px 0 0;
  color: #f3e6c8;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  width: auto;
  margin: 12px 16px 0;
}
.status:empty { display: none; }
.status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--gold-2);
  border-radius: 12px;
  padding: 10px 12px;
}

main { padding: 18px 0 32px; }
.site-footer {
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}
.copyright {
  margin: 0 0 8px;
  color: var(--dim);
}
.stack { display: grid; gap: 16px; }
.hero h1, .token-head h1, .empty h2, h1, h2, h3 {
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffd54a;
}
.hero h1, .token-head h1, .empty h2, h1 { font-size: 1.7rem; line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 0; }
p { margin: 0; }
.muted, .fine { color: var(--muted); }
.fine { font-size: 0.82rem; }
.hero-actions, .toolbar, .ca-row, .link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-actions { margin-top: 14px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}
.section-head p { margin-top: 4px; }

.banner {
  background: #2a2116;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
}
.noscript { margin: 12px; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.token-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.token-card:hover { border-color: var(--gold-2); }
.card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-title, .token-link {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.card-title { justify-content: space-between; align-items: flex-start; }
.name { font-weight: 700; overflow-wrap: break-word; }
.symbol, .card-price { color: var(--muted); }
.card-price { color: var(--text); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.card-meta { color: var(--dim); font-size: 0.85rem; }
.badge {
  flex: none;
  border: 0;
  border-radius: 0;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  padding: 4px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 213, 74, 0.28), rgba(232, 154, 0, 0.16));
}
.badge-paid {
  color: var(--gold);
  border-color: var(--gold-2);
  background: rgba(240, 193, 75, 0.1);
}
.badge-rugger {
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  color: #fff8f6;
  background: linear-gradient(180deg, #c53636, #7c1616);
}
.rugger-line {
  margin: 8px 0 0;
  color: #f0a8a0;
  font-weight: 700;
}
.creator-line { margin: 8px 0 0; font-weight: 700; }
.launch-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}
.launch-row {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg-elev-2);
  border-radius: 10px;
}
.outcome { font-weight: 700; }
.outcome-loss { color: #f0a8a0; }
.outcome-alive { color: var(--up); }
.outcome-unknown { color: var(--dim); }
.token-creator .ca { display: block; margin-top: 8px; }
.wallet-form { margin-top: 0; }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 0;
  flex: none;
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  object-fit: cover;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.token-layout { display: flex; flex-direction: column; gap: 12px; }
.token-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.token-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.token-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 84px;
  padding: 2px 0 4px;
}
.token-identity { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; }
.token-titles { min-width: 0; flex: 1; }
.ticker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 36px; min-width: 0; }
.ticker-row h1 { min-width: 0; }
.token-head h1 { font-size: 1.35rem; line-height: 1.1; margin: 0; white-space: nowrap; overflow-wrap: normal; flex: 0 0 auto; }
.token-head .avatar { width: 56px; height: 56px; }
.ticker-row .badge-rugger { margin-top: 0; }
.token-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-height: 1.2em;
  margin-top: 2px;
}
.token-name, .token-ca { color: var(--muted); }
.token-ca { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.82rem; }
.ticker-row .ghost { min-height: 32px; padding: 4px 10px; font-size: 0.82rem; }
.ticker-row [data-action='hive-toggle'] { min-width: 7.5rem; margin-left: auto; }
.token-quote {
  flex: none;
  min-width: 148px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}
.mcap-kicker {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mcap-value {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.token-change-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: flex-end;
  min-height: 22px;
  font-variant-numeric: tabular-nums;
}
.token-change-row span { color: var(--dim); font-size: 0.78rem; }
.token-price {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-height: 1.2em;
}
.ca-row { margin-top: 8px; }
.ca {
  flex: 1 0 100%;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  background: var(--bg-elev-2);
  padding: 8px 10px;
  border-radius: 8px;
}
.share-link { min-height: 44px; }
.link-row { list-style: none; padding: 0; margin: 6px 0 0; }
.text-link { color: var(--gold); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}
.stats div {
  background: var(--bg-elev-2);
  border-radius: 10px;
  padding: 10px;
}
.stats dt { color: var(--dim); font-size: 0.78rem; }
.stats dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; font-weight: 600; }

.disclaimer {
  background: #2a2116;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
}
.score-readout { margin-bottom: 8px; }
.score-num {
  width: 104px;
  height: 116px;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  line-height: 1;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, rgba(255, 213, 74, 0.34), rgba(232, 154, 0, 0.12));
}
.band { font-weight: 700; margin: 4px 0 8px; }
.band-high .score-num { color: var(--gold); }
.band-mid .score-num { color: var(--warn); }
.band-low .score-num { color: var(--down); }
.band-incomplete .score-num { color: var(--muted); }
.meter {
  height: 16px;
  background: #2a2114;
  border-radius: 0;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  overflow: hidden;
  margin-bottom: 8px;
}
.meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e89a00, #ffd54a);
}
.meter.band-mid > span { background: var(--warn); }
.meter.band-low > span { background: var(--down); }
.meter.band-incomplete > span { background: var(--dim); }
.meter.s-0 > span { width: 0%; }
.meter.s-5 > span { width: 5%; }
.meter.s-10 > span { width: 10%; }
.meter.s-15 > span { width: 15%; }
.meter.s-20 > span { width: 20%; }
.meter.s-25 > span { width: 25%; }
.meter.s-30 > span { width: 30%; }
.meter.s-35 > span { width: 35%; }
.meter.s-40 > span { width: 40%; }
.meter.s-45 > span { width: 45%; }
.meter.s-50 > span { width: 50%; }
.meter.s-55 > span { width: 55%; }
.meter.s-60 > span { width: 60%; }
.meter.s-65 > span { width: 65%; }
.meter.s-70 > span { width: 70%; }
.meter.s-75 > span { width: 75%; }
.meter.s-80 > span { width: 80%; }
.meter.s-85 > span { width: 85%; }
.meter.s-90 > span { width: 90%; }
.meter.s-95 > span { width: 95%; }
.meter.s-100 > span { width: 100%; }

.flags { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.flag {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-elev-2);
  border-left: 3px solid var(--info);
}
.flag.warn { border-left-color: var(--warn); }
.flag.danger { border-left-color: var(--danger); }
.flag-level { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); grid-column: 1; }
.flag-title { font-weight: 700; grid-column: 2; }
.flag-points { grid-column: 3; grid-row: 1 / span 2; color: var(--muted); font-variant-numeric: tabular-nums; }
.flag-detail { grid-column: 1 / span 2; color: var(--muted); font-size: 0.92rem; }
details { margin-top: 8px; }
details p { margin-top: 8px; color: var(--muted); }

.chart-card {
  position: relative;
  background: #090807;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 280px;
  overflow: hidden;
}
.chart-skeleton {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.chart-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 46vh;
  min-height: 280px;
  border: 0;
  background: transparent;
}
#swap-mount,
#jupiter-plugin-instance {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  min-height: 280px;
  margin-top: 8px;
}
.swap-skeleton { display: grid; gap: 10px; min-height: 180px; align-content: start; }
.token-swap .text-link { display: inline-block; margin-top: 8px; }
.trade-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0;
}
.trade-tab {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 800;
}
.trade-tab[aria-selected="true"][data-side="buy"] {
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  color: var(--ink);
  border-color: #ffd54a;
}
.trade-tab[aria-selected="true"][data-side="sell"] {
  background: #5c2420;
  color: #fff8f6;
  border-color: #e07a6a;
}
.amount-row { display: flex; gap: 8px; margin-bottom: 8px; }
.amount-btn { flex: 1; min-height: 44px; padding: 8px; }
.amount-btn[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--ink);
  background: linear-gradient(180deg, #ffd54a, #e89a00);
}
.field { display: grid; gap: 6px; }
.field span { color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
}
.cluster { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.cluster legend { padding: 0; color: var(--muted); }
.errors { margin: 0; padding-left: 18px; color: var(--down); }
.review-list { margin: 0; padding-left: 18px; }
.launch h3 { margin: 0; font-size: 1rem; }
.launch .check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  max-width: 640px;
}
.launch .check-copy { display: grid; gap: 2px; }
.fee-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px solid var(--gold-2);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 700;
}
.hero { max-width: 760px; }
.site-footer p { max-width: 78ch; }
.sheet-bar, .trade-dock, .trade-backdrop { display: none; }
.detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: -2px 0 12px;
}
.detail-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 800;
}
.detail-tab[aria-selected="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.detail-panel { display: grid; gap: 10px; }
.detail-panel[hidden] { display: none; }
.token-meta { display: grid; gap: 8px; margin-top: 8px; }
.token-panels .token-score,
.token-panels .token-creator { border: 0; padding: 0; background: transparent; }
.trade-grid { display: grid; gap: 6px; }
.trade-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1.1fr;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  background: var(--bg-elev-2);
  border-radius: 10px;
}
.trade-head { background: transparent; min-height: 28px; color: var(--dim); font-size: 0.78rem; }
.holder-list { list-style: none; padding: 0; margin: 0; display: grid; }
.holder-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.2fr) minmax(70px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 4px 2px;
  border-bottom: 1px solid rgba(107, 76, 22, 0.45);
}
.holder-rank { color: var(--dim); font-variant-numeric: tabular-nums; }
.holder-who { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; min-width: 0; }
.holder-pct { font-variant-numeric: tabular-nums; font-weight: 700; }
.holder-bar {
  height: 8px;
  background: #2a2114;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 50%, calc(100% - 4px) 100%, 4px 100%, 0 50%);
  overflow: hidden;
}
.holder-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e89a00, #ffd54a);
}
.holder-fill.p-0 { width: 0%; }
.holder-fill.p-5 { width: 5%; }
.holder-fill.p-10 { width: 10%; }
.holder-fill.p-15 { width: 15%; }
.holder-fill.p-20 { width: 20%; }
.holder-fill.p-25 { width: 25%; }
.holder-fill.p-30 { width: 30%; }
.holder-fill.p-35 { width: 35%; }
.holder-fill.p-40 { width: 40%; }
.holder-fill.p-45 { width: 45%; }
.holder-fill.p-50 { width: 50%; }
.holder-fill.p-55 { width: 55%; }
.holder-fill.p-60 { width: 60%; }
.holder-fill.p-65 { width: 65%; }
.holder-fill.p-70 { width: 70%; }
.holder-fill.p-75 { width: 75%; }
.holder-fill.p-80 { width: 80%; }
.holder-fill.p-85 { width: 85%; }
.holder-fill.p-90 { width: 90%; }
.holder-fill.p-95 { width: 95%; }
.holder-fill.p-100 { width: 100%; }
.token-stats .fine { min-height: 2.6em; }
.skeleton {
  display: inline-block;
  background: linear-gradient(90deg, #241c10 0%, #3a2d16 45%, #241c10 100%);
  background-size: 200% 100%;
  animation: honey-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
  color: transparent;
}
.sk-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.sk-ticker { width: 88px; height: 22px; }
.sk-name { width: 140px; height: 14px; }
.sk-mcap { display: block; width: 120px; height: 28px; }
.sk-change { width: 72px; height: 16px; }
.sk-price { width: 88px; height: 14px; }
.sk-cell { height: 14px; width: 70%; }
.sk-stat { display: block; width: 72%; height: 16px; margin-top: 4px; }
.sk-swap { display: block; height: 48px; width: 100%; border-radius: 12px; }
.sk-swap.short { width: 62%; }
.sk-rank { width: 18px; height: 14px; }
.sk-holder { height: 14px; width: 80%; }
.sk-score { width: 104px; height: 116px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.score-skeleton { display: grid; gap: 8px; justify-items: start; }
.sk-line { width: min(100%, 420px); height: 14px; }
.sk-line.short { width: min(70%, 260px); }
@keyframes honey-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.toolbar { justify-content: flex-start; }
.toolbar .count { margin-right: auto; font-variant-numeric: tabular-nums; }
.check { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }
.empty p { margin-top: 8px; }
.table-wrap { padding: 0; overflow: hidden; }
.swipe-hint { padding: 10px 12px 0; }
.hive-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table-wrap { overflow-x: auto; }
.hive-table th, .hive-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.hive-table th:first-child, .hive-table td:first-child {
  position: sticky;
  left: 0;
  background: #17140f;
  z-index: 1;
  min-width: 168px;
}
.token-link .name { white-space: nowrap; }
.sort-btn {
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 700;
  min-height: 44px;
}
.sort-btn[aria-pressed="true"] { color: var(--gold); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.token-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
}
.token-link .name, .token-link .fine { display: block; }
.note {
  width: 180px;
  max-width: 40vw;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 16px;
}
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }

.recent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.recent-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: inherit;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
}
.recent-list .name { white-space: nowrap; }
.recent-list a:hover { background: var(--bg-elev-2); }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .swipe-hint { display: none; }
}
@media (min-width: 1024px) {
  .header-inner, main, .site-footer { padding-left: 24px; padding-right: 24px; }
  .status { margin-left: 24px; margin-right: 24px; }
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    grid-template-areas:
      "brand search nav"
      "account account account"
      "drip drip drip"
      "trust trust trust";
    align-items: center;
    column-gap: 16px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .brand-row { display: contents; }
  .brand { grid-area: brand; }
  .nav { grid-area: nav; justify-content: flex-end; }
  .account-slot { grid-area: account; margin-left: 0; width: 100%; justify-content: flex-end; }
  .search { grid-area: search; margin-top: 0; max-width: none; }
  .search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .honey-drip { grid-area: drip; }
  .trust { grid-area: trust; margin-top: 4px; }
  .token-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 16px 20px;
    align-items: start;
  }
  .token-rail {
    position: fixed;
    top: calc(var(--header-h, 120px) + 12px);
    right: 24px;
    width: 380px;
    max-height: calc(100dvh - var(--header-h, 120px) - 24px);
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    z-index: 2;
  }
  .chart-frame {
    height: calc(100dvh - var(--header-h, 120px) - 168px);
    min-height: 460px;
  }
  .sheet-bar, .trade-dock, .trade-backdrop { display: none; }
}
@media (min-width: 1400px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .chart-frame { height: min(46vh, 420px); min-height: 260px; }
  .token-swap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 34;
    width: auto;
    max-height: calc(100dvh - var(--header-h, 96px) - 8px);
    margin: 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 18px 18px 0 0;
    transform: translateY(110%);
    transition: transform 180ms ease;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.5);
  }
  body.trade-open .token-swap { transform: translateY(0); }
  body.trade-open { overflow: hidden; }
  .sheet-bar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 36px;
    margin-bottom: 4px;
  }
  .sheet-grab {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: #6b4c16;
    transform: translateX(-50%);
  }
  .trade-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 32;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14, 12, 9, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  body.trade-open .trade-dock { display: none; }
  .trade-backdrop {
    position: fixed;
    inset: 0;
    z-index: 33;
    display: none;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
  }
  body.trade-open .trade-backdrop { display: block; }
  body.is-token { padding-bottom: 76px; }
  .dock-buy, .dock-sell {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
  }
  .dock-buy {
    background: linear-gradient(180deg, #ffd54a, #e89a00);
    color: var(--ink);
    border: 1px solid #ffd54a;
  }
  .dock-sell {
    background: #5c2420;
    color: #fff8f6;
    border: 1px solid #e07a6a;
  }
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .logo { width: 32px; height: 32px; }
  .brand-tag, .honey-drip { display: none; }
  .brand { min-width: 0; gap: 8px; }
  .brand-name { font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav { gap: 2px; }
  .nav a { padding: 4px 8px; min-height: 36px; font-size: 0.8rem; }
  .search { margin-top: 8px; }
  .search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .trust { font-size: 0.75rem; margin-top: 6px; }
  body.is-token .trust { display: none; }
  .token-head { min-height: 64px; gap: 8px; }
  .token-head .avatar, .sk-avatar { width: 44px; height: 44px; }
  .token-head h1 { font-size: 1.15rem; }
  .ticker-row { flex-wrap: wrap; }
  .ticker-row [data-action='hive-toggle'] { min-width: 0; margin-left: 0; }
  .ticker-row .ghost[aria-label="Copy contract address"] { display: none; }
  .token-ca { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mcap-value { font-size: 1.25rem; }
  .token-quote { min-width: 118px; min-height: 68px; }
  .site-footer p { max-width: 78ch; }
}

body.is-home .header-inner { padding-top: 6px; padding-bottom: 4px; }
body.is-home .honey-drip { height: 6px; margin: 0; }
body.is-home main { padding-top: 8px; padding-bottom: 12px; }

.onboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  margin: 0 0 8px;
  padding: 6px 10px;
  background: rgba(18, 14, 9, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.onboard-tag {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}
.onboard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.onboard-steps li {
  counter-increment: step;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}
.onboard-steps li::before {
  content: counter(step) ") ";
  color: var(--gold);
  font-weight: 800;
}
.onboard-hint { margin: 1px 0 0; color: var(--dim); font-size: 0.72rem; }
.onboard-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.onboard-dismiss { min-height: 32px; padding: 4px 10px; }
.intro-watch {
  min-height: 32px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.intro-replay { margin: 0 0 6px; }
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #070605;
  opacity: 1;
  transition: opacity 480ms ease;
}
.intro-overlay.is-leaving { opacity: 0; pointer-events: none; }
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #070605;
}
.intro-ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 42%, rgba(0, 0, 0, 0.28) 100%);
}
.intro-tagline {
  margin: 0 auto;
  max-width: 18ch;
  text-align: center;
  font-size: clamp(1.35rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}
.intro-captions {
  margin: 0 auto;
  max-width: 36rem;
  min-height: 1.4em;
  text-align: center;
  font-size: 1rem;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.intro-sound, .intro-play { min-width: min(100%, 220px); }
.intro-play[hidden], .intro-tagline[hidden] { display: none; }
.intro-skip, .intro-enter { min-height: 44px; }
body.intro-open { overflow: hidden; }

.chip-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 8px;
  padding-bottom: 2px;
}
.chip, .chip-skel {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
}
.chip .avatar { width: 22px; height: 22px; font-size: 0.55rem; }
.chip-ticker { font-weight: 800; font-size: 0.78rem; }
.chip-mcap, .chip-change { font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.chip-mcap { color: var(--dim); }
.sk-chip { width: 120px; height: 16px; }
.board-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.filter-row, .window-row { display: flex; flex-wrap: wrap; gap: 4px; }
.chip-btn, .win-btn, .board-tab {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}
.chip-btn.is-on, .win-btn.is-on, .board-tab[aria-selected="true"] {
  color: var(--ink);
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  border-color: #ffd54a;
}
.quick-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
}
.quick-buy select {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 32px;
  padding: 2px 8px;
}
.board-tabs { display: none; }
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  gap: 8px;
  align-items: stretch;
}
.board-col {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  max-height: calc(100dvh - 248px);
  background: rgba(18, 14, 9, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.col-head { padding: 6px 8px 2px; }
.col-head h2 { font-size: 0.92rem; }
.col-head p {
  margin-top: 1px;
  color: var(--dim);
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-scroll { overflow: auto; min-height: 0; flex: 1; }
.board-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.board-table th, .board-table td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(107, 76, 22, 0.45);
  vertical-align: middle;
  white-space: nowrap;
}
.board-table .sort-btn { min-height: 28px; padding: 2px 0; font-size: 0.72rem; }
.star {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1rem;
  padding: 0;
}
.star.is-on { color: var(--gold); }
.coin-id, .coin-row, .trend-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.coin-id .avatar, .coin-row .avatar, .trend-link .avatar { width: 28px; height: 28px; font-size: 0.62rem; }
.coin-names { display: flex; flex-direction: column; min-width: 0; }
.coin-sym { font-weight: 800; }
.coin-name, .trend-price { color: var(--dim); font-size: 0.72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.coin-row, .trend-link { min-height: 44px; padding: 4px 8px; }
.coin-row:hover, .trend-link:hover, .chip:hover { background: #241c12; }
.coin-meta, .trend-meta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
}
.coin-price { font-variant-numeric: tabular-nums; color: var(--muted); }
.row-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 2px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.72rem;
  text-decoration: none;
}
.empty-note { margin: 0; padding: 12px; color: var(--muted); }
.skel-list { display: grid; }
.skel-row { display: flex; gap: 8px; align-items: center; height: 44px; padding: 0 8px; }
.sk-row-ava { width: 28px; height: 28px; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.sk-row-line { height: 12px; width: 46%; }
.soon-card {
  margin: 8px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #1a140c;
}
.soon-card h3 { font-size: 0.9rem; margin-bottom: 4px; }
.soon-card p { color: var(--muted); font-size: 0.78rem; }
.paid-strip { margin-top: 14px; }
.paid-strip h2 { font-size: 0.95rem; }
.paid-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; }
.paid-card {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: var(--bg-elev);
}
.paid-ca { color: var(--dim); font-size: 0.75rem; }

.live-tape {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 4px 8px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 8, 5, 0.94);
  overflow: hidden;
}
.live-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #24180c;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a8172;
  box-shadow: 0 0 0 0 rgba(255, 90, 70, 0.7);
}
.live-pill.is-live .live-dot {
  background: #ff5a46;
  animation: live-pulse 1.4s ease-out infinite;
}
.live-pill.is-polling .live-dot { background: var(--gold); }
.tape-viewport { overflow: hidden; flex: 1; min-width: 0; }
.tape-track {
  display: flex;
  width: max-content;
}
.tape-track.is-loop { animation: tape-move 70s linear infinite; }
.live-tape:hover .tape-track,
.live-tape:focus-within .tape-track { animation-play-state: paused; }
.tape-track.is-waiting { animation: none; }
.tape-group { display: flex; gap: 16px; padding-right: 16px; }
.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.tape-item .avatar { width: 18px; height: 18px; font-size: 0.48rem; }
.tape-item.is-grad { color: var(--gold); }
.tape-wait { color: var(--dim); font-size: 0.75rem; }
.king-card {
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 213, 74, 0.16), transparent 42%),
    rgba(18, 14, 9, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.king-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}
.king-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.king-mark { width: 16px; height: 16px; border-radius: 50%; }
.king-role, .king-grad {
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 0 6px;
  letter-spacing: 0.04em;
}
.king-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.king-id .avatar { width: 76px; height: 76px; font-size: 1.15rem; }
.king-id { flex: 1; }
.king-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.king-name-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.king-sym { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.king-name, .king-age { color: var(--dim); font-size: 0.78rem; }
.king-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
.king-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-variant-numeric: tabular-nums; }
.king-mcap { font-size: 1.15rem; font-weight: 800; }
.king-chg, .king-extra { font-size: 0.78rem; font-weight: 700; }
.king-extra:empty, .king-extra[hidden] { display: none; }
.king-titles .curve-block { width: 100%; max-width: none; }
.king-titles .curve { height: 6px; }
.king-chart { width: 128px; height: 52px; }
.king-chart:empty { display: none; }
.king-actions { display: flex; flex-direction: column; gap: 4px; }
.king-buy { min-height: 34px; padding: 4px 14px; font-size: 0.85rem; }
.king-wait { margin: 0; color: var(--dim); }
.live-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.live-col {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  max-height: calc(100dvh - 392px);
  background: rgba(18, 14, 9, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.live-title { display: flex; align-items: center; gap: 8px; }
.live-title h2 { margin: 0; }
.live-count, .held-pill {
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 800;
}
.live-count { color: var(--ink); background: var(--gold); }
.live-count:empty { display: none; }
.held-pill { color: var(--ink); background: #ffd54a; }
.launch-list { display: flex; flex-direction: column; }
.launch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main actions"
    "fig actions"
    "curve actions";
  gap: 1px 8px;
  align-items: center;
  padding: 3px 8px;
  border-bottom: 1px solid rgba(107, 76, 22, 0.4);
}
.launch-card.is-new { animation: hive-in 780ms ease; }
.launch-main {
  grid-area: main;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.launch-card .avatar { width: 38px; height: 38px; font-size: 0.68rem; }
.launch-copy { display: flex; flex-direction: column; min-width: 0; }
.launch-sym { font-weight: 800; }
.launch-name, .launch-age { color: var(--dim); font-size: 0.72rem; }
.launch-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 18ch; }
.launch-fig {
  grid-area: fig;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
}
.launch-mcap { font-weight: 800; }
.launch-dev { color: var(--muted); }
.launch-dev:empty { display: none; }
.launch-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.curve-block {
  grid-area: curve;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.curve-block[hidden] { display: none; }
.curve {
  flex: 1;
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #2a2114;
  overflow: hidden;
}
.curve-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e89a00, #ffe28a);
}
.curve-label { flex: none; color: var(--gold); font-size: 0.68rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.avatar-gen {
  position: relative;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.38), transparent 42%),
    linear-gradient(160deg, hsl(var(--ava, 38), 86%, 64%), hsl(calc(var(--ava, 38) + 28), 72%, 34%));
  color: #1a1004;
}
.avatar-gen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 1.5l11 6.4v12.7L14 27 3 20.6V8z' fill='none' stroke='%231a1004' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 14px 24px;
}
.avatar-letters { position: relative; z-index: 1; }
.spark { display: block; overflow: visible; }
.spark-up { color: var(--up); }
.spark-down { color: var(--down); }
.spark-flat { color: var(--dim); }
.show-more {
  width: calc(100% - 16px);
  margin: 8px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-weight: 800;
}
.show-more[hidden] { display: none; }
.board-grid.board-grid-lower {
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.75fr);
  margin-top: 8px;
}
@keyframes live-pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 90, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 70, 0); }
}
@keyframes hive-in {
  0% { transform: translateY(-10px); background: rgba(255, 213, 74, 0.24); }
  100% { transform: none; background: transparent; }
}
@keyframes tape-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track, .live-dot, .launch-card.is-new { animation: none; }
}

.market-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(14, 12, 9, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.market-bar p {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.market-src { margin-left: auto; color: var(--dim); }

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 92px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
}
.stat-pill span { color: var(--dim); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.stat-pill strong { font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.sk-pill { width: 64px; height: 14px; }
.swap-amount {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 4px 0 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090807;
}
.swap-amount span { color: var(--dim); font-size: 0.78rem; }
.swap-amount input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 0;
}
.swap-unit { font-weight: 800; color: var(--gold); }
.token-swap .amount-row { flex-wrap: wrap; }
.swap-go { width: 100%; margin: 8px 0; min-height: 48px; font-size: 1rem; }
.swap-go-sell {
  width: 100%;
  margin: 8px 0;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 800;
  background: #5c2420;
  color: #fff8f6;
  border: 1px solid #e07a6a;
}
.about-card h3 { margin-top: 10px; font-size: 0.92rem; }
.about-copy { margin-top: 6px; }
.about-windows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.about-win {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 44px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elev-2);
}
.about-win[aria-pressed="true"] { border-color: var(--gold); }
.about-win span { color: var(--dim); font-size: 0.68rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.about-links .ghost { min-height: 36px; }
.split-block { margin-top: 4px; }
.split-caption { font-variant-numeric: tabular-nums; font-size: 0.82rem; }
.split-bar {
  display: block;
  height: 10px;
  margin-top: 4px;
  background: #e07a6a;
  border-radius: 999px;
  overflow: hidden;
}
.split-bar .holder-fill { border-radius: 0; background: #9ddeb0; }
.trend-rail { display: none; }

@media (min-width: 1024px) {
  .token-rail { max-height: calc(100dvh - var(--header-h, 120px) - 64px); }
}
@media (min-width: 1280px) {
  .token-layout { grid-template-columns: 232px minmax(0, 1fr) 380px; }
  .token-layout.rail-collapsed { grid-template-columns: 52px minmax(0, 1fr) 380px; }
  .trend-rail {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: calc(var(--header-h, 96px) + 8px);
    max-height: calc(100dvh - var(--header-h, 96px) - 56px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(18, 14, 9, 0.94);
  }
  .trend-rail.is-collapsed { overflow: hidden; }
  .trend-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px;
  }
  .trend-rail-head h2 { font-size: 0.85rem; }
  .trend-toggle { min-height: 32px; padding: 4px 8px; }
  .trend-link.is-current { background: #2a2114; }
}
@media (max-width: 860px) {
  .board-tabs { display: flex; overflow-x: auto; gap: 4px; margin-bottom: 8px; }
  .board-tab { flex: none; }
  .board-grid, .live-stage { display: block; }
  .board-col, .live-col { display: none; max-height: none; min-height: 360px; }
  .board-col.is-active, .live-col.is-active { display: flex; }
  .live-col.is-active { max-height: calc(100dvh - 188px); }
  .king-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .king-chart { display: none; }
  .king-id .avatar { width: 64px; height: 64px; }
  .king-sym { font-size: 1.15rem; }
  .king-actions { grid-column: 1 / -1; flex-direction: row; }
  .quick-buy { margin-left: 0; }
  .quick-buy .fine { display: none; }
  .onboard { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 1023px) {
  body.is-token .market-bar { display: none; }
}

.account-slot { position: relative; display: flex; align-items: center; margin-left: auto; }
.header-account { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.header-account-row, .header-wallets { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.header-wallet { white-space: nowrap; min-height: 36px; padding: 6px 10px; font-size: 0.82rem; }
.header-wallet-note { flex-basis: 100%; margin: 0; text-align: right; max-width: 320px; }
.join-hive { white-space: nowrap; padding: 8px 14px; }
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
}
.account-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.account-avatar, .profile-avatar, .avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #3a2a10;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.profile-avatar, .profile-avatar.avatar-fallback { width: 96px; height: 96px; font-size: 2rem; }
.account-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
}
.account-pop-item {
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 0;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
}
.account-pop-item:hover { background: var(--bg-elev-2); }
dialog.account-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(440px, calc(100vw - 24px));
  margin: 96px auto 12px;
  max-height: calc(100dvh - 112px);
  color: var(--text);
}
.wallet-short { display: none; }
.account-dialog::backdrop { background: rgba(0, 0, 0, 0.66); }
.account-card, .profile-page, .profile-edit { max-width: 760px; }
.account-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  max-height: calc(100dvh - 112px);
  overflow: auto;
}
.account-card-head, .account-actions, .avatar-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.account-card h2, .profile-page h1, .profile-edit h1 { margin: 0; }
.account-form { display: grid; gap: 12px; margin-top: 12px; }
.account-form .field, .account-form label { display: grid; gap: 4px; font-weight: 700; }
.account-form input, .account-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
}
.account-password { margin-top: 8px; }
.account-form[hidden] { display: none; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.account-tab {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
}
.account-tab[aria-selected="true"] {
  background: linear-gradient(180deg, #ffd54a, #e89a00);
  color: var(--ink);
  border-color: #ffd54a;
}
.account-solana { display: grid; gap: 8px; margin-top: 12px; }
.account-solana h3 { margin: 0; }
.account-solana .primary, .account-solana .ghost { width: 100%; }
.welcome-form { gap: 8px; }
.wallet-choice { display: grid; gap: 4px; }
.text-button {
  background: none;
  border: 0;
  color: var(--gold);
  padding: 0;
  min-height: 44px;
  text-align: left;
  font-weight: 700;
  text-decoration: underline;
  justify-self: start;
}
.otp-input {
  letter-spacing: 0.28em;
  font-size: 1.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.account-dialog.is-welcome { width: min(560px, calc(100vw - 24px)); }
.account-message:empty { display: none; }
.field-error { color: var(--danger); font-weight: 650; margin: 0; }
.account-form label.check-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.check-row input { width: auto; }
.profile-page, .profile-edit { margin: 12px auto 32px; }
.profile-head { display: flex; gap: 16px; align-items: flex-start; padding: 16px; }
.profile-user { margin: 0; color: var(--gold); font-weight: 800; }
.profile-counts { font-weight: 700; }
.profile-links { margin: 8px 0; padding-left: 18px; }
.profile-hive-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.song-title { font-weight: 800; margin-bottom: 0; }
.song-frame { width: 100%; height: 166px; border: 0; border-radius: 12px; margin-top: 8px; background: #000; }
.profile-song audio { width: 100%; margin-top: 8px; }
.profile-notice { padding: 16px; }
@media (max-width: 720px) {
  .account-slot { flex: 1 1 100%; min-width: 0; }
  .header-account { align-items: stretch; width: 100%; }
  .header-account, .header-wallets, .header-account-row { justify-content: flex-start; max-width: 100%; }
  .header-wallet-note { display: none; }
  .header-account-row { flex-wrap: nowrap; }
  .wallet-long { display: none; }
  .wallet-short { display: inline; }
  .join-hive, .header-wallet { padding: 6px 10px; font-size: 0.78rem; }
  dialog.account-dialog { margin-top: 88px; max-height: calc(100dvh - 100px); }
  .account-card { max-height: calc(100dvh - 100px); }
  .account-label { max-width: 88px; }
  .profile-avatar, .profile-avatar.avatar-fallback { width: 72px; height: 72px; }
  body.is-profile .trust { display: none; }
  .profile-page.stack { gap: 10px; }
  .avatar-edit { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .skeleton { animation: none; }
}
