

#voice-dialog {

    box-sizing: border-box;

    width: min(680px, 94vw);

    max-height: 90vh;

    overflow-y: auto;

    background: #14291f;

    color: #f3e3c3;

    border: 1px solid #dfc18a60;

    border-radius: 28px;

    padding: 28px;

    text-align: center;

}

#voice-dialog::backdrop {

    background: #000b;

    backdrop-filter: blur(8px);

}

#voice-dialog h1 {

    font-family: Georgia, serif;

    font-weight: normal;

    color: #dfc18a;

    font-size: clamp(38px, 8vw, 68px);

}

#voice-close {

    display: block;

    margin-left: auto;

}

#voice-dialog button {

    font-size: 12px;

    padding: 10px 15px;

    margin: 4px;

}

#voice-stats {

    font-size: 12px;

    color: #dfc18a;

    padding: 15px 0;

}

.voice-record-area {

    padding: 25px 15px;

    margin: 15px 0;

    background: radial-gradient(

        ellipse at center,

        #dfc18a10,

        transparent

    );

}

#voice-dialog #voice-record {

    width: 85px;

    height: 85px;

    border-radius: 50%;

    background: #dfc18a12;

    border: 1px solid #dfc18a90;

    font-size: 32px;

    color: #dfc18a;

}

#voice-record.recording {

    animation: voice-pulse 1.4s infinite;

    color: #ed9d96 !important;

    border-color: #ed9d96 !important;

}

@keyframes voice-pulse {

    0%,100% {

        box-shadow: 0 0 0 0 #ed9d9630;

    }

    50% {

        box-shadow: 0 0 0 18px #ed9d9600;

    }

}

#voice-record-label {

    color: #dfc18a;

    font-size: 13px;

}

#voice-clock {

    font-size: 32px;

    font-family: Georgia, serif;

    font-variant-numeric: tabular-nums;

    color: #dfc18a;

    margin: 12px;

}

#voice-upload {

    text-align: left;

    padding: 18px;

    border-radius: 18px;

    border: 1px solid #dfc18a35;

    margin: 20px 0;

}

#voice-upload summary {

    color: #dfc18a;

    cursor: pointer;

}

#voice-upload input,
#voice-upload select,
#voice-upload textarea {

    width: 100%;

    box-sizing: border-box;

    margin: 10px 0;

    padding: 13px;

    background: #ffffff07;

    color: #f3e3c3;

    border: 1px solid #dfc18a30;

    border-radius: 12px;

    font-size: 14px;

}

#voice-upload textarea {

    min-height: 80px;

}

#voice-upload option {

    color: #f3e3c3;

    background: #14291f;

}

#voice-tabs {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 3px;

    padding: 20px 0;

}

#voice-tabs button.active {

    color: #dfc18a;

    background: #dfc18a20;

    border-color: #dfc18a;

}

#voice-list {

    display: grid;

    gap: 15px;

}

.voice-card {

    background: #ffffff06;

    border: 1px solid #dfc18a25;

    border-radius: 20px;

    padding: 20px;

    text-align: left;

}

.voice-card h3 {

    color: #f3e3c3;

    font-size: 20px;

    font-weight: normal;

    margin: 10px 0;

}

.voice-card small {

    color: #dfc18a;

    font-size: 11px;

}

.voice-card p {

    color: #c1cabe;

    font-size: 13px;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

    line-height: 1.8;

}

#voice-dialog audio {

    display: block;

    width: 100%;

    height: 42px;

    margin: 15px 0;

}

#voice-dialog audio[hidden] {

    display: none;

}

#voice-status {

    color: #dfc18a;

    font-size: 12px;

    overflow-wrap: anywhere;

}

@media (max-width: 600px) {

    #voice-dialog {

        padding: 16px;

    }

    .voice-card {

        padding: 15px;

    }

}


