/* =============================================================================
 * tips.css — Consejo de Bella: perrito flotante + globito (no bloquea nada)
 * Ver js/bella-tips.js. Aparece en la esquina al entrar a una sección y se va.
 * ========================================================================== */

.btip {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 9600;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: min(78vw, 320px);
    cursor: pointer;
    animation: btip-in .38s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes btip-in {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Despedida: se desliza hacia abajo y se desvanece. */
.btip--out { animation: btip-out .4s ease both; }
@keyframes btip-out {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(24px); opacity: 0; }
}

.btip__bubble {
    background: #fff;
    color: #1a1d24;
    font: 700 14.5px/1.4 "Nunito", system-ui, sans-serif;
    padding: 12px 14px;
    border-radius: 16px 16px 4px 16px;   /* "pico" hacia el perrito */
    box-shadow: 0 8px 24px rgba(60, 20, 110, .28);
    border: 1.5px solid rgba(138, 43, 226, .18);
}

.btip__dog {
    width: 88px;
    height: auto;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25));
    animation: btip-float 2.4s ease-in-out infinite alternate;
}
@keyframes btip-float {
    from { translate: 0 0; }
    to   { translate: 0 -5px; }
}

@media (prefers-reduced-motion: reduce) {
    .btip, .btip--out, .btip__dog { animation: none; }
}
