.eottae-tts-player {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    margin: 12px 0 14px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #172033;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .07);
}
.eottae-tts-player__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #ff6b1a;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 107, 26, .22);
    transition: transform .15s ease, background-color .15s ease;
}
.eottae-tts-player__play:hover {
    background: #f25e0d;
}
.eottae-tts-player__play:active {
    transform: scale(.96);
}
.eottae-tts-player__play:focus-visible,
.eottae-tts-player__speed select:focus-visible {
    outline: 3px solid rgba(255, 107, 26, .28);
    outline-offset: 2px;
}
.eottae-tts-player.is-loading .eottae-tts-player__play {
    opacity: .65;
    cursor: wait;
}
.eottae-tts-player__main {
    min-width: 0;
}
.eottae-tts-player__main strong {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eottae-tts-player__main span {
    display: none;
    overflow: hidden;
    color: #526276;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eottae-tts-player.has-status .eottae-tts-player__main strong {
    display: none;
}
.eottae-tts-player.has-status .eottae-tts-player__main span {
    display: block;
}
.eottae-tts-player__meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}
.eottae-tts-player__speed {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}
.eottae-tts-player__speed span {
    color: #64748b;
}
.eottae-tts-player__speed select {
    border: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    outline: 0;
}
.eottae-tts-player__time {
    color: #526276;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.eottae-tts-player audio {
    display: none;
}

@media (max-width: 640px) {
    .eottae-tts-player {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 48px;
        margin: 10px 0 12px;
        padding: 5px 8px;
        border-radius: 12px;
    }
    .eottae-tts-player__play {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }
    .eottae-tts-player__main strong {
        font-size: 13px;
    }
    .eottae-tts-player__main span {
        font-size: 11px;
    }
    .eottae-tts-player__meta {
        gap: 5px;
    }
    .eottae-tts-player__speed {
        min-height: 28px;
        padding: 0 6px;
        font-size: 11px;
    }
    .eottae-tts-player__speed span {
        display: none;
    }
    .eottae-tts-player__time {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .eottae-tts-player__time {
        display: none;
    }
}
