/* Pharos app. Night sea, one lamp. */
:root {
  --bg: #0a0e15;
  --bg-2: #0d121b;
  --surface: #111826;
  --surface-2: #171f30;
  --surface-3: #1f2839;
  --line: #1f2838;
  --line-2: #2b364a;
  --text: #e8eef4;
  --text-2: #a9b3c3;
  --text-3: #6f7b8e;
  --accent: #ffb224;
  --accent-2: rgba(255, 178, 36, 0.14);
  --accent-3: rgba(255, 178, 36, 0.36);
  --on-accent: #140c00;
  --lamp: #ffb224;
  --lamp-2: rgba(255, 178, 36, 0.1);
  --lamp-3: rgba(255, 178, 36, 0.38);
  --lamp-text: #ffd98a;
  --up: #2fd08c;
  --up-2: rgba(47, 208, 140, 0.14);
  --down: #ff5c5c;
  --down-2: rgba(255, 92, 92, 0.14);
  --eth: #8c9eff;
  --base: #3b82ff;
  --rh: #22c55e;
  --bnb: #f3ba2f;
  --display: "Unbounded", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 10px;
  --r-lg: 14px;
  --side: 236px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a.u { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-3); transition: border-color 120ms ease; }
a.u:hover { border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--text-2); }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.right { text-align: right; }
::selection { background: var(--accent-3); }

/* ---- motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 208, 140, 0.45); } 80% { box-shadow: 0 0 0 9px rgba(47, 208, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 208, 140, 0); } }
@keyframes lampglow { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes sweep { from { transform: rotate(-32deg); } to { transform: rotate(32deg); } }
@keyframes travel { to { stroke-dashoffset: -32; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes flashUp { 0% { color: var(--up); } 100% { color: inherit; } }
@keyframes flashDown { 0% { color: var(--down); } 100% { color: inherit; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }
.main > .wrap { animation: fade 320ms ease-out both; }
.card, .panel, .chip, .ptile, .dark { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(22px, 2.5vw, 28px); }
h2 { font-size: clamp(17px, 1.8vw, 22px); }
h3 { font-size: 14px; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }
.sub { color: var(--text-2); margin: 6px 0 18px; }
.eyebrow { font: 600 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.small { font-size: 12px; color: var(--text-2); }
.lede { font-size: 16px; color: var(--text-2); max-width: 52ch; }

/* ---- the shell ---- */
.app { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: var(--bg-2); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 17px/1 var(--display); letter-spacing: -0.02em; margin: 4px 6px 20px; }
.brand img { width: 30px; height: 30px; margin-top: -2px; filter: drop-shadow(0 0 8px rgba(255, 178, 36, 0.45)); }
.nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--r); font-weight: 600; color: var(--text-2); transition: background-color 140ms ease, color 140ms ease; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.nav a .n { font: 600 11px var(--mono); color: var(--text-3); background: var(--surface-3); padding: 2px 7px; border-radius: 999px; }
.side .launch { margin: 14px 0 6px; }
.side .bottom { margin-top: auto; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 12px; font: 12px/1.6 var(--mono); color: var(--text-3); display: grid; gap: 4px; }
.side .bottom div { display: flex; justify-content: space-between; gap: 8px; }
.side .bottom b { color: var(--text); font-weight: 600; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 14px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(10, 14, 21, 0.9); position: sticky; top: 0; z-index: 5; }
.search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--text-3); transition: border-color 140ms ease, box-shadow 140ms ease; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 13px var(--mono); color: var(--text); outline: none; }
.search input::placeholder { color: var(--text-3); }
.search kbd { border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; font: 11px var(--mono); color: var(--text-3); }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: 0.1em; color: var(--up); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: ping 2s ease-out infinite; }
.live.off { color: var(--text-3); }
.live.off i { background: var(--text-3); animation: none; }
.mbrand { display: none; align-items: center; gap: 8px; font: 600 16px var(--display); letter-spacing: -0.02em; }
.mbrand img { width: 26px; height: 26px; margin-top: -2px; }
.wrap { padding: 22px 24px 60px; max-width: 1280px; }
.tabs { display: none; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .mbrand { display: flex; }
  .top { padding: 10px 14px; gap: 10px; }
  .top .search { max-width: none; }
  .top .search .hint-text { display: none; }
  .top .btn.connect { display: none; }
  .wrap { padding: 16px 14px 96px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: rgba(13, 18, 27, 0.96); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
  .tabs a { text-align: center; font: 600 11px var(--body); color: var(--text-3); padding: 2px 0; transition: color 140ms ease; }
  .tabs a[aria-current="page"] { color: var(--text); }
  .tabs a svg { width: 22px; height: 22px; margin: 0 auto 3px; }
  .tabs a[aria-current="page"] svg { color: var(--accent); }
}

/* ---- buttons and fields ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 700 14px/1 var(--body); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn.lamp, .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.big { min-height: 46px; font-size: 15px; width: 100%; }
.btn.sm { min-height: 32px; padding: 0 10px; font-size: 12px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:not([disabled]):hover { background: var(--surface-3); border-color: var(--text-3); }
  .btn.lamp:not([disabled]):hover, .btn.primary:not([disabled]):hover { background: #ffc24f; border-color: #ffc24f; box-shadow: 0 6px 24px rgba(255, 178, 36, 0.28); }
  .btn.ghost:not([disabled]):hover { background: var(--surface-2); }
}
label { display: block; font-weight: 600; font-size: 12px; color: var(--text-2); margin: 0 0 6px; }
.hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.hint.error { color: var(--down); }
input[type="text"], input[type="number"], input[type="url"], input[type="search"], input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); color: var(--text);
  font: 500 15px/1.2 var(--body); transition: border-color 140ms ease, box-shadow 140ms ease; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); outline: none; }
input.num-in { font-family: var(--mono); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field { margin-bottom: 16px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.icon-btn { min-height: 42px; width: 42px; padding: 0; }
.stepper { display: grid; gap: 10px; }
.stepper .srow { display: grid; grid-template-columns: 1fr 1fr 42px; gap: 10px; align-items: end; }

/* ---- boards ---- */
.board { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; margin-bottom: 22px; }
@media (max-width: 1100px) { .board { grid-template-columns: 1fr; } }
.dark { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--r-lg); padding: 22px 24px; position: relative; overflow: hidden; min-height: 230px; }
.dark .eyebrow { color: var(--text-3); position: relative; }
.dark h2 { font-size: clamp(20px, 2.3vw, 28px); margin: 10px 0 10px; position: relative; max-width: 18ch; }
.dark p { color: var(--text-2); margin: 0 0 16px; max-width: 42ch; position: relative; }
.dark .btn { position: relative; }
.dark .u { position: relative; color: var(--text-2); border-bottom-color: var(--line-2); }
.dark .tower { position: absolute; right: 44px; top: 7%; height: 90%; pointer-events: none; }
.dark .tower svg { height: 100%; width: auto; overflow: visible; }
.dark .tower svg .lampc-glow { filter: drop-shadow(0 0 10px var(--lamp)); animation: lampglow 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.dark.hero { min-height: 290px; margin-bottom: 22px; }
@media (min-width: 900px) { .dark.hero > .eyebrow, .dark.hero > h2, .dark.hero > p, .dark.hero > .actions, .dark.hero > .lamps-row { max-width: calc(100% - 260px); } }
.dark .actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; position: relative; }
.lamps-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; position: relative; }
.lamps-row .lampc { padding: 7px 10px; font-size: 11px; display: flex; gap: 8px; align-items: center; }
.lamps-row .lampc b { margin: 0; font-size: 12px; }
.dark .glow { position: absolute; right: 40px; top: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 178, 36, 0.2), rgba(255, 178, 36, 0) 62%); pointer-events: none; animation: lampglow 4s ease-in-out infinite; }
.dark .beam { position: absolute; left: var(--lx, 80%); top: var(--ly, 20%); width: 560px; height: 90px; margin-top: -45px; transform-origin: 100% 50%; translate: -100% 0; background: linear-gradient(to left, rgba(255, 178, 36, 0.3), rgba(255, 178, 36, 0)); clip-path: polygon(100% 44%, 0 0, 0 100%, 100% 56%); pointer-events: none; animation: sweep 7s var(--ease-in-out) infinite alternate; }
@media (max-width: 700px) { .dark .tower, .dark .beam { display: none; } .dark .glow { right: -80px; top: -140px; } }
.lamps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; position: relative; }
.lampc { border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 10px; padding: 10px 12px; font: 12px/1.45 var(--mono); color: var(--text-3); }
.lampc b { display: block; font: 600 13px var(--body); color: var(--text); margin-bottom: 6px; white-space: nowrap; }
.lamp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px var(--lamp); margin-right: 7px; vertical-align: middle; transition: background-color 300ms ease, box-shadow 300ms ease; }
.lamp-dot.dim { background: var(--line-2); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .lamp-dot:not(.dim) { animation: lampglow 2.4s ease-in-out infinite; } }

/* ---- strips, chips, filters ---- */
.strip { display: flex; gap: 10px; overflow: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 8px 12px 8px 8px; transition: border-color 140ms ease, transform 160ms var(--ease-out); }
.chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.chip .av { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
.chip b { font-weight: 700; display: block; line-height: 1.1; }
.chip small { font: 11px var(--mono); color: var(--text-3); }
.chg { font: 600 12px var(--mono); padding: 3px 7px; border-radius: 6px; background: var(--up-2); color: var(--up); white-space: nowrap; }
.chg.down { background: var(--down-2); color: var(--down); }
.chg:empty { display: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.f { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 600 13px var(--body); cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms var(--ease-out); }
.f:hover { color: var(--text); border-color: var(--text-3); }
.f:active { transform: scale(0.96); }
.f[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters .count { margin-left: auto; font: 12px var(--mono); color: var(--text-3); }

/* ---- coin cards ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 12px; align-content: start; position: relative;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease; }
a.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card .head { display: flex; gap: 12px; align-items: flex-start; }
.av { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-3); color: var(--text); display: grid; place-items: center; font: 600 18px var(--display); flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line-2); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.card .name { font: 700 17px/1.1 var(--body); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.card .name small { font: 12px var(--mono); color: var(--text-3); }
.card .meta { font: 12px var(--mono); color: var(--text-3); margin-top: 5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.dots i.on.ethereum { background: var(--eth); } .dots i.on.base { background: var(--base); } .dots i.on.robinhood { background: var(--rh); } .dots i.on.bnb { background: var(--bnb); }
.card .cap { margin-left: auto; text-align: right; flex: 0 0 auto; }
.card .cap b { display: block; font: 600 18px var(--mono); font-feature-settings: "tnum" 1; }
.card .cap .chg { display: inline-block; margin-top: 4px; }
.spark { width: 100%; height: 42px; display: block; }
.spark .spark-line { fill: none; stroke: var(--up); stroke-width: 1.8; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1100ms ease-out forwards; }
.spark .spark-area { fill: var(--up); opacity: 0.14; animation: fade 900ms ease-out both; }
.spark .spark-line.down { stroke: var(--down); }
.spark .spark-area.down { fill: var(--down); }
.spark .spark-flat { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 4; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { font: 600 10px var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; min-width: 0; }
.stats b { display: block; font: 600 14px var(--mono); color: var(--text); text-transform: none; letter-spacing: 0; margin-top: 3px; font-feature-settings: "tnum" 1; overflow: hidden; text-overflow: ellipsis; }
.cbar { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; }
.cbar i { display: block; transform-origin: left; animation: grow 700ms var(--ease-out) both; }
.cbar .seg.ethereum { background: var(--eth); } .cbar .seg.base { background: var(--base); } .cbar .seg.robinhood { background: var(--rh); } .cbar .seg.bnb { background: var(--bnb); }
.tide { display: flex; align-items: center; gap: 9px; font: 500 12px/1.4 var(--mono); color: var(--lamp-text); background: var(--lamp-2); border: 1px solid var(--lamp-3); border-radius: var(--r); padding: 8px 10px; }
.tide > span.t { flex: 1; min-width: 0; }
.tide i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 10px var(--lamp); animation: lampglow 2.4s ease-in-out infinite; }
.tide.flat { background: var(--surface-2); border-color: var(--line-2); color: var(--text-2); }
.tide.flat i { background: var(--text-3); box-shadow: none; animation: none; }
.bought { display: flex; align-items: center; gap: 10px; font: 11px var(--mono); color: var(--text-3); white-space: nowrap; }
.bought .bar { flex: 1; height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.bought .bar i { display: block; height: 100%; background: var(--text); transition: width 500ms var(--ease-out); transform-origin: left; animation: grow 800ms var(--ease-out) both; }
.flash-up { animation: flashUp 900ms ease-out; }
.flash-down { animation: flashDown 900ms ease-out; }
.skeleton { background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: var(--r-lg); min-height: 240px; border: 1px solid var(--line); }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 36px 20px; text-align: center; color: var(--text-2); }

/* ---- panels, tables, feeds ---- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; min-width: 0; }
.panel .list-wrap { overflow-x: auto; }
.panel h3 { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.panel h3 .small { font-weight: 500; color: var(--text-3); }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.two > *, .stack > *, .grid > * { min-width: 0; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.cols-3 { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cols-3 { grid-template-columns: 1fr; } }
.list { width: 100%; border-collapse: collapse; font-size: 13px; }
.list th { text-align: left; font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 0 10px 10px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.list td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list tr:last-child td { border-bottom: 0; }
.list .num { font-family: var(--mono); font-feature-settings: "tnum" 1; white-space: nowrap; text-align: right; }
.list th.num { text-align: right; }
@media (max-width: 640px) { .list .hide-sm { display: none; } }
.feed { display: grid; gap: 6px; }
.feed .item { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); font-size: 13px; min-width: 0; transition: border-color 140ms ease; }
.feed .item:hover { border-color: var(--line-2); }
.feed .item .what { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.feed .item .when { font: 11px var(--mono); color: var(--text-3); }
.feed .item.new { animation: slideIn 320ms var(--ease-out); }
.pill { font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.pill.flight { background: var(--lamp-2); border: 1px solid var(--lamp-3); color: var(--lamp-text); }
.pill.ok { background: var(--up-2); color: var(--up); }
.pill.bad { background: var(--down-2); color: var(--down); }
.cdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.cdot.ethereum { background: var(--eth); } .cdot.base { background: var(--base); } .cdot.robinhood { background: var(--rh); } .cdot.bnb { background: var(--bnb); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 13px; margin: 0; min-width: 0; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); font-feature-settings: "tnum" 1; overflow-wrap: anywhere; min-width: 0; color: var(--text); }
.copy { border: 1px solid var(--line-2); background: transparent; border-radius: 6px; font: 600 11px var(--mono); padding: 3px 8px; cursor: pointer; color: var(--text-3); transition: color 140ms ease, border-color 140ms ease; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.bigstat { display: grid; gap: 2px; }
.bigstat b { font: 600 clamp(22px, 2.6vw, 30px)/1.1 var(--mono); font-feature-settings: "tnum" 1; }
.bigstat span { font: 12px var(--mono); color: var(--text-3); }
.hbar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.hbar i { display: block; height: 100%; border-radius: 4px; transform-origin: left; animation: grow 800ms var(--ease-out) both; transition: width 500ms var(--ease-out); }

/* ---- steps and status ---- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
.step { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; background: var(--bg-2); display: grid; gap: 6px; font-size: 13px; transition: border-color 300ms ease; }
.step .lampc-ink { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.step .lampc-ink i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background-color 300ms ease, box-shadow 300ms ease; }
.step[data-s="live"] { border-color: var(--lamp-3); }
.step[data-s="live"] .lampc-ink i { background: var(--lamp); box-shadow: 0 0 12px var(--lamp); }
.step[data-s="sent"] .lampc-ink i { background: var(--lamp-3); animation: lampglow 1.2s ease-in-out infinite; }
.step[data-s="failed"] .lampc-ink i { background: var(--down); }
.step .st { font: 11px var(--mono); color: var(--text-3); }
.status-pill { font: 600 12px/1 var(--mono); }
.status-pill[data-s="live"], .status-pill[data-s="claimed"] { color: var(--up); }
.status-pill[data-s="failed"] { color: var(--down); }
.note { border-left: 3px solid var(--lamp); padding: 4px 0 4px 12px; color: var(--text-2); font-size: 13px; }
.error { color: var(--down); font-weight: 600; }
.ok { color: var(--up); font-weight: 600; }

/* ---- the chart (the four coasts) and the schedule curves ---- */
.chart { position: relative; aspect-ratio: 5 / 4; width: 100%; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .contour { fill: none; stroke: var(--line); stroke-width: 1; }
.chart .land { fill: var(--surface-2); }
.chart .shore { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.chart .beam { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 6; fill: none; transition: stroke 300ms ease; }
.chart .beam.lit { stroke: var(--lamp); stroke-width: 2; stroke-dasharray: 10 22; animation: travel 1.4s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 201, 77, 0.7)); }
.chart .tower { fill: var(--text); }
.chart circle.lamp-dot { fill: var(--lamp); animation: none; }
.chart circle.lamp-dot:not(.dim) { filter: drop-shadow(0 0 6px var(--lamp)); }
.chart circle.lamp-dot.dim { fill: var(--line-2); }
.chart text.name { font: 600 15px var(--display); letter-spacing: -0.01em; fill: var(--text); }
.chart text.sub { font: 500 13px var(--mono); fill: var(--text-2); }
.curve { width: 100%; height: 140px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.curve path.line { fill: none; stroke: var(--accent); stroke-width: 2; }
.curve path.area { fill: var(--accent); fill-opacity: 0.14; }
.curve text { font: 11px var(--mono); fill: var(--text-3); }
.curve line.grid { stroke: var(--line); }
.plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.plot .gridline { stroke: var(--line); }
.plot .tick { font: 12px var(--mono); fill: var(--text-3); }
.plot .tick.name { font-size: 13px; fill: var(--text); }
.plot .tick.name.sm { font-size: 11px; }
.plot .close { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.plot .widen { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 6 6; }
.plot .mean { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 4 5; }
.plot .bar { fill: var(--text-2); }
.plot .bar.low { fill: var(--lamp); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--text-2); margin: 10px 0 0; max-width: none; }
.legend .item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-right: 14px; }
.legend .key { display: inline-block; width: 22px; height: 0; border-top: 2.5px solid var(--accent); }
.legend .key.dashed { border-top: 2px dashed var(--text-3); }
.legend .key.lampkey { width: 14px; height: 14px; border: 0; background: var(--lamp); }
.cap { font-size: 12px; line-height: 1.5; color: var(--text-3); margin: 10px 0 0; max-width: none; }
figure.figure { margin: 0; min-width: 0; }

/* ---- toast ---- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg);
  padding: 12px 18px; border-radius: var(--r); font-size: 14px; font-weight: 600; max-width: min(92vw, 520px); z-index: 50; opacity: 1; box-shadow: var(--shadow);
  transition: opacity 200ms ease, transform 200ms var(--ease-out); }
@starting-style { .toast { opacity: 0; transform: translate(-50%, 8px); } }
@media (max-width: 860px) { .toast { bottom: 84px; } }
.wallet-chip { font: 600 13px var(--mono); }

/* ---- the coin page ---- */
.thead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.tleft { display: flex; gap: 14px; align-items: center; min-width: 0; }
.av.big { width: 56px; height: 56px; border-radius: 14px; font-size: 24px; }
.thead h1 small { font-size: 14px; font-weight: 500; }
.thead .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font: 12px var(--mono); color: var(--text-3); margin-top: 6px; }
.tright { display: flex; gap: 26px; flex-wrap: wrap; }
.tright .bigstat b { font-size: clamp(20px, 2.2vw, 26px); }
.verdict { margin-bottom: 14px; font-size: 13px; }
.verdict b { font-weight: 700; }
.prices4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 760px) { .prices4 { grid-template-columns: repeat(2, 1fr); } }
.ptile { text-align: left; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font: 12px/1.4 var(--body); color: var(--text-3); transition: border-color 160ms ease, transform 160ms var(--ease-out), box-shadow 160ms ease; }
.ptile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ptile.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(54, 230, 164, 0.12); }
.ptile:active { transform: scale(0.985); }
.ptile b { color: var(--text); font-size: 13px; font-weight: 700; }
.ptile .p { font: 600 18px var(--mono); color: var(--text); font-feature-settings: "tnum" 1; }
.ptile.off { opacity: 0.6; cursor: default; }
.stack { display: grid; gap: 14px; align-content: start; }
.sealed { margin: 0; padding-left: 18px; font-size: 13px; display: grid; gap: 8px; color: var(--text-2); }
.sealed li::marker { color: var(--accent); }
.sealed li.links { list-style: none; margin-left: -18px; color: var(--text-3); }
.amount { display: flex; align-items: center; gap: 8px; }
.amount input { font-size: 22px; min-height: 50px; font-weight: 600; }
.amount .unit { white-space: nowrap; color: var(--text-3); font-size: 13px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick .pill { cursor: pointer; border: 1px solid var(--line-2); background: transparent; transition: border-color 140ms ease, color 140ms ease; }
.quick .pill:hover { border-color: var(--accent); color: var(--accent); }
.receipt { margin-top: 12px; padding: 12px; border: 1px dashed var(--lamp-3); border-radius: var(--r); background: var(--lamp-2); animation: rise 320ms var(--ease-out) both; }
.receipt .eyebrow { margin-bottom: 8px; color: var(--lamp-text); }
.receipt .kv dd { font-weight: 600; }
#trade .btn.big { margin-top: 12px; }

/* ---- live page ---- */
.bigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 760px) { .bigs { grid-template-columns: repeat(2, 1fr); } }
.bigstat.panel { padding: 14px 16px; }
.cbrow { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cbrow:last-child { border-bottom: 0; }
.cbhead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 10px; }
.cbhead b { font-weight: 600; white-space: nowrap; }
.hbar .seg.ethereum { background: var(--eth); } .hbar .seg.base { background: var(--base); } .hbar .seg.robinhood { background: var(--rh); } .hbar .seg.bnb { background: var(--bnb); }

/* ---- launch page ---- */
.launch-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; align-items: start; }
@media (max-width: 960px) { .launch-grid { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 78px; }
@media (max-width: 960px) { .sticky { position: static; } }
.preview { display: grid; gap: 12px; min-height: 0; }
.preview .pname { font: 600 20px/1.1 var(--display); letter-spacing: -0.02em; margin: 6px 0 2px; }
.preview .pname small { font: 600 13px var(--mono); color: var(--text-3); margin-left: 8px; }
.preview .plamps { display: flex; gap: 14px; align-items: center; font: 600 11px var(--mono); letter-spacing: 0.08em; color: var(--text-3); text-transform: uppercase; flex-wrap: wrap; }
.preview .plamps i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); margin-right: 6px; vertical-align: middle; transition: background-color 300ms ease, box-shadow 300ms ease; }
.preview .plamps i.on { background: var(--lamp); box-shadow: 0 0 10px var(--lamp); }
.preview .readout { font: 13px/1.55 var(--mono); color: var(--text-2); display: grid; gap: 4px; }
.preview .readout b { color: var(--text); font-weight: 600; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.form-section { display: grid; gap: 2px; }
.form-section h2 { margin-bottom: 10px; }

/* ---- docs ---- */
.docs { max-width: 1040px; }
.docs .sub { font-size: 15px; max-width: 70ch; }
.panel.doc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; margin-bottom: 14px; align-items: center; }
.panel.doc h2 { margin: 6px 0 10px; }
.panel.doc p { font-size: 14px; color: var(--text-2); }
@media (max-width: 860px) { .panel.doc { grid-template-columns: 1fr; } }
.panel.doc .two { grid-column: 1 / -1; }
.panel.doc .figure { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.panel.doc .curve { border: 0; background: transparent; height: 150px; }
