.wallet-insurance{width:calc(100% - 32px);margin:10px 16px 2px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border:1px solid color-mix(in srgb,var(--primary) 38%,transparent);border-radius:12px;background:var(--surface);background:color-mix(in srgb,var(--surface) 92%,var(--primary));color:var(--text);font-family:inherit;cursor:pointer}.wallet-insurance span{font-size:12px;color:var(--dim)}.wallet-insurance b{font-size:13px;color:var(--primary)}
.profile-wallet-recover{width:100%;margin-top:14px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line-2);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface-2) 88%,var(--primary)),var(--surface-2));color:var(--ink);box-shadow:inset 0 1px rgba(255,255,255,.04);transition:transform .2s var(--ease),border-color .2s var(--ease)}.profile-wallet-recover:active{transform:scale(.985);border-color:var(--primary)}.profile-wallet-recover-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--primary) 17%,transparent);color:var(--primary)}.profile-wallet-recover-icon svg{width:22px;height:22px}.profile-wallet-recover-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.profile-wallet-recover-copy b{font-size:14px;color:var(--ink)}.profile-wallet-recover-copy small{font-size:11px;color:var(--dim);line-height:1.45}.profile-wallet-recover-arrow{width:18px;height:18px;color:var(--dim)}
.withdrawal-overlay{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.withdrawal-sheet{width:min(520px,100%);max-height:min(92dvh,820px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line-2);border-radius:22px;background:var(--bg);color:var(--ink);box-shadow:0 28px 90px rgba(0,0,0,.48)}.withdrawal-header{min-height:68px;padding:14px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 88%,var(--primary)),var(--surface))}.withdrawal-header-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:13px;color:var(--btn-text);background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 7px 18px color-mix(in srgb,var(--primary) 22%,transparent)}.withdrawal-header-icon svg{width:22px;height:22px}.withdrawal-header>span:nth-child(2){display:flex;flex-direction:column}.withdrawal-header b{font-size:17px;letter-spacing:.02em}.withdrawal-header small{margin-top:1px;font-size:11px;color:var(--dim)}.withdrawal-close{width:36px;height:36px;margin-left:auto;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface-2);color:var(--dim);font-size:22px;line-height:1}.withdrawal-progress{padding:12px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;border-bottom:1px solid var(--line);background:var(--surface)}.withdrawal-progress span{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--dim);font-size:11px;white-space:nowrap}.withdrawal-progress i{width:20px;height:20px;display:grid;place-items:center;border:1px solid var(--line-2);border-radius:50%;font-style:normal;font-size:10px}.withdrawal-progress .on{color:var(--primary);font-weight:600}.withdrawal-progress .on i{border-color:var(--primary);background:var(--primary);color:var(--btn-text)}.withdrawal-content{padding:16px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.withdrawal-section{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 22px rgba(0,0,0,.08)}.withdrawal-section+.withdrawal-section{margin-top:12px}.withdrawal-section-title{margin-bottom:13px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.withdrawal-section-title>span{display:flex;flex-direction:column;gap:2px}.withdrawal-section-title b{font-size:14px;color:var(--ink)}.withdrawal-section-title small{font-size:11px;color:var(--dim)}[data-fund-status]{max-width:155px;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--warning) 13%,transparent);color:var(--warning);font-size:10px;font-style:normal;text-align:right}[data-fund-status].is-ready{background:color-mix(in srgb,var(--success) 13%,transparent);color:var(--success)}.withdrawal-form{display:flex;flex-direction:column;gap:11px}.withdrawal-form label{display:flex;min-width:0;flex-direction:column;gap:6px}.withdrawal-form label>span{font-size:11px;color:var(--dim)}.withdrawal-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.withdrawal-form input,.withdrawal-form select{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line-2);border-radius:10px;outline:none;background:var(--surface-2);color:var(--ink);font:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.withdrawal-form input::placeholder{color:color-mix(in srgb,var(--dim) 72%,transparent)}.withdrawal-form input:focus,.withdrawal-form select:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.withdrawal-secondary-btn,.withdrawal-primary-btn{min-height:44px;padding:10px 16px;border-radius:11px;font-weight:700;font-size:13px}.withdrawal-secondary-btn{align-self:flex-start;border:1px solid var(--line-2);background:color-mix(in srgb,var(--surface-2) 88%,var(--primary));color:var(--primary)}.withdrawal-primary-btn{width:100%;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:var(--btn-text);box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 20%,transparent)}.withdrawal-secondary-btn:active,.withdrawal-primary-btn:active{transform:scale(.985)}.withdrawal-profile-list{display:flex;flex-direction:column;gap:8px}.withdrawal-saved-profile{padding:11px 12px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.withdrawal-saved-icon{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:10px;background:color-mix(in srgb,var(--primary) 14%,transparent);color:var(--primary);font-size:16px}.withdrawal-saved-profile>span:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column}.withdrawal-saved-profile b{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.withdrawal-saved-profile small{font-size:10px;color:var(--dim)}.withdrawal-saved-profile em{padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--success) 12%,transparent);color:var(--success);font-size:9px;font-style:normal}.withdrawal-empty-profile{padding:15px;display:flex;flex-direction:column;gap:3px;border:1px dashed var(--line-2);border-radius:12px;text-align:center}.withdrawal-empty-profile b{font-size:12px;color:var(--ink)}.withdrawal-empty-profile span{font-size:10px;color:var(--dim)}.withdrawal-profile-editor{margin-top:10px;border-top:1px solid var(--line)}.withdrawal-profile-editor summary{padding:12px 2px 2px;display:flex;align-items:center;gap:6px;list-style:none;color:var(--primary);font-size:12px;font-weight:600;cursor:pointer}.withdrawal-profile-editor summary::-webkit-details-marker{display:none}.withdrawal-profile-editor summary span{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:color-mix(in srgb,var(--primary) 13%,transparent)}.withdrawal-profile-editor[open] summary{margin-bottom:12px}.withdrawal-file-field input{height:auto;padding:9px}.withdrawal-file-field input::file-selector-button{margin-right:9px;padding:7px 10px;border:0;border-radius:7px;background:var(--primary);color:var(--btn-text);font:inherit;font-size:11px}.withdrawal-file-field small{color:var(--dim);font-size:10px;line-height:1.45}.withdrawal-money-input{height:50px;display:flex;align-items:center;border:1px solid var(--line-2);border-radius:11px;background:var(--surface-2)}.withdrawal-money-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.withdrawal-money-input i{padding-left:13px;color:var(--primary);font-size:18px;font-style:normal;font-weight:700}.withdrawal-money-input input{height:48px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:20px;font-weight:700}.withdrawal-safety-note{margin-top:12px;display:flex;align-items:flex-start;gap:7px;color:var(--dim);font-size:10px;line-height:1.5}.withdrawal-safety-note span{width:17px;height:17px;display:grid;place-items:center;flex:0 0 17px;border-radius:50%;background:color-mix(in srgb,var(--success) 14%,transparent);color:var(--success)}.withdrawal-message{position:sticky;bottom:0;margin-top:12px;padding:11px 12px;border:1px solid var(--line-2);border-radius:11px;background:var(--surface-2);color:var(--ink);font-size:12px;box-shadow:0 8px 22px rgba(0,0,0,.16)}.withdrawal-message[data-state="success"]{border-color:color-mix(in srgb,var(--success) 42%,transparent);color:var(--success)}.withdrawal-message[data-state="error"]{border-color:rgba(255,90,100,.42);color:#ff8d98}.withdrawal-message[data-state="loading"]{color:var(--primary)}
.profile-balance-value-row{display:flex;align-items:flex-end;gap:7px}.profile-balance-refresh{width:25px;height:25px;margin-bottom:3px;display:grid;place-items:center;flex:0 0 25px;border:1px solid var(--line-2);border-radius:8px;background:color-mix(in srgb,var(--surface) 82%,var(--primary));color:var(--primary);transition:transform .2s var(--ease),opacity .2s}.profile-balance-refresh svg{width:14px;height:14px}.profile-balance-refresh:active{transform:scale(.92)}.profile-balance-refresh:disabled{cursor:wait;opacity:.65}.profile-balance-refresh.is-loading svg{animation:profileBalanceSpin .7s linear infinite}@keyframes profileBalanceSpin{to{transform:rotate(360deg)}}
.withdrawal-content{min-height:0}
html,body,.stage{height:100%;height:100dvh;min-height:100%;overflow:hidden}#app{height:100%;height:100dvh;max-height:100dvh}#flow{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(86px + env(safe-area-inset-bottom))}.tabbar{padding-bottom:env(safe-area-inset-bottom)}
.auth-mask{position:fixed!important;padding:max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom));box-sizing:border-box;overflow:hidden}.auth-modal{width:min(320px,calc(100vw - 24px))!important;max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.auth-header{padding:18px 20px 0}.auth-logo{width:42px;height:42px;margin-bottom:7px;border-radius:13px}.auth-logo svg{width:23px;height:23px}.auth-title{font-size:17px}.auth-tabs{margin:12px 18px 0}.auth-tab{padding:7px 0}.auth-body{padding:12px 18px 16px}.auth-field{margin-bottom:9px}.auth-field label{margin-bottom:4px}.auth-input{height:38px}.auth-submit{height:40px}.auth-error{margin-top:5px;min-height:13px}.auth-uid-hint{margin-top:6px}#tgLoginBox{margin-top:9px!important;padding-top:9px!important}#tgLoginBox .auth-field{margin-bottom:8px!important}#tgLoginBox .auth-field[style]{margin-top:8px!important}
@media(max-width:1023px){html,body,.stage,#app{height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important}.stage,#app{width:100vw!important;max-width:100vw!important}}
@media(max-width:430px){input,select,textarea{font-size:16px}.topbar{padding-left:clamp(12px,4vw,20px);padding-right:clamp(12px,4vw,20px)}.banner-wrap{margin-left:clamp(10px,3.5vw,16px);margin-right:clamp(10px,3.5vw,16px)}.quick-actions{padding-left:8px!important;padding-right:8px!important}.quick-item{min-width:0}.quick-label{font-size:clamp(10px,2.8vw,12px)!important;white-space:nowrap}.grid-3col{gap:clamp(7px,2.4vw,12px)!important;padding-left:clamp(10px,3.5vw,16px)!important;padding-right:clamp(10px,3.5vw,16px)!important}.card-name{font-size:clamp(10px,3vw,12px)!important}.modal-mask{padding:12px!important}.pay-modal,.auth-modal,.profile-panel{width:min(100%,420px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important}.auth-modal{width:min(310px,calc(100vw - 20px))!important}.withdrawal-overlay{padding:0;align-items:flex-end}.withdrawal-sheet{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border-bottom:0}.withdrawal-content{padding:12px 12px calc(16px + env(safe-area-inset-bottom))}.withdrawal-section{padding:14px}.withdrawal-form input,.withdrawal-form select{font-size:16px}.withdrawal-section-title{flex-direction:column}[data-fund-status]{max-width:none;text-align:left}.profile-wallet-recover{padding:12px}.profile-wallet-recover-copy small{white-space:normal}}
@media(max-width:340px){.grid-3col{grid-template-columns:repeat(2,minmax(0,1fr))!important}.quick-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}.quick-icon{width:38px!important;height:38px!important}.brand-sub{display:none}.wallet-insurance{width:calc(100% - 20px);margin-left:10px;margin-right:10px}}
@media(max-height:650px){.auth-mask{align-items:flex-start!important}.auth-modal{margin:auto 0}.auth-header{padding-top:11px}.auth-logo{width:34px;height:34px;margin-bottom:4px;border-radius:10px}.auth-logo svg{width:19px;height:19px}.auth-title{font-size:15px}.auth-sub{font-size:10px;margin-top:2px}.auth-tabs{margin-top:8px}.auth-body{padding-top:9px;padding-bottom:10px}.auth-field{margin-bottom:6px}.auth-input{height:35px}.auth-submit{height:37px;font-size:13px}#tgLoginBox{margin-top:6px!important;padding-top:6px!important}}
@media(max-height:620px) and (orientation:landscape){.statusbar,.notch{display:none!important}.banner-wrap{min-height:120px!important}.topbar{height:54px!important}#flow{padding-bottom:64px}.tabbar{height:58px!important}}
