/* ── Game timer display ── */
.game-timer {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(26, 15, 46, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'Cabin Sketch', cursive;
    font-size: 1.4rem;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease-out;
}

.game-timer-icon {
    font-size: 1.2rem;
}

.game-timer-value {
    min-width: 3ch;
    text-align: center;
}

.game-timer-urgent {
    color: var(--pink);
    border-color: var(--pink);
    animation: timer-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes timer-pulse {
    from {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }
    to {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-timer-urgent {
        animation: none;
        opacity: 1;
    }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .game-timer {
        top: 60px;
        right: 12px;
        padding: 6px 12px;
        font-size: 1.2rem;
    }
}
