/* Owner-approved transient deltas. Completed normal Profile/Auth/Wallet chrome is not restyled. */
.sgha-message.sg-state{position:relative;display:block!important;min-height:54px;padding:14px 15px 14px 64px!important;margin:12px 0!important;border:1px solid #c7d8eb;border-radius:15px;background:linear-gradient(145deg,#fffdf5,#f0f6ff);box-shadow:0 3px 0 #cbd8e8,0 8px 18px #17488012;color:#214875!important;font-size:14px!important;font-weight:600;line-height:1.65;overflow-wrap:anywhere;text-align:start}
.sgha-message.sg-state::before{content:'';position:absolute;inset:13px auto auto 13px;width:37px;height:37px;background:var(--sgha-icon,url('../images/hidden-states-approved/cross.svg')) center/contain no-repeat;pointer-events:none}
.sgha-message.sg-state--success{--sgha-icon:url('../images/hidden-states-approved/check.svg');border-color:#b6d9ca;background:linear-gradient(145deg,#fffdf5,#edf8f1)}
.sgha-message.sg-state--info{--sgha-icon:url('../images/hidden-states-approved/clock.svg')}.sgha-message.sg-state--warning{--sgha-icon:url('../images/hidden-states-approved/help.svg');border-color:#ddc88e;background:linear-gradient(145deg,#fffdf5,#fff3d6)}.sgha-message.sg-state--error{border-color:#e0bdc2;background:linear-gradient(145deg,#fffdf5,#fff0f0)}
.sgha-message.sgha-field-error{min-height:36px;margin:6px 0 0!important;padding:8px 10px 8px 38px!important;font-size:12px!important;border-radius:9px;box-shadow:none}.sgha-message.sgha-field-error::before{width:22px;height:22px;inset:7px auto auto 8px}.sgha-message[data-sgha-empty=true],.sgha-message[hidden]{display:none!important}.sgha-message.sgha-has-icon{padding-left:15px!important}.sgha-message.sgha-has-icon::before{display:none}
.sgha-error-summary{display:flex;gap:12px;margin:14px 0;padding:16px;border:1px solid #dfbfc4;border-radius:16px;background:linear-gradient(145deg,#fffdf5,#fff0f0);color:#23456e;overflow-wrap:anywhere}.sgha-error-summary>.sg-state-icon{width:44px;height:44px;flex:none}.sgha-error-summary>div{min-width:0}.sgha-error-summary ul{padding-left:19px;margin:8px 0 0;line-height:1.6}.sgha-error-summary li{margin:4px 0}.sgha-error-summary .sg-state-title{font-size:16px;line-height:1.45}
/* Existing SweetAlert nodes/events remain intact. */
.sgha-popup.swal2-popup{border:1px solid #d6b568;border-radius:23px!important;background:linear-gradient(150deg,#fffef8,#edf5ff)!important;color:#214775!important;box-shadow:0 7px 0 #c2d2e8,0 20px 55px #082b6666;padding:22px 18px!important;max-width:calc(100vw - 28px);width:390px}.sgha-popup .swal2-title{color:#174782!important;font-size:23px!important;line-height:1.45!important;overflow-wrap:anywhere}.sgha-popup .swal2-html-container{color:#516882!important;font-size:15px!important;line-height:1.65!important;overflow-wrap:anywhere}.sgha-popup .swal2-icon{border:0!important;width:86px!important;height:86px!important;margin:4px auto 12px!important;background:var(--sgha-popup-icon,url('../images/hidden-states-approved/help.svg')) center/contain no-repeat!important;box-shadow:none!important}.sgha-popup .swal2-icon>*{visibility:hidden!important}.sgha-popup.sg-state--success{--sgha-popup-icon:url('../images/hidden-states-approved/check.svg')}.sgha-popup.sg-state--error{--sgha-popup-icon:url('../images/hidden-states-approved/cross.svg')}.sgha-popup.sg-state--warning{--sgha-popup-icon:url('../images/hidden-states-approved/help.svg')}.sgha-popup .swal2-actions{width:100%;gap:10px;margin-top:20px}.sgha-popup .swal2-confirm,.sgha-popup .swal2-cancel{min-height:48px;margin:0!important;border-radius:12px!important;font-weight:700;white-space:normal;overflow-wrap:anywhere;padding:12px 17px!important;flex:1}.sgha-popup .swal2-confirm{background:linear-gradient(#ffe8a1,#ddb653)!important;color:#153b70!important;border:1px solid #bc9437!important;box-shadow:0 3px 0 #ae8434}.sgha-popup .swal2-cancel{background:linear-gradient(#fff,#e9f2ff)!important;color:#1d4e8e!important;border:1px solid #b7cce5!important;box-shadow:0 3px 0 #b9cde5}.sgha-popup.swal2-toast{padding:12px!important;width:auto}.sgha-popup.swal2-toast .swal2-icon{width:40px!important;height:40px!important;margin:0!important}.sgha-popup.swal2-toast .swal2-title{font-size:15px!important}
/* Only the previously plain pending Deposit edit modal. */
[data-sgha-edit-deposit] .modal-content{border:1px solid #d6b568;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,#fffdf5,#edf5ff);box-shadow:0 9px 28px #0a326c4d;color:#204879}[data-sgha-edit-deposit] .modal-header{background:linear-gradient(135deg,#073b89,#246cca)!important;gap:12px;border-bottom:2px solid #d9b458;align-items:center}[data-sgha-edit-deposit] .modal-header>.sg-state-icon{width:54px;height:54px;flex:none}[data-sgha-edit-deposit] .modal-title{color:#fff7df!important;font-size:20px;line-height:1.45}[data-sgha-edit-deposit] .btn-close{background-color:#fff!important;min-width:30px;min-height:30px;border-radius:50%;opacity:1}[data-sgha-edit-deposit] .modal-body{background:transparent!important;padding:22px}[data-sgha-edit-deposit] label{font-weight:700;color:#244c7f}[data-sgha-edit-deposit] .form-control{background:#fffdf7;border:1px solid #c2d2e5;border-radius:12px;min-height:48px;color:#214574}[data-sgha-edit-deposit] button[type=submit]{width:100%;min-height:48px;border:1px solid #bc9437;border-radius:12px;background:linear-gradient(#ffe7a0,#e1b956);color:#183f75;font-weight:700;box-shadow:0 3px 0 #b58b36}
/* Previously old pending/quiz and direct account boundaries only. */
.sgha-pending-page{background:linear-gradient(150deg,#073580,#2164b4);min-height:100vh;color:#234b7c}.sgha-pending-page .content-wrapper{padding:0!important;width:100%;max-width:700px;margin:auto}.sgha-pending{padding:0 12px 24px}.sgha-pending .content-inner{position:sticky!important;top:0;width:auto!important;margin:0 -12px!important;padding:14px!important;z-index:20;background:linear-gradient(130deg,#063985,#1f67bf)!important;border-bottom:2px solid #d4ad56;align-items:center}.sgha-pending .app-title{color:#fff6dc!important;font-size:22px}.sgha-pending .content-inner a{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:8px 12px!important;border:1px solid #a9c9ed;background:#1556a6;color:white!important}.sgha-pending .container[style],.sgha-pending .container-fluid[style]{margin-top:14px!important}.sgha-pending .market-card,.sgha-pending .quiz-card,.sgha-pending .stats-card,.sgha-pending .recent-quiz-card,.sgha-pending .question-card,.sgha-pending .quiz-result-container{background:linear-gradient(145deg,#fffdf5,#eef5ff)!important;border:1px solid #d6b768!important;border-radius:19px!important;box-shadow:0 4px 0 #bed0e7,0 9px 22px #0b2a6126!important;color:#264b7a!important;padding:16px!important;overflow-wrap:anywhere}.sgha-pending .market-header{border:0!important;padding:0!important}.sgha-pending .market-header h5,.sgha-pending .card-number,.sgha-pending h4,.sgha-pending h1{color:#174b8d!important}.sgha-pending .result-text{font-size:27px!important;color:#235c9a!important;font-weight:800;letter-spacing:1px}.sgha-pending .btn-play{width:49px;height:49px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9a24b;background:linear-gradient(#fff0b5,#e3bd5d)!important;box-shadow:0 3px 0 #b58c39}.sgha-pending .btn-play .sg-state-icon{width:34px;height:34px}.sgha-pending .status-badge{font-weight:700;padding:6px 12px!important}.sgha-pending .table{color:#254b79;background:transparent}.sgha-pending .table td,.sgha-pending .table th{padding:12px 8px;color:#254b79!important;font-size:13px;white-space:normal}.sgha-pending .badge{white-space:normal;line-height:1.4;font-size:12px}.sgha-pending .card-title{color:#536e92;font-size:13px;font-weight:700;text-transform:none}.sgha-pending .stat-icon{color:#205998}.sgha-pending .empty-state>.sg-state-icon,.sgha-pending .result-header>.sg-state-icon,.sgha-pending .quiz-header>.sg-state-icon{width:82px;height:82px;display:block;margin:2px auto 14px}.sgha-pending .empty-state p{color:#546f91!important}.sgha-pending .btn-primary,.sgha-pending .btn-success,.sgha-pending .retry-btn{background:linear-gradient(#ffedb1,#dfb957)!important;color:#153e73!important;border:1px solid #bc9747!important;border-radius:12px!important;min-height:48px;box-shadow:0 3px 0 #b78e3a;font-weight:700;white-space:normal;line-height:1.4;padding:12px 17px!important}.sgha-pending .quiz-container{padding:18px 0!important}.sgha-pending .quiz-header h4{color:#fff5d9!important;font-size:23px}.sgha-pending .progress{background:#d4e4f5!important;height:11px!important;border-radius:8px}.sgha-pending .question-card h5{font-size:17px;line-height:1.55;color:#214b7f}.sgha-pending .form-check{position:relative;padding:0;margin:9px 0!important}.sgha-pending .form-check-input{position:absolute;margin:16px 0 0 12px!important;z-index:1;width:19px;height:19px;border-color:#648fbf}.sgha-pending .form-check-label{display:block;padding:13px 12px 13px 41px;background:#f2f7ff;border:1px solid #c4d6ed;border-radius:11px;line-height:1.5;cursor:pointer;min-height:48px}.sgha-pending .form-check-input:checked+.form-check-label{background:#fff0b9;border-color:#ccaa53}.sgha-pending .quiz-result-container{margin:20px 0}.sgha-pending .stat-item{background:#edf4ff;border:1px solid #c7d9ec;border-radius:12px}.sgha-pending .stat-label{color:#516e91}.sgha-pending .stat-value{font-variant-numeric:tabular-nums}.sgha-pending button:disabled{opacity:.52;box-shadow:none!important}.sgha-timing .modal-content{border:1px solid #d8b25a;border-radius:21px;background:linear-gradient(#fffef8,#eef5ff);box-shadow:0 10px 30px #092d6766;color:#234a7b}.sgha-timing .modal-header{background:#1355a4;border-bottom:2px solid #d6b361}.sgha-timing .modal-title{color:#fff4da!important}.sgha-timing .btn-close{background-color:#fff;border-radius:50%;min-width:30px;min-height:30px}.sgha-timing .modal-body{padding:24px 16px}
.sgha-account-unavailable,.sgha-account-delete{max-width:620px;margin:24px auto;padding:0 10px}.sgha-account-unavailable .card,.sgha-delete-card{border:1px solid #d4b366!important;border-radius:22px!important;background:linear-gradient(145deg,#fffef7,#edf5ff)!important;color:#214876;box-shadow:0 5px 0 #c1d2e8,0 14px 30px #0a306126}.sgha-account-unavailable .card-body{padding:25px!important;text-align:center}.sgha-account-unavailable .sg-state-icon,.sgha-delete-card>.sg-state-icon{width:91px;height:91px;display:block;margin:0 auto 17px}.sgha-account-unavailable h1{color:#194b8c;font-size:25px!important;line-height:1.4}.sgha-account-unavailable p{font-size:15px!important;line-height:1.7;color:#547090!important}.sgha-account-unavailable a,.sgha-delete-card button[type=submit]{min-height:48px;padding:12px 16px!important;font-size:15px!important;border:1px solid #bb9440;border-radius:12px;background:linear-gradient(#ffebb0,#dfb857)!important;color:#184476!important;font-weight:700}.sgha-account-unavailable .logout-btn{background:linear-gradient(#fff,#e4efff)!important;border-color:#b7cce7;color:#234d84!important}.sgha-delete-card .form-control{border:1px solid #bfcfe4;border-radius:12px;background:#fffdf9;color:#214876}.sgha-account-delete .error-text{display:block}
@media(max-width:360px){.sgha-pending{padding-inline:8px}.sgha-pending .content-inner{margin-inline:-8px!important}.sgha-pending .table td,.sgha-pending .table th{font-size:12px;padding:9px 5px}.sgha-popup .swal2-title{font-size:21px!important}.sgha-popup .swal2-actions{flex-direction:column}.sgha-popup .swal2-actions>button{width:100%}.sgha-error-summary{padding:12px;gap:9px}}
.sgha-account-boundary{background:linear-gradient(150deg,#073580,#2164b4);min-height:100vh}.sgha-account-delete .sticky-navbar{position:relative!important;background:transparent!important;margin:0!important;padding:0!important}.sgha-account-delete .sticky-navbar h3,.sgha-account-delete .sticky-navbar i{color:#fff5d9!important}.sgha-account-delete .row.mt-4{margin-top:18px!important}
