/*#tts-action {*/
/*    position: relative;*/
/*    transition: all 0.2s ease;*/
/*    border-radius: 999px;*/
/*}*/

/*#tts-action.active,*/
/*#tts-action[aria-pressed="true"] {*/
/*    background: #111;*/
/*    color: #fff;*/
/*    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.15);*/
/*    transform: scale(1.04);*/
/*}*/

/*#tts-action.active .elementor-button-icon,*/
/*#tts-action[aria-pressed="true"] .elementor-button-icon {*/
/*    transform: scale(1.08);*/
/*}*/

/*#tts-action.active::after,*/
/*#tts-action[aria-pressed="true"]::after {*/
/*    content: "TTS įjungtas";*/
/*    position: absolute;*/
/*    top: calc(100% + 8px);*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    white-space: nowrap;*/
/*    font-size: 12px;*/
/*    line-height: 1;*/
/*    padding: 7px 10px;*/
/*    border-radius: 999px;*/
/*    background: #111;*/
/*    color: #fff;*/
/*    box-shadow: 0 6px 20px rgba(0,0,0,0.15);*/
/*    z-index: 20;*/
/*}*/

/*body.tts-mode {*/
/*    cursor: crosshair;*/
/*}*/

/*body.tts-mode .tts-hovered {*/
/*    outline: 2px solid rgba(17, 17, 17, 0.14);*/
/*    background: rgba(17, 17, 17, 0.05);*/
/*    transition: background 0.15s ease, outline-color 0.15s ease;*/
/*}*/
/*#tts-action.active,*/
/*#tts-action[aria-pressed="true"] {*/
/*    animation: ttsPulse 1.6s ease-in-out infinite;*/
/*}*/

/*@keyframes ttsPulse {*/
/*    0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.18); }*/
/*    70% { box-shadow: 0 0 0 10px rgba(17, 17, 17, 0); }*/
/*    100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); }*/
/*}*/
#tts-action {
    position: relative;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* AKTYVUS – nekeičiam spalvų */
#tts-action.active,
#tts-action[aria-pressed="true"] {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

/* PULSE efektas (pagrindinis indikatorius) */
#tts-action.active,
#tts-action[aria-pressed="true"] {
    animation: ttsPulse 1.6s ease-in-out infinite;
}

@keyframes ttsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.18);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* LABEL */
#tts-action.active::after,
#tts-action[aria-pressed="true"]::after {
    content: "TTS aktyvus";
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);

    font-size: 12px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.85);
    color: #fff;

    white-space: nowrap;
    pointer-events: none;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

/* HOVER šiek tiek gyvesnis */
#tts-action:hover {
    transform: scale(1.05);
}

/* TTS režimas puslapyje */
body.tts-mode {
    cursor: crosshair;
}

body.tts-mode .tts-hovered {
    outline: 2px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.05);
    transition: background 0.15s ease;
}