/* ==========================================================================
   Fathom — Page Chrome Styles
   Uses design tokens from design-tokens.css via CSS custom properties.
   Canvas content is rendered by game.js — this file only styles the page.
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: #020618;
    overflow: hidden;
    font-family: var(--font-family);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    box-shadow: 0 0 32px rgba(0, 200, 255, 0.25), 0 0 80px rgba(0, 100, 200, 0.15);
    border-radius: var(--radius-none);
}

/* Screen-reader-only utility — visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

noscript .fallback {
    color: var(--color-neutral-50);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    text-align: center;
    padding: var(--space-4);
}
