.cutscenes {
  background: radial-gradient(ellipse at 18% 0%, #223750 0%, #131d2a 35rem, #101823 70rem);
}
.cinema { max-width: 82rem; }
.cinema-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; font-size: .95rem; }
.cinema-heading { margin: 2.1rem 0 1.6rem; }
.cinema-heading .eyebrow { margin-bottom: .45rem; }
.cinema-intro { max-width: 49rem; color: #d4deea; margin: .75rem 0; }
#movie-status { color: #ebc580; margin: .75rem 0 0; font-size: .9rem; }
.cinema-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(21rem, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2rem);
}
.watch, .shelf {
  min-width: 0;
  border: 1px solid #405469;
  border-radius: .9rem;
  background: #182434;
  box-shadow: 0 1rem 2rem #08111a45;
}
.screen {
  border-radius: .9rem .9rem 0 0;
  overflow: hidden;
  background: #050a11;
  border-bottom: 1px solid #405469;
}
.screen video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 65vh;
  object-fit: contain;
}
.video-transport {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid #405469;
  background: #131e2d;
}
.video-transport button { min-width: 4.6rem; min-height: 2.75rem; }
.video-transport input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: #e8c284;
  cursor: pointer;
}
.video-transport span { color: #d7e1ea; font-size: .86rem; font-variant-numeric: tabular-nums; }
.watch-info, .shelf-tools, .empty-scenes { padding: 1.05rem 1.15rem; }
.watch-info .eyebrow { font-size: .76rem; margin: 0 0 .3rem; }
#scene-title, #shelf-title { margin: 0; }
#scene-title { font-size: clamp(1.45rem, 3vw, 2rem); }
#scene-meta, .spoiler, .scene-count, .archive-note { color: #c3d2e1; font-size: .9rem; }
#scene-meta { margin: .35rem 0 .9rem; }
#video-error { color: #ffc9ac; margin: .45rem 0; }
.cinema-controls, .source-links { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.cinema-controls button, .disc-filter button { min-height: 2.75rem; }
.autoplay { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; }
.autoplay input { margin: 0; width: 1.05rem; height: 1.05rem; accent-color: #e9bf79; }
.source-details { margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid #405469; }
.source-details summary { cursor: pointer; font-weight: 650; }
.source-details p { margin: .45rem 0; color: #c3d2e1; font-size: .85rem; }
.source-links { gap: .5rem 1rem; font-size: .85rem; }
.spoiler { margin: .35rem 0 .8rem; }
.disc-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.disc-filter button { padding: .45rem .62rem; }
.disc-filter [aria-pressed="true"] { background: #e8c284; border-color: #e8c284; color: #1a2230; font-weight: 700; }
.shelf-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: .55rem; margin-top: .85rem; }
.shelf-filters > div { display: grid; gap: .3rem; min-width: 0; font-size: .83rem; }
.shelf-filters input, .shelf-filters select { width: 100%; box-sizing: border-box; min-height: 2.75rem; }
.scene-count { margin: .75rem 0 0; }
.scene-list {
  list-style: none;
  margin: 0;
  padding: .2rem .75rem .75rem;
  display: grid;
  gap: .4rem;
  max-height: clamp(18rem, 52vh, 37rem);
  overflow: auto;
  scrollbar-color: #7992a9 #182434;
}
.scene-card {
  width: 100%;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 4.6rem;
  padding: .35rem .55rem;
  text-align: left;
  border-color: #364b61;
  background: #1e2e40;
}
.scene-card:hover { background: #2c4157; }
.scene-card[aria-current="true"] { border-color: #e8c284; background: #324155; }
.scene-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  object-fit: contain;
  background: #0c1521;
  border-radius: .3rem;
  color: #dcb87b;
  font-size: .78rem;
}
.scene-name { display: block; font-weight: 650; line-height: 1.22; overflow-wrap: anywhere; }
.scene-file, .scene-duration { color: #c3d2e1; font-size: .75rem; }
.scene-file { display: block; margin-top: .2rem; }
.scene-duration { font-variant-numeric: tabular-nums; }
.archive-note { max-width: 58rem; margin-top: 1.3rem; }
@media (max-width: 54rem) {
  .cinema-layout { grid-template-columns: minmax(0, 1fr); }
  .scene-list { max-height: none; }
}
@media (max-width: 27rem) {
  .watch-info, .shelf-tools { padding: .85rem; }
  .shelf-filters { grid-template-columns: minmax(0, 1fr); }
  .scene-card { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .5rem; }
  .video-transport { gap: .4rem; padding-inline: .5rem; }
  .video-transport button { min-width: 3.85rem; padding-inline: .45rem; }
}
