:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f0ff;
  background: #17151d;
  --muted: #b6adca;
  --border: #3a3149;
  --surface: #211c2b;
  --accent: #ddcaff;
  --accent-text: #241837;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .65; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.account { width: min(100%, 560px); margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
.topbar, .brand { display: flex; align-items: center; }
.topbar { justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.brand { gap: 10px; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #6c5689; border-radius: 12px; color: var(--accent); background: #342640; font-size: 21px; }
h1 { margin: 0; font-size: 25px; letter-spacing: -.05em; }
h2 { margin: 0; font-size: 15px; font-weight: 650; }
.quiet { color: var(--accent); background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; font-size: 13px; }
.quiet:not(:disabled):hover { background: var(--surface); }
.wallet { padding: clamp(18px, 5vw, 26px); border: 1px solid #5b4676; border-radius: 21px; background: radial-gradient(ellipse at 95% 0%, #53406b 0, transparent 70%), linear-gradient(150deg, #332841, #251d31); }
.balance-header h2 { color: var(--accent); font-weight: 550; }
.amount { margin: 8px 0 18px; font-weight: 650; font-variant-numeric: tabular-nums; font-size: clamp(38px, 10vw, 53px); letter-spacing: -.055em; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 13px; border-radius: 11px; background: var(--accent); color: var(--accent-text); text-decoration: none; font-size: 14px; font-weight: 650; }
.primary:hover { background: #e8dbff; }
.section { margin-top: 21px; padding: 15px 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.usage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 13px 0 0; }
.usage div + div { padding-left: 14px; border-left: 1px solid var(--border); }
.usage dt, .hint, .status { color: var(--muted); font-size: 13px; line-height: 1.5; }
.usage dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hint { margin: 5px 0 11px; }
.hint code { color: var(--accent); }
.model-field select { display: block; width: 100%; padding: 9px 10px; color: #f5f0ff; background: #2b2337; border: 1px solid #50405f; border-radius: 9px; font-size: 15px; }
.status { margin: 12px 3px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
