.floating-player{position:fixed;right:clamp(12px,3vw,30px);bottom:clamp(12px,3vw,30px);z-index:10;width:min(432px,calc(100vw - 24px));max-width:calc(100vw - 24px);overflow:hidden;border:1px solid #51413c;border-radius:15px;background:#242020;color:#fff4f0;box-shadow:0 18px 50px #2c1a1552,0 4px 12px #2c1a1533}.floating-player[data-compact=true]{width:min(356px,calc(100vw - 24px))}.floating-player[data-portrait]{width:min(360px,calc(100vw - 24px),calc((100dvh - 96px)*.5625))}.floating-player[data-portrait][data-compact=true]{width:min(280px,calc(100vw - 24px),calc((100dvh - 96px)*.5625))}.floating-player[data-portrait] .player-screen{min-height:140px;max-height:calc(100dvh - 96px);aspect-ratio:9 / 16}.player-header{display:flex;align-items:center;gap:3px;padding:4px 17px 4px 0;user-select:none;-webkit-user-select:none}.player-resize{position:absolute;z-index:1;width:18px;height:18px;cursor:nwse-resize;touch-action:none}.player-resize:after{position:absolute;top:4px;left:4px;width:7px;height:7px;border-top:1px solid #bca8a0;border-left:1px solid #bca8a0;border-radius:2px 0 0;content:""}.player-resize:hover:after{border-color:#fff4f0}.player-resize[data-corner=nw]{top:0;left:0}.player-resize[data-corner=ne]{top:0;right:0;cursor:nesw-resize;transform:scaleX(-1)}.player-resize[data-corner=sw]{bottom:0;left:0;cursor:nesw-resize;transform:scaleY(-1)}.player-resize[data-corner=se]{right:0;bottom:0;transform:scale(-1)}.player-grip{display:flex;flex:1;align-items:center;gap:10px;min-width:0;min-height:36px;padding-inline:13px 5px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.player-grip:active{cursor:grabbing}.player-grip h2{overflow:hidden;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.grip-icon{flex:0 0 10px;height:15px;background:radial-gradient(circle,#a8958d 1px,transparent 1.5px) 0 0 / 5px 5px}.player-control{display:grid;flex:0 0 29px;height:29px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#e9d9d2}.player-control:hover{background:#463a36;color:#fff}.pip-control{display:flex;flex:0 0 auto;gap:5px;padding:0 7px;font-size:11px;white-space:nowrap}.pip-control:disabled{opacity:.55;cursor:default}.pip-control[aria-pressed=true]{background:#50352d;color:#ffdbcf}.pip-icon{position:relative;width:14px;height:10px;border:1px solid currentColor;border-radius:2px}.pip-icon:after{position:absolute;right:1px;bottom:1px;width:6px;height:4px;border-radius:1px;background:currentColor;content:""}.floating-player :focus-visible{outline-color:#ffc0b4;outline-offset:-2px}.size-icon{width:12px;height:10px;border:1px solid currentColor;border-radius:1px}[data-compact=false] .size-icon{width:9px;height:7px;border-radius:1px;box-shadow:-2px -2px #242020,-3px -3px currentColor}.close-icon{position:relative;width:12px;height:12px}.close-icon:before,.close-icon:after{position:absolute;top:5px;left:0;width:12px;height:1.5px;border-radius:1px;background:currentColor;transform:rotate(45deg);content:""}.close-icon:after{transform:rotate(-45deg)}.player-screen{position:relative;display:grid;min-height:200px;aspect-ratio:16 / 9;place-items:center;background:#080707}.player-screen iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}.floating-player[data-dragging] iframe{pointer-events:none}.player-status{padding:16px;color:#d5c2ba;font-size:12px;text-align:center}.player-footer{display:flex;align-items:center;gap:8px;padding:5px 19px}.player-feedback{color:#edcec4;font-size:11px}.player-footer a{margin-inline-start:auto;padding:3px 5px;border-radius:4px;color:#edcec4;font-size:11px;white-space:nowrap}.player-footer a:hover{color:#fff;text-decoration:underline}.floating-player.floating-player:fullscreen,.floating-player.floating-player[data-fullscreen=true]{position:fixed;inset:0;z-index:7000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:none;height:100%;border:0;border-radius:0;box-shadow:none}.floating-player:fullscreen .player-resize,.floating-player[data-fullscreen=true] .player-resize{display:none}.floating-player:fullscreen .player-header,.floating-player[data-fullscreen=true] .player-header{padding-inline:0 8px}.floating-player:fullscreen .player-grip,.floating-player[data-fullscreen=true] .player-grip{cursor:default}.floating-player:fullscreen .size-icon,.floating-player[data-fullscreen=true] .size-icon{width:9px;height:7px;border-radius:1px;box-shadow:-2px -2px #242020,-3px -3px currentColor}.floating-player:fullscreen .player-screen,.floating-player[data-fullscreen=true] .player-screen{min-height:0;max-height:none;aspect-ratio:auto;width:100%;height:100%}
