#credits.production-room {
  padding: 110px max(6vw, calc((100vw - 1500px) / 2));
  border-top: 1px solid #ffffff20;
}
#credits .poster-carousel { margin-top: clamp(20px, 2.5vw, 40px); }
#credits .production-note { max-width: 70ch; margin-top: .9rem; font-size: var(--caption-size); line-height: 1.5; color: var(--muted); }
#credits .production-shelf {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.25rem) clamp(.9rem, 1.9vw, 2rem);
  overflow-x: auto;
  padding: 12px 6px 8px;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
#credits .production-shelf::-webkit-scrollbar { display: none; }
#credits .production-card {
  display: block;
  min-width: 0;
  color: var(--fg);
}
#credits .production-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: bottom;
  transition: transform .35s;
}
#credits .production-card:hover img, #credits .production-card:focus-visible img {
  transform: translateY(-6px);
}
#credits .credit-title, #credits .credit-role, #credits .credit-imdb { display: block; }
#credits .credit-title { margin: .7rem 0 .2rem; font-size: clamp(.875rem, 1.05vw, .9375rem); line-height: 1.45; }
#credits .credit-role, #credits .credit-imdb { font-size: .75rem; line-height: 1.6; color: var(--muted); }
#credits .credit-imdb { margin-top: .45rem; }
#credits .poster-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }
#credits .poster-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ffffff48;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: var(--caption-size);
  line-height: 1.4;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
#credits .poster-controls button:hover { color: #101111; background: #9ac9ec; border-color: #9ac9ec; }
#credits .poster-controls button:disabled { color: #72767a; border-color: #ffffff24; background: transparent; cursor: default; }
#credits .poster-controls svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 1000px) {
  #credits.production-room { padding: 85px 5vw; }
  #credits .production-shelf {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(8.5rem, 39vw, 11rem);
    grid-template-rows: repeat(2, auto);
  }
}
@media (max-width: 799px) {
  #credits.production-room { padding: 65px 6vw; }
}
.motion-off #credits .production-card,
.motion-off #credits .production-card img { transform: none !important; transition: none; }
.motion-off #credits .poster-controls [data-pause] { display: none; }
@media (prefers-reduced-motion: reduce) {
  #credits .production-card, #credits .production-card img { transform: none !important; transition: none; }
  #credits .poster-controls [data-pause] { display: none; }
}
