/* Presentation for the existing KVS controls; native advertising UI is retained. */
/* Apply before KVS initializes: timeline, volume and pointer math use LTR. */
.xnv-native-wrap > #kt_player,
.xnv-native {
  direction: ltr;
}
.xnv-native {
  --xnv-red: #f03;
  --xnv-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 4v16l14-8z'/%3E%3C/svg%3E");
  --xnv-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E");
  --xnv-volume: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4z'/%3E%3Cpath fill='none' stroke='white' stroke-width='1.8' d='M16 3.5a9 9 0 0 1 0 17'/%3E%3C/svg%3E");
  --xnv-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 4V5L7 9H3z'/%3E%3Cpath fill='none' stroke='white' stroke-width='1.8' d='m16 9 6 6m0-6-6 6'/%3E%3C/svg%3E");
  --xnv-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' d='M9 4H4v5m11-5h5v5M4 15v5h5m6 0h5v-5'/%3E%3C/svg%3E");
  --xnv-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round' d='m9 3-.5 2-2 1L4.5 5 2 9l1.5 1.5v3L2 15l2.5 4L7 18l1.5 1L9 21h6l.5-2 2-1 2 1 2.5-4-1.5-1.5v-3L22 9l-2.5-4L17 6l-1.5-1L15 3z'/%3E%3Ccircle cx='12' cy='12' r='3.1' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E");
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
  isolation: isolate;
  container-type: inline-size;
  container-name: xnv-player;
}
.xnv-native:not(.xnv-ad-active) * {
  box-sizing: border-box;
}
.xnv-native.is-fullscreen > .fp-player {
  container-type: inline-size;
  container-name: xnv-player;
}
.xnv-native:not(.xnv-ad-active) .fp-controls,
.xnv-native:not(.xnv-ad-active) .fp-controls *,
.xnv-native:not(.xnv-ad-active) .fp-controls *::before,
.xnv-native:not(.xnv-ad-active) .fp-controls *::after {
  box-sizing: border-box !important;
}
.xnv-native button {
  font: inherit;
  cursor: pointer;
}
.xnv-native button[hidden],
.xnv-n-layer[hidden],
.xnv-n-layer [hidden] {
  display: none !important;
}
.xnv-native:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
.xnv-native:not(.xnv-ad-active) .fp-controls {
  position: absolute !important;
  inset: auto 12px 0 !important;
  height: 54px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  background: none !important;
  z-index: 70 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center;
  gap: 0;
}
.xnv-native:not(.xnv-ad-active).xnv-controls-shown .fp-controls,
.xnv-native:not(.xnv-ad-active).xnv-paused .fp-controls,
.xnv-native:not(.xnv-ad-active).xnv-settings-open .fp-controls {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.xnv-native:not(.xnv-ad-active) .fp-controls::before {
  content: "" !important;
  position: absolute !important;
  inset: -70px -12px 0 !important;
  height: auto !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.64)) !important;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-play,
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-screen,
.xnv-native:not(.xnv-ad-active) .fp-controls > .xnv-n-settings,
.xnv-native .xnv-n-cc,
.xnv-native .xnv-n-pip,
.xnv-native .xnv-n-theater,
.xnv-native .xnv-n-next,
.xnv-native .xnv-n-previous {
  display: inline-flex !important;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  position: relative !important;
  inset: auto !important;
  width: 44px !important;
  height: 40px !important;
  padding: 8px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: none !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-play {
  order: 0;
}
.xnv-native .xnv-n-next {
  order: 1;
}
.xnv-native .xnv-n-previous {
  display: none !important;
}
.xnv-native .xnv-n-next::before,
.xnv-native .xnv-n-previous::before {
  content: "";
  width: 24px;
  height: 24px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M5 4v16l12-8zM18 4h3v16h-3z'/%3E%3C/svg%3E");
}
.xnv-native .xnv-n-previous::before {
  transform: rotate(180deg);
}
.xnv-native .xnv-n-next:disabled,
.xnv-native .xnv-n-previous:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none !important;
}
html.xnv-native-theater .block-video > .vv-side {
  display: none !important;
}
html.xnv-native-theater .block-video > .video-holder {
  margin-right: 0;
  width: 100%;
}
.xnv-native-wrap {
  padding-bottom: 56.25% !important;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume {
  order: 2;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-time-elapsed {
  order: 3;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-time-duration {
  order: 4;
  margin-right: auto !important;
}
.xnv-native .xnv-n-cc {
  order: 5;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .xnv-n-settings {
  order: 6;
}
.xnv-native .xnv-n-pip {
  order: 7;
}
.xnv-native .xnv-n-theater {
  order: 8;
}
.xnv-native:not(.xnv-ad-active) .fp-controls > .fp-screen {
  order: 9;
}
.xnv-native:not(.xnv-ad-active) .fp-play::before,
.xnv-native:not(.xnv-ad-active) .fp-screen::before,
.xnv-native:not(.xnv-ad-active) .xnv-n-settings::before,
.xnv-native:not(.xnv-ad-active) .fp-mute::before {
  content: "" !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  position: static !important;
  margin: 0 !important;
  background: center/24px 24px no-repeat;
}
.xnv-native:not(.xnv-ad-active) .fp-play::before {
  background-image: var(--xnv-pause);
}
.xnv-native:not(.xnv-ad-active).xnv-paused .fp-play::before {
  background-image: var(--xnv-play);
}
.xnv-native:not(.xnv-ad-active) .fp-screen::before {
  background-image: var(--xnv-full);
}
.xnv-native:not(.xnv-ad-active) .xnv-n-settings::before {
  background-image: var(--xnv-gear);
}
.xnv-native:not(.xnv-ad-active) .xnv-n-settings::after {
  display: none !important;
}
.xnv-native:not(.xnv-ad-active) .xnv-n-settings[data-hd="true"]::after {
  content: "HD" !important;
  display: block !important;
  position: absolute;
  top: 2px;
  right: 0;
  font:
    700 8px/11px Arial,
    sans-serif;
  color: #fff;
  background: var(--xnv-red);
  padding: 0 2px;
  border-radius: 1px;
}
.xnv-native:not(.xnv-ad-active) .fp-volume {
  display: flex !important;
  flex-shrink: 0;
  align-items: center;
  position: relative !important;
  inset: auto !important;
  width: 100px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  overflow: visible !important;
  transition: none !important;
}
/* The native icon belongs to the parent; only the mute button draws our icon. */
.xnv-native:not(.xnv-ad-active) .fp-volume::before {
  content: none !important;
  display: none !important;
}
.xnv-native:not(.xnv-ad-active) .fp-mute {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  position: static !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
}
.xnv-native:not(.xnv-ad-active) .fp-mute::before {
  background-image: var(--xnv-volume);
}
.xnv-native:not(.xnv-ad-active).xnv-muted .fp-mute::before {
  background-image: var(--xnv-muted);
}
.xnv-native:not(.xnv-ad-active) .fp-volumeslider {
  display: block !important;
  flex: 0 0 52px;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  inset: auto !important;
  width: 52px !important;
  height: 3px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.3) !important;
  overflow: visible !important;
  touch-action: none;
}
.xnv-native:not(.xnv-ad-active) .fp-volumeslider::before {
  content: "";
  position: absolute;
  inset: -12px 0 !important;
  height: auto !important;
  background: transparent !important;
}
.xnv-native:not(.xnv-ad-active) .fp-volumelevel {
  top: 0 !important;
  height: 100% !important;
  background: #fff !important;
}
.xnv-native:not(.xnv-ad-active) .fp-volumelevel::after {
  content: "";
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  right: 0 !important;
  top: 50% !important;
  margin: 0 !important;
  transform: translate(50%, -50%) !important;
}
.xnv-native:not(.xnv-ad-active) .fp-volumeslider-vertical {
  display: none !important;
}
.xnv-native:not(.xnv-ad-active) .fp-time-elapsed,
.xnv-native:not(.xnv-ad-active) .fp-time-duration {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  font:
    400 13px/40px Arial,
    sans-serif !important;
  color: #fff !important;
  text-shadow: 0 1px 2px #000;
}
.xnv-native:not(.xnv-ad-active) .fp-time-duration::before {
  content: " / ";
  white-space: pre;
  opacity: 0.9;
}
.xnv-native:not(.xnv-ad-active) .fp-timeline {
  position: absolute !important;
  inset: 3px 0 auto !important;
  width: auto !important;
  height: 4px !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 0 !important;
  cursor: pointer;
  touch-action: none;
  /* Native skin offsets assume a 16px timeline; this skin uses a thin track. */
  overflow: visible !important;
}
.xnv-native:not(.xnv-ad-active) .fp-timeline::before {
  content: "";
  position: absolute;
  inset: -5px 0 -10px !important;
  height: auto !important;
  background: transparent !important;
}
.xnv-native:not(.xnv-ad-active) .fp-timeline:hover {
  height: 5px !important;
}
.xnv-native:not(.xnv-ad-active) .fp-buffer {
  top: 0 !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 0 !important;
}
.xnv-native:not(.xnv-ad-active) .fp-progress {
  top: 0 !important;
  height: 100% !important;
  background: var(--xnv-red) !important;
  border-radius: 0 !important;
}
.xnv-native:not(.xnv-ad-active) .fp-progress::after {
  content: "";
  position: absolute;
  right: 0 !important;
  top: 50% !important;
  width: var(--xnv-thumb-size, 12px) !important;
  height: var(--xnv-thumb-size, 12px) !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: var(--xnv-red) !important;
  transform: translate(50%, -50%) !important;
}
.xnv-native:not(.xnv-ad-active) .fp-timeline-tooltip {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  pointer-events: none !important;
}
.xnv-native:not(.xnv-ad-active) .fp-stop,
.xnv-native:not(.xnv-ad-active) .fp-settings,
.xnv-native:not(.xnv-ad-active) .fp-speed,
.xnv-native:not(.xnv-ad-active) .fp-speed-list,
.xnv-native:not(.xnv-ad-active) .fp-settings-list,
.xnv-native:not(.xnv-ad-active) .fp-menu,
.xnv-native:not(.xnv-ad-active) .fp-dropdown,
.xnv-native:not(.xnv-ad-active) > .fp-player > .fp-ui::before,
.xnv-native:not(.xnv-ad-active) .fp-fullscreen {
  display: none !important;
}
.xnv-native .xnv-n-cc::before {
  content: "CC";
  display: block;
  font:
    700 12px/17px Arial,
    sans-serif;
  width: 22px;
  height: 17px;
  color: #151515;
  background: #fff;
  border-radius: 2px;
  text-align: center;
}
.xnv-native .xnv-n-cc[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 3px;
  background: var(--xnv-red);
}
.xnv-native .xnv-n-pip::before {
  content: "";
  width: 22px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 1px;
  background: linear-gradient(#fff, #fff) right 2px bottom 2px/9px 6px no-repeat;
}
.xnv-native .xnv-n-theater::before {
  content: "";
  width: 24px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 1px;
}
.xnv-native .xnv-n-surface {
  display: none;
}
.xnv-native.xnv-ad-active .xnv-n-cc,
.xnv-native.xnv-ad-active .xnv-n-settings,
.xnv-native.xnv-ad-active .xnv-n-next,
.xnv-native.xnv-ad-active .xnv-n-previous,
.xnv-native.xnv-ad-active .xnv-n-pip,
.xnv-native.xnv-ad-active .xnv-n-theater,
.xnv-native.xnv-ad-active .xnv-n-surface,
.xnv-native.xnv-ad-active .xnv-n-seek-feedback {
  display: none !important;
}
.xnv-native .fp-engine::cue {
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font:
    500 20px/1.4 Arial,
    sans-serif;
}
.xnv-native .xnv-n-seek-feedback {
  display: none;
  position: absolute;
  top: 32%;
  bottom: 32%;
  width: 35%;
  z-index: 75;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font:
    500 14px/1.4 Arial,
    sans-serif;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
}
.xnv-native .xnv-n-seek-feedback.xnv-visible {
  display: flex;
}
.xnv-native .xnv-n-seek-feedback[data-direction="back"] {
  left: 0;
}
.xnv-native .xnv-n-seek-feedback[data-direction="forward"] {
  right: 0;
}
.xnv-native .fp-controls [role="button"]:focus-visible,
.xnv-native button:focus-visible {
  outline: 2px solid white !important;
  outline-offset: -3px;
}
.xnv-native .fp-controls [role="slider"]:focus-visible {
  outline: 2px solid white !important;
  outline-offset: 5px;
}

.xnv-n-layer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}
.xnv-n-layer *,
.xnv-n-layer *::before,
.xnv-n-layer *::after {
  box-sizing: border-box;
}
.xnv-n-panel {
  position: absolute;
  right: var(--xnv-panel-right, 12px);
  bottom: var(--xnv-panel-bottom, 60px);
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: var(--xnv-panel-max, 400px);
  background: rgba(20, 20, 20, 0.94);
  color: #eee;
  border-radius: 12px;
  padding: 8px 0;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  scrollbar-width: thin;
  outline: none;
  animation: xnv-menu-in 0.13s ease-out;
}
.xnv-n-panel button {
  color: inherit;
  border: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  background: transparent;
}
.xnv-n-grab {
  display: none;
}
.xnv-n-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 12px 6px;
}
.xnv-n-panel-title {
  font-size: 15px;
  flex: 1;
}
.xnv-n-back,
.xnv-n-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.xnv-n-back::before,
.xnv-n-chevron {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.xnv-n-back::before {
  transform: rotate(-135deg);
}
.xnv-n-close::before {
  content: "\00d7";
  font-size: 28px;
  font-weight: 300;
}
.xnv-n-row {
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 24px minmax(0, 1fr) auto 12px;
  gap: 14px;
  align-items: center;
  padding: 0 18px;
  text-align: start;
}
.xnv-n-row-label {
  font-size: 14px;
  line-height: 1.35;
}
.xnv-n-row-value {
  font-size: 12px;
  opacity: 0.78;
  white-space: nowrap;
}
.xnv-n-row-icon {
  width: 21px;
  height: 21px;
  color: inherit;
  background: currentColor;
  mask: var(--xnv-row-icon) center/contain no-repeat;
  -webkit-mask: var(--xnv-row-icon) center/contain no-repeat;
}
.xnv-n-row[data-kind="quality"] {
  --xnv-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18'/%3E%3Ccircle cx='9' cy='6' r='2' fill='white'/%3E%3Ccircle cx='15' cy='12' r='2' fill='white'/%3E%3Ccircle cx='8' cy='18' r='2' fill='white'/%3E%3C/g%3E%3C/svg%3E");
}
.xnv-n-row[data-kind="speed"] {
  --xnv-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.8' stroke-dasharray='8 3'/%3E%3Cpath d='m10 7 7 5-7 5z'/%3E%3C/svg%3E");
}
.xnv-n-row[data-kind="cc"] {
  --xnv-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10 9H6v6h4m9-6h-4v6h4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
}
.xnv-n-row[data-kind="loop"] {
  --xnv-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16V6h14m-4-4 4 4-4 4m4-2v10H5m4-4-4 4 4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.xnv-n-row[data-kind="option"] {
  grid-template-columns: 24px minmax(0, 1fr) auto 12px;
}
.xnv-n-row[data-kind="option"] .xnv-n-row-icon {
  display: none;
}
.xnv-n-row[data-kind="option"] .xnv-n-row-label {
  grid-column: 2;
}
.xnv-n-check {
  grid-column: 1;
  grid-row: 1;
  width: 14px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
  visibility: hidden;
}
.xnv-n-row[aria-checked="true"] .xnv-n-check {
  visibility: visible;
}
.xnv-n-switch {
  grid-column: 3/5;
  position: relative;
  width: 36px;
  height: 22px;
  background: #888;
  border-radius: 20px;
}
.xnv-n-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.xnv-n-row[aria-checked="true"] .xnv-n-switch {
  background: #eee;
}
.xnv-n-row[aria-checked="true"] .xnv-n-switch::after {
  background: #171717;
  transform: translateX(14px);
}
.xnv-n-layer[dir="rtl"] .xnv-n-chevron {
  transform: rotate(-135deg);
}
.xnv-n-layer[dir="rtl"] .xnv-n-back::before {
  transform: rotate(45deg);
}
.xnv-n-panel button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
@media (hover: hover) and (pointer: fine) {
  .xnv-n-row:hover,
  .xnv-n-panel-header button:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}
@keyframes xnv-menu-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px), (pointer: coarse) and (max-height: 600px) {
  .xnv-native:not(.xnv-ad-active).xnv-controls-shown .fp-controls,
  .xnv-native:not(.xnv-ad-active).xnv-paused .fp-controls,
  .xnv-native:not(.xnv-ad-active).xnv-settings-open .fp-controls {
    pointer-events: none !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls {
    inset: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    pointer-events: none !important;
  }
  .xnv-native:not(.xnv-ad-active).xnv-controls-shown .fp-controls > *,
  .xnv-native:not(.xnv-ad-active).xnv-paused .fp-controls > *,
  .xnv-native:not(.xnv-ad-active).xnv-settings-open .fp-controls > * {
    pointer-events: auto;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls::before {
    inset: 0 !important;
    background: linear-gradient(
      rgba(0, 0, 0, 0.2),
      transparent 40%,
      transparent 55%,
      rgba(0, 0, 0, 0.6)
    ) !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-play {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: 64px !important;
    height: 64px !important;
    padding: 12px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.48) !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-play::before {
    width: 38px !important;
    height: 38px !important;
    background-size: 38px;
  }
  .xnv-native .xnv-n-next,
  .xnv-native .xnv-n-previous {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.24) !important;
    transform: translate(-50%, -50%);
  }
  .xnv-native .xnv-n-next {
    left: 71% !important;
  }
  .xnv-native .xnv-n-previous {
    left: 29% !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .xnv-n-settings {
    position: absolute !important;
    top: 4px !important;
    right: max(24px, env(safe-area-inset-right)) !important;
    width: 44px !important;
    height: 44px !important;
  }
  .xnv-native .xnv-n-cc {
    position: absolute !important;
    top: 4px !important;
    right: max(72px, calc(env(safe-area-inset-right) + 48px)) !important;
    height: 44px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume {
    display: flex !important;
    position: absolute !important;
    left: max(4px, env(safe-area-inset-left)) !important;
    bottom: 28px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    z-index: 3;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume .fp-mute {
    flex-basis: 44px;
    width: 44px !important;
    height: 44px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume .fp-volumeslider,
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume .fp-volumeslider-vertical {
    display: none !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-screen {
    position: absolute !important;
    bottom: 28px !important;
    right: max(24px, env(safe-area-inset-right)) !important;
    width: 44px !important;
    height: 44px !important;
  }
  .xnv-native .xnv-n-pip,
  .xnv-native .xnv-n-theater {
    display: none !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-time-elapsed {
    position: absolute !important;
    left: max(52px, calc(env(safe-area-inset-left) + 48px)) !important;
    bottom: 28px !important;
    line-height: 44px !important;
    font-size: 13px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-time-duration {
    position: absolute !important;
    left: calc(
      max(52px, calc(env(safe-area-inset-left) + 48px)) + var(--xnv-elapsed-width, 4ch) + 3px
    ) !important;
    bottom: 28px !important;
    line-height: 44px !important;
    font-size: 13px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-timeline {
    inset: auto max(30px, env(safe-area-inset-right))
      calc(20px + env(safe-area-inset-bottom))
      max(30px, env(safe-area-inset-left)) !important;
    height: 3px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-timeline:hover {
    height: 3px !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-timeline-tooltip {
    bottom: calc(32px + env(safe-area-inset-bottom)) !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-progress::after {
    --xnv-thumb-size: 13px;
  }
  .xnv-native .xnv-n-surface {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 60;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }
  .xnv-native .fp-engine::cue {
    font-size: 16px;
  }
  .xnv-n-layer {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: auto;
  }
  .xnv-n-panel {
    inset: auto 8px max(8px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    max-height: min(80dvh, 620px);
    border-radius: 12px;
    background: #fff;
    color: #0f0f0f;
    padding: 0 0 12px;
    box-shadow: none;
    animation: xnv-menu-in 0.18s ease-out;
  }
  .xnv-n-grab {
    display: grid;
    place-items: start center;
    height: 24px;
    padding-top: 8px;
    touch-action: none;
    cursor: grab;
  }
  .xnv-n-grab::before {
    content: "";
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: #ddd;
  }
  .xnv-n-row {
    min-height: 48px;
    gap: 16px;
    grid-template-columns: 24px minmax(0, 1fr) auto 10px;
    padding: 0 24px;
  }
  .xnv-n-row-label {
    font-size: 15px;
  }
  .xnv-n-row-value {
    font-size: 14px;
    color: #606060;
    opacity: 1;
  }
  .xnv-n-panel-header {
    border-bottom-color: #ddd;
  }
  .xnv-n-row[aria-checked="true"] .xnv-n-switch {
    background: #171717;
  }
  .xnv-n-row[aria-checked="true"] .xnv-n-switch::after {
    background: #fff;
  }
  .xnv-native.is-fullscreen .fp-time-elapsed,
  .xnv-native.is-fullscreen .fp-time-duration {
    bottom: calc(28px + env(safe-area-inset-bottom)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xnv-native .fp-controls,
  .xnv-n-panel,
  .xnv-n-switch::after {
    animation: none !important;
    transition: none !important;
  }
}
@container xnv-player (max-width: 640px) {
  .xnv-native:not(.xnv-ad-active) .fp-volumeslider {
    display: none !important;
  }
  .xnv-native:not(.xnv-ad-active) .fp-controls > .fp-volume {
    width: 40px !important;
  }
  .xnv-native .xnv-n-pip,
  .xnv-native .xnv-n-theater {
    display: none !important;
  }
}
