.player-lightbox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 1;
    pointer-events: auto;
    transition: 0.3s ease;
}

.lightbox-folded {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-32px);
}

.player-container {
    width: 90%;
    max-width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    border-radius: 12px;
    border: 0;
    overflow: hidden;
    z-index: 1;
}

.player-spinner {
    width: 90%;
    max-width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.7);
    border-radius: 12px;
    overflow: hidden;
    background: url('../static/loading-light.gif') no-repeat center center;
    background-color: black;
    background-size: 64px 64px;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.player-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: url('../static/close-light.png') no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
}