:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: rgba(13, 24, 20, .88);
  --panel-strong: #101c18;
  --line: rgba(238, 247, 242, .10);
  --line-strong: rgba(218, 184, 92, .35);
  --text: #f3fbf7;
  --muted: #9aada5;
  --gold: #e6c56f;
  --gold-2: #fff1b6;
  --green: #5df0ae;
  --ink: #07110f;
  --danger: #ff7878;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(93, 240, 174, .16), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(230, 197, 111, .18), transparent 34%),
    linear-gradient(180deg, #07110f 0%, #050807 100%);
  color: var(--text);
}
.shell { width: min(980px, 100%); margin: 0 auto; padding: 16px 14px 28px; }
.topbar { min-height: 54px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; margin-bottom: 14px; }
.brandmark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #1b1608; font-weight: 900; box-shadow: 0 14px 34px rgba(230, 197, 111, .2);
}
.eyebrow, .soft-label { margin: 0 0 4px; color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, p { letter-spacing: 0; }
h1 { margin: 0; font-size: 23px; line-height: 1.1; }
h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.status-pill, .mini-pill {
  display: inline-flex; align-items: center; min-height: 32px; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 10px; color: var(--gold-2); background: rgba(230, 197, 111, .09);
  white-space: nowrap; font-size: 13px;
}
.hero {
  position: relative; overflow: hidden; min-height: 168px; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 18px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
  background:
    linear-gradient(135deg, rgba(230, 197, 111, .18), rgba(93, 240, 174, .08)),
    var(--panel-strong);
  box-shadow: 0 20px 42px rgba(0,0,0,.28);
}
.hero strong { display: block; color: var(--gold-2); font-size: 46px; line-height: 1; margin: 4px 0; }
.hero p { max-width: 260px; margin: 0; color: var(--muted); }
.orbital { position: relative; width: 118px; height: 118px; flex: 0 0 118px; }
.ring { position: absolute; inset: 10px; border: 1px solid rgba(230,197,111,.5); border-radius: 50%; transform: rotate(-18deg); }
.coin {
  position: absolute; left: 23px; top: 28px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff8cf, var(--gold) 45%, #9b7423 100%);
  color: #1a1305; font-size: 13px; font-weight: 900; box-shadow: 0 18px 34px rgba(230,197,111,.22);
}
.tabs {
  position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(5, 8, 7, .78); backdrop-filter: blur(12px);
}
.tab {
  min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: var(--muted);
  font-weight: 750; font-size: 13px;
}
.tab.active { background: linear-gradient(145deg, var(--gold-2), var(--gold)); color: #191305; }
.view { display: none; }
.view.active { display: block; }
.panel {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 15px;
  margin-bottom: 12px; box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.register { border-color: rgba(93, 240, 174, .24); }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.metric { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: rgba(255,255,255,.035); }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.metric b { color: var(--gold-2); font-size: 24px; }
.summary { display: grid; gap: 8px; }
.summary-row, .asset-row, .reward-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px;
}
.summary-row:first-child, .asset-row:first-child, .reward-row:first-child { border-top: 0; padding-top: 0; }
.summary-row span, .asset-row span, .reward-row span { color: var(--muted); font-size: 13px; }
.summary-row b, .asset-row b, .reward-row b { text-align: right; overflow-wrap: anywhere; }
.asset-list, .reward-list { display: grid; gap: 10px; }
.asset-token { display: flex; flex-direction: column; gap: 2px; }
.asset-token small, .reward-row small { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
label { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 13px; }
input {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 12px;
  color: var(--text); background: rgba(5, 8, 7, .72); outline: none;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,197,111,.12); }
.primary {
  width: 100%; min-height: 46px; border: 0; border-radius: 8px; padding: 12px; margin-top: 12px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold)); color: #171104; font-weight: 900;
}
.progress-wrap { display: grid; gap: 10px; }
.progress-track { height: 10px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: inherit; }
.codebox { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; color: var(--gold-2); background: rgba(255,255,255,.035); }
.message { color: var(--danger); min-height: 18px; }
.support { display: block; text-align: center; color: var(--gold-2); text-decoration: none; padding: 14px; }
.hidden { display: none; }
@media (max-width: 720px) {
  .shell { padding: 14px 10px 24px; }
  .hero { min-height: 150px; }
  .hero strong { font-size: 38px; }
  .orbital { width: 96px; height: 96px; flex-basis: 96px; }
  .coin { width: 60px; height: 60px; left: 18px; top: 23px; font-size: 12px; }
  .tabs { gap: 4px; }
  .tab { font-size: 12px; min-height: 40px; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { padding: 10px 8px; }
  .metric b { font-size: 21px; }
}
