/* ============================================================================
   MYRILUM Explorer (ChainID: 88888) — MYRILUM Spectral Prism v4.0 Design System
   Light Alabaster (#FFFFFF / #FBFAFF) & Dark Obsidian (#0D111C / #161D2F)
   Brand Core: Imperial Violet (#6D28D9) + Ultramarine Indigo (#4F46E5)
   ============================================================================ */
:root {
  color-scheme: light dark;

  /* MYRILUM Spectral Prism v4.0 Canonical Tokens */
  --myr-brand-violet: #6D28D9;
  --myr-brand-violet-hover: #5B21B6;
  --myr-brand-violet-active: #4C1D95;
  --myr-brand-indigo: #4F46E5;
  --myr-brand-cyan: #0284C7;
  --myr-gradient-prism: linear-gradient(135deg, #6D28D9 0%, #4F46E5 56%, #0EA5E9 100%);
  --myr-gradient-cta: linear-gradient(180deg, #7C3AED 0%, #6D28D9 52%, #5B21B6 100%);
  --myr-gradient-cta-hover: linear-gradient(180deg, #6D28D9 0%, #5B21B6 52%, #4C1D95 100%);

  --myr-canvas: #FFFFFF;
  --myr-surface: #FBFAFF;
  --myr-surface-card: #FFFFFF;
  --myr-surface-subtle: #F4F2FA;
  --myr-border: #E6E3F1;
  --myr-border-strong: #C7BFEF;
  --myr-border-control: #8379A6;
  --myr-ink: #0B0F1A;
  --myr-ink-secondary: #252B3D;
  --myr-ink-muted: #4A5068;

  /* Explorer Bridge Tokens (Light Alabaster) */
  --eth-bg-page: #FBFAFF;
  --eth-bg-surface: #FFFFFF;
  --eth-bg-subtle: #F4F2FA;
  --eth-bg-hover: #EDE9FE;
  --eth-fg-primary: #0B0F1A;
  --eth-fg-secondary: #252B3D;
  --eth-fg-muted: #4A5068;
  --eth-border: #E6E3F1;
  --eth-border-strong: #8379A6;

  /* Spectral Prism Brand & Semantic Palette (WCAG 2.2 AA/AAA Calibrated) */
  --eth-indigo: #6D28D9;
  --eth-indigo-text: #5B21B6;
  --eth-indigo-hover: #4C1D95;
  --eth-indigo-deep: #4F46E5;
  --eth-indigo-soft: rgba(109, 40, 217, 0.10);
  --eth-btn-bg: #6D28D9;
  --eth-btn-hover: #5B21B6;
  --eth-violet: #6D28D9;
  --eth-link: #4F46E5;
  --eth-link-hover: #5B21B6;
  --eth-emerald: #047857;
  --eth-emerald-bg: #ECFDF5;
  --eth-emerald-border: rgba(4, 120, 87, 0.34);
  --eth-cyan: #0369A1;
  --eth-amber: #B45309;
  --eth-amber-bg: #FFFBEB;
  --eth-danger: #BE123C;
  --eth-danger-border: rgba(190, 18, 60, 0.36);
  --eth-gold-accent: #5B21B6;
  --eth-gold-border: #C7BFEF;

  /* Spectral Prism Radial Hero Aura */
  --eth-hero-bg:
    radial-gradient(circle at 14% 22%, rgba(109, 40, 217, 0.13) 0%, transparent 48%),
    radial-gradient(circle at 84% 26%, rgba(79, 70, 229, 0.12) 0%, transparent 46%),
    radial-gradient(circle at 68% 88%, rgba(14, 165, 233, 0.08) 0%, transparent 48%),
    linear-gradient(180deg, #F4F2FA 0%, #FBFAFF 62%, #FFFFFF 100%);

  --eth-shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.90), 0 1px 2px rgba(11, 15, 26, 0.04);
  --eth-shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.90), 0 1px 2px rgba(11, 15, 26, 0.04), 0 12px 32px -10px rgba(79, 70, 229, 0.11);
  --eth-shadow-float: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 18px 42px -8px rgba(79, 70, 229, 0.18);

  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", "PingFang SC", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;

  accent-color: var(--myr-brand-violet);
}

:root[data-theme="light"] {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --myr-brand-violet: #8B5CF6;
    --myr-brand-violet-hover: #A78BFA;
    --myr-brand-indigo: #818CF8;
    --myr-brand-cyan: #38BDF8;
    --myr-canvas: #0D111C;
    --myr-surface: #121726;
    --myr-surface-card: #161D2F;
    --myr-surface-subtle: #1D253B;
    --myr-border: rgba(167, 139, 250, 0.15);
    --myr-border-strong: rgba(167, 139, 250, 0.34);
    --myr-border-control: rgba(167, 139, 250, 0.42);
    --myr-ink: #F8FAFC;
    --myr-ink-secondary: #CBD5E1;
    --myr-ink-muted: #9CA6C2;

    --eth-bg-page: #0D111C;
    --eth-bg-surface: #161D2F;
    --eth-bg-subtle: #1D253B;
    --eth-bg-hover: rgba(139, 92, 246, 0.16);
    --eth-fg-primary: #F8FAFC;
    --eth-fg-secondary: #CBD5E1;
    --eth-fg-muted: #9CA6C2;
    --eth-border: rgba(167, 139, 250, 0.15);
    --eth-border-strong: rgba(167, 139, 250, 0.42);

    --eth-indigo: #8B5CF6;
    --eth-indigo-text: #C4B5FD;
    --eth-indigo-hover: #DDD6FE;
    --eth-indigo-deep: #818CF8;
    --eth-indigo-soft: rgba(139, 92, 246, 0.16);
    --eth-btn-bg: #6D28D9;
    --eth-btn-hover: #5B21B6;
    --eth-violet: #8B5CF6;
    --eth-link: #A78BFA;
    --eth-link-hover: #C4B5FD;
    --eth-emerald: #34D399;
    --eth-emerald-bg: rgba(16, 185, 129, 0.14);
    --eth-emerald-border: rgba(52, 211, 153, 0.45);
    --eth-cyan: #38BDF8;
    --eth-amber: #FBBF24;
    --eth-amber-bg: rgba(245, 158, 11, 0.15);
    --eth-danger: #FB7185;
    --eth-danger-border: rgba(251, 113, 133, 0.50);
    --eth-gold-accent: #C4B5FD;
    --eth-gold-border: rgba(167, 139, 250, 0.42);

    --eth-hero-bg:
      radial-gradient(circle at 15% 20%, rgba(109, 40, 217, 0.26) 0%, transparent 50%),
      radial-gradient(circle at 82% 24%, rgba(79, 70, 229, 0.22) 0%, transparent 46%),
      radial-gradient(circle at 70% 85%, rgba(14, 165, 233, 0.10) 0%, transparent 50%),
      linear-gradient(180deg, #121726 0%, #0D111C 100%);

    --eth-shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 6px rgba(0, 0, 0, 0.30);
    --eth-shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 6px 24px rgba(0, 0, 0, 0.38);
    --eth-shadow-float: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 50px rgba(0, 0, 0, 0.58);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --myr-brand-violet: #8B5CF6;
  --myr-brand-violet-hover: #A78BFA;
  --myr-brand-indigo: #818CF8;
  --myr-brand-cyan: #38BDF8;
  --myr-canvas: #0D111C;
  --myr-surface: #121726;
  --myr-surface-card: #161D2F;
  --myr-surface-subtle: #1D253B;
  --myr-border: rgba(167, 139, 250, 0.15);
  --myr-border-strong: rgba(167, 139, 250, 0.34);
  --myr-border-control: rgba(167, 139, 250, 0.42);
  --myr-ink: #F8FAFC;
  --myr-ink-secondary: #CBD5E1;
  --myr-ink-muted: #9CA6C2;

  --eth-bg-page: #0D111C;
  --eth-bg-surface: #161D2F;
  --eth-bg-subtle: #1D253B;
  --eth-bg-hover: rgba(139, 92, 246, 0.16);
  --eth-fg-primary: #F8FAFC;
  --eth-fg-secondary: #CBD5E1;
  --eth-fg-muted: #9CA6C2;
  --eth-border: rgba(167, 139, 250, 0.15);
  --eth-border-strong: rgba(167, 139, 250, 0.42);

  --eth-indigo: #8B5CF6;
  --eth-indigo-text: #C4B5FD;
  --eth-indigo-hover: #DDD6FE;
  --eth-indigo-deep: #818CF8;
  --eth-indigo-soft: rgba(139, 92, 246, 0.16);
  --eth-btn-bg: #6D28D9;
  --eth-btn-hover: #5B21B6;
  --eth-violet: #8B5CF6;
  --eth-link: #A78BFA;
  --eth-link-hover: #C4B5FD;
  --eth-emerald: #34D399;
  --eth-emerald-bg: rgba(16, 185, 129, 0.14);
  --eth-emerald-border: rgba(52, 211, 153, 0.45);
  --eth-cyan: #38BDF8;
  --eth-amber: #FBBF24;
  --eth-amber-bg: rgba(245, 158, 11, 0.15);
  --eth-danger: #FB7185;
  --eth-danger-border: rgba(251, 113, 133, 0.50);
  --eth-gold-accent: #C4B5FD;
  --eth-gold-border: rgba(167, 139, 250, 0.42);

  --eth-hero-bg:
    radial-gradient(circle at 15% 20%, rgba(109, 40, 217, 0.26) 0%, transparent 50%),
    radial-gradient(circle at 82% 24%, rgba(79, 70, 229, 0.22) 0%, transparent 46%),
    radial-gradient(circle at 70% 85%, rgba(14, 165, 233, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #121726 0%, #0D111C 100%);

  --eth-shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 6px rgba(0, 0, 0, 0.30);
  --eth-shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 6px 24px rgba(0, 0, 0, 0.38);
  --eth-shadow-float: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 50px rgba(0, 0, 0, 0.58);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, ol, dl, dd, pre {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  background: var(--eth-bg-page);
  color: var(--eth-fg-primary);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
}

a {
  color: var(--eth-link);
  text-decoration: none;
}
a:hover {
  color: var(--eth-link-hover);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--eth-indigo-text);
  outline-offset: 2px;
}

.eth-omnibox input:focus-visible,
.eth-omnibox select:focus-visible {
  outline: 2px solid var(--eth-indigo-text);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--eth-btn-bg);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--eth-shadow-float);
}
.skip-link:focus {
  left: 16px;
  color: #ffffff;
}

.eth-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================================
   1. Etherscan-Style Top Telemetry Utility Strip
   ============================================================================ */
.eth-utility-bar {
  background: var(--eth-bg-surface);
  border-bottom: 1px solid var(--eth-border);
  font-size: 12px;
  color: var(--eth-fg-muted);
}

.eth-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 10px;
  flex-wrap: wrap;
}

.eth-ticker-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eth-ticker-item strong {
  color: var(--eth-fg-primary);
  font-weight: 600;
}

.eth-up {
  color: var(--eth-emerald);
  font-weight: 600;
}

.eth-utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eth-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--eth-border-strong);
  background: var(--eth-bg-subtle);
  color: var(--eth-fg-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.eth-mini-btn:hover {
  border-color: var(--eth-indigo-text);
  color: var(--eth-indigo-text);
}

.eth-wp-btn {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: var(--radius-md);
  border-color: var(--eth-gold-border);
  color: var(--eth-fg-primary);
}
.eth-wp-btn svg {
  color: var(--eth-gold-accent);
  flex-shrink: 0;
}
.eth-wp-btn:hover {
  border-color: var(--eth-gold-accent);
  color: var(--eth-gold-accent);
}

.eth-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.eth-nav-cta {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.eth-nav-cta img {
  flex-shrink: 0;
}

/* ============================================================================
   2. MYRILUM Spectral Prism v4.0 Sticky Main Navigation Bar
   ============================================================================ */
.eth-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--eth-bg-surface) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--eth-border);
}
.eth-navbar::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--myr-gradient-prism);
}

.eth-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 12px;
  flex-wrap: nowrap;
}

.eth-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.eth-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28);
  display: block;
}

.eth-brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--eth-fg-primary);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.eth-chain-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--eth-indigo-soft);
  border: 1px solid var(--myr-border-strong);
  color: var(--eth-indigo-text);
}

.eth-brand-sub {
  font-size: 11.5px;
  color: var(--eth-fg-muted);
  white-space: nowrap;
}

.eth-nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.eth-nav-tabs::-webkit-scrollbar {
  display: none;
}

.eth-nav-tab {
  min-height: 34px;
  padding: 6px 9px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--eth-fg-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.eth-nav-tab:hover {
  background: var(--eth-bg-subtle);
  color: var(--eth-fg-primary);
}
.eth-nav-tab.active {
  background: var(--eth-indigo-soft);
  border-color: var(--myr-border-strong);
  color: var(--eth-indigo-text);
  font-weight: 700;
}

.eth-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--myr-brand-violet-hover);
  background: var(--myr-gradient-cta);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 14px rgba(109, 40, 217, 0.26);
  transition: filter 0.15s ease, transform 0.1s ease;
}
.eth-btn-primary:hover:not(:disabled) {
  background: var(--myr-gradient-cta-hover);
  color: #ffffff;
}
.eth-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================================
   3. Ethereum.org Aura Hero + Etherscan Omnibox Search
   ============================================================================ */
.eth-hero {
  background: var(--eth-hero-bg);
  border-bottom: 1px solid var(--eth-border);
  padding: 34px 0 64px;
  position: relative;
  overflow: hidden;
}

.eth-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 28px;
}

.eth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--eth-bg-surface);
  border: 1px solid var(--eth-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--eth-indigo-text);
  margin-bottom: 12px;
  box-shadow: var(--eth-shadow-sm);
}

.eth-hero-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--eth-fg-primary);
}

.eth-hero-desc {
  font-size: 14px;
  color: var(--eth-fg-secondary);
  margin-bottom: 18px;
}

.eth-omnibox {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 780px;
  background: var(--eth-bg-surface);
  border: 1.5px solid var(--eth-border-strong);
  border-radius: var(--radius-lg);
  padding: 5px;
  box-shadow: var(--eth-shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.eth-omnibox:focus-within {
  border-color: var(--eth-indigo);
  box-shadow: 0 0 0 4px var(--eth-indigo-soft);
}

.eth-omnibox select {
  border: none;
  background: var(--eth-bg-subtle);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--eth-fg-secondary);
  outline: none;
  cursor: pointer;
}

.eth-omnibox input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13.5px;
  outline: none;
  min-width: 180px;
}

.eth-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--eth-fg-muted);
}

.eth-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--eth-bg-surface);
  border: 1px solid var(--eth-border-strong);
  color: var(--eth-fg-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.eth-chip:hover {
  border-color: var(--eth-indigo-text);
  color: var(--eth-indigo-text);
}

/* Right Hero Emblem (Ethereum Octahedron Geometry + LingheOS Luminous Core) */
.eth-hero-emblem-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.eth-emblem-stage {
  position: relative;
  width: 236px;
  height: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eth-emblem-core {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(109, 40, 217, 0.34), inset 0 1px 2px rgba(255, 255, 255, 0.55);
  z-index: 2;
  animation: ethFloat 5s ease-in-out infinite;
}

@keyframes ethFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.eth-orbit-pill {
  position: absolute;
  z-index: 3;
  background: var(--eth-bg-surface);
  border: 1px solid var(--eth-border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: var(--eth-shadow-card);
  white-space: nowrap;
}

/* ============================================================================
   4. Etherscan Canonical 6-Cell Master Overview Card (Overlapping Hero)
   ============================================================================ */
.eth-main {
  margin-top: -36px;
  position: relative;
  z-index: 10;
  padding-bottom: 56px;
}

.eth-overview-card {
  background: var(--eth-bg-surface);
  border: 1px solid var(--eth-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--eth-shadow-card);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 22px;
}

.eth-metric-cell {
  padding: 18px 22px;
  border-right: 1px solid var(--eth-border);
  border-bottom: 1px solid var(--eth-border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.eth-metric-cell:nth-child(3n) {
  border-right: none;
}
.eth-metric-cell:nth-child(n+4) {
  border-bottom: none;
}

.eth-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--eth-bg-subtle);
  color: var(--eth-indigo-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.eth-metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--eth-fg-muted);
  margin-bottom: 3px;
  font-weight: 600;
}

.eth-metric-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--eth-fg-primary);
}

.eth-metric-sub {
  font-size: 12px;
  color: var(--eth-fg-muted);
  margin-top: 2px;
}

/* ============================================================================
   5. Etherscan Dual Feed Grid (Latest Blocks | Latest Transactions) & Panels
   ============================================================================ */
.eth-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.eth-card {
  background: var(--eth-bg-surface);
  border: 1px solid var(--eth-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--eth-shadow-card);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.15s ease;
}
.eth-card:hover {
  border-color: var(--myr-border-strong);
}

.eth-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--eth-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eth-card-title {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.eth-feed-list {
  display: flex;
  flex-direction: column;
}

.eth-feed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  transition: background 0.12s ease;
}
.eth-feed-row:not(:last-child) {
  border-bottom: 1px solid var(--eth-border);
}
.eth-feed-row:hover {
  background: var(--eth-bg-subtle);
}

.eth-bk-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--eth-bg-subtle);
  color: var(--eth-fg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.eth-method-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--eth-bg-subtle);
  border: 1px solid var(--eth-border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eth-fg-secondary);
}

.eth-fee-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--eth-indigo-soft);
  color: var(--eth-indigo-text);
  font-size: 11.5px;
  font-weight: 700;
}

.eth-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--eth-emerald-bg);
  border: 1px solid var(--eth-emerald-border);
  color: var(--eth-emerald);
  font-size: 11.5px;
  font-weight: 700;
}

/* Tables */
.eth-table-wrap {
  overflow-x: auto;
}

.eth-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.eth-table th {
  text-align: left;
  padding: 12px 18px;
  background: var(--eth-bg-subtle);
  color: var(--eth-fg-secondary);
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid var(--eth-border);
  white-space: nowrap;
}

.eth-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--eth-border);
  vertical-align: middle;
}

.eth-table tr:last-child td {
  border-bottom: none;
}
.eth-table tbody tr:hover {
  background: var(--eth-bg-subtle);
}

/* Inspector Drawer / Card */
.eth-inspector {
  background: var(--eth-bg-surface);
  border: 1.5px solid var(--eth-indigo);
  border-radius: var(--radius-xl);
  box-shadow: var(--eth-shadow-float);
  padding: 20px 24px;
  margin-bottom: 22px;
}

.eth-kv-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  row-gap: 10px;
  column-gap: 16px;
  font-size: 13.5px;
  margin-top: 12px;
}

.eth-kv-key {
  color: var(--eth-fg-muted);
  font-weight: 500;
}

/* Footer */
.eth-footer {
  border-top: 1px solid var(--eth-border);
  background: var(--eth-bg-surface);
  padding: 28px 0;
  color: var(--eth-fg-muted);
  font-size: 12.5px;
}

@media (max-width: 1460px) {
  .eth-brand-sub {
    display: none;
  }
}

@media (max-width: 1220px) {
  .eth-navbar-inner {
    flex-wrap: wrap;
    padding: 8px 0;
    gap: 8px;
  }
  .eth-nav-tabs {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-top: 6px;
    border-top: 1px solid var(--eth-border);
  }
}

@media (max-width: 980px) {
  .eth-hero-grid {
    grid-template-columns: 1fr;
  }
  .eth-hero-emblem-wrap {
    display: none;
  }
  .eth-overview-card {
    grid-template-columns: 1fr;
  }
  .eth-metric-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--eth-border) !important;
  }
  .eth-dual-grid {
    grid-template-columns: 1fr;
  }
  .eth-kv-grid {
    grid-template-columns: 1fr;
  }
  .eth-omnibox {
    flex-wrap: wrap;
  }
  .eth-omnibox select {
    width: 100%;
  }
}

.eth-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--eth-emerald);
}

.eth-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  display: inline-block;
}

.eth-icon-rounded {
  border-radius: 4px;
}

.eth-icon-foot {
  border-radius: 7px;
}

.eth-search-submit {
  padding: 9px 18px;
}

.eth-emblem-svg {
  position: absolute;
  inset: 0;
}

.eth-orbit-top {
  top: 8px;
  right: -4px;
  color: var(--eth-indigo-text);
}

.eth-orbit-mid {
  top: 96px;
  left: -14px;
  color: var(--eth-emerald);
}

.eth-orbit-bot {
  bottom: 10px;
  right: -4px;
  color: var(--eth-cyan);
}

.eth-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.eth-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.eth-footer-entity {
  color: var(--eth-fg-primary);
}

.eth-footer-nav {
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.eth-footer-nav a {
  font-weight: 600;
}

.eth-v3-portal-strip {
  border-bottom: 1px solid var(--eth-border);
  background: var(--myr-surface);
  font-size: 12.5px;
}

.eth-v3-portal-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 7px 0;
}

.eth-v3-portal-strip a {
  color: var(--eth-indigo-text);
  font-weight: 600;
  text-decoration: none;
}

.eth-v3-portal-strip a:hover {
  text-decoration: underline;
}

.eth-metric-cell,
.eth-metric-cell > div,
.eth-kv-grid > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .eth-container {
    padding: 0 14px;
  }
  .eth-hero {
    padding: 24px 0 52px;
  }
  .eth-hero-title {
    font-size: 22px;
  }
  .eth-omnibox input {
    min-width: 0;
    width: 100%;
  }
  .eth-search-submit {
    width: 100%;
    justify-content: center;
  }
  .eth-brand-title {
    font-size: 14.5px;
    white-space: normal;
    flex-wrap: wrap;
  }
  .eth-wp-btn span {
    display: none;
  }
}

@media (forced-colors: active) {
  .eth-btn-primary,
  .eth-mini-btn,
  .eth-card,
  .eth-overview-card,
  .eth-omnibox {
    border: 1px solid ButtonText;
  }
}
