/* Invitación al buscador — compartida por todos los minijuegos de lab/
   Se muestra cada 8 partidas jugadas (ver lab/js/estadisticas-juegos.js).
   Prefijo om-invitacion- para no chocar con las clases jX- de cada juego. */

.om-invitacion-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 1rem;
}

.om-invitacion-panel {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1a1a1a;
}

.om-invitacion-panel h2 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.om-invitacion-panel p {
    margin: 0 0 1.4rem;
    color: #52555a;
    font-size: 0.95rem;
    line-height: 1.45;
}

.om-invitacion-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.om-invitacion-boton {
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.9rem;
}

.om-invitacion-boton--cancelar {
    background: #fff;
    color: #1a1a1a;
}
