:root { color-scheme: dark; font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, sans-serif; color: #f7f5fe; background: #110e1b; --muted: #c0b9cf; --border: #362e45; --accent: #c4adff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at top, #221737 0, transparent 52rem); min-height: 100vh; }
[hidden] { display: none !important; }
header { background: #110e1bf0; border-bottom: 1px solid var(--border); }
.header-inner, main { max-width: 1080px; padding-inline: 24px; margin-inline: auto; }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 16px; }
.header-inner img { display: block; width: 87px; height: auto; }
.header-inner span { color: var(--muted); }
.header-inner button { margin-left: auto; }
main { padding-block: 42px 72px; }
h1,h2,p { margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.12; letter-spacing: -.045em; }
h2 { font-size: 1rem; letter-spacing: -.012em; }
p, li { color: var(--muted); }
p { margin-top: .45rem; }
#status:empty { display: none; }
#status { margin-bottom: 16px; }
.intro { margin-bottom: 28px; }
.card { background: #1b1627; border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.code, .code-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.code { justify-content: space-between; border-color: #59447d; }
code { background: #2b2040; padding: 8px 12px; border-radius: 8px; color: #e4d8ff; overflow-wrap: anywhere; }
button { font: inherit; font-weight: 650; padding: 9px 15px; min-height: 44px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: #201332; cursor: pointer; }
button.secondary { background: #211932; color: #efe5ff; border-color: var(--border); }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #dacaff; outline-offset: 3px; }
.metrics, .details { display: grid; gap: 14px; margin-block: 14px; }
.metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metrics h2 { color: var(--muted); }
.metrics strong { display: block; margin-top: 8px; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: 1fr auto; margin: 14px 0 0; gap: 4px 12px; }
dd { margin: 0; text-align: right; }
.payout { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; gap: 12px; }
details { border-top: 1px solid var(--border); padding-block: 12px; margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; }
a { color: var(--accent); }
.login { max-width: 440px; margin-inline: auto; }
.login h1 { font-size: 2rem; }
form, label { display: grid; gap: 8px; }
form { margin-block: 20px 14px; gap: 14px; }
input { min-width: 0; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; background: #110e1b; color: inherit; font: inherit; }
@media(max-width: 640px) {
  .header-inner, main { padding-inline: 16px; }
  main { padding-block: 28px 48px; }
  .card { padding: 16px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics section:last-child { grid-column: 1 / -1; }
  .details { grid-template-columns: 1fr; }
}
