/* Shared player controls and HLS quality selector (theme independent). */
.player-shell { border-radius: 2px; background: #000; box-shadow: none; }
.tag-spotlight .player-shell { max-width: 100%; }
.player-shell.player-ready { cursor: pointer; }
.player-shell.player-ready video { cursor: pointer; }
.player-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: none;
    padding: 28px 12px 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
    color: #fff;
}
.player-shell.player-ready .player-controls { display: block; }
.player-shell:fullscreen { background: #000; }
.player-progress { padding: 0 2px 7px; }
.player-progress input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    margin: 0;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(to right, #ffcc00 var(--seek, 0%), rgba(255, 255, 255, .3) 0);
    cursor: pointer;
}
.player-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #ffcc00;
}
.player-progress input[type="range"]::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #ffcc00;
}
.player-bar { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.player-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.player-btn:hover { color: #ffcc00; }
.player-btn .icon { width: 19px; height: 19px; }
.player-volume { display: flex; align-items: center; gap: 7px; }
.player-volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 68px;
    height: 3px;
    margin: 0;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(to right, #fff var(--volume, 100%), rgba(255, 255, 255, .3) 0);
    cursor: pointer;
}
.player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}
.player-volume input[type="range"]::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}
.player-quality { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.player-quality[hidden] { display: none; }
.player-quality label { color: #bbb; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.player-quality select {
    min-height: 27px;
    padding: 2px 24px 2px 8px;
    border: 1px solid #3a3a3a;
    border-radius: 2px;
    background: #1b1b1b;
    color: #fff;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}
.player-quality select:focus { border-color: #ffcc00; outline: 0; }
.player-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ddd;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.player-time-sep { color: #777; }
.player-fullscreen { margin-left: 2px; }
.player-big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}
.player-big-play:hover { color: #ffcc00; transform: translate(-50%, -50%) scale(1.05); }
.player-big-play .icon { width: 28px; height: 28px; margin-left: 3px; }
.player-shell.is-playing .player-big-play { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
    .player-volume input[type="range"] { display: none; }
    .player-controls { padding: 22px 8px 6px; }
    .player-bar { gap: 6px; }
    .player-time { font-size: 10px; }
    .player-quality label { display: none; }
}
