/* Aether — the look: warm light over the clouds, in the brand's gold and brown. Inter for the interface, Aether Serif
   (a Lora subset) for display type, tabular figures for every number. Light only. No inline styles anywhere (the content
   policy forbids them): every state is a class or a data attribute here. */
@font-face { font-family: 'Inter'; src: url('/aether/fonts/Inter.woff2?v=ab72c10f9fb48728') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aether Serif'; src: url('/aether/fonts/AetherSerif-SemiBold.woff?v=5866bba08e952ce1') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aether Serif'; src: url('/aether/fonts/AetherSerif-SemiBoldItalic.woff?v=8cc2cf7b6dd40d4e') format('woff'); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fffaee; --bg-2: #fff4da; --surface: #ffffff; --surface-2: #fff8e8; --surface-3: #f8ebc9; --surface-glass: rgba(255, 252, 244, 0.86);
  --line: rgba(110, 66, 20, 0.11); --line-2: rgba(110, 66, 20, 0.18); --line-3: rgba(110, 66, 20, 0.3);
  --text: #3a1f0c; --text-2: #6e4b2e; --text-3: #a07f60; --text-inverse: #3a1f0c;
  --mint: #a8730f; --iris: #c99325; --lilac: #e3b453; --gold: #b07a12; --up: #1d9a60; --down: #cf3d58; --warn: #b07010;
  --brand-gold: #ecca6b; --brand-brown: #55290e;
  --aurora: linear-gradient(115deg, #f6df9a 0%, #ecca6b 48%, #e2b14f 100%);
  --aurora-text: linear-gradient(115deg, #c9932a 0%, #9a6216 55%, #6b3a12 100%);
  --aurora-soft: linear-gradient(115deg, rgba(236, 202, 107, 0.22), rgba(255, 236, 190, 0.3) 52%, rgba(226, 177, 79, 0.18));
  --glow: 0 0 0 1px rgba(201, 147, 37, 0.22), 0 10px 40px -12px rgba(201, 147, 37, 0.35);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 46px -28px rgba(110, 66, 20, 0.38);
  --radius: 18px; --radius-sm: 12px; --radius-xs: 9px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Aether Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --page: 1280px; --gutter: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--surface-3) var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); font-feature-settings: 'cv11', 'ss01';
  background-image: radial-gradient(1200px 560px at 50% -14%, rgba(255, 233, 170, 0.75), transparent 64%), radial-gradient(900px 480px at 8% -6%, rgba(236, 202, 107, 0.28), transparent 60%), radial-gradient(900px 480px at 94% -8%, rgba(255, 244, 214, 0.9), transparent 62%), linear-gradient(180deg, #fffaee 0%, #fffdf7 60%, #fffaee 100%);
  background-attachment: fixed; background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(236, 202, 107, 0.45); }
[hidden] { display: none !important; }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-feature-settings: 'tnum', 'zero'; letter-spacing: -0.01em; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.up { color: var(--up); } .down { color: var(--down); } .gold { color: var(--gold); }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
.aurora-text { background: var(--aurora-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--page), 100% - 2 * var(--gutter)); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font: 600 clamp(34px, 4.6vw, 56px)/1.05 var(--serif); letter-spacing: -0.025em; }
h1 em, h2 em { font-style: italic; background: var(--aurora-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
h2 { font: 600 22px/1.2 var(--serif); letter-spacing: -0.015em; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0; }

/* ---- header ------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 238, 0.86); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(201, 147, 37, 0.25)); }
.brand .wordmark { font: italic 600 26px/1 var(--serif); letter-spacing: -0.02em; color: var(--text); }
.brand:hover .wordmark { color: var(--text); }
.brand .net { font: 600 10px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-2); padding: 4px 6px; border-radius: 6px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.search { position: relative; flex: 1; max-width: 360px; margin-left: auto; }
.search input { width: 100%; height: 40px; padding: 0 40px 0 38px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); outline: none; }
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: rgba(201, 147, 37, 0.45); box-shadow: 0 0 0 4px rgba(201, 147, 37, 0.08); }
.search .icon { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.search kbd { position: absolute; right: 10px; top: 9px; font: 600 11px/1 var(--font); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 7px; }
.search-results { position: absolute; top: 46px; left: 0; right: 0; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; max-height: 360px; overflow: auto; z-index: 60; }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.search-results a:hover, .search-results a.is-active { background: var(--surface-3); color: var(--text); }
.search-results .empty { padding: 12px; color: var(--text-3); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.price-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.price-chip .hype-dot { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9fffa, #8cf2dc 45%, #2c8f7d); box-shadow: 0 0 12px rgba(140, 242, 220, 0.45); }
.price-chip .label { color: var(--text-3); font-weight: 500; font-size: 12px; }
.menu-toggle { display: none; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; }
.account-chip:hover { border-color: var(--line-3); }
.account-menu { position: absolute; right: 0; top: 48px; min-width: 230px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); z-index: 60; }
.account-menu a, .account-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; color: var(--text-2); }
.account-menu a:hover, .account-menu button:hover { background: var(--surface-3); color: var(--text); }
.account-menu .who { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.account-menu .who strong { display: block; color: var(--text); }
.anchor { position: relative; }
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; background: conic-gradient(from var(--a1, 0deg), hsl(var(--h1, 170) 80% 70%), hsl(var(--h2, 230) 85% 72%), hsl(var(--h3, 280) 80% 76%), hsl(var(--h1, 170) 80% 70%)); box-shadow: inset 0 0 0 2px rgba(255, 252, 245, 0.35); }
.avatar.lg { width: 72px; height: 72px; }

/* ---- live tape ---------------------------------------------------------------------------------------------- */
.tape { border-bottom: 1px solid var(--line); background: #fff4da; overflow: hidden; height: 36px; display: flex; align-items: center; }
.tape .live { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 var(--gutter); font: 700 11px/1 var(--font); letter-spacing: 0.14em; color: var(--mint); height: 100%; background: #fff4da; position: relative; z-index: 2; }
.tape .live::after { content: ''; position: absolute; top: 0; bottom: 0; right: -44px; width: 44px; background: linear-gradient(90deg, #fff4da 35%, rgba(255, 244, 218, 0)); pointer-events: none; }
.tape .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(201, 147, 37, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 147, 37, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(201, 147, 37, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 147, 37, 0); } }
.tape .track { display: flex; gap: 28px; white-space: nowrap; animation: marquee 60s linear infinite; padding-left: 8px; }
.tape:hover .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape .item { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.tape .item img, .tape .item .mini { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.tape .item .mini.letter { font-size: 8px; }
.tape a.item:hover strong { color: var(--mint); }
.tape .item strong { color: var(--text); font-weight: 600; }
.tape .item .kind { font-weight: 700; font-size: 11px; letter-spacing: 0.04em; }
.tape .item .kind.buy { color: var(--up); } .tape .item .kind.sell { color: var(--down); } .tape .item .kind.launch { color: var(--gold); }
.tape .quiet { color: var(--text-3); font-size: 12.5px; padding-left: 44px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .tape .track { animation: none; } .tape .live i { animation: none; } }

/* ---- footer ------------------------------------------------------------------------------------------------- */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-3); font-size: 13px; }
.site-footer .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer .brand .wordmark { font-size: 20px; }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .fine { margin-top: 14px; max-width: 760px; line-height: 1.6; }

/* ---- buttons, inputs, chips --------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s, box-shadow .15s, transform .05s; }
.btn:hover { border-color: var(--line-3); background: var(--surface-3); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--aurora); border-color: transparent; color: var(--text-inverse); box-shadow: 0 8px 28px -10px rgba(201, 147, 37, 0.55); }
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 10px 32px -8px rgba(214, 170, 80, 0.6); color: var(--text-inverse); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface); color: var(--text); }
.btn.danger { border-color: rgba(207, 61, 88, 0.35); color: var(--down); background: rgba(207, 61, 88, 0.06); }
.btn.small { height: 32px; padding: 0 11px; border-radius: 9px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.big { height: 52px; font-size: 16px; border-radius: 14px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; filter: grayscale(0.3); box-shadow: none; }
.btn .spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--mint); font-weight: 500; }
.link:hover { text-decoration: underline; }
.field { display: grid; gap: 7px; align-content: start; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.field .hint, .hint { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.input, .textarea, .select { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(201, 147, 37, 0.5); box-shadow: 0 0 0 4px rgba(201, 147, 37, 0.08); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input.is-bad { border-color: rgba(207, 61, 88, 0.6); }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); overflow: hidden; }
.input-group:focus-within { border-color: rgba(201, 147, 37, 0.5); box-shadow: 0 0 0 4px rgba(201, 147, 37, 0.08); }
.input-group .input { border: 0; border-radius: 0; background: transparent; box-shadow: none; min-width: 0; }
.input-group .addon { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--text-2); font-weight: 600; border-left: 1px solid var(--line); white-space: nowrap; }
.input-group .prefix { display: inline-flex; align-items: center; padding-left: 13px; color: var(--text-3); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.chip.mint { color: var(--mint); border-color: rgba(201, 147, 37, 0.3); background: rgba(201, 147, 37, 0.07); }
.chip.iris { color: var(--iris); border-color: rgba(214, 170, 80, 0.3); background: rgba(214, 170, 80, 0.08); }
.chip.gold { color: var(--gold); border-color: rgba(201, 147, 37, 0.32); background: rgba(201, 147, 37, 0.08); }
.chip.down { color: var(--down); border-color: rgba(207, 61, 88, 0.3); background: rgba(207, 61, 88, 0.07); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.copy { border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); border-radius: 8px; height: 26px; padding: 0 8px; font-size: 12px; font-weight: 600; }
.copy:hover { color: var(--text); border-color: var(--line-3); }
.segments { display: inline-flex; padding: 4px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.segments button { height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; color: var(--text-2); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.segments button:hover { color: var(--text); }
.segments button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.segments button:disabled { opacity: .45; }
.segments.full { display: flex; width: 100%; }
.segments.full button { flex: 1; justify-content: center; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.notice.warn { border-color: rgba(176, 112, 16, 0.35); background: rgba(176, 112, 16, 0.06); color: #7a4b06; }
.notice.bad { border-color: rgba(207, 61, 88, 0.35); background: rgba(207, 61, 88, 0.06); color: #9c2238; }
.notice.good { border-color: rgba(29, 154, 96, 0.35); background: rgba(29, 154, 96, 0.06); color: #126b42; }
.notice .ico { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.status-line { font-size: 13px; color: var(--text-2); min-height: 20px; }
.status-line.bad { color: var(--down); } .status-line.good { color: var(--up); } .status-line.warn { color: var(--warn); }

/* ---- cards, tables, dialogs --------------------------------------------------------------------------------- */
.card { position: relative; background: linear-gradient(180deg, rgba(110, 66, 20, 0.025), rgba(110, 66, 20, 0.005)), var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 18px; }
.card-body { padding: 18px 20px; }
.card.halo::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--aurora); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.stat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.stat span { font-size: 12px; color: var(--text-3); font-weight: 500; }
.stat strong { font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-3); font-size: 13px; }
.facts dd { margin: 0; text-align: right; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.facts .total dd { font-size: 17px; color: var(--mint); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-weight: 600; color: var(--text-3); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(110, 66, 20, 0.015); }
table.data .side-buy { color: var(--up); font-weight: 600; } table.data .side-sell { color: var(--down); font-weight: 600; }
table.data td.right, table.data th.right { text-align: right; }
.empty { padding: 34px 20px; text-align: center; color: var(--text-3); }
.empty h3 { color: var(--text-2); font: 600 20px/1.3 var(--serif); margin-bottom: 6px; }
dialog { border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface-2); color: var(--text); padding: 0; box-shadow: 0 40px 120px -20px rgba(110, 66, 20, 0.28); width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); }
dialog::backdrop { background: rgba(58, 31, 12, 0.72); backdrop-filter: blur(4px); }
dialog .dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
dialog .dialog-body { padding: 18px 20px; display: grid; gap: 14px; overflow: auto; max-height: calc(100vh - 160px); }
.wallet-list { display: grid; gap: 8px; }
.wallet-list button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; text-align: left; }
.wallet-list button:hover { border-color: rgba(201, 147, 37, 0.4); }
.wallet-list img { width: 28px; height: 28px; border-radius: 8px; }
.toast-zone { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 80; width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.toast { padding: 12px 14px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13.5px; animation: rise .25s ease-out; }
.toast.bad { border-color: rgba(207, 61, 88, 0.45); } .toast.good { border-color: rgba(29, 154, 96, 0.45); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.progress { position: relative; height: 6px; border-radius: 999px; background: rgba(110, 66, 20, 0.12); overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--aurora); box-shadow: 0 0 12px rgba(201, 147, 37, 0.5); }
.progress.done i { background: linear-gradient(90deg, var(--gold), #f6df9a); }
.progress.big { height: 10px; }
.coin-img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; background: var(--surface-3); flex: none; }
.coin-img.sm { width: 32px; height: 32px; border-radius: 10px; }
.coin-img.lg { width: 76px; height: 76px; border-radius: 22px; }
.letter { display: inline-grid; place-items: center; font-weight: 700; color: var(--text-inverse); background: var(--aurora); }
.pair-badge { display: inline-flex; align-items: center; gap: 6px; }
.pair-badge .pair-logo { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: var(--surface-3); display: inline-grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--text-inverse); }
.pair-logo.hype { background: radial-gradient(circle at 35% 30%, #e9fffa, #8cf2dc 45%, #2c8f7d); }
.pair-logo.stable { background: linear-gradient(135deg, #8fb6ff, #4f7ff0); color: #fff; }
.pair-logo.other { background: var(--aurora); }

/* ---- page frame --------------------------------------------------------------------------------------------- */
main { padding-top: 28px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head .sub { color: var(--text-2); margin-top: 10px; font-size: 16px; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; }
.loading { color: var(--text-3); padding: 40px 0; text-align: center; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---- home ---------------------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; }
.feature { padding: 22px; overflow: hidden; }
.feature::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(214, 170, 80, 0.16), transparent 60%); pointer-events: none; }
.feature-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; position: relative; z-index: 1; }
.feature-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.feature-id h2 { font-size: 30px; }
.feature-id .ticker { color: var(--text-2); font-weight: 600; margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature-cap { text-align: right; }
.feature-cap strong { display: block; font: 600 34px/1 var(--serif); letter-spacing: -0.02em; }
.feature-cap span { color: var(--text-3); font-size: 12.5px; }
.feature .chart { margin: 18px -6px 6px; height: 210px; position: relative; z-index: 1; }
.feature-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.feature-empty { display: grid; place-items: center; text-align: center; gap: 14px; min-height: 380px; padding: 30px; position: relative; z-index: 1; }
.feature-empty img { width: 92px; height: 92px; filter: drop-shadow(0 12px 40px rgba(201, 147, 37, 0.35)); }
.feature-empty h2 { font-size: 30px; }
.feature-empty p { color: var(--text-2); max-width: 420px; }
.rising .row { display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.rising .row:last-child { border-bottom: 0; }
.rising .row:hover { background: rgba(110, 66, 20, 0.018); }
.rising .rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--text-2); border: 1px solid var(--line-2); }
.rising .name strong { display: block; font-weight: 650; }
.rising .name span { color: var(--text-3); font-size: 12.5px; }
.rising .right { text-align: right; min-width: 110px; }
.rising .right strong { display: block; font-variant-numeric: tabular-nums; }
.rising .right .progress { margin-top: 6px; }
.rising .right span { font-size: 11.5px; color: var(--text-3); }
.brightest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bright { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.bright:hover { border-color: var(--line-3); }
.bright .who { min-width: 0; flex: 1; }
.bright .who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bright .who span { color: var(--text-3); font-size: 12.5px; }
.bright .cap { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.bright .cap span { display: block; color: var(--text-3); font-weight: 500; font-size: 11.5px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button { position: relative; height: 38px; padding: 0 14px; border: 0; background: transparent; color: var(--text-2); font-weight: 600; border-radius: 10px; }
.tabs button:hover { color: var(--text); background: var(--surface); }
.tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; background: var(--aurora); border-radius: 2px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters .segments button { height: 30px; padding: 0 11px; font-size: 13px; }
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.coin-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.coin-card:hover { transform: translateY(-2px); border-color: var(--line-3); box-shadow: var(--shadow), 0 20px 50px -30px rgba(201, 147, 37, 0.35); color: var(--text); }
.coin-card .cover { position: relative; aspect-ratio: 16 / 11; background: var(--surface-3); overflow: hidden; }
.coin-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.coin-card:hover .cover img { transform: scale(1.04); }
.coin-card .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 252, 245, 0) 45%, rgba(255, 252, 245, 0.85)); }
.coin-card .badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.coin-card .badges .chip { background: rgba(255, 252, 245, 0.72); backdrop-filter: blur(6px); }
.coin-card .over { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.coin-card .over strong { font: 600 19px/1.15 var(--serif); }
.coin-card .over .tick { color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.coin-card .body { padding: 13px 14px 14px; display: grid; gap: 10px; }
.coin-card .line { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.coin-card .cap { font-size: 18px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.coin-card .cap small { color: var(--text-3); font-weight: 500; font-size: 11px; margin-left: 4px; }
.coin-card .age { font-size: 12px; color: var(--text-3); }
.coin-card .pct { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.coin-list { display: grid; gap: 0; }
.coin-list .head, .coin-list a { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr 1fr 1fr 1.3fr 0.8fr; gap: 12px; align-items: center; padding: 11px 16px; }
.coin-list .head { color: var(--text-3); font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--line); }
.coin-list a { border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.coin-list a:hover { background: rgba(110, 66, 20, 0.02); color: var(--text); }
.coin-list .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coin-list .who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-list .who span { color: var(--text-3); font-size: 12px; }
.more { display: flex; justify-content: center; margin-top: 18px; }

/* ---- launch -------------------------------------------------------------------------------------------------- */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
.step-card .card-head h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.step-no { width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; font: 700 13px/1 var(--font); color: var(--text-inverse); background: var(--aurora); }
.step-card .card-body { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticker-state { font-size: 12.5px; display: flex; align-items: center; gap: 6px; min-height: 18px; }
.ticker-state.free { color: var(--up); } .ticker-state.taken { color: var(--warn); } .ticker-state.checking { color: var(--text-3); }
.dropzone { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--line-3); background: var(--bg-2); }
.dropzone.is-over { border-color: var(--mint); background: rgba(201, 147, 37, 0.05); }
.dropzone .preview { width: 120px; height: 120px; border-radius: 22px; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; color: var(--text-3); }
.dropzone .preview img { width: 100%; height: 100%; object-fit: cover; }
.dropzone .preview .icon { width: 30px; height: 30px; }
.dropzone .copy-block { display: grid; gap: 8px; justify-items: start; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { display: grid; gap: 8px; align-content: start; text-align: left; padding: 15px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); min-height: 132px; }
.choice:hover { border-color: var(--line-3); color: var(--text); }
.choice[aria-pressed="true"] { border-color: rgba(201, 147, 37, 0.55); background: linear-gradient(180deg, rgba(201, 147, 37, 0.07), rgba(214, 170, 80, 0.04)); color: var(--text); box-shadow: var(--glow); }
.choice strong { color: var(--text); font-size: 15px; }
.choice .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--mint); }
.choice[aria-pressed="true"] .ico { background: var(--aurora); color: var(--text-inverse); }
.choice small { font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.tier-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.tier-card .end { text-align: center; }
.tier-card .end strong { display: block; font: 600 26px/1 var(--serif); }
.tier-card .end span { font-size: 12px; color: var(--text-3); }
.tier-card .path { height: 54px; width: 120px; }
.fee-line { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-2); }
.preview-card { position: sticky; top: 90px; }
.preview-coin { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.preview-coin .coin-img { width: 64px; height: 64px; border-radius: 20px; }
.preview-coin h3 { font: 600 22px/1.15 var(--serif); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.flow li { list-style: none; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--text-3); text-align: center; }
.flow li i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-3); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.flow li.is-done i { background: var(--aurora); border-color: transparent; color: var(--text-inverse); }
.flow li.is-current { color: var(--text); }
.flow li.is-current i { border-color: var(--mint); color: var(--mint); box-shadow: 0 0 0 4px rgba(201, 147, 37, 0.12); }
.flow ol { display: contents; }
.launch-actions { padding: 18px 20px; display: grid; gap: 12px; }
.disclosure { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.mine-list { display: grid; gap: 10px; }
.mine-list a, .mine-list .row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.mine-list .grow { flex: 1; min-width: 0; }
.mine-list strong { display: block; }
.mine-list span { font-size: 12.5px; color: var(--text-3); }

/* ---- coin ---------------------------------------------------------------------------------------------------- */
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-weight: 500; margin-bottom: 16px; }
.coin-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.coin-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.coin-id h1 { font-size: clamp(30px, 3.6vw, 44px); }
.coin-id .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; color: var(--text-2); font-weight: 600; }
.coin-cap { text-align: right; }
.coin-cap span { display: block; color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.coin-cap strong { font: 600 40px/1.1 var(--serif); letter-spacing: -0.02em; }
.coin-cap small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.chart-card .chart { height: 330px; padding: 6px 4px 0; }
.chart-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 20px 16px; color: var(--text-3); font-size: 12px; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .grid-line { stroke: rgba(110, 66, 20, 0.07); }
.chart .axis-label { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart .hover-line { stroke: rgba(58, 31, 12, 0.35); stroke-dasharray: 3 4; }
.chart .hover-dot { fill: var(--mint); stroke: var(--bg); stroke-width: 2; }
.chart .tip { fill: var(--surface-3); stroke: var(--line-3); }
.chart .tip-text { fill: var(--text); font-size: 12px; font-family: var(--font); font-weight: 600; }
.chart .tip-sub { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--text-3); gap: 8px; align-content: center; }
.chart-empty h3 { color: var(--text-2); font: 600 20px/1.3 var(--serif); }
.trade-card .card-body { display: grid; gap: 14px; }
.trade-card .segments.full button[data-side="buy"][aria-pressed="true"] { background: rgba(29, 154, 96, 0.16); color: var(--up); box-shadow: inset 0 0 0 1px rgba(29, 154, 96, 0.35); }
.trade-card .segments.full button[data-side="sell"][aria-pressed="true"] { background: rgba(207, 61, 88, 0.14); color: var(--down); box-shadow: inset 0 0 0 1px rgba(207, 61, 88, 0.35); }
.amount-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { height: 30px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.presets button:hover { color: var(--text); border-color: var(--line-3); }
.quote { font-size: 13px; color: var(--text-2); min-height: 20px; line-height: 1.5; }
.quote strong { color: var(--text); }
.slippage { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-3); }
.slippage .input { width: 70px; min-height: 30px; padding: 4px 8px; text-align: right; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.progress-block { display: grid; gap: 8px; }
.progress-block .line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.share-card .owed { font: 600 30px/1.1 var(--serif); letter-spacing: -0.02em; }
.share-card .owed small { font: 600 14px var(--font); color: var(--text-2); margin-left: 6px; }
.share-card .recipient { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.redirect-form { display: grid; gap: 10px; padding-top: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 13px; font-weight: 600; color: var(--text-2); }
.socials a:hover { color: var(--text); border-color: var(--line-3); }
.events { display: grid; gap: 0; }
.events .ev { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.events .ev:last-child { border-bottom: 0; }
.events .ev i { width: 8px; height: 8px; border-radius: 50%; background: var(--iris); margin-top: 7px; }
.events .ev strong { display: block; font-size: 13.5px; }
.events .ev p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.events .ev time { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.holder-bar { height: 4px; border-radius: 2px; background: var(--aurora); width: var(--w, 0%); min-width: 2px; }

/* ---- profile ------------------------------------------------------------------------------------------------- */
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.profile-head .addr { display: flex; gap: 8px; align-items: center; color: var(--text-2); margin-top: 6px; flex-wrap: wrap; }
.claim-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.claim-row:last-child { border-bottom: 0; }

/* ---- bridge -------------------------------------------------------------------------------------------------- */
.bridge-grid { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 32px; align-items: start; }
.bridge-pitch { padding-top: 18px; }
.bridge-pitch h1 { font-size: clamp(40px, 5vw, 64px); }
.bridge-pitch .sub { color: var(--text-2); margin-top: 16px; font-size: 17px; max-width: 520px; line-height: 1.6; }
.route-art { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--text-2); font-weight: 600; }
.route-art .node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.route-art .beam { flex: 1; max-width: 170px; height: 2px; background: linear-gradient(90deg, transparent, var(--mint), var(--iris), transparent); background-size: 200% 100%; animation: beam 2.4s linear infinite; border-radius: 2px; }
@keyframes beam { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.steps-3 .card { padding: 16px; }
.steps-3 b { font: 600 13px var(--font); color: var(--mint); letter-spacing: .1em; }
.steps-3 h3 { margin: 8px 0 6px; font: 600 17px/1.25 var(--serif); }
.steps-3 p { font-size: 13px; color: var(--text-2); }
.bridge-card .card-body { display: grid; gap: 12px; }
.leg { padding: 14px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.leg .top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-3); }
.leg .chain { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 600; }
.leg .amount-row { display: flex; align-items: center; gap: 10px; }
.leg .amount-row input { flex: 1; min-width: 0; width: 0; border: 0; background: transparent; font: 600 30px/1.1 var(--font); color: var(--text); outline: none; font-variant-numeric: tabular-nums; padding: 0; }
.leg .amount-row input::placeholder { color: var(--text-3); }
.leg .asset { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; }
.swap-dir { display: grid; place-items: center; margin: -6px 0; position: relative; z-index: 1; }
.swap-dir button { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; }
.swap-dir button:hover { color: var(--mint); border-color: rgba(201, 147, 37, 0.4); }
.chain-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.chain-dot.hyperevm { background: radial-gradient(circle at 35% 30%, #e6fff9, #50d2b4 50%, #146a5b); }
.chain-dot.elysium { background: radial-gradient(circle at 35% 30%, #f2f4ff, #9db4ff 50%, #4b3fb0); }
.history .item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.history .item:last-child { border-bottom: 0; }

/* ---- docs ---------------------------------------------------------------------------------------------------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.doc nav { position: sticky; top: 92px; display: grid; gap: 2px; }
.doc nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: 14px; }
.doc nav a:hover { background: var(--surface); color: var(--text); }
.doc article { max-width: 780px; }
.doc article section { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.doc article h2 { font-size: 28px; margin-bottom: 12px; }
.doc article h3 { margin: 18px 0 6px; font-size: 16px; }
.doc article p, .doc article li { color: var(--text-2); line-height: 1.7; }
.doc article p + p { margin-top: 10px; }
.doc article ul { padding-left: 20px; display: grid; gap: 6px; }
.doc .callout { margin: 14px 0; }
.doc table.data td { white-space: normal; }

/* ---- admin --------------------------------------------------------------------------------------------------- */
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-grid .wide { grid-column: 1 / -1; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form .input { width: auto; flex: 1; min-width: 160px; }
.flag-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.flag-row:last-child { border-bottom: 0; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-3); transition: transform .15s, background .15s; }
.switch[aria-checked="true"] { background: rgba(201, 147, 37, 0.18); border-color: rgba(201, 147, 37, 0.5); }
.switch[aria-checked="true"]::after { transform: translateX(18px); background: var(--mint); }
details.launch-row { border-bottom: 1px solid var(--line); }
details.launch-row summary { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1fr auto; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; align-items: center; font-size: 13px; }
details.launch-row summary::-webkit-details-marker { display: none; }
details.launch-row[open] summary { background: rgba(110, 66, 20, 0.02); }
details.launch-row .inner { padding: 6px 16px 18px; display: grid; gap: 12px; }
pre.code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 12.5px; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---- responsive ---------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .search { max-width: 260px; }
  .price-chip .label { display: none; }
  .hero, .grid-2, .launch-grid, .bridge-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-card { position: static; }
  .brightest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .site-header .bar { height: 60px; gap: 10px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 14px; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
  .search { display: none; }
  .search.is-open { display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: 66px; max-width: none; }
  .search-toggle { display: inline-grid !important; }
  .price-chip { display: none; }
  .brand .wordmark { font-size: 23px; }
  .brand .net { display: none; }
  .coin-list .head { display: none; }
  .coin-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .coin-list a > :nth-child(n+3) { display: none; }
  .choice-grid, .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .feature-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-stats .stat:last-child { grid-column: 1 / -1; }
  .feature-top { flex-direction: column; }
  .feature-cap { text-align: left; }
  .coin-cap { text-align: left; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); }
  details.launch-row summary { grid-template-columns: minmax(0, 1fr) auto; }
  details.launch-row summary > :nth-child(n+2):not(:last-child) { display: none; }
  .dropzone { grid-template-columns: 88px 1fr; }
  .dropzone .preview { width: 88px; height: 88px; }
  .tabs button[aria-selected="true"]::after { display: none; }
  .claim-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .claim-row > :nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .brightest { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn.launch-cta { display: none; }
  .coins { grid-template-columns: minmax(0, 1fr); }
  .tier-card { grid-template-columns: 1fr; text-align: center; }
  .tier-card .path { margin: 0 auto; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
}
.search-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }

/* ---- additions: shared bits the pages build ------------------------------------------------------------------- */
.hype-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #e9fffa, #8cf2dc 45%, #2c8f7d); box-shadow: 0 0 10px rgba(140, 242, 220, 0.35); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats-row .stat span:last-child:not(:first-child) { font-size: 11.5px; }
.empty-page { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 52px 24px; max-width: 640px; margin: 24px auto; }
.empty-page h1 { font-size: clamp(30px, 4vw, 44px); }
.empty-page img { filter: drop-shadow(0 12px 40px rgba(201, 147, 37, 0.35)); }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.card-body.stack, .card-body .stack { display: grid; gap: 14px; }
.notice .spinner { flex: none; margin-top: 2px; }
.status-line:empty { display: none; }
.quote.warn, .hint.bad { color: var(--warn); }
.hint.bad { color: var(--down); }
.ticker-state .icon { width: 15px; height: 15px; flex: none; }
.socials .coin-img.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }
.data .avatar, .recipient .avatar { width: 20px; height: 20px; vertical-align: middle; display: inline-block; }
.recipient .avatar { width: 30px; height: 30px; }
.recipient .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.account-chip .avatar { width: 26px; height: 26px; }
.wallet-list .avatar { width: 28px; height: 28px; }
.feature-id:hover h2 { color: var(--mint); }
.feature-id .eyebrow { margin-bottom: 6px; }
.feature .stat strong { font-size: 17px; }
.feature .stat .progress { margin-top: 6px; }
.feature-empty .eyebrow { justify-content: center; }
.coin-head .coin-id .meta + .meta { margin-top: 6px; }
.coin-head .copy { height: 24px; }
details.links { border-top: 1px dashed var(--line); padding-top: 12px; }
details.links > summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 13.5px; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.links > summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--mint); font-weight: 700; }
details.links[open] > summary::before { content: '–'; }
details.links > summary::-webkit-details-marker { display: none; }
details.links[open] > summary { margin-bottom: 12px; }
details.links .inline-form { margin-bottom: 8px; }
.pair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pair-choice { display: grid; gap: 4px; justify-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: left; font-weight: 600; }
.pair-choice:hover { border-color: var(--line-3); }
.pair-choice[aria-pressed="true"] { border-color: rgba(201, 147, 37, 0.55); background: linear-gradient(180deg, rgba(201, 147, 37, 0.07), rgba(214, 170, 80, 0.04)); box-shadow: var(--glow); }
.pair-choice .faint { font-size: 12px; font-weight: 500; }
.pair-choice:disabled, .choice:disabled, .presets button:disabled { opacity: 0.55; }
.dropzone.is-locked { opacity: 0.7; pointer-events: none; }
.input:disabled, .textarea:disabled { opacity: 0.65; }
.preview-coin .fee-line { margin-top: 6px; }
.launch-actions .notice { font-size: 13px; }
.launch-actions .socials a { height: auto; padding: 6px 10px; }
.claim-row .pair-icon { display: inline-flex; align-items: center; font-weight: 700; }
.claim-row .btn { justify-self: end; }
.leg .amount-row .receive { flex: 1; min-width: 0; font: 600 30px/1.1 var(--font); color: var(--text-2); }
.leg .asset .hype-dot { width: 20px; height: 20px; }
.bridge-card .facts { margin-top: 2px; }
.bridge-card .notice .link { white-space: nowrap; }
.history .item .link { font-size: 12.5px; }
.history .item > div:last-child { text-align: right; display: grid; gap: 2px; justify-items: end; }
.events .ev .link { font-size: 12.5px; }
.redirect-form .actions-row { margin-top: 2px; }
.trade-card .quote:empty { display: none; }
.coin-list .who .coin-img.sm { flex: none; }
.coin-list a > div:nth-child(5) { display: grid; gap: 4px; }
.bright .coin-img { width: 44px; height: 44px; }
.rising .row .coin-img { width: 44px; height: 44px; }
.kv dd .copy { margin-left: 4px; }
.admin-grid .card-body > .kv { margin-top: 4px; }
.admin-grid .inline-form .select { width: auto; flex: 0 1 200px; }
.admin-grid .notice ul { margin: 6px 0 0; padding-left: 18px; }
details.launch-row .inner h3 { margin: 10px 0 4px; font-size: 13px; color: var(--text-2); }
.doc article .data td.right { white-space: nowrap; }
@media (max-width: 860px) {
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-pitch h1 { font-size: 40px; }
  .pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Grid and flex children may shrink below their content's natural width (long addresses, inputs), never pushing the page wider. */
.stack > *, .grid-2 > *, .launch-grid > *, .bridge-grid > *, .hero > *, .card-body > *, .admin-grid > *, .doc > * { min-width: 0; }

/* Phones: the coin page puts trading right under the chart; tab rows scroll sideways instead of wrapping. */
@media (max-width: 1100px) {
  .coin-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .coin-layout > .stack { display: contents; }
  .coin-layout .chart-card { order: 1; } .coin-layout #trade { order: 2; } .coin-layout #bonding { order: 3; } .coin-layout #coin-stats { order: 4; }
  .coin-layout #share { order: 5; } .coin-layout #holder-rewards { order: 6; } .coin-layout #activity { order: 7; } .coin-layout #about { order: 8; }
}
@media (max-width: 860px) {
  .toolbar .tabs, .card-head .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .toolbar .tabs::-webkit-scrollbar, .card-head .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .step-card .card-head > .faint { display: none; }
  .bridge-card .segments button { white-space: nowrap; font-size: 13px; padding: 0 8px; }
  .doc nav a { white-space: nowrap; }
  .chart-card .chart { height: 260px; }
  .coin-cap strong { font-size: 34px; }
}
#launch-notice .notice { margin-bottom: 18px; }

/* ---- Move (Relay) ------------------------------------------------------------------------------------------------ */
.chain-dot.ethereum { background: radial-gradient(circle at 35% 30%, #f4f5ff, #9aa1d6 50%, #3d4170); }
.chain-dot.base { background: radial-gradient(circle at 35% 30%, #e9f0ff, #3a74ff 55%, #0a2c9e); }
.chain-dot.robinhood { background: radial-gradient(circle at 35% 30%, #f6ffe4, #c9f26c 50%, #4c7713); }
.chain-dot.solana { background: conic-gradient(from 210deg, #9945ff, #19fb9b, #9945ff); }
.route-chains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; color: var(--text-2); font-weight: 600; }
.route-chains .node { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; }
.chain-pick { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); max-width: 100%; }
.chain-pick .chain-dot { width: 16px; height: 16px; flex: none; }
.chain-pick select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text); font: 600 13.5px/1 var(--font); padding: 0 20px 0 0; cursor: pointer; outline: none; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.chain-pick select option { background: var(--bg-2); color: var(--text); }
.chain-pick > .icon { position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; transform: rotate(90deg); pointer-events: none; color: var(--text-3); }
.chain-pick:focus-within { border-color: rgba(201, 147, 37, 0.5); box-shadow: 0 0 0 3px rgba(201, 147, 37, 0.08); }
.leg .segments.tokens { flex: none; padding: 3px; }
.leg .segments.tokens button { height: 30px; padding: 0 11px; font-size: 13px; }
.leg .asset .chain-dot { width: 18px; height: 18px; }
.leg .top > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.link-button { background: none; border: 0; padding: 0; color: var(--mint); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-button:hover { text-decoration: underline; }
.link-button .icon { width: 15px; height: 15px; }
.move-progress { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 9px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.move-progress li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); }
.move-progress .mark { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.move-progress .mark .icon { width: 13px; height: 13px; }
.move-progress .spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.move-progress li.active { color: var(--text); }
.move-progress li.active .mark { border-color: rgba(201, 147, 37, 0.5); color: var(--mint); }
.move-progress li.done { color: var(--text-2); }
.move-progress li.done .mark { background: rgba(29, 154, 96, 0.15); border-color: rgba(29, 154, 96, 0.4); color: var(--up); }
.move-progress li.failed { color: var(--text-2); }
.move-progress li.failed .mark { background: rgba(207, 61, 88, 0.14); border-color: rgba(207, 61, 88, 0.4); color: var(--down); }
.chain-pair { display: inline-flex; align-items: center; }
.chain-pair .chain-dot + .chain-dot { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.leg > * { min-width: 0; }
@media (max-width: 520px) {
  .leg .amount-row { flex-wrap: wrap; }
  .leg .amount-row input, .leg .amount-row .receive { flex: 1 1 100%; }
  .route-chains .node { font-size: 13px; padding: 8px 11px; }
}
@media (max-width: 420px) {
  .header-actions { gap: 6px; }
  .header-actions .anchor > .btn { padding: 0 12px; }
  .header-actions .anchor > .btn .icon { display: none; }
  .account-chip { padding: 0 6px; }
  .account-chip .num { display: none; }
}

/* ---- the aether.meme brand ------------------------------------------------------------------------------------ */
.brand .logo-full { height: 30px; width: auto; filter: none; }
.brand .logo-mark { display: none; width: 34px; height: 34px; filter: none; }
.brand .net { color: var(--text-2); border-color: var(--line-2); background: rgba(255, 255, 255, 0.6); }
.site-footer .brand .logo-full { height: 26px; width: auto; }
@media (max-width: 520px) {
  .site-header .brand .logo-full { display: none; }
  .site-header .brand .logo-mark { display: block; }
}
