.itm-vc-player::cue {
  background: transparent;
  font-family: Lato, sans-serif;
  line-height: 1.6;
  color: #fff;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.itm-vc-player::cue(.it) {
  color: #f1c40f;
  font-family: Lato, sans-serif;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.itm-vc-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.45rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  font-size: 0.95rem;
  opacity: 1;
  transition: opacity 0.25s ease;
  user-select: none;
}
.itm-vc-controls button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0.15rem 0.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.itm-vc-controls button:hover {
  color: var(--bs-primary);
}
.itm-vc-controls button i {
  font-size: 1.15rem;
}
.itm-vc-controls.itm-vc-hidden {
  opacity: 0;
  pointer-events: none;
}

.itm-vc-player-wrapper > .itm-vc-controls {
  top: auto;
  height: auto;
  bottom: 0;
}

.itm-vc-player-wrapper.itm-vc-cursor-hidden {
  cursor: none;
}

.itm-vc-controls .itm-vc-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  white-space: nowrap;
}
.itm-vc-controls .itm-vc-seek {
  position: relative;
  flex: 1 1 auto;
  height: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.itm-vc-controls .itm-vc-seek__rail {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.itm-vc-controls .itm-vc-seek__buffered {
  position: absolute;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  width: 0;
}
.itm-vc-controls .itm-vc-seek__played {
  position: absolute;
  left: 0;
  height: 4px;
  background: var(--bs-primary);
  border-radius: 2px;
  width: 0;
}
.itm-vc-controls .itm-vc-seek__thumb {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bs-primary);
  transform: translateX(-50%);
  left: 0;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.itm-vc-controls .itm-vc-seek:hover .itm-vc-seek__thumb {
  opacity: 1;
}

.itm-vc-controls .itm-vc-volume {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.itm-vc-controls .itm-vc-volume__slider {
  width: 70px;
  accent-color: var(--bs-primary);
  cursor: pointer;
}

@media (max-width: 576px) {
  .itm-vc-controls .itm-vc-volume {
    display: none;
  }
}
.itm-vc-controls .itm-vc-menu-host {
  position: relative;
}
.itm-vc-controls .itm-vc-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(28, 28, 28, 0.96);
  border-radius: 6px;
  padding: 0.3rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: none;
  max-height: 50vh;
  overflow-y: auto;
}
.itm-vc-controls .itm-vc-menu.itm-vc-open {
  display: block;
}
.itm-vc-controls .itm-vc-menu__heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  padding: 0.25rem 0.85rem;
}
.itm-vc-controls .itm-vc-menu__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.itm-vc-controls .itm-vc-menu__item:hover {
  background: rgba(255, 255, 255, 0.12);
}
.itm-vc-controls .itm-vc-menu__item .bi-check2 {
  visibility: hidden;
}
.itm-vc-controls .itm-vc-menu__item.itm-vc-active .bi-check2 {
  visibility: visible;
  color: var(--bs-primary);
}
.itm-vc-controls .itm-vc-cc.itm-vc-on {
  color: var(--bs-primary);
}

.itm-vc-controls .itm-vc-seek__divider {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #04aa8a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 1;
}

.itm-vc-controls .itm-vc-seek__tooltip {
  position: absolute;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
