* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    overflow: hidden;
    background: #171958;
}

#game-shell {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #171958;
    color: #fff;
}

#game-stage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 21px 34px, #e2dfff88 1px, transparent 1.5px) 0 0 / 167px 151px,
        radial-gradient(circle at 64px 23px, #9ec8f172 1px, transparent 1.5px) 0 0 / 139px 119px,
        radial-gradient(ellipse at 54% 83%, #564676, transparent 72%),
        linear-gradient(155deg, #22204e, #302e64 51%, #392e58);
}

#game-stage canvas {
    box-shadow: 0 0 26px #18163d70;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

#orientation,
#msg {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 2;
    pointer-events: none;
    background: #171958;
    font: 1.25rem Verdana, sans-serif;
    text-align: center;
}

#orientation {
    align-content: center;
}

#msg {
    padding: 15px;
}

#msg > p {
    max-width: 300px;
    margin: 50px auto 0;
}

#preload-font {
    font-family: "king_cool_kc", sans-serif;
    font-size: 0;
}

/* Optional Phaser timing meter. */
.ppat-text {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font: 16px/1 monospace;
}
