.analyzerdiv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.jiantings{
    font-size: 0.6rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.jiantings.now{
    color: #009688;
}

#splDisplay{
    font-size: 2rem;
    line-height: 1;
}

.speeddiv{
    border: 1px solid #eee;
    padding: 0.5rem 0.5rem 0.75rem 0.5rem;
    border-radius: 3px;
    position: relative;
}

.night .speeddiv{
    border:1px solid #444;
}

.speeddiv .txtop{
    height: 1.2rem;
    line-height: 1.2rem;
    margin-bottom: 0.75rem;
}

.speeddiv span{
    font-size: 0.6rem;
    float: right;
}

#splProgress {
    width: 0%;
    height: 0.5rem;
    background: linear-gradient(90deg, #2dd4bf, #facc15, #ef4444);
    border-radius: 10px;
    transition: width 0.05s linear;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: none;
    height: 0.5rem;
}

#statusBadge{
    margin-top: 0.5rem;
}

.canvasdiv{
    margin: -0.25rem 0;
    border-radius: 3px;
    position: relative;
    width: 100%;
    
    border: 1px solid #444;
    background: radial-gradient(ellipse at 15% 40%, rgba(249, 115, 22, .07) 0%, transparent 55%), radial-gradient(ellipse at 85% 20%, rgba(239, 68, 68, .04) 0%, transparent 50%), radial-gradient(ellipse at 50% 90%, rgba(251, 191, 36, .04) 0%, transparent 45%);
    background-color: #181a1b;
}

.canvasdiv canvas {
    width: 100%;
    display: block;
    border-radius: 3px;
    background: transparent;
    image-rendering: crisp-edges; /* 标准属性 */
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -webkit-optimize-contrast; /* Safari 兼容 */
     object-fit: contain;   
}

.spectrum-canvas {
    aspect-ratio: 800/260;
}

.waveform-canvas {
    aspect-ratio: 800/260;
}

.history-canvas {
    aspect-ratio: 800/110;
}

.vu-canvas {
    aspect-ratio: 800/110;
}

.waterfall-canvas {
    aspect-ratio: 800/180;
}

.canvas-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: "Segoe UI", "Microsoft YaHei", monospace;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 20px;
    pointer-events: none;
    color: rgb(170, 170, 170);
}

.canvas-labels span {
    white-space: nowrap;
    float: none;
    font-size: 0.4rem;
    position: absolute;
    white-space: nowrap;
}

.full-width-panel {
    grid-column: 1/-1;
}

.icoxiazai{
    font-size: 0.6rem;
    margin-left: 0.5rem;
    color: #19baaa;
    cursor: pointer;
}

.player-card {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 3px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.night .player-card{
    border:1px solid #444;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-btn {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #009688, #4CAF50);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-display {
    font-family: monospace;
    min-width: 100px;
    text-align: center;
}

.progress-container {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar-wrapper {
    flex: 1;
    height: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.progress-bg {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    position: relative;
}

.night .progress-bg{
    background: #444;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2dd4bf);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.progress-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 0%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #3b82f6;
    pointer-events: none;
    z-index: 2;
}

.action-bar{
    border:1px solid #eee !important;
    margin-top: 0.5rem;
}

.night .action-bar{
    border-radius: 3px !important;
    border:1px solid #444 !important;
}



.npowers{
    width: 30rem;
    padding: 1rem;
}

.npowers h4{
    height: 0.8rem;
    line-height: 0.8rem;
    padding-left: 0.5rem;
    font-size: 0.6rem;
}

.npowers h6{
    height: 0.8rem;
    line-height: 0.8rem;
    padding-left: 0.5rem;
    font-size: 0.6rem;
    color: #FF9800;
    margin-bottom: 0.6rem;
}

.npowers ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.npowers ul li{
    padding: 0.5rem;
}

.npowers ul li h5{
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
}

.npowers ul li img{
    width: 100%;
    border: 1px solid #ccc;
}

.night .npowers ul li img{
    opacity: 0.8;
}

.npowers>p{
    font-size: 0.6rem;
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}

@media screen and (max-width: 460px){
    .analyzerdiv {
        grid-template-columns: 1fr;
    }
}