#phone-fullscreen { display: none; }
#fullscreen-help button { min-height: 44px; }
#fullscreen-help p { line-height: 1.55; }

@media (max-width: 700px), (pointer: coarse) and (max-width: 1100px) and (max-height: 600px) {
    #phone-fullscreen {
        display: grid;
        width: 44px;
        height: 44px;
        flex: none;
        background: transparent;
        border: 0;
    }
    .window-tools [data-action="full"] { display: none; }
    body:has(#flight[data-handheld]:not([data-commands])) #phone-fullscreen { display: none; }
    #flight[data-handheld]:not([data-commands]) #window > .window-tools {
        display: flex;
        top: max(4px, env(safe-area-inset-top));
        right: max(6px, env(safe-area-inset-right));
        z-index: 3;
    }
    #flight[data-handheld]:not([data-commands]) .window-tools [data-action="full"] {
        display: grid;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 6px;
        color: #e4e9e8;
        background: #101a21aa;
    }
    #flight[data-handheld]:not([data-commands]) .window-tools #cockpit-sound { display: none; }
}
