.referral-page{gap:28px;padding-block:48px 80px;display:grid}.referral-hero{background:var(--surface-muted);border:1px solid var(--border);border-radius:32px;max-width:100%;padding:clamp(24px,5vw,60px)}.referral-hero h1{margin:8px 0 18px;font-size:clamp(30px,4vw,52px)}.referral-hero p{max-width:640px;font-size:18px;line-height:1.7}.referral-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px!important}.referral-hero .primary-button{width:fit-content;margin-top:12px}.referral-card{border:1px solid var(--border);background:var(--surface);border-radius:24px;min-width:0;padding:26px}.referral-card h2{margin:0 0 18px;font-size:23px}.referral-rules{gap:18px;padding-left:24px;line-height:1.75;display:grid}.referral-note{color:var(--muted);font-size:14px;line-height:1.7}.referral-dashboard{gap:24px;min-width:0;display:grid}.referral-dashboard>h1,.referral-dashboard>p{margin:0}.referral-link{gap:8px;margin-bottom:18px;font-size:14px;display:grid}.referral-link input{border:1px solid var(--control-border);background:var(--surface-muted);width:100%;min-width:0;font:inherit;border-radius:12px;padding:14px}.referral-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;display:grid}.referral-stats div{background:var(--surface-muted);border-radius:20px;padding:20px}.referral-stats dt{color:var(--muted);font-size:14px}.referral-stats dd{overflow-wrap:anywhere;margin:10px 0 0;font-size:28px;font-weight:700}.referral-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.referral-heading h2{margin:0}.referral-reward{border-top:1px solid var(--border);overflow-wrap:anywhere;justify-content:space-between;gap:24px;padding:18px 0;display:flex}.referral-reward p{color:var(--muted);margin:8px 0;font-size:13px}.referral-badge{background:var(--warning-bg);border-radius:8px;padding:5px 9px;font-size:13px;display:inline-block}.referral-available{background:var(--success-bg)}.referral-reversed{background:var(--error-bg)}.referral-confirm{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;gap:16px;padding:24px;display:grid}.referral-confirm p,.referral-confirm h2{margin:0}.referral-settings{max-width:800px}@media (max-width:600px){.referral-card{padding:18px}.referral-stats{gap:10px}.referral-stats div{padding:15px}.referral-stats dd{font-size:23px}.referral-reward{flex-direction:column;gap:5px}.referral-heading{flex-direction:column;align-items:flex-start}}html[data-theme=dark] .referral-hero{background:var(--surface-muted);border-color:var(--border)}html[data-theme=dark] .referral-card{background:var(--surface);border-color:var(--border)}html[data-theme=dark] :is(.referral-note,.referral-stats dt,.referral-reward p){color:var(--muted)}html[data-theme=dark] .referral-link input{background:var(--surface-muted);border-color:var(--control-border);color:var(--ink)}html[data-theme=dark] .referral-stats div{background:var(--surface-raised)}html[data-theme=dark] .referral-reward{border-color:var(--border)}html[data-theme=dark] .referral-badge{background:var(--warning-bg);color:var(--warning-ink)}html[data-theme=dark] .referral-available{background:var(--success-bg);color:var(--success-ink)}html[data-theme=dark] .referral-reversed{background:var(--error-bg);color:var(--error-ink)}html[data-theme=dark] .referral-confirm{background:var(--surface-muted);border-color:var(--border)}
