html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.87);
    /* No body background — the React app paints a `position: fixed`
       viewport-bg <div> at z-index -1 (driven by the user's chosen
       background in Settings). A solid body bg here would paint over
       that div in CSS painting order and the chosen background would
       only ever show in transient gaps. The base #000 fallback lives
       on the bg div itself. */
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
}

/* Full-viewport game area. The canvas wrapper inside fills the
   viewport while preserving the canvas's 1280:860 aspect ratio,
   so on a wider monitor letterbox bars sit on either side rather
   than distorting the table. */
#app {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spritePosition {
    margin: 10px 0 0 10px;
    font-size: 0.8em;
}

.button {
    width: 140px;
    margin: 10px;
    padding: 10px;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.87);
    border: 1px solid rgba(255, 255, 255, 0.87);
    cursor: pointer;
    transition: all 0.3s;

    &:hover {
        border: 1px solid #0ec3c9;
        color: #0ec3c9;
    }

    &:active {
        background-color: #0ec3c9;
    }

    /* Disabled styles */
    &:disabled {
        cursor: not-allowed;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.3);
    }
}