
/* ===== 19. MOUSE TIMER ===== */
.timer-mode-btn {
    font-size: 1.5rem;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.timer-mouse-container {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.mouse-track {
    width: 100%;
    height: 60px;
    position: relative;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.mouse-character {
    font-size: 2.5rem;
    position: absolute;
    left: 0;
    z-index: 10;
    transition: left 1s linear;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.mouse-items {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 0 40px;
}

.mouse-item {
    font-size: 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mouse-item.eaten {
    opacity: 0;
    transform: scale(0);
}

.mouse-item.cheese {
    font-size: 2rem;
}

/* Adjust timer modal when in mouse mode */
.timer-modal.mouse-mode {
    width: min(400px, 95vw);
}

.timer-modal.mouse-mode .timer-visual {
    height: auto;
    width: 100%;
}

.timer-modal.mouse-mode .timer-time {
    position: relative;
    inset: auto;
    margin-top: var(--space-md);
}
