#videos .scene { container-type: inline-size; }
#videos .cinema-library {
  position: absolute;
  z-index: 25;
  left: 8.7%;
  top: 44.5%;
  width: 19.7%;
  height: 38.6%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  color: #2d1c10;
}
#videos .cinema-posters {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: .2cqw;
  background: #b68d61;
}
#videos .cinema-poster {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  width: 100%;
  min-height: 0;
  border: 1px solid #85623e;
  padding: .15cqw;
  background: linear-gradient(100deg, #cda371, #ecc591 50%, #c59866);
  color: #21130b;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font: bold clamp(6px, 1.04cqw, 17px)/1.02 Georgia, serif;
  cursor: pointer;
}
#videos .cinema-poster:hover, #videos .cinema-poster:focus-visible {
  background: #ffe0ab;
  outline: 2px solid #ffda89;
  outline-offset: -2px;
}
#videos .cinema-poster-name { padding-inline: .42cqw .2cqw; overflow-wrap: anywhere; }
#videos .cinema-poster-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #382719;
  color: #f8dfaa;
}
#videos .cinema-poster-thumb img { width: 100%; height: 100%; object-fit: cover; }
#videos .cinema-pagination:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6cqw;
  background: #2c1a12;
  color: #ffe4b6;
  font: bold clamp(9px, .86cqw, 14px)/1 Georgia, serif;
}
#videos .cinema-pagination button, #videos .cinema-screen button {
  padding: 0 .6em;
  border: 1px solid #9b744a;
  background: #593521;
  color: #ffe4b6;
  font: inherit;
  cursor: pointer;
}
#videos .cinema-pagination button { font-size: clamp(16px, 1.5cqw, 23px); }
#videos .cinema-pagination button:disabled { opacity: .45; cursor: default; }
#videos .cinema-screen:not([hidden]) {
  position: absolute;
  z-index: 31;
  left: 43.2%;
  top: 25.8%;
  width: 34.6%;
  height: 31.2%;
  display: grid;
  place-items: center;
  background: #21160f;
  color: #ffebc9;
  text-align: center;
  font: clamp(13px, 1.05cqw, 17px)/1.3 Georgia, serif;
}
#videos .cinema-screen iframe { width: 100%; height: 100%; border: 0; }
#videos .cinema-screen .cinema-close { position: absolute; top: 0; right: 0; z-index: 1; }
#videos .cinema-consent { padding: 1.2em; }
#videos .cinema-consent strong { display: block; }
#videos .cinema-consent p { margin: .55em 0; }
@media (max-width: 1160px) {
  #videos .cinema-screen:not([hidden]) {
    left: 60.5%;
    transform: translateX(-50%);
    top: 25.8%;
    width: max(34.6%, 200px);
    height: max(31.2%, 200px);
  }
}
@media (max-width: 650px) {
  #videos .scene { overflow: visible; margin-bottom: 34px; }
  #videos .cinema-pagination:not([hidden]) {
    position: absolute;
    top: 100%;
    width: 100%;
    min-width: 106px;
    justify-content: space-between;
  }
  #videos .cinema-pagination button { min-width: 32px; min-height: 26px; }
  #videos .cinema-screen:not([hidden]) { top: 24%; left: 2%; width: 96%; transform: none; z-index: 45; }
}
@media (max-width: 650px) {
  #videos .cinema-artist { display: none; }
  #videos .cinema-poster { grid-template-columns: 39% 61%; font-size: clamp(6px, 1.8cqw, 11px); }

}
