.pong {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
}

.pong__hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.pong__mode { display: flex; gap: 8px; }
.pong__mode .btn { padding: 8px 14px; font-size: 0.85rem; min-height: 36px; }
.pong__mode .is-active { border-color: var(--accent); color: var(--accent); }

.pong__score {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.pong__canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #05070c;
    touch-action: none;
}

#pong-canvas { width: 100%; height: 100%; display: block; }

.pong__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 20px;
    color: var(--text);
}

.pong__hint {
    color: var(--text-faint);
    font-size: 0.85rem;
    text-align: center;
}
