._voice-clone-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

._voice-clone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    overflow: hidden;
}

._voice-clone-top-text {
    position: absolute;
    top: 50%;  /* 改为50% */
    left: 50%; /* 添加水平居中 */
    transform: translate(-50%, -50%); /* 完美居中 */
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(90deg, #fff, #a0a0ff, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: _voice-clone-textGlow 3s ease-in-out infinite;
}

@keyframes _voice-clone-textGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 5px rgba(160, 160, 255, 0.5));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 15px rgba(160, 160, 255, 0.8));
    }
}

._voice-clone-card {
    position: absolute;
    bottom: 80px;
    width: 85%;
    max-width: 400px;
    height: 70px;
    background: rgba(30, 30, 40, 0.8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

._voice-clone-text-container {
    flex: 1;
    height: 24px;
    overflow: hidden;
    position: relative;
}

._voice-clone-text {
    position: absolute;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: var(--text-color-8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    font-weight: bold;
}

._voice-clone-text.active {
    opacity: 1;
    transform: translateY(0);
}

._voice-clone-wave-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 60px;
}

._voice-clone-wave-bar {
    width: 2px;
    height: 20px;
    margin: 0 2px;
    background: linear-gradient(to top, #a0a0ff, #667eea);
    border-radius: 2px;
    animation: _voice-clone-wave 1.2s ease-in-out infinite;
}

._voice-clone-wave-bar:nth-child(1) {
    animation-delay: 0s;
}

._voice-clone-wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

._voice-clone-wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

._voice-clone-wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

._voice-clone-wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes _voice-clone-wave {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1.5);
    }
}

._voice-clone-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

._voice-clone-icon {
    position: absolute;
    bottom: -50px;
    font-size: 28px;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(160, 160, 255, 0.4));
}

._voice-clone-sound-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    opacity: 0.3;
}

._voice-clone-wave-circle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #a0a0ff;
    animation: _voice-clone-ripple 3s linear infinite;
    z-index: 1;
}

._voice-clone-wave-circle:nth-child(2) {
    animation-delay: 1s;
}

._voice-clone-wave-circle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes _voice-clone-ripple {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) scale(100);
        opacity: 0;
    }
}

@keyframes _voice-clone-floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-80vh) rotate(15deg);
        opacity: 0;
    }
}



@keyframes _voice-clone-pulseEffect {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}