html { background: var(--deep); }

body {
    background-color: var(--deep);
    background-image:
        linear-gradient(120deg, rgba(4, 8, 18, 0.93), rgba(5, 12, 25, 0.84)),
        var(--page-wallpaper, url("/static/games/backgrounds/default.svg"));
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}