/* Floating mini-player (shared). Enters with a 250ms ease-out rise; honors reduced motion. */
video.is-pip { position: fixed !important; right: 20px; bottom: 20px; width: 360px !important; height: auto !important; aspect-ratio: 16 / 9; z-index: 80; border-radius: 12px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); background: #000; animation: pip-in .25s ease-out; }
video.is-pip + .pip-x { display: grid; }
.pip-x { display: none; position: fixed; right: 26px; bottom: calc(20px + 360px * 9 / 16 - 34px); z-index: 81; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; place-items: center; border: 0; cursor: pointer; }
@keyframes pip-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { video.is-pip { right: 12px; left: auto; top: 64px; bottom: auto; width: 58vw !important; } .pip-x { top: 70px; bottom: auto; right: 18px; } }
@media (prefers-reduced-motion: reduce) { video.is-pip { animation: none; } }
