.motaro-topup{box-sizing:border-box;width:min(460px,calc(100% - 32px));padding:28px;background:#171a1e;color:#f6f7f8;border:1px solid #3a4048;border-radius:12px;box-shadow:0 24px 80px #0009;font:14px/1.5 Arial,sans-serif}
.motaro-wallet-dialog{max-height:calc(100dvh - 32px);overflow:auto}
.motaro-wallet-dialog .motaro-topup-amount-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:16px}
.motaro-wallet-dialog .motaro-topup-amount-row input{min-width:0;margin:0}
.motaro-wallet-dialog .motaro-topup-amount-row strong{font-size:22px;font-weight:400;white-space:nowrap;color:#fff;font-variant-numeric:tabular-nums}
.motaro-wallet-dialog .motaro-topup-message{margin:0;min-height:0}
.motaro-wallet-dialog .motaro-topup-message:empty{display:none}
.motaro-wallet-dialog [data-topup-pay]{margin:0}
.motaro-wallet-dialog .motaro-topup-message:not(:empty){margin-top:16px}
.motaro-topup::backdrop{background:#000b}.motaro-topup h2{font-size:25px;margin:0 32px 6px 0;color:#fff}.motaro-topup p,.motaro-topup small{color:#aeb5bf}.motaro-topup label{display:block;margin:24px 0 8px}.motaro-topup input{box-sizing:border-box;width:100%;background:#101216;color:#fff;border:1px solid #414852;border-radius:6px;padding:12px;font-size:20px}.motaro-topup button{cursor:pointer;font:inherit}.motaro-topup .motaro-topup-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#fff;font-size:26px}.motaro-topup-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 24px}.motaro-topup-presets button{padding:6px 12px;background:#252a31;color:#fff;border:1px solid #3b424c;border-radius:5px}.motaro-topup-total{display:flex;justify-content:space-between;align-items:center;font-size:16px}.motaro-topup-total strong{font-size:25px}.motaro-topup [data-topup-pay]{width:100%;padding:12px;background:#e9edf2;color:#11151a;border:0;border-radius:6px;font-weight:700;margin-bottom:15px}.motaro-topup [data-topup-pay]:disabled{opacity:.45;cursor:not-allowed}.motaro-topup .motaro-topup-message{min-height:22px;font-size:13px}.motaro-topup small{display:block;font-size:12px}.motaro-storage-notice{position:relative;z-index:9;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 24px;background:#20252b;color:#fff;border-top:1px solid #49525e;font:14px/1.5 Arial,sans-serif}.motaro-storage-notice span{flex:1;min-width:240px}.motaro-storage-notice a{color:#fff;text-decoration:underline}.motaro-header-balance{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#fff}.motaro-header-balance button{background:#22262c;color:#fff;border:1px solid #414852;border-radius:50%;width:30px;height:30px;font-size:22px;cursor:pointer}
.motaro-storage-dialog{width:min(850px,calc(100% - 32px));max-height:85vh;overflow:auto}.motaro-storage-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #343b45}.motaro-storage-row span{min-width:0;overflow-wrap:anywhere}.motaro-storage-row button,.motaro-storage-pagination button,.motaro-storage-notice button{flex-shrink:0;background:#2c333d;color:#fff;border:1px solid #4d5868;border-radius:5px;padding:7px 12px}.motaro-storage-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.motaro-storage-dialog button:disabled{opacity:.4;cursor:default}
html body dialog.motaro-topup{background:#171a1e!important;color:#f6f7f8!important;border-color:#3a4048!important}html body dialog.motaro-topup *{border-color:#414852!important}html body dialog.motaro-topup button,html body dialog.motaro-topup input{background:#252a31!important;color:#fff!important}html body dialog.motaro-topup [data-topup-pay]{background:#e9edf2!important;color:#11151a!important}html body dialog.motaro-topup .motaro-topup-close{background:transparent!important}html body .motaro-header-balance button{border-color:#414852!important;background:#22262c!important;color:#fff!important}html body .motaro-storage-notice button{border-color:#4d5868!important;background:#2c333d!important;color:#fff!important}
/* Compact graphite top-up dialog; storage management keeps its own layout. */
html body dialog.motaro-wallet-dialog{width:min(420px,calc(100% - 32px));padding:24px;background:#202020!important;border:0!important;border-radius:16px;box-shadow:0 18px 64px #0006;font:400 14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body dialog.motaro-wallet-dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}
html body dialog.motaro-wallet-dialog h2{margin:0 34px 22px 0;font-size:20px!important;line-height:1.4;font-weight:400!important;letter-spacing:0}
html body dialog.motaro-wallet-dialog h2 :is(span,strong){font-size:inherit!important;font-weight:inherit!important}
html body dialog.motaro-wallet-dialog label{margin:0 0 8px;color:#aaa;font-size:12px;font-weight:400}
html body dialog.motaro-wallet-dialog input{height:40px;padding:8px 12px;background:#303030!important;border:0!important;border-radius:9px;box-shadow:none!important;font-family:inherit;font-size:16px;font-weight:400;line-height:24px;appearance:textfield;-moz-appearance:textfield}
html body dialog.motaro-wallet-dialog input:is(:focus,:focus-visible){background:#353535!important;outline:0!important;box-shadow:none!important}
html body dialog.motaro-wallet-dialog input::-webkit-inner-spin-button,html body dialog.motaro-wallet-dialog input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html body dialog.motaro-wallet-dialog .motaro-topup-amount-row strong{font-size:22px!important;font-weight:400!important}
html body dialog.motaro-wallet-dialog [data-topup-pay]{height:40px;padding:9px 14px;border:0!important;border-radius:9px;font-size:14px!important;line-height:22px;font-weight:400!important;box-shadow:none!important}
html body dialog.motaro-wallet-dialog [data-topup-pay] :is(span,strong){font-size:inherit!important;font-weight:inherit!important}
html body dialog.motaro-wallet-dialog .motaro-topup-close{display:flex;align-items:center;justify-content:center;right:16px;top:19px;width:28px;height:28px;padding:0;border:0!important;box-shadow:none!important;line-height:1;font-size:24px;font-weight:300;color:#aaa!important}
html body dialog.motaro-wallet-dialog .motaro-topup-close:hover{color:#fff!important}
html body dialog.motaro-wallet-dialog .motaro-topup-message:not(:empty){margin-top:12px;font-size:12px;font-weight:400}
