/* Mobile finishing layer: preserve content and keep controls usable. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-bottom:110px}
body.fleet :is(.fleet-main,.shop-section,.customizer-section,.merchant-product,.fleet-skill-tier,.notification-item__content){min-width:0}
body.fleet :is(dialog,.cinematic-card,.race-inspector) :is(p,small,strong,b){overflow-wrap:anywhere}
body.fleet .fleet-info-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.fleet .fleet-info-dialog__head{position:sticky;top:0;z-index:3;flex-shrink:0}
body.fleet .merchant-info:before{content:"";position:absolute;inset:-9px;border-radius:50%}
body.fleet .merchant-current time{color:#345f7c!important;font-variant-numeric:tabular-nums}
@media(max-width:850px){
 body.fleet .fleet-main{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
 body.fleet :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=hidden]),select,textarea){font-size:16px!important}
 body.fleet :is(input,select,textarea){max-width:100%;box-sizing:border-box}
 body.fleet :is(.btn,.fleet-tabs a,.fleet-nav a,.yard-tabs button){min-height:44px}
 body.fleet .yard-v3 .shipyard-save{bottom:calc(82px + env(safe-area-inset-bottom))!important}
 body.fleet .fleet-savebar{bottom:calc(84px + env(safe-area-inset-bottom))}
 body.fleet .account-delete__actions{display:grid;grid-template-columns:1fr 1fr}.account-delete__actions .btn{white-space:normal;text-align:center}
 body.fleet .market-pass{flex-wrap:wrap}.market-pass form{max-width:100%}
 body.fleet .race-map__card input,body.fleet .race-map__card textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
