/* Measured reference form geometry. Own balances, units and policies remain authoritative. */
.wallet-reference.panel-form-surface{padding:32px 100px 36px;background:#fff;border:1px solid #eee;font-size:16px;font-weight:300;color:#363636}
.wallet-reference .panel-form-logo{height:26px;width:172px;margin:0 auto 42px;font-size:25px;line-height:1;gap:7px}
.wallet-reference .panel-form-logo img{width:26px;height:26px}
.wallet-row{display:flex;align-items:center;gap:16px;min-width:0;margin:28px 0 0}
.wallet-row:first-child{margin-top:0}
.wallet-amount-row{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:16px}
.wallet-line,.wallet-caption,.wallet-select{border:1px solid #ffedef;background:#fff;border-radius:999px;box-shadow:0 0 10px #ffd5d0cc}
.wallet-line{display:flex;align-items:center;min-height:48px;min-width:0;width:100%;overflow:hidden}
.wallet-inline-label{margin:0;width:146px;padding:0 20px;flex:0 0 146px;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap}
.wallet-line .input{flex:1;min-width:0;width:100%;height:46px;min-height:46px;margin:0;padding:0 12px;border:0;box-shadow:none;border-radius:0;background:transparent;font-size:16px;font-weight:600;color:#363636}
.wallet-line .input:disabled{background:#fff;opacity:1;color:#686868}
.wallet-line button{min-width:44px;min-height:46px;padding:0 20px 2px 12px;flex-shrink:0;border:0;background:transparent;color:#d92c39;font-size:16px;font-weight:600;cursor:pointer;white-space:nowrap}
.wallet-line:focus-within,.wallet-select:focus{border-color:#ff5d58}
.wallet-caption{display:flex;align-items:center;width:152px;min-height:48px;flex:0 0 152px;margin:0;padding:0 20px;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap}
.wallet-choice{gap:12px}
.game-coral .wallet-reference .wallet-select.input{border:1px solid #ffedef;border-radius:999px;box-shadow:0 0 10px #ffd5d0cc;appearance:none;width:216px;min-width:140px;flex:0 1 216px;min-height:46px;padding:0 40px 0 20px;margin-right:4px;font-size:14px;line-height:1.5;color:#363636;background:#fff url('/shared/assets/celeb-popup-icon-sel-drop.webp') no-repeat right 20px center}
.wallet-game-guide{filter:grayscale(1);opacity:.4;display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;padding:0;background:none;border:0;cursor:pointer}
.wallet-game-guide img{display:block;width:46px;height:46px}
.wallet-bonus{display:flex;align-items:center;gap:18px;min-height:46px;padding-left:12px}
.wallet-bonus label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;font-size:16px;font-weight:300;color:#686868;white-space:nowrap}
.wallet-bonus input{appearance:none;width:18px;height:18px;border:1px solid #ffe8e7;border-radius:50%;margin:0;background:#fff;box-shadow:0 0 5px #ffc5c536;opacity:1}
.wallet-bonus input:checked{border:1px solid #ff4350;background:radial-gradient(circle,#ff4350 0 4px,#fff 5px)}
.wallet-option-divider{font-size:14px;color:#ccc}
.wallet-leverage{display:flex;align-items:center;padding:0 12px;gap:0;height:44px}
.wallet-leverage button{width:42px;height:42px;min-height:42px;border:0;color:#fff;font-size:0;padding:0;cursor:pointer}
.wallet-leverage button:first-child{border-radius:999px 0 0 999px;background:#ffdadc url('/shared/assets/celeb-popup-icon-down.webp') no-repeat 60% center;cursor:not-allowed}
.wallet-leverage button:last-child{border-radius:0 999px 999px 0;background:url('/shared/assets/celeb-popup-icon-up.webp') no-repeat 45% center,linear-gradient(#ff424c 50%,#ff8601)}
.wallet-leverage>span{display:grid;place-items:center;width:82px;height:42px;border-block:1px solid #ffe8e7;background:#fff;font-size:14px;white-space:nowrap}
.wallet-payer,.wallet-exchange-money{width:542px;max-width:100%}
.wallet-reference .panel-money-presets{display:flex;gap:4px;flex-wrap:nowrap;margin:0}
.wallet-reference .panel-money-presets button{width:85px;min-height:44px;padding:0;border:0;background:#ff7758;border-radius:999px;font-size:16px;font-weight:600;color:#582923}
.wallet-reference .wallet-rate-actions{justify-content:flex-end;gap:16px;margin:12px 0 0;font-size:16px;font-weight:700}
.wallet-rate-actions button{border-radius:8px;min-height:36px;padding:2px 12px;font-size:16px;background:#fff}
.wallet-memo.panel-memo-field{height:auto;min-height:340px;padding:0;border:1px solid #ffedef;border-radius:24px;box-shadow:0 0 10px #ffd5d0cc;overflow:hidden;margin-top:28px}
.wallet-memo .panel-memo-heading{height:50px;min-height:50px;padding:0 10px 0 20px;margin:0;gap:12px;box-shadow:inset 0 -5px 5px #ffd5d048;font-size:16px;font-weight:500}
.wallet-memo .panel-memo-heading label{margin:0;font-size:16px;font-weight:500;white-space:nowrap}
.wallet-memo .panel-memo-heading button{min-height:32px;margin:0;padding:0 16px 2px 38px;font-size:13px;font-weight:300;background:url('/shared/assets/celeb-popup-icon-history-charge.webp') no-repeat 14px center,linear-gradient(to top,#fc7555 50%,#ff5d58);white-space:nowrap;color:#fff}
.wallet-memo textarea.input{display:block;width:100%;height:288px;min-height:288px;padding:16px;margin:0;border:0;border-radius:0;background:#fff;box-shadow:inset 0 5px 5px #ffd5d048;font-size:16px;font-weight:400;color:#686868;opacity:1}
.wallet-policy-details{margin:24px 0 0;font-size:13px;color:#686868}
.wallet-policy-details summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;color:#b32e3b;text-decoration:underline}
.wallet-policy-details .wallet-option{min-height:44px}
.wallet-preview-help{font-size:13px;line-height:1.8;color:#686868;margin:16px 0 0;overflow-wrap:anywhere}
.account-panel .panel-bank-note{font-size:16px;padding:16px 42px;background:#ff7758;line-height:2;font-weight:600}
.panel-submit-row>.panel-round-button{width:170px;min-width:170px;height:60px;min-height:60px;padding:0 0 15px;background:url('/shared/assets/celeb-popup-btn-pop-base.webp') no-repeat center/100% 100%;box-shadow:none;border:0;border-radius:0;font-size:18px;font-weight:600;color:#fff}
.panel-submit-row>.panel-round-button::before{content:none}
.panel-submit-row>.panel-round-button:disabled{opacity:.55}
@media(hover:hover) and (pointer:fine){.wallet-reference .panel-money-presets button:hover{background:#ed654d}.wallet-game-guide:hover{filter:grayscale(0);opacity:1}.panel-submit-row>.panel-round-button:hover{filter:brightness(.97);box-shadow:none}}
@media(max-width:1100px){.wallet-reference.panel-form-surface{padding:32px 40px 36px}}
@media(max-width:1000px){.wallet-amount-row{grid-template-columns:minmax(0,1fr)}.wallet-reference .panel-money-presets{justify-content:flex-start}}
@media(max-width:760px){
 .wallet-reference.panel-form-surface{padding:28px 14px 24px}
 .wallet-reference .panel-form-logo{margin-bottom:28px}
 .wallet-row{margin-top:22px;gap:10px;flex-wrap:wrap}
 .wallet-amount-row{gap:12px}
 .wallet-line{padding:10px 14px;flex-wrap:wrap;border-radius:22px;gap:4px 8px}
 .wallet-inline-label{flex:0 0 100%;width:100%;padding:0;font-size:14px}
 .wallet-line .input{min-width:140px;flex:1 1 140px;padding:0}
 .wallet-line button{padding:0;font-size:14px;min-height:44px}
 .wallet-choice{display:grid;grid-template-columns:minmax(0,1fr) 46px}
 .wallet-caption{grid-column:1/-1;width:auto;min-height:24px;flex-basis:auto;padding:0;border:0;border-radius:0;box-shadow:none;font-size:14px}
 .game-coral .wallet-reference .wallet-select.input{width:100%;min-height:46px;min-width:140px;margin:0;font-size:16px}
 .wallet-bonus,.wallet-leverage{grid-column:1/-1;padding-left:0}
 .wallet-bonus{gap:14px}.wallet-bonus label{font-size:14px}
 .wallet-leverage button{width:44px;height:44px}
 .wallet-leverage>span{height:44px}
 .wallet-reference .panel-money-presets{justify-content:space-between;gap:4px}
 .wallet-reference .panel-money-presets button{width:auto;flex:1;min-width:0;font-size:13px}
 .wallet-reference .wallet-rate-actions{justify-content:flex-start;font-size:13px;gap:8px}
 .wallet-rate-actions button{font-size:13px;min-height:44px}
 .wallet-memo.panel-memo-field{min-height:260px;margin-top:22px}
 .wallet-memo .panel-memo-heading{min-height:72px;padding:12px 14px;flex-wrap:wrap;gap:8px}
 .wallet-memo .panel-memo-heading label{margin:0;font-size:14px}
 .wallet-memo .panel-memo-heading button{min-height:44px;font-size:12px;padding-right:12px}
 .wallet-memo textarea.input{height:210px;min-height:210px;padding:14px;font-size:16px}
 .account-panel .panel-bank-note{padding:16px;font-size:13px;line-height:1.9}
}
@media(forced-colors:active){.wallet-line,.wallet-caption,.wallet-select{border-color:CanvasText;box-shadow:none}.wallet-game-guide{border:1px solid CanvasText}.panel-submit-row>.panel-round-button{background:ButtonFace;color:ButtonText;border:1px solid ButtonText}.panel-close-mark{forced-color-adjust:none}}

@media(min-width:761px){.account-panel [data-panel-content]{padding-right:29px}.account-panel [data-panel-content]::-webkit-scrollbar{width:15px}}

@media(pointer:coarse){.game-coral .wallet-reference .wallet-select.input{font-size:16px}.wallet-leverage button{width:44px;height:44px;min-height:44px}.wallet-leverage>span{height:44px}.wallet-memo .panel-memo-heading button{min-height:44px}}
@media(pointer:coarse) and (max-height:520px){
 .game-coral .account-panel-bg{padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left))}
 .game-coral .modal.account-panel{padding:0 6px 6px;max-height:calc(100dvh - 16px)}
 .account-panel-head{margin:0 -6px;min-height:64px;padding:4px 10px 0 18px;gap:6px}
 .account-panel-head h2{font-size:22px;flex-wrap:wrap;gap:2px 6px}.account-panel-head h2 small{font-size:10px}
 .account-panel-brand{font-size:16px;gap:4px}.account-panel-brand img{width:22px;height:22px}
 .account-panel-tabs{padding:0 8px;min-height:49px}.account-panel-tabs button{min-height:48px;flex-basis:102px;font-size:14px;padding:0 12px}
 .account-panel [data-panel-content]{padding:16px 14px 24px;scrollbar-gutter:auto}.panel-password-form{padding:24px 0}
}
.wallet-game-guide:focus-visible{filter:grayscale(0);opacity:1}
.charge-contact .request-review dd{overflow-wrap:anywhere}
.charge-contact>label{display:block;font-weight:600;margin:20px 0 8px}
.charge-contact textarea.input{width:100%;max-width:100%;min-height:136px;font-size:16px;line-height:1.6;resize:vertical}
.charge-contact [data-charge-copy-status]{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.charge-contact-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.charge-contact-actions .panel-round-button{min-height:44px;text-align:center;text-decoration:none}
@media(forced-colors:active){.panel-close-mark{display:none}.account-panel-close::after,.panel-dialog-head>button::after{content:"";display:block;width:32px;height:32px;background:ButtonText;mask:url('/shared/assets/celeb-popup-close.webp') center/contain no-repeat;forced-color-adjust:none}}
