/* Karim Academy V43 — no page scrolling in fullscreen, preserving V42 skins. */
/* Place AFTER the 20-theme CSS: it must win over overflow:visible decorations. */
html.kf-player-fullscreen-active,
html.kf-player-fullscreen-active body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.learning-player-layout .learning-video:fullscreen,
.learning-player-layout .learning-video:-webkit-full-screen,
.learning-player-layout .learning-video[data-kf-player-desktop]:fullscreen,
.learning-player-layout .learning-video[data-kf-player-mobile]:fullscreen,
.learning-player-layout .learning-video[data-kf-player-desktop]:-webkit-full-screen,
.learning-player-layout .learning-video[data-kf-player-mobile]:-webkit-full-screen {
  box-sizing: border-box !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000 !important;
}
.learning-player-layout .learning-video:fullscreen::before,
.learning-player-layout .learning-video:fullscreen::after,
.learning-player-layout .learning-video:-webkit-full-screen::before,
.learning-player-layout .learning-video:-webkit-full-screen::after {
  display: none !important;
  content: none !important;
}
.learning-player-layout .learning-video:fullscreen > iframe,
.learning-player-layout .learning-video:fullscreen > video,
.learning-player-layout .learning-video:-webkit-full-screen > iframe,
.learning-player-layout .learning-video:-webkit-full-screen > video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}
/* Decorations may overflow ONLY in normal mode, never in fullscreen. */
