/* Presentation only. Payment forms, amount rules and API contracts stay unchanged. */
.account-popover,.wallet-modal,dialog.account-history,dialog.account-settings{box-sizing:border-box;border-color:#344154;background:#101b2c;color:#e7edf6;box-shadow:0 24px 80px #0008;font-family:Inter,Arial,sans-serif}
.account-popover{padding:22px;border-radius:18px}.account-popover:before{background:#101b2c;border-color:#344154}.account-popover h2{font:700 23px/1.3 Inter,Arial,sans-serif;overflow-wrap:anywhere}
.account-overview-balance{margin:16px 0;padding:17px 18px;border:1px solid #e7c27255;border-radius:13px;background:linear-gradient(120deg,#e7c27215,#e7c27203)}
.account-overview-balance small{display:block;color:#aab5c6;font-size:12px}.account-overview-balance strong{display:block;margin-top:6px;font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-overview-balance strong span{font-size:15px;color:#e7c272}
.account-popover .account-popover__money button{height:46px;font-size:14px;background:#e7c272;border-color:#e7c272;color:#171c25;box-shadow:none}
.account-popover .account-popover__money button[data-wallet-open="withdrawal"]{background:#1c293c;border-color:#48566b;color:#edf2fa}
.account-popover .account-menu{display:grid;gap:6px}.account-popover .account-menu__item{box-sizing:border-box;width:100%;min-height:56px;border:1px solid transparent;border-radius:10px;padding:10px 12px;background:#172437;box-shadow:none;text-align:start}
.account-popover .account-menu__item:hover{border-color:#6e6247;background:#1d2b40}.account-popover .account-menu__icon{background:#e7c27212;color:#e7c272;box-shadow:none}.account-popover .account-menu__copy{min-width:0}.account-popover .account-menu__copy strong{font-size:13px;overflow-wrap:anywhere}.account-popover .account-menu__copy small{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.account-popover .account-history-links{margin:0;padding:6px;border:1px solid #344154;border-radius:10px;background:#0b1524}.account-popover .account-history-links button{min-height:42px;white-space:normal;text-align:start}.account-popover .account-menu__item--logout{margin-top:6px;border-color:#ed7f8933;color:#f0a0a7;background:#f0778110}
.wallet-modal{width:min(640px,calc(100vw - 24px));padding:24px;border-radius:18px;overscroll-behavior:contain}.wallet-head{margin-bottom:18px}.wallet-title strong{font:700 25px/1.3 Inter,Arial,sans-serif}.wallet-title small{margin-bottom:6px;color:#aab5c6}
.wallet-balance{padding:18px;border-color:#e7c27255;background:linear-gradient(120deg,#e7c27218,#e7c27205);box-shadow:none}.wallet-balance small{color:#b5c0d0;text-transform:none;font-size:12px}.wallet-balance strong{color:#f4dfb5;font:750 30px/1.3 Inter,Arial,sans-serif;text-shadow:none;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.wallet-tabs{border-color:#344154;background:#0b1524;gap:6px}.wallet-tabs .wallet-tab{min-height:44px;font-size:13px}.wallet-tabs .wallet-tab.is-active{background:#e7c272;color:#171c25;box-shadow:none}
.wallet-method{grid-template-columns:48px minmax(0,1fr) 100px auto;padding:14px;gap:12px;border-color:#344154;background:#172437;box-shadow:none}.wallet-method__logo{box-sizing:border-box;width:48px;height:44px;border-radius:8px}.wallet-method__copy strong{font-size:14px;overflow-wrap:anywhere}.wallet-method__copy small{display:block;color:#a6b4c7;font-size:11px;line-height:1.5;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.wallet-method .wallet-method__amount{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:0 10px;border:1px solid #536079;border-radius:8px;background:#0c1727;color:#fff;font-size:16px}.wallet-method .wallet-method__action{justify-content:center;min-height:44px;box-sizing:border-box;padding:0 13px;background:#e7c272;border-color:#e7c272;color:#171c25;font-size:12px;cursor:pointer}
.wallet-modal .wallet-modal__close,.account-popover .account-popover__close{display:grid;place-items:center;width:36px;height:36px;border:1px solid #46536a;border-radius:9px;background:#1b293d;color:#d8e2ee;box-shadow:none;transform:none}.wallet-modal .wallet-modal__close:before{display:none}.wallet-modal .wallet-modal__close:hover{background:#2b394d;box-shadow:none;transform:none}
dialog.account-history .account-history__head,dialog.account-settings>header{background:#152236;border-color:#344154}dialog.account-history .account-history__head h2,dialog.account-settings h2{font-size:21px;overflow-wrap:anywhere}dialog.account-history .account-history__content{overscroll-behavior:contain}dialog.account-history .casino-history-table td,dialog.account-history .casino-history-table th{padding:14px 12px;font-variant-numeric:tabular-nums}dialog.account-settings .account-settings-submit{background:#e7c272;color:#171c25}
.account-popover button:focus-visible,.wallet-modal button:focus-visible,.wallet-modal input:focus-visible,dialog.account-history button:focus-visible,dialog.account-settings button:focus-visible{outline:2px solid #e7c272;outline-offset:3px}
@media(max-width:600px){
 .account-popover{padding:20px 16px;max-height:calc(100dvh - 24px);overscroll-behavior:contain}.account-popover h2{font-size:21px}.account-popover .account-menu__item{min-height:52px}.account-overview-balance{padding:14px 16px}
 .wallet-modal-layer{padding:8px}.wallet-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px 14px}.wallet-title strong{font-size:22px}.wallet-balance strong{font-size:27px}
 .wallet-method{grid-template-columns:42px minmax(0,1fr) 110px;gap:10px;padding:12px}.wallet-method__logo{width:42px;height:40px}.wallet-method__copy{grid-column:2/4}.wallet-method .wallet-method__amount{grid-column:1/3;grid-row:2;width:100%}.wallet-method .wallet-method__action{grid-column:3;grid-row:2;width:100%}
 dialog.account-history{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}dialog.account-history .account-history__head{gap:8px;padding:14px}dialog.account-history .account-history__head h2{font-size:18px}dialog.account-history .account-history__actions{gap:5px}dialog.account-history .account-history__head button{padding:8px}
}
@media(orientation:landscape) and (max-height:500px){.account-popover,.wallet-modal{max-height:calc(100dvh - 16px)}.wallet-head{margin-bottom:10px}.wallet-balance{padding:12px 16px}}
