.hap-player{--hap-bg:#050505;--hap-panel:#111318;--hap-line:#2b2f38;--hap-text:#f7f7f7;--hap-muted:#aeb4bf;--hap-accent:#f4f7fb;--hap-active:#20242c;--hap-pad-y:8px;--hap-pad-x:13px;--hap-radius:12px;--hap-btn:30px;--hap-font:13px;--hap-progress:8px;--hap-shadow:0 10px 24px rgba(0,0,0,.16);width:100%;margin:18px 0;font:inherit;color:var(--hap-text);position:relative;z-index:1}.hap-player audio{display:none!important}.hap-player-bar{box-sizing:border-box;min-height:50px;display:flex;align-items:center;gap:8px;padding:var(--hap-pad-y) var(--hap-pad-x);background:var(--hap-bg);border-radius:var(--hap-radius);box-shadow:var(--hap-shadow)}.hap-player-bar button{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--hap-text);cursor:pointer;padding:0;margin:0;width:var(--hap-btn);height:var(--hap-btn);display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font:inherit;line-height:1;flex:0 0 auto}.hap-player-bar button:hover,.hap-player-bar button:focus-visible{background:rgba(255,255,255,.12);outline:2px solid rgba(255,255,255,.55);outline-offset:1px}.hap-play{font-size:17px!important}.hap-prev,.hap-next{font-size:15px!important}.hap-current-time,.hap-duration{font-size:12px;font-variant-numeric:tabular-nums;color:var(--hap-text);white-space:nowrap;min-width:34px;text-align:center}.hap-seek,.hap-volume-range{-webkit-appearance:none;appearance:none;height:var(--hap-progress);border-radius:999px;background:#9ea2a8;margin:0;cursor:pointer}.hap-seek{flex:1 1 auto;min-width:70px}.hap-volume-range{width:72px;flex:0 0 72px;height:5px}.hap-seek::-webkit-slider-thumb,.hap-volume-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:var(--hap-accent);border:0;box-shadow:0 0 0 1px rgba(0,0,0,.2)}.hap-seek::-moz-range-thumb,.hap-volume-range::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--hap-accent);border:0}.hap-player-panel{box-sizing:border-box;background:var(--hap-panel);border:1px solid var(--hap-line);border-top:0;margin:-7px 8px 0;padding:15px 10px 10px;border-radius:0 0 var(--hap-radius) var(--hap-radius);box-shadow:var(--hap-shadow)}.hap-player-panel[hidden]{display:none!important}.hap-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 6px 9px;border-bottom:1px solid var(--hap-line)}.hap-panel-head strong,.hap-panel-head small{display:block}.hap-panel-head strong{font-size:13px}.hap-panel-head small{margin-top:2px;color:var(--hap-muted);font-size:11px}.hap-pro-controls{display:flex;align-items:center;gap:10px}.hap-pro-controls label{font-size:11px;color:var(--hap-muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.hap-pro-controls input{margin:0}.hap-reset{appearance:none;border:0;background:transparent;color:var(--hap-muted);font:inherit;font-size:11px;cursor:pointer}.hap-player-track-list{display:block;margin-top:6px}.hap-track{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:5px;min-height:38px;border-radius:7px;padding:2px 5px;color:var(--hap-text);border:1px solid transparent}.hap-player.is-pro .hap-track{grid-template-columns:22px 23px minmax(0,1fr) auto}.hap-track:hover{background:rgba(255,255,255,.07)}.hap-track.is-active{background:var(--hap-active);border-color:rgba(255,255,255,.12)}.hap-track.is-disabled .hap-track-button{opacity:.42;text-decoration:line-through}.hap-track-num,.hap-drag-handle{text-align:center;color:var(--hap-muted);font-size:11px}.hap-drag-handle{cursor:grab;font-size:15px;touch-action:none;user-select:none}.hap-track-check{display:flex;align-items:center;justify-content:center}.hap-track-check input{width:14px;height:14px;margin:0}.hap-track-button{appearance:none;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;font-size:var(--hap-font);padding:7px 6px;border-radius:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.hap-track-button strong,.hap-track-button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hap-track-button small{font-size:10px;color:var(--hap-muted);margin-top:2px}.hap-track-button:hover,.hap-track-button:focus-visible{background:rgba(255,255,255,.08);outline:none}.hap-track-duration{font-size:11px;color:var(--hap-muted);font-variant-numeric:tabular-nums;min-width:34px;text-align:right}.hap-track.is-dragging{opacity:.4}.hap-track.drag-over{border-color:var(--hap-accent)}
@media(max-width:640px){.hap-player-bar{gap:5px;padding-left:8px;padding-right:8px}.hap-current-time{display:none}.hap-volume-range{display:none}.hap-player-panel{margin-left:4px;margin-right:4px}.hap-panel-head{align-items:flex-start}.hap-pro-controls{gap:5px}.hap-prev,.hap-next{width:25px!important}}
/* 1.0.1 status visibility + lyrics */
.hap-current-time,.hap-remaining-time{font-size:12px;font-variant-numeric:tabular-nums;color:var(--hap-text);white-space:nowrap;min-width:38px;text-align:center}.hap-track-position,.hap-volume-value{font-size:11px;font-variant-numeric:tabular-nums;color:var(--hap-muted);white-space:nowrap;flex:0 0 auto}.hap-track-position{min-width:34px;text-align:center}.hap-volume-value{min-width:34px;text-align:left}.hap-seek,.hap-volume-range{background:linear-gradient(to right,var(--hap-accent) 0%,var(--hap-accent) 0%,#60656d 0%,#60656d 100%)}.hap-seek:focus-visible,.hap-volume-range:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:3px}.hap-lyrics-toggle.has-lyrics{background:rgba(255,255,255,.1)}.hap-lyrics-content{white-space:pre-wrap;line-height:1.65;color:var(--hap-text);font-size:var(--hap-font);padding:16px 9px 10px;max-height:min(55vh,520px);overflow:auto}.hap-lyrics-panel .hap-panel-head{padding-bottom:10px}.hap-lyrics-panel .hap-lyrics-title{font-size:13px}.hap-lyrics-panel .hap-lyrics-subtitle{margin-top:2px;color:var(--hap-muted);font-size:11px}
@media(max-width:760px){.hap-track-position{display:none}.hap-volume-value{display:none}}
@media(max-width:640px){.hap-remaining-time{display:none}.hap-current-time{display:inline-block}.hap-player-bar{gap:4px}.hap-player-bar button{width:27px;height:27px}.hap-seek{min-width:55px}}


/* 1.0.2 slider clarity fixes */
.hap-seek,.hap-volume-range{position:relative;border:0;outline:none;background:linear-gradient(to right,var(--hap-accent) 0%,var(--hap-accent) 0%,#60656d 0%,#60656d 100%)}
.hap-seek{height:10px}
.hap-volume-range{height:8px}
.hap-seek::-webkit-slider-runnable-track,.hap-volume-range::-webkit-slider-runnable-track{height:100%;background:transparent;border:0;border-radius:999px}
.hap-seek::-moz-range-track,.hap-volume-range::-moz-range-track{height:100%;background:transparent;border:0;border-radius:999px}
.hap-seek::-webkit-slider-thumb,.hap-volume-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:0;height:0;background:transparent;border:0;box-shadow:none}
.hap-seek::-moz-range-thumb,.hap-volume-range::-moz-range-thumb{width:0;height:0;background:transparent;border:0;box-shadow:none}
.hap-seek:focus,.hap-volume-range:focus{outline:none}
.hap-seek:focus-visible,.hap-volume-range:focus-visible{outline:2px solid rgba(255,255,255,.68);outline-offset:3px}
.hap-current-time,.hap-remaining-time{min-width:44px}
.hap-volume-value{min-width:38px}

/* 1.0.3 volume thumb fix */
.hap-volume-range::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:0!important;height:0!important;opacity:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.hap-volume-range::-moz-range-thumb{width:0!important;height:0!important;opacity:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.hap-volume-range::-ms-thumb{width:0!important;height:0!important;opacity:0!important;background:transparent!important;border:0!important;box-shadow:none!important}


/* 1.0.4 suppress theme/browser loading-dot artifacts inside player bar */
.hap-player::before,.hap-player::after,
.hap-player-bar::before,.hap-player-bar::after,
.hap-player-bar *::before,.hap-player-bar *::after{
    content:none!important;
    display:none!important;
    animation:none!important;
    opacity:0!important;
}
.hap-player-bar{background-image:none!important;}

/* 1.0.5 consistent mobile control icons */
.hap-player .hap-player-bar button{
    -webkit-appearance:none!important;
    appearance:none!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    color:var(--hap-text)!important;
    text-shadow:none!important;
}
.hap-player .hap-player-bar button:hover,
.hap-player .hap-player-bar button:focus,
.hap-player .hap-player-bar button:active{
    background:rgba(255,255,255,.10)!important;
    box-shadow:none!important;
}
.hap-player .hap-icon{
    display:block!important;
    width:16px;
    height:16px;
    fill:currentColor;
    stroke:none;
    pointer-events:none;
}
.hap-player .hap-play .hap-icon{width:18px;height:18px}
@media(max-width:640px){
    .hap-player .hap-player-bar button{
        background:transparent!important;
        border-radius:6px!important;
        min-width:27px!important;
        min-height:27px!important;
        padding:0!important;
    }
    .hap-player .hap-player-bar button .hap-icon{
        width:15px!important;
        height:15px!important;
    }
    .hap-player .hap-player-bar .hap-play .hap-icon{
        width:17px!important;
        height:17px!important;
    }
}

/* 1.0.7 touch dragging + compact playlist rows */
.hap-seek,.hap-volume-range{
    touch-action:none!important;
    -webkit-user-select:none!important;
    user-select:none!important;
}
.hap-player-panel{
    padding:9px 8px 7px;
}
.hap-panel-head{
    padding:0 5px 6px;
}
.hap-player-track-list{
    margin-top:3px;
}
.hap-track{
    min-height:0!important;
    padding:1px 4px!important;
    gap:4px!important;
    border-radius:6px;
}
.hap-track-button{
    min-height:0!important;
    margin:0!important;
    padding:4px 5px!important;
    line-height:1.15!important;
}
.hap-track-button strong{
    margin:0!important;
    padding:0!important;
    line-height:1.2!important;
}
.hap-track-button small{
    margin:1px 0 0!important;
    padding:0!important;
    line-height:1.15!important;
}
.hap-track-num,.hap-track-duration{
    line-height:1!important;
}
.hap-track-duration{
    min-width:42px!important;
    padding-right:2px;
}
@media(max-width:640px){
    .hap-player-panel{padding:7px 5px 6px!important;margin-left:2px;margin-right:2px}
    .hap-panel-head{padding:0 4px 5px!important}
    .hap-player-track-list{margin-top:2px!important}
    .hap-track{padding:1px 2px!important;gap:2px!important;grid-template-columns:20px minmax(0,1fr) 40px!important}
    .hap-player.is-pro .hap-track{grid-template-columns:18px 20px minmax(0,1fr) 40px!important}
    .hap-track-button{padding:3px 4px!important;font-size:12px!important}
    .hap-track-button small{font-size:9px!important}
    .hap-track-duration{font-size:10px!important;min-width:38px!important}
}

/* 1.0.10 playlist options visibility */
.hap-playlist-options{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 8px 6px;border-bottom:1px solid var(--hap-line);color:var(--hap-muted)}
.hap-repeat-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.hap-repeat-label input{margin:0;width:15px;height:15px}
.hap-playlist-options .hap-reset{margin-left:auto}
@media(max-width:640px){.hap-playlist-options{padding:6px 5px}.hap-repeat-label{font-size:12px}}
