/* LINKR: obsidian black (the logo's own background), the chain's ice blue as the only colour, serif headlines,
   hairline borders, glass panels. Calm and expensive: lots of black, one accent, nothing shouting. */
:root {
  --bg: #04070a;
  --bg-2: #070b10;
  --panel: rgba(16, 24, 32, 0.55);
  --panel-solid: #0a1016;
  --panel-2: #0d141b;
  --line: rgba(174, 230, 250, 0.075);
  --line-2: rgba(174, 230, 250, 0.14);
  --line-3: rgba(174, 230, 250, 0.24);
  --text: #eef5f9;
  --text-2: #b4c3cd;
  --muted: #71818d;
  --ice: #aee6fa;
  --ice-2: #dff5ff;
  --steel: #3f7a96;
  --steel-2: #5f9fbd;
  --metal: linear-gradient(180deg, #e9f8ff 0%, #b8e8fb 42%, #8fd0ec 100%);
  --metal-hover: linear-gradient(180deg, #f4fbff 0%, #c6edfc 42%, #9ad7f0 100%);
  --ice-text: linear-gradient(100deg, #f2fbff 0%, #aee6fa 45%, #6fb4d3 100%);
  --ok: #8fe3bf;
  --ok-bg: rgba(143, 227, 191, 0.09);
  --warn: #e9c98a;
  --warn-bg: rgba(233, 201, 138, 0.1);
  --red: #f19a9a;
  --red-bg: rgba(241, 154, 154, 0.09);
  --hover: rgba(174, 230, 250, 0.045);
  --sans: 'Geist', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); font: 14px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip; letter-spacing: -0.003em;
  background:
    radial-gradient(1100px 520px at 50% -220px, rgba(174, 230, 250, 0.11), transparent 70%),
    radial-gradient(700px 500px at 105% 8%, rgba(63, 122, 150, 0.10), transparent 70%),
    var(--bg);
}
/* fine grain: the difference between flat and expensive */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
::selection { background: rgba(174, 230, 250, 0.28); color: #fff; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.ice { background: var(--ice-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label { font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; }

/* ---------- top nav ---------- */
.topnav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(4, 7, 10, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.topnav .in { max-width: 1240px; margin: 0 auto; height: 66px; padding: 0 28px; display: flex; align-items: center; gap: 34px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(174, 230, 250, 0.28)); }
.logo .wm { font-weight: 600; font-size: 15px; letter-spacing: .34em; padding-left: 2px; color: var(--text); }
.topnav nav { display: flex; gap: 2px; }
.topnav nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 450; white-space: nowrap; transition: color .15s ease, background .15s ease; }
.topnav nav a:hover { color: var(--text); }
.topnav nav a.on { color: var(--text); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); }
.topnav .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 30px 28px 80px; }

/* strip under the nav: our coin (CA) + the newest launch */
.strip-top { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(174, 230, 250, 0.06), transparent 55%), rgba(6, 10, 14, 0.8); }
.strip-top .in { max-width: 1240px; margin: 0 auto; padding: 8px 28px; display: flex; align-items: center; gap: 14px; min-height: 46px; flex-wrap: wrap; }
.ours { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ours .tag { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #06121a; background: var(--metal); padding: 4px 9px; border-radius: 999px; flex: none; }
.ours img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.ours b { font-weight: 600; }
.ours .tk { color: var(--muted); font-size: 12.5px; }
.ca { appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); cursor: pointer; color: var(--text-2); min-width: 0; max-width: 100%; transition: border-color .15s ease; }
.ca:hover { border-color: var(--line-3); color: var(--text); }
.ca .l { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.ca code { font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca .c { font-size: 11px; font-weight: 600; color: var(--ice); padding: 3px 9px; border-radius: 999px; background: rgba(174, 230, 250, 0.09); flex: none; }
.justnow { margin-left: auto; display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.justnow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(174, 230, 250, .6); animation: ping 2.4s ease-out infinite; flex: none; }
.justnow img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.justnow b { color: var(--text); font-weight: 600; }
.justnow a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadein .5s ease; }
.notice-top { background: #070b0f; border-bottom: 1px solid var(--line); color: var(--text-2); text-align: center; font-size: 12.5px; padding: 7px 14px; }
.notice-top b { color: var(--text); font-weight: 600; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(174, 230, 250, .5); } 70% { box-shadow: 0 0 0 7px rgba(174, 230, 250, 0); } 100% { box-shadow: 0 0 0 0 rgba(174, 230, 250, 0); } }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.pagefoot { width: 100%; border-top: 1px solid var(--line); margin-top: auto; background: rgba(4, 7, 10, 0.6); }
.pagefoot .in { max-width: 1240px; margin: 0 auto; padding: 34px 28px 46px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pagefoot .brand { display: flex; flex-direction: column; gap: 12px; }
.pagefoot .links { display: flex; gap: 18px; flex-wrap: wrap; }
.pagefoot .links a { color: var(--text-2); }
.pagefoot .links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); color: var(--text); font-weight: 500; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, opacity .15s ease, box-shadow .2s ease, transform .15s ease; }
.btn:hover { background: var(--hover); border-color: var(--line-3); }
.btn.primary { background: var(--metal); color: #05121a; border-color: transparent; font-weight: 600; box-shadow: 0 10px 30px -12px rgba(174, 230, 250, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(30, 80, 105, 0.25); }
.btn.primary:hover { background: var(--metal-hover); box-shadow: 0 14px 34px -12px rgba(174, 230, 250, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(30, 80, 105, 0.25); }
.btn.lg { height: 46px; padding: 0 24px; font-size: 14.5px; }
.btn.sm { height: 32px; padding: 0 13px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn .arr { opacity: .7; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(2px); }
.btn.wallet .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.iconbtn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, 0.02); }
.iconbtn:hover { color: var(--text); border-color: var(--line-3); }
.iconbtn svg { width: 15px; height: 15px; fill: currentColor; }
.link { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.link:hover { color: var(--ice); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 34px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--ice)); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.025em; margin: 20px 0 22px; }
.hero h1 em { font-style: italic; }
.hero p.lead { color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 540px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.015); font-size: 12.5px; color: var(--text-2); }
.chip svg { width: 13px; height: 13px; stroke: var(--ice); fill: none; stroke-width: 1.8; flex: none; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin-top: 38px; border-top: 1px solid var(--line); max-width: 560px; }
.kpis > div { padding: 16px 18px 0 0; min-width: 0; }
.kpis > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.kpis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; color: var(--text); margin-top: 4px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage { position: relative; height: 480px; }
.stage .halo { position: absolute; inset: 6% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(174, 230, 250, 0.20), rgba(63, 122, 150, 0.08) 55%, transparent 75%); filter: blur(10px); }
.stage .ring { position: absolute; left: 50%; top: 44%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; border: 1px solid var(--line); }
.stage .ring.r2 { width: 540px; height: 540px; margin: -270px 0 0 -270px; border-style: dashed; border-color: rgba(174, 230, 250, 0.06); animation: spin 120s linear infinite; }
.stage .mark { position: absolute; left: 50%; top: 44%; width: 340px; margin: -170px 0 0 -170px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(174, 230, 250, 0.18)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.king { position: absolute; right: 0; bottom: 6px; width: 300px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(10, 16, 22, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); display: block; transition: border-color .2s ease, transform .2s ease; }
.king:hover { border-color: var(--line-3); transform: translateY(-2px); }
.king .t { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); margin-bottom: 11px; }
.king .t svg { width: 13px; height: 13px; fill: var(--ice); }
.king .row { display: flex; align-items: center; gap: 12px; }
.king img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line-2); }
.king b { display: block; font-weight: 600; font-size: 14px; }
.king .mc { margin-left: auto; text-align: right; font-family: var(--serif); font-size: 24px; line-height: 1; }
.king .mc small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 4px; }
.king .prog { margin-top: 12px; }

/* ---------- sections ---------- */
.sec { margin-top: 64px; }
.sech { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sech h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; }
.sech h2 em { font-style: italic; }
.sech p { margin: 6px 0 0; color: var(--muted); max-width: 560px; }

/* flywheel band */
.flyband { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 34px; align-items: center; padding: 30px 34px; border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(600px 280px at 0% 50%, rgba(174, 230, 250, 0.10), transparent 70%), linear-gradient(180deg, rgba(16, 26, 34, 0.7), rgba(8, 12, 16, 0.7)); box-shadow: var(--shadow); }
.flyband::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(174, 230, 250, 0.35), transparent) top / 100% 1px no-repeat; }
.wheel { width: 200px; height: 200px; position: relative; }
.wheel svg { width: 100%; height: 100%; overflow: visible; }
.wheel .spin { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.wheel .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.wheel .c b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 400; line-height: 1; }
.wheel .c span { display: block; max-width: 96px; margin: 6px auto 0; font-size: 9.5px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.flyband h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }
.flyband h3 em { font-style: italic; }
.flyband p { color: var(--text-2); margin: 10px 0 18px; max-width: 520px; line-height: 1.65; }
.flynums { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 30px; }
.flynums div { min-width: 0; }
.flynums b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-top: 3px; font-variant-numeric: lining-nums tabular-nums; }
.flynums .s { color: var(--muted); font-size: 12px; }

/* live launches */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; scroll-snap-type: x proximity; }
.rail a { scroll-snap-align: start; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .15s ease; min-width: 0; }
.rail a:hover { border-color: var(--line-3); }
.rail img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.rail b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail span { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.rail .new { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: #06121a; background: var(--metal); padding: 2px 6px; border-radius: 999px; margin-left: auto; flex: none; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.search { position: relative; flex: 1; max-width: 330px; min-width: 200px; }
.search input[type=text] { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); padding: 0 16px 0 38px; font-size: 13.5px; }
.search input[type=text]::placeholder { color: var(--muted); }
.search input[type=text]:focus { outline: none; border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(174, 230, 250, 0.07); }
.search svg { position: absolute; left: 14px; top: 13px; width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { appearance: none; border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .15s ease, background .15s ease; }
.seg button:hover { color: var(--text); }
.seg button.on { background: rgba(174, 230, 250, 0.1); color: var(--ice-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button .n { color: var(--muted); font-weight: 500; margin-left: 5px; font-size: 11px; }
.toolbar .seg { margin-left: auto; }

/* ---------- coin cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
a.pc { position: relative; display: flex; flex-direction: column; padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a.pc::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(174, 230, 250, 0.05), transparent 40%); opacity: 0; transition: opacity .2s ease; }
a.pc:hover { border-color: var(--line-3); transform: translateY(-2px); box-shadow: var(--shadow); }
a.pc:hover::before { opacity: 1; }
a.pc .top { display: flex; align-items: center; gap: 12px; }
a.pc .ci { width: 48px; height: 48px; border-radius: 13px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line-2); flex: none; }
a.pc .id { min-width: 0; }
a.pc .nm { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.pc .tk { font-size: 12px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
a.pc .chg { margin-left: auto; align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--hover); color: var(--text-2); font-variant-numeric: tabular-nums; flex: none; }
a.pc .chg.up { background: var(--ok-bg); color: var(--ok); }
a.pc .chg.down { background: var(--red-bg); color: var(--red); }
a.pc .mcrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }
a.pc .mc { font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
a.pc .ath { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
a.pc .bar { margin-top: 12px; }
a.pc .pays { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--muted); min-width: 0; }
a.pc .pays .syms { color: var(--text-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.pc .meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
a.pc .meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
a.pc.pinned { border-color: var(--line-3); box-shadow: 0 0 0 1px rgba(174, 230, 250, 0.12), var(--shadow); }
.newtag { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: #06121a; background: var(--metal); padding: 2px 6px; border-radius: 999px; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 54px 20px; text-align: center; color: var(--muted); background: rgba(8, 12, 16, 0.5); }
.empty h3, .card .empty h3 { color: var(--text); font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 6px; }
.empty p { margin: 0 0 18px; }
.sk { height: 196px; border-radius: var(--r); background: linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0%, rgba(174, 230, 250, 0.04) 50%, rgba(255, 255, 255, 0.015) 100%) 0 0 / 300% 100%; border: 1px solid var(--line); animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }

/* bars */
.prog { height: 4px; border-radius: 999px; background: rgba(174, 230, 250, 0.08); overflow: hidden; }
.prog > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--steel), var(--ice)); box-shadow: 0 0 10px rgba(174, 230, 250, 0.45); }
.progl { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.progl b { color: var(--text-2); font-weight: 600; }

/* tokens (asset logos) */
.tok { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); display: inline-grid; place-items: center; overflow: hidden; font-size: 7px; font-weight: 700; color: var(--muted); flex: none; }
.tok img { width: 100%; height: 100%; object-fit: cover; }
.tok.sm { width: 18px; height: 18px; font-size: 6px; }
.tok.lg { width: 30px; height: 30px; font-size: 8px; }
.toks { display: inline-flex; }
.toks .tok { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg-2); }
.toks .tok:first-child { margin-left: 0; }

/* ---------- generic cards, stats, tables ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.card.pad { padding: 20px 22px; }
.card h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.card h3.serif { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.card .sub { color: var(--muted); font-size: 12.5px; margin: -6px 0 14px; line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.stats > div { padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-top: 4px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats .s { color: var(--muted); font-size: 12px; margin-top: 2px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: var(--muted); }
.kv b { font-weight: 600; }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
th { font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
tr:last-child td { border-bottom: 0; }
td .cell { display: flex; align-items: center; gap: 9px; }
td .legs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bar { height: 4px; border-radius: 999px; background: rgba(174, 230, 250, 0.08); overflow: hidden; min-width: 70px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--ice)); border-radius: 999px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--hover); color: var(--text-2); border: 1px solid var(--line); }
.pill svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pill.wait { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.pill.ice { background: rgba(174, 230, 250, 0.08); color: var(--ice); border-color: rgba(174, 230, 250, 0.16); }
.tabs { display: flex; gap: 24px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { appearance: none; border: 0; background: transparent; padding: 15px 0 13px; font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--ice); }
.copy { cursor: pointer; }
.copy:hover { color: var(--text); }

/* ---------- page headers ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 26px; flex-wrap: wrap; }
.ph h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.ph h1 em { font-style: italic; }
.ph p { margin: 12px 0 0; color: var(--text-2); max-width: 600px; font-size: 15px; line-height: 1.65; }

/* ---------- launcher ---------- */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.form { padding: 0 26px; }
.form section { padding: 26px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.form section:first-child { border-top: 0; }
.form h2 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 16px; letter-spacing: -0.01em; }
.form h2 .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--ice); font: 500 12px/24px var(--sans); text-align: center; flex: none; }
.form h2 .opt { font: 400 12.5px var(--sans); }
.form .lead { color: var(--muted); margin: -8px 0 18px; font-size: 13.5px; }
.coinrow { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; }
.coinrow .drop { width: 140px; height: 140px; padding: 0; justify-content: center; margin-top: 24px; overflow: hidden; }
.coinrow .drop .ph2 { width: 100%; height: 100%; border-radius: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 12px; }
.coinrow .drop.has { border-style: solid; }
.field { margin-bottom: 16px; }
.field > label, .flabel { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 8px; }
.flabel { display: flex; justify-content: space-between; align-items: baseline; }
.flabel .c { text-transform: none; letter-spacing: 0; font-weight: 400; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
input[type=text], input[type=number], input[type=url], textarea { width: 100%; height: 42px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #4f5d68; }
textarea { height: auto; min-height: 80px; padding: 11px 14px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(174, 230, 250, 0.07); }
input.bad, textarea.bad { border-color: rgba(241, 154, 154, 0.45); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 16px; cursor: pointer; background: rgba(255, 255, 255, 0.015); }
.drop:hover, .drop.over { border-color: var(--line-3); }
.drop .ph2 img { width: 100%; height: 100%; object-fit: cover; }
.drop .ph2 svg { width: 24px; height: 24px; stroke: var(--muted); fill: none; stroke-width: 1.5; }
.picker .seg { margin-bottom: 10px; }
.picker .search { max-width: none; margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; padding: 2px; scrollbar-color: var(--line-2) transparent; }
.opts button { appearance: none; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); cursor: pointer; text-align: left; min-width: 0; transition: border-color .15s ease; }
.opts button:hover { border-color: var(--line-3); }
.opts button.on { border-color: rgba(174, 230, 250, 0.5); background: rgba(174, 230, 250, 0.07); box-shadow: inset 0 0 0 1px rgba(174, 230, 250, 0.25); }
.opts button > div { min-width: 0; }
.opts b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opts span.nm { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opts .none { padding: 10px; color: var(--muted); }
.chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; min-height: 30px; }
.chosen span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(174, 230, 250, 0.06); font-size: 12.5px; font-weight: 500; }
.chosen span button { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 14px; line-height: 1; padding: 0 2px; }
.chosen span.hint { color: var(--muted); font-size: 12.5px; padding: 5px 0; background: none; border: 0; font-weight: 400; }
.cur { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, 0.015); }
.cur > div { min-width: 0; }
.cur b { display: block; font-size: 13.5px; font-weight: 600; }
.cur .nm { display: block; font-size: 12px; color: var(--muted); }
.cur .btn { margin-left: auto; height: 32px; }
.quick { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.quick button { appearance: none; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.015); border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; color: var(--text-2); }
.quick button:hover, .quick button.on { border-color: var(--line-3); color: var(--text); }
.autofield { height: 42px; display: flex; align-items: center; padding: 0 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; }
.summary { position: sticky; top: 90px; padding: 20px 22px; }
.summary .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.summary .who .ci { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.summary .who b { display: block; font-weight: 600; }
.summary .small { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 12px 0 14px; }
.vamp { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.vamp .vh { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.vamp .vh svg { width: 15px; height: 15px; stroke: var(--ice); fill: none; stroke-width: 1.8; }
.vamp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.vamp li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.vamp li i { width: 15px; height: 15px; border-radius: 50%; flex: none; margin-top: 1px; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 9px; }
.vamp li.ok { color: var(--text-2); }
.vamp li.ok i { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.vamp li.bad { color: var(--red); }
.vamp li.bad i { background: var(--red-bg); border-color: transparent; color: var(--red); }
.splitbar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 10px 0 8px; }
.splitbar i { display: block; height: 100%; border-radius: 999px; }
.splitbar .h { background: linear-gradient(90deg, var(--steel-2), var(--ice)); }
.splitbar .f { background: var(--ice-2); }
.splitbar .t { background: rgba(174, 230, 250, 0.22); }
.splitleg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.splitleg b { color: var(--text); font-weight: 600; }
.status { margin-top: 10px; font-size: 13px; min-height: 18px; color: var(--text-2); }
.status.err { color: var(--red); }
.status.ok { color: var(--ok); }

/* ---------- coin page ---------- */
.cph { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.cph .ci { width: 68px; height: 68px; border-radius: 18px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cph h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cph .tk { color: var(--muted); margin-left: 10px; font-size: 16px; font-family: var(--sans); letter-spacing: 0; }
.cph .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.cph .acts { margin-left: auto; }
.cp { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; margin-top: 16px; }
.cp > * { min-width: 0; }
.chartbox { height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); }
.chartbox iframe { width: 100%; height: 100%; border: 0; }
.basket .r { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.basket .r:last-child { border-bottom: 0; }
.basket .r b { font-weight: 600; font-size: 13.5px; }
.basket .r .nm { color: var(--muted); font-size: 12px; }
.basket .r .tag { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); }
.locks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.locks li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.locks li svg { width: 15px; height: 15px; stroke: var(--ice); fill: none; stroke-width: 1.8; flex: none; margin-top: 2px; }

/* trade box */
.trade .side { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); margin-bottom: 14px; }
.trade .side button { appearance: none; border: 0; background: transparent; height: 34px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.trade .side button.on.buy { background: var(--ok-bg); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(143, 227, 191, 0.25); }
.trade .side button.on.sell { background: var(--red-bg); color: var(--red); box-shadow: inset 0 0 0 1px rgba(241, 154, 154, 0.25); }
.trade .amt { position: relative; }
.trade .amt input { height: 52px; font-size: 20px; font-family: var(--serif); padding-right: 70px; }
.trade .amt .u { position: absolute; right: 14px; top: 16px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.trade .q { margin: 12px 0 14px; font-size: 12.5px; }
.trade .q .kv { padding: 6px 0; font-size: 12.5px; }
.trade .slip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.trade .slip input { width: 64px; height: 28px; padding: 0 8px; font-size: 12px; border-radius: 8px; }

/* chat */
.chat { display: flex; flex-direction: column; height: 460px; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.msg .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #06121a; }
.msg .who { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.msg .who b { color: var(--text-2); font-family: var(--mono); font-weight: 500; font-size: 11.5px; }
.msg .who .h { color: var(--ice); font-weight: 600; }
.msg p { margin: 3px 0 0; color: var(--text); font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat form input { flex: 1; height: 40px; border-radius: 999px; }

/* receipts */
.rc { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.rc:last-child { border-bottom: 0; }
.rc .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.rc .ic svg { width: 15px; height: 15px; stroke: var(--ice); fill: none; stroke-width: 1.8; }
.rc .ic.burn svg { stroke: var(--warn); }
.rc b { font-weight: 600; }
.rc .s { font-size: 12px; color: var(--muted); }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1px; padding-top: 8px; }
.toc-h { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0 14px 12px; }
.toc a { padding: 7px 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); border-left-color: var(--ice); }
.doc { max-width: 800px; min-width: 0; }
.doc section { padding: 6px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; scroll-margin-top: 96px; }
.doc section:last-child { border-bottom: 0; }
.doc .kicker { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1; letter-spacing: -0.02em; margin: 14px 0 18px; }
.doc h1 em { font-style: italic; }
.doc .lead { color: var(--text-2); font-size: 16px; line-height: 1.75; margin: 0 0 28px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.015em; margin: 0 0 14px; }
.doc p { color: var(--text-2); line-height: 1.75; margin: 0 0 14px; }
.doc p b, .doc li b { color: var(--text); font-weight: 600; }
.doc .small { font-size: 12.5px; line-height: 1.65; }
.doc .tbl { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.doc .tbl td { white-space: normal; }
.doc .tbl td:first-child { color: var(--muted); width: 45%; }
.flow { display: flex; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(420px 160px at 60% 0, rgba(174, 230, 250, 0.08), transparent 70%), var(--panel); }
.flow .node { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.flow .node.hl { border-color: rgba(174, 230, 250, 0.4); box-shadow: 0 0 30px -10px rgba(174, 230, 250, 0.5); }
.flow .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ice); font-size: 14px; margin-bottom: 8px; }
.flow .node b { font-size: 13px; font-weight: 600; }
.flow .node span:last-child { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.flow .arr { flex: 0 0 18px; align-self: center; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--ice)); position: relative; }
.flow .arr::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left-color: var(--ice); border-right: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 16px; }
.mini { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.mini .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--ice); font: 500 12px/24px var(--sans); text-align: center; margin-bottom: 12px; }
.mini > b { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.mini p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.feeviz { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); margin: 4px 0 16px; display: grid; gap: 12px; }
.fv-h { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.fv-h b { color: var(--text); font-family: var(--serif); font-size: 20px; font-weight: 400; }
.fv-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 62px; align-items: center; gap: 14px; font-size: 13px; }
.fv-row .l { color: var(--text-2); }
.fv-row .l em { font-style: normal; color: var(--muted); }
.fv-row > b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.fv-bar { height: 8px; border-radius: 999px; background: rgba(174, 230, 250, 0.06); overflow: hidden; }
.fv-bar i { display: block; height: 100%; border-radius: 999px; }
.fv-bar .g1 { background: rgba(174, 230, 250, 0.16); }
.fv-bar .g2 { background: var(--steel); }
.fv-bar .g3 { background: linear-gradient(90deg, var(--steel-2), var(--ice)); }
.fv-bar .g4 { background: var(--ice-2); }
.fv-bar .g5 { background: rgba(174, 230, 250, 0.3); }
.roundviz { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: stretch; margin: 4px 0 8px; }
.rv-pot { display: flex; flex-direction: column; justify-content: center; padding: 18px; border-radius: 16px; background: var(--metal); color: #06121a; box-shadow: 0 14px 34px -16px rgba(174, 230, 250, 0.6); position: relative; z-index: 1; }
.rv-pot span { font-size: 12px; opacity: .75; }
.rv-pot b { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.rv-legs { display: grid; gap: 8px; padding: 6px 0 6px 26px; position: relative; }
.rv-legs::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 1px; background: var(--ice); }
.rv-legs::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); }
.leg { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: relative; }
.leg::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px; background: var(--line-2); }
.leg b { display: block; font-size: 13.5px; }
.leg span { font-size: 12px; color: var(--muted); }
.shareviz { padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); display: grid; gap: 12px; margin: 4px 0 16px; }
.sv-row { display: grid; grid-template-columns: 250px minmax(0, 1fr) 52px; gap: 14px; align-items: center; font-size: 13px; }
.sv-row .who { color: var(--text-2); }
.sv-row > b { text-align: right; font-variant-numeric: tabular-nums; }
.sv-bar { height: 8px; border-radius: 999px; background: rgba(174, 230, 250, 0.06); overflow: hidden; }
.sv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--steel-2), var(--ice)); }
.checks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.checks li { position: relative; padding: 13px 16px 13px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text-2); line-height: 1.6; font-size: 13.5px; }
.checks li::before { content: "\2713"; position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: rgba(174, 230, 250, 0.1); color: var(--ice); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 4px 0 14px; }
.cat { padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: flex; flex-direction: column; gap: 2px; }
.cat .toks { margin-bottom: 6px; min-height: 18px; }
.cat b { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.cat span:last-child { font-size: 12px; color: var(--muted); }
.cat.all { background: var(--metal); border-color: transparent; color: #06121a; justify-content: flex-end; }
.cat.all span:last-child { color: rgba(6, 18, 26, 0.7); }
.vampviz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 16px; }
.vampviz div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--muted); }
.vampviz b { display: block; font-family: var(--mono); font-size: 14px; color: var(--text); font-weight: 500; }
.vampviz s { color: var(--red); text-decoration-thickness: 1px; }
.blocks { display: flex; gap: 6px; margin: 4px 0 16px; }
.blocks div { flex: 1; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-align: center; font-size: 11.5px; color: var(--muted); }
.blocks div b { display: block; font-size: 13px; color: var(--text); font-weight: 600; }
.blocks .b0 { border-color: rgba(174, 230, 250, 0.4); background: rgba(174, 230, 250, 0.06); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ice); font-weight: 300; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0 !important; }

/* wallet dialog */
dialog.wd { border: 1px solid var(--line-2); border-radius: 20px; padding: 20px; width: min(370px, calc(100vw - 32px)); background: #0a1016; color: var(--text); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
dialog.wd::backdrop { background: rgba(2, 4, 8, .65); backdrop-filter: blur(3px); }
dialog.wd .w { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; justify-content: flex-start; margin-top: 8px; border-radius: 14px; }
dialog.wd .w img { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cp { grid-template-columns: 1fr; }
  .launch { grid-template-columns: 1fr; }
  .summary { position: static; }
  .flyband { grid-template-columns: 160px minmax(0, 1fr); }
  .flyband .flynums { grid-column: 1 / -1; }
  .wheel { width: 160px; height: 160px; }
}
@media (max-width: 960px) {
  .docs { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 18px; }
  .stage { height: 380px; }
  .stage .mark { width: 260px; margin: -130px 0 0 -130px; }
  .stage .ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .stage .ring.r2 { width: 400px; height: 400px; margin: -200px 0 0 -200px; }
  .king { left: 50%; right: auto; transform: translateX(-50%); }
  .king:hover { transform: translateX(-50%) translateY(-2px); }
  .pagefoot .in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .topnav .in { height: auto; flex-wrap: wrap; gap: 0 12px; padding: 12px 16px 0; }
  .topnav .right { order: 2; }
  .topnav nav { order: 3; width: calc(100% + 8px); overflow-x: auto; padding: 8px 0 10px; margin: 0 -4px; scrollbar-width: none; }
  .topnav nav::-webkit-scrollbar { display: none; }
  .strip-top .in { padding: 8px 16px; }
  .ours { flex-wrap: wrap; width: 100%; gap: 8px 10px; }
  .ours .ca { order: 5; flex: 1 1 100%; }
  .ours .btn { margin-left: auto; }
  .justnow { margin-left: 0; width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpis > div:nth-child(n+3) { margin-top: 6px; }
  .page { padding: 22px 16px 56px; }
  .pagefoot .in { padding: 26px 16px 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .toolbar .seg { margin-left: 0; }
  .flyband { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .wheel { margin: 0 auto; }
  .flynums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
  .flynums b { font-size: 24px; }
  .sech h2 { font-size: 32px; }
  .vampviz { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .flow { flex-direction: column; padding: 14px; }
  .flow .node { flex-direction: row; text-align: left; gap: 10px; padding: 10px 12px; }
  .flow .ic { margin: 0; flex: none; }
  .flow .node span:last-child { margin-left: auto; text-align: right; }
  .flow .arr { flex: 0 0 14px; width: 1px; height: 14px; align-self: center; background: linear-gradient(180deg, var(--line-2), var(--ice)); }
  .flow .arr::after { right: -4px; top: auto; bottom: -1px; border: 4.5px solid transparent; border-top-color: var(--ice); border-bottom: 0; }
  .cards3 { grid-template-columns: 1fr; }
  .fv-row { grid-template-columns: 1fr 56px; gap: 6px 10px; }
  .fv-row .fv-bar { grid-column: 1 / -1; grid-row: 2; }
  .sv-row { grid-template-columns: 1fr 48px; gap: 6px 10px; }
  .sv-row .sv-bar { grid-column: 1 / -1; grid-row: 2; }
  .roundviz { grid-template-columns: 1fr; }
  .rv-legs { padding: 18px 0 0; }
  .rv-legs::before { left: 50%; top: 0; width: 1px; height: 18px; }
  .rv-legs::after, .leg::before { display: none; }
  .doc h1 { font-size: 44px; }
  .cph h1 { font-size: 34px; }
  .cph .acts { margin-left: 0; width: 100%; }
  .kpis > div { margin-right: 18px; padding-right: 18px; }
  .kpis > div + div { padding-left: 18px; }
  .kpis b { font-size: 28px; }
}
@media (max-width: 560px) {
  .two { grid-template-columns: 1fr; }
  .coinrow { grid-template-columns: 1fr; }
  .coinrow .drop { width: 100%; height: 130px; margin-top: 0; }
  .form { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .search { max-width: none; flex-basis: 100%; }
  .opts { grid-template-columns: 1fr 1fr; max-height: 340px; }
  .stage { height: 330px; }
  .stage .mark { width: 210px; margin: -105px 0 0 -105px; }
  .king { width: calc(100% - 8px); }
  .hero h1 { font-size: 46px; }
  .rail { grid-auto-columns: 78%; }
  .blocks { flex-wrap: wrap; }
  .blocks div { flex: 1 1 28%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Linkr 10-25: chart switch + sparkline, trades, timeline, live launches, launch preview ---------- */
.chartcard { overflow: hidden; }
.chartcard .chartbox { border: 0; border-radius: 0; height: 380px; background: transparent; }
.spark { position: relative; height: 100%; color: var(--ice); padding: 0 6px 6px; }
.spark.down { color: var(--red); }
.spark svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.spark .sp-x { stroke: var(--line-3); stroke-width: 1; opacity: 0; }
.sp-read { position: absolute; left: 18px; top: 14px; pointer-events: none; }
.sp-read b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--text); line-height: 1.1; }
.sp-read span { font-size: 11.5px; color: var(--muted); }
.side { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.side.buy { background: var(--ok-bg); color: var(--ok); }
.side.sell { background: var(--red-bg); color: var(--red); }
.livedot { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.livedot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: ping 2.4s ease-out infinite; }
.tl { list-style: none; margin: 14px 0 0; padding: 0 0 0 16px; border-left: 1px solid var(--line-2); display: grid; gap: 12px; }
.tl li { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.tl li::before { content: ''; position: absolute; left: -20.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-3); }
.tl li.launch::before, .tl li.graduated::before, .tl li.high::before { background: var(--ice); border-color: var(--ice); }
.tl li.round::before { background: var(--ok); border-color: var(--ok); }
.tl time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.preview a.pc { pointer-events: none; }
.lbig { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(500px 220px at 0% 0%, rgba(174, 230, 250, 0.08), transparent 70%), var(--panel); box-shadow: var(--shadow); }
.lbig img { width: 200px; height: 200px; border-radius: 20px; object-fit: cover; border: 1px solid var(--line-2); }
.lbh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lbh h2 { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.lbf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.lbf b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; margin-top: 3px; }
.stagebar { height: 4px; border-radius: 999px; background: rgba(174, 230, 250, 0.08); overflow: hidden; }
.stagebar i { display: block; height: 100%; min-width: 4%; border-radius: 999px; background: linear-gradient(90deg, var(--steel), var(--ice)); box-shadow: 0 0 10px rgba(174, 230, 250, 0.45); transition: width .6s ease; }
.stagel { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stagel span.on { color: var(--ice); }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lsm { display: block; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: border-color .2s ease; }
a.lsm:hover { border-color: var(--line-3); }
.lst { display: flex; align-items: center; gap: 11px; min-width: 0; }
.lst img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.lst b { display: block; font-weight: 600; }
.lst span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 680px) {
  .lbig { grid-template-columns: 1fr; }
  .lbig img { width: 100%; height: auto; aspect-ratio: 1; }
  .lbh h2 { font-size: 40px; }
  .chartcard .chartbox { height: 300px; }
}
.lside { display: grid; gap: 16px; align-self: start; }
@media (min-width: 1101px) and (min-height: 1050px) { .lside { position: sticky; top: 90px; } }
