body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    background-color: #1a0d30;
}

#app {
    width: 100%;
    /* svh cascade (new-games.md sec 2 CAUTION): vh (oldest) -> dvh -> svh (wins where
       supported) so the 393x852 world always fits the visible viewport, toolbar up or not. */
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    width: 100%;
    height: 100%;
}

/* Diegetic exit pill back to the bar (per-game own exit, #61 model). Canonical flat
   dark-glass style (design-system.md sec 2b, #219 s104) - NOT the green urodziny theme
   (that page is an exempt hidden birthday surface; this is a mainstream hub tile). Fixed,
   high z-index so it stays reachable above the install coach-mark sheet (install.js, z:9000). */
#exit-bar {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: calc(env(safe-area-inset-left, 0px) + 10px);
    z-index: 9999;
    color: #efe7ff;
    background: rgba(20, 12, 32, 0.72);
    backdrop-filter: blur(5px);
    border: 1px solid #ffffff33;
    box-shadow: 0 2px 10px #0008;
    border-radius: 999px;
    padding: 7px 14px;
    font-family: "Baloo 2", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}
