.ptvfp-player,
.ptvfp-player * { box-sizing: border-box; }
.ptvfp-player {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 999999;
  width: min(480px, calc(100vw - 20px));
  max-width: 100%;
  color: #fff;
  background: #20252b;
  border: 2px solid #383838;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font: 600 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ptvfp-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.ptvfp-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #111; }
.ptvfp-video[hidden] { display: none; }
.ptvfp-ad-overlay { position: absolute; inset: 0; z-index: 10; pointer-events: auto; }
.ptvfp-ad-overlay[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.ptvfp-continue,
.ptvfp-play {
  appearance: none;
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 160px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: #20252b;
  font: inherit;
  cursor: pointer;
}
.ptvfp-continue[hidden],
.ptvfp-play[hidden] { display: none; }
.ptvfp-continue:focus-visible,
.ptvfp-play:focus-visible { outline: 3px solid #ffd54a; outline-offset: 3px; }
.ptvfp-close {
  appearance: none;
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-shadow: 0 1px 3px #000, 0 0 2px #000;
  font: 300 27px/1 sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ptvfp-close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.ptvfp-status { min-height: 32px; margin: 0; padding: 7px 12px; overflow-wrap: anywhere; color: #e3e8eb; background: #20252b; }
/* Keep the sticky playlist dismissible even before the first pointer interaction. */
.ptvfp-close { opacity: 1; }
