/* ==========================================================================
   ENTWINED HEARTS: GLOWING VOICE LETTER BUBBLE ENGINE
   ========================================================================== */

.eh-voice-bubble-container {
    position: fixed;
    bottom: -70px;
    cursor: pointer;
    z-index: 10001; /* Layered slightly above regular elements */
    will-change: transform;
    animation: eh-voice-rise 16s linear forwards;
}

.eh-voice-bubble-core {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6), rgba(203, 166, 247, 0.3));
    border: 2px solid #cba6f7; /* Lilac accent border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* Pulsing magical neon aura */
    box-shadow: 0 0 15px #cba6f7, 0 0 30px rgba(203, 166, 247, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.8);
    animation: eh-voice-pulse 1.8s infinite ease-in-out alternate;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.eh-voice-bubble-core:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px #ffb6c1, 0 0 40px rgba(255, 182, 193, 0.8);
    border-color: #ffb6c1;
}

/* Audio active wave indicator layout */
.eh-voice-playing-indicator {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(37, 37, 56, 0.9);
    border: 1px solid #cba6f7;
    padding: 10px 16px;
    border-radius: 30px;
    color: #e0def4;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    animation: eh-voice-ui-fade 0.4s ease-out;
}

.eh-voice-wave-dot {
    width: 4px;
    height: 12px;
    background-color: #cba6f7;
    border-radius: 2px;
    animation: eh-voice-wave 0.6s infinite ease-in-out alternate;
}
.eh-voice-wave-dot:nth-child(2) { animation-delay: 0.15s; }
.eh-voice-wave-dot:nth-child(3) { animation-delay: 0.3s; }

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes eh-voice-rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateY(-115vh) translateX(35px); opacity: 0; }
}

@keyframes eh-voice-pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px #cba6f7, 0 0 25px rgba(203, 166, 247, 0.4); }
    100% { transform: scale(1.06); box-shadow: 0 0 22px #ffb6c1, 0 0 35px rgba(255, 182, 193, 0.6); }
}

@keyframes eh-voice-wave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.5); }
}

@keyframes eh-voice-ui-fade {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}