/* Home page AutoPlay PiP player */

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

html.zeam-autoplay-dismissed #home-autoplay-pip {
  display: none !important;
}

#home-autoplay-pip {
  position: fixed;
  z-index: 900;
  width: 416px;
  height: 234px;
  aspect-ratio: 16 / 9;
  right: 32px;
  bottom: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #000024;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

#home-autoplay-pip[hidden] {
  display: none !important;
}

.home-autoplay-pip__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-autoplay-pip__video .video-js {
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
}

.home-autoplay-pip__video .vjs-control-bar,
.home-autoplay-pip__video .vjs-big-play-button,
.home-autoplay-pip__video .vjs-loading-spinner {
  display: none !important;
}

.home-autoplay-pip__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #000024;
  color: #e1e3e9;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.home-autoplay-pip__btn .material-symbols-rounded {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .home-autoplay-pip__btn:hover,
  .home-autoplay-pip__btn:focus-visible {
    border-color: #eeff41;
    outline: none;
  }
}

.home-autoplay-pip__mute {
  left: 8px;
  bottom: 8px;
}

.home-autoplay-pip__expand {
  right: 8px;
  bottom: 8px;
}

.home-autoplay-pip__close {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  #home-autoplay-pip:hover .home-autoplay-pip__close {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  .home-autoplay-pip__close {
    opacity: 1;
    pointer-events: auto;
  }
}

.home-autoplay-pip__error {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #0c1f46;
  z-index: 3;
}

#home-autoplay-pip.home-autoplay-pip--error .home-autoplay-pip__error {
  display: flex;
}

#home-autoplay-pip.home-autoplay-pip--error .home-autoplay-pip__close,
#home-autoplay-pip.home-autoplay-pip--error .home-autoplay-pip__mute,
#home-autoplay-pip.home-autoplay-pip--error .home-autoplay-pip__expand {
  z-index: 4;
}

#home-autoplay-pip.home-autoplay-pip--error .home-autoplay-pip__close {
  opacity: 1;
  pointer-events: auto;
}

.home-autoplay-pip__dev-sim-error {
  top: 8px;
  left: 8px;
  z-index: 4;
  width: 32px;
  height: 32px;
  padding: 0;
  border-color: #eeff41;
}

.home-autoplay-pip__retry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 306px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #e1e3e9;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.25px;
}

.home-autoplay-pip__retry .material-symbols-rounded {
  font-size: 48px;
  width: 48px;
  height: 48px;
}

/* Ticket: screens <= 1024px */
@media (max-width: 1024px) {
  #home-autoplay-pip {
    width: 316px;
    height: 178px;
    right: 24px;
    bottom: 24px;
  }
}

/* Ticket: screens <= 768px */
@media (max-width: 768px) {
  #home-autoplay-pip {
    width: 216px;
    height: 121px;
    right: 16px;
    bottom: 24px;
  }
}
