html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Fills notch / home-indicator areas outside the safe Compose container. */
    background: #284E0E;
    /* The game handles its own gestures: no pull-to-refresh, rubber-banding, or tap highlight. */
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/*
 * Compose Web does not report device safe-area insets to WindowInsets, so the canvas container is
 * inset with env(safe-area-inset-*) instead. Fixed positioning follows the visible viewport as mobile
 * browser toolbars show and hide.
 */
#composeApplication {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    right: env(safe-area-inset-right, 0px);
    bottom: env(safe-area-inset-bottom, 0px);
    left: env(safe-area-inset-left, 0px);
    /* Prevent double-tap zoom and browser panning; Compose performs scrolling inside the canvas. */
    touch-action: none;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
}
