.s8lf-floating-player {
  position: fixed;
  z-index: 999999;
  width: min(var(--s8lf-float-width, 650px), calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(53, 226, 173, 0.58);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% -20%, rgba(27, 201, 147, 0.19), transparent 34%),
    linear-gradient(180deg, #071713 0%, #020807 100%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  color: #fff;
  isolation: isolate;
  font-family: "Bai Jamjuree", Inter, Arial, sans-serif;
}

.s8lf-floating-player::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 26%, transparent 76%, rgba(20,200,137,.07));
  pointer-events: none;
  content: "";
}

.s8lf-floating-player[hidden],
.s8lf-floating-player__restore[hidden] {
  display: none !important;
}

.s8lf-floating-player--bottom-right { right: 18px; bottom: 18px; }
.s8lf-floating-player--bottom-left { left: 18px; bottom: 18px; }

.s8lf-floating-player.is-dragging {
  cursor: grabbing;
  user-select: none;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
}

.s8lf-floating-player__head {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid rgba(102, 255, 207, 0.24);
  background:
    radial-gradient(circle at 92% 0%, rgba(87, 247, 194, 0.19), transparent 34%),
    linear-gradient(135deg, #03493e 0%, #087260 54%, #0b8e72 100%);
  box-shadow: 0 8px 28px rgba(0,0,0,.14) inset;
}

.s8lf-floating-player__head::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 54%, rgba(255,255,255,.06) 54% 55%, transparent 55% 100%),
    radial-gradient(circle at 88% 50%, transparent 0 30px, rgba(255,255,255,.045) 31px 32px, transparent 33px);
  pointer-events: none;
  content: "";
}

.s8lf-floating-player__identity {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.s8lf-floating-player__identity strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.018em;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0,0,0,.22);
  text-transform: uppercase;
  white-space: nowrap;
}

.s8lf-floating-player__identity small {
  grid-column: 2;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(235, 255, 248, 0.82);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-floating-player__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3d54;
  box-shadow:
    0 0 0 5px rgba(255, 61, 84, 0.17),
    0 0 18px rgba(255, 61, 84, 0.78);
  animation: s8lf-live-pulse 1.8s ease-in-out infinite;
}

@keyframes s8lf-live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.86); opacity: .78; }
}

.s8lf-floating-player__tools {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.s8lf-floating-player__tool,
.s8lf-floating-player__close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 7px 18px rgba(0,0,0,.13), 0 1px 0 rgba(255,255,255,.08) inset;
  color: #fff;
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.s8lf-floating-player__tool:hover,
.s8lf-floating-player__close:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-1px);
}

.s8lf-floating-player__tool.is-active {
  border-color: #54f0bc;
  background: linear-gradient(135deg, #18cf91, #35e2ad);
  color: #04251d;
  box-shadow: 0 8px 22px rgba(27, 201, 147, .32);
}

.s8lf-floating-player__drag { cursor: grab; touch-action: none; }
.s8lf-floating-player__close { font-size: 24px; }

.s8lf-floating-player__pip {
  width: auto;
  min-width: 48px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.s8lf-floating-player__body {
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.s8lf-floating-player__body .s8lf-shortcode,
.s8lf-floating-player__body .s8lf-root {
  width: 100%;
  min-height: 0 !important;
  margin: 0;
}

.s8lf-floating-player__body .s8lf-frame {
  min-height: 0 !important;
  padding: 0 !important;
  background: #000 !important;
}

.s8lf-floating-player__body .s8lf-frame__heading,
.s8lf-floating-player__body .s8lf-detail-controls,
.s8lf-floating-player__body .s8lf-side-panel,
.s8lf-floating-player__body .s8lf-simulation-section,
.s8lf-floating-player__body [data-s8lf-side-panel] {
  display: none !important;
}

.s8lf-floating-player__body .s8lf-live-layout,
.s8lf-floating-player__body .s8lf-live-layout--frame,
.s8lf-floating-player__body .s8lf-live-layout--comment-overlay {
  display: block !important;
  min-height: 0 !important;
}

.s8lf-floating-player__body .s8lf-player-panel {
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #071b19 !important;
  box-shadow: none !important;
}

.s8lf-floating-player__body .s8lf-player-titlebar {
  display: block !important;
  overflow: hidden !important;
  padding: 9px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(90deg, #042e29, #06453c) !important;
  color: #e6fff6 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.s8lf-floating-player__body .s8lf-match-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 15px !important;
  border-bottom: 1px solid #dce9e4 !important;
  background: linear-gradient(180deg, #fff 0%, #f4faf7 100%) !important;
  color: #13231f !important;
}

.s8lf-floating-player__body .s8lf-match-team {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 8px !important;
  color: #13231f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.s8lf-floating-player__body .s8lf-match-team--right {
  justify-content: flex-end !important;
  text-align: right !important;
}

.s8lf-floating-player__body .s8lf-match-team span {
  overflow: hidden !important;
  color: #13231f !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.s8lf-floating-player__body .s8lf-team-logo,
.s8lf-floating-player__body .s8lf-match-team img {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  padding: 2px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(12, 52, 43, 0.16) !important;
  object-fit: contain !important;
}

.s8lf-floating-player__body .s8lf-match-score {
  min-width: 64px !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #03483f, #08705e) !important;
  box-shadow: 0 8px 22px rgba(5, 77, 67, 0.25) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
}

.s8lf-floating-player__body .s8lf-video {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  aspect-ratio: var(--s8lf-video-ratio, 16 / 9) !important;
  background: #000 !important;
}

.s8lf-floating-player__body .s8lf-video__art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.s8lf-floating-player__body .art-video-player,
.s8lf-floating-player__body .art-video,
.s8lf-floating-player__body .art-video-player video,
.s8lf-floating-player__body video {
  width: 100% !important;
  height: 100% !important;
}

/* PIP/Floating player: preserve the complete source frame and adapt to its real ratio. */
.s8lf-floating-player__body .art-video,
.s8lf-floating-player__body .art-video-player video,
.s8lf-floating-player__body .s8lf-video video {
  object-fit: contain !important;
  object-position: center center !important;
}

.s8lf-floating-player__body .s8lf-comment-float-layer {
  right: 12px !important;
  bottom: 58px !important;
  left: 12px !important;
  z-index: 40 !important;
  max-width: calc(100% - 24px) !important;
  gap: 7px !important;
}

.s8lf-floating-player__body .s8lf-comment-bubble {
  max-width: min(88%, 420px) !important;
  padding: 8px 11px 8px 8px !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(4, 17, 22, 0.78) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(12px) saturate(135%) !important;
}

.s8lf-floating-player__body .s8lf-comment-bubble__avatar {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
}

.s8lf-floating-player__body .s8lf-comment-bubble__body {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.s8lf-floating-player__body .s8lf-comment-bubble__body strong {
  color: #78f2c7 !important;
  font-size: 11px !important;
}

.s8lf-floating-player__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  padding: 13px 14px 14px;
  border-top: 1px solid rgba(89, 236, 187, 0.16);
  background:
    radial-gradient(circle at 12% -10%, rgba(20, 200, 137, 0.15), transparent 42%),
    linear-gradient(180deg, #071713 0%, #020807 100%);
}

.s8lf-floating-player__cta-button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 52px;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255,255,255,.13) inset;
  color: #fff !important;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.s8lf-floating-player__cta-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.13), transparent 28%, transparent 72%, rgba(255,255,255,.06));
  pointer-events: none;
  content: "";
}

.s8lf-floating-player__cta-button:hover,
.s8lf-floating-player__cta-button:focus-visible {
  color: #fff !important;
  filter: saturate(1.08) brightness(1.06);
  transform: translateY(-2px);
}

.s8lf-floating-player__cta-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.s8lf-floating-player__cta-button--group {
  border-color: rgba(102, 195, 255, .55);
  background: linear-gradient(135deg, #0c72e6 0%, #124dcc 100%);
  box-shadow: 0 10px 26px rgba(20, 91, 218, 0.34), 0 0 0 1px rgba(82,186,255,.17) inset;
}

.s8lf-floating-player__cta-button--register {
  border-color: rgba(255, 218, 75, 0.62);
  background: linear-gradient(135deg, #f6a900 0%, #f15a18 100%);
  box-shadow: 0 10px 26px rgba(239, 95, 22, 0.34), 0 0 0 1px rgba(255,231,99,.20) inset;
}

.s8lf-floating-player__cta-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 5px 14px rgba(0,0,0,.16), 0 1px 0 rgba(255,255,255,.13) inset;
}

.s8lf-floating-player__cta-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.s8lf-floating-player__cta-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.s8lf-floating-player__cta-arrow {
  position: relative;
  z-index: 1;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  opacity: .96;
  transition: transform .16s ease;
}

.s8lf-floating-player__cta-button:hover .s8lf-floating-player__cta-arrow {
  transform: translateX(3px);
}

.s8lf-floating-player__cta-button:only-child { grid-column: 1 / -1; }

.s8lf-floating-player__restore {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #064f43, #10bb7d);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.s8lf-floating-player__restore-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5265;
  box-shadow: 0 0 0 5px rgba(255, 82, 101, 0.18);
}

@media (max-width: 767px) {
  .s8lf-floating-player,
  .s8lf-floating-player--bottom-left,
  .s8lf-floating-player--bottom-right {
    right: 10px !important;
    bottom: 74px !important;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100vh - 92px);
    border-radius: 16px;
  }

  .s8lf-floating-player__head {
    min-height: 52px;
    padding: 8px 9px 8px 12px;
  }

  .s8lf-floating-player__identity strong { font-size: 12px; }
  .s8lf-floating-player__identity small { font-size: 9.5px; }

  .s8lf-floating-player__drag,
  .s8lf-floating-player__pip,
  .s8lf-floating-player__tools [data-s8lf-floating-reset],
  .s8lf-floating-player__tools [data-s8lf-floating-pin] {
    display: none !important;
  }

  .s8lf-floating-player__body .s8lf-match-strip {
    gap: 6px !important;
    padding: 8px 10px !important;
  }

  .s8lf-floating-player__body .s8lf-match-team { font-size: 10px !important; }

  .s8lf-floating-player__body .s8lf-team-logo,
  .s8lf-floating-player__body .s8lf-match-team img {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }

  .s8lf-floating-player__body .s8lf-match-score {
    min-width: 48px !important;
    padding: 7px 8px !important;
    font-size: 15px !important;
  }

  .s8lf-floating-player__cta {
    gap: 7px;
    padding: 8px;
  }

  .s8lf-floating-player__cta-button {
    min-height: 42px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 8px;
    border-radius: 11px;
    font-size: 9px;
  }

  .s8lf-floating-player__cta-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .s8lf-floating-player__cta-icon svg { width: 13px; height: 13px; }
  .s8lf-floating-player__cta-arrow { display: none; }

  .s8lf-floating-player__restore {
    right: 14px;
    bottom: 78px;
    padding: 11px 15px;
  }
}

/* Document Picture-in-Picture: giữ CTA tương tác trong cửa sổ PIP. */
.s8lf-floating-player.is-document-pip .s8lf-floating-player__head { border-bottom: 0; }

.s8lf-floating-player__pip-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 11px;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 200, 137, 0.18), transparent 52%),
    linear-gradient(180deg, #041714 0%, #020b0a 100%);
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.s8lf-floating-player__pip-placeholder-icon {
  display: inline-flex;
  min-width: 58px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: linear-gradient(135deg, #0b8c73, #12bd83);
  box-shadow: 0 9px 24px rgba(7, 122, 99, 0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.s8lf-floating-player__pip-placeholder strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.s8lf-floating-player__pip-placeholder button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.s8lf-floating-player__pip-placeholder button:hover { background: rgba(255, 255, 255, 0.18); }


/* Adaptive PIP video ratio */
.s8lf-floating-player__body .s8lf-video { aspect-ratio: var(--s8lf-video-ratio, 16 / 9) !important; background: #000 !important; }
.s8lf-floating-player__body .art-video,
.s8lf-floating-player__body .art-video-player video,
.s8lf-floating-player__body .s8lf-video video { object-fit: contain !important; object-position: center center !important; background: #000 !important; }

/* Clean real-comment ticker in floating player */
.s8lf-floating-player__body .s8lf-comment-overlay {
  left: 14px !important;
  right: auto !important;
  bottom: 48px !important;
  top: auto !important;
  width: min(44%, 540px) !important;
  height: 28px !important;
  min-width: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
.s8lf-floating-player__body .s8lf-comment-overlay__head {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}
.s8lf-floating-player__body .s8lf-comment-overlay__pulse,
.s8lf-floating-player__body .s8lf-comment-overlay__head strong { display: none !important; }
.s8lf-floating-player__body .s8lf-comment-overlay__head button {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, .28) !important;
  color: rgba(255, 255, 255, .92) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  pointer-events: auto !important;
}
.s8lf-floating-player__body .s8lf-comment-float-layer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 0 0 26px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.s8lf-floating-player__body .s8lf-comment-bubble {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  max-width: calc(100% - 28px) !important;
  min-width: 0 !important;
  gap: 5px !important;
  padding: 4px 9px 4px 4px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(4, 14, 20, .22) !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px) saturate(105%) !important;
}
.s8lf-floating-player__body .s8lf-comment-bubble__avatar { width: 18px !important; height: 18px !important; flex-basis: 18px !important; border: 0 !important; box-shadow: none !important; font-size: 8px !important; }
.s8lf-floating-player__body .s8lf-comment-bubble__body { gap: 4px !important; font-size: 10px !important; line-height: 1 !important; }
.s8lf-floating-player__body .s8lf-comment-bubble__body strong { max-width: 72px !important; font-size: 9px !important; }
.s8lf-floating-player__body .s8lf-comment-bubble__body > span { max-width: min(30vw, 300px) !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.s8lf-floating-player__body .s8lf-comment-overlay__restore { left: 14px !important; right: auto !important; bottom: 82px !important; min-height: 22px !important; padding: 0 9px !important; border: 0 !important; background: rgba(0, 0, 0, .34) !important; box-shadow: none !important; font-size: 8px !important; }
@media (max-width: 760px) {
  .s8lf-floating-player__body .s8lf-comment-overlay { left: 10px !important; bottom: 44px !important; width: calc(100% - 110px) !important; height: 24px !important; }
  .s8lf-floating-player__body .s8lf-comment-overlay__head,
  .s8lf-floating-player__body .s8lf-comment-overlay__head button { width: 20px !important; height: 20px !important; font-size: 12px !important; }
  .s8lf-floating-player__body .s8lf-comment-float-layer { height: 24px !important; min-height: 24px !important; padding-left: 23px !important; }
  .s8lf-floating-player__body .s8lf-comment-bubble { padding: 3px 8px 3px 3px !important; gap: 4px !important; }
  .s8lf-floating-player__body .s8lf-comment-bubble__avatar { width: 16px !important; height: 16px !important; flex-basis: 16px !important; font-size: 7px !important; }
  .s8lf-floating-player__body .s8lf-comment-bubble__body { font-size: 9px !important; }
  .s8lf-floating-player__body .s8lf-comment-bubble__body strong { max-width: 52px !important; font-size: 8px !important; }
  .s8lf-floating-player__body .s8lf-comment-bubble__body > span { max-width: calc(100vw - 190px) !important; }
  .s8lf-floating-player__body .s8lf-comment-overlay__restore { left: 10px !important; bottom: 72px !important; min-height: 20px !important; }
}



/* 0.7.5 periodic brand CTA in floating/PIP */
.s8lf-floating-player__body .s8lf-video-brand-cta{right:12px!important;bottom:54px!important;width:min(320px,46%)!important}
@media(max-width:640px){.s8lf-floating-player__body .s8lf-video-brand-cta{right:8px!important;bottom:47px!important;width:min(240px,70%)!important}}


/* === 0.7.6 CTA visible inside fullscreen player === */
.art-video-player>.s8lf-video-brand-cta,.art-video-player .s8lf-video-brand-cta{z-index:9999!important}
.art-video-player.art-fullscreen>.s8lf-video-brand-cta,.art-video-player.art-fullscreen-web>.s8lf-video-brand-cta,.s8lf-video-brand-cta.is-fullscreen-hosted,:fullscreen>.s8lf-video-brand-cta{position:absolute!important;right:max(20px,env(safe-area-inset-right))!important;bottom:max(78px,calc(env(safe-area-inset-bottom) + 68px))!important;width:min(360px,38vw)!important;z-index:2147483000!important}
.s8lf-video-brand-cta.is-fullscreen-hosted.is-visible{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
@media(max-width:760px){.art-video-player.art-fullscreen>.s8lf-video-brand-cta,.art-video-player.art-fullscreen-web>.s8lf-video-brand-cta,.s8lf-video-brand-cta.is-fullscreen-hosted,:fullscreen>.s8lf-video-brand-cta{right:max(10px,env(safe-area-inset-right))!important;bottom:max(64px,calc(env(safe-area-inset-bottom) + 56px))!important;width:min(270px,72vw)!important}}
