#shell #gameViewport #u506Skills{display:block!important;width:min(220px,100%);max-width:100%;pointer-events:auto;box-sizing:border-box;color:#d7f3e2;font:700 11px/1.4 system-ui;background:#102b23e8!important;border:1px solid #6f9e88;border-radius:7px;padding:4px;text-shadow:none!important}
#u506Skills summary{cursor:pointer;padding:5px;min-height:24px;touch-action:manipulation}#u506Skills .u506-skill-body{max-height:min(29dvh,260px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:5px}#u506Skills select,#u506Skills button{width:100%;max-width:100%;white-space:normal;color:#e7f5eb;background:#173d31;border:1px solid #6f9e88;border-radius:5px;padding:6px;font:inherit}#u506Skills [hidden]{display:none!important}.u506-skill-row{display:grid;grid-template-columns:1fr auto;gap:2px;padding:4px 0}.u506-skill-row progress{grid-column:1/-1;width:100%;height:5px;accent-color:#7dbb93}.u506-sign,.u506-sign-detail{margin:4px 0;font-weight:500}.u506-skull{display:inline-block;width:15px;height:15px;vertical-align:middle;margin-right:4px;background-image:url('/assets/u506-skull.svg');background-size:contain;background-repeat:no-repeat;filter:drop-shadow(0 0 1px white)}.u506-skull-red{filter:brightness(0) saturate(100%) invert(47%) sepia(91%) saturate(2032%) hue-rotate(329deg) brightness(106%) drop-shadow(0 0 1px #fff)}.u506-skull-black{filter:brightness(.18) drop-shadow(0 0 1px #fff)}
#shell #gameViewport #survivalControls{overflow-y:auto;overscroll-behavior:contain;max-height:calc(100% - 230px)!important;touch-action:pan-y}#shell #gameViewport.atl-kf-driving #survivalControls{display:none!important}#shell #gameViewport.atl-kf-driving .world-hud-bottom{display:none!important}#shell #gameViewport.atl-kf-driving #touchPad{display:none!important}
#shell #gameViewport.atl-kf-driving .atl-kf-exit{top:calc(60px + env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}#shell #gameViewport.atl-kf-driving .atl-kf-shift-row{top:calc(104px + env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}#shell #gameViewport.atl-kf-driving .atl-kf-service-stack{position:absolute;top:calc(146px + env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));display:flex;flex-direction:column;align-items:flex-end;gap:5px;z-index:6;pointer-events:none}#shell #gameViewport.atl-kf-driving .atl-kf-service-stack .atl-kf-refuel{position:static;pointer-events:auto;max-width:150px}
#shell #gameViewport.atl-kf-driving #bubbleOpen{bottom:auto;top:calc(60px + env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:auto;z-index:59}#shell #gameViewport.atl-kf-driving .u01-view-toggle{display:none!important}#shell #gameViewport.atl-kf-driving .atl-kf-steer,#shell #gameViewport.atl-kf-driving .atl-kf-pedal{width:min(25vw,25dvh,150px);height:min(25vw,25dvh,150px);min-width:0;min-height:0}#shell #gameViewport.atl-kf-driving .atl-kf-dashboard{max-width:42%;min-width:0}#shell #gameViewport.atl-kf-driving .atl-kf-metrics{white-space:normal}
#shell #gameViewport:not(.atl-kf-driving) #touchAction{top:auto;bottom:calc(200px + env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));width:auto}#shell #gameViewport:not(.atl-kf-driving) #bubbleOpen{bottom:calc(245px + env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}
@media(max-height:550px) and (orientation:landscape){#shell #gameViewport #survivalControls{max-height:calc(100% - 150px)!important;max-width:30%!important}#shell #gameViewport .world-hud-bottom>div{display:none!important}#shell #gameViewport.atl-kf-driving .atl-kf-service-stack{top:calc(100px + env(safe-area-inset-top));right:calc(max(10px,env(safe-area-inset-right)) + 155px)}#shell #gameViewport:not(.atl-kf-driving) #bubbleOpen{bottom:calc(162px + env(safe-area-inset-bottom))}#shell #gameViewport:not(.atl-kf-driving) #touchAction{bottom:calc(205px + env(safe-area-inset-bottom))}#u506Skills .u506-skill-body{max-height:24dvh}}
@media(max-width:500px){#shell #gameViewport #survivalControls{max-width:48%!important}#shell #gameViewport.atl-kf-driving .atl-kf-service-stack{top:calc(150px + env(safe-area-inset-top))}}
/* Fixed-height reservations use viewport units, not inherited world canvas height. */
#shell #gameViewport #survivalControls.u39-collapsed>#u506Skills{display:block!important;width: min(220px,100%)}
#shell #gameViewport:not(.atl-kf-driving) #bubbleOpen{top:auto;height:auto;max-height:44px}
@media(max-height:550px) and (orientation:landscape){#shell #gameViewport #survivalControls{max-height:calc(100dvh - 145px)!important}#shell #gameViewport:not(.atl-kf-driving) #bubbleOpen{top:calc(104px + env(safe-area-inset-top));bottom:auto;right:calc(max(12px,env(safe-area-inset-right)) + 90px)}#shell #gameViewport:not(.atl-kf-driving) #touchAction{top:calc(104px + env(safe-area-inset-top));bottom:auto;right:calc(max(12px,env(safe-area-inset-right)) + 165px)}}
#shell.atl-immersive-mode #gameViewport #survivalControls.u01-survival-panel,#shell #gameViewport #survivalControls.u01-survival-panel{max-height:calc(100dvh - 230px)!important;overflow-y:auto!important}
@media(max-height:550px) and (orientation:landscape){#shell.atl-immersive-mode #gameViewport #survivalControls.u01-survival-panel,#shell #gameViewport #survivalControls.u01-survival-panel{max-height:calc(100dvh - 145px)!important}}
