.standalone-main{margin:0 auto;width:100%;max-width:1000px}#desktop-settings{display:block;margin-bottom:20px}dialog{border:1px solid #e3e8f0;border-radius:16px;padding:28px;width:min(480px,85vw);max-height:85vh;overflow:auto}dialog::backdrop{background:#24304770}#checkout-qr{width:260px;max-width:100%;display:block;margin:20px auto}#finance-panel{margin-top:20px}

/* Customer recharge page: compact balance, packages, and readable order history. */
.customer-shell{background:#f6f7fa;color:#1e293b}.customer-shell aside{width:200px;padding:28px 18px}.customer-shell main{margin-left:200px;width:calc(100% - 200px);padding:24px 30px 40px;max-width:1500px}.customer-shell h1{font-size:24px;margin-bottom:18px}.customer-shell .card{padding:22px;border-radius:12px;box-shadow:none;margin-bottom:16px}.customer-shell .wallet-balance{display:flex;align-items:center;justify-content:space-between;padding:22px 26px}.wallet-balance p{margin:0 0 6px;font-size:13px}.balance-line{display:flex;align-items:baseline;gap:10px;margin-bottom:7px}.balance-line strong{font-size:36px;line-height:1.2;letter-spacing:-1px}.balance-line>span{color:#7b8797;font-size:12px}.balance-line .entitlement-tag{background:#edf1ff;color:#4b59b8;border-radius:5px;padding:3px 8px;margin-left:8px}.customer-shell .section-heading{gap:16px;align-items:center;margin-bottom:16px}.customer-shell .section-heading h2{font-size:16px;margin:0}.customer-shell .section-heading p{font-size:12px;margin:6px 0 0}.payment-channel{display:flex;align-items:center;gap:8px;font-size:12px;color:#7b8797}.payment-channel select{max-width:180px;padding:7px 10px;font-size:12px}.customer-shell .packages{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.customer-shell .package{padding:18px 12px;text-align:center;background:#fff;border-color:#dfe4ee;border-radius:9px}.customer-shell .package:hover{border-color:#5b67d6;background:#f5f6ff}.customer-shell .package b{font-size:21px;letter-spacing:-.5px;margin-bottom:7px}.customer-shell .package span{font-size:14px;color:#5363c5}.more-purchase{margin-top:18px;border-top:1px solid #edf0f5;padding-top:14px}.more-purchase summary,.purchase-rules summary,.ledger-details summary{cursor:pointer;color:#69758a;font-size:13px}.customer-shell .custom{margin:16px 0}.customer-shell .permanent{padding:15px;margin-top:8px}.customer-shell .permanent h3{font-size:15px}.customer-shell .permanent p{font-size:12px}.payment-hint{font-size:12px;margin:15px 0 6px}.purchase-rules{font-size:12px}.purchase-rules p{margin:7px 0}.customer-shell th,.customer-shell td{padding:13px 10px;vertical-align:middle}.customer-shell th{font-size:12px;white-space:nowrap;background:#f8f9fc}.order-number{font-family:Consolas,monospace;font-size:12px;white-space:nowrap;letter-spacing:.1px}.copy-number{border:0;background:transparent;color:#5263bd;padding:3px 0!important;font-size:11px!important;display:block;margin-top:3px}.copy-number:hover{background:transparent;text-decoration:underline}.record-time{display:block;white-space:nowrap;font-size:11px;color:#596579;line-height:1.8}.record-time.secondary{color:#929aaa}.order-status{display:inline-block;padding:4px 7px;border-radius:5px;background:#f1f3f7;color:#657189;font-size:11px;white-space:nowrap}.order-status.review{color:#916b15;background:#fff3d8}.order-status.paid{color:#23735e;background:#e8f5ee}.customer-shell td:last-child button{padding:4px 7px;font-size:11px;margin:2px 3px 2px 0}.empty-message{text-align:center;padding:14px;color:#8b94a3;font-size:13px}.ledger-details[open] summary{margin-bottom:16px}.checkout-number{display:flex;align-items:center;gap:10px}.checkout-number p{overflow-wrap:anywhere;flex:1}.customer-shell #notice{padding:9px 13px;margin-bottom:16px;font-size:12px}
@media(max-width:1100px){.customer-shell aside{width:170px}.customer-shell main{margin-left:170px;width:calc(100% - 170px);padding:20px}.customer-shell .card{padding:18px}.customer-shell th,.customer-shell td{padding:11px 7px}}
@media(max-width:700px){.customer-shell aside{position:static;width:auto}.customer-shell main{margin:0;width:100%;padding:16px}.customer-shell .packages{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-shell .section-heading{align-items:flex-start}.payment-channel{flex-direction:column;align-items:flex-start}.customer-shell .recharge-history table{min-width:700px}}

.customer-shell .package-gift{display:block;font-size:11px;color:#a0712b;margin-top:10px;min-height:16px}.customer-shell .custom-visible{display:flex;border-top:1px solid #edf0f5;padding-top:18px;margin:18px 0 10px;gap:14px;align-items:center}.custom-visible label{max-width:240px;margin:0}.custom-price{display:grid;gap:5px;flex:1}.custom-price strong{color:#35415c;font-size:18px}.custom-price span{font-size:11px;color:#7c8799}.customer-shell .permanent{margin-top:16px}

.chat-messages{min-height:250px;max-height:400px;overflow:auto;background:#f7f8fb;border:1px solid #e9edf4;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-message{max-width:85%;align-self:flex-start;border:1px solid #e4e9f1;background:#fff;border-radius:9px;padding:10px 14px;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#edf1ff;border-color:#dfe5fb}.chat-message small{color:#7b8698;font-size:11px;display:block}.chat-message p{color:#263349;font-size:13px;margin:6px 0 0;white-space:pre-wrap;line-height:1.7}.chat-compose{margin-top:16px}.chat-compose label{display:grid;gap:8px;font-size:12px;color:#788395;margin-bottom:12px}.chat-compose textarea{font:inherit;resize:vertical;width:100%;border:1px solid #dbe2ed;border-radius:8px;padding:11px;background:#fff;color:#263349}.chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-send-row span{font-size:12px;color:#778397}.chat-pagination{display:flex;align-items:center;gap:8px;margin:10px 0}.chat-pagination button{padding:5px 9px;font-size:12px}.chat-empty{color:#8a94a4;font-size:13px;text-align:center}.support-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.support-layout .support-inbox{position:static;width:auto;inset:auto;display:block;background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:12px;height:auto;min-width:0}.support-inbox form{display:flex;gap:5px;margin-bottom:12px}.support-inbox input{min-width:0;width:100%;padding:8px}.support-thread{display:grid;gap:6px;width:100%;text-align:left;margin-bottom:8px;padding:12px;border:1px solid #e8ecf3;background:#fff;border-radius:9px}.support-thread.selected{background:#eef2ff;border-color:#c4cdef}.support-thread span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;color:#778397}.support-thread small{font-size:11px;color:#97a0ae}.support-conversation{padding:20px;min-width:0}.support-conversation h2{font-size:17px}.support-inbox .chat-pagination{justify-content:space-between}.support-inbox .chat-pagination span{font-size:11px}#support-unread{background:#ed6a4d;color:#fff;border-radius:9px;padding:1px 6px;margin-left:5px;font-size:11px}@media(max-width:850px){.support-layout{grid-template-columns:1fr}.support-inbox #support-thread-list{max-height:180px;overflow:auto}}

.custom-visible select{width:100%;min-width:160px}.customer-shell .custom-contact{margin:0;color:#7c8799;font-size:12px}.custom-contact button{border:0;background:transparent;color:#5263bd;padding:3px 0;font-size:12px}.customer-shell .custom-visible{flex-wrap:wrap}

/* v1.4.2: share the application's warm paper, cyan and yellow palette. */
:root{background:#f7f5f0;color:#182238}body{background:#f7f5f0}main{max-width:none}.card{border-color:#e7e2d9;background:#fffefa}.primary{background:#ffd62f;border-color:#ffd62f;color:#182238}.primary:hover{background:#ffdc4c}.selected{background:#dff7f4;color:#247d83}input,select{background:#fbfaf7;border-color:#e7e2d9;border-radius:11px}input:focus{outline:2px solid #56c9ca;outline-offset:1px}input[type=checkbox]{appearance:auto;width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:#56c9ca}.options label,.inline{color:#182238}.native-embedded>aside{display:none}.native-embedded>main{margin:0;width:100%;padding:20px 24px}.customer-shell:not(.authenticated)>aside,.customer-shell:not(.authenticated)>main>header{display:none}.customer-shell:not(.authenticated)>main{margin:0 auto;width:100%;max-width:680px;padding:18px 30px}.login-card{max-width:none;border:0;box-shadow:none;padding:0;background:#fffefa}.auth-tabs{display:flex;border-bottom:1px solid #e7e2d9;margin-bottom:24px}.auth-tabs button{flex:1;border:0;border-bottom:3px solid transparent;background:transparent;border-radius:0;padding:16px 5px}.auth-tabs button.selected{border-bottom-color:#56c9ca;color:#247d83}.auth-pane{padding:0 28px 20px}.auth-pane h2{text-align:center;font-size:27px;margin-bottom:8px}.auth-subtitle{text-align:center;font-size:12px;margin:0 0 25px}.auth-pane .primary{width:100%;height:45px;border-radius:11px}.auth-link{border:0;background:transparent;display:block;margin:12px auto}.auth-footer{border-top:1px solid #e7e2d9;text-align:center;color:#85877f;font-size:11px;padding:14px}.code-row{display:flex;gap:8px}.code-row input{width:0;flex:1}.code-row button{white-space:nowrap}.billing-rules p{margin:8px 0;font-size:13px;line-height:1.8}body:not(.authenticated) #notice{margin:0 0 12px}body:not(.authenticated){overflow:visible}.native-embedded.authenticated>main>header .eyebrow{display:none}

/* Native v1.3 login presentation: edge-to-edge inside the single 620x700 host. */
@font-face{font-family:"App Login SC";src:url("app-font.ttf") format("truetype");font-weight:100 900;font-display:swap}
html:has(.native-embedded:not(.authenticated)){height:100%;overflow:hidden;background:#fffefa}
body.native-embedded:not(.authenticated){display:block;height:100%;min-height:0;overflow:hidden;background:#fffefa;color:#182238;font:13px "App Login SC","Microsoft YaHei UI",sans-serif}
.native-embedded:not(.authenticated)>main{display:block;margin:0;padding:0;width:100%;height:100%;max-width:none}
.native-embedded:not(.authenticated) #login-panel{display:grid;grid-template-rows:57px minmax(0,1fr) auto;height:100%;min-height:0;width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:#fffefa;overflow:hidden}
.native-embedded .auth-tabs{height:57px;margin:0;padding:0 22px;border-bottom:1px solid #e7e2d9;gap:0}
.native-embedded .auth-tabs button{height:57px;padding:0;font-size:14px;font-weight:500;color:#85877f;border-bottom:3px solid transparent}
.native-embedded .auth-tabs button.selected{color:#247d83;border-bottom-color:#56c9ca;background:transparent}
.native-embedded .auth-body{min-height:0;overflow:auto;padding:29px 38px 21px}
.native-embedded .auth-pane{padding:0}
.native-embedded .auth-pane h2{font-size:27px;line-height:1.25;font-weight:600;letter-spacing:-.5px;margin:0 0 7px}
.native-embedded .auth-subtitle{color:#85877f;margin:0 0 25px;line-height:1.7}
.native-embedded .auth-pane form label{font-weight:500;gap:7px;margin-bottom:15px}
.native-embedded .auth-pane input:not([type=checkbox]){height:43px;width:100%;padding:0 13px;border:1px solid #e7e2d9;border-radius:11px;background:#fbfaf7;color:#182238;font:inherit}
.native-embedded .auth-pane input:focus{outline:0;border-color:#56c9ca;box-shadow:0 0 0 3px #56c9ca24}
.native-embedded .auth-pane .options{margin:3px 0 5px;gap:18px}
.native-embedded .auth-pane .primary{height:45px;border:0;border-radius:11px;background:#ffd62f;color:#182238;font-weight:600}
.native-embedded .auth-link{color:#747a7b;font-size:13px}
.native-embedded .auth-pane>.muted{text-align:center;color:#85877f;font-size:12px;line-height:1.7;margin:18px 0 0}
.native-embedded .auth-footer{padding:13px;border-top:1px solid #e7e2d9;color:#85877f;font-size:11px;text-align:center}
.native-embedded:not(.authenticated) #notice{margin:16px 0 0;padding:10px 12px;font-size:12px;line-height:1.55;border-radius:10px;background:#dff7f4;color:#247d83}
.native-embedded:not(.authenticated) #notice.error{background:#fff3f2;color:#c95550}
.native-embedded .auth-input-wrap{position:relative;display:block}.native-embedded .auth-input-wrap input{padding-right:45px!important}
.native-embedded .auth-eye{position:absolute;right:6px;top:5px;width:34px;height:32px;border:0;padding:0;background:transparent;border-radius:9px}
.native-embedded .auth-eye:before{content:'';position:absolute;left:7px;top:10px;width:18px;height:11px;border:2px solid #85877f;border-radius:50%}
.native-embedded .auth-eye:after{content:'';position:absolute;left:14px;top:14px;width:6px;height:6px;background:#85877f;border-radius:50%}
.native-embedded .code-row input{width:0!important;flex:1}
@media(max-width:520px){.native-embedded .auth-body{padding:20px 14px}.native-embedded .auth-tabs{padding:0 8px}}
@media(max-height:590px){.native-embedded .auth-body{padding-top:20px}.native-embedded .auth-subtitle{margin-bottom:18px}.native-embedded .auth-pane h2{font-size:24px}.native-embedded .auth-pane form label{margin-bottom:12px}}

.native-embedded #register.auth-link{display:none}
