.miapp-foco-wrap { --miapp-accent: #22d3ee; }

.miapp-foco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 340px;
    margin: 1rem auto;
    width: 100%;
}

.miapp-foco-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
}

.miapp-foco-item:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: scale(1.06);
}

.miapp-foco-item.hit {
    background: rgba(34, 211, 238, 0.25);
    border-color: #22d3ee;
    transform: scale(0.94);
}

.miapp-foco-item.miss {
    animation: miapp-shake 0.3s ease;
    background: rgba(244, 63, 94, 0.2);
    border-color: #f43f5e;
}

.miapp-foco-grid.miapp-grid-4x4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.miapp-grid-4x4 .miapp-foco-item {
    font-size: 1.4rem;
    border-radius: 10px;
}

.miapp-foco-timer-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.miapp-foco-timer-fill {
    height: 100%;
    background: var(--miapp-accent);
    box-shadow: 0 0 8px var(--miapp-accent);
    transition: width 0.9s linear;
    width: 100%;
}
