@import url("launch-screen.css?v=20261106-fullheight2");
@import url("flight.css?v=20261106-fullheight2");
@import url("command.css?v=20261106-fullheight2");

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #030a12;
}

body {
    color: #edf3fa;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

#game {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

#game canvas {
    display: block;
    width: min(1080px, 100vw, calc(100vh * 9 / 16));
    height: auto;
    max-height: 100vh;
}

.launch-visible #game { visibility: hidden; }
