/* RUNQUEST V43 — native-like mobile polish for iOS/Android without disabling accessibility zoom. */
@media (max-width:700px), (orientation:landscape) and (max-height:540px) and (pointer:coarse){
 html,body{overscroll-behavior:none;-webkit-text-size-adjust:100%;}
 body{-webkit-tap-highlight-color:transparent}
 button,a,[role="button"],[role="tab"],label.uploadQuest,.rq-pager button,.sidebar button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 button,.sidebar button,.rq-mobile-tabs button,.rq-pager button,.segmentActions>*{min-height:44px}
 .sidebar:not(.hidden){left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important}
 .app{padding-left:max(9px,env(safe-area-inset-left))!important;padding-right:max(9px,env(safe-area-inset-right))!important}
 .sidebar button,.rq-mobile-tabs button,.rq-pager button,.questFilters button{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
 .view:not(.hidden),.rq-mobile-pane,.questSheet,.uploadSheet,.reviewSheet,.activityDrawer{overscroll-behavior:contain}
 .sidebar button:active,.rq-mobile-tabs button:active,.rq-pager button:active,.segmentActions button:active,.primary:active,.secondary:active{transform:scale(.985)}
 .topbarRight .cloudBadge{display:flex!important;width:16px;min-width:16px;height:30px;padding:0;justify-content:center;overflow:visible}
 .topbarRight .cloudBadge span{display:none!important}
 .topbarRight .cloudBadge i{width:8px;height:8px;margin:0}
 .topbarRight .cloudBadge.rq-offline i{background:var(--gold);box-shadow:0 0 0 5px rgba(255,209,102,.09)}
 #reloadSegments.rq-v43-loading{pointer-events:none;opacity:.68}
 #reloadSegments.rq-v43-ok{border-color:rgba(90,224,180,.36);color:#c9ffeb}
 .rq-v43-restored{animation:rq43-in .18s ease-out both}
 #rqVersion{font-size:10px!important;letter-spacing:.45px}
}
@media (max-width:360px){
 .mobileBrand img{width:118px!important}
 .topbarRight{gap:5px!important}
 .topBell{width:36px!important;height:36px!important}
 #installApp{font-size:9px!important;padding:8px!important}
}
@media (orientation:landscape) and (max-height:540px) and (pointer:coarse){
 .app{padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}
 .sidebar:not(.hidden){left:max(6px,env(safe-area-inset-left))!important;right:max(6px,env(safe-area-inset-right))!important}
}
@media (prefers-reduced-motion:reduce){.rq-v43-restored{animation:none}.sidebar button:active,.rq-mobile-tabs button:active,.rq-pager button:active,.segmentActions button:active,.primary:active,.secondary:active{transform:none}}
@keyframes rq43-in{from{opacity:.88;transform:translateY(2px)}to{opacity:1;transform:none}}
