.wallet-page,.dark .wallet-page{background:hsl(var(--es-ink));min-height:100vh;color:hsl(var(--es-text-primary));padding:36px 20px 72px}.wallet-shell{max-width:1120px;margin:auto}.wallet-head{border-bottom:1px solid hsl(var(--es-border)/.2);padding-bottom:28px}.wallet-head nav{color:hsl(var(--es-text-muted));gap:8px;font-size:13px;display:flex}.wallet-head a{color:hsl(var(--es-text-muted));text-decoration:none}.wallet-head h1{font:700 clamp(26px,3vw,28px)/1.35 var(--font-heading);margin:20px 0 7px}.wallet-head p{color:hsl(var(--es-text-muted));margin:0;font-size:15px}.wallet-body{padding-top:28px}.wallet-balances{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.wallet-balances article,.wallet-redeem,.wallet-progress,.wallet-help,.wallet-transactions{border:1px solid hsl(var(--es-border)/.2);background:hsl(var(--es-ink-soft));border-radius:10px}.wallet-balances article{padding:20px}.wallet-balances p,.wallet-redeem p{color:hsl(var(--es-text-muted));margin:0;font-size:13px}.wallet-balances strong{align-items:baseline;gap:8px;margin:12px 0 7px;font-size:32px;line-height:1;display:flex}.wallet-balances small{color:hsl(var(--es-gold-muted));font-size:14px;font-weight:600}.wallet-balances span{color:hsl(var(--es-text-muted));font-size:12px}.wallet-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:16px;margin-top:16px;display:grid}.wallet-redeem,.wallet-progress,.wallet-help{padding:20px}.wallet-redeem h2,.wallet-progress h2,.wallet-help h2,.wallet-transactions h2{font:700 18px/1.5 var(--font-heading);margin:0}.wallet-redeem-form{grid-template-columns:minmax(0,1fr) minmax(125px,.7fr) auto;align-items:end;gap:12px;margin-top:18px;display:grid}.wallet-redeem label{color:hsl(var(--es-text-muted));gap:7px;font-size:13px;display:grid}.wallet-redeem input{border:1px solid hsl(var(--es-border)/.28);background:hsl(var(--es-ink));width:100%;height:42px;color:hsl(var(--es-text-primary));font:inherit;border-radius:7px;padding:0 12px}.wallet-preview{border:1px solid hsl(var(--es-border)/.18);background:hsl(var(--es-ink-elevated));border-radius:7px;height:42px;padding:5px 10px}.wallet-preview span{color:hsl(var(--es-text-muted));font-size:11px;display:block}.wallet-preview strong{font-size:14px}.wallet-redeem button,.wallet-state button{background:hsl(var(--es-gold));min-height:42px;color:hsl(var(--es-ink));border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:700;display:inline-flex}.wallet-redeem button:disabled{opacity:.65}.wallet-message{white-space:pre-line;border-radius:7px;padding:10px 12px;line-height:1.7;margin:14px 0 0!important}.wallet-message.is-success{color:#86efac;background:#22c55e1f}.wallet-message.is-error{color:#fca5a5;background:#ef44441f}.wallet-progress{gap:16px;display:grid}.wallet-progress p{color:hsl(var(--es-text-muted));margin:7px 0 0;font-size:13px;line-height:1.7}.wallet-progress-bar{background:hsl(var(--es-border)/.18);border-radius:999px;height:5px;overflow:hidden}.wallet-progress-bar span{border-radius:inherit;background:hsl(var(--es-gold));height:100%;display:block}.wallet-help{margin-top:16px}.wallet-help ol{color:hsl(var(--es-text-muted));gap:10px;margin:16px 0 0;padding-inline-start:22px;font-size:14px;line-height:1.7;display:grid}.wallet-help li::marker{color:hsl(var(--es-gold));font-weight:700}.wallet-transactions{margin-top:16px;overflow:hidden}.wallet-transactions header{border-bottom:1px solid hsl(var(--es-border)/.16);padding:18px 20px}.wallet-history-list article{border-bottom:1px solid hsl(var(--es-border)/.14);justify-content:space-between;align-items:center;gap:18px;padding:15px 20px;display:flex}.wallet-history-list article:last-child{border:0}.wallet-history-list strong{font-size:14px;display:block}.wallet-history-list time{color:hsl(var(--es-text-muted));margin-top:4px;font-size:12px;display:block}.wallet-history-list b{white-space:nowrap;font-size:14px}.wallet-history-list .is-positive{color:#86efac}.wallet-history-list .is-negative{color:#fca5a5}.wallet-empty-history{color:hsl(var(--es-text-muted));text-align:center;margin:0;padding:36px 20px;font-size:14px}.wallet-state{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:140px;display:flex}.wallet-state p{color:hsl(var(--es-text-muted));margin:0;font-size:14px}@media (width<=720px){.wallet-page{padding:26px 16px 48px}.wallet-balances,.wallet-grid,.wallet-redeem-form{grid-template-columns:1fr}.wallet-redeem button{width:100%}.wallet-history-list article{align-items:start}.wallet-balances strong{font-size:30px}}
