:root {
    --bg: #13121e;
    --surface: #13121e;
    --surface-low: #1b1a27;
    --surface-card: #1f1e2b;
    --surface-high: #2a2836;
    --surface-highest: #353341;
    --surface-lowest: #0e0d19;
    --primary: #d0bcff;
    --primary-container: #a078ff;
    --on-primary-container: #340080;
    --secondary: #4cd7f6;
    --tertiary: #ffb95f;
    --error: #ffb4ab;
    --text-main: #e5e0f2;
    --text-muted: #cbc3d7;
    --text-dim: #958ea0;
    --border: rgba(73, 68, 84, 0.4);
    --border-glow: rgba(139, 92, 246, 0.35);
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

::-webkit-scrollbar { display: none; }

/* Background Ambient Glows */
.ambient-glow-wrapper { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glow-1 { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: rgba(160, 120, 255, 0.15); filter: blur(160px); border-radius: 9999px; }
.glow-2 { position: absolute; top: 40%; left: -10%; width: 600px; height: 500px; background: rgba(76, 215, 246, 0.1); filter: blur(140px); border-radius: 9999px; }
.glow-3 { position: absolute; bottom: 0; right: 5%; width: 500px; height: 450px; background: rgba(208, 188, 255, 0.1); filter: blur(150px); border-radius: 9999px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 768px) { .container { padding: 0 1rem; } }

/* Header Navigation */
header.site-header { position: fixed; top: 0; width: 100%; z-index: 50; background: rgba(19, 18, 30, 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-group { display: flex; align-items: center; gap: 1rem; }
.brand-link { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: inherit; }
.brand-logo-icon { width: 32px; height: 32px; color: var(--secondary); transition: color 0.2s; flex-shrink: 0; }
.brand-link:hover .brand-logo-icon { color: var(--primary); }
.brand-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-main); }

.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 9999px; background: var(--surface-high); border: 1px solid rgba(73, 68, 84, 0.3); }
.pulse-dot-wrap { position: relative; display: flex; height: 8px; width: 8px; }
.pulse-dot-ping { position: absolute; display: inline-flex; height: 100%; width: 100%; border-radius: 9999px; background-color: var(--secondary); opacity: 0.75; animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
.pulse-dot-core { position: relative; display: inline-flex; border-radius: 9999px; height: 8px; width: 8px; background-color: var(--secondary); }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.live-badge-text { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 1rem; }
@media (max-width: 1024px) { .nav-links { display: none; } }
.nav-link { padding: 6px 12px; border-radius: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: all 0.2s; }
.nav-link:hover { background: var(--surface-high); color: var(--text-main); }
.nav-link.active { background: var(--surface-high); color: var(--text-main); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 0.75rem; }
.ext-site-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; background: var(--surface-card); color: var(--text-muted); text-decoration: none; border: 1px solid rgba(73, 68, 84, 0.3); font-family: var(--font-mono); font-size: 12px; transition: all 0.2s; }
.ext-site-btn:hover { background: var(--surface-high); color: var(--text-main); }
@media (max-width: 640px) { .ext-site-btn { display: none; } }

/* Hero Section */
.hero-section { position: relative; width: 100%; padding: 40px 0 32px 0; text-align: center; z-index: 10; }
.symbol-box-wrap { position: relative; display: inline-flex; margin-bottom: 1rem; }
.symbol-halo { position: absolute; inset: -8px; background: linear-gradient(135deg, var(--primary-container), var(--secondary), var(--primary)); border-radius: 16px; filter: blur(14px); opacity: 0.4; transition: opacity 0.5s; }
.symbol-box-wrap:hover .symbol-halo { opacity: 0.75; }
.symbol-box { position: relative; width: 64px; height: 64px; border-radius: 14px; background: var(--surface-card); border: 1px solid var(--border-glow); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.symbol-icon { width: 40px; height: 40px; color: var(--secondary); }
.hero-title { font-family: var(--font-display); font-size: clamp(38px, 6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; background: linear-gradient(90deg, var(--primary), var(--secondary), #e9ddff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.75rem; }
.version-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 9999px; background: var(--surface-high); margin-bottom: 1.5rem; }
.version-pill-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.version-pill-desc { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.badge-cta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 9999px; background: var(--surface-card); margin-bottom: 1rem; border: 1px solid rgba(73, 68, 84, 0.4); }
.badge-cta-text { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.hero-sub-title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.hero-desc { font-size: 16px; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem auto; line-height: 1.6; }

/* 8-Chains Summary Bar */
.summary-bar-wrapper { max-width: 1080px; margin: 0 auto; border-radius: 12px; background: var(--surface-low); padding: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); border: 1px solid var(--border); }
.summary-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
@media (max-width: 1024px) { .summary-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .summary-grid { grid-template-columns: repeat(2, 1fr); } }
.summary-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: var(--surface-card); transition: background 0.2s; }
.summary-item:hover { background: var(--surface-high); }
.summary-left { display: flex; align-items: center; gap: 6px; }
.summary-name { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-main); }
.summary-id { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* Ecosystem Section */
.section-ecosystem { width: 100%; padding: 40px 0; }
.eco-header-row { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
@media (min-width: 768px) { .eco-header-row { flex-direction: row; align-items: flex-end; } }
.section-tag { font-family: var(--font-mono); font-size: 11px; color: var(--primary); display: block; margin-bottom: 4px; }
.section-heading { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text-main); letter-spacing: -0.02em; }
.eco-desc { font-size: 14px; color: var(--text-muted); max-width: 440px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .ecosystem-grid { grid-template-columns: 1fr; } }
.eco-card { display: flex; flex-direction: column; border-radius: 14px; background: var(--surface-card); overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--border); transition: all 0.3s; }
.eco-card:hover { background: var(--surface-high); transform: translateY(-4px); border-color: var(--border-glow); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.eco-card.active-card { border-color: rgba(208, 188, 255, 0.4); }
.eco-img-box { position: relative; width: 100%; height: 160px; background: var(--surface-lowest); overflow: hidden; }
.eco-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.5s, opacity 0.5s; }
.eco-card:hover .eco-img { transform: scale(1.04); opacity: 1; }
.eco-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--surface-card), transparent); }
.eco-badge-tag { position: absolute; top: 12px; left: 12px; padding: 3px 8px; border-radius: 9999px; background: var(--surface-highest); font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--primary); }
.eco-badge-tag.active { background: var(--primary-container); color: var(--on-primary-container); font-weight: 700; }
.eco-body { padding: 20px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.eco-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-main); display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.eco-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.eco-cta { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--secondary); font-weight: 600; }
.eco-cta.primary-cta { color: var(--primary); }

/* RPC Cards Grid */
.section-rpc-nodes { width: 100%; padding: 40px 0 60px 0; }
.rpc-filter-bar { display: flex; align-items: center; gap: 6px; background: var(--surface-card); padding: 4px; border-radius: 10px; border: 1px solid var(--border); }
.filter-btn { padding: 4px 12px; border-radius: 6px; border: none; background: transparent; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-btn.active { background: var(--surface-high); color: var(--text-main); font-weight: 600; }
.rpc-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
@media (max-width: 992px) { .rpc-cards-grid { grid-template-columns: 1fr; } }
.rpc-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.rpc-card:hover { border-color: var(--border-glow); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2); transform: translateY(-2px); }
.rpc-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chain-badge-group { display: flex; align-items: center; gap: 12px; }
.chain-avatar { width: 40px; height: 40px; border-radius: 10px; background: rgba(160, 120, 255, 0.15); display: flex; align-items: center; justify-content: center; color: var(--primary); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.chain-avatar.bnb { color: var(--tertiary); background: rgba(255, 185, 95, 0.15); }
.chain-avatar.polygon { color: var(--primary-container); background: rgba(160, 120, 255, 0.2); }
.chain-avatar.arbitrum { color: var(--secondary); background: rgba(76, 215, 246, 0.15); }
.chain-avatar.op { color: var(--error); background: rgba(255, 180, 171, 0.15); }
.chain-avatar.base { color: var(--secondary); background: rgba(3, 181, 211, 0.2); }
.chain-avatar.avax { color: var(--error); background: rgba(255, 180, 171, 0.15); }
.chain-avatar.ftm { color: var(--secondary); background: rgba(76, 215, 246, 0.15); }
.chain-titles h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-main); }
.chain-titles span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.chain-id-pill { font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--surface-high); color: var(--text-muted); }
.status-indicator { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 9999px; background: rgba(76, 215, 246, 0.1); font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--secondary); }

/* Endpoint Inputs */
.ep-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ep-label-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.ep-highlight { color: var(--secondary); }
.ep-input-box { display: flex; align-items: center; background: var(--surface-low); border: 1px solid var(--border); border-radius: 8px; padding: 4px 6px 4px 10px; gap: 8px; }
.ep-input-box:focus-within { border-color: var(--primary); }
.ep-input-box input { background: transparent; border: none; outline: none; color: var(--text-main); font-family: var(--font-mono); font-size: 12px; flex: 1; }
.btn-ep-copy { padding: 5px 12px; border-radius: 6px; border: none; background: var(--surface-high); color: var(--text-main); font-family: var(--font-mono); font-size: 11px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: all 0.2s; }
.btn-ep-copy:hover { background: var(--primary); color: var(--on-primary-container); }

/* WSS Test Strip */
.wss-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface-lowest); padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid rgba(73, 68, 84, 0.25); }
.btn-wss { padding: 4px 10px; border-radius: 6px; border: none; background: rgba(76, 215, 246, 0.15); color: var(--secondary); font-family: var(--font-mono); font-size: 11px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.btn-wss:hover { background: rgba(76, 215, 246, 0.25); }
.wss-benchmark-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.wss-benchmark-label.ok { color: var(--secondary); font-weight: 600; }
.wss-benchmark-label.fail { color: var(--error); }

/* Accordion Snippets */
.qs-accordion { border-radius: 8px; background: var(--surface-lowest); overflow: hidden; margin-bottom: 16px; border: 1px solid rgba(73, 68, 84, 0.25); }
.qs-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: none; background: transparent; color: var(--text-main); cursor: pointer; font-family: var(--font-mono); font-size: 12px; font-weight: 600; transition: background 0.2s; }
.qs-trigger:hover { background: rgba(42, 40, 54, 0.4); }
.qs-content { padding: 0 12px 12px 12px; }
.qs-content.hidden { display: none; }
.qs-tab-bar { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid rgba(73, 68, 84, 0.2); padding-bottom: 8px; margin-bottom: 8px; }
.qs-tab-btn { padding: 3px 8px; border-radius: 4px; border: none; background: transparent; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; cursor: pointer; }
.qs-tab-btn.active { background: var(--primary-container); color: var(--on-primary-container); font-weight: 600; }
.qs-code-box { background: var(--surface-dim); padding: 10px; border-radius: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-main); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* Card Bottom Stats */
.card-bottom-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(73, 68, 84, 0.2); flex-wrap: wrap; gap: 12px; }
.stat-col { display: flex; flex-direction: column; }
.stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; }
.stat-val { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-main); }
.stat-val.highlight { color: var(--secondary); }
.btn-add-wallet:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Feature & Metrics Strip */
.section-feature-strip { width: 100%; padding: 48px 0; background: rgba(14, 13, 25, 0.6); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-content-row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .feature-content-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.feature-desc h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.feature-desc p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 580px; }
.metrics-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.metric-box { padding: 16px 20px; border-radius: 12px; background: var(--surface-card); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.metric-box-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; }
.metric-box-val { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--text-main); }
.metric-box-val.cyan { color: var(--secondary); }
.metric-box-val.purple { color: var(--primary); }

/* Toast Notification */
#toastNotification { position: fixed; bottom: 24px; right: 24px; z-index: 999; transform: translateY(80px); opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; background: var(--surface-highest); border: 1px solid var(--border-glow); box-shadow: 0 10px 30px rgba(0,0,0,0.6); font-family: var(--font-mono); font-size: 13px; color: var(--text-main); }
#toastNotification.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* Shared Modular Footer Styles */
.site-footer { width: 100%; background: #0e0d19; border-top: 1px solid rgba(139, 92, 246, 0.22); padding: 32px 0 28px 0; margin-top: auto; font-family: 'Space Grotesk', -apple-system, sans-serif; color: #94a3b8; }
.footer-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.footer-top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.footer-brand-icon { width: 28px; height: 28px; background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #a78bfa; }
.footer-brand-name { font-size: 15px; font-weight: 700; color: #ffffff; letter-spacing: -0.01em; }
.footer-brand-desc { font-size: 12.5px; color: #64748b; margin-left: 4px; }
.footer-social-wrap { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; }
.footer-social-label { color: #38bdf8; font-weight: 700; }
.footer-social-links { display: inline-flex; align-items: center; gap: 6px; }
.footer-social-chip { color: #94a3b8; text-decoration: none; transition: all 0.15s ease; padding: 2px 4px; border-radius: 4px; }
.footer-social-chip:hover { color: #ffffff; background: rgba(139, 92, 246, 0.18); }
.footer-social-sep { color: #475569; }
.footer-divider { height: 1px; background: rgba(139, 92, 246, 0.12); margin: 20px 0 16px 0; }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #64748b; flex-wrap: wrap; }
.footer-contact { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact svg { color: #38bdf8; }
.footer-contact a { color: #38bdf8; text-decoration: none; transition: color 0.15s ease; }
.footer-contact a:hover { color: #ffffff; text-decoration: underline; }
.footer-copyright { color: #64748b; }
@media (max-width: 768px) {
    .footer-top-row, .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-brand, .footer-social-wrap { flex-wrap: wrap; }
}

/* Mobile layout hardening */
@media (max-width: 768px) {
    html, body { width:100%; max-width:100%; overflow-x:hidden; }
    .container { width:100%; max-width:100%; padding-left:12px; padding-right:12px; }
    main { width:100%; max-width:100%; overflow-x:clip; }
    .header-inner, .brand-group, .brand-link, .header-right { min-width:0; }
    .header-inner { width:100%; gap:8px; }
    .brand-title { font-size:17px; }
    .hero-section { padding-top:28px; padding-bottom:24px; }
    .version-pill, .badge-cta { max-width:100%; }
    .version-pill { flex-wrap:wrap; justify-content:center; text-align:center; }
    .version-pill-desc { min-width:0; overflow-wrap:anywhere; }
    .hero-desc { max-width:100%; padding:0 4px; }
    .summary-bar-wrapper, .summary-grid, .section-ecosystem, .section-rpc-nodes, .section-feature-strip { width:100%; max-width:100%; }
    .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .summary-item { min-width:0; }
    .eco-header-row, .eco-desc { min-width:0; max-width:100%; }
    .ecosystem-grid, .rpc-cards-grid { width:100%; max-width:100%; grid-template-columns:minmax(0,1fr); gap:14px; }
    .rpc-card, .eco-card { width:100%; max-width:100%; min-width:0; }
    .rpc-card { padding:14px; border-radius:12px; }
    .rpc-card-header { align-items:flex-start; gap:10px; flex-wrap:wrap; }
    .chain-badge-group { min-width:0; flex:1 1 180px; }
    .chain-titles { min-width:0; }
    .chain-titles h3, .chain-titles span { overflow-wrap:anywhere; word-break:break-word; }
    .rpc-card-header > div:last-child { min-width:0; flex-wrap:wrap; justify-content:flex-start; }
    .ep-group { width:100%; min-width:0; }
    .ep-label-row { gap:8px; flex-wrap:wrap; }
    .ep-input-box { width:100%; min-width:0; }
    .ep-input-box input { min-width:0; width:0; overflow:hidden; text-overflow:ellipsis; }
    .btn-ep-copy { flex:0 0 auto; padding-left:9px; padding-right:9px; }
    .wss-row { width:100%; min-width:0; align-items:flex-start; gap:8px; flex-wrap:wrap; padding:9px 10px; }
    .wss-row > div { min-width:0; max-width:100%; flex-wrap:wrap; }
    .wss-benchmark-label { overflow-wrap:anywhere; }
    .qs-accordion { width:100%; min-width:0; }
    .qs-tab-bar { overflow-x:auto; max-width:100%; scrollbar-width:none; }
    .qs-tab-bar::-webkit-scrollbar { display:none; }
    .qs-tab-btn { flex:0 0 auto; }
    .qs-code-box { width:100%; min-width:0; overflow-x:auto; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }
    .qs-code-box pre { min-width:0; max-width:100%; }
    .card-bottom-row { width:100%; align-items:stretch; gap:12px; }
    .card-bottom-row > div { min-width:0; flex-wrap:wrap; }
    .stat-col { min-width:0; }
    .stat-val { overflow-wrap:anywhere; }
    .btn-add-wallet { width:100%; justify-content:center; min-height:40px; }
    .metrics-strip { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .metric-box { min-width:0; width:100%; padding:12px; }
    #toastNotification { left:12px; right:12px; bottom:12px; justify-content:center; text-align:center; }
}
@media (max-width:420px) {
    .brand-title { font-size:16px; }
    .live-badge { display:none; }
    .hero-title { font-size:36px; }
    .hero-sub-title { font-size:23px; }
    .hero-desc { font-size:14px; }
    .rpc-card { padding:12px; }
    .chain-avatar { width:36px; height:36px; flex:0 0 36px; }
    .chain-titles h3 { font-size:16px; }
    .chain-titles span { font-size:10px; }
    .chain-id-pill, .status-indicator { font-size:10px; }
    .ep-input-box { gap:5px; }
    .btn-ep-copy { padding:5px 8px; }
    .btn-ep-copy span:last-child { display:none; }
    .metrics-strip { grid-template-columns:1fr; }
}

