.caption-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  top: auto;
  width: 100%;
  height: 18%;
  min-height: 52px;
  max-height: 45%;
  z-index: 55;
  display: none;
  box-sizing: border-box;
  pointer-events: none;
  background: rgba(8, 10, 16, 0.9);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
}

.caption-mask.on {
  display: block;
}

.caption-mask-handle,
.caption-mask-resize {
  pointer-events: auto;
  position: absolute;
  left: 0;
  right: 0;
  touch-action: none;
  user-select: none;
}

.caption-mask-handle {
  inset: 0;
  cursor: grab;
}

.caption-mask-handle:active {
  cursor: grabbing;
}

.caption-mask-resize {
  height: 22px;
  z-index: 2;
  cursor: ns-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caption-mask-resize-top {
  top: 0;
}

.caption-mask-resize-bottom {
  bottom: 0;
}

.caption-mask-resize::after {
  content: '';
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}

.art-video-player .art-bottom {
  z-index: 60;
}

.art-video-player .art-notice {
  z-index: 70;
}

.art-auto-playback,
.art-layer-auto-playback {
  display: none !important;
}

@media (max-width: 960px) {
  .caption-mask-resize { height: 32px; }
  .caption-mask-resize::after { width: 56px; height: 5px; }
}
