.vpw-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.vpw-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.vpw-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FDD441;
    border-radius: 20px 20px 20px 4px;
    padding: 10px 14px;
    user-select: none;
}

/* Кнопка */
.vpw-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    padding: 0;
    position: relative;
    transition: transform .15s ease, background .15s ease;
}

.vpw-btn:hover {
    transform: scale(1.07);
}

.vpw-btn:active {
    transform: scale(0.94);
}

.vpw-btn svg {
    position: absolute;
    fill: #fff;
    transition: opacity .2s ease, transform .2s ease;
}

.vpw-icon-play {
    opacity: 1;
    transform: scale(1);
}

.vpw-icon-pause {
    opacity: 0;
    transform: scale(0.7);
}

.vpw-btn.playing .vpw-icon-play {
    opacity: 0;
    transform: scale(0.7);
}

.vpw-btn.playing .vpw-icon-pause {
    opacity: 1;
    transform: scale(1);
}

/* Canvas */
.vpw-canvas-wrap {
    flex: 1;
    height: 36px;
    position: relative;
    cursor: pointer;
    touch-action: none;
}

.vpw-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Длительность */
.vpw-duration {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    min-width: 36px;
    text-align: right;
}

/* Кнопка расшифровки */
.vpw-transcript-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border: none;
    width: 100%;
    text-align: left;
    transition: background .15s ease;
}

.vpw-transcript-btn:hover {
    background: #e4e4e4;
}

/* Текст расшифровки — плавное раскрытие */
.vpw-transcript-text {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .4s ease, opacity .35s ease, padding .4s ease;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    box-sizing: border-box;
}

.vpw-transcript-text.open {
    max-height: 600px;
    opacity: 1;
    padding: 12px 16px;
}