:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #07111f;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(44, 91, 138, 0.24), transparent 42%),
        linear-gradient(180deg, #0a1728 0%, #050b14 100%);
}

body {
    display: grid;
    place-items: center;
}

#game-shell {
    position: relative;
    width: min(100vw, calc(100vh * 4 / 3));
    aspect-ratio: 4 / 3;
    max-width: 800px;
    max-height: 600px;
    overflow: hidden;
    border-radius: 18px;
    background: #081522;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

#game {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
    touch-action: none;
    cursor: default;
}

.game-credit {
    position: absolute;
    right: 12px;
    bottom: 8px;
    z-index: 5;
    pointer-events: auto;
    font-size: 10px;
    line-height: 1;
}

.game-credit a {
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition: color 160ms ease;
}

.game-credit a:hover,
.game-credit a:focus-visible {
    color: rgba(255, 255, 255, 0.78);
}
