:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;background:#f6f8fd;color:#1c2c47;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#d5efff 0,#e9ecff 340px,#f6f8fd 650px);min-height:100vh}main{max-width:760px;margin:auto;padding:22px 18px 30px}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:12px;min-height:46px;padding:12px 18px;background:#087cff;color:#fff;font-weight:600}button:disabled{opacity:.48;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #faac37;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}h2{font-size:19px;margin:0 0 18px}.topbar{display:flex;align-items:center;gap:10px;margin:4px 0 24px}.brand{display:flex;align-items:center;gap:12px;color:#087cff;font-size:24px;font-weight:750;text-decoration:none;margin-right:auto}.brand small{display:block;font-size:12px;font-weight:500;letter-spacing:.4px;margin-top:2px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;color:white;background:#087cff;font-size:29px;box-shadow:0 5px 15px #087cff24}.quiet-button,.icon-button{background:transparent;color:#53647f;font-size:14px;padding:9px}.icon-button{font-size:29px;width:44px}#status{font-size:14px;margin:0 0 12px;color:#526681}#status:empty,#recovery:empty{display:none}section{background:#fff;padding:22px;border-radius:22px;margin:20px 0;box-shadow:0 4px 24px #213c6105;scroll-margin-top:16px}#wallet{padding:0;background:transparent;box-shadow:none;margin:0}.asset-card{position:relative;isolation:isolate;overflow:hidden;border-radius:25px;background:linear-gradient(110deg,#009dff,#087cff 53%,#819cff);color:#fff;padding:25px 24px 18px;box-shadow:0 8px 25px #087cff14}.account-row{position:relative;z-index:1;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;border:1px solid #fff9;background:#ffffff24;font-size:22px}#account-title{font-weight:500;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;flex:1;min-width:0}.uid-button{font-size:13px;padding:5px 0;background:transparent;color:#fff;white-space:nowrap;min-height:32px;font-weight:400}.asset-label{display:flex;align-items:center;gap:8px;margin-top:25px;font-size:16px;letter-spacing:2px}.eye-button{padding:0;min-height:28px;width:30px;background:transparent;color:#ffffffb3}.asset-total{display:flex;align-items:baseline;gap:10px;margin:8px 0 23px;position:relative;z-index:1}.asset-total strong{font-size:36px;letter-spacing:.5px;font-weight:650;overflow-wrap:anywhere}.asset-total span{font-size:13px;color:#ffffffb3}.asset-bottom{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:#c8e7ff}.asset-bottom b{margin-left:14px;color:white;font-size:15px;font-weight:500}#balance-details{padding:4px 0;background:transparent;min-height:26px;font-size:12px;font-weight:400;color:#dceeff}#balances{position:relative;z-index:1;font-size:13px;margin-bottom:0}.wallet-art{z-index:-1;position:absolute;right:20px;bottom:10px;width:135px;height:110px;border:2px solid #ffffff18;border-radius:20px;transform:rotate(19deg);background:linear-gradient(130deg,#ffffff19,#ffffff04);box-shadow:0 -12px 0 -5px #ffffff13}.wallet-art:after{content:"";position:absolute;right:-6px;top:38px;width:42px;height:32px;border:2px solid #ffffff14;border-radius:10px;background:#80b5ff30}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 5px;margin:26px 0}.feature-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;background:transparent;color:#1c2c47;padding:3px 0;font-size:15px;font-weight:400;white-space:nowrap;min-width:0}.feature-icon{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#1c2c47;color:#fff;font-weight:650;font-size:29px;line-height:1}.feature-icon small{position:absolute;bottom:-3px;right:-6px;display:grid;place-items:center;width:19px;height:19px;background:#8a97a9;border:2px solid #f6f8fd;border-radius:50%;font-size:12px}.packet-icon{background:#233451}.deposit-card{padding:27px 20px 20px;border-radius:22px;background:white;text-align:center}.qr-frame{min-height:185px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}#deposit-qr{display:block;width:190px;height:190px;max-width:100%;shape-rendering:crispEdges}#qr-placeholder{color:#8b96a7;font-size:14px}.deposit-card h2{font-size:18px;color:#202733;line-height:1.6;margin-bottom:12px}.deposit-card h2 span{display:inline-block}#deposit-address{font-size:16px;color:#273344;word-break:break-all;margin:0 0 18px;line-height:1.65}.copy-address{width:100%;background:#1c2c47;border-radius:14px;min-height:54px;font-weight:500;font-size:16px}.network-notice{display:flex;align-items:flex-start;gap:10px;background:#fff5e7;border-radius:0 0 14px 14px;padding:17px 18px;margin:0;color:#687489;font-size:13px}.network-notice>span{flex-shrink:0;background:#ffa027;color:white;border-radius:50%;width:17px;height:17px;text-align:center;margin-top:3px;font-weight:700}.network-notice p{margin:0}.network-notice .notice{margin-top:5px;font-size:12px}.settings-panel{background:#fff;padding:20px;border-radius:20px;margin:20px 0}.settings-panel nav,section>nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settings-panel button{background:#eef4ff;color:#285482;font-weight:500;font-size:13px}footer{text-align:center;color:#9aa4b5;padding:28px 0 0;font-size:13px}input,select{display:block;width:100%;border:1px solid #d6e0eb;border-radius:10px;padding:12px;min-height:48px;margin:8px 0 16px;background:#f9fbff;color:#1c2c47}label{display:block;font-size:14px}section>button,form>button{margin:5px 5px 5px 0}#keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#keypad button{background:#edf3fc;color:#1c2c47;font-size:22px}#pin-display{font-size:28px;letter-spacing:14px;text-align:center}#address-list button{display:block;width:100%;overflow-wrap:anywhere}#authorization{border:1px solid #75b7ff}#terms,#business-summary{background:#f0f6ff;border-radius:12px;padding:16px}#activity-items>p{padding:14px 0;border-bottom:1px solid #e8eef6}[hidden]{display:none!important}@media(min-width:600px){main{padding:30px 26px}.asset-card{padding:30px}.asset-total strong{font-size:44px}.feature-grid{gap:22px;margin:32px 0}.feature-icon{width:46px;height:46px}.qr-frame{margin-top:10px}#deposit-qr{width:230px;height:230px}.deposit-card{padding:32px}.deposit-card h2{font-size:21px}.uid-button{font-size:16px}}@media(max-width:360px){main{padding:18px 12px}.asset-card{padding:20px 16px}.uid-button{font-size:11px}#account-title{font-size:15px}.feature-grid button{font-size:13px}.asset-total strong{font-size:31px}}
.device-row{display:flex;align-items:center;gap:9px;width:100%;background:transparent;color:#8390a5;padding:20px 6px 10px;font-size:14px;font-weight:400;text-align:left}.device-row strong{color:#35445c;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650}.device-badge{display:inline-block;border-radius:5px;background:#e0ebff;color:#3388ff;padding:4px 8px;font-weight:650;font-size:12px;white-space:nowrap}#device-limit-note{font-size:12px;color:#8a94a5;margin:3px 6px 0}#device-limit-note:empty{display:none}#device-panel{position:fixed;inset:0;z-index:20;max-width:760px;margin:0 auto;border-radius:0;overflow-y:auto;background:linear-gradient(135deg,#d8efff,#eceeff 260px,#f6f8fd 600px);padding:22px 20px 50px}.device-heading{position:relative;display:flex;align-items:center;justify-content:center;margin:0 0 28px}.device-heading h2{font-size:25px;font-weight:650;margin:0;color:#182231}.device-heading button{position:absolute;left:0;color:#087cff;font-size:40px;padding:0;line-height:1}.device-card{background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:24px 20px}.device-card h3{font-size:21px;margin:0 0 25px}.device-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 20px;border-bottom:1px solid #e2e6ec}.device-summary strong{text-align:right;font-size:16px;overflow-wrap:anywhere}.device-summary .device-badge{background:#e8ebef;color:#657184;font-size:15px;padding:7px 12px}.device-identifier{display:flex;gap:12px;align-items:center;padding:24px 0 28px;font-size:16px;color:#657184}.device-identifier>span{white-space:nowrap}.device-identifier code{font:600 15px system-ui;color:#314058;min-width:0;word-break:break-all;flex:1}.device-identifier button{color:#428bff;flex-shrink:0}#device-form input{background:#edf0f4;border:0;min-height:55px}#device-form label{font-size:16px;color:#657184}#device-promote{margin-top:20px;font-size:17px}#device-state-help,#device-result{font-size:13px;color:#62758f;margin-bottom:0}#device-result:empty{display:none}.device-policy{font-size:14px;color:#66758b;line-height:1.7;margin-top:22px}.device-policy:before{content:'!';display:inline-grid;place-items:center;border-radius:50%;width:17px;height:17px;margin-right:7px;background:#ffad39;color:white;font-weight:bold}@media(max-width:360px){.device-row{gap:5px;font-size:12px}.device-row strong{font-size:12px}.device-badge{padding:4px 6px;font-size:11px}.device-identifier{gap:7px}.device-identifier code{font-size:13px}}
#settings-panel{position:fixed;inset:0;z-index:20;max-width:760px;margin:0 auto;overflow-y:auto;border-radius:0;background:linear-gradient(130deg,#d8efff,#eceeff 260px,#f6f8fd 560px);padding:25px 18px 60px}.settings-heading{position:relative;display:flex;align-items:center;justify-content:center;margin:0 0 27px;min-height:40px}.settings-heading h2{margin:0;font-size:25px;color:#17212d}.settings-heading>button{position:absolute;left:0;padding:0;min-height:40px;background:transparent;color:#087cff;font-size:40px;line-height:1}.settings-cards{display:grid;gap:18px}.settings-card{display:flex;align-items:center;gap:16px;min-height:128px;width:100%;text-align:left;background:white!important;color:#34435b!important;border:1px solid #ebedf3;border-radius:15px;padding:24px 18px;font-weight:400}.settings-card:disabled{opacity:.75;cursor:not-allowed}.settings-card-icon{font-size:34px;flex:0 0 40px;text-align:center}.settings-card-content{flex:1;min-width:0}.settings-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.settings-card-top>strong{font-size:18px;white-space:nowrap}.settings-card-top>span{font-size:14px;color:#4796ff;text-align:right}.settings-card-top b{font-size:25px;font-weight:400;color:#aab3c1;margin-left:4px;vertical-align:-1px}.settings-card-description{display:block;margin-top:14px;color:#8a95a7;font-size:14px;line-height:1.65}.settings-card-content span{white-space:normal}#settings-message:not(:empty){position:fixed;z-index:70;bottom:18px;left:20px;right:20px;max-width:680px;margin:0 auto;background:#1c2c47;color:white;padding:12px 16px;border-radius:12px;font-size:13px;box-shadow:0 4px 20px #1c2c4725}section[data-settings-page=true]{position:fixed;inset:0;z-index:30;max-width:760px;margin:0 auto;padding:82px 22px 35px;overflow-y:auto;border-radius:0;background:linear-gradient(130deg,#e1f2ff,#f6f8fd 380px);scroll-margin:0}section[data-settings-page=true][data-settings-top=false]{visibility:hidden;pointer-events:none}section[data-settings-page=true]>h2{text-align:center;font-size:24px;margin-bottom:26px}#device-panel[data-settings-page=true]{padding-top:22px}#settings-sub-back{position:fixed;top:20px;left:max(20px,calc((100vw - 716px)/2));z-index:60;background:transparent;color:#087cff;font-size:17px;padding:5px;min-height:36px}.security-status-card{background:white;border-radius:18px;text-align:center;padding:27px 20px;margin-bottom:22px}.security-status-card>span{font-size:46px}.security-status-card h3{font-size:19px}.security-status-card p{color:#8793a5;font-size:14px}#security-binding-status{color:#3286f8;font-size:17px}.security-actions{display:grid;grid-template-columns:1fr;gap:12px}.security-actions button{background:white;color:#314b70;border:1px solid #e4ebf4;text-align:left;font-weight:500}.history-tabs{margin-bottom:20px}.history-tabs button{font-size:12px;background:#edf4ff;color:#315781;padding:9px}@media(max-width:360px){.settings-card{padding:20px 12px;gap:10px}.settings-card-icon{font-size:28px;flex-basis:30px}.settings-card-top>strong{font-size:16px}.settings-card-top>span{font-size:12px}.settings-card-description{font-size:12px}}@media(min-width:600px){#settings-panel{padding:30px 28px}.settings-card{padding:28px;min-height:150px;gap:24px}.settings-card-icon{font-size:42px;flex-basis:48px}.settings-card-top>strong{font-size:23px}.settings-card-top>span{font-size:18px}.settings-card-description{font-size:17px}}
#device-panel[data-settings-page=true]{z-index:30}

.account-settings-page h3{font-size:20px;margin:0 0 22px}.account-form-card{background:white;border:1px solid #e4e8ef;border-radius:12px;padding:22px 18px}.account-form-row{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:66px;border-bottom:1px solid #e0e5ec;font-size:16px;color:#667287}.account-form-row strong{color:#293a55}.account-form-row select{width:auto;max-width:50%;margin:0;background:transparent;border:0;font-weight:600}.secret-field{display:flex;align-items:center;background:#e7ebf0;border-radius:8px;margin:22px 0;overflow:hidden}.secret-field input{min-width:0;flex:1;background:transparent;border:0;margin:0;min-height:56px;padding:16px;font-size:16px}.secret-field button{flex-shrink:0;background:transparent;color:#263952;padding:10px;min-width:42px}.address-lock-label{display:flex;align-items:center;gap:10px;font-size:16px}.address-lock-label input{width:19px;min-height:19px;height:19px;margin:0;accent-color:#1685ff}#address-state{font-size:13px;color:#697a91;margin-bottom:0}.account-submit{display:block;width:100%;min-height:54px;background:#1c2c47;border-radius:7px;font-size:18px;font-weight:400;margin:40px 0 20px!important}.forgot-password{display:block;margin:16px auto!important;background:transparent;color:#1685ff;font-size:16px;font-weight:400}#pin-settings>label{font-size:16px;color:#596a80;margin-top:24px}#pin-settings .secret-field{margin:8px 0 24px}section.account-settings-page[data-settings-page=true]{padding-top:28px}section.account-settings-page[data-settings-page=true]>h2{margin-bottom:32px;font-size:23px}#pin-settings .account-submit{margin-top:42px!important}@media(min-width:600px){.account-form-card{padding:28px}.secret-field input{min-height:68px;font-size:20px}.account-form-row{min-height:80px;font-size:20px}.account-settings-page h3{font-size:23px}.account-submit{min-height:66px}.account-settings-page>label{font-size:20px!important}}
/* Wallet business pages share the same full-screen navigation as settings. */
section.wallet-subpage[data-settings-page=true]{padding:28px 20px 42px;background:linear-gradient(130deg,#dff2ff,#ebeeff 220px,#f7f8fd 540px)}section.wallet-subpage[data-settings-page=true]>h2{font-size:23px;margin:2px 60px 28px}#settings-sub-back{top:23px;font-size:16px}.asset-tabs{display:flex!important;gap:4px!important;background:#e4e8ee;border-radius:30px;padding:4px;margin:18px 0 24px}.asset-tabs button{flex:1;background:transparent;color:#858c97;font-size:16px;border-radius:24px;min-height:39px;padding:8px;font-weight:600}.asset-tabs button[aria-pressed=true]{background:#fff;color:#35445b}.available-summary{margin:20px 4px 24px;color:#65738b;font-size:15px}.available-summary strong{display:block;color:#0ec5aa;font-size:29px;font-weight:500;margin-top:7px}.transaction-card{padding:18px;background:#fff;border-radius:15px}.transaction-row{display:flex;align-items:center;gap:8px;min-height:66px;border-bottom:1px solid #e3e8ef;font-size:15px;color:#47566f}.transaction-row>span{white-space:nowrap}.transaction-row input{min-width:0;flex:1;text-align:right;background:transparent;border:0;margin:0;padding:12px 0;font-size:15px}.transaction-row button{background:transparent;color:#33445d;padding:0;min-width:26px}.field-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:15px;color:#52617a;margin:20px 0 8px}.field-heading button{min-height:30px;padding:0 4px;font-size:13px;background:transparent;color:#304563}.field-heading button:first-of-type{margin-left:auto}.field-heading span:last-child{font-size:13px}.amount-entry{display:flex;align-items:center;gap:10px;background:#e7ebf1;border-radius:7px;padding-right:8px}.amount-entry input{background:transparent;border:0;margin:0;min-width:0}.amount-entry button{background:#fff;color:#53617a;min-width:60px;padding:8px;min-height:36px}.transaction-card #address{background:#e7ebf1;border:0;margin:0}#amount-help{font-size:12px;color:#8993a4;line-height:1.7}#withdraw-estimate{font-size:13px;color:#288bfc}#editor[data-mode=transfer] .amount-entry{background:transparent;border-bottom:1px solid #e3e8ef;border-radius:0}#editor[data-mode=transfer] #amount{text-align:right}#editor .account-submit{margin:20px 0 8px!important}.network-field>p{padding:17px;background:#e5e9ef;border-radius:8px;margin:8px 0 20px}.network-field>label{font-size:16px;color:#586880}#transfer-recent>h3,#invoice-recent>h3{font-size:17px;margin-top:24px}.recent-record{display:block;width:100%;text-align:left;margin:10px 0;background:#fff;color:#475976;font-size:14px;line-height:1.7}.empty-records{font-size:90px;color:#e0e4eb;text-align:center;padding-top:40px;line-height:1.5}.empty-records+p{text-align:center;color:#a2a9b2;font-size:13px;padding-bottom:45px}.bill-tabs{display:flex!important;justify-content:space-between;gap:0!important;margin:30px -5px 12px}.bill-tabs button{background:transparent;color:#7b879b;padding:8px 3px;font-size:14px;min-height:36px;border-radius:0;font-weight:400}.bill-tabs button[aria-selected=true]{color:#263c5d;font-weight:650;border-bottom:4px solid #087cff}.currency-filter{position:absolute;right:17px;top:22px;min-height:38px;background:transparent;color:#475872;padding:5px;font-size:14px}.records-card{background:#fff;border-radius:12px;padding:10px 16px;min-height:48vh}.records-card>p{font-size:14px;margin:8px 0;line-height:1.85}.records-card>button{background:#edf4ff;color:#226ac0;font-size:13px;margin:0 5px 10px 0}#activity-page{font-size:12px;color:#8390a4}#activity>button:not(.currency-filter){background:#e7edf7;color:#445a7d;font-size:12px;padding:8px;min-height:36px}.sheet-backdrop{position:fixed;inset:0;z-index:80;background:#0009;display:flex;align-items:flex-end;justify-content:center}.currency-sheet{position:relative;width:100%;max-width:760px;padding:22px;background:#fff;border-radius:20px 20px 0 0}.currency-sheet h3{text-align:center;margin:0 0 28px;font-size:20px}.currency-sheet nav{display:flex;gap:7px}.currency-sheet nav button{flex:1;background:#fff;color:#30455f;border:1px solid #e0e4ea;padding:12px 4px}.currency-sheet nav button[aria-pressed=true]{background:#ebf4ff;color:#087cff;border-color:#087cff}.sheet-close{position:absolute;right:15px;top:8px;background:transparent;color:#8d99ac;font-size:27px}#business[data-business-view=invoice] #business-fields,#business[data-business-view=packet] #business-fields{background:white;padding:8px 18px;border-radius:14px}#business[data-business-view=invoice] #business-fields>label,#business[data-business-view=packet] #business-fields>label{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:68px;border-bottom:1px solid #e3e8ef;color:#4d5f78;font-size:14px}#business[data-business-view=invoice] #business-fields input,#business[data-business-view=packet] #business-fields input,#business[data-business-view=packet] #business-fields select{min-width:0;width:55%;margin:0;border:0;background:transparent;text-align:right;padding:10px 0;font-size:14px}#business[data-business-view=invoice] [data-field=asset],#business[data-business-view=packet] [data-field=asset]{display:none!important}#business[data-business-view=packet] #business-preview{background:#ff0050;border-radius:30px}#business-help{font-size:13px;color:#6e8099;line-height:1.7}#business[data-business-view=packet] [data-field=note]{display:block!important;padding:16px 0}#business[data-business-view=packet] #business-note{width:100%!important;text-align:left!important;padding-top:14px!important}#business-result{padding:14px;background:#fff;border-radius:12px;font-size:14px}#business-result:empty{display:none}@media(max-width:360px){section.wallet-subpage[data-settings-page=true]{padding-left:13px;padding-right:13px}.transaction-card{padding:14px}.transaction-row{font-size:13px}.transaction-row input{font-size:13px}.bill-tabs button{font-size:13px}.currency-filter{font-size:12px;right:10px}.wallet-subpage>h2{font-size:21px!important}#business[data-business-view=packet] #business-fields{padding:8px 12px}}

#activity-items .empty-records+p{border:0}#activity>button:disabled{opacity:.35;cursor:default}
/* Compact dashboard and explicit light/dark preference. */
main{padding:16px 14px 24px}.topbar{gap:7px;margin:0 0 20px;min-height:40px}.brand{gap:7px;font-size:17px;min-width:0;white-space:nowrap}.brand-mark{width:35px;height:35px;border-radius:9px;font-size:25px;flex-shrink:0}.task-button{display:flex;align-items:center;gap:2px;white-space:nowrap;background:linear-gradient(100deg,#b9acff,#75b5ff);color:#293e60;font-size:11px;min-height:29px;border-radius:20px;padding:5px 8px}.task-button>span{font-size:20px}.header-icon{display:grid;place-items:center;padding:3px;width:29px;min-height:32px;background:transparent;color:#172a48;flex-shrink:0}.header-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.asset-card{padding:16px 17px 10px;border-radius:19px;background:linear-gradient(110deg,#009fff,#087cff 58%,#85a0ff)}.account-row{gap:8px}.avatar{width:32px;height:32px;font-size:17px;background:#ffffff25}#account-title{font-size:16px;font-weight:500}.uid-button{font-size:12px;min-height:28px;font-weight:400;padding:0}.asset-label{font-size:15px;font-weight:400;letter-spacing:1px;margin-top:13px;gap:4px}.asset-total{margin:3px 0 12px;gap:7px}.asset-total strong{font-size:28px;font-weight:600}.asset-total span{font-size:11px}.asset-bottom{flex-wrap:nowrap;font-size:12px;gap:12px}.asset-bottom>span{display:flex;gap:9px;align-items:center;min-width:0}.asset-bottom b{font-size:12px;margin-left:0;overflow-wrap:anywhere;font-weight:500}#balance-details{display:block;position:relative;margin:2px auto 0;font-size:11px;min-height:17px;padding:0}.wallet-art{width:110px;height:92px;right:13px;bottom:7px}.feature-grid{margin:21px 0;gap:18px 8px}.feature-grid button{gap:8px;font-size:14px}.feature-icon{width:35px;height:35px;font-size:25px;border-radius:9px}.deposit-card{padding:22px 18px 18px;border-radius:17px}.qr-frame{min-height:160px;margin:0 auto 18px}#deposit-qr{width:160px;height:160px;background:white;border-radius:4px}.deposit-card h2{font-size:16px;line-height:1.5;margin-bottom:12px}#deposit-address{font-size:14px;margin-bottom:16px}.copy-address{min-height:48px;font-size:15px;border-radius:10px}.copy-toast{position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 26px;background:#000c;color:#14dd42;border-radius:12px;font-size:16px;pointer-events:none}.copy-toast>span{display:grid;place-items:center;background:#13d537;color:#06220b;width:34px;height:34px;font-size:25px;border-radius:50%}.network-notice{font-size:12px;padding:14px}.device-row{font-size:12px;padding-top:17px}.device-row strong{font-size:12px}@media(max-width:360px){main{padding:13px 11px}.topbar{gap:4px}.brand{font-size:14px;gap:5px}.brand-mark{width:31px;height:31px}.task-button{padding:4px 6px;font-size:10px}.task-button>span{font-size:16px}.header-icon{width:25px}.header-icon svg{width:22px}.asset-card{padding:14px 12px 9px}#account-title{font-size:14px}.uid-button{font-size:10px}.asset-bottom{gap:6px}.asset-bottom b{font-size:11px}}@media(min-width:600px){main{padding:22px 24px}.topbar{margin-bottom:24px;gap:16px}.brand{font-size:25px;gap:10px}.brand-mark{width:46px;height:46px;font-size:32px}.task-button{font-size:15px;padding:7px 13px}.header-icon{width:34px}.header-icon svg{width:28px;height:28px}.asset-card{padding:24px 28px 14px}.avatar{width:43px;height:43px}#account-title{font-size:23px}.uid-button{font-size:18px}.asset-label{margin-top:20px;font-size:21px}.asset-total strong{font-size:38px}.asset-bottom,.asset-bottom b{font-size:17px}.asset-total{margin-bottom:17px}#balance-details{font-size:14px}.wallet-art{width:170px;height:140px}.feature-icon{width:43px;height:43px}.feature-grid button{font-size:17px}#deposit-qr{width:205px;height:205px}.deposit-card h2{font-size:20px}#deposit-address{font-size:18px}.deposit-card{padding:26px}.copy-address{min-height:58px;font-size:18px}}
:root[data-theme=dark]{color-scheme:dark;background:#090c12;color:#e7edf7}:root[data-theme=dark] body{background:radial-gradient(ellipse at 90% 0,#164b69 0,transparent 420px),radial-gradient(ellipse at 25% 0,#19164a 0,transparent 420px),#090c12}:root[data-theme=dark] .header-icon{color:#eef4ff}:root[data-theme=dark] .task-button{background:linear-gradient(100deg,#5e43c4,#087bbb);color:white}:root[data-theme=dark] .feature-grid button{color:#c3cad5}:root[data-theme=dark] .feature-icon{background:#e8edf6;color:#151d2b}:root[data-theme=dark] .feature-icon small{border-color:#090c12}:root[data-theme=dark] section,:root[data-theme=dark] .deposit-card,:root[data-theme=dark] .device-card,:root[data-theme=dark] .account-form-card,:root[data-theme=dark] .transaction-card,:root[data-theme=dark] .records-card,:root[data-theme=dark] .security-status-card,:root[data-theme=dark] .currency-sheet,:root[data-theme=dark] .recent-record{background:#1b2029;color:#e2e9f4;border-color:#333d4d}:root[data-theme=dark] #wallet{background:transparent}:root[data-theme=dark] #settings-panel,:root[data-theme=dark] #device-panel,:root[data-theme=dark] section[data-settings-page=true]{background:linear-gradient(145deg,#162c40,#121823 450px);color:#e2e9f4}:root[data-theme=dark] .settings-card{background:#1e2734!important;color:#e2e9f4!important;border-color:#303c4b}:root[data-theme=dark] h2,:root[data-theme=dark] h3,:root[data-theme=dark] #deposit-address,:root[data-theme=dark] .device-row strong,:root[data-theme=dark] .device-identifier code,:root[data-theme=dark] .account-form-row strong{color:#edf3fb}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] .secret-field,:root[data-theme=dark] .amount-entry,:root[data-theme=dark] .network-field>p,:root[data-theme=dark] #device-form input,:root[data-theme=dark] .transaction-card #address{background:#293341;color:#e4ecf8;border-color:#3a4657}:root[data-theme=dark] .secret-field input,:root[data-theme=dark] .transaction-row input{background:transparent}:root[data-theme=dark] input::placeholder{color:#9aa7bb}:root[data-theme=dark] .network-notice{background:#30271e;color:#c8b9a4}:root[data-theme=dark] .copy-address,:root[data-theme=dark] .account-submit{background:#2e486a;color:#fff}:root[data-theme=dark] #business[data-business-view=packet] #business-preview{background:#f60052}:root[data-theme=dark] label,:root[data-theme=dark] .field-heading,:root[data-theme=dark] .transaction-row,:root[data-theme=dark] .account-form-row,:root[data-theme=dark] .device-identifier,:root[data-theme=dark] .device-policy{color:#bdc9da;border-color:#354153}:root[data-theme=dark] .asset-tabs{background:#283341}:root[data-theme=dark] .asset-tabs button[aria-pressed=true]{background:#43526a;color:white}:root[data-theme=dark] .asset-tabs button{color:#aab6c8}:root[data-theme=dark] #business[data-business-view=invoice] #business-fields,:root[data-theme=dark] #business[data-business-view=packet] #business-fields,:root[data-theme=dark] #business-result{background:#1e2734}:root[data-theme=dark] #business-fields>label{color:#bdc9da!important;border-color:#354153!important}:root[data-theme=dark] #business-fields input,:root[data-theme=dark] #business-fields select{color:#e9f0fa}:root[data-theme=dark] #keypad button,:root[data-theme=dark] #terms,:root[data-theme=dark] #business-summary,:root[data-theme=dark] .security-actions button,:root[data-theme=dark] .history-tabs button{background:#29374b;color:#e4edfa;border-color:#3b4b63}:root[data-theme=dark] .bill-tabs button{color:#aab7ca}:root[data-theme=dark] .bill-tabs button[aria-selected=true]{color:white}:root[data-theme=dark] .empty-records{color:#445063}:root[data-theme=dark] .currency-sheet nav button{background:#253248;color:#dce7f8;border-color:#45556b}:root[data-theme=dark] .currency-sheet nav button[aria-pressed=true]{background:#164d85;border-color:#3798ff}:root[data-theme=dark] .currency-filter,:root[data-theme=dark] .secret-field button,:root[data-theme=dark] .field-heading button{color:#9ecbff}

:root[data-theme=dark] #status,:root[data-theme=dark] #business-help,:root[data-theme=dark] #device-state-help,:root[data-theme=dark] #address-state,:root[data-theme=dark] #amount-help{color:#aabbd0}

#balances.asset-breakdown{position:relative;z-index:1;margin:14px -17px -10px;background:#0066c52b;font-size:14px}.asset-breakdown-section{padding:15px 17px;border-bottom:1px solid #096bc82e}.asset-breakdown-section h3{color:#fff!important;font-size:15px;font-weight:500;margin:0 0 9px}.asset-breakdown-columns{display:grid;grid-template-columns:1fr 1.5fr;gap:18px}.asset-breakdown-columns>div{min-width:0}.asset-breakdown-columns span{display:block;color:#b9e5ff;font-size:14px;margin-bottom:3px}.asset-breakdown-columns strong{display:block;color:#fff;font-size:16px;font-weight:400;overflow-wrap:anywhere}.asset-breakdown-close{display:block;width:100%;min-height:32px;padding:2px;background:transparent;color:#8fd2ff;font-size:23px;font-weight:400;border-radius:0}@media(max-width:360px){#balances.asset-breakdown{margin-left:-12px;margin-right:-12px;margin-bottom:-9px}.asset-breakdown-section{padding:14px 12px}}@media(min-width:600px){#balances.asset-breakdown{margin-left:-28px;margin-right:-28px;margin-bottom:-14px}.asset-breakdown-section{padding:18px 28px}.asset-breakdown-section h3{font-size:20px}.asset-breakdown-columns span{font-size:18px}.asset-breakdown-columns strong{font-size:20px}}
/* Fixed-rate exchange subpage */
#swap-panel{color:var(--text,#1c2d48)}
.swap-card{background:#fff;border:1px solid #e8ebf0;border-radius:16px;padding:22px 16px}
.swap-columns{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px}
.swap-columns>div:last-child{text-align:right}
.swap-columns p{color:#8390a3;font-size:14px;margin:12px 0}
.swap-currency{display:flex;align-items:center;gap:8px;justify-content:flex-start;font-size:24px;font-weight:700}
.swap-columns>div:last-child .swap-currency{justify-content:flex-end}
.swap-currency select{border:0;background:transparent;font-size:22px;font-weight:700;padding:0;width:auto;min-width:0;color:inherit}
.coin{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#00ad83;color:#fff;flex-shrink:0}
.coin[data-asset=TRX]{background:#fa3868}
#swap-direction{background:#087fff;color:#fff;border:0;border-radius:50%;width:38px;height:38px;padding:0;font-size:25px}
#swap-amount{width:100%;min-width:0;border:0;background:transparent;padding:12px 0;font-size:18px;color:inherit}
#swap-received{display:block;overflow-wrap:anywhere;font-size:20px;padding:12px 0}
.swap-rate{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e4e8ef;padding:18px 0;font-size:16px}
.swap-rate strong{font-weight:400;text-align:right}
.swap-hint{font-size:12px;color:#8390a3;margin:14px 0 0}
#swap-submit{margin-top:32px;width:100%}
.swap-history{color:#8390a3;text-align:center;min-height:110px;padding-top:24px}
.swap-record{text-align:left;color:inherit;white-space:pre-line;border-bottom:1px solid #e4e8ef;padding:16px 0;line-height:1.8;overflow-wrap:anywhere}
.swap-pagination{display:flex;justify-content:space-between;align-items:center}
[data-theme=dark] .swap-card{background:#1d1d1f;border-color:#333}
[data-theme=dark] #swap-panel{color:#f0f2f8}
[data-theme=dark] .swap-rate,[data-theme=dark] .swap-record{border-color:#383838}
@media(max-width:360px){.swap-card{padding:18px 12px}.swap-currency{font-size:19px;gap:4px}.swap-currency select{font-size:19px}.coin{width:24px;height:24px}.swap-columns{gap:3px;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)}#swap-direction{width:32px;height:32px}.swap-rate{font-size:14px}}
.swap-columns .swap-currency{height:42px;margin:0;line-height:1.2}
.swap-currency select{margin:0;max-width:100%;height:42px}
[data-theme=dark] .swap-currency select{background:transparent}

/* Two compact rows: seven working features, three future slots left empty. */
#wallet .feature-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 4px;margin:18px 0}
#wallet .feature-grid button{gap:7px;padding:3px 0;font-size:14px;line-height:1.4}
#wallet .feature-icon{width:29px;height:29px;border-radius:8px;font-size:22px}
#wallet .feature-icon small{width:15px;height:15px;right:-4px;bottom:-2px;font-size:10px}
@media(min-width:600px){#wallet .feature-grid{gap:18px 6px;margin:22px 0}#wallet .feature-icon{width:34px;height:34px;font-size:25px}#wallet .feature-grid button{font-size:16px}}
@media(max-width:360px){#wallet .feature-grid button{font-size:13px}}

/* Shared original wallet artwork, served from the same origin. */
.currency-logo{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle;background-color:transparent!important;background-repeat:no-repeat;background-position:center;background-size:contain}
.currency-logo[data-asset=USDT],.currency-select[data-asset=USDT]{background-image:url('/payment/usdt.png')!important}
.currency-logo[data-asset=TRX],.currency-select[data-asset=TRX]{background-image:url('/payment/trx.png')!important}
.swap-currency .currency-logo{width:30px;height:30px}
.exchange-logo,#wallet .exchange-logo,#swap-direction.exchange-logo{background:transparent url('/payment/exchange.png') center/contain no-repeat!important;border:0}
.asset-tabs button,.currency-sheet nav button{display:flex;justify-content:center;align-items:center;gap:6px}
select.currency-select{background-repeat:no-repeat!important;background-position:8px center!important;background-size:22px 22px!important;padding-left:36px!important}
@media(max-width:360px){.swap-currency .currency-logo{width:24px;height:24px}.asset-tabs .currency-logo,.currency-sheet .currency-logo{width:20px;height:20px}}

/* Keep one active scroll surface and match the supplied exchange layout. */
html[data-subpage-open=true],html[data-subpage-open=true] body{overflow:hidden;overscroll-behavior:none}
section[data-settings-page=true],#settings-panel,#device-panel{overscroll-behavior-y:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
section[data-settings-page=true]::-webkit-scrollbar,#settings-panel::-webkit-scrollbar,#device-panel::-webkit-scrollbar{display:none}
#swap-panel[data-settings-page=true]{padding:20px 22px 32px}
#swap-panel[data-settings-page=true]>h2{font-size:22px;line-height:36px;margin:0 45px 22px}
#swap-panel .swap-card{padding:18px 14px 16px;border-radius:8px;background:#ffffffb8}
#swap-panel .swap-columns{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;padding-bottom:12px;align-items:start}
#swap-panel .swap-columns:before{content:'';position:absolute;left:50%;top:3px;bottom:38px;border-left:1px dashed #e2e6ec}
#swap-panel .swap-asset-head{display:flex;align-items:center;gap:8px;height:46px;text-align:left}
#swap-panel .swap-side:last-child .swap-asset-head{justify-content:flex-end}
#swap-panel .swap-asset-head .currency-logo{width:30px;height:30px}
#swap-panel .swap-currency{height:25px;margin:0;display:block;position:relative;font-size:19px}
#swap-panel .swap-currency:after{content:'';position:absolute;right:2px;top:10px;border:5px solid transparent;border-top-color:#768395;pointer-events:none}
#swap-panel .swap-currency select{appearance:none;-webkit-appearance:none;display:block;height:25px;min-height:25px;padding:0 17px 0 0;margin:0;font-size:19px;line-height:25px;width:100%;border:0;background:transparent;font-weight:650;color:inherit}
#swap-panel .swap-asset-head p{margin:2px 0 0;font-size:12px;line-height:18px;font-weight:400}
#swap-panel #swap-direction{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:34px;height:34px;min-height:34px;z-index:1}
#swap-panel #swap-source-balance,#swap-panel #swap-target-balance{margin:18px 0 12px;font-size:14px;line-height:20px;min-height:20px;font-weight:400}
#swap-panel #swap-amount,#swap-panel #swap-received{height:36px;min-height:36px;padding:4px 0;margin:0;font-size:16px;line-height:28px;font-weight:400}
#swap-panel #swap-received{color:#a9b2bf}
#swap-panel #swap-amount::placeholder{color:#a9b2bf}
#swap-panel .swap-rate{padding:14px 0;font-size:16px;line-height:24px;color:#536079}
#swap-panel .secret-field{margin:0;border-radius:7px;min-height:52px}
#swap-panel .secret-field input{margin:0;min-width:0;font-size:16px;font-weight:400;padding:14px 16px}
#swap-panel .secret-field button{font-size:21px;padding:8px 13px}
#swap-panel #swap-submit{margin:26px 0 22px;min-height:52px;border-radius:8px;font-size:18px;font-weight:500}
#swap-panel #swap-submit:disabled{background:#e0e3e8;color:#9aa3b2;opacity:1;cursor:default}
#swap-panel>h3{font-size:18px;margin:0;line-height:28px}
#swap-panel .swap-history{padding-top:44px;font-size:14px;min-height:120px}
:root[data-theme=dark] #swap-panel .swap-card{background:#1d222d}
:root[data-theme=dark] #swap-panel .swap-rate{color:#bdc9da}
:root[data-theme=dark] #swap-panel #swap-submit:disabled{background:#303947;color:#8190a4}
@media(max-width:360px){#swap-panel[data-settings-page=true]{padding-left:16px;padding-right:16px}#swap-panel .swap-card{padding-left:12px;padding-right:12px}#swap-panel .swap-columns{gap:24px}#swap-panel .swap-currency select{font-size:17px}#swap-panel .swap-asset-head{gap:5px}#swap-panel .swap-rate{font-size:14px}}

#settings-sub-back[data-exchange=true]{font-size:32px;line-height:32px;top:20px;width:36px;text-align:left;padding:0}
#swap-panel .swap-asset-head{height:40px}
#swap-panel #swap-source-balance,#swap-panel #swap-target-balance{margin:12px 0 8px}
#swap-panel #swap-amount,#swap-panel #swap-received{height:32px;min-height:32px}
#swap-panel .swap-columns{padding-bottom:8px}
#swap-panel .swap-rate{padding:12px 0}

/* Hide scrollbar chrome without disabling homepage scrolling. */
html,body{scrollbar-width:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
#app-shell[data-loading=true]{visibility:hidden;pointer-events:none}
#startup-screen{position:fixed;inset:0;z-index:90;max-width:760px;margin:auto;padding:20px 14px;pointer-events:none}
.startup-brand{width:120px;height:32px;border-radius:9px;background:#087cff14;margin-bottom:26px}
.startup-card{height:180px;border-radius:19px;background:linear-gradient(110deg,#009fff20,#819cff20)}
.startup-menu{height:118px;margin-top:20px;border-radius:14px;background:#ffffff38}
:root[data-theme=dark] .startup-brand{background:#087cff28}
:root[data-theme=dark] .startup-menu{background:#ffffff06}

/* Homepage feature artwork shares one light sky-blue palette. */
#wallet .feature-grid .feature-icon,#wallet .feature-grid .feature-icon small{background-color:#74caff;color:#fff}
#wallet .feature-grid .exchange-logo{background-color:#74caff!important;background-blend-mode:lighten;border-radius:50%}

.topbar img.brand-mark{display:block;object-fit:contain;background:transparent;box-shadow:none}

/* Original five-second BB PAY film; playback ends automatically. */
#opening-player{position:fixed;inset:0;z-index:91;background:#020a2e;pointer-events:auto}
#opening-video{display:block;width:100%;height:100%;object-fit:contain}

#wallet .feature-grid .service-icon{background:transparent;color:#74caff}
.service-icon svg{display:block;width:100%;height:100%}

.service-card{display:flex;gap:16px;background:#fff;border:1px solid #e9edf4;border-radius:16px;padding:22px 18px;margin:18px 0}.service-card>div{min-width:0;flex:1}.service-card-heading{display:flex;align-items:center;gap:8px}.service-card-heading h3{font-size:20px;margin:0 auto 0 0}.service-link{color:#459aff;background:transparent;padding:4px;min-height:36px;font-weight:400}.service-card p{font-size:15px;color:#8a96a8;margin:12px 0 0}.service-art{font-size:36px;align-self:center}.service-product-button{display:block;text-align:left;width:100%;margin:12px 0;background:#fff;color:#203551;border:1px solid #e3e8ef}.service-record{border-bottom:1px solid #e2e8f0;padding:18px 0}.service-record button{background:#74caff}#service-esim-qr{display:block;width:230px;max-width:100%;margin:20px auto;background:#fff}#service-redemption{overflow-wrap:anywhere}:root[data-theme=dark] .service-card,:root[data-theme=dark] .service-product-button{background:#1e2734;color:#edf3fb;border-color:#303c4b}@media(max-width:360px){.service-card{gap:10px;padding:16px 12px}.service-card-heading h3{font-size:18px}.service-link{font-size:14px}.service-art{font-size:28px}}

/* Service screens follow the compact wallet forms and eSIM catalogue. */
#service-shop[data-settings-page=true]{padding:18px 20px 28px;color:#536079}
#service-shop[data-settings-page=true]>h2{font-size:22px;line-height:36px;margin:0 40px 22px;color:#202630;text-align:center}
#service-shop .service-selected{font-size:13px;margin:0 0 2px;line-height:20px;color:#738196}
#service-shop .service-wallet{position:relative;overflow:hidden;display:flex;align-items:flex-start;justify-content:space-between;padding:20px;border-radius:15px;background:linear-gradient(110deg,#009eff,#087eff 62%,#869dff);color:white;min-height:100px}
#service-shop .service-wallet:after{content:'';position:absolute;right:22px;top:24px;width:82px;height:66px;border:8px solid #ffffff12;border-radius:12px;transform:rotate(18deg);pointer-events:none}
#service-shop .service-wallet strong{display:block;font-weight:400;font-size:24px;margin-top:4px}
#service-shop #service-card-wallet{z-index:1;border:1px solid #ffffff80;background:#ffffff18;border-radius:20px;color:#fff;min-height:24px;padding:3px 12px;font-size:13px;font-weight:400}
#service-shop .service-tabs{display:flex;justify-content:space-around;margin:14px 0}
#service-shop .service-tabs button{position:relative;background:none;color:#7c879b;font-size:16px;padding:6px 10px 12px;min-height:36px}
#service-shop .service-tabs button[aria-selected=true]{color:#202630}
#service-shop .service-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:2px;left:calc(50% - 11px);width:22px;height:3px;background:#087fff;border-radius:4px}
#service-shop .service-search-label{display:flex;align-items:center;background:#e9ecf2;border-radius:24px;gap:14px;padding:0 12px;margin:0 0 16px}
#service-shop .service-search-label span{font-size:25px;color:#7d8899}
#service-shop #service-keyword{border:0;background:none;margin:0;padding:10px 0;min-height:38px;font-size:14px;outline-offset:3px}
#service-shop label{font-size:15px;font-weight:400;margin:0;min-width:0}
#service-shop select{appearance:none;background:#f8faff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23213551' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 8px center;border:1px solid #cfdae8;border-radius:6px;padding:10px 25px 10px 10px;min-height:42px;font-size:14px;color:#24364f;width:100%;text-overflow:ellipsis;margin:6px 0 0}
#service-shop .service-selectors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:22px 0}
#service-shop .service-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
#service-shop .service-mode button{background:#fff;border:1px solid #dfe3e9;border-radius:8px;color:#768195;font-weight:400;font-size:15px;min-height:44px;padding:10px}
#service-shop .service-mode button[aria-pressed=true]{border-color:#1685ff;color:#1685ff;background:#f8fbff}
#service-shop[data-kind=phone]{background:linear-gradient(135deg,#d8f2ff,#eaebff 24%,#f7f8fc 50%)}
#service-shop[data-kind=phone] .service-wallet{min-height:78px;border-radius:14px 14px 0 0;margin-bottom:-16px}
#service-shop[data-kind=phone] .service-wallet>div{display:flex;align-items:center;justify-content:space-between;width:100%}
#service-shop[data-kind=phone] .service-wallet strong{font-size:17px;margin:0}
#service-shop[data-kind=phone] .service-wallet strong:before{content:'可用：';font-size:16px}
#service-shop[data-kind=phone] #service-wallet-label{font-size:18px;display:flex;align-items:center;gap:8px}
#service-shop[data-kind=phone] #service-wallet-label:before{content:'';width:23px;height:23px;background:url('/payment/usdt.png') center/contain no-repeat}
#service-shop[data-kind=phone] #service-phone-mode{position:relative;border-radius:9px 9px 0 0;padding:24px 18px 0;background:linear-gradient(#c9e3ff,#edf5ff);border:1px solid #dce6f1;border-bottom:0}
#service-shop[data-kind=phone] .service-selectors{margin:0;padding:24px 18px;background:#f5f9fe;border:1px solid #dce6f1;border-top:0;border-bottom:0}
#service-shop[data-kind=phone] #service-products{display:none}
#service-shop #service-loading:empty{display:none}
#service-shop #service-loading{font-size:14px;padding:12px;margin:0}
#service-shop #service-product{padding:18px;background:#fff;border:1px solid #dfe7f2;border-radius:10px;margin:16px 0}
#service-shop[data-kind=phone] #service-product{margin:0;border-radius:0;border-top:0;border-bottom:0;background:#fbfcfe;padding-top:0}
#service-shop[data-kind=phone] #service-product-name{display:none}
#service-shop #service-product-name{font-size:17px;color:#24364f;margin:0 0 14px}
#service-shop #service-package-label{display:block;margin-bottom:24px}
#service-shop .service-number-field{display:flex;align-items:center;background:#f2f4f7;border-radius:7px;padding:0 12px;margin:6px 0 10px;gap:6px}
#service-shop .service-number-field span{color:#24364f;white-space:nowrap}
#service-shop #service-number{background:none;border:0;margin:0;padding:14px 0;min-width:0;font-size:16px}
#service-shop .service-arrival{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e9f3ff;border-radius:6px;padding:16px 14px;margin:10px 0 24px;font-size:14px}
#service-shop .service-arrival strong{color:#0780ff;text-align:right;overflow-wrap:anywhere}
#service-shop .service-pay-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:14px;margin-bottom:8px;flex-wrap:wrap}
#service-shop .service-pay-heading b{font-weight:400;color:#1685ff}
#service-shop .secret-field{background:#f2f4f7;border-radius:6px;min-height:48px;margin:0}
#service-shop .secret-field input{background:none;margin:0;font-size:16px;padding:14px 16px;font-weight:400}
#service-shop .secret-field button{background:none;color:#24364f;font-size:22px}
#service-shop #service-quote{width:100%;margin:20px 0 0;min-height:48px;font-size:18px;font-weight:400;border-radius:6px;background:#1b2c48}
#service-shop #service-quote:disabled{background:#dfe3e9;color:#8e99a9;opacity:1}
#service-shop #service-description{font-size:12px;color:#8793a5;margin:12px 0 0}
#service-shop .service-help{font-size:13px;line-height:1.7;background:#fbfcfe;border:1px solid #dce6f1;border-top:0;border-radius:0 0 8px 8px;padding:12px 14px 22px;margin:0}
#service-shop[data-kind=esim] .service-selectors{display:block;margin:0 0 18px}
#service-shop[data-kind=esim] #service-country-label{font-size:0}
#service-shop[data-kind=esim] #service-country{width:auto;max-width:100%;border-radius:20px;color:#1685ff;background-color:#e8f2ff;border-color:#73b4ff;min-height:28px;padding:4px 30px 4px 12px;font-size:14px}
#service-shop .service-list-heading{display:inline-block;font-size:16px;margin:0 8px 12px 0;color:#22334e}
#service-shop .service-list-count{display:inline;font-size:12px;color:#8a96a8}
#service-shop .esim-plan{border-radius:8px;background:#fff;padding:16px;margin-bottom:10px;box-shadow:0 3px 16px #20355104}
#service-shop .esim-plan-head{display:flex;align-items:start;justify-content:space-between;gap:8px;margin-bottom:16px}
#service-shop .esim-plan h3{margin:0;font-size:16px;line-height:23px;color:#242a32;font-weight:600;overflow-wrap:anywhere}
#service-shop .esim-type{border:1px solid #dce2ec;border-radius:4px;font-size:12px;white-space:nowrap;padding:2px 6px}
#service-shop .esim-plan-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#service-shop .esim-plan-fields>div{background:#f5f6f8;border-radius:4px;padding:10px;min-height:70px;font-size:13px;overflow-wrap:anywhere}
#service-shop .esim-plan-fields span{display:block;color:#91a0b7;margin-bottom:4px}
#service-shop .esim-plan-fields strong{font-weight:400;color:#242a32}
#service-shop .esim-plan-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px}
#service-shop .esim-price{color:#08b82c;font-size:16px;font-weight:600}
#service-shop .esim-plan-footer button{background:#202734;color:#fff;border-radius:6px;font-weight:400;font-size:13px;padding:8px 14px;min-height:32px}
#service-shop .service-empty{padding:32px 0;text-align:center;color:#8793a5;font-size:14px}
:root[data-theme=dark] #service-shop[data-kind=phone]{background:linear-gradient(135deg,#132d42,#161d2c)}
:root[data-theme=dark] #service-shop{color:#bdc9da}
:root[data-theme=dark] #service-shop h2,:root[data-theme=dark] #service-shop h3,:root[data-theme=dark] #service-shop .esim-plan-fields strong,:root[data-theme=dark] #service-shop .service-tabs button[aria-selected=true]{color:#edf3fb}
:root[data-theme=dark] #service-shop #service-phone-mode,:root[data-theme=dark] #service-shop .service-selectors,:root[data-theme=dark] #service-shop #service-product,:root[data-theme=dark] #service-shop .service-help,:root[data-theme=dark] #service-shop .esim-plan{background:#1d2736;border-color:#303c4b}
:root[data-theme=dark] #service-shop select,:root[data-theme=dark] #service-shop .service-mode button,:root[data-theme=dark] #service-shop .secret-field,:root[data-theme=dark] #service-shop .service-number-field,:root[data-theme=dark] #service-shop .service-search-label,:root[data-theme=dark] #service-shop .esim-plan-fields>div{background-color:#273345;color:#dce7f4;border-color:#3a4960}
:root[data-theme=dark] #service-shop .service-arrival{background:#203957}
@media(max-width:360px){#service-shop[data-settings-page=true]{padding:16px 12px 24px}#service-shop .esim-plan{padding:12px}#service-shop .esim-plan-fields>div{padding:7px;font-size:12px}#service-shop[data-kind=phone] .service-selectors,#service-shop[data-kind=phone] #service-phone-mode,#service-shop #service-product{padding-left:12px;padding-right:12px}}
#service-shop .service-regions{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 18px;padding:2px 0}
#service-shop .service-regions::-webkit-scrollbar{display:none}
#service-shop .service-regions button{flex:none;border:1px solid transparent;background:#fff;border-radius:18px;padding:4px 12px;font-size:14px;min-height:27px;font-weight:400;color:#718096}
#service-shop .service-regions button[aria-pressed=true]{background:#e8f2ff;border-color:#6eafff;color:#1685ff}
:root[data-theme=dark] #service-shop .service-regions button{background:#26354a;color:#d4deec}

#tasks-panel[data-settings-page=true]{padding:18px 22px 30px}
#tasks-panel[data-settings-page=true]>h2{font-size:23px;line-height:36px;margin:0 40px 8px;text-align:center;color:#202630}
.task-preview-note{font-size:12px;color:#99a3b2;text-align:center;margin:0 0 18px}
.task-template-card{background:#fff;border:1px solid #e0e6f0;border-radius:11px;padding:20px 14px 15px;margin-bottom:20px;box-shadow:0 8px 24px #27374f04}
.task-template-heading{display:flex;gap:9px;align-items:center}
.task-template-art{display:flex;width:44px;height:44px;flex:none;align-items:center;justify-content:center;font-size:29px;background:#eff3ff;border-radius:11px}
.task-template-card:nth-child(2) .task-template-art{background:#fff3df}
.task-template-card:nth-child(3) .task-template-art{background:#e0eeff}
.task-template-heading>div{min-width:0;flex:1}
.task-template-heading h3{font-size:17px;letter-spacing:1px;margin:0;line-height:24px;color:#273650}
.task-template-heading p{font-size:14px;letter-spacing:2px;color:#758195;margin:0}
.task-template-info{align-self:flex-start;color:#8f99a8;background:none;border:1.5px solid currentColor;border-radius:50%;width:19px;height:19px;min-height:19px;padding:0;font:600 14px/17px Georgia,serif;margin:0 0 0 4px}
.task-template-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:34px 0 27px;min-height:28px}
.task-template-description{display:flex;gap:9px;align-items:center;font-size:13px;color:#283850;line-height:20px}
.task-template-check{display:inline-flex;align-items:center;justify-content:center;flex:none;color:white;background:#00be27;border-radius:50%;width:18px;height:18px;font-size:15px;font-weight:700}
.task-template-meter{flex:none;width:26%;background:#b7bdc6;border-radius:15px;box-shadow:inset 0 1px 3px #0002;color:white;text-align:center;font-size:11px;font-weight:650;line-height:20px}
.task-template-stats{flex:none;font-size:11px;color:#7b879a;line-height:20px}
.task-template-stats>div{display:flex;border:1px solid #dce3ee}
.task-template-stats>div+div{border-top:0}
.task-template-stats span{padding:0 3px}
.task-template-stats strong{font-weight:400;color:#283850;border-left:1px solid #dce3ee;padding:0 6px}
.task-template-steps{position:relative;display:flex;justify-content:space-between;align-items:center;gap:7px;margin:0 3px 27px}
.task-template-steps:before{content:'';position:absolute;left:12%;right:12%;top:50%;height:1px;background:#dce3ee}
.task-template-steps button{position:relative;z-index:1;padding:0;flex:none;display:flex;align-items:center;justify-content:center;font-weight:500}
.task-step-arrow{width:25px;height:25px;min-height:25px;border-radius:7px;background:#f1f3f6;color:#20314b;font-size:25px}
.task-step-arrow:disabled{opacity:.4}
.task-step-number{width:30px;height:30px;min-height:30px;border-radius:50%;border:1px solid #dde4ee;background:#fff;color:#20314b;font-size:17px}
.task-step-number[aria-current=step]{background:#087eff;color:#fff;border-color:#087eff}
.task-step-number[aria-current=step]:after{content:'';position:absolute;bottom:-10px;left:calc(50% - 5px);border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #ff9200}
.task-template-footer{display:flex;align-items:center;justify-content:space-between}
.task-template-footer>strong{font-size:21px;color:#ff9000;font-weight:550}
.task-template-footer>button{background:#edf1f7;color:#9aa5b5;font-size:14px;font-weight:400;border-radius:22px;width:80px;min-height:33px;padding:6px 10px;opacity:1}
#task-intro{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:760px;max-height:88dvh;padding:0;border:0;border-radius:19px 19px 0 0;background:#fff;color:#718097;overflow:hidden;box-shadow:0 -8px 40px #0001}
#task-intro::backdrop{background:#000a}
.task-intro-header{display:flex;align-items:center;justify-content:center;position:relative;padding:18px 40px 12px}
.task-intro-header h2{font-size:17px;color:#46536c;margin:0;line-height:26px;letter-spacing:1px}
#task-intro-close{position:absolute;right:15px;top:12px;color:#9ba5b5;background:none;font-size:29px;font-weight:300;padding:0;width:30px;min-height:30px}
#task-intro-content{overflow-y:auto;overscroll-behavior:contain;max-height:calc(88dvh - 56px);padding:8px 25px max(24px,env(safe-area-inset-bottom));font-size:14px;line-height:1.65;scrollbar-width:none}
#task-intro-content::-webkit-scrollbar{display:none}
#task-intro-content p{margin:12px 0 18px}
#task-intro-content h3{font-size:14px;color:#243651;margin:18px 0 7px}
#task-intro-content strong{color:#243651}
.task-reward-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;text-align:center;font-size:12px;margin:8px 0 22px}
.task-reward-table th{font-weight:500;color:#9aa5b6;padding:4px 0}
.task-reward-table th:first-child{width:17%}
.task-reward-table th:last-child{width:28%}
.task-reward-table td{padding:7px 3px;color:#ff9000;border:0}
.task-reward-table tbody tr:nth-child(odd){background:#f5f5f6}
.task-reward-table td:first-child{border-radius:5px 0 0 5px}
.task-reward-table td:last-child{border-radius:0 5px 5px 0}
#task-intro-content ol{padding-left:17px;margin:6px 0 20px}
#task-intro-content li{padding:0;margin-bottom:8px}
:root[data-theme=dark] .task-template-card,:root[data-theme=dark] #task-intro{background:#1d2736;border-color:#334159;color:#aebbd0}
:root[data-theme=dark] #tasks-panel>h2,:root[data-theme=dark] .task-template-heading h3,:root[data-theme=dark] .task-template-description,:root[data-theme=dark] .task-template-stats strong,:root[data-theme=dark] .task-intro-header h2,:root[data-theme=dark] #task-intro-content h3,:root[data-theme=dark] #task-intro-content strong{color:#e4edf9}
:root[data-theme=dark] .task-step-number:not([aria-current=step]),:root[data-theme=dark] .task-step-arrow,:root[data-theme=dark] .task-template-footer>button{background:#2b374c;color:#aebbd0;border-color:#43516a}
:root[data-theme=dark] .task-reward-table tbody tr:nth-child(odd){background:#263246}
@media(min-width:600px){.task-template-card{padding:30px 26px 24px}.task-template-heading h3{font-size:21px}.task-template-heading p{font-size:17px}.task-template-art{width:54px;height:54px;font-size:34px}.task-template-progress{margin:38px 0 30px}.task-template-description{font-size:16px}.task-template-steps{margin-bottom:34px}.task-step-number{width:38px;height:38px;font-size:21px}.task-step-arrow{width:30px;height:30px}.task-template-meter{font-size:14px;line-height:24px}#task-intro-content{padding-left:34px;padding-right:34px;font-size:16px}.task-reward-table,#task-intro-content h3{font-size:16px}}
@media(max-width:360px){#tasks-panel[data-settings-page=true]{padding-left:12px;padding-right:12px}.task-template-card{padding:18px 12px 14px}.task-template-heading h3{font-size:16px;letter-spacing:0}.task-template-description{font-size:12px;gap:6px}.task-template-steps{gap:4px;margin-left:0;margin-right:0}.task-template-meter{width:24%}#task-intro-content{padding-left:18px;padding-right:18px}.task-reward-table{font-size:11px}}

#activity[data-settings-page=true],#bill-detail[data-settings-page=true]{padding:18px 18px 28px}
#activity[data-settings-page=true]>h2,#bill-detail[data-settings-page=true]>h2{margin:0 50px 24px;font-size:22px;line-height:36px;text-align:center;color:#202630}
#activity .currency-filter{top:20px;right:16px;font-size:16px;background:none;padding:3px;min-height:30px}
#activity .bill-categories{margin-bottom:12px}
#activity[data-history-kind=bills] #activity-items{background:#fff;border-radius:9px;padding:0 15px;min-height:calc(100dvh - 195px)}
#activity .bill-row{display:flex;width:100%;align-items:center;gap:8px;padding:16px 0;margin:0;border:0;border-bottom:1px solid #e3e7ee;border-radius:0;background:none;text-align:left;color:#283750;font-weight:400}
.bill-row-left{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.bill-row-left strong{font-size:15px;font-weight:600}
.bill-row-left time{font-size:12px;color:#a8b1bf;white-space:nowrap}
.bill-row-right{display:flex;flex-direction:column;text-align:right;gap:3px;min-width:0}
.bill-row-right strong{font-size:16px;font-weight:650;overflow-wrap:anywhere}
.bill-row-right small{font-size:12px;color:#536079}
.bill-income{color:#00bd25}.bill-expense{color:#283750}
.bill-row-arrow{font-size:24px;color:#aab2be;flex:none}
#activity .bill-end{border:0;padding:16px 0;margin:0;text-align:center;color:#aab2be;font-size:12px}
#activity[data-history-kind=bills] #activity-refresh{display:block;margin:16px auto 0;background:none;color:#8493a9;font-size:13px;min-height:30px}
#bill-detail-card{padding:20px 18px;background:#fff;border:1px solid #e7eaf0;border-radius:9px}
.bill-detail-header{display:flex;justify-content:space-between;gap:15px;align-items:start;margin:0 0 20px;color:#24334e;font-size:15px}
.bill-detail-header strong{min-width:0;overflow-wrap:anywhere;font-size:16px}.bill-detail-header>span{flex:none;font-size:14px}
.bill-detail-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}
.bill-detail-tiles>div{background:#f1f3f6;border-radius:5px;padding:12px;min-width:0}
.bill-detail-tiles span:not(.currency-logo){display:block;color:#7b8799;font-size:15px;margin-bottom:3px}
.bill-detail-tiles strong{font-size:15px;color:#22334e;display:flex;align-items:center;gap:4px}.bill-detail-tiles .currency-logo{width:17px;height:17px}
.bill-detail-fields{margin:0}.bill-detail-fields>div{display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px;padding:12px 0;font-size:15px;line-height:1.35}
.bill-detail-fields dt{color:#758198}.bill-detail-fields dd{margin:0;display:flex;gap:4px;justify-content:flex-end;align-items:flex-start;text-align:right;color:#30405b;min-width:0}.bill-detail-fields dd>span{overflow-wrap:anywhere;min-width:0}
.bill-detail-fields .bill-copy{flex:none;color:#8c97a8;background:none;padding:0;font-size:19px;line-height:21px;width:20px;min-height:22px}
.bill-detail-fields .bill-detail-accent{color:#ff9400}
.bill-detail-timezone{color:#a0a9b6;text-align:center;font-size:11px;margin:16px 0 0}
:root[data-theme=dark] #activity[data-history-kind=bills] #activity-items,:root[data-theme=dark] #bill-detail-card{background:#1d2736;border-color:#334159}
:root[data-theme=dark] #activity .bill-row{border-color:#334159;color:#e2ecf9}
:root[data-theme=dark] .bill-expense,:root[data-theme=dark] .bill-row-right small,:root[data-theme=dark] .bill-detail-header,:root[data-theme=dark] .bill-detail-fields dd,:root[data-theme=dark] #activity>h2,:root[data-theme=dark] #bill-detail>h2,:root[data-theme=dark] .bill-detail-tiles strong{color:#dfe9f8}
:root[data-theme=dark] .bill-detail-tiles>div{background:#28354a}
@media(max-width:360px){#activity[data-settings-page=true],#bill-detail[data-settings-page=true]{padding-left:12px;padding-right:12px}#activity[data-history-kind=bills] #activity-items{padding:0 12px}.bill-row-left time{font-size:10px}.bill-row-right strong{font-size:14px}.bill-detail-fields>div{grid-template-columns:76px minmax(0,1fr);font-size:13px}#bill-detail-card{padding:18px 14px}.bill-detail-tiles strong{font-size:13px}}

/* Copy mark uses borders only: works with the production img-src self policy. */
.copy-mark{display:inline-block;position:relative;width:22px;height:22px;flex:none;vertical-align:-5px;color:inherit;pointer-events:none}
.copy-mark::before{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;border:1.5px solid currentColor;border-radius:2px}
.copy-mark::after{content:'';position:absolute;left:6px;top:6px;width:14px;height:14px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;border-radius:0 2px 2px 0}
#copy-uid .copy-mark{margin-left:4px}
#copy-address .copy-mark,#copy-device-id .copy-mark,#invoice-copy .copy-mark,#service-copy-code .copy-mark{margin-right:7px}
.bill-detail-fields .bill-copy{font-size:0;line-height:22px;width:22px}

/* Service navigation stays aligned while the service cards scroll underneath. */
#services-panel[data-settings-page=true]>h2{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;align-items:center;justify-content:center;width:100%;max-width:760px;height:82px;margin:0 auto;padding:0 90px;background:linear-gradient(110deg,#e1f2ff,#edf3ff);font-size:24px;line-height:36px}
:root[data-theme=dark] #services-panel[data-settings-page=true]>h2{background:#182334;color:#e9f0fa}
