:root {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --card: #161616;
  --card-hover: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --dim: #6b6b6b;
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);
  --cyan: #2dd4bf;
  --cyan-soft: rgba(45, 212, 191, 0.14);
  --orange: #f59e0b;
  --orange-soft: rgba(245, 158, 11, 0.16);
  --red: #ef4444;
  --ok: #3dde8c;
  --bad: #ff5d6c;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 64px;
  --ticker-h: 36px;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.92em; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

to { transform: translateX(-50%); }
}

/* —— Header —— */

/* —— Ticker —— */
.ticker {
  height: var(--ticker-h);
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  z-index: 51;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 42s linear infinite;
  padding-left: 100%;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-track b {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ticker-track .px {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ticker-track em {
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ticker-track .up { color: var(--ok); }
.ticker-track .dn { color: var(--bad); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0; /* sits under ticker in flow */
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #04120a;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--accent, #22c55e); font-weight: 800; }
.logo.small .logo-mark { width: 28px; height: 28px; font-size: 0.95rem; }
.logo.small .logo-text { font-size: 1rem; }

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav a:hover { color: var(--text); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid transparent;
}
.icon-btn:hover {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--line);
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #04120a;
  background: linear-gradient(135deg, #34d399, #2dd4bf);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25), 0 8px 24px rgba(16, 185, 129, 0.18);
  transition: transform .15s ease, filter .15s ease;
}
.btn-connect:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-connect.connected {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-connect.connected #headerConnectLabel {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Sections —— */
.section { padding: 40px 0 24px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}
.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
  font-size: 0.98rem;
}
.section-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.16); }
.chip.active {
  color: var(--text);
  background: #1f1f1f;
  border-color: rgba(255,255,255,0.2);
}

/* —— Airdrop cards —— */
.airdrop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.air-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  min-height: 128px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  outline: none;
}
.air-card:hover,
.air-card:focus-visible {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.air-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.air-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.air-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 0;
  background: #0f0f0f;
}
.air-meta { min-width: 0; flex: 1; }
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.badge.ongoing {
  background: var(--green-soft);
  color: var(--green);
}
.badge.ongoing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: pulse 1.8s infinite;
}
.badge.confirmed {
  background: var(--cyan-soft);
  color: var(--cyan);
}
.heat {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.heat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 60%, #b45309);
  box-shadow: 0 0 8px rgba(245,158,11,.45);
}
.air-meta h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.actions-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.actions-line .wrench { margin-right: 4px; opacity: 0.85; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.cta-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 12px;
  background: #121212;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  transition: color .15s, border-color .15s, background .15s;
}
.cta-bar span { font-size: 1.1rem; opacity: 0.7; }
.cta-bar:hover {
  color: var(--text);
  background: #181818;
  border-color: rgba(255,255,255,0.14);
}

/* —— Guide —— */
.guide { padding-top: 12px; padding-bottom: 32px; }
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
}
.guide-card h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  max-width: 22ch;
  margin-bottom: 16px;
}
.guide-lead {
  color: var(--muted);
  line-height: 1.65;
  max-width: 75ch;
  margin: 0 0 22px;
  font-size: 0.98rem;
}
.btn-read {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  background: #f0f0f0;
  color: #0c0c0c;
}
.btn-read:hover { filter: brightness(0.95); }

/* —— Claim shell —— */
.claim-section { padding-bottom: 64px; }
.claim-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.claim-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.chain-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.chain-switch .chip.active {
  color: #04120a;
  background: linear-gradient(135deg, #34d399, #2dd4bf);
  border-color: transparent;
}

.status-text {
  min-height: 1.4em;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--muted);
}
.status-text.ok { color: var(--ok); }
.status-text.bad { color: var(--bad); }

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wallet-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s;
}
.wallet-btn:hover {
  background: #181818;
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.w-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.w-icon.eth { background: rgba(98,126,234,.18); color: #8ea2ff; }
.w-icon.sol { background: rgba(153,69,255,.18); color: #c084fc; }
.w-icon.wc { background: rgba(59,130,246,.18); color: #60a5fa; font-size: 0.72rem; }
.w-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.w-copy strong { font-size: 0.95rem; font-weight: 750; }
.w-copy small { color: var(--muted); font-size: 0.78rem; }

.dash-panel { margin-top: 4px; }
.user-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.user-bar .muted { font-size: 0.78rem; display: block; margin-bottom: 4px; }
.user-right { display: flex; align-items: center; gap: 10px; }
.chain-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
}

.asset-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}
.asset-list .muted { padding: 12px 4px; font-size: 0.9rem; }
.asset-row,
.asset-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #101010;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.claim-actions { display: flex; gap: 12px; margin-bottom: 14px; }
.btn-claim {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #04120a;
  background: linear-gradient(135deg, #34d399, #2dd4bf);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.22);
}
.btn-claim:hover:not(:disabled) { filter: brightness(1.05); }
.btn-claim:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.claim-result { margin-bottom: 12px; }
.success-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.success-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.success-card p { margin: 6px 0; color: var(--muted); line-height: 1.5; font-size: 0.92rem; }
.success-card code {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 6px;
}

.tx-log,
.ref-share {
  display: none !important;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner .muted { font-size: 0.85rem; margin: 0; }

/* —— Toast —— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  max-width: min(92vw, 420px);
  text-align: center;
}

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.modal-top h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.modal-sub { margin: 0 0 16px; font-size: 0.9rem; }
.modal-wallets { grid-template-columns: 1fr; }

/* —— Responsive —— */
@media (max-width: 980px) {
  .airdrop-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-rows { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .wallet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .airdrop-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 24px 18px; }
  .claim-shell { padding: 18px; }
  .btn-connect span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .heat { margin-left: 0; }
}


/* —— Detail page —— */
.detail-page { padding: 28px 0 48px; }
.detail-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--muted);
}
.detail-crumb a:hover { color: var(--text); }
.detail-crumb .sep { opacity: 0.45; }

.detail-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.detail-hero-card,
.detail-notify-card,
.detail-main-card,
.detail-accordion {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.detail-logo-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 16px;
  background: #101010;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  overflow: hidden;
}
.detail-logo-wrap img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  border-radius: 18px;
}

.heat-meter {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.heat-meter .hm-btn {
  height: 36px;
  border-radius: 10px;
  background: #1a1a1a;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 1.1rem;
}
.heat-meter .hm-val {
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  font-weight: 700;
  font-size: 0.95rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.detail-action-link:hover { color: #93c5fd; text-decoration: underline; }
.detail-chain {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-notify-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 750;
}
.detail-notify-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.btn-notify {
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  background: #f0f0f0;
  color: #0c0c0c;
  width: 100%;
}
.btn-notify:hover { filter: brightness(0.95); }

.detail-main-card > p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.detail-main-card > p strong { color: var(--text); font-weight: 700; }
.detail-main-card .connect-inline {
  color: #60a5fa;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}
.detail-main-card .connect-inline:hover { text-decoration: underline; }

.detail-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.detail-accordion {
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}
.detail-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 750;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.detail-accordion summary::-webkit-details-marker { display: none; }
.detail-accordion summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform .15s;
}
.detail-accordion[open] summary::after { transform: rotate(180deg); }
.detail-accordion .acc-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}
.detail-accordion h4 {
  margin: 16px 0 10px;
  font-size: 1.05rem;
  font-weight: 750;
}
.detail-accordion ol,
.detail-accordion ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.detail-accordion li { margin-bottom: 8px; }
.detail-accordion li strong { color: var(--text); }

.btn-claim-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #04120a;
  background: linear-gradient(135deg, #34d399, #2dd4bf);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.22);
  margin-top: 8px;
  width: 100%;
}
.btn-claim-wide:hover { filter: brightness(1.05); }

.detail-claim-embed { margin-top: 28px; }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

a.air-card { color: inherit; text-decoration: none; display: block; }

/* Referral share */
.ref-share {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, rgba(34,197,94,0.08), rgba(15,23,42,0.6));
}
.ref-share.compact { margin-top: 18px; padding: 14px 16px; }
.ref-share-head h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}
.ref-share-head .muted { margin: 0 0 12px; font-size: 0.9rem; }
.ref-share-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.ref-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}
.ref-copy {
  flex: 0 0 auto;
  padding: 12px 18px !important;
  min-width: 110px;
}
.ref-hint { margin: 12px 0 0; font-size: 0.82rem; }
.ref-hint code {
  font-size: 0.78rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}

/* Hide operational UI (logs + referral split) from end users */
.tx-log,
.ref-share,
.ref-hint {
  display: none !important;
}
