:root {
  --show-red: #e50914;
  --show-ink: #07080b;
  --show-muted: #a6a7ad;
}

#rp-videos .sec__kicker { color: #a7a8af; }
#rp-videos .sec__title .accent { color: var(--show-red); }
#continue[hidden] { display: none !important; }

.toybox-show-card {
  flex: 0 0 clamp(280px, 31vw, 430px);
  min-width: 0;
  color: #fff;
  cursor: pointer;
  outline: none;
  transform: translateY(12px);
  opacity: 0;
  animation: toybox-card-in .6s ease forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes toybox-card-in { to { opacity: 1; transform: none; } }

.toybox-show-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  transition: transform .28s ease, box-shadow .28s ease;
}

.toybox-show-card:is(:hover, :focus-visible) .toybox-show-card__media {
  transform: scale(1.035);
  box-shadow: 0 24px 55px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.22);
}

.toybox-show-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease, transform 5s ease;
}

.toybox-show-card:is(:hover, :focus-visible) img { transform: scale(1.045); }

.toybox-show-card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.8));
}

.toybox-show-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(229,9,20,.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.toybox-show-card__play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #08090b;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}

.toybox-show-card__play:hover { transform: scale(1.08); }

.toybox-show-card__body { padding: 13px 2px 0; }
.toybox-show-card__title { margin: 0; font-size: 17px; font-weight: 900; letter-spacing: .035em; }
.toybox-show-card__meta { margin: 5px 0 0; color: var(--show-muted); font-size: 12px; }
.toybox-show-card__tagline { margin: 7px 0 0; color: #dedee2; font-size: 13px; line-height: 1.35; }
.toybox-show-card__details {
  display: inline-block;
  margin-top: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.toybox-show-card__details:hover { color: #ff5d66; }

.toybox-player {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.toybox-player.is-open { opacity: 1; visibility: visible; }
.toybox-player__shell { width: min(1120px, 100%); }
.toybox-player__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.toybox-player__eyebrow { margin: 0 0 5px; color: #ff5360; font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.toybox-player__title { margin: 0; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(32px, 5vw, 64px); font-weight: 400; letter-spacing: .03em; }
.toybox-player__close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(20,20,24,.9);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.toybox-player video {
  display: block;
  width: 100%;
  max-height: 72vh;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.7);
}
.toybox-player__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  color: #b7b8bd;
  font-size: 13px;
}
.toybox-player__more { color: #fff; font-weight: 800; text-decoration: none; }

.toybox-empty-continue {
  color: #7e8088;
  font-size: 14px;
}

/* Dedicated title page */
.toybox-show-page {
  margin: 0;
  min-height: 100vh;
  background: #07080b;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.show-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  background: linear-gradient(#050609, rgba(5,6,9,.78), transparent);
}
.show-nav__brand { color: #e50914; font-family: Impact, sans-serif; font-size: 24px; letter-spacing: .08em; text-decoration: none; }
.show-nav__links { display: flex; align-items: center; gap: 22px; }
.show-nav__links a { color: #e5e5e7; font-size: 13px; font-weight: 700; text-decoration: none; }
.show-nav__links a:hover { color: #fff; }
.show-detail { min-height: 100vh; }
.show-detail__hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: flex;
  align-items: end;
  padding: 130px clamp(24px, 6vw, 92px) 88px;
  overflow: hidden;
}
.show-detail__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-detail__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,9,.98) 0%, rgba(5,6,9,.78) 38%, rgba(5,6,9,.18) 70%), linear-gradient(0deg, #07080b 0%, transparent 45%); }
.show-detail__copy { position: relative; z-index: 1; width: min(680px, 100%); }
.show-detail__brand { margin: 0 0 13px; color: #ff4350; font-size: 12px; font-weight: 900; letter-spacing: .25em; }
.show-detail__title { margin: 0; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(64px, 10vw, 142px); font-weight: 400; line-height: .86; letter-spacing: .02em; }
[data-show-id="toyboxology"] .show-detail__title { font-size: clamp(38px, 8vw, 110px); }
.show-detail__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; color: #c3c4c8; font-size: 13px; font-weight: 700; }
.show-detail__meta span { padding-right: 10px; border-right: 1px solid rgba(255,255,255,.25); }
.show-detail__logline { max-width: 610px; margin: 20px 0 0; color: #ededee; font-size: clamp(16px, 2vw, 20px); line-height: 1.5; }
.show-detail__actions { display: flex; gap: 12px; margin-top: 28px; }
.show-detail__play, .show-detail__back {
  border: 0;
  border-radius: 5px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.show-detail__play { background: #fff; color: #08090b; }
.show-detail__back { background: rgba(90,90,97,.72); color: #fff; }
.show-detail__content { padding: 12px clamp(24px, 6vw, 92px) 90px; }
.show-detail__section-title { margin: 0 0 20px; font-size: clamp(25px, 3.5vw, 42px); }
.show-episodes { display: grid; gap: 12px; }
.show-episode {
  display: grid;
  grid-template-columns: minmax(190px, 320px) 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.show-episode img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.show-episode h3 { margin: 0 0 8px; font-size: 18px; }
.show-episode p { margin: 0; color: #aaaab0; font-size: 14px; line-height: 1.45; }
.show-episode__state { color: #d8d8dc; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
button.show-episode__state { background: #fff; color: #08090b; border: 0; border-radius: 3px; padding: 12px 15px; cursor: pointer; }
button.show-episode__state:focus-visible { outline: 3px solid #e50914; outline-offset: 4px; }
.show-format, .show-transcript { color: #aaaab0; font-size: 14px; line-height: 1.6; }
.show-transcript { border-top: 1px solid #333; margin-top: 20px; padding: 16px 0; }
.show-transcript summary { color: #fff; cursor: pointer; }
.toybox-player__error { color: #fff; padding: 12px 20px; }
.show-more { margin-top: 68px; }
.show-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.show-more__card { color: #fff; text-decoration: none; }
.show-more__card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; transition: transform .25s ease; }
.show-more__card:hover img { transform: scale(1.025); }
.show-more__card strong { display: block; margin-top: 10px; letter-spacing: .04em; }

.show-concept-collection { padding: 32px 4vw; }
.show-concept-collection > p, .show-release-notice { color: #b7b7be; line-height: 1.6; }
.show-concept-rail { display: flex; gap: 16px; overflow-x: auto; padding: 12px 0 24px; scrollbar-width: none; }
.show-concept-rail::-webkit-scrollbar { display: none; }
.show-art-pending { display: grid; place-items: center; min-height: 170px; height: 100%; background: #18191e; color: #8d8e97; font-size: 14px; }
.show-detail__hero > .show-art-pending { position: absolute; inset: 0; }
.show-detail__title { overflow-wrap: anywhere; }
.show-release-notice { max-width: 670px; font-size: 14px; }
.show-season-plan { margin: 36px 0; border-top: 1px solid #303038; padding-top: 24px; }
.show-season-plan summary { cursor: pointer; font-size: 21px; font-weight: 700; }
.show-season-plan article { padding: 12px 0; border-bottom: 1px solid #25252b; }
.show-season-plan small { color: #aaa; }
.show-storyboard { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr)); gap: 16px; }
.show-storyboard figure { margin: 0; }
.show-storyboard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.show-storyboard figcaption { color: #aaa; padding: 8px 0; }

@media (max-width: 720px) {
  .toybox-show-card { flex-basis: 78vw; }
  .toybox-player { padding: 14px; }
  .toybox-player__foot { display: block; }
  .toybox-player__more { display: inline-block; margin-top: 8px; }
  .show-nav__links a:not(:first-child) { display: none; }
  .show-detail__hero { min-height: 82vh; padding-bottom: 50px; }
  .show-detail__veil { background: linear-gradient(0deg, #07080b 4%, rgba(5,6,9,.55) 70%, rgba(5,6,9,.28)); }
  .show-episode { grid-template-columns: 120px 1fr; gap: 13px; }
  .show-episode__state { grid-column: 2; }
  .show-more__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .toybox-show-card { animation: none; opacity: 1; transform: none; }
  .toybox-show-card__media, .toybox-show-card__media img { transition: none; }
}
