.nwall-wallet-page {
    margin: 0;
    background: #100e10;
    color-scheme: dark;
}
.nwall-wallet {
    --wallet-text: #faf7f8;
    --wallet-subtle: #c0b6bc;
    --wallet-panel: #1b181b;
    --wallet-accent: #f3b9ca;
    box-sizing: border-box;
    max-width: 44rem;
    margin: 0 auto;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: #100e10;
    color: var(--wallet-text);
    font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-wrap: anywhere;
    color-scheme: dark;
}
.nwall-wallet *, .nwall-wallet *::before, .nwall-wallet *::after { box-sizing: border-box; }
.nwall-wallet :where(p, h1, h2, h3, dl, dd, ol) { margin: 0; }
.nwall-wallet h1 { margin: .3rem 0 1.15rem; color: var(--wallet-text); font: 720 clamp(1.85rem, 6vw, 2.65rem)/1.12 system-ui, sans-serif; }
.nwall-wallet h2 { margin: 0 0 .65rem; color: var(--wallet-text); font: 690 1.18rem/1.3 system-ui, sans-serif; }
.nwall-wallet h3 { font: 650 1rem/1.4 system-ui, sans-serif; color: var(--wallet-text); }
.nwall-wallet a { color: var(--wallet-accent); text-underline-offset: .18em; }
.nwall-wallet a:focus-visible, .nwall-wallet button:focus-visible, .nwall-wallet select:focus-visible, .nwall-wallet input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nwall-wallet__header a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.nwall-wallet__balance { padding: 1.25rem 1.45rem; background: #4c1427; border-radius: 14px; }
.nwall-wallet__balance > span { color: #f3d8e0; }
.nwall-wallet__balance p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; margin: .15rem 0 0; }
.nwall-wallet__balance strong { font-size: clamp(2.1rem, 9vw, 3.35rem); font-weight: 730; line-height: 1.18; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.nwall-wallet__section { margin-top: 1.45rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--wallet-panel); }
.nwall-wallet__section p, .nwall-wallet__history time, .nwall-wallet__history small { color: var(--wallet-subtle); }
.nwall-wallet__costs > div, .nwall-wallet__history > li { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; padding: .65rem 0; }
.nwall-wallet__costs > div + div, .nwall-wallet__history > li + li { border-top: 1px solid #363036; }
.nwall-wallet__costs dt, .nwall-wallet__history li > div { min-width: 0; }
.nwall-wallet__costs dd, .nwall-wallet__history li > div:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.nwall-wallet__costs dd { flex: none; font-weight: 650; }
.nwall-wallet__costs dt a { display: flex; align-items: center; gap: .25rem; min-height: 44px; width: fit-content; font-weight: 600; }
.nwall-wallet__history { list-style: none; padding: 0; }
.nwall-wallet__history strong, .nwall-wallet__history time, .nwall-wallet__history small { display: block; }
.nwall-wallet__history time, .nwall-wallet__history small { font-size: .85rem; }
.nwall-wallet__primary, .nwall-wallet :where(button[type="submit"]) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .45rem; padding: .55rem 1rem; border: 0; border-radius: 8px; background: #821a40; color: #fff; font: 650 1rem/1.4 system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.nwall-wallet a.nwall-wallet__primary { color: #fff; }
.nwall-wallet :where(select, input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"])) { max-width: 100%; min-height: 44px; border: 1px solid #60565c; border-radius: 8px; background: #262126; color: var(--wallet-text); font: inherit; padding: .4rem .65rem; }
.nwall-wallet :where(button:disabled) { opacity: .65; cursor: default; }
@media (min-width: 36rem) { .nwall-wallet { padding-block: 1.8rem 3rem; } .nwall-wallet__section { padding: 1.25rem 1.4rem; } }
.nwall-wallet .nwc-purchases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .65rem; }
.nwall-wallet .nwc-purchases h2, .nwall-wallet .nwc-purchases > p:first-of-type { grid-column: 1 / -1; }
.nwall-wallet .nwc-purchases form { margin: 0; }
.nwall-wallet .nwc-purchases form button { width: 100%; }
.nwall-wallet .nwc-purchases p + p { color: var(--wallet-text); font-weight: 600; }

.nwall-wallet #nw-coins-social { background:var(--wallet-panel); border-radius:12px; margin:1rem 0; padding:1.2rem; }
.nwall-wallet #nw-coins-social form { display:grid; gap:.75rem; margin:1rem 0; }
.nwall-wallet #nw-coins-social label.nws-field { display:grid; gap:.3rem; }
.nwall-wallet #nw-coins-social select,.nwall-wallet #nw-coins-social input[type="url"],.nwall-wallet #nw-coins-social textarea { width:100%; box-sizing:border-box; padding:.6rem; font:inherit; background:#292429; color:var(--wallet-text); border:1px solid #60545b; border-radius:8px; }
.nwall-wallet #nw-coins-social fieldset { margin:0; border:0; padding:0; }
.nwall-wallet #nw-coins-social fieldset label { margin-right:.8rem; }
.nwall-wallet #nw-coins-social button { justify-self:start; padding:.65rem 1rem; background:#6d1234; color:#fff; border:0; border-radius:8px; font:inherit; cursor:pointer; }
