/* =========================================================
   Monstrinhos — a turma que olha os campos
   ========================================================= */

.turma {
    --monstroTinta: #1b1f3b;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 440px;
    height: 360px;
    transform: translateX(-50%) scale(var(--escala, 1));
    transform-origin: 50% 100%;
    pointer-events: none;
}

.monstro {
    position: absolute;
    bottom: 0;
}

.monstroCorpo {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--cor);
    border-radius: var(--raio);
    transform-origin: 50% 100%;
    transform: skewX(var(--inclina, 0deg)) scaleY(var(--estica, 1));
}

.monstroRosto {
    position: absolute;
    top: var(--rostoTopo);
    left: 50%;
    display: flex;
    gap: var(--olhosEspaco, 18px);
    transform: translate(calc(-50% + var(--rostoX, 0px)), var(--rostoY, 0px));
}

.olho {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    transition: transform 110ms ease;
}

.pupila {
    width: 12px;
    height: 12px;
    background: var(--monstroTinta);
    border-radius: 50%;
    transform: translate(var(--px, 0px), var(--py, 0px));
    transition: opacity 80ms ease;
}

.olhoGrande {
    width: 46px;
    height: 46px;
    background: #e6e9ff;
}

.olhoGrande .pupila {
    width: 20px;
    height: 20px;
}

.olhoPonto {
    width: 16px;
    height: 16px;
    background: transparent;
}

.olhoPonto .pupila {
    width: 16px;
    height: 16px;
}

.boca {
    position: absolute;
    top: calc(100% + var(--bocaDistancia, 14px));
    left: 50%;
    transform: translateX(-50%);
}

/* Olhos fechados: o olho vira um tracinho */
.turma.olhosFechados .olho,
.monstro.piscando .olho {
    transform: scaleY(0.14);
}

.turma.olhosFechados .pupila,
.monstro.piscando .pupila {
    opacity: 0;
}

.turma.olhosFechados .olhoGrande,
.turma.olhosFechados .olhoPonto,
.monstro.piscando .olhoGrande,
.monstro.piscando .olhoPonto {
    background: var(--monstroTinta);
}

/* ---------- Cada personagem ---------- */

.monstroAlto {
    left: 70px;
    z-index: 1;
    width: 140px;
    height: 340px;
    /* Escuro sobre o azul do login; azul sobre o fundo preto da loja */
    --cor: var(--corAlto, #1b1f3b);
    --raio: 28px 28px 0 0;
    --rostoTopo: 48px;
}

.monstroAlto .boca {
    width: 24px;
    height: 5px;
    background: #fff;
    border-radius: 99px;
}

.monstroCiclope {
    left: 226px;
    z-index: 1;
    width: 118px;
    height: 262px;
    --cor: #fff;
    --raio: 59px 59px 0 0;
    --rostoTopo: 50px;
}

.monstroCiclope .boca {
    width: 22px;
    height: 11px;
    border-bottom: 4px solid var(--monstroTinta);
    border-radius: 0 0 12px 12px;
}

.monstroAmarelo {
    left: 322px;
    z-index: 2;
    width: 112px;
    height: 196px;
    --cor: #ffd84d;
    --raio: 56px 56px 0 0;
    --rostoTopo: 48px;
    --olhosEspaco: 22px;
}

.monstroAmarelo .boca {
    width: 30px;
    height: 4px;
    background: var(--monstroTinta);
    border-radius: 99px;
}

.monstroBolota {
    left: 0;
    z-index: 3;
    width: 236px;
    height: 148px;
    --cor: #ff6b98;
    --raio: 118px 118px 0 0;
    --rostoTopo: 52px;
    --olhosEspaco: 34px;
    --bocaDistancia: 10px;
}

.monstroBolota .boca {
    width: 34px;
    height: 15px;
    border-bottom: 4px solid var(--monstroTinta);
    border-radius: 0 0 18px 18px;
}