/* Apply the deposit shell before Vue and route styles paint. */
html.deposit-boot,html.deposit-boot body,html.deposit-boot #app,html.deposit-boot .app-wrapper,html.deposit-boot .page-container{background:#490815!important;color:#fff0df!important}html.deposit-boot .deposit-new-page>.bg-layer,html.deposit-boot .deposit-new-page>.main-content,html.deposit-boot .deposit-new-page>.van-nav-bar__placeholder{display:none!important}html.deposit-boot .deposit-popup,html.deposit-boot .deposit-popup .popup-content,html.deposit-boot .deposit-popup .popup-header,html.deposit-boot .deposit-popup .popup-body{background:#681a31!important;color:#fff0df!important;background-image:none!important}html.deposit-boot .deposit-popup{transition:none!important;animation:none!important}html.deposit-boot .deposit-popup .pay-method-item{background:#681a31!important;color:#fff0df!important;border-color:#98314b!important}html.deposit-boot .deposit-popup .amount-input,html.deposit-boot .deposit-popup .amount-item{background:#541025!important;color:#fff0df!important}html.deposit-boot .van-overlay{background:#200611b8!important}
.palace-theme .deposit-popup .pay-method-item[hidden]{display:none!important}.palace-theme .deposit-popup .pay-method-item{display:flex!important;align-items:center!important;justify-content:center!important;gap:calc(4 * var(--u))!important;position:relative!important;padding:0 calc(5 * var(--u))!important;box-sizing:border-box!important}.palace-theme .deposit-popup .method-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:calc(22 * var(--u))!important;height:calc(22 * var(--u))!important;flex:0 0 calc(22 * var(--u))!important;margin:0!important;vertical-align:middle!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important}.palace-theme .deposit-popup .method-name{line-height:1.2!important;white-space:nowrap!important;margin:0!important}.palace-theme .deposit-popup .recharge-bonus-tag{position:absolute!important;top:calc(-7 * var(--u))!important;right:calc(2 * var(--u))!important;line-height:calc(15 * var(--u))!important;font-size:calc(8 * var(--u))!important;padding:0 calc(3 * var(--u))!important;transform:none!important}
/* Fixed icon and label columns keep every payment channel on the same baseline. */
.palace-theme .deposit-popup .pay-method-item{display:grid!important;grid-template-columns:calc(24 * var(--u)) minmax(0,1fr)!important;justify-content:initial!important;align-items:center!important;column-gap:calc(5 * var(--u))!important;padding:0 calc(8 * var(--u))!important}.palace-theme .deposit-popup .pay-method-item[hidden]{display:none!important}.palace-theme .deposit-popup .method-icon{width:calc(24 * var(--u))!important;height:calc(24 * var(--u))!important;min-width:0!important;justify-self:center!important;align-self:center!important;border-radius:calc(5 * var(--u))!important;overflow:hidden!important;line-height:calc(24 * var(--u))!important;background-size:contain!important;background-position:center!important}.palace-theme .deposit-popup .method-icon.kdpay{background-image:url('/KDpay-source.png')!important;background-size:calc(87 * var(--u)) calc(24 * var(--u))!important;background-position:left center!important;background-color:#fff!important;color:transparent!important;font-size:0!important}.palace-theme .deposit-popup .method-name{display:block!important;text-align:left!important;font-size:calc(10 * var(--u))!important;line-height:calc(24 * var(--u))!important;white-space:nowrap!important;min-width:0!important;letter-spacing:0!important}.palace-theme .deposit-popup .recharge-bonus-tag{top:calc(-6 * var(--u))!important;right:calc(3 * var(--u))!important}
.palace-theme .history-popup,.palace-theme .history-popup .view-history,.palace-theme .history-popup .record-list{background:#490815!important;color:#fff0df!important}.palace-theme .history-popup .history-header,.palace-theme .history-popup .filter-bar{background:#681a31!important;border-color:#96334f!important}.palace-theme .history-popup .history-title,.palace-theme .history-popup .record-type,.palace-theme .history-popup .record-amount{color:#fff0df!important}.palace-theme .history-popup .filter-item{background:#681a31!important;border-color:#aa526c!important;color:#ffdfd4!important}.palace-theme .history-popup .record-item{background:#681a31!important;border-color:#8c2945!important;border-radius:8px;margin-bottom:10px;padding:12px!important}.palace-theme .history-popup .record-time,.palace-theme .history-popup .record-order,.palace-theme .history-popup .record-arrow{color:#dcb3c0!important}.palace-theme .history-popup .status-success,.palace-theme .history-popup .copy-mini{color:#a7e7c0!important}.palace-theme .history-popup .van-empty__description{color:#dbb1bf!important}
/* Reference deposit record dialog: one burgundy panel with an external close control. */
.palace-theme .history-popup{width:95%!important;height:65.5dvh!important;max-height:78dvh!important;background:#681a31!important;border:1px solid #96314e!important;border-radius:13px!important;overflow:visible!important;top:47%!important;box-sizing:border-box!important}.palace-theme .history-popup .view-history{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;background:#681a31!important;border-radius:13px!important;overflow:hidden!important}.palace-theme .history-popup .history-header{height:48px!important;flex:none!important;padding:14px 12px 8px!important;border:0!important;box-sizing:border-box!important}.palace-theme .history-popup .history-title{font-size:18px!important;line-height:26px!important;font-weight:600!important;text-align:center!important}.palace-theme .history-popup .filter-bar{display:flex!important;gap:12px!important;padding:10px 12px!important;border:0!important;flex:none!important}.palace-theme .history-popup .filter-item{height:32px!important;padding:0 13px!important;display:flex!important;gap:13px!important;align-items:center!important;border:1px solid #b97c8d!important;border-radius:20px!important;font-size:13px!important;line-height:30px!important}.palace-theme .history-popup .record-list{flex:1!important;min-height:0!important;overflow:auto!important;padding:10px 12px!important;background:#681a31!important}.palace-theme .history-popup .empty-state{height:100%!important;min-height:200px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:0 0 25px!important;box-sizing:border-box!important}.palace-theme .history-popup .empty-img{width:112px!important;height:112px!important;object-fit:contain!important;opacity:.55!important;margin:0 0 18px!important}.palace-theme .history-popup .empty-text{font-size:16px!important;color:#e6bdcb!important;line-height:24px!important}.palace-theme .history-popup .view-all{color:#fff0df!important;margin-left:4px!important}.palace-theme .history-popup .close-circle-outer{position:absolute!important;top:calc(100% + 20px)!important;bottom:auto!important;left:50%!important;transform:translateX(-50%)!important;width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:3px solid #fff7ef!important;border-radius:50%!important;background:none!important;color:#fff7ef!important;box-sizing:border-box!important}.palace-theme .history-popup .close-circle-outer .van-icon{font-size:23px!important;line-height:1!important}
.palace-theme .history-popup{position:fixed!important;left:50%!important;transform:translate(-50%,-50%)!important;box-shadow:0 0 0 100vmax #20061199!important;z-index:2200!important}.palace-theme .history-popup .empty-img{opacity:1!important}
.palace-theme .history-popup{margin:0!important;right:auto!important;bottom:auto!important;left:50%!important;top:47%!important;transform:translate(-50%,-50%)!important}
