/* Mobile storefront repairs: shared dock anchor, store results and recharge. */
@media(max-width:768px){
 html.gsfc-store-layout .gsfc-withdraw-buyer{background:#f3f6fb!important;min-height:100dvh;padding:0 0 calc(24px + env(safe-area-inset-bottom,0px))!important;}
 html.gsfc-store-layout .gsfc-withdraw-buyer .oz-card{margin:16px!important;border:1px solid #e5ebf3!important;border-radius:20px!important;padding:20px 16px!important;background:#fff!important;}
 .gsfc-withdraw-buyer .form-content-wrap{max-width:560px!important;width:100%!important;margin:auto!important;padding:0!important;}
 .gsfc-withdraw-seller{margin:16px!important;padding:20px 16px!important;border:1px solid #e5ebf3;border-radius:20px;background:white;min-height:0!important;}
 .gsfc-withdraw-intro{margin:0 0 22px;}
 .gsfc-withdraw-balance{display:flex;flex-direction:column;gap:8px;padding:22px 18px;border-radius:16px;background:linear-gradient(125deg,#1238ac,#2859ec);color:#e4edff;}
 .gsfc-withdraw-balance>span{font-size:13px;}
 .gsfc-withdraw-balance>strong{font-size:25px;line-height:1.3;color:#fff;overflow-wrap:anywhere;}
 .gsfc-withdraw-intro>p{margin:20px 0 0;font-size:16px;font-weight:650;color:#172033;}
 .gsfc-withdraw-selected{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:8px 12px;border:1px solid #dce7ff;border-radius:12px;background:#f3f7ff;}
 .gsfc-withdraw-selected>strong{flex:1;color:#1b4ee0;font-size:14px;white-space:nowrap;}
 .gsfc-withdraw-selected>button{font:inherit;font-size:12px;min-height:44px;background:transparent;color:#3d5f9b;border:0;padding:6px 0;}
 .gsfc-withdraw-step-0 .gsfc-withdraw-details,.gsfc-withdraw-step-1 .gsfc-withdraw-selection,.gsfc-withdraw-step-1.gsfc-withdraw-seller>.icon-type-content,.gsfc-withdraw-step-1 .gsfc-withdraw-next{display:none!important;}
 .gsfc-withdraw-seller input,.gsfc-withdraw-buyer input{font-size:16px!important;line-height:24px;min-height:26px;}
 .gsfc-withdraw-buyer .ant-input,.gsfc-withdraw-buyer .ant-select-selector,.gsfc-withdraw-seller .van-cell{min-height:50px!important;border-radius:11px!important;border:1px solid #dce3ef!important;padding:12px!important;background:#fff!important;}
 .gsfc-withdraw-buyer .ant-select-selection-item{line-height:26px!important;}
 .gsfc-withdraw-buyer .wallet-address .ant-input{padding-right:54px!important;}
 .gsfc-withdraw-buyer .wallet-address .copy-btn{min-height:44px;display:flex;align-items:center;top:3px!important;}
 .gsfc-withdraw-seller .icon-type-content{margin-bottom:20px!important;}
 .gsfc-withdraw-seller .border{border-radius:11px!important;}
 .gsfc-withdraw-seller .border .van-cell{border:0!important;}
 .gsfc-withdraw-seller .gsfc-withdraw-summary,.gsfc-withdraw-buyer .gsfc-withdraw-summary{background:#eff4ff;border-radius:13px;padding:16px!important;margin:16px 0 20px!important;}
 .gsfc-withdraw-summary .withdraw-tips,.gsfc-withdraw-seller .tips{display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px;font-size:14px;line-height:1.7;color:#254d9c;}
 .gsfc-withdraw-submit,.gsfc-withdraw-buyer .gsfc-withdraw-submit button{min-height:50px!important;border-radius:13px!important;font-size:16px!important;touch-action:manipulation;}
 .gsfc-withdraw-buyer .ant-radio-button-wrapper{min-height:44px;height:auto!important;padding:8px 14px;line-height:26px;}
 .gsfc-withdraw-next{margin-top:24px;}
 .gsfc-withdraw-seller .tips span,.gsfc-withdraw-buyer .withdraw-tips span{font-size:14px!important;color:#254d9c!important;}
 .gsfc-withdraw-seller .current-balance{color:#64748b!important;font-size:12px!important;line-height:1.6;}
 .gsfc-withdraw-seller .required-txt,.gsfc-withdraw-seller .label,.gsfc-withdraw-seller .icon-type-content>div:first-child{font-size:14px!important;}
 .gsfc-withdraw-seller.gsfc-withdraw-step-0 .gsfc-withdraw-details,.gsfc-withdraw-buyer.gsfc-withdraw-step-0 .gsfc-withdraw-details{display:none!important;}
 .gsfc-buyer-tabbar__item,.gsfc-buyer-tabbar__item *{-webkit-tap-highlight-color:transparent!important}
 .gsfc-buyer-tabbar__item:active,.gsfc-buyer-tabbar__item:hover{background:transparent!important;box-shadow:none!important}
 html.gsfc-seller-layout #app .dynamic-island-container[data-v-6e61367a],
 html.gsfc-store-layout .gsfc-buyer-tabbar{
  position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;
  transform:none!important;transition:none!important;margin:0!important;
 }
 .mobile-search-store .store-card{display:flex!important;gap:16px!important;align-items:center!important;padding:18px 16px!important;border:1px solid #e2e6ec;border-radius:16px!important;background:#fff;box-shadow:0 2px 8px #22385906;}
 .mobile-search-store .store-avatar{width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:50%!important;object-fit:cover;}
 .mobile-search-store .store-info{flex:1;min-width:0;}
 .mobile-search-store .store-name{margin:0 0 9px!important;font-size:16px!important;line-height:1.4;font-weight:650;overflow-wrap:anywhere;}
 .mobile-search-store .store-stats{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important;color:#334155;font-size:12px!important;line-height:1.5;}
 .mobile-search-store .store-stats strong{font-weight:600;text-align:right;white-space:nowrap;color:#172033;}
 .mobile-search-store .store-stats span{color:#526174!important;}
 .mobile-search-store .store-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0 14px 20px;}
 .mobile-search-store .result-tip{font-size:13px;line-height:1.8;margin:12px 14px;padding:13px;background:#fff;border-radius:12px;}
 .mobile-search-store .result-tip .kw{color:#1b4de1;font-weight:650;overflow-wrap:anywhere;}
 .mobile-search-store .store-card:focus-visible{outline:2px solid #1b4de1;outline-offset:2px;}
 .gsfc-recharge-mobile{min-height:100dvh;background:#f3f6fb;color:#172033;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));}
 .gsfc-recharge-mobile .nav-bar{background:white;}
 .gsfc-recharge-header{position:sticky;top:0;z-index:5;min-height:56px;background:#fff;border-bottom:1px solid #e8edf4;display:grid;grid-template-columns:70px 1fr 70px;align-items:center;text-align:center;padding:0 10px;}
 .gsfc-recharge-header strong{font-size:16px;}
 .gsfc-recharge-header{z-index:2001;}
 body:has(.gsfc-recharge-mobile) .mobile-nav-bar{display:none!important;}
 .gsfc-recharge-header button{appearance:none;border:0;background:transparent;color:#233759;min-height:48px;font:inherit;font-size:13px;padding:4px;}
 .gsfc-recharge-header .gsfc-recharge-back{text-align:start;padding-inline-start:6px;font-size:34px;line-height:1;}
 .gsfc-recharge-content{padding:18px 16px;max-width:560px;margin:auto;}
 .gsfc-recharge-hero{padding:23px 20px;border-radius:20px;background:linear-gradient(125deg,#1238ac,#2859ec);color:white;position:relative;overflow:hidden;margin-bottom:18px;}
 .gsfc-recharge-hero:after{content:"";position:absolute;right:-22px;top:-45px;width:160px;height:160px;border:24px solid #ffffff0c;border-radius:50%;pointer-events:none;}
 .gsfc-recharge-hero h2{margin:0 0 8px;font-size:22px;line-height:1.3;color:white;}
 .gsfc-recharge-hero p{font-size:13px;line-height:1.7;margin:0;max-width:92%;color:#e1eaff;}
 .gsfc-recharge-section{padding:20px 16px;border:1px solid #e7ecf4;border-radius:18px;background:white;margin-bottom:14px;}
 .gsfc-recharge-section h3{margin:0 0 13px;font-size:15px;font-weight:650;}
 .gsfc-coin-option{appearance:none;display:flex;align-items:center;gap:12px;width:100%;border:1px solid #e5eaf3;border-radius:13px;padding:14px 12px;margin:0 0 10px;background:white;text-align:start;font:inherit;cursor:pointer;min-height:64px;color:#172033;}
 .gsfc-coin-option.selected{border-color:#2253e8;background:#f2f6ff;}
 .gsfc-coin-symbol{display:flex;width:36px;height:36px;flex:0 0 36px;align-items:center;justify-content:center;border-radius:50%;background:var(--coin-color,#4362b0);color:#fff;font-size:20px;font-weight:650;}
 .gsfc-coin-name{flex:1;font-size:15px;font-weight:650;}
 .gsfc-coin-option .gsfc-coin-check{font-size:19px;color:#1b4ee0;}
 .gsfc-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .gsfc-network-option{appearance:none;border:1px solid #dce3ef;border-radius:11px;background:#fff;padding:14px 8px;font:inherit;font-size:13px;min-height:48px;color:#344054;overflow-wrap:anywhere;cursor:pointer;}
 .gsfc-network-option.selected{border-color:#2352e4;color:#1b4ee0;background:#eff4ff;font-weight:650;}
 .gsfc-recharge-primary{appearance:none;display:block;width:100%;min-height:50px;padding:13px 18px;border:0;border-radius:13px;background:#1d4ee5;color:white;font:inherit;font-weight:650;line-height:1.4;cursor:pointer;}
 .gsfc-recharge-primary:disabled{background:#a4b6e9;cursor:default;}
 .gsfc-recharge-muted{font-size:12px;line-height:1.65;color:#667085;margin:12px 0 0;}
 .gsfc-recharge-qr{text-align:center;padding:12px 0 18px;}
 .gsfc-recharge-qr #qrCode{display:flex;justify-content:center;margin:14px 0 16px;}
 .gsfc-recharge-qr img,.gsfc-recharge-qr canvas{max-width:100%;}
 .gsfc-recharge-network-label{display:inline-block;padding:5px 12px;border-radius:8px;color:#1a4ed8;background:#eff4ff;font-size:13px;font-weight:600;}
 .gsfc-recharge-mobile label{display:block;font-size:13px;font-weight:600;margin:17px 0 9px;}
 .gsfc-recharge-mobile input,.gsfc-recharge-mobile textarea{appearance:none;display:block;width:100%;min-height:48px;border:1px solid #dce3ef;border-radius:11px;padding:12px;background:white;color:#172033;box-sizing:border-box;font:inherit;font-size:16px;line-height:1.5;}
 .gsfc-recharge-mobile input:focus,.gsfc-recharge-mobile textarea:focus{outline:2px solid #bfd0ff;border-color:#2958e5;}
 .gsfc-recharge-mobile textarea{resize:vertical;min-height:90px;}
 .gsfc-recharge-mobile .gsfc-address-box{display:flex;gap:12px;align-items:center;background:#f5f7fb;border:1px solid #e3e8f1;border-radius:12px;padding:12px;}
 .gsfc-recharge-mobile .gsfc-full-address{flex:1;min-width:0;overflow-wrap:anywhere;font:13px/1.7 ui-monospace,monospace;}
 .gsfc-recharge-mobile .gsfc-address-copy{min-height:44px;min-width:46px;padding:7px;border:0;background:transparent;color:#1b4ee0;font:inherit;font-size:13px;}
 .gsfc-recharge-arrival{border-radius:12px;background:#eff4ff;padding:14px;color:#1a4ee0;font-size:20px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;}
 .gsfc-recharge-arrival small{font-size:12px;font-weight:500;margin-inline-start:5px;}
 .gsfc-recharge-upload{display:flex;align-items:center;justify-content:center;width:100%;min-height:98px;border:1px dashed #a9bcdf;border-radius:12px;background:#f7f9fe;color:#4269b8;text-align:center;padding:12px;font-size:13px;}
 .gsfc-recharge-upload img{height:104px;max-width:100%;object-fit:contain;}
 .gsfc-recharge-mobile .ant-upload,.gsfc-recharge-mobile .ant-upload-select{display:block;width:100%;}
 .gsfc-recharge-mobile .gsfc-method-bank{display:block;margin:16px auto 0;padding:10px 20px;min-height:44px;background:transparent;border:0;color:#516984;font:inherit;font-size:13px;}
 html.gsfc-seller-layout .gsfc-profit-dialog{position:fixed!important;left:50%!important;top:50%!important;width:calc(100% - 24px)!important;max-width:480px;max-height:calc(100dvh - 32px)!important;transform:translate(-50%,-50%)!important;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;}
 html.gsfc-seller-layout .gsfc-profit-dialog input{font-size:16px!important;min-height:44px;}
 html.gsfc-seller-layout .gsfc-profit-dialog .btn-content{min-height:48px;touch-action:manipulation;}
 html.gsfc-seller-layout .gsfc-profit-overlay{position:fixed!important;inset:0!important;height:100vh!important;height:100lvh!important;}
 html.gsfc-dock-viewport.gsfc-seller-layout .gsfc-profit-dialog{top:calc(var(--gsfc-visible-top,0px) + var(--gsfc-visible-height,100dvh)/2)!important;max-height:calc(var(--gsfc-visible-height,100dvh) - 24px)!important;}
 html.gsfc-dock-viewport.gsfc-seller-layout .gsfc-profit-overlay{top:var(--gsfc-visible-top,0px)!important;bottom:auto!important;height:var(--gsfc-visible-height,100dvh)!important;}
 html.gsfc-dock-viewport.gsfc-seller-layout #app .gsfc-library-dock-host{inset:0!important;height:auto!important;}
}

.gsfc-recharge-desktop-note{width:100%;padding:12px;border:1px solid #dce3ef;border-radius:10px;font:inherit;resize:vertical;min-height:90px;box-sizing:border-box}

/* Keep product actions inside the safe area, with their content 6px lower. */
@media(max-width:768px){
 html.gsfc-store-layout .h5-product-details .bottom-actions{padding-top:12px;padding-bottom:env(safe-area-inset-bottom,0px);}
}
/* Paint below the dock without moving controls into browser chrome. */
@supports(-webkit-touch-callout:none){
 @media(max-width:768px) and (display-mode:browser){
  html.gsfc-store-layout .gsfc-buyer-tabbar{box-shadow:0 -1px 0 #e7edf5,0 -2px 12px rgba(25,51,91,.035),0 32px 0 0 #fff,0 64px 0 0 #fff!important;}
  html.gsfc-seller-layout #app .dynamic-island-container[data-v-6e61367a]{box-shadow:0 -2px 12px rgba(25,51,91,.035),0 32px 0 0 #fff,0 64px 0 0 #fff!important;}
  html.gsfc-store-layout .h5-product-details .bottom-actions{box-shadow:0 -2px 8px #00000014,0 32px 0 0 #fff,0 64px 0 0 #fff!important;}
  html.gsfc-seller-layout #app .gsfc-library-dock-host .fixed-wrap{box-shadow:0 -2px 10px #17366508,0 32px 0 0 #fff,0 64px 0 0 #fff!important;}
 }
}
