[data-player-rotation-surface]{display:contents}
.player-rotation-buttons{position:absolute;inset:0;z-index:40;pointer-events:none;opacity:1;transition:opacity .3s,visibility .3s}
.dplayer-hide-controller .player-rotation-buttons{opacity:0;visibility:hidden;pointer-events:none}
.dplayer-hide-controller .player-rotation-buttons button{pointer-events:none}
.player-rotation-buttons[hidden]{display:none!important}
.player-rotation-buttons button{position:absolute;top:max(12px,env(safe-area-inset-top,0px));left:max(12px,env(safe-area-inset-left,0px));display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #a78bfa55;border-radius:11px;background:#211e2ac7;color:#f2eff9;box-shadow:0 3px 12px #0002;pointer-events:auto;touch-action:manipulation;cursor:pointer}
.player-rotation-buttons button>span{display:none}
.player-rotation-buttons button[data-rotate=right]{left:auto;right:max(12px,env(safe-area-inset-right,0px))}
#dplayer .player-rotation-buttons svg{display:block;flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#dplayer .player-rotation-buttons svg path{fill:none}
.player-rotation-buttons [data-rotate=right] svg{transform:scaleX(-1)}
.player-rotation-buttons button:focus-visible{outline:2px solid #c4a5ff;outline-offset:3px}
.player-rotation-buttons button:active{background:#7250bd}
.is-mini-player .player-rotation-buttons{display:none!important}
.player-shell:fullscreen,.player-shell:-webkit-full-screen{background:#080711;border-radius:0;width:100%;height:100%}
.player-shell:fullscreen #dplayer:not(.player-rotation-left):not(.player-rotation-right),.player-shell:-webkit-full-screen #dplayer:not(.player-rotation-left):not(.player-rotation-right){width:100%!important;height:100%!important;aspect-ratio:auto;border-radius:0}
/* Rotate a surface inside native fullscreen: fullscreen roots force transform:none. */
.is-player-rotated{overflow:hidden!important}
[data-player-rotation-surface].player-rotation-left,[data-player-rotation-surface].player-rotation-right,
#dplayer.player-rotation-left,#dplayer.player-rotation-right{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;width:var(--player-rotation-width)!important;height:var(--player-rotation-height)!important;max-width:none!important;max-height:none!important;min-height:0;margin:0!important;aspect-ratio:auto!important;border-radius:0;transform-origin:center;transform:translate(-50%,-50%) rotate(90deg)!important;background:#080711}
[data-player-rotation-surface].player-rotation-right,#dplayer.player-rotation-right{transform:translate(-50%,-50%) rotate(-90deg)!important}
#dplayer.dplayer-fulled:is(.player-rotation-left,.player-rotation-right){position:fixed!important}
