.cinema {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(54, 38, 43, 0.72);
  backdrop-filter: blur(12px);
  overflow: auto;
  overscroll-behavior: contain;
}
.cinema[hidden],
.cinema [hidden] {
  display: none !important;
}
.cinema-card {
  width: min(1080px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #fbf5ed;
  border: 1px solid #ead7c5;
  border-radius: 26px;
  box-shadow: 0 24px 100px #2c192859;
}
.cinema-top {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cinema-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #34282d;
  overflow: hidden;
}
.cinema-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cinema-caption {
  position: absolute;
  bottom: 22px;
  left: 8%;
  right: 8%;
  padding: 12px 20px;
  border-radius: 12px;
  color: #fffaf2;
  background: #33252ccf;
  font-size: clamp(14px, 1.7vw, 21px);
  line-height: 1.65;
  text-align: center;
  text-wrap: pretty;
  text-shadow: 0 1px 2px #1b1515;
  pointer-events: none;
}
.cinema-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(180deg, #2c1f2840, #2c1f28bb);
  color: #fff7ef;
  text-align: center;
}
.cinema-veil h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.cinema-veil p {
  color: #f0e2da;
  font-size: 14px;
  line-height: 1.6;
}
.cinema-flower {
  font-size: 42px;
  color: #efc3cf;
}
.cinema-bottom {
  padding: 16px 22px 20px;
}
.cinema-status {
  font-size: 12px;
  color: #8a746b;
  line-height: 1.7;
  margin: 0 0 12px;
}
.cinema-transcript {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #766456;
}
.cinema-transcript summary {
  cursor: pointer;
  color: #9b5877;
}
.cinema-transcript p {
  white-space: pre-line;
  margin: 10px 0 0;
}
.film-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}
.film-card.locked {
  opacity: 0.6;
}
.film-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.audio-library-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
@media (max-width: 650px) {
  .cinema {
    padding: 10px;
  }
  .cinema-card {
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }
  .cinema-top {
    padding: 12px 14px;
  }
  .cinema-top .eyebrow {
    font-size: 8px;
    max-width: 100px;
  }
  .cinema-top .secondary {
    font-size: 11px;
    padding: 8px 10px;
  }
  .cinema-stage {
    aspect-ratio: auto;
    height: 62dvh;
    max-height: 620px;
  }
  .cinema-bottom {
    padding: 12px 14px;
  }
  .cinema-bottom .item-actions {
    gap: 7px;
  }
  .cinema-bottom button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .cinema-caption {
    font-size: 14px;
    left: 5%;
    right: 5%;
    bottom: 18px;
    padding: 10px 12px;
  }
  .cinema-veil {
    gap: 10px;
    padding: 20px;
  }
  .cinema-veil p {
    font-size: 12px;
  }
  .film-list {
    grid-template-columns: 1fr;
  }
}
