:root {
  --page: #170403;
  --page-deep: #0f0202;
  --panel: rgba(24, 8, 8, 0.92);
  --panel-soft: rgba(39, 10, 8, 0.88);
  --line: rgba(255, 118, 49, 0.24);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #fff9f3;
  --muted: #cdb4a7;
  --red: #f1322a;
  --red-dark: #a4110e;
  --orange: #ff7a17;
  --gold: #ffc748;
  --cream: #fff1d1;
  --green: #45d66f;
  --blue: #2578ff;
  --purple: #8d64ff;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% -5%, rgba(255, 92, 26, 0.23), transparent 32%),
    radial-gradient(circle at 8% 25%, rgba(241, 50, 42, 0.18), transparent 27%),
    linear-gradient(145deg, var(--page-deep), var(--page) 58%, #250604);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 171, 61, 0.52) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 84, 31, 0.42) 0 1px, transparent 1.7px);
  background-position: 0 0, 28px 34px;
  background-size: 72px 72px, 92px 92px;
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.ember-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 34px;
  background: rgba(17, 2, 2, 0.9);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.035em;
}
.brand img { width: 45px; height: 45px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: 34px; }
.desktop-nav a {
  position: relative;
  padding: 29px 0 25px;
  color: #dfcfc6;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 16px rgba(255, 112, 24, 0.75);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.live-chip, .panel-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 72, 41, 0.58);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 850;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b31;
  box-shadow: 0 0 0 0 rgba(255, 59, 49, 0.72);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 59, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 49, 0); }
}
.outline-button {
  border: 1px solid rgba(255, 133, 35, 0.52);
  border-radius: 13px;
  padding: 11px 15px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 105, 25, 0.06);
  transition: 0.18s ease;
}
.outline-button:hover { transform: translateY(-1px); background: rgba(255, 105, 25, 0.14); }

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.sidebar {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  padding: 28px 20px;
  background:
    radial-gradient(circle at 30% 8%, rgba(255, 104, 26, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(91, 13, 8, 0.96), rgba(45, 5, 4, 0.96));
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.mascot-frame {
  width: 206px;
  height: 206px;
  margin: 0 auto;
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 5px;
  background: rgba(255, 157, 25, 0.12);
  box-shadow: 0 0 32px rgba(255, 116, 27, 0.28);
  overflow: hidden;
}
.mascot-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sidebar-title { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 26px; }
.sidebar-title strong { font-size: 22px; }
.sidebar-title span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.36); border-radius: 9px; font-size: 12px; font-weight: 850; }
.sidebar-menu { display: grid; gap: 7px; }
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  color: #e6cec4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid transparent;
}
.sidebar-menu a:hover { background: rgba(255,255,255,.05); color: white; }
.sidebar-menu a.selected {
  color: white;
  border-color: var(--orange);
  background: linear-gradient(90deg, rgba(240, 47, 38, 0.27), rgba(255, 126, 25, 0.13));
  box-shadow: inset 0 0 20px rgba(255, 92, 24, 0.06), 0 0 18px rgba(255, 72, 27, 0.08);
}
.sidebar-menu span { width: 24px; text-align: center; }
.heat-card {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(255, 115, 27, 0.58);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 104, 12, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(78, 9, 5, 0.96), rgba(118, 22, 8, 0.82));
}
.mini-label { display: block; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.heat-card strong { display: block; margin-top: 8px; font-size: 18px; line-height: 1.25; }
.heat-card p { margin: 10px 0 16px; color: #e8c6b5; font-size: 12px; line-height: 1.55; }
.heat-card button {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 10px 12px;
  color: #2a0b05;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.content { min-width: 0; padding: 28px 34px 52px; }
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 99, 31, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 28%, rgba(255, 105, 13, 0.38), transparent 25%),
    radial-gradient(circle at 60% 100%, rgba(184, 17, 11, 0.36), transparent 40%),
    linear-gradient(125deg, rgba(50, 5, 4, 0.97), rgba(103, 14, 8, 0.93) 54%, rgba(45, 5, 3, 0.96));
  box-shadow: var(--shadow);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 183, 70, .55) 0 1.2px, transparent 1.8px);
  background-size: 54px 54px;
  opacity: .17;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding: 42px 36px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffddc2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow.small { font-size: 10px; color: #ffba8e; }
.hero-copy h1 { margin: 14px 0 18px; font-size: clamp(48px, 6vw, 80px); line-height: .95; letter-spacing: -.065em; }
.hero-copy h1 span { color: transparent; background: linear-gradient(100deg, #ffe77d, #ffb432 42%, #ff6b1c); background-clip: text; -webkit-background-clip: text; }
.hero-copy > p { max-width: 820px; margin: 0; color: #f2d7cb; font-size: 17px; line-height: 1.65; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; color: #d9bfb4; font-size: 12px; }
.connection-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 11px; font-weight: 800; }
.connection-pill.loading { background: rgba(255, 181, 50, 0.13); color: #ffd276; }
.connection-pill.good { background: rgba(69, 214, 111, 0.12); color: #79ee9b; }
.connection-pill.warn { background: rgba(255, 168, 38, 0.14); color: #ffc468; }
.connection-pill.bad { background: rgba(241, 50, 42, 0.15); color: #ff8c86; }
.hero-mascot { position: relative; min-height: 330px; display: grid; place-items: end center; overflow: hidden; }
.hero-mascot::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 37, .8), rgba(255, 75, 16, .18) 55%, transparent 70%);
  filter: blur(4px);
}
.hero-mascot img { position: relative; z-index: 2; width: min(440px, 115%); max-height: 355px; object-fit: contain; transform: translate(20px, 18px); filter: drop-shadow(0 22px 26px rgba(0,0,0,.35)); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 16px; }
.metric-card {
  min-height: 142px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(46, 8, 7, .98), rgba(20, 5, 5, .94));
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.eth-card { border-color: rgba(152, 105, 255, .55); }
.base-card { border-color: rgba(255, 157, 23, .62); }
.total-card { border-color: rgba(241, 50, 42, .60); }
.metric-icon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  background: linear-gradient(145deg, #8a61ff, #452199);
  box-shadow: inset 0 0 20px rgba(255,255,255,.1), 0 0 22px rgba(118, 81, 255, .22);
  font-size: 34px;
  font-weight: 900;
}
.base-icon { background: linear-gradient(145deg, #246fff, #073fb6); }
.people-icon { background: linear-gradient(145deg, #ef3c32, #8d0f0b); font-size: 25px; }
.link-icon { background: linear-gradient(145deg, #ff8b12, #b52d03); }
.metric-card > div:last-child { min-width: 0; }
.metric-label { display: block; color: #f2d5c8; font-size: 13px; font-weight: 800; }
.metric-number { display: block; margin: 3px 0 4px; font-size: clamp(34px, 3.6vw, 49px); line-height: 1; letter-spacing: -.05em; }
.metric-sub { display: flex; align-items: center; gap: 7px; color: #cbb0a4; font-size: 11px; line-height: 1.35; }
.status-bullet { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; }
.status-bullet.green { background: var(--green); box-shadow: 0 0 10px rgba(69,214,111,.5); }
.status-bullet.amber { background: #ffa51f; box-shadow: 0 0 10px rgba(255,165,31,.42); }
.status-bullet.red { background: #ff4a3e; box-shadow: 0 0 10px rgba(255,74,62,.42); }

.chain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.chain-panel {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(17, 7, 12, .9);
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}
.eth-panel { border-color: rgba(136, 91, 255, .55); background: linear-gradient(145deg, rgba(25, 10, 32, .94), rgba(15, 7, 16, .96)); }
.base-panel { border-color: rgba(41, 119, 255, .55); background: linear-gradient(145deg, rgba(7, 17, 36, .95), rgba(12, 10, 16, .96)); }
.panel-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.chain-heading-left { display: flex; align-items: center; gap: 13px; }
.round-chain-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 26px; font-weight: 900; }
.eth-round { background: linear-gradient(145deg, #8a65ff, #492099); box-shadow: 0 0 20px rgba(130, 87, 255, .3); }
.base-round { background: linear-gradient(145deg, #327eff, #0a3fba); box-shadow: 0 0 20px rgba(43, 119, 255, .3); }
.chain-panel h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.chain-heading-left p { margin: 4px 0 0; color: #ccb5aa; font-size: 12px; font-weight: 800; }
.panel-live { border: 0; padding: 7px 10px; color: #68df89; background: rgba(69, 214, 111, .08); font-size: 11px; }
.panel-live .live-dot { width: 7px; height: 7px; background: var(--green); animation: none; }
.panel-description { color: #cbb2a7; font-size: 13px; line-height: 1.55; }
.contract-box { display: grid; gap: 6px; margin: 17px 0; padding: 13px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255,255,255,.025); }
.contract-box.stacked { gap: 7px; }
.contract-box span { color: #a98e84; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contract-box a { color: #f5ded3; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.contract-box a:hover { color: white; text-decoration: underline; }
.panel-button { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; color: white; font-size: 13px; font-weight: 850; text-decoration: none; }
.panel-button:hover { color: var(--gold); }


.notice-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
  padding: 22px;
  color: #4a1f11;
  border: 1px solid #ffd78c;
  border-radius: 19px;
  background: linear-gradient(135deg, #fff1cc, #fff9ea 58%, #ffe0a0);
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}
.notice-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #d72a22, #7b0c09); font-size: 24px; font-weight: 900; }
.notice-panel h2 { margin: 1px 0 8px; color: #a61a14; font-size: 19px; }
.notice-panel p { margin: 6px 0; font-size: 12px; line-height: 1.55; }
.notice-panel > img { width: 62px; height: 62px; object-fit: contain; }

footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 20px; color: #92786e; font-size: 10px; }
footer span { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 1180px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .desktop-nav { gap: 20px; }
  .layout { grid-template-columns: 230px minmax(0, 1fr); }
  .mascot-frame { width: 168px; height: 168px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 18px; }
  .desktop-nav { display: none; }
  .outline-button { display: none; }
  .layout { display: block; }
  .sidebar { display: none; }
  .content { padding: 20px 16px 40px; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 25px 18px; }
  .hero-mascot { min-height: 230px; }
  .hero-mascot img { max-height: 260px; width: 340px; }
  .chain-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand { font-size: 20px; }
  .brand img { width: 39px; height: 39px; }
  .topbar { min-height: 67px; }
  .live-chip { padding: 8px 11px; }
  .hero-copy h1 { font-size: 51px; }
  .hero-copy > p { font-size: 14px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 125px; }
  .notice-panel { grid-template-columns: auto 1fr; }
  .notice-panel > img { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


/* Version 2: holder-only tracker */
.metric-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refresh-feedback {
  display: block;
  min-height: 17px;
  margin-top: 8px;
  color: #f7d3bd;
  font-size: 10px;
  line-height: 1.35;
}

.heat-card button:disabled {
  cursor: wait;
  opacity: .7;
}

.legal-disclaimer {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  background: rgba(10, 5, 6, .84);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.legal-disclaimer h2 {
  margin: 0 0 9px;
  color: #d9b8aa;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-disclaimer p {
  margin: 7px 0;
  color: #8f7770;
  font-size: 9.5px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .metric-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .metric-grid-three { grid-template-columns: 1fr; }
}

/* Version 3: live Base CHI ERC-20 transfer activity */
.activity-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(33, 8, 6, .96), rgba(20, 5, 5, .98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}
.activity-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 16px; }
.activity-header h2 { margin: 7px 0 4px; font-size: 27px; letter-spacing: -.035em; }
.activity-header p { max-width: 820px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.refresh-button {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 12px 15px;
  color: white;
  border: 1px solid rgba(255, 103, 22, .7);
  border-radius: 13px;
  background: rgba(255, 87, 16, .08);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.refresh-button:hover { background: rgba(255, 87, 16, .16); }
.refresh-button:disabled { opacity: .6; cursor: wait; }
.activity-summary { display: flex; justify-content: space-between; gap: 14px; margin: 0 2px 12px; color: #ad9187; font-size: 11px; }
.table-shell { overflow: auto; border: 1px solid var(--line-soft); border-radius: 15px; }
table { width: 100%; min-width: 1120px; border-collapse: collapse; }
th { padding: 13px 14px; color: #bca39a; background: rgba(255,255,255,.025); text-align: left; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
td { padding: 13px 14px; color: #e9dad4; border-top: 1px solid rgba(255,255,255,.065); font-size: 12px; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.empty-state { padding: 38px; color: #aa9085; text-align: center; }
.event-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 900; }
.event-tag.mint { color: #80e9a0; background: rgba(69,214,111,.1); }
.event-tag.burn { color: #ff8c86; background: rgba(241,50,42,.12); }
.event-tag.transfer { color: #ffbd63; background: rgba(255,155,23,.11); }
.mono-link { color: #f4d6ca; text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; }
.mono-link:hover { color: #ffbe72; text-decoration: underline; }
.amount-cell { color: #fff2d6; font-weight: 850; font-variant-numeric: tabular-nums; }
.table-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; color: #9e8378; font-size: 11px; }
.table-footer a { color: #f6bf76; text-decoration: none; font-weight: 800; }
.activity-caveat { margin: 12px 0 0; color: #8f756d; font-size: 10px; line-height: 1.5; }
.spinner { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border: 2px solid rgba(255,255,255,.2); border-top-color: #ff7a23; border-radius: 50%; vertical-align: -1px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .activity-header { align-items: flex-start; flex-direction: column; }
  .refresh-button { width: 100%; }
}
@media (max-width: 620px) {
  .activity-panel { padding: 17px; }
  .activity-summary, .table-footer { flex-direction: column; }
}

/* Version 6: all-chain CHI transaction flow */
.txn-card { border-color: rgba(255, 191, 61, .66); }
.txn-icon { background: linear-gradient(145deg, #ffbe2e, #d54b07); font-size: 30px; }
.status-bullet.blue { background: #41a4ff; box-shadow: 0 0 10px rgba(65,164,255,.42); }

.activity-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 190px auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 14px;
}
.activity-controls label { display: grid; gap: 6px; }
.activity-controls label span {
  color: #bca39a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.activity-controls input,
.activity-controls select {
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  color: #fff9f3;
  background: rgba(255, 255, 255, .045);
  padding: 0 13px;
  outline: none;
}
.activity-controls input:focus,
.activity-controls select:focus {
  border-color: rgba(255, 147, 43, .75);
  box-shadow: 0 0 0 3px rgba(255, 120, 26, .10);
}
.activity-controls button {
  min-height: 45px;
  border: 1px solid rgba(255, 103, 22, .5);
  border-radius: 13px;
  color: #ffe2ce;
  background: rgba(255, 87, 16, .06);
  font-weight: 850;
  cursor: pointer;
  padding: 0 16px;
}
.activity-controls button:hover { background: rgba(255, 87, 16, .14); }

.chain-pill,
.flow-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  min-width: 58px;
}
.chain-pill.ethereum { color: #d9cbff; background: rgba(137, 97, 255, .14); }
.chain-pill.base { color: #b9d6ff; background: rgba(43, 119, 255, .14); }
.flow-tag.in { color: #80e9a0; background: rgba(69,214,111,.12); }
.flow-tag.out { color: #ff9a8f; background: rgba(241,50,42,.14); }
.flow-tag.self { color: #ffd77a; background: rgba(255, 184, 55, .12); }
.flow-tag.mint { color: #80e9a0; background: rgba(69,214,111,.10); }
.flow-tag.burn { color: #ff8c86; background: rgba(241,50,42,.12); }
.flow-tag.transfer { color: #ffbd63; background: rgba(255,155,23,.11); }
.explorer-links { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .activity-controls { grid-template-columns: 1fr; }
}
