@font-face {
  font-family: "DSEG7 Classic";
  src:
    url("https://cdn.jsdelivr.net/npm/dseg@0.46.0/fonts/DSEG7-Classic/DSEG7Classic-Bold.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/gh/keshikan/DSEG@0.46/fonts/DSEG7-Classic/DSEG7Classic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030711;
  --panel: rgba(7, 18, 37, .86);
  --panel-2: rgba(9, 28, 54, .74);
  --line: rgba(30, 197, 255, .34);
  --line-hot: #28d9ff;
  --blue: #0a7cff;
  --cyan: #20f0ff;
  --green: #24f2a1;
  --red: #ff4d63;
  --yellow: #ffd84a;
  --text: #f4fbff;
  --muted: #8aa8c5;
  --shadow: 0 0 30px rgba(32, 240, 255, .14);
  --digit-font: "DSEG7 Classic", "Orbitron", "Share Tech Mono", "Rajdhani", "Consolas", "Courier New", monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 5%, rgba(0, 132, 255, .22), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(0, 255, 204, .13), transparent 28%),
              linear-gradient(145deg, #030711 0%, #061426 52%, #02040a 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.terminal-body { overflow-x: hidden; }
.bot-digit,
.earning-card strong {
  font-family: var(--digit-font);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .02em;
}
.bot-digit {
  display: inline-block;
  font-weight: inherit;
  color: inherit;
  line-height: 1;
  text-shadow: 0 0 10px rgba(32, 240, 255, .16);
}
.bot-money {
  display: inline-flex;
  align-items: center;
  gap: .08em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: baseline;
  color: inherit;
}
.bot-money-symbol {
  display: inline-flex;
  align-items: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1em;
  font-weight: 950;
  line-height: 1;
  color: inherit;
  transform: translateY(.02em);
}
.bot-money .bot-digit {
  line-height: 1;
}
.portfolio-ring span,
.bot-hero-core > span {
  animation: mmDigitBlink 1.2s steps(2, end) infinite;
}
@keyframes mmDigitBlink {
  0%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: .58;
  }
}
.market-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(40,217,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(40,217,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
  z-index: -1;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #00111c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 26px rgba(32, 240, 255, .55);
  font-weight: 950;
}
.logo-mark {
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(32, 240, 255, .42));
}
.brand-stack { flex-direction: row; align-items: center; gap: 12px; }

.public-nav, .public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}
.nav-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(9, 28, 54, .78);
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-weight: 800;
}
.btn-primary { background: linear-gradient(135deg, #08baf7, #095dff); color: white; border: 0; }
.btn-danger { background: linear-gradient(135deg, #ff3b5f, #8b1024); border: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 24px;
  align-items: center;
}
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 900; margin: 0 0 8px; }
.hero h1, .app-topbar h1 { margin: 0; font-weight: 950; line-height: .96; letter-spacing: 0; }
.hero h1 { font-size: clamp(52px, 9vw, 106px); text-transform: uppercase; }
.hero p { color: #bdd7ec; font-size: 18px; line-height: 1.65; max-width: 690px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.ticker-card, .panel, .stat-card, .auth-card, .data-table, .chart-panel {
  background: linear-gradient(145deg, rgba(8, 20, 42, .92), rgba(6, 16, 32, .78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
}
.ticker-card { padding: 14px; }
.ticker-card span { color: var(--muted); font-size: 12px; }
.ticker-card strong { display: block; margin-top: 6px; font-size: 20px; }
.up { color: var(--green); }
.down { color: var(--red); }
.yellow { color: var(--yellow); }

.chart-panel { padding: 20px; min-height: 440px; position: relative; overflow: hidden; }
.chart-panel:before {
  content: "";
  position: absolute;
  inset: 28px;
  background: linear-gradient(180deg, transparent, rgba(32,240,255,.08)),
              repeating-linear-gradient(90deg, transparent 0 42px, rgba(255,255,255,.04) 43px),
              repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,.04) 43px);
}
.candles { position: absolute; inset: 70px 32px 74px; display: flex; align-items: end; gap: 13px; }
.candle { width: 12px; border-radius: 2px; position: relative; animation: pulse 2.5s ease-in-out infinite; }
.candle:before { content: ""; position: absolute; left: 5px; width: 2px; height: 54px; top: -22px; background: currentColor; opacity: .72; }
.candle.green { background: var(--green); color: var(--green); }
.candle.red { background: var(--red); color: var(--red); }
@keyframes pulse { 50% { filter: drop-shadow(0 0 12px currentColor); transform: translateY(-4px); } }

.section-grid, .stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mint-hero {
  min-height: calc(100svh - 96px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-content: center;
}
.mint-hero h1 {
  font-size: clamp(64px, 11vw, 132px);
  background: linear-gradient(180deg, #fff, #8eeeff);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(32,240,255,.14);
}
.hero-lead { font-size: 20px; }
.mint-proof-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mint-proof-strip span {
  padding: 10px 12px;
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 999px;
  color: #c7e5f6;
  background: rgba(2,8,18,.46);
  font-size: 13px;
  font-weight: 800;
}
.mint-orbit-card {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40,217,255,.26);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(32,240,255,.18), transparent 38%), linear-gradient(145deg, rgba(8,20,42,.88), rgba(2,8,18,.72));
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 40px rgba(32,240,255,.14);
}
.mint-orbit-card img { width: min(220px, 54vw); filter: drop-shadow(0 0 28px rgba(32,240,255,.44)); z-index: 2; }
.orbit-ring { position: absolute; border: 1px solid rgba(32,240,255,.22); border-radius: 50%; }
.ring-one { width: 310px; height: 310px; }
.ring-two { width: 410px; height: 410px; opacity: .55; }
.mint-orbit-stat {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 14px;
  background: rgba(2,8,18,.74);
  box-shadow: var(--shadow);
}
.mint-orbit-stat strong { color: var(--cyan); font-size: 18px; }
.mint-orbit-stat span { color: var(--muted); font-size: 12px; font-weight: 800; }
.stat-one { top: 52px; left: 32px; }
.stat-two { right: 34px; top: 165px; }
.stat-three { left: 48px; bottom: 54px; }
.mint-story, .mint-cta { max-width: 1180px; margin: 0 auto; padding: 34px 24px; }
.mint-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.mint-story h2, .mint-cta h2 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.mint-story p, .mint-cta p { color: #bdd7ec; line-height: 1.65; }
.mint-story-grid { display: grid; gap: 12px; }
.mint-story-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 16px;
  background: rgba(3,12,28,.62);
}
.mint-story-grid span { grid-row: span 2; color: var(--cyan); font-weight: 950; }
.mint-story-grid strong { font-size: 18px; }
.mint-story-grid p { margin: 0; }
.mint-benefits { padding-top: 10px; }
.mint-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(40,217,255,.16);
}
.panel { padding: 22px; min-width: 0; max-width: 100%; overflow: hidden; }
.panel h3, .stat-card h3 { margin: 0 0 10px; }
.panel p, .stat-card p { color: var(--muted); line-height: 1.55; }

.auth-wrap { min-height: calc(100vh - 120px); display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(540px, 100%); padding: 28px; }
.auth-body {
  min-height: 100vh;
}
.auth-screen {
  width: min(440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 22px;
  display: grid;
  align-content: center;
  gap: 18px;
}
.auth-header {
  display: grid;
  gap: 14px;
  padding: 4px 2px 6px;
}
.auth-header .brand {
  font-size: 15px;
}
.auth-header .brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 18px;
  background: rgba(2,8,18,.46);
}
.auth-switch a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--muted);
  font-weight: 900;
}
.auth-switch a.is-active {
  color: white;
  background: linear-gradient(135deg, #08baf7, #095dff);
  box-shadow: 0 0 18px rgba(32,240,255,.26);
}
.auth-card-compact {
  width: 100%;
  padding: 22px;
  border-radius: 18px;
}
.auth-card-compact h1 {
  margin: 6px 0 6px;
  font-size: 34px;
  line-height: 1;
}
.auth-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}
.dapp-auth-screen {
  width: min(1120px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 22px;
  align-items: center;
}
.dapp-auth-panel {
  min-height: 620px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(40,217,255,.25);
  border-radius: 26px;
  background:
    radial-gradient(circle at 72% 20%, rgba(36,242,161,.16), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(10,124,255,.22), transparent 32%),
    linear-gradient(145deg, rgba(8,20,42,.92), rgba(2,8,18,.86));
  box-shadow: 0 24px 70px rgba(0,0,0,.34), var(--shadow);
}
.dapp-auth-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dapp-auth-pill {
  padding: 10px 12px;
  border: 1px solid rgba(36,242,161,.32);
  border-radius: 999px;
  color: var(--green);
  background: rgba(36,242,161,.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dapp-hero-copy h1 {
  margin: 8px 0 16px;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  text-transform: uppercase;
}
.dapp-hero-copy p:last-child {
  max-width: 640px;
  color: #bdd7ec;
  font-size: 18px;
  line-height: 1.65;
}
.dapp-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dapp-flow-grid article {
  min-height: 110px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 16px;
  background: rgba(2,8,18,.58);
}
.dapp-flow-grid strong { color: var(--cyan); font-size: 20px; }
.dapp-flow-grid span { color: #e8f7ff; font-weight: 900; }
.dapp-card {
  position: relative;
  overflow: hidden;
}
.dapp-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(32,240,255,.12), transparent 34%);
}
.dapp-card > * { position: relative; }
.dapp-wizard {
  display: grid;
  gap: 16px;
}
.dapp-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(40,217,255,.18);
  border-radius: 16px;
  background: rgba(1, 8, 19, .58);
}
.dapp-progress span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #7f9bb8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dapp-progress span.active {
  color: #06111e;
  background: linear-gradient(135deg, #24f2ff, #24f2a1);
  box-shadow: 0 0 22px rgba(36, 242, 255, .28);
}
.dapp-progress span.complete {
  color: var(--green);
  background: rgba(36, 242, 161, .08);
}
.dapp-step {
  display: none;
  min-height: 360px;
  align-content: start;
  gap: 16px;
}
.dapp-step.active {
  display: grid;
}
.dapp-step h1 {
  margin: 0;
}
.dapp-focus-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 26%, rgba(36,242,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(9, 29, 61, .95), rgba(3, 9, 20, .82));
}
.dapp-focus-card span {
  color: var(--muted);
  font-size: 13px;
}
.dapp-focus-card strong {
  color: #f5fbff;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
  overflow-wrap: anywhere;
}
.dapp-primary-action {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
}
.dapp-status {
  margin: 14px 0;
  padding: 13px 14px;
  border: 1px solid rgba(40,217,255,.26);
  border-radius: 14px;
  color: #c9eaff;
  background: rgba(2,8,18,.62);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.dapp-status[data-state="ok"] {
  border-color: rgba(36,242,161,.4);
  color: var(--green);
}
.dapp-status[data-state="error"] {
  border-color: rgba(255,77,99,.48);
  color: #ffd3da;
}
.dapp-feed { margin: 0 0 16px; }
.dapp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dapp-actions.single {
  grid-template-columns: 1fr;
}
.dapp-actions .btn,
.dapp-manual .btn {
  min-height: 48px;
}
.dapp-manual {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(40,217,255,.16);
}
.dapp-manual summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
}
.dapp-manual[open] {
  display: grid;
  gap: 10px;
}
.dapp-success-orb {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  justify-self: center;
  margin: 20px 0;
  border-radius: 50%;
  color: #04141f;
  font-size: 58px;
  font-weight: 1000;
  background: radial-gradient(circle, #24f2a1, #24f2ff);
  box-shadow: 0 0 50px rgba(36,242,255,.35), inset 0 0 18px rgba(255,255,255,.5);
}
.field { display: grid; gap: 8px; margin-bottom: 15px; }
.field label { color: var(--muted); font-size: 13px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  color: var(--text);
  background: rgba(2, 8, 18, .82);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
}
.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; border: 1px solid var(--line); background: rgba(32,240,255,.08); color: #c9f7ff; }
.alert.error { border-color: rgba(255,77,99,.5); color: #ffd3da; background: rgba(255,77,99,.09); }

.app-shell-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.side-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(2, 7, 16, .88);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-rail .brand {
  margin-bottom: 14px;
  align-items: center;
}
.side-rail .brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 0;
}
.side-rail .brand span:last-child {
  line-height: 1.05;
}
.rail-links { display: flex; flex-direction: column; gap: 10px; }
.rail-links a { padding: 12px 14px; color: #bcd8ee; border-radius: 10px; display: flex; align-items: center; gap: 10px; }
.rail-links a:hover, .rail-links a.is-active { background: rgba(32,240,255,.1); color: white; }
.sidebar-logout {
  margin-top: auto;
  padding: 12px 14px;
  color: #bcd8ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-logout:hover { background: rgba(255,77,99,.1); color: white; }
.mobile-dock { display: none; }
.mobile-top-logout { display: none; }
.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  background: linear-gradient(135deg, rgba(32,240,255,.95), rgba(10,124,255,.95));
  box-shadow: 0 0 16px rgba(32,240,255,.25);
}
.nav-icon:before, .nav-icon:after { content: ""; position: absolute; border-color: #03111f; }
.nav-icon-home:before { width: 11px; height: 9px; border: 2px solid #03111f; border-top: 0; bottom: 6px; }
.nav-icon-home:after { width: 12px; height: 12px; border-left: 2px solid #03111f; border-top: 2px solid #03111f; transform: rotate(45deg); top: 5px; }
.nav-icon-bolt:before { width: 8px; height: 15px; background: #03111f; clip-path: polygon(55% 0, 100% 0, 58% 45%, 100% 45%, 30% 100%, 45% 55%, 0 55%); }
.nav-icon-network:before { width: 5px; height: 5px; background: #03111f; border-radius: 50%; box-shadow: -8px 8px 0 #03111f, 8px 8px 0 #03111f; top: 6px; }
.nav-icon-network:after { width: 18px; height: 11px; border-left: 2px solid #03111f; border-right: 2px solid #03111f; border-bottom: 2px solid #03111f; top: 9px; }
.nav-icon-ledger:before { width: 13px; height: 15px; border: 2px solid #03111f; border-radius: 2px; }
.nav-icon-ledger:after { width: 8px; height: 2px; background: #03111f; box-shadow: 0 5px 0 #03111f; }
.nav-icon-wallet:before { width: 15px; height: 11px; border: 2px solid #03111f; border-radius: 4px; }
.nav-icon-wallet:after { width: 4px; height: 4px; background: #03111f; border-radius: 50%; right: 6px; }
.nav-icon-user:before { width: 8px; height: 8px; background: #03111f; border-radius: 50%; top: 5px; }
.nav-icon-user:after { width: 15px; height: 8px; background: #03111f; border-radius: 8px 8px 4px 4px; bottom: 5px; }
.app-main { padding: 24px; min-width: 0; }
.app-topbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.app-topbar h1 { font-size: clamp(32px, 5vw, 58px); text-transform: uppercase; }
.user-chip { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; display: flex; gap: 12px; color: var(--muted); background: rgba(8,20,42,.7); }
.user-chip strong { color: var(--cyan); }
.stats-grid.app { max-width: none; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { padding: 18px; min-height: 126px; min-width: 0; max-width: 100%; overflow: hidden; }
.stat-card strong { font-size: 26px; display: block; margin-top: 12px; }
.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.admin-metric-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.admin-metric-card:hover,
.admin-metric-card:focus {
  transform: translateY(-2px);
  border-color: rgba(40,217,255,.62);
  box-shadow: 0 0 28px rgba(32,240,255,.18);
}
.admin-body .bot-digit,
.admin-body .bot-money,
.admin-body .bot-money-symbol,
.admin-body .stat-card strong,
.admin-body .admin-hero h2,
.admin-body .data-table,
.admin-body .admin-row strong,
.admin-body code {
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: none;
}
.admin-body .stats-grid.app {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.admin-body .stat-card {
  min-height: 138px;
  padding: 22px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(9, 24, 48, .94), rgba(5, 14, 30, .86)),
    radial-gradient(circle at 92% 16%, rgba(32,240,255,.12), transparent 32%);
}
.admin-body .stat-card p {
  margin: 0;
  color: #9fb9d2;
  font-size: 15px;
  font-weight: 700;
}
.admin-body .stat-card strong {
  margin-top: 18px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: .98;
  font-weight: 900;
  color: var(--text);
}
.admin-body .stat-card strong.up { color: var(--green); }
.admin-body .stat-card strong.yellow { color: var(--yellow); }
.admin-body .stat-card span {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
}
.admin-body .admin-hero {
  align-items: center;
}
.admin-body .admin-hero h2 {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
}
.admin-body .admin-metric-card {
  color: var(--text);
}
.admin-body .feed-item strong {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}
.admin-body .data-table {
  table-layout: fixed;
  width: 100%;
}
.admin-body .data-table th,
.admin-body .data-table td {
  vertical-align: middle;
}
.admin-body .data-table td,
.admin-body .data-table code,
.admin-body .hash-cell code {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-body .data-table td:nth-child(1) {
  width: 58px;
}
.admin-body .hash-cell code {
  display: block;
  max-width: 100%;
  color: #d8f3ff;
}
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.earning-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 118px;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.earning-card:after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(32,240,255,.72);
  font-size: 24px;
  line-height: 1;
}
.earning-card:hover,
.earning-card:focus {
  transform: translateY(-2px);
  border-color: rgba(32,240,255,.62);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 26px rgba(32,240,255,.16);
}
.earning-card p { margin: 0; }
.earning-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
}
.earning-card strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  margin-top: auto;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.earning-card strong .bot-money {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .08em;
  width: 100%;
  line-height: 1;
}
.earning-card strong .bot-money-symbol,
.earning-card strong .bot-digit {
  font-size: 1em;
  line-height: 1;
}
.referral-card { display: grid; align-content: start; gap: 12px; }
.referral-card strong {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.referral-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.compact-copy-box {
  min-height: 38px;
}
.compact-copy-box strong,
.referral-item .inline-copy-value strong {
  margin: 0;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 18px; margin-top: 18px; min-width: 0; max-width: 100%; }
.workspace-grid > * { min-width: 0; max-width: 100%; }
.mini-chart { height: 260px; position: relative; overflow: hidden; }
.mini-chart svg { width: 100%; height: 100%; }
.feed { display: grid; gap: 10px; }
.feed-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(40,217,255,.18); border-radius: 10px; background: rgba(3,9,20,.58); min-width: 0; }
.feed-item > * { min-width: 0; overflow-wrap: anywhere; }
.feed-item > span { flex: 0 0 auto; white-space: nowrap; }
.inline-copy-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.inline-copy-value strong,
.referral-copy-box strong,
.referral-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table { width: 100%; border-collapse: collapse; overflow: hidden; }
.data-table th, .data-table td { padding: 13px 14px; border-bottom: 1px solid rgba(40,217,255,.14); text-align: left; }
.data-table th { color: var(--cyan); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.market-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.market-strip > span {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 12px;
  background: rgba(3, 12, 28, .68);
}
.market-strip > span > strong { display: block; color: #b7d4ec; font-size: 11px; letter-spacing: .08em; }
.market-strip > span > em { display: block; margin-top: 4px; font-style: normal; font-weight: 900; }
.portfolio-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(32,240,255,.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 15%, rgba(36,242,161,.18), transparent 28%),
    linear-gradient(135deg, rgba(9, 92, 255, .38), rgba(3, 12, 28, .96) 62%),
    rgba(5, 18, 38, .9);
  box-shadow: 0 20px 50px rgba(0,0,0,.26), 0 0 36px rgba(32,240,255,.16);
}
.portfolio-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .38;
}
.portfolio-card > * { position: relative; }
.portfolio-card h2 { margin: 4px 0 8px; font-size: clamp(34px, 7vw, 58px); line-height: 1; }
.portfolio-sub { color: #b8d8ee; font-weight: 800; }
.portfolio-ring {
  position: relative;
  width: 112px;
  height: 112px;
  align-self: center;
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle, rgba(7, 20, 40, .96) 0 45%, rgba(32,240,255,.12) 46% 50%, rgba(2,8,18,.94) 51% 100%),
    conic-gradient(from 0deg, rgba(32,240,255,.08), rgba(32,240,255,.88), rgba(9,124,255,.16), rgba(37,255,184,.74), rgba(32,240,255,.08));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 24px rgba(32,240,255,.14),
    0 0 22px rgba(32,240,255,.28),
    0 0 42px rgba(9,124,255,.2);
  display: flex;
  flex-direction: column;
  place-items: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.portfolio-ring:before,
.portfolio-ring:after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}
.portfolio-ring:before {
  inset: -7px;
  background:
    repeating-conic-gradient(from 0deg, rgba(32,240,255,.95) 0 9deg, transparent 9deg 24deg),
    conic-gradient(from 120deg, transparent, rgba(37,255,184,.65), transparent 42%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  animation: mmHudSpin 5.5s linear infinite;
  filter: drop-shadow(0 0 10px rgba(32,240,255,.38));
}
.portfolio-ring:after {
  inset: 10px;
  border: 1px solid rgba(32,240,255,.38);
  border-top-color: rgba(255,220,74,.9);
  border-right-color: rgba(37,255,184,.72);
  box-shadow: inset 0 0 18px rgba(32,240,255,.12);
  animation: mmHudSpinReverse 3.6s linear infinite;
}
.portfolio-ring span,
.portfolio-ring small {
  position: relative;
  z-index: 1;
  display: block;
}
.portfolio-ring span {
  color: var(--yellow);
  font-weight: 950;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255,220,74,.34);
}
.portfolio-ring small {
  color: #bfe9f8;
  font-size: 12px;
  font-weight: 900;
  margin-top: 3px;
}
@keyframes mmHudSpin {
  to { transform: rotate(360deg); }
}
@keyframes mmHudSpinReverse {
  to { transform: rotate(-360deg); }
}
.portfolio-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.portfolio-metrics a { padding: 12px; border-radius: 12px; background: rgba(2,8,18,.42); border: 1px solid rgba(255,255,255,.08); color: var(--text); text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.portfolio-metrics a:hover,
.portfolio-metrics a:focus { border-color: rgba(32,240,255,.45); background: rgba(32,240,255,.08); }
.portfolio-metrics small { display: block; color: var(--muted); margin-bottom: 5px; }
.portfolio-metrics strong { font-size: 18px; }
.transfer-balance-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(32,240,255,.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 28%, rgba(38,255,187,.18), transparent 28%),
    linear-gradient(135deg, rgba(10,124,255,.3), rgba(2,8,18,.96) 64%);
  box-shadow: 0 20px 50px rgba(0,0,0,.24), 0 0 34px rgba(32,240,255,.12);
}
.transfer-balance-card h2 {
  margin: 4px 0 6px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
}
.transfer-balance-card span {
  color: var(--muted);
  font-weight: 900;
}
.transfer-balance-card > strong {
  flex: 0 0 auto;
  color: #25ffb8;
  border: 1px solid rgba(37,255,184,.3);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(37,255,184,.08);
}
.deposit-status {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 12px;
  background: rgba(2,8,18,.58);
  color: var(--muted);
  font-weight: 800;
}
.deposit-status[data-state="ok"] {
  color: #25ffb8;
  border-color: rgba(37,255,184,.32);
}
.deposit-status[data-state="error"] {
  color: #ff6d82;
  border-color: rgba(255,109,130,.32);
}
.bot-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(32,240,255,.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 42%, rgba(37,255,184,.22), transparent 28%),
    radial-gradient(circle at 12% 10%, rgba(10,124,255,.34), transparent 32%),
    linear-gradient(135deg, rgba(8,34,74,.96), rgba(2,8,18,.96) 68%);
  box-shadow: 0 20px 50px rgba(0,0,0,.24), 0 0 34px rgba(32,240,255,.12);
}
.bot-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .32;
}
.bot-hero > * { position: relative; }
.bot-hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
}
.bot-hero p { color: var(--muted); font-weight: 800; }
.bot-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.bot-hero-chips > span {
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(2,8,18,.5);
  color: #d6f6ff;
  font-size: 12px;
  font-weight: 900;
}
.bot-hero-orb {
  --progress: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#25ffb8 calc(var(--progress) * 1%), rgba(32,240,255,.14) 0);
  box-shadow: 0 0 34px rgba(37,255,184,.18), inset 0 0 18px rgba(2,8,18,.5);
}
.bot-hero-core {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle, rgba(15,43,75,.96), rgba(2,8,18,.98));
  border: 1px solid rgba(40,217,255,.42);
}
.bot-hero-core > span { display: block; color: var(--yellow); font-size: 28px; font-weight: 950; }
.bot-hero-core small { color: var(--muted); font-weight: 900; }
.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.bot-card {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 12%, rgba(32,240,255,.1), transparent 34%),
    linear-gradient(145deg, rgba(8,20,42,.9), rgba(5,13,28,.76));
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
}
.bot-card:before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(32,240,255,.7), transparent);
}
.bot-card > * { position: relative; }
.bot-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 900;
}
.bot-card-head strong {
  color: var(--cyan);
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
}
.bot-card h3 {
  margin: 0 0 4px;
  max-width: 100%;
  font-size: clamp(18px, 7cqw, 30px);
  line-height: 1.05;
  white-space: nowrap;
}
.bot-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}
.bot-core {
  width: 84px;
  height: 84px;
  margin: 2px auto;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(20,169,255,.24), rgba(37,255,184,.12));
  border: 1px solid rgba(40,217,255,.28);
  box-shadow: inset 0 0 24px rgba(32,240,255,.08), 0 0 24px rgba(32,240,255,.12);
}
.bot-core > span,
.bot-core i {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(37,255,184,.7);
  border-radius: 14px;
  transform: rotate(45deg);
}
.bot-core i {
  width: 28px;
  height: 28px;
  border-color: rgba(32,240,255,.75);
  transform: rotate(45deg);
}
.bot-core b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  color: white;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  overflow: hidden;
}
.bot-core b .bot-digit {
  font-size: .74em;
  letter-spacing: 0;
  text-shadow: none;
}
.bot-core.is-double > span {
  width: 52px;
  height: 52px;
}
.bot-core.is-double i {
  width: 34px;
  height: 34px;
}
.bot-core b.is-double {
  width: 42px;
  height: 34px;
}
.bot-core b.is-double .bot-digit {
  font-size: .68em;
  transform: translateX(-.02em);
}
.bot-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(2,8,18,.72);
  border: 1px solid rgba(40,217,255,.16);
}
.bot-progress > span {
  display: block;
  width: calc(var(--bot-progress) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18cfff, #25ffb8);
}
.bot-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.bot-card-metrics > span {
  min-width: 0;
  border: 1px solid rgba(40,217,255,.14);
  border-radius: 12px;
  padding: 10px;
  background: rgba(2,8,18,.48);
}
.bot-card-metrics small {
  display: block;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 4px;
}
.bot-card-metrics strong {
  display: block;
  max-width: 100%;
  font-size: clamp(11px, 4.8cqw, 16px);
  line-height: 1.15;
  white-space: nowrap;
}
.bot-card.is-active,
.bot-card.is-available {
  border-color: rgba(37,255,184,.5);
  background: linear-gradient(145deg, rgba(9,63,72,.92), rgba(5,13,28,.8));
}
.bot-card.is-available .bot-card-head strong {
  color: #25ffb8;
  border-color: rgba(37,255,184,.36);
}
.bot-card.is-completed {
  opacity: .82;
}
.bot-card.is-locked {
  opacity: .58;
}
.magic-claim-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(32,240,255,.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 30%, rgba(41, 255, 184, .22), transparent 26%),
    radial-gradient(circle at 20% 10%, rgba(10,124,255,.32), transparent 30%),
    linear-gradient(135deg, rgba(7, 21, 46, .96), rgba(2, 10, 22, .94));
  box-shadow: 0 22px 54px rgba(0,0,0,.28), 0 0 42px rgba(32,240,255,.14);
}
.magic-claim-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .35;
}
.magic-claim-hero > * { position: relative; }
.magic-claim-copy h2 {
  margin: 6px 0;
  font-size: clamp(48px, 8vw, 84px);
  line-height: .92;
}
.magic-claim-copy > p {
  max-width: 620px;
  color: #c3ddf4;
  font-size: 18px;
  line-height: 1.6;
}
.magic-claim-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.magic-claim-metrics > span {
  padding: 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(2,8,18,.44);
}
.magic-claim-metrics small { display: block; color: var(--muted); margin-bottom: 6px; }
.magic-claim-metrics strong { font-size: 20px; }
.magic-claim-action { display: grid; align-items: stretch; }
.magic-claim-button {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(32,240,255,.42);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at center 42%, rgba(44,255,190,.32), transparent 33%),
    linear-gradient(155deg, rgba(24,168,255,.92), rgba(10,75,240,.68) 54%, rgba(4,14,31,.9));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 22px 44px rgba(2,12,30,.42), 0 0 34px rgba(32,240,255,.24);
  cursor: pointer;
}
.magic-claim-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .72;
}
.magic-claim-button:before,
.magic-claim-button:after {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 90deg, transparent, rgba(255,255,255,.25), transparent 22%);
  animation: magicSpin 7s linear infinite;
}
.magic-claim-button:after {
  inset: 16px;
  border-radius: 18px;
  background: rgba(2, 10, 22, .26);
  animation: none;
}
.magic-claim-button > * { position: relative; z-index: 1; }
.magic-claim-button__orb {
  width: 92px;
  height: 92px;
  display: block;
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, #fff, rgba(255,255,255,.18) 18%, transparent 19%),
    linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 35px rgba(32,240,255,.58), inset 0 0 18px rgba(255,255,255,.3);
}
.magic-claim-button strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
.magic-claim-button small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.magic-stats { margin-bottom: 18px; }
.magic-stats .stat-card strong,
.renew-cap-numbers strong,
.bot-card h3,
.bot-card-metrics strong,
.bot-hero-chips > span {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}
.magic-stats .stat-card strong .bot-money,
.renew-cap-numbers strong .bot-money,
.bot-card h3 .bot-money,
.bot-card-metrics strong .bot-money,
.bot-hero-chips .bot-money {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  width: auto;
  min-width: max-content;
  max-width: 100%;
  vertical-align: middle;
}
.magic-stats .stat-card strong .bot-money-symbol,
.magic-stats .stat-card strong .bot-digit,
.renew-cap-numbers strong .bot-money-symbol,
.renew-cap-numbers strong .bot-digit,
.bot-card h3 .bot-money-symbol,
.bot-card h3 .bot-digit,
.bot-card-metrics strong .bot-money-symbol,
.bot-card-metrics strong .bot-digit,
.bot-hero-chips .bot-money-symbol,
.bot-hero-chips .bot-digit {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
.renew-cap-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid rgba(255,215,79,.38);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,215,79,.18), transparent 28%),
    linear-gradient(145deg, rgba(10,28,54,.92), rgba(4,12,25,.9));
  box-shadow: 0 18px 44px rgba(0,0,0,.24), 0 0 28px rgba(255,215,79,.1);
}
.renew-cap-panel h2 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 44px); }
.renew-cap-panel p { color: #c3ddf4; margin: 0; line-height: 1.55; }
.renew-cap-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.renew-cap-numbers > span {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(2,8,18,.48);
}
.renew-cap-numbers small { display: block; color: var(--muted); margin-bottom: 6px; }
.renew-cap-numbers strong { font-size: 20px; }
.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}
.section-headline h2 { margin: 0; }
.calendar-note { color: var(--muted); font-weight: 800; }
.magic-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.magic-day {
  min-height: 116px;
  padding: 13px;
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 16px;
  background: rgba(3,9,20,.58);
}
.magic-day > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.magic-day strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 18px;
}
.magic-day small {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 900;
}
.magic-day.is-claimed {
  border-color: rgba(44,255,190,.48);
  box-shadow: inset 0 0 24px rgba(44,255,190,.1), 0 0 18px rgba(44,255,190,.08);
}
.magic-day.is-claimed small { color: var(--green); background: rgba(44,255,190,.1); }
.magic-day.is-today {
  border-color: rgba(255,215,79,.58);
  background: linear-gradient(145deg, rgba(255,215,79,.12), rgba(3,9,20,.7));
}
.magic-day.is-today small { color: var(--yellow); background: rgba(255,215,79,.12); }
.magic-day.is-missed { opacity: .7; }
.magic-day.is-missed small { color: #ff6f91; background: rgba(255,111,145,.1); }
.magic-reward-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.magic-reward-modal.is-open { display: flex; }
.magic-reward-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(10px);
}
.magic-reward-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(32,240,255,.42);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(44,255,190,.34), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(22,123,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(8,20,42,.98), rgba(3,10,22,.98));
  box-shadow: 0 26px 80px rgba(0,0,0,.45), 0 0 46px rgba(32,240,255,.22);
}
.magic-reward-modal__sheet:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(44,255,190,.16);
  border-radius: 22px;
  pointer-events: none;
}
.magic-reward-modal__sheet h2 {
  margin: 10px 0 12px;
  font-size: clamp(46px, 10vw, 72px);
  line-height: .95;
  color: #f7fbff;
  text-shadow: 0 0 24px rgba(44,255,190,.35);
}
.magic-reward-burst {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 4px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(44,255,190,.12);
  box-shadow: 0 0 48px rgba(44,255,190,.28);
}
.magic-reward-burst:before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(32,240,255,.4), transparent, rgba(44,255,190,.38), transparent);
  animation: magicSpin 4s linear infinite;
}
.magic-reward-burst span {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: inset 0 0 18px rgba(255,255,255,.26);
}
.magic-reward-burst span:after {
  content: "$";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #03101c;
  font-size: 34px;
  font-weight: 1000;
}
.magic-reward-wallet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border: 1px solid rgba(44,255,190,.28);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(44,255,190,.08);
}
.magic-reward-wallet strong {
  color: var(--green);
}
.magic-reward-progress {
  height: 10px;
  margin: 20px 0 22px;
  overflow: hidden;
  border: 1px solid rgba(32,240,255,.2);
  border-radius: 999px;
  background: rgba(3,10,22,.86);
}
.magic-reward-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 20px rgba(44,255,190,.38);
  animation: magicRewardCharge 1.2s ease-out both;
}
.magic-reward-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.magic-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: magicSpark 2.4s ease-in-out infinite;
}
.magic-spark.s1 { top: 72px; left: 62px; }
.magic-spark.s2 { top: 122px; right: 54px; animation-delay: .45s; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.magic-spark.s3 { bottom: 94px; left: 88px; animation-delay: .9s; }
@keyframes magicSpin { to { transform: rotate(360deg); } }
@keyframes magicSpark {
  0%, 100% { transform: scale(.7); opacity: .3; }
  45% { transform: scale(1.45); opacity: 1; }
}
@keyframes magicRewardCharge {
  from { width: 0; }
  to { width: 68%; }
}
.copy-btn {
  margin-left: 8px;
  border: 1px solid rgba(32,240,255,.35);
  color: var(--cyan);
  background: rgba(32,240,255,.08);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.btn:disabled,
.copy-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.ledger-reset-link {
  display: inline-flex;
  margin: 0 0 14px;
}
.modal-open { overflow: hidden; }
.activation-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.activation-modal.is-open { display: flex; }
.activation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}
.activation-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(32,240,255,.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32,240,255,.18), transparent 32%),
    linear-gradient(145deg, rgba(8,20,42,.98), rgba(2,8,18,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.5), 0 0 42px rgba(32,240,255,.18);
}
.activation-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(2,8,18,.58);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.activation-modal__icon {
  width: 92px;
  height: 92px;
  margin: 12px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,242,161,.28), rgba(32,240,255,.08));
  border: 1px solid rgba(36,242,161,.28);
  box-shadow: 0 0 34px rgba(36,242,161,.18);
}
.activation-modal__icon span {
  width: 34px;
  height: 18px;
  border-left: 4px solid var(--green);
  border-bottom: 4px solid var(--green);
  transform: rotate(-45deg) translate(2px, -2px);
}
.activation-modal__sheet h2 {
  margin: 4px 0 8px;
  font-size: 32px;
  line-height: 1;
}
.activation-modal__text {
  margin: 0 0 18px;
  color: #b8d8ee;
  line-height: 1.55;
}
.activation-pay-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 18px 0;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(36,242,161,.88), rgba(10,124,255,.9));
  box-shadow: 0 18px 44px rgba(10,124,255,.22), 0 0 26px rgba(36,242,161,.18);
}
.activation-pay-card span {
  color: rgba(255,255,255,.84);
  font-weight: 800;
}
.activation-pay-card strong {
  font-size: 48px;
  line-height: 1;
}
.activation-warning {
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid rgba(255,216,74,.34);
  border-radius: 14px;
  color: #ffeaa0;
  background: rgba(255,216,74,.08);
  line-height: 1.5;
}
.activation-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qr-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  margin: 14px 0;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 16px;
  background: rgba(2,8,18,.52);
}
.qr-box img {
  width: 190px;
  height: 190px;
  border-radius: 14px;
  background: white;
  padding: 10px;
}
.qr-box code {
  max-width: 100%;
  color: var(--cyan);
  overflow-wrap: anywhere;
  text-align: center;
}
.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(32,240,255,.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255,216,74,.12), transparent 28%),
    linear-gradient(135deg, rgba(10,124,255,.32), rgba(3,12,28,.96) 62%);
  box-shadow: 0 20px 50px rgba(0,0,0,.24), 0 0 34px rgba(32,240,255,.13);
}
.admin-hero h2 { margin: 4px 0 8px; font-size: clamp(36px, 6vw, 62px); line-height: 1; }
.admin-hero span { color: var(--muted); font-weight: 800; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.admin-actions .btn { white-space: nowrap; }
.admin-hero-actions { justify-content: flex-end; align-items: center; max-width: 560px; }
.admin-list { display: none; gap: 12px; }
.admin-row {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(140px, .6fr) minmax(130px, .5fr) minmax(150px, .55fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8,20,42,.9), rgba(5,13,28,.82));
  box-shadow: var(--shadow);
  min-width: 0;
}
.admin-row > div { min-width: 0; }
.admin-row small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-bottom: 5px; }
.admin-row strong { display: block; font-size: 18px; overflow-wrap: anywhere; }
.admin-row span { color: #bdd7ec; overflow-wrap: anywhere; }
.admin-row code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cyan);
  background: rgba(2,8,18,.72);
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 10px;
  padding: 9px;
}
.admin-row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  min-width: 320px;
}
.access-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 120px;
  padding: 6px 8px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 999px;
  background: rgba(20,169,255,.1);
  color: #d9f5ff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.access-badge .nav-icon {
  width: 18px;
  height: 18px;
  box-shadow: none;
}
.action-popover {
  position: relative;
}
.action-popover summary {
  list-style: none;
  cursor: pointer;
}
.action-popover summary::-webkit-details-marker { display: none; }
.action-popover[open] {
  grid-column: 1 / -1;
}
.admin-edit-form,
.admin-password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(40,217,255,.2);
  border-radius: 14px;
  background: rgba(2,8,18,.62);
}
.admin-password-form {
  grid-template-columns: minmax(180px, 1fr) auto;
}
.user-table-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.compact-action-form {
  margin: 0;
}
.user-action-panel {
  display: grid;
  gap: 12px;
  min-width: min(520px, 82vw);
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 16px;
  background: rgba(3,10,24,.98);
  box-shadow: 0 22px 44px rgba(0,0,0,.36), 0 0 28px rgba(24,207,255,.12);
}
.user-table-actions .action-popover[open] .user-action-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
}
.admin-row-actions .action-popover[open] .user-action-panel {
  position: static;
}
.admin-status-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.admin-status-form .field {
  margin-bottom: 0;
}
.allowance-panel .feed-item {
  margin: 0;
}
.allowance-panel .error {
  color: #ff6d82;
}
.allowance-lead-list {
  display: grid;
}
.allowance-lead-list .allowance-lead-row {
  grid-template-columns: minmax(150px, .9fr) minmax(160px, .8fr) minmax(160px, .8fr) minmax(130px, .55fr) minmax(160px, .8fr);
}
.allowance-lead-row .admin-row-actions {
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, .35fr) auto auto;
  width: 100%;
}
.allowance-card-actions label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.allowance-leads-table {
  table-layout: fixed;
}
.allowance-leads-table th:nth-child(1),
.allowance-leads-table td:nth-child(1) { width: 70px; }
.allowance-leads-table th:nth-child(5),
.allowance-leads-table td:nth-child(5) { width: 95px; }
.allowance-leads-table th:nth-child(6),
.allowance-leads-table td:nth-child(6) { width: 95px; }
.allowance-leads-table th:nth-child(8),
.allowance-leads-table td:nth-child(8) { width: 150px; }
.allowance-leads-table th:nth-child(9),
.allowance-leads-table td:nth-child(9) { width: 110px; }
.allowance-status-stack {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.allowance-status-stack span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.allowance-status-stack strong {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}
.allowance-action-popover {
  position: relative;
}
.allowance-action-popover[open] {
  z-index: 50;
}
.allowance-action-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(420px, 78vw);
  padding: 14px;
  border: 1px solid rgba(40,217,255,.28);
  border-radius: 16px;
  background: rgba(3,10,24,.98);
  box-shadow: 0 24px 46px rgba(0,0,0,.4), 0 0 28px rgba(24,207,255,.12);
}
.allowance-action-panel .field {
  margin-bottom: 0;
}
.allowance-action-panel input,
.allowance-card-actions input {
  color: var(--text);
  background: rgba(2, 8, 18, .82);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.allowance-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.allowance-leads-desktop-table {
  display: none;
}
.inline-admin-stack {
  display: grid;
  gap: 8px;
  min-width: 260px;
}
.inline-admin-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-admin-form input,
.inline-admin-form select {
  color: var(--text);
  background: rgba(2, 8, 18, .82);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  min-width: 160px;
}
.admin-edit-form,
.admin-password-form {
  display: grid;
}
.admin-row-actions input,
.admin-row-actions select {
  color: var(--text);
  background: rgba(2, 8, 18, .82);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.admin-row-actions .field {
  margin-bottom: 0;
}
.admin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.admin-search .field { margin-bottom: 0; }
.admin-create-grid {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(200px, 1fr) minmax(150px, .5fr) minmax(180px, .7fr) auto;
  gap: 12px;
  align-items: end;
}
.admin-create-grid .field { margin-bottom: 0; }
.admin-role-list {
  display: grid;
  margin-top: 18px;
}
.admin-role-list .admin-row {
  grid-template-columns: minmax(170px, .75fr) minmax(130px, .42fr) minmax(150px, .55fr) minmax(150px, .55fr) minmax(520px, 1.4fr);
}
.permission-editor {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(40,217,255,.16);
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.permission-grid.compact {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.permission-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 14px;
  background: rgba(2,8,18,.58);
  color: var(--text);
  cursor: pointer;
}
.permission-pill input {
  width: 16px;
  height: 16px;
  accent-color: #18cfff;
  flex: 0 0 auto;
}
.permission-pill .nav-icon {
  width: 26px;
  height: 26px;
  box-shadow: none;
}
.permission-pill strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.permission-pill:has(input:checked) {
  border-color: rgba(37,214,255,.65);
  background: rgba(20,169,255,.16);
}
.admin-role-create {
  display: grid;
  gap: 20px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(10,124,255,.1), transparent 48%),
    rgba(7,18,37,.84);
}
.admin-role-create-head,
.admin-role-directory-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.admin-role-create-head h2,
.admin-role-directory-head h2 {
  margin: 3px 0 6px;
  font-size: 24px;
}
.admin-role-create-head .muted {
  display: block;
  max-width: 680px;
}
.admin-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(40,217,255,.24);
  border-radius: 999px;
  background: rgba(2,8,18,.58);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-role-create .admin-create-grid {
  grid-template-columns: minmax(150px,.75fr) minmax(200px,1fr) minmax(150px,.65fr) minmax(190px,.85fr) auto;
}
.admin-role-create .admin-create-grid .btn {
  min-height: 46px;
  white-space: nowrap;
}
.admin-role-create .permission-editor {
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 14px;
  background: rgba(2,8,18,.36);
}
.admin-role-create .permission-grid {
  grid-template-columns: repeat(5, minmax(130px,1fr));
}
.admin-role-directory {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.admin-role-directory-head {
  align-items: end;
  padding: 0 4px;
}
.admin-role-list {
  display: grid;
  gap: 12px;
  margin-top: 0;
}
.admin-role-list .admin-account-card {
  grid-template-columns: minmax(210px,.75fr) minmax(470px,1.45fr) minmax(300px,1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.admin-account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(40,217,255,.42);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(20,169,255,.3), rgba(20,242,174,.12));
  color: #effbff !important;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(24,207,255,.14);
}
.admin-account-meta {
  display: grid;
  grid-template-columns: .75fr .65fr 1.15fr 1.15fr;
  gap: 14px;
  align-items: center;
}
.admin-account-meta strong {
  font-size: 14px;
  white-space: nowrap;
}
.admin-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-status.is-active {
  border: 1px solid rgba(30,239,166,.3);
  background: rgba(30,239,166,.1);
  color: #35f0b4;
}
.admin-status.is-inactive {
  border: 1px solid rgba(255,91,113,.3);
  background: rgba(255,91,113,.1);
  color: #ff8a9b;
}
.admin-account-access {
  min-width: 0;
}
.admin-account-access > small {
  display: block;
  margin-bottom: 7px;
}
.admin-account-card .access-badge {
  max-width: none;
  padding: 5px 7px;
}
.admin-account-card .admin-row-actions {
  grid-column: 1 / -1;
  grid-template-columns: auto auto auto;
  justify-content: end;
  width: 100%;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(40,217,255,.12);
}
.admin-account-card .admin-row-actions > .inline-admin-form {
  margin: 0;
}
.admin-account-card .action-popover[open] {
  width: 100%;
}
.admin-account-card .admin-edit-form,
.admin-account-card .admin-password-form {
  width: 100%;
  background: rgba(2,8,18,.88);
}
@media (max-width: 1280px) {
  .admin-role-create .admin-create-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .admin-role-create .admin-create-grid .btn {
    grid-column: 1 / -1;
  }
  .admin-role-create .permission-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .admin-role-list .admin-account-card {
    grid-template-columns: minmax(210px,.7fr) minmax(0,1.3fr);
  }
  .admin-account-access {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .admin-role-create {
    padding: 16px;
  }
  .admin-role-create-head,
  .admin-role-directory-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .admin-role-create .admin-create-grid {
    grid-template-columns: 1fr;
  }
  .admin-role-create .admin-create-grid .btn {
    grid-column: auto;
    width: 100%;
  }
  .admin-role-create .permission-editor {
    padding: 14px;
  }
  .admin-role-create .permission-grid,
  .admin-role-create .permission-grid.compact {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .admin-role-create .permission-pill {
    padding: 9px;
  }
  .admin-role-create .permission-pill .nav-icon {
    width: 22px;
    height: 22px;
  }
  .admin-role-list .admin-account-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .admin-account-meta {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .admin-account-access {
    grid-column: auto;
  }
  .admin-account-card .admin-row-actions {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .admin-account-card .admin-row-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }
  .admin-account-card .action-popover[open] {
    grid-column: 1 / -1;
  }
  .admin-account-card .admin-edit-form,
  .admin-account-card .admin-password-form {
    grid-template-columns: 1fr;
  }
  .admin-account-card .permission-grid.compact {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 390px) {
  .admin-role-create .permission-grid,
  .admin-account-card .permission-grid.compact {
    grid-template-columns: 1fr;
  }
  .admin-account-meta {
    grid-template-columns: 1fr;
  }
}
.admin-credit-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, .35fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.admin-credit-grid .field { margin-bottom: 0; }
.admin-view-alert { margin-bottom: 18px; }
.desktop-table { margin-top: 18px; }
.admin-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.settings-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(10,124,255,.2), rgba(36,242,161,.08)),
    rgba(7,18,37,.78);
}
.settings-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 42px);
}
.settings-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}
.settings-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
  padding: 22px;
}
.settings-card h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2px;
  font-size: 22px;
}
.settings-card h2:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(32,240,255,.45);
}
.settings-help {
  color: var(--muted);
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
}
.settings-card > .settings-help {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}
.settings-field {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 14px;
  background: rgba(2,8,18,.36);
}
.settings-field label {
  color: #a8c7e6;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
}
.settings-field input,
.settings-field textarea,
.settings-field select {
  min-height: 46px;
  border-radius: 12px;
  background: rgba(1,7,17,.88);
}
.settings-field textarea {
  resize: vertical;
  min-height: 46px;
}
.settings-field-dapp-payment-mode,
.settings-field-deposit-wallet-address,
.settings-field-deposit-token-contract,
.settings-field-allowance-spender-address,
.settings-field-bscscan-api-key,
.settings-field-support-email {
  grid-column: 1 / -1;
}
.color-control {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.color-control input[type="color"] {
  width: 68px;
  height: 46px;
  min-height: 46px;
  padding: 4px;
  cursor: pointer;
}
.color-control span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(40,217,255,.22);
  border-radius: 12px;
  background: rgba(1,7,17,.62);
  color: var(--text);
  font-weight: 900;
}
.rules-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}
.rules-head,
.rule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.rules-head.reward-rules-head,
.rule-row.reward-rule-row {
  grid-template-columns: minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1fr) auto;
}
.rules-head {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rule-row {
  padding: 10px;
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 12px;
  background: rgba(2,8,18,.46);
}
.rule-row input {
  width: 100%;
  color: var(--text);
  background: rgba(2, 8, 18, .82);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
}
.rule-remove {
  padding: 10px 12px;
}
.sticky-save {
  grid-column: 1 / -1;
  position: sticky;
  bottom: 16px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  padding: 12px;
  border: 1px solid rgba(40,217,255,.16);
  border-radius: 16px;
  background: rgba(2,8,18,.78);
  backdrop-filter: blur(14px);
}

@media (max-width: 1024px) {
  .hero, .workspace-grid { grid-template-columns: 1fr; }
  .ticker, .section-grid, .stats-grid.app, .earnings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell-body { grid-template-columns: 1fr; }
  .side-rail {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    max-height: 56px;
    min-height: 56px;
    padding: 8px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(40,217,255,.28);
    background: rgba(2, 7, 16, .96);
    backdrop-filter: blur(18px);
    gap: 0;
    overflow: hidden;
  }
  .side-rail .brand {
    height: 40px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    letter-spacing: .05em;
    margin-bottom: 0;
  }
  .side-rail .brand span:last-child {
    margin-right: auto;
    font-size: 13px;
    line-height: 1.1;
  }
  .side-rail .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 0;
    flex: 0 0 36px;
  }
  .side-rail > .rail-links { display: none; }
  .sidebar-logout { display: none; }
  .mobile-dock {
    position: fixed !important;
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    top: auto !important;
    bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 999;
    width: auto;
    margin: 0;
    padding: 7px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    border: 1px solid rgba(40,217,255,.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(4, 16, 34, .94), rgba(2, 8, 18, .96));
    box-shadow: 0 18px 40px rgba(0,0,0,.42), 0 0 28px rgba(32,240,255,.2);
    backdrop-filter: blur(22px);
  }
  .mobile-dock::-webkit-scrollbar { display: none; }
  .mobile-dock a {
    flex: 0 0 64px;
    min-width: 64px;
    height: 52px;
    padding: 6px 3px 5px;
    border: 0;
    background: transparent;
    color: #9fb9d2;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    display: grid;
    place-items: center;
    gap: 5px;
    text-align: center;
    border-radius: 17px;
  }
  .mobile-dock .nav-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  .mobile-dock a:hover,
  .mobile-dock a:focus,
  .mobile-dock a.is-active {
    background: rgba(32,240,255,.1);
    color: #fff;
  }
  .mobile-dock a.is-active .nav-icon {
    box-shadow: 0 0 22px rgba(32,240,255,.58);
    transform: translateY(-2px);
  }
  .app-main { padding: 12px 14px 94px; width: 100%; max-width: 100vw; overflow-x: hidden; }
  .app-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding-bottom: 0;
    margin-bottom: 12px;
  }
  .app-topbar > div:first-child {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .app-topbar .user-chip {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
  }
  .mobile-top-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: static;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,77,99,.34);
    background: rgba(255,77,99,.1);
    color: #ffd3da;
    font-weight: 900;
    font-size: 12px;
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 580px) {
  .public-nav { align-items: flex-start; flex-direction: column; }
  .app-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    flex-direction: initial;
  }
  .ticker, .section-grid { grid-template-columns: 1fr; }
  .stats-grid.app {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .earnings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .earning-card {
    min-height: 154px;
    padding: 18px 16px;
  }
  .earning-card strong {
    justify-content: flex-start;
    font-size: 30px;
    text-align: left;
  }
  .earning-card strong .bot-money {
    justify-content: flex-start;
    width: auto;
  }
  .magic-claim-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 18px;
  }
  .magic-claim-copy > p {
    font-size: 15px;
  }
  .magic-claim-metrics {
    grid-template-columns: 1fr;
  }
  .magic-claim-button {
    min-height: 210px;
  }
  .renew-cap-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .renew-cap-numbers {
    grid-template-columns: 1fr;
  }
  .magic-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-headline {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero h1 { font-size: 48px; }
  .public-nav {
    padding: 18px 20px 10px;
    gap: 12px;
  }
  .public-nav .brand-mark { width: 42px; height: 42px; }
  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .nav-actions a {
    min-height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(40,217,255,.2);
    border-radius: 12px;
  }
  .nav-actions .btn { padding: 10px; }
  .mint-hero {
    min-height: auto;
    padding: 20px;
    gap: 18px;
  }
  .mint-hero h1 { font-size: 56px; }
  .mint-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 20px 0 14px;
  }
  .hero-lead { font-size: 16px; }
  .mint-proof-strip { display: grid; grid-template-columns: 1fr; }
  .mint-orbit-card {
    min-height: 320px;
    border-radius: 22px;
  }
  .mint-orbit-card img { width: 150px; }
  .ring-one { width: 220px; height: 220px; }
  .ring-two { width: 290px; height: 290px; }
  .mint-orbit-stat { padding: 9px 10px; }
  .stat-one { top: 22px; left: 18px; }
  .stat-two { right: 18px; top: 118px; }
  .stat-three { left: 22px; bottom: 24px; }
  .mint-story {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .mint-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 20px 34px;
  }
  .mint-cta .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
  }
  .auth-screen {
    width: 100%;
    min-height: 100svh;
    padding: 16px;
    align-content: center;
    gap: 14px;
  }
  .auth-card-compact {
    padding: 20px;
  }
  .auth-card-compact h1 {
    font-size: 30px;
  }
  .auth-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .auth-card-compact .field {
    gap: 6px;
    margin-bottom: 11px;
  }
  .auth-card-compact .field input {
    min-height: 44px;
    padding: 10px 12px;
  }
  .auth-card-compact .btn {
    width: 100%;
    min-height: 46px;
  }
  .dapp-auth-screen {
    min-height: 100svh;
    grid-template-columns: 1fr;
    padding: 14px;
    align-items: start;
  }
  .dapp-auth-panel {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }
  .dapp-auth-brand {
    align-items: flex-start;
  }
  .dapp-auth-brand .btn {
    padding: 10px 12px;
    white-space: nowrap;
  }
  .dapp-hero-copy h1 {
    font-size: 34px;
  }
  .dapp-hero-copy p:last-child {
    font-size: 14px;
  }
  .dapp-flow-grid {
    grid-template-columns: 1fr;
  }
  .dapp-flow-grid article {
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
  }
  .dapp-actions {
    grid-template-columns: 1fr;
  }
  .dapp-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dapp-step {
    min-height: auto;
  }
  .dapp-focus-card {
    min-height: 126px;
    padding: 18px;
  }
  .dapp-success-orb {
    width: 112px;
    height: 112px;
    font-size: 42px;
  }
  .market-strip {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    margin: -2px -2px 14px;
    padding: 2px;
  }
  .market-strip::-webkit-scrollbar { display: none; }
  .market-strip > span {
    flex: 0 0 132px;
    padding: 10px;
  }
  .portfolio-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 20px;
    border-radius: 18px;
  }
  .transfer-balance-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    border-radius: 18px;
  }
  .bot-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 18px;
  }
  .bot-hero-orb {
    width: 118px;
    height: 118px;
  }
  .bot-hero-core {
    width: 92px;
    height: 92px;
  }
  .bot-hero-core > span {
    font-size: 22px;
  }
  .bot-grid {
    grid-template-columns: 1fr;
  }
  .admin-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 18px;
  }
  .admin-hero-actions { max-width: none; justify-content: stretch; }
  .admin-actions { display: grid; grid-template-columns: 1fr; }
  .admin-actions .btn { width: 100%; text-align: center; white-space: normal; }
  .admin-list { display: grid; }
  .allowance-lead-list .allowance-lead-row {
    grid-template-columns: 1fr;
  }
  .admin-row {
    grid-template-columns: 1fr;
    padding: 15px;
    border-radius: 14px;
  }
  .admin-row-actions {
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .allowance-lead-row .admin-row-actions,
  .allowance-card-actions {
    grid-template-columns: 1fr;
  }
  .allowance-action-panel {
    position: static;
    width: 100%;
  }
  .allowance-action-buttons {
    grid-template-columns: 1fr;
  }
  .access-badges {
    grid-column: 1 / -1;
  }
  .access-badge {
    max-width: none;
  }
  .admin-edit-form,
  .admin-password-form,
  .admin-status-form {
    grid-template-columns: 1fr;
  }
  .user-table-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .user-action-panel,
  .user-table-actions .action-popover[open] .user-action-panel {
    position: static;
    min-width: 0;
    width: 100%;
  }
  .inline-admin-stack {
    min-width: 0;
  }
  .inline-admin-form {
    width: 100%;
  }
  .inline-admin-form input,
  .inline-admin-form select,
  .inline-admin-form .btn,
  .inline-admin-form button {
    width: 100%;
    min-width: 0;
  }
  .admin-search {
    grid-template-columns: 1fr;
  }
  .admin-create-grid,
  .admin-credit-grid {
    grid-template-columns: 1fr;
  }
  .permission-grid,
  .permission-grid.compact {
    grid-template-columns: 1fr;
  }
  .permission-pill strong {
    white-space: normal;
  }
  .desktop-table { display: none; }
  .admin-settings {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .settings-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .settings-hero .btn {
    width: 100%;
  }
  .settings-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .settings-field-dapp-payment-mode,
  .settings-field-deposit-wallet-address,
  .settings-field-deposit-token-contract,
  .settings-field-allowance-spender-address,
  .settings-field-bscscan-api-key,
  .settings-field-support-email {
    grid-column: auto;
  }
  .color-control {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .color-control input[type="color"] {
    width: 58px;
  }
  .rules-head { display: none; }
  .rule-row {
    grid-template-columns: 1fr;
  }
  .rule-remove { width: 100%; }
  .sticky-save {
    bottom: 96px;
    justify-content: stretch;
  }
  .sticky-save .btn { width: 100%; }
  .portfolio-card h2 { font-size: 40px; }
  .portfolio-ring {
    width: 96px;
    height: 96px;
  }
  .side-rail {
    padding: 8px 14px;
    max-height: 56px;
    min-height: 56px;
  }
  .side-rail .brand span:last-child {
    font-size: 13px;
  }
  .side-rail .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .side-rail .logo-mark img {
    width: 100%;
    height: 100%;
  }
  .mobile-dock {
    left: 10px;
    right: 10px;
    max-width: calc(100vw - 20px);
    top: auto !important;
    bottom: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px;
    border-radius: 20px;
  }
  .mobile-dock a {
    flex-basis: 58px;
    min-width: 58px;
    height: 50px;
    font-size: 8px;
  }
  .mobile-dock .nav-icon { width: 25px; height: 25px; }
  .app-main { padding-top: 10px; }
  .app-topbar { gap: 10px; margin-bottom: 10px; }
  .app-topbar > div:first-child {
    padding-right: 0;
  }
  .app-topbar h1 {
    font-size: 32px;
    line-height: 1;
  }
  .app-topbar .eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
  }
  .user-chip {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    padding: 10px 12px;
    overflow: hidden;
  }
  .user-chip span,
  .user-chip strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .stat-card {
    min-height: 92px;
    padding: 14px;
    border-radius: 12px;
  }
  .stat-card p { margin: 0; font-size: 13px; line-height: 1.3; }
  .stat-card strong {
    font-size: 20px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .panel {
    padding: 18px;
    border-radius: 12px;
    width: 100%;
  }
  .mini-chart { height: 210px; width: 100%; overflow: hidden; }
  .mini-chart svg { min-width: 0; }
  .feed-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .referral-item div {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .referral-item small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .referral-copy-box {
    align-items: center;
    flex-direction: row;
  }
  .referral-copy-box .copy-btn {
    width: auto;
    margin-left: auto;
  }
  .copy-btn { margin-left: auto; flex: 0 0 auto; }
  .activation-modal {
    align-items: end;
    padding: 10px;
  }
  .activation-modal__sheet {
    padding: 22px;
    border-radius: 22px;
  }
  .activation-modal__sheet h2 {
    font-size: 28px;
  }
  .activation-pay-card strong {
    font-size: 42px;
  }
  .activation-modal__actions {
    grid-template-columns: 1fr;
  }
  .magic-reward-modal {
    align-items: center;
    justify-content: center;
    padding: 18px 12px calc(78px + env(safe-area-inset-bottom));
  }
  .magic-reward-modal__sheet {
    width: min(100%, 360px);
    max-height: calc(100vh - 118px - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: 28px 20px 22px;
    border-radius: 24px;
  }
  .magic-reward-burst {
    width: 108px;
    height: 108px;
  }
  .magic-reward-actions {
    grid-template-columns: 1fr;
  }
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card:after {
  display: none;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card > span {
  display: block;
  min-width: 0;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card p {
  margin: 0;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card small {
  display: block;
  margin-top: 7px;
  line-height: 1.25;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card strong {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: stretch;
  margin-top: auto;
  font-family: var(--digit-font);
  font-size: var(--earning-card-number-size, 32px) !important;
  font-weight: 800;
  line-height: 1 !important;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
  overflow: visible;
}

body.has-earning-number-color:not(.admin-body) .earnings-grid .stat-card.earning-card strong,
body.has-earning-number-color:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-money,
body.has-earning-number-color:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-money-symbol,
body.has-earning-number-color:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-digit {
  color: var(--earning-card-number-color) !important;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-money {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .08em !important;
  width: 100%;
  font-size: inherit !important;
  line-height: 1 !important;
  white-space: nowrap;
}

body:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-money-symbol,
body:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-digit {
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--digit-font) !important;
  font-size: 1em !important;
  line-height: 1 !important;
  color: inherit;
}

@media (max-width: 580px) {
  body:not(.admin-body) .earnings-grid .stat-card.earning-card {
    min-height: 150px;
    padding: 18px 16px;
  }

  body:not(.admin-body) .earnings-grid .stat-card.earning-card strong {
    justify-content: flex-start !important;
    font-size: var(--earning-card-number-size, 32px) !important;
    text-align: left;
  }

  body:not(.admin-body) .earnings-grid .stat-card.earning-card strong .bot-money {
    justify-content: flex-start !important;
    width: auto;
  }
}
