/* Trenue 기사 읽어주기 (TTS) — v3.2.53 */

.trenue-tts-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.trenue-tts-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .15s;
    white-space: nowrap;
}

.trenue-tts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, .25);
}

.trenue-tts-btn:active {
    transform: translateY(0);
}

.trenue-tts-btn svg {
    flex: 0 0 auto;
}

.trenue-tts-wrap.is-playing .trenue-tts-btn {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

.trenue-tts-stop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #64748b;
    color: #fff;
    cursor: pointer;
    transition: background .15s;
}

.trenue-tts-stop:hover {
    background: #475569;
}

.trenue-tts-rate {
    height: 32px;
    padding: 0 6px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
}

.trenue-tts-progress {
    min-width: 34px;
    font-size: 12px;
    font-weight: 600;
    color: #0f766e;
    text-align: right;
}

/* 모바일: 글자 라벨을 숨겨 공유 버튼 줄이 깨지지 않게 함 */
@media (max-width: 480px) {
    .trenue-tts-wrap {
        margin-left: auto;
    }
    .trenue-tts-btn {
        height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
    .trenue-tts-label {
        display: none;
    }
    .trenue-tts-rate {
        height: 28px;
        font-size: 11px;
    }
}
