
/* NUJIZ AUDIO SMART STUDIO V31 */

/* Hide settings until a file is available */

html body.nas-awaiting-file .audio-workspace {

    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:900px!important;
    margin-inline:auto!important;
}

html body.nas-awaiting-file
.audio-workspace > .audio-controls {

    display:none!important;
}

html body.nas-awaiting-file
.audio-workspace > .audio-card:not(.audio-controls) {

    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

/* Prevent duplicate progress panels on shared engine */

html body.nas-shared-engine #speedProgressPanel,
html body.nas-shared-engine #compressProgress,
html body.nas-shared-engine #mergeProgressPanel,
html body.nas-shared-engine #nvsProgress {

    display:none!important;
}

/* Unified processing panel */

html body #nasProgressV31#nasProgressV31 {

    box-sizing:border-box!important;

    width:100%!important;
    max-width:100%!important;
    min-width:0!important;

    padding:24px!important;
    margin:20px 0!important;

    border:1px solid #8b72d7!important;
    border-radius:20px!important;

    background:linear-gradient(
        145deg,#17152c,#252345,#172d3b
    )!important;

    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;

    text-align:center!important;
    overflow:hidden!important;

    box-shadow:0 10px 30px rgba(48,28,100,.16);
}

html body #nasProgressV31[hidden] {

    display:none!important;
}

html body #nasProgressV31 * {

    box-sizing:border-box!important;
    color:#f8fafc!important;
    -webkit-text-fill-color:#f8fafc!important;
}

html body #nasProgressV31 .nas-brand {

    font-size:15px!important;
    font-weight:800!important;

    color:#ddd0ff!important;
    -webkit-text-fill-color:#ddd0ff!important;

    margin-bottom:18px!important;
}

html body #nasProgressV31 .nas-wave {

    height:72px!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    gap:3px!important;
    direction:ltr!important;
    overflow:hidden!important;
}

html body #nasProgressV31 .nas-wave i {

    flex:1 1 4px;
    max-width:5px;
    min-width:2px;

    height:var(--h);
    border-radius:8px;

    background:linear-gradient(
        0deg,#8b5cf6,#38bdf8,#6ee7b7
    );

    transform-origin:center;

    animation:nasWaveV31 1.2s ease-in-out infinite alternate;
    animation-delay:calc(var(--i) * -45ms);
}

@keyframes nasWaveV31 {

    from{transform:scaleY(.35);opacity:.6}
    to{transform:scaleY(1);opacity:1}
}

html body #nasProgressV31 .nas-percent {

    font-size:clamp(38px,6vw,54px)!important;
    line-height:1.3!important;
    font-weight:900!important;

    font-variant-numeric:tabular-nums;
    margin:8px 0!important;
}

html body #nasProgressV31 .nas-phase {

    font-size:18px!important;
    line-height:1.7!important;
    font-weight:700!important;

    margin-bottom:18px!important;
}

html body #nasProgressV31 .nas-track {

    height:12px!important;
    width:100%!important;

    background:#41465b!important;
    border-radius:30px!important;

    overflow:hidden!important;
    direction:ltr!important;
}

html body #nasProgressV31 .nas-fill {

    height:100%!important;
    width:0;

    border-radius:30px!important;

    background:linear-gradient(
        90deg,#a78bfa,#38bdf8,#34d399
    )!important;

    transition:width .65s ease;
}

html body #nasProgressV31 .nas-stages {

    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;

    margin:20px 0!important;
}

html body #nasProgressV31 .nas-stages span {

    font-size:13px!important;
    line-height:1.6!important;

    opacity:.65;
}

html body #nasProgressV31 .nas-stages span::before {

    content:"○";
    display:block;

    font-size:22px;
    margin-bottom:4px;
}

html body #nasProgressV31 .nas-stages .nas-active {

    opacity:1;
    font-weight:800!important;
}

html body #nasProgressV31 .nas-stages .nas-done {

    opacity:1;

    color:#86efac!important;
    -webkit-text-fill-color:#86efac!important;
}

html body #nasProgressV31 .nas-stages .nas-done::before {

    content:"✓";
}

html body #nasProgressV31 .nas-footer {

    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:12px!important;

    padding-top:12px!important;
    border-top:1px solid #52566d!important;
}

html body #nasProgressV31 .nas-footer small {

    font-size:13px!important;
    color:#e2e8f0!important;
    -webkit-text-fill-color:#e2e8f0!important;
}

html body #nasProgressV31[data-state="complete"] {

    border-color:#4ade80!important;
    background:linear-gradient(
        145deg,#102e28,#173d31
    )!important;
}

html body #nasProgressV31[data-state="complete"] .nas-percent {

    color:#86efac!important;
    -webkit-text-fill-color:#86efac!important;
}

html body #nasProgressV31[data-state="error"] {

    border-color:#f87171!important;
}

html body #nasProgressV31:not([data-state="running"])
.nas-wave i {

    animation:none!important;
}

@media(max-width:767px){

    html body #nasProgressV31#nasProgressV31 {

        padding:18px!important;
        border-radius:16px!important;
    }

    html body #nasProgressV31 .nas-phase {

        font-size:16px!important;
    }

    html body #nasProgressV31 .nas-stages span {

        font-size:12px!important;
    }

    html body #nasProgressV31 .nas-wave {

        gap:2px!important;
    }
}

@media(prefers-reduced-motion:reduce){

    html body #nasProgressV31 .nas-wave i {

        animation:none!important;
    }

    html body #nasProgressV31 .nas-fill {

        transition:none!important;
    }
}
