.player {
    --logo-width:110px;
    --logo-opacity:1;
    --control-opacity:.85;
    --player-radius:0px;
    border-radius:var(--player-radius);
}

#channelLogo {
    width:var(--logo-width);
    max-width:30%;
    max-height:20%;
    height:auto;
    opacity:var(--logo-opacity);
    position:absolute;
    object-fit:contain;
    margin:0;
    pointer-events:none;
    z-index:5;
}

.player.logo-top-left #channelLogo {
    top:18px;
    left:18px;
}

.player.logo-top-right #channelLogo {
    top:18px;
    right:18px;
}

.player.logo-bottom-left #channelLogo {
    bottom:85px;
    left:18px;
}

.player.logo-bottom-right #channelLogo {
    bottom:85px;
    right:18px;
}

.player .controls {
    background:linear-gradient(
        transparent,
        rgba(0,0,0,var(--control-opacity))
    );
}

/* CLASSIC */
.theme-classic .big-play {
    border-radius:50%;
}

/* MODERN */
.theme-modern .controls {
    margin:12px;
    padding:14px;
    border-radius:14px;
    background:rgba(15,23,42,var(--control-opacity));
    backdrop-filter:blur(12px);
}

.theme-modern .big-play {
    background:var(--accent);
    border:0;
    border-radius:20px;
}

/* MINIMAL */
.theme-minimal .controls {
    padding:15px 12px 8px;
}

.theme-minimal .live-line {
    height:2px;
}

.theme-minimal .big-play {
    width:60px;
    height:60px;
    border:0;
    background:#0008;
}

/* PREMIUM */
.theme-premium .controls {
    margin:10px;
    padding:15px;
    border:1px solid #ffffff25;
    border-radius:18px;
    background:rgba(8,15,30,var(--control-opacity));
    backdrop-filter:blur(15px);
}

.theme-premium .big-play {
    background:var(--accent);
    border:2px solid #ffffff70;
    box-shadow:0 0 35px #0009;
}

.player.no-fullscreen #fullscreen,
.player.no-pip #pip,
.player.no-quality #quality,
.player.no-volume #volume,
.player.no-volume #mute {
    display:none!important;
}

.player.keep-controls.idle .controls {
    opacity:1;
    pointer-events:auto;
}

.player.keep-controls.idle {
    cursor:auto;
}

@media(max-width:600px) {
    .theme-modern .controls,
    .theme-premium .controls {
        margin:5px;
        padding:7px;
        border-radius:9px;
    }

    .player #channelLogo {
        max-width:25%;
    }

    .player .control-row {
        gap:3px;
    }
}

/* V3.9 independent logo layer */

.player > #channelLogo {
    max-height:25%;
    z-index:5;
}

.player .controls {
    z-index:10;
}

.player .big-play,
.player .loading {
    z-index:12;
}

.player:fullscreen {
    border-radius:0;
}

.player.keep-controls.idle .topbar {
    opacity:1;
}

@media(max-width:600px) {
    .player.logo-top-left #channelLogo,
    .player.logo-top-right #channelLogo {
        top:10px;
    }

    .player.logo-bottom-left #channelLogo,
    .player.logo-bottom-right #channelLogo {
        bottom:65px;
    }

    .player.logo-top-left #channelLogo,
    .player.logo-bottom-left #channelLogo {
        left:10px;
    }

    .player.logo-top-right #channelLogo,
    .player.logo-bottom-right #channelLogo {
        right:10px;
    }
}
