.presave-audio {
    width: 100%;
    margin-bottom: 18px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.presave-audio[hidden] {
    display: none;
}

.presave-audio__wave-wrap {
    position: relative;
    width: 100%;
    height: 72px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
    background: rgba(255, 255, 255, 0.04);
}

.presave-audio__wave {
    display: block;
    width: 100%;
    height: 100%;
}

.presave-audio__wave-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.presave-audio__wave-loading[hidden] {
    display: none !important;
}

.presave-audio__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.presave-audio__play {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffe7 0%, #2563eb 100%);
    color: #041018;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.presave-audio__play:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.presave-audio__play svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.presave-audio__time {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.82em;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
}

.presave-audio__volume {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.presave-audio__mute {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.presave-audio__mute svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.presave-audio__volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    outline: none;
    cursor: pointer;
}

.presave-audio__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.presave-audio__volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #fff;
}

.presave-audio__element {
    display: none;
}
