:root {
    color-scheme: light;
    --bg: #989ba8;
    --panel: #fff;
    --line: #e0e4ef;
    --muted: #57647c;
    --text: #20283c;
    --accent: #b83345;
    --green: #087954;
}
.wallet-shell { max-width: var(--arcadia-width); background: #f4f5fc; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.wallet-shell a, .wallet-shell .text-button { color: #a62f43; }
.wallet-shell .wallet-header { align-items: center; }
.wallet-shell .compact-header { background: #fff; border-bottom: 1px solid var(--line); }
.wallet-shell .compact-header .back { color: #a62f43; }
.wallet-shell .balance-cards > div, .wallet-shell .reward-hero, .wallet-shell .profile-card {
    background: linear-gradient(135deg,#fff1f3,#fff8f8);
    border: 1px solid #f1cfd5;
    color: var(--text);
    box-shadow: none;
}
.wallet-shell .balance-cards strong, .wallet-shell .reward-hero .eyebrow { color: #a62f43; }
.wallet-shell :is(input,select,textarea), .wallet-shell .method-choice { background: #fff; color: var(--text); border-color: var(--line); }
.wallet-shell .primary { color: white; background: var(--accent); border-color: var(--accent); }
.wallet-shell .primary:hover { background: #9d293a; }
.wallet-shell .secondary { color: #942d40; background: #fff; border-color: #eacfd5; }
.wallet-shell .tabs button { background: white; }
.wallet-shell .tabs button[aria-selected=true], .wallet-shell .method-choice[aria-pressed=true] {
    background: #fff0f2;
    color: #942d40;
    border-color: #df9da8;
}
.wallet-shell .notice { background: #fff4e5; color: #61421c; border-color: #deab66; }
.wallet-shell #message { background: #e9f6ef; border-color: #b9dcca; }
.wallet-shell #message.error { background: #fff0f2; color: #84293a; border-color: #e7a9b3; }
.wallet-shell .reward-stat { background: white; }
.wallet-shell .reward-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wallet-shell .deposit-picker .primary { margin-top: 14px; }
.wallet-shell #panel-deposit { flex: none; }
.wallet-shell .status:not(.pending,.approved,.rejected) { color: white; }
.wallet-shell .section-links { display: grid; gap: 8px; }
.wallet-shell .section-links a {
    padding: 11px 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.profile-identity { display: flex; align-items: center; gap: 14px; }
.profile-identity img { flex: none; border-radius: 50%; border: 2px solid #fff; object-fit: cover; box-shadow: 0 0 0 1px #efc8d0; }
.wallet-shell .profile-identity h2 { margin: 0 0 2px; font-size: 20px; overflow-wrap: anywhere; }
.profile-contact { margin: 12px 0; }
.profile-contact > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 5px 0; }
.profile-contact dd { max-width: 72%; }
.profile-wallet { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #f2dce0; border-radius: 12px; }
.profile-wallet strong { display: block; font-size: 20px; color: #a62f43; overflow-wrap: anywhere; }
.profile-wallet a { display: grid; justify-items: center; gap: 3px; padding: 4px; font-size: 12px; font-weight: 650; }
.account-icon { --secondary_color5: #b83345; display: grid; place-items: center; width: 26px; height: 26px; }
.account-icon svg { display: block; width: 100%; height: 100%; }
.profile-edit .account-icon, #player-logout .account-icon { display: inline-grid; width: 20px; height: 20px; margin-right: 6px; vertical-align: middle; }
.wallet-shell .account-links { gap: 0; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wallet-shell .account-links a { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border: 0; border-radius: 0; color: var(--text); }
.wallet-shell .account-links a + a { border-top: 1px solid var(--line); }
.account-chevron { color: #a62f43; font-size: 20px; line-height: 1; }
.wallet-shell .compact-header .arcadia-menu { justify-self: end; }
.wallet-shell .activity-note { white-space: pre-line; overflow-wrap: anywhere; }

.notification-badge{font:700 11px system-ui;padding:7px;border-radius:15px;background:#fff0f2;color:#b82042;text-decoration:none}
.inbox-item.unread{border-left:4px solid #d82e50}.inbox-item[data-status=approved]{border-left:4px solid #24a866}
.inbox-item[data-status=rejected]{border-left:4px solid #e83d42}.inbox-item[data-status=pending]{border-left:4px solid #e3ae24}
.inbox-item .secondary{display:inline-block;margin:10px 8px 0 0}.inbox-item p{white-space:pre-wrap}
