:root {
    --bg: #f5f7fb;
    --bg2: #eef2f8;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --muted2: #9ca3af;
    --line: #e8edf5;
    --blue: #2b6ef6;
    --blue-d: #1d56d8;
    --blue-s: rgba(43, 110, 246, .1);
    --blue-soft: #e8f0ff;
    --teal: #14b8a6;
    --green: #16a34a;
    --green-s: rgba(22, 163, 74, .1);
    --red: #dc2626;
    --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(37, 99, 235, .05);
    --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, "DM Sans", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: none; background: none; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: -.02em; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); font-size: 13px; }
.hash, .hash-link, a.blue { color: var(--blue); font-weight: 600; }
.hash:hover, .hash-link:hover { text-decoration: underline; }

/* Top ticker */
.ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 12px; font-weight: 600; color: var(--muted);
}
.ticker-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 8px 0; flex-wrap: wrap;
}
.ticker-left, .ticker-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ticker b { color: var(--text); font-weight: 700; }
.ticker .up { color: var(--green); }
.ticker .down { color: var(--red); }
.ticker .net-pill {
    padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--text); font-size: 12px; font-weight: 700;
}

/* Header */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(77, 162, 255, .28);
}
.brand-mark img { width: 18px; height: 22px; object-fit: contain; display: block; }
.brand-mark svg, .brand-mark-anim .logo-drop { width: 34px; height: 34px; display: block; overflow: visible; }
.brand-mark-anim {
    position: relative;
    overflow: visible !important;
}
.brand-mark-anim::after {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(77,162,255,.35);
    animation: logoPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}
.brand-mark-anim .logo-bob {
    transform-origin: 32px 32px;
    animation: logoBob 2.8s ease-in-out infinite;
}
.brand-mark-anim .g1 { animation: logoTintA 4s ease-in-out infinite; }
.brand-mark-anim .g2 { animation: logoTintB 4s ease-in-out infinite; }
@keyframes logoBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.6px); }
}
@keyframes logoPulse {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .75; transform: scale(1.045); }
}
@keyframes logoTintA {
    0%, 100% { stop-color: #7EC8FF; }
    50% { stop-color: #4DA2FF; }
}
@keyframes logoTintB {
    0%, 100% { stop-color: #2B6EF6; }
    50% { stop-color: #4DA2FF; }
}
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word .name { font-size: 18px; font-weight: 800; letter-spacing: -.04em; color: #0f172a; }
.brand-word .name em { font-style: normal; color: var(--blue); }
.brand-word .tag { font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a {
    padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #374151;
    position: relative;
}
.nav a:hover, .nav a.on { color: var(--blue); background: var(--blue-s); }
.nav a .dot {
    position: absolute; top: 6px; right: 6px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.top-search {
    display: flex; align-items: center; gap: 8px;
    min-width: 220px; max-width: 280px; flex: 1;
    padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc;
}
.top-search input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    font-size: 13px; color: var(--text);
}
.top-search .kbd {
    font-size: 11px; font-weight: 700; color: var(--muted2);
    border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: #fff;
}

/* Hero */
.hero-universe {
    margin: 0;
    width: 100%;
    padding: 56px 0 40px;
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(99, 140, 255, .28), transparent 55%),
        radial-gradient(800px 380px at 85% 10%, rgba(56, 189, 248, .22), transparent 50%),
        linear-gradient(180deg, #eaf2ff 0%, #f5f7fb 85%);
    position: relative;
    overflow: hidden;
}
.hero-universe::after { display: none; }
.hero-universe .wrap { position: relative; z-index: 1; text-align: center; }

/* Big brand logo */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 28px);
    margin: 0 auto 28px;
    width: fit-content;
    max-width: 100%;
    animation: fadeUp .55s ease both;
}
.hero-ico {
    position: relative;
    width: clamp(88px, 14vw, 128px);
    height: clamp(104px, 16.5vw, 152px);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 8px 28px rgba(77,162,255,.12);
    pointer-events: none;
}
.hero-orb-a {
    width: 78%; height: 66%;
    left: -6%; top: 18%;
    animation: orbDriftA 5.5s ease-in-out infinite;
}
.hero-orb-b {
    width: 62%; height: 52%;
    right: -10%; top: 8%;
    opacity: .85;
    animation: orbDriftB 6.2s ease-in-out infinite;
}
.hero-orb-c {
    width: 48%; height: 40%;
    left: 28%; bottom: 4%;
    opacity: .7;
    animation: orbDriftC 4.8s ease-in-out infinite;
}
.hero-drop {
    position: relative;
    z-index: 2;
    width: 78%;
    height: auto;
    display: block;
    overflow: visible;
}
.hero-drop-bob {
    transform-origin: 150px 210px;
    animation: heroDropBob 3.2s ease-in-out infinite;
}
.hero-drop .g1 { animation: logoTintA 4.5s ease-in-out infinite; }
.hero-drop .g2 { animation: logoTintMid 4.5s ease-in-out infinite; }
.hero-drop .g3 { animation: logoTintB 4.5s ease-in-out infinite; }
@keyframes heroDropBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes orbDriftA {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .75; }
    50% { transform: translate(4px, -6px) scale(1.04); opacity: .95; }
}
@keyframes orbDriftB {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .7; }
    50% { transform: translate(-5px, 5px) scale(1.06); opacity: .9; }
}
@keyframes orbDriftC {
    0%, 100% { transform: translate(0, 0); opacity: .55; }
    50% { transform: translate(3px, -4px); opacity: .8; }
}
@keyframes logoTintMid {
    0%, 100% { stop-color: #4DA2FF; }
    50% { stop-color: #6EC4FF; }
}
.hero-word {
    text-align: left;
    line-height: .95;
    animation: fadeUp .6s ease .1s both;
}
.hero-name {
    font-size: clamp(48px, 9vw, 86px);
    font-weight: 800;
    letter-spacing: -.055em;
    color: #0b1220;
    line-height: .92;
}
.hero-name span {
    color: #2B6EF6;
    background: linear-gradient(120deg, #4DA2FF 0%, #2B6EF6 55%, #1d5ef0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-tag {
    margin-top: clamp(6px, 1.2vw, 12px);
    font-size: clamp(13px, 2vw, 18px);
    font-weight: 750;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: #94a3b8;
    padding-left: 2px;
}
.hero-universe h1,
.hero-title {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 750;
    letter-spacing: -.035em;
    color: #334155;
    margin: 0 0 8px;
}
.hero-sub {
    margin: 0 auto 22px;
    max-width: 46ch;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}
.hero-search {
    display: flex; align-items: center; gap: 10px;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 14px 16px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, .12), 0 1px 0 rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.9);
}
.hero-search .ico { color: var(--muted2); display: grid; place-items: center; }
.hero-search input {
    flex: 1; min-width: 0; border: 0; outline: none; font-size: 15px; background: transparent;
}
.hero-search .kbd {
    font-size: 12px; font-weight: 700; color: var(--muted2);
    border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; background: #f8fafc;
}
.trending {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted);
}
.trending span { font-weight: 700; color: #4b5563; }
.trend-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.9); color: #374151; font-weight: 700; font-size: 12px;
}
.trend-chip:hover { background: #fff; color: var(--blue); }
.trend-chip .dotc {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--blue); color: #fff; font-size: 9px; font-weight: 800;
    display: grid; place-items: center;
}
.trend-chip.usdt .dotc { background: var(--teal); }
.hint-line { margin-top: 10px; min-height: 18px; color: #6b7280; font-size: 13px; }

/* Metric strip */
.mstrip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 12px;
}
.mchip {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px; box-shadow: var(--shadow);
}
.mchip .k { font-size: 11px; font-weight: 700; color: var(--muted2); letter-spacing: .02em; }
.mchip .v { margin-top: 4px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.mchip .s { margin-top: 2px; font-size: 11px; font-weight: 650; }
.mchip .s.up { color: var(--green); }
.mchip .s.down { color: var(--red); }
.mchip, .mcard, .feat, .stat, .bal-card, .card, .section {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mchip:hover, .mcard:hover, .feat:hover, .stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .1);
    border-color: #d7e3f7;
}

/* Metric cards grid */
.mgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.mcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 16px 14px; box-shadow: var(--shadow);
    position: relative; min-height: 112px;
}
.mcard .k {
    font-size: 13px; font-weight: 650; color: #4b5563;
    display: flex; align-items: center; gap: 6px;
}
.mcard .v {
    margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--blue);
}
.mcard .s { margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mcard .ico {
    position: absolute; right: 14px; bottom: 14px;
    width: 36px !important; height: 36px !important;
    max-width: 36px !important; max-height: 36px !important;
    color: #93c5fd; opacity: .9;
    overflow: hidden; display: block;
}
.mcard svg { max-width: 36px; max-height: 36px; }
.mcard .bar {
    margin-top: 10px; height: 6px; border-radius: 999px; background: #e5e7eb; overflow: hidden;
}
.mcard .bar > i {
    display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* Sections / tables */
.section {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow); padding: 18px 18px 8px; margin-bottom: 16px;
}
.section-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 8px; padding-bottom: 4px;
}
.section-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.section-head a { font-size: 13px; font-weight: 700; color: var(--blue); }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
    text-align: left; font-size: 12px; font-weight: 650; color: var(--muted);
    padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td {
    padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line);
    vertical-align: middle; font-weight: 600;
}
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .12s ease; }
table.data tbody tr:hover td { background: #f8fbff; }
table.data .sub { display: block; font-size: 12px; font-weight: 550; color: var(--muted); margin-top: 2px; }
table.data .fn { color: var(--teal); font-weight: 650; font-size: 12px; }
table.data td.right, table.data th.right { text-align: right; }
table.data td .age { color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.ok-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%; background: #dcfce7; color: #16a34a;
    font-size: 8px; font-weight: 800; margin-right: 6px; vertical-align: middle;
}
.ok-dot.bad { background: #fee2e2; color: #dc2626; }
.amt-pos { color: var(--green); font-weight: 800; }
.amt-neg { color: var(--red); font-weight: 800; }
.chg-badge {
    display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px;
    font-size: 11px; font-weight: 800; text-transform: lowercase;
}
.chg-badge.created { background: #dcfce7; color: #15803d; }
.chg-badge.mutated { background: #e0e7ff; color: #4338ca; }
.chg-badge.deleted { background: #fee2e2; color: #b91c1c; }
.coin-cell { display: inline-flex; align-items: center; gap: 8px; }
.coin-cell img { width: 20px; height: 20px; object-fit: contain; border-radius: 50%; }
.time-abs { font-size: 11px; color: var(--muted2); font-weight: 600; display: block; margin-top: 2px; }
.type-ico {
    display: inline-flex; width: 28px; height: 28px; border-radius: 8px;
    background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center;
    margin-right: 8px; vertical-align: middle; font-size: 13px;
}
.copy-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 6px; color: var(--muted2); margin-left: 4px;
}
.copy-btn:hover { background: var(--bg2); color: var(--blue); }

.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 750;
    background: var(--blue-s); color: var(--blue);
}
.badge.ok { background: var(--green-s); color: var(--green); }
.badge.bad { background: rgba(220,38,38,.1); color: var(--red); }
.badge.tag {
    background: var(--blue); color: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px;
}
.badge.outline {
    background: #fff; color: var(--blue); border: 1px solid #bfdbfe;
}
.badge.wallet {
    background: rgba(43,110,246,.1); color: #2B6EF6;
    border: 1px solid rgba(43,110,246,.22);
}
.addr-hint {
    margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted);
}
.op-pill {
    display: inline-flex; align-items: center;
    padding: 3px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 750;
}
.op-pill.in { background: rgba(22,163,74,.1); color: #15803d; }
.op-pill.out { background: rgba(220,38,38,.08); color: #b91c1c; }
.mono.in { color: #15803d; }
.mono.out { color: #b91c1c; }

.btn, .btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px;
    background: var(--blue); color: #fff; font-weight: 700; font-size: 13px;
}
.btn:hover { background: var(--blue-d); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px;
}
.btn-ghost:hover { border-color: #bfdbfe; color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Address page */
.addr-hero {
    display: grid; grid-template-columns: 1.4fr .9fr; gap: 16px;
    margin: 20px 0 16px;
}
.addr-id { padding: 8px 0; }
.addr-id .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.addr-id .who { display: flex; gap: 14px; align-items: center; }
.addr-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 8px 20px rgba(43,110,246,.18);
}
.addr-id .lbl { font-size: 12px; color: var(--muted); font-weight: 650; }
.addr-id h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.addr-hex {
    margin-top: 10px; font-size: 13px; color: #4b5563; word-break: break-all;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.bal-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow); padding: 18px;
}
.bal-card .top { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 750; font-size: 14px; }
.bal-card .amt { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.bal-card .usd { color: var(--muted); font-size: 14px; font-weight: 650; margin-top: 2px; }
.bal-mini {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px;
}
.bal-mini > div {
    background: #f8fafc; border-radius: 10px; padding: 10px 12px;
}
.bal-mini .k { font-size: 11px; color: var(--muted); font-weight: 650; }
.bal-mini .v { margin-top: 4px; font-size: 14px; font-weight: 800; }

.tabs {
    display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 14px;
    padding: 4px; background: #eef2f8; border-radius: 12px; width: fit-content;
}
.tab {
    padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #4b5563;
}
.tab.on { background: var(--blue); color: #fff; }
.tab-panel { display: none; }
.tab-panel.on { display: block; }

.page-hero {
    margin-top: 20px; margin-bottom: 8px;
}
.page-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.page-hero p { color: var(--muted); margin-top: 6px; }

/* Compat for detail pages */
.hero {
    margin-top: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); background: var(--blue-s);
    padding: 5px 10px; border-radius: 999px; margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800; letter-spacing: -.04em; margin-bottom: 8px;
}
.hero p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 15px;
    box-shadow: var(--shadow);
}
.stat .k { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2); }
.stat .v { margin-top: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.stat .s { margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.list { display: flex; flex-direction: column; }
.item {
    display: grid; grid-template-columns: 1fr auto; gap: 6px 14px;
    padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.item:first-child { border-top: none; }
.item .meta { color: var(--muted); font-size: 12px; grid-column: 1 / -1; }
.item .right { text-align: right; color: var(--muted); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px;
}
.card h2 {
    font-size: 16px; font-weight: 800; margin-bottom: 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.row:first-of-type { border-top: none; padding-top: 0; }
.row .k { color: var(--muted); }
.row .v { text-align: right; word-break: break-all; font-weight: 650; }

.layout {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px;
    margin: 16px 0 40px; align-items: start;
}
.side-nav {
    position: sticky; top: 78px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 10px;
}
.side-nav h4 {
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted2); font-weight: 800; padding: 6px 8px 8px;
}
.side-nav a {
    display: block; padding: 9px 10px; border-radius: 10px;
    font-size: 13px; font-weight: 650; color: var(--muted);
}
.side-nav a:hover, .side-nav a.on { background: var(--blue-s); color: var(--blue); }
.content { min-width: 0; }

.footer {
    margin: 28px auto 40px;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px;
    padding-top: 18px; border-top: 1px solid var(--line);
}
.footer h4 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2); margin-bottom: 10px; }
.footer p { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 380px; }
.footer a { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }
.footer a:hover { color: var(--blue); }
.footer .copy { margin-top: 12px; font-size: 12px; color: var(--muted2); }

.live-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 3px rgba(22,163,74,.18); display: inline-block;
    animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.18); opacity: 1; }
    50% { box-shadow: 0 0 0 6px rgba(22,163,74,.08); opacity: .85; }
}

.fade-in { animation: fadeUp .35s ease both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.crumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12px; font-weight: 650; color: var(--muted); margin-bottom: 10px;
}
.crumb a { color: var(--blue); }
.crumb .sep { color: var(--muted2); }

.update-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    margin: 0 0 14px; padding: 8px 12px;
    background: linear-gradient(90deg, rgba(43,110,246,.06), rgba(20,184,166,.05));
    border: 1px solid #e0e9fb; border-radius: 12px;
    font-size: 12px; font-weight: 650; color: #4b5563;
}
.update-bar .right { color: var(--muted); font-variant-numeric: tabular-nums; }
.update-bar .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-weight: 750; font-size: 11px;
}

.hero-search:focus-within, .top-search:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(43,110,246,.12);
}
.trend-chip { transition: transform .15s ease, background .15s ease, color .15s ease; }
.trend-chip:hover { transform: translateY(-1px); }

.section-head .live-mini {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 750; color: var(--green);
}
.section-head .live-mini i {
    width: 6px; height: 6px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}

.row .v.mono.copyable { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; max-width: 70%; }

body {
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(77,162,255,.12), transparent 55%),
        radial-gradient(900px 400px at 100% 0%, rgba(20,184,166,.08), transparent 50%),
        var(--bg);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c7d2e5; border-radius: 999px; border: 2px solid #f5f7fb; }
::-webkit-scrollbar-track { background: transparent; }

.selection-glow::selection { background: rgba(43,110,246,.2); }

.footer-brand img { filter: drop-shadow(0 2px 6px rgba(77,162,255,.35)); }
.powered {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    font-size: 11px; font-weight: 700; color: var(--muted2);
}
.powered img { width: 12px; height: 15px; }

.tab { transition: background .15s ease, color .15s ease; }
.tab:hover:not(.on) { background: rgba(255,255,255,.7); color: var(--blue); }

.bal-card .top img { width: 18px; height: 22px; object-fit: contain; }
.addr-avatar img { width: 26px; height: 32px; object-fit: contain; }

.mp-ring { transition: transform .2s ease; }
.mp-gauge:hover .mp-ring { transform: scale(1.03); }

.btn, .btn-ghost { transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active, .btn-ghost:active { transform: scale(.98); }

.hash.mono { font-variant-numeric: tabular-nums; }

.mcard .spark-wrap {
    position: absolute; right: 12px; bottom: 10px; opacity: .95;
}
.mcard.has-spark .ico { display: none; }
.dual {
    display: grid;
    grid-template-columns: 1.35fr .95fr;
    gap: 14px;
    margin-bottom: 16px;
}
.news-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 13px;
}
.news-strip .left { display: flex; align-items: center; gap: 10px; color: #374151; font-weight: 650; min-width: 0; }
.news-strip .meta { color: var(--muted); font-weight: 600; font-size: 12px; }
.news-hub {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px; background: #fff7ed; color: #c2410c;
    border: 1px solid #fed7aa; font-weight: 750; font-size: 12px;
}
.skel {
    background: linear-gradient(90deg, #eef2f8 25%, #f8fafc 37%, #eef2f8 63%);
    background-size: 400% 100%;
    animation: skel 1.2s ease infinite;
    border-radius: 8px; color: transparent !important; min-height: 1.1em;
}
@keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.sv-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(12px);
    background: #111827; color: #fff; padding: 10px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none;
    transition: .2s ease; z-index: 99; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.sv-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.tx-sum {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 14px 0;
}
.feature-row {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 16px;
}
.feat {
    display: flex; gap: 12px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 14px; box-shadow: var(--shadow);
}
.feat .ic {
    width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft);
    display: grid; place-items: center; color: var(--blue); flex-shrink: 0;
}
.feat .t { font-size: 13px; font-weight: 800; }
.feat .d { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.feat .ic img { width: 24px; height: 24px; object-fit: contain; display: block; }
.feat .ic.usdt { background: #e8f8f2; }
.feat .ic.mp { color: #c2410c; background: #fff7ed; }

.tk-coin { display: inline-flex; align-items: center; gap: 6px; }
.tk-coin img { display: block; }
.tk-mp { color: #c2410c; font-weight: 700; }
.tk-mp b { color: #9a3412; }
.net-pill .live-dot { width: 7px; height: 7px; }
.news-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.news-strip .left img { flex-shrink: 0; }

.type-pill {
    display: inline-flex; align-items: center;
    padding: 3px 8px; border-radius: 999px;
    background: var(--blue-soft); color: var(--blue);
    font-size: 11px; font-weight: 750; white-space: nowrap;
}
.badge.tip {
    background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa;
    padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 800;
}
.row-tip td { background: linear-gradient(90deg, rgba(255,247,237,.7), transparent); }
.trend-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: contain; }

.coin-hero-top { display: flex; align-items: center; gap: 16px; text-align: left; margin-bottom: 12px; }
.coin-logo {
    width: 56px; height: 56px; object-fit: contain;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
    box-shadow: var(--shadow);
}
.side-nav a { display: flex; align-items: center; gap: 8px; }
.side-nav a img { width: 16px; height: 16px; object-fit: contain; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-brand h4 { margin: 0; }

/* Mempool */
.mp-hero { margin-bottom: 16px; }
.mp-gauge {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.mp-ring {
    width: 108px; height: 108px; border-radius: 50%;
    display: grid; place-items: center; text-align: center;
    background:
        radial-gradient(circle at center, #fff 54%, transparent 55%),
        conic-gradient(#22c55e 0deg, #e5e7eb 0deg);
    border: 1px solid var(--line);
}
.mp-ring[data-level="low"] {
    background:
        radial-gradient(circle at center, #fff 54%, transparent 55%),
        conic-gradient(#22c55e 0 120deg, #e5e7eb 120deg);
}
.mp-ring[data-level="medium"] {
    background:
        radial-gradient(circle at center, #fff 54%, transparent 55%),
        conic-gradient(#f59e0b 0 210deg, #e5e7eb 210deg);
}
.mp-ring[data-level="high"] {
    background:
        radial-gradient(circle at center, #fff 54%, transparent 55%),
        conic-gradient(#ef4444 0 300deg, #e5e7eb 300deg);
}
.mp-ring-val { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #111827; }
.mp-ring-val small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.mp-ring-lbl { margin-top: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.mp-meta .k { font-size: 12px; font-weight: 700; color: var(--muted2); }
.mp-meta .v { margin-top: 4px; font-size: 13px; color: #374151; max-width: 420px; font-weight: 600; }
.mp-strip { margin-bottom: 0; }
.mp-dual { margin-bottom: 16px; }
.spark-lg { width: 100%; overflow: hidden; }
.spark-lg .spark { width: 100%; height: 72px; }
.mp-explain {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px;
}
.mp-explain .t { font-weight: 800; font-size: 13px; margin-bottom: 4px; }

@media (max-width: 1020px) {
    .mstrip { grid-template-columns: repeat(3, 1fr); }
    .mgrid { grid-template-columns: repeat(2, 1fr); }
    .addr-hero, .dual, .feature-row, .tx-sum, .mp-explain { grid-template-columns: 1fr; }
    .top-search { display: none; }
}
@media (max-width: 760px) {
    .nav { display: none; }
    .mstrip, .mgrid, .stats { grid-template-columns: 1fr 1fr; }
    .layout { grid-template-columns: 1fr; }
    .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
    .side-nav h4 { width: 100%; }
    .footer { grid-template-columns: 1fr; }
    .mcard .v { font-size: 22px; }
}
@media (max-width: 560px) {
    .hero-brand {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 22px;
    }
    .hero-word { text-align: center; }
    .hero-tag { letter-spacing: .32em; }
}
@media (max-width: 480px) {
    .mstrip, .mgrid, .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .brand-mark-anim::after,
    .brand-mark-anim .logo-bob,
    .brand-mark-anim .g1,
    .brand-mark-anim .g2,
    .hero-brand,
    .hero-word,
    .hero-drop-bob,
    .hero-orb,
    .hero-drop .g1,
    .hero-drop .g2,
    .hero-drop .g3,
    .live-dot,
    .fade-in { animation: none !important; }
}
