/* =============================================================================
   Cegiełki / Bricks — game-specific styles (canvas frame, hint line).
   Loaded together with games.css via $extraCss. Uses site design tokens;
   the in-game colours (bricks, paddle, ball) are drawn on the canvas by
   game-cegielki.js, like the classic palettes in games-2048.css.
   ============================================================================= */

.ceg-canvas-wrap {
    max-width: 480px;
    margin: 0 auto;
}

#cegCanvas {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: crosshair;
}

#cegCanvas:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Launch hint under the board. */
.ceg-hint {
    max-width: 480px;
    margin: 0.5rem auto 0;
    min-height: 1.4em;
    text-align: center;
    color: var(--color-gray-700);
    font-size: 0.9rem;
}

/* ---------------- Stats modal extra ---------------- */

.ceg-best-line {
    margin-top: 0.75rem;
    color: var(--color-gray-700);
}
