/* Frontend presentation only: no visibility, event or payment state changes. */
/* Shared header, form, detail and feedback surfaces. */
body:not(.unified-home)>.header{background:#fff!important;color:#263b56!important;border-bottom:1px solid #e6edf7;box-shadow:none;font-size:17px;font-weight:600}
body:not(.unified-home)>.header .back{background:none!important}
body:not(.unified-home)>.header .back:before{content:'';position:absolute;left:20px;top:17px;width:9px;height:9px;border:0;border-left:2px solid #2f80f0;border-bottom:2px solid #2f80f0;transform:rotate(45deg)}
body:not(.unified-home) :is(.regfrm,.lgfrm){border-radius:14px;border-color:#e3ecf8}
body:not(.unified-home) .mui-input-row label{font-size:14px;font-weight:500}
body:not(.unified-home) .mui-input-row input{font-size:14px;background:transparent}
body:not(.unified-home) :is(.banktip,.tipinfo,.tiptitle,.arhead2){color:#7d91ad;font-size:12px;line-height:1.8}
body:not(.unified-home) :is(.tiptitle,.tipinfo){padding:14px 17px}
body:not(.unified-home) :is(.tipinfo p,.banktip p){color:inherit;font-size:inherit;line-height:inherit}
body:not(.unified-home) :is(.btnbg,.msub){background:transparent}
body:not(.unified-home) :is(.seltarr,.seltarr1){border-color:#7b9dc9}
body:not(.unified-home) :is(.sfzwrap,.sfzp){border-radius:10px}
body:not(.unified-home) :is(.sfztip,.uptip){color:#7b94b4}
body:not(.unified-home) :is(.mui-btn-danger,.mui-btn-primary,.btn,.ljhk,.huankuan_div){background:#2f80f0!important;border-color:#2f80f0!important;color:#fff!important;border-radius:9px;box-shadow:none}
body:not(.unified-home) :is(.mui-button-gry,.hgray):disabled{background:#c8d6e9!important;border-color:#c8d6e9!important;color:#fff!important}
body:not(.unified-home) :is(.dant,.oktit){background:#f7faff;color:#718bac;border-bottom:1px solid #e7eff9}
body:not(.unified-home) .oktit{padding:13px 16px;font-size:12px;line-height:22px}
body:not(.unified-home) :is(.okdan,.loaninfo,.orderinfo){background:#fff;color:#435c7c;border-color:#e5edf7}
body:not(.unified-home) :is(.kprogress,.prgbar){color:#42638c}
body:not(.unified-home) .kprogress{border-color:#e7eff9}
body:not(.unified-home) .jiekuan{overflow-wrap:anywhere}
body:not(.unified-home) .hlist{background:#fff;color:#526c8b}
body:not(.unified-home) .hlist .grey{color:#526c8b}
body:not(.unified-home) .hlist .fc9{color:#879ab3}
body:not(.unified-home) .ljhk{padding:8px 12px;font-size:12px;line-height:20px;font-weight:500}
body:not(.unified-home) .logtabs{color:#405c80}
body:not(.unified-home) .logtabs .cur{color:#2f80f0;border-color:#2f80f0}
body:not(.unified-home) .linka a{color:#2f80f0}
/* Application dialogs retain existing visibility and event handling. */
body :is(.deocon,.deocon2,.htan){background:#fff;border-color:#e3ecf8;border-radius:14px}
body :is(.deocon,.deocon2) .wz{color:#2c476a;font-weight:600}
body :is(.deocon,.deocon2) :is(.tex,.deotxt){color:#687f9d;line-height:1.8}
body :is(.deocon,.deocon2) .wobtn{border-color:#e6edf7}
body :is(.deocon,.deocon2) .wobtn a{color:#2f80f0!important}
/* Shared feedback cards; display stays controlled by each page's existing handlers. */
body .errdeo,body #messageBox{position:fixed!important;z-index:10000!important;top:45%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;box-sizing:border-box!important;width:max-content!important;min-width:210px!important;max-width:calc(100vw - 48px)!important;height:auto!important;margin:0!important;padding:17px 22px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:16px!important;background:rgba(27,45,67,.94)!important;box-shadow:0 12px 36px rgba(25,50,78,.2)!important;color:#fff!important;font-family:inherit!important;font-size:15px!important;font-weight:500!important;line-height:24px!important;letter-spacing:.2px!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere;pointer-events:none;animation:front-message-in .18s ease-out}
body .errdeo:before,body #messageBox:before{content:'!';display:block;width:28px;height:28px;margin:0 auto 9px;border:1.5px solid #a7d2ff;border-radius:50%;color:#b9ddff;font-size:18px;font-weight:600;line-height:25px;box-sizing:border-box}
@keyframes front-message-in{from{opacity:0;transform:translate(-50%,-45%)}to{opacity:1;transform:translate(-50%,-50%)}}
@media(prefers-reduced-motion:reduce){body .errdeo,body #messageBox{animation:none!important}}
body .mui-toast-container{position:fixed;z-index:10000;top:45%;bottom:auto;left:50%;width:max-content;max-width:calc(100vw - 48px);transform:translate(-50%,-50%);text-align:center;pointer-events:none}
body .mui-toast-message{padding:17px 22px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(27,45,67,.94);box-shadow:0 12px 36px rgba(25,50,78,.2);color:#fff;font-size:15px;line-height:24px;white-space:normal;overflow-wrap:anywhere}
body .mui-popup-inner{background:#fff;color:#2c476a;border-radius:14px 14px 0 0}
body .mui-popup-text{color:#7186a1;line-height:1.7}
body .mui-popup-button{background:#fff;color:#2f80f0}
body .mui-poppicker{border:0;background:#fff;box-shadow:0 -4px 22px #294c7815}
body .mui-poppicker-header{background:#f6f9fe;border-bottom:1px solid #e5edf8}
body .mui-poppicker-header .mui-btn{border:0;background:#edf4ff;color:#2f80f0;border-radius:7px}
body .mui-poppicker-header .mui-btn-blue{background:#2f80f0;color:#fff}
body .layui-layer{border-radius:12px;overflow:hidden}
body .layui-layer-title{background:#f5f9ff;color:#2c476a;border-color:#e6edf7}
body .layui-layer-btn .layui-layer-btn0{background:#2f80f0;border-color:#2f80f0;border-radius:7px}
/* Legacy cashier uses a different component library. */
body:not(.unified-home) .bar-nav{background:#fff;border-bottom:1px solid #e5edf8;box-shadow:none}
body:not(.unified-home) .bar-nav .title{color:#294668}
body:not(.unified-home) .content{background:#f1f6fc}
body:not(.unified-home) .content-block-title{color:#7b91ae;font-size:12px}
body:not(.unified-home) :is(.card,.list-block.inset){background:#fff;border:1px solid #e3ecf8;border-radius:13px;box-shadow:none;overflow:hidden}
body:not(.unified-home) .card-header{color:#456384;border-color:#e9f0f9;font-size:13px;overflow-wrap:anywhere}
body:not(.unified-home) .list-block .list-button{color:#2f80f0;font-size:13px;line-height:24px;padding:16px}

html{color-scheme:light; background:#f1f6fc}
body:not(.unified-home){--front-blue:#2f80f0;--front-text:#263b56;background:#f1f6fc!important;color:var(--front-text);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
body:not(.unified-home) .mui-content{background:transparent!important;max-width:480px;margin-left:auto;margin-right:auto}
body:not(.unified-home) .hnav{background:#fff!important;box-shadow:none!important;border-bottom:1px solid #edf2fa}
body:not(.unified-home) .hnav .mui-title{color:#263b56!important;font-size:18px;font-weight:600}
body:not(.unified-home) .hnav .mui-icon{color:#2f80f0!important}
body:not(.unified-home) .hnav .back{background:none!important;width:11px;height:11px;border:solid #2f80f0;border-width:0 0 2px 2px;transform:rotate(45deg);top:17px;left:19px}
body:not(.unified-home) .regfrm,body:not(.unified-home) .lgfrm,body:not(.unified-home) .mui-ngroup,body:not(.unified-home) .bankgroup,body:not(.unified-home) .jiekuan,body:not(.unified-home) .mui-card{background:#fff;border:1px solid #e6edf7;border-radius:12px;box-shadow:none}
body:not(.unified-home) .regfrm,body:not(.unified-home) .lgfrm{margin:12px; width:calc(100% - 24px);overflow:hidden}
body:not(.unified-home) .mui-input-group:before,body:not(.unified-home) .mui-input-group:after{background:transparent}
body:not(.unified-home) .mui-input-row:after{background:#e9eff8}
body:not(.unified-home) .mui-input-row label{color:#415671}
body:not(.unified-home) input:not([type=button]):not([type=submit]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=hidden]),body:not(.unified-home) textarea,body:not(.unified-home) select{color:#263b56;caret-color:#2f80f0;max-width:100%;font-family:inherit}
body:not(.unified-home) input::placeholder,body:not(.unified-home) textarea::placeholder{color:#91a0b4;opacity:1}
body:not(.unified-home) :is(.submit,.logBtn,.combtn,.mui-button-pay,.a-button,.btn00,.withdraw-primary,.btn_orange,.J_WithdrawnBtn,.common input[type=button]){background:#2f80f0!important;color:#fff!important;border:1px solid #2f80f0!important;border-radius:10px!important;box-shadow:0 4px 10px #2f80f015;font-size:16px;min-height:44px}
body:not(.unified-home) :is(.submit,.logBtn,.combtn,.mui-button-pay,.a-button,.btn00,.withdraw-primary):active{background:#216bce!important}
body:not(.unified-home) :is(button,input[type=button],input[type=submit]):disabled{opacity:.5;box-shadow:none;cursor:not-allowed}
body:not(.unified-home) .a-button{display:block;text-align:center;line-height:44px}
body:not(.unified-home) :is(.ckbtn,.chekma,.infoma){color:#2f80f0!important;border-color:#bcd6f8!important;border-radius:7px;background:#f0f6ff}
body:not(.unified-home) :is(.org,.linka a,.pwtxt,.allsel,.orsel){color:#2b75da}
body:not(.unified-home) :is(.tipinfo,.bankdeo,.notetxt,.txtnote){background:transparent;color:#71839b;line-height:1.7}
body:not(.unified-home) :is(.deocon,.deocon2){background:#fff;border-radius:15px;box-shadow:0 12px 40px #19365c1c}
body:not(.unified-home) .wobtn{border-top-color:#e6edf7}
body:not(.unified-home) .wobtn a{color:#2f80f0!important}
body:not(.unified-home) .mui-poppicker-header .mui-btn-blue,body:not(.unified-home) .mui-popup-button{color:#2f80f0}
body:not(.unified-home) .mui-table-view{background:#fff;border-radius:10px}
body:not(.unified-home) .mui-table-view-cell:after{background:#e9eff8}
body:not(.unified-home) .helpcon{background:#fff}
body:not(.unified-home) .balance-card,body:not(.unified-home) .maotop{background:linear-gradient(108deg,#3d8cf7,#89b8fc)!important;border-radius:14px;box-shadow:none}
body:not(.unified-home) .balance-card{border-radius:14px}
body:not(.unified-home) .balance-value{color:#fff}
body:not(.unified-home) .bottom-bar{background:#fff!important;border-top:1px solid #edf2fa;box-shadow:none!important}
body:not(.unified-home) .bottom-bar .mui-tab-label{font-size:10px;color:#929eae}
body:not(.unified-home) .bottom-bar .cur .mui-tab-label{color:#2f80f0!important}
body:not(.unified-home) .mui-switch.mui-active{background:#2f80f0;border-color:#2f80f0}
body:not(.unified-home) :is(input[type=checkbox],input[type=radio]){accent-color:#2f80f0}
body:not(.unified-home) :is(a,button,input,textarea,select):focus-visible{outline:2px solid #81b6fa;outline-offset:2px}
@media(max-width:360px){body:not(.unified-home) .regfrm .mui-input-row label{font-size:13px}body:not(.unified-home) .regfrm .mui-input-row input{font-size:12px}}
@media print{html,body:not(.unified-home){background:#fff!important;padding-bottom:0}}
