/* Jeden panel od nazwy pliku do odsłuchu. */
.quick-upload-pending #upload-section,
.quick-upload-pending #audio-fix-panel > :not(#audio-fix-progress) { display: none !important; }
.quick-upload-pending #results-section,
.quick-upload-pending #audio-fix-panel,
.quick-upload-pending #audio-fix-progress { display: block !important; }
.soni-progress-ring {
    --progress: 0%;
    position: relative;
    display: grid;
    place-items: center;
    width: min(270px, 76vw);
    aspect-ratio: 1;
    margin: 28px auto 18px;
    border-radius: 50%;
    background: conic-gradient(from -90deg, #ffad45 var(--progress), #ffffff12 0);
    box-shadow: 0 0 55px #ff880015;
    isolation: isolate;
}
.soni-progress-ring::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: #11151c;
    z-index: -1;
}
.soni-progress-ring > img { width: 75%; height: 75%; object-fit: contain; animation: soni-breathe 3s ease-in-out infinite; }
.soni-progress-ring .progress-mascot { width: 85%; height: 85%; margin: 0; background: none; border: 0; }
.soni-progress-percent { display: block; text-align: center; font-size: 2.8rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.soni-progress-estimate { text-align: center; color: #a9b1bd; font-size: .78rem; }
#single-progress-ui { display: flex; flex-direction: column; }
#single-progress-ui .progress-info { justify-content: center; }
#single-progress-ui .soni-progress-ring { order: 1; }
#single-progress-ui .soni-progress-percent { order: 2; }
#single-progress-ui .soni-progress-estimate { order: 3; }
#single-progress-ui .progress-status { order: 4; }
#single-progress-ui .progress-time-note { order: 5; }
#single-progress-ui .progress-fact-container { order: 6; }
#single-progress-ui .progress-bar-track { display: none; }
#audio-fix-progress { text-align: center; padding: clamp(20px, 4vw, 44px); }
#audio-fix-progress .audio-fix-progress-top { justify-content: center; }
#audio-fix-progress .progress-filename { display: block; text-align: center; width: 100%; overflow-wrap: anywhere; }
#audio-fix-progress .soni-progress-estimate { margin-top: 0; }
#audio-fix-progress.is-complete .soni-progress-estimate { visibility: hidden; }
#audio-fix-progress.is-complete img { animation: none; }
body[data-page-mode="audio_fix"] #audio-fix-panel[data-audio-fix-state="result"] > #audio-fix-progress.is-complete:not(.hidden) { display: block; }
.audio-fix-listening-card .audio-fix-player-controls { padding: 22px 12px; flex-wrap: wrap; gap: 18px; }
.audio-fix-listening-card .btn-compare-play { min-width: 130px; min-height: 66px; font-size: 1.15rem; }
.audio-fix-listening-card .audio-fix-waveform-wrap { min-height: 100px; }
.soni-listening-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 12px; color: #bcc5d1; font-variant-numeric: tabular-nums; }
.soni-listening-meta label { display: flex; align-items: center; gap: 12px; }
.soni-listening-meta input { width: min(150px, 38vw); accent-color: #ffad45; }
@keyframes soni-breathe { 50% { transform: translateY(-5px); filter: drop-shadow(0 8px 15px #ff880030); } }
@media (prefers-reduced-motion: reduce) { .soni-progress-ring > img { animation: none; } }
