.caption-player {
  position: relative;
  display: grid;
  place-items: center;
}

.lbx-stage .caption-player video {
  max-height: 77vh;
}

.caption-surface {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.caption-surface[hidden] {
  display: none;
}

.caption-band {
  position: absolute;
  display: flex;
  align-items: center;
  background: #080808;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
}

.caption-text {
  width: 100%;
  display: block;
  text-wrap: pretty;
}

.inline-caption {
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.sc-tile.t-reel:hover .inline-caption {
  transform: scale(1.04);
}

.sc-tile.t-reel {
  container-type: inline-size;
}

.sc-tile.t-reel .sc-play {
  z-index: 3;
}

@container (max-width: 200px) {
  .sc-tile.t-reel .sc-play {
    left: auto;
    right: 6px;
    bottom: 6px;
    width: 26px;
    height: 26px;
    padding: 3px;
  }

  .sc-play > [data-i18n] {
    display: none;
  }

  .sc-tile.t-reel .sc-play > span:first-child {
    width: 20px;
    height: 20px;
  }
}

@media print {
  .caption-surface {
    display: none !important;
  }
}
