/* My Voice Entry Styles */
.my-voice-entry {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 16px;
    border: 1px solid #6b7280;
    border-radius: 0.75rem;
    background-color: #4b5563;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .my-voice-entry {
        min-height: 38px;
        padding: 6px 20px;
        font-size: 14px;
    }
}

.my-voice-entry:hover {
    border-color: rgba(124, 58, 237, 0.6);
    background-color: #252f3f;
    transform: translateY(-1px);
}

.my-voice-entry:active {
    transform: translateY(0);
    background-color: #2a3447;
}

.my-voice-entry:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: 2px;
}

.my-voice-entry svg {
    width: 14px;
    height: 14px;
}

.my-voice-entry .new-badge {
    display: inline-block;
    margin-left: 2px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    border-radius: 9999px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.45);
    pointer-events: none;
}

/* ===== My Voice Flow Demo ===== */
.mv-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mv-overlay.open {
    display: flex;
}

.mv-modal {
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    overflow-y: auto;
    background: #1f2937;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mv-screen {
    display: none;
    padding: 28px 32px 28px;
    font-size: 15px;
}

.mv-screen.active {
    display: block;
}

.mv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
}

.mv-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.mv-list-subtitle {
    max-width: 560px;
    margin: -10px auto 24px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 640px) {
    .mv-header {
        flex-wrap: wrap;
    }

    .mv-title {
        position: static;
        transform: none;
        order: 3;
        flex-basis: 100%;
        text-align: center;
        margin-top: 14px;
        white-space: normal;
        font-size: 18px;
    }

    .mv-list-subtitle {
        margin: -2px auto 18px;
        font-size: 13px;
    }
}

.mv-icon-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: all 0.15s;
}

.mv-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* Voices list */
.mv-create-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 0.875rem;
    background: #374151;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 16px;
}

.mv-create-card:hover {
    background: #4b5563;
}

.mv-hex {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}

.mv-hex.dashed::after {
    content: '+';
}

.mv-hex-img {
    width: 46px;
    height: 46px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.mv-create-copy {
    min-width: 0;
}

.mv-create-title {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-create-sub {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 4px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .mv-create-card {
        gap: 10px;
        padding: 12px 14px;
    }

    .mv-hex {
        width: 38px;
        height: 38px;
        font-size: 34px;
        flex: 0 0 38px;
    }

    .mv-create-title {
        font-size: 16px;
    }

    .mv-create-sub {
        font-size: 13px;
    }
}

.mv-badge-new {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    border-radius: 9999px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.45);
}

.mv-arrow {
    color: #9ca3af;
    margin-left: auto;
    font-size: 18px;
}

.mv-voice-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
    margin: 18px 0 14px;
}

.mv-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 0.625rem;
    background: transparent;
    border: 1px solid #374151;
    margin-bottom: 16px;
    transition: border-color 0.15s;
}

.mv-search:focus-within {
    border-color: #7c3aed;
}

.mv-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 15px;
}

.mv-search input::placeholder {
    color: #9ca3af;
}

.mv-voice-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.mv-voice-row:hover {
    background: #374151;
}

.mv-voice-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
    flex: 0 0 auto;
    transition: border-color 0.15s, background 0.15s;
}

.mv-voice-play-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.mv-voice-play-btn .mv-voice-play-icon,
.mv-voice-play-btn .mv-voice-pause-icon {
    display: block;
}

.mv-voice-play-btn .hidden {
    display: none !important;
}

.mv-voice-name {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.mv-voice-sub {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
    text-align: left;
}

.mv-empty {
    text-align: center;
    color: #9ca3af;
    padding: 80px 0;
    font-size: 16px;
}

/* Create new voice */
.mv-add-panel {
    border-radius: 0.625rem;
    padding: 26px;
    background: transparent;
    border: 1px dashed #374151;
    text-align: center;
}

.mv-add-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mv-add-desc {
    font-size: 14px;
    color: #9ca3af;
    max-width: 680px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

.mv-add-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.mv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    min-width: 150px;
    padding: 10px 18px;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #ffffff;
    transition: all 0.15s;
}

.mv-action-btn:hover {
    background: #f3f4f6;
    border-color: #f3f4f6;
}

.mv-action-btn[disabled],
.mv-action-btn.disabled {
    background: #4b5563;
    color: #ffffff;
    border-color: #6b7280;
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.mv-consent {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 0.625rem;
    background: rgba(124, 58, 237, 0.14);
    border: 2px solid #8b5cf6;
    text-align: left;
    animation: mv-consent-pulse 1.35s ease-in-out infinite;
}

.mv-consent.checked {
    background: transparent;
    border: 1px solid #374151;
    animation: none;
}

@keyframes mv-consent-pulse {
    0%, 100% {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.55), 0 0 0 rgba(168, 85, 247, 0);
        background: rgba(124, 58, 237, 0.12);
    }
    50% {
        border-color: #d946ef;
        box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.16), 0 0 24px rgba(168, 85, 247, 0.38);
        background: rgba(124, 58, 237, 0.22);
    }
}

.mv-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    border-radius: 4px;
    border: 1.5px solid #9ca3af;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.mv-checkbox.checked {
    background: #7c3aed;
    border-color: #7c3aed;
}

.mv-checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.mv-consent-text {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 500;
}

.mv-consent.checked .mv-consent-text {
    font-size: 13px;
    color: #ffffff;
    font-weight: 400;
}

.mv-tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 640px) {
    .mv-tips-grid {
        grid-template-columns: 1fr;
    }
}

.mv-tip-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 0.625rem;
    background: transparent;
    border: 1px solid #374151;
    text-align: left;
    align-items: flex-start;
}

.mv-tip-ic {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mv-tip-title {
    font-size: 14px;
    font-weight: 600;
}

.mv-tip-desc {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.45;
}

/* Record */
.mv-rec-time {
    text-align: center;
    color: #9ca3af;
    font-size: 18px;
}

.mv-rec-prompt {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #d1d5db;
    margin: 14px 0 26px;
}

.mv-wave {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    margin-bottom: 24px;
    overflow: hidden;
}

.mv-wave .bar {
    width: 2px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;
}

.mv-rec-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 6px;
}

.mv-rec-btn {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    min-width: 96px;
    flex: 0 0 96px;
    aspect-ratio: 1 / 1;
    border: 2px solid #4b5563;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: all 0.15s;
}

.mv-rec-btn::after {
    content: '';
    width: 78px;
    height: 78px;
    background: #ef4444;
    border-radius: 9999px;
    transition: all 0.15s;
    pointer-events: none;
}

.mv-rec-btn:hover::after {
    background: #dc2626;
}

.mv-rec-btn.recording::after,
.mv-rec-btn.paused::after {
    display: none;
}

.mv-rec-btn.confirm::after {
    content: '✓';
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}

.mv-rec-core {
    display: none;
    width: 78px;
    height: 78px;
    min-width: 78px;
    flex: 0 0 78px;
    border-radius: 9999px;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    color: #111827;
    pointer-events: none;
}

.mv-rec-icon {
    width: 32px;
    height: 32px;
    display: none;
}

.mv-rec-btn.recording .mv-rec-core,
.mv-rec-btn.paused .mv-rec-core {
    display: inline-flex;
}

.mv-rec-btn.recording .mv-rec-icon-pause {
    display: block;
}

.mv-rec-btn.paused .mv-rec-icon-play {
    display: block;
    margin-left: 3px;
}

.mv-rec-ring {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    min-width: calc(100% + 4px);
    aspect-ratio: 1 / 1;
    pointer-events: none;
    transform: rotate(-90deg);
}

.mv-rec-ring circle {
    fill: none;
    stroke: transparent;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.25s linear, stroke 0.3s ease;
}

/* Red countdown ring for read-aloud screen */
.mv-rec-ring-red {
    fill: none;
    stroke: transparent;
    stroke-width: 4;
    stroke-linecap: round;
}

.mv-rec-btn.countdown .mv-rec-ring-red {
    stroke: #ef4444;
}

/* Voice verifying screen */
.mv-voiceverify-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 320px;
    padding: 40px 24px;
}

.mv-voiceverify-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.mv-voiceverify-bar {
    width: min(520px, 80%);
    height: 10px;
    background: #2a2f3a;
    border-radius: 9999px;
    overflow: hidden;
}

.mv-voiceverify-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ec4899, #f472b6);
    border-radius: 9999px;
    transition: width 0.2s linear;
}

/* Done button gated state */
#mv-done-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    background: #4b5563;
    border-color: #4b5563;
    color: #d1d5db;
}

#mv-done-btn:not([disabled]) {
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
    font-weight: 600;
}

#mv-done-btn:not([disabled]):hover {
    background: #e5e7eb;
    border-color: #e5e7eb;
}

.mv-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 0.5rem;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #374151;
    transition: all 0.15s;
}

.mv-pill-btn:hover {
    border-color: #7c3aed;
}

.mv-pill-btn.primary {
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
    font-weight: 600;
}

.mv-pill-btn.primary:hover {
    background: #e5e7eb;
    border-color: #e5e7eb;
}

.mv-pill-btn.light {
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
    font-weight: 600;
}

.mv-pill-btn.light:hover {
    background: #e5e7eb;
    border-color: #e5e7eb;
}

@media (max-width: 480px) {
    .mv-rec-controls {
        gap: 12px;
    }

    .mv-rec-controls .mv-pill-btn {
        padding: 10px 14px;
        min-width: 0;
    }
}

.mv-rec-hint {
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
    margin-bottom: 10px;
}

.mv-tips-toggle {
    display: block;
    margin: 22px auto 8px;
    color: #9ca3af;
    font-size: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mv-tips-toggle:hover {
    color: #d1d5db;
}

.mv-progress-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.mv-progress-dots .dot {
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
}

.mv-progress-dots .dot.active {
    background: rgba(255, 255, 255, 0.62);
}

.mv-audio-input {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 0.5rem;
    background: transparent;
    border: 1px solid #374151;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
}

.mv-audio-input:hover {
    background: #374151;
}

/* Trim */
.mv-trim-badge {
    display: inline-block;
    background: linear-gradient(to right, #a855f7, #ec4899);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: 700;
}

.mv-trim-box {
    margin: 22px 0 14px;
    padding: 16px 0;
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: transparent;
    user-select: none;
    cursor: pointer;
}

.mv-trim-box .bar {
    width: 2px;
    flex: 0 0 2px;
    background: #ffffff;
    border-radius: 2px;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.mv-trim-box .bar.outside {
    opacity: 0.18;
}

.mv-trim-window {
    position: absolute;
    top: 0;
    bottom: 0;
    border: 1px solid #22c55e;
    border-radius: 0.625rem;
    pointer-events: none;
    z-index: 1;
}

.mv-trim-handle {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 44px;
    margin-top: -22px;
    margin-left: -5px;
    background: #22c55e;
    border-radius: 3px;
    cursor: ew-resize;
    z-index: 3;
    touch-action: none;
}

.mv-trim-handle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 18px;
    margin-left: -1px;
    margin-top: -9px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 1px;
}

.mv-trim-scrub {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: #ffffff;
    z-index: 4;
    cursor: grab;
    touch-action: none;
}

.mv-trim-scrub.dragging {
    cursor: grabbing;
}

.mv-trim-range {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin: 16px 0 12px;
}

.mv-play-circle {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: transparent;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    border: 1px solid #374151;
    transition: all 0.15s;
    padding: 0;
}

.mv-play-circle:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.12);
}

.mv-play-circle .mv-play-icon-play {
    margin-left: 3px;
}

.mv-play-circle .mv-play-icon-pause {
    display: none;
}

.mv-play-circle.playing .mv-play-icon-play {
    display: none;
}

.mv-play-circle.playing .mv-play-icon-pause {
    display: block;
}

.mv-action-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

/* Verify / Read aloud */
.mv-lang-select {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 0.5rem;
    background: #374151;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: background 0.2s;
}

.mv-lang-select:hover {
    background: #4b5563;
}

.mv-lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #374151;
    border-radius: 0.5rem;
    min-width: 220px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5;
}

.mv-lang-dropdown.open {
    display: block;
}

.mv-lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.mv-lang-item:hover {
    background: #4b5563;
}

.mv-lang-item .tick {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: #7c3aed;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
}

.mv-verify-center {
    text-align: center;
    padding: 60px 0;
}

.mv-spinner {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    border: 4px solid #374151;
    border-top-color: #7c3aed;
    margin: 0 auto 18px;
    animation: mv-spin 1s linear infinite;
}

@keyframes mv-spin {
    to {
        transform: rotate(360deg);
    }
}

.mv-read-label {
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
    margin-top: 12px;
}

.mv-read-phrase {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 24px 0 36px;
}

.mv-screen.mv-read-loading .mv-read-phrase {
    color: #9ca3af;
    font-size: 40px;
    font-weight: 500;
    margin: 34px 0 54px;
}

.mv-screen.mv-read-loading .mv-wave {
    height: 150px;
}

.mv-screen.mv-read-loading .mv-rec-counter {
    color: #9ca3af;
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
}

.mv-timesup {
    text-align: center;
    color: #ef4444;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.mv-rec-counter {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-top: 12px;
}

/* Voice details */
.mv-details-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 620px;
    margin: 0 auto 14px;
    text-align: left;
}

.mv-detail-card {
    background: transparent;
    padding: 0;
}

.mv-listen-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #374151;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.mv-listen-card:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.mv-listen-play {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #ffffff;
    padding: 0;
    flex: 0 0 auto;
}

.mv-listen-play:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.mv-listen-play .mv-play-icon,
.mv-listen-play .mv-pause-icon {
    display: block;
}

.mv-listen-play .hidden {
    display: none !important;
}

.mv-listen-meta {
    font-size: 14px;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.mv-listen-meta .name {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.mv-listen-meta .time {
    color: #9ca3af;
    font-size: 13px;
    margin-top: 2px;
}

.mv-field-label {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 500;
}

.mv-input {
    width: 100%;
    padding: 12px 14px;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.15s;
}

.mv-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.mv-input:focus {
    border-color: #7c3aed;
}

.mv-legal {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.55;
    margin: 16px 0;
}

.mv-save-btn {
    display: block;
    margin: 0 auto;
    min-width: 220px;
    padding: 12px 40px;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
}

.mv-save-btn:hover {
    background: #e5e7eb;
}

/* Selected voice card in main form */
.mv-selected-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 0.75rem;
    background: #374151;
    border: 1px solid #4b5563;
    margin-top: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.mv-selected-card:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.mv-selected-title {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    align-self: start;
}

.mv-selected-voice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mv-selected-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    min-width: 0;
}

.mv-selected-card .swap-icons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-self: start;
}

.mv-selected-card .icon-btn {
    width: 28px;
    height: 28px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

.mv-selected-card .icon-btn svg {
    width: 20px;
    height: 20px;
}

.mv-selected-card .icon-btn:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
}

.mv-switch-version {
    padding: 6px 16px;
    border-radius: 9999px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    justify-self: end;
}

.mv-switch-version:hover {
    background: #e5e7eb;
}
