/* The shared Kenner styles supply layout, type and colors. */
.next17-index .character-card[href="/next17/ephant-mon"] .character-photo { --focus-y: 20%; }
.next17-index .character-card[href="/next17/hermi-odle"] .character-photo { --focus-y: 32%; }
.next17-index .character-card[href="/next17/yoda-marvel-comics-blue"] .character-photo,
.next17-index .character-card[href="/next17/yoda-marvel-comics-green"] .character-photo { --focus-y: 32%; }
.next17-index h1 { overflow-wrap: break-word; }
.next17-guide .next17-logo { display: block; width: min(100%, 211px); height: auto; margin-bottom: 20px; }
.next17-guide .skip { position: absolute; left: 24px; top: -100px; background: #222; padding: 10px; }
.next17-guide .skip:focus { top: 10px; }
/* The logo on each figure page links back to the Next 17 index. */
.next17-guide .collection-logo-link { display: inline-block; border-radius: 4px; }
@media (max-width: 580px) {
  .next17-guide .next17-logo { width: min(100%, 169px); margin-bottom: 16px; }
}

/* Keep the backdrop separate so text and figure photographs stay fully opaque. */
.next17-index,
.next17-guide { position: relative; isolation: isolate; min-height: 100vh; background: #000; }
.next17-index::before,
.next17-guide::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/images/opt/next17/death-star-blue-background-bg.jpg") 55% center / cover no-repeat;
  opacity: 0.1;
}

/* Reveal the page behind the original photographs' black outer mat.
   Clip the main photo only; preserve the inset portrait and full layout box. */
.next17-guide .figure-photo > img:not(.figure-movie-photo) {
  clip-path: inset(4.5% 6.8% 4.7% round 23% 23% 26% 26% / 14.5% 14.5% 16.5% 16.5%);
}

/* An unowned or unreleased figure gets an empty studio photograph and a corner ribbon. */
.next17-index .wanted-card { cursor: default; }
.next17-index .wanted-photo { container-type: inline-size; }
.next17-index .wanted-card .wanted-photo img {
  object-position: 50% 75%;
  transform: none;
}
.next17-index .wanted-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: min(150px, 75cqi);
  aspect-ratio: 1;
  overflow: hidden;
  pointer-events: none;
}
/* COMING SOON: a larger corner, same band thickness and type. */
.next17-index .wanted-ribbon.long-label { width: min(200px, 100cqi); }
.next17-index .wanted-ribbon strong {
  position: absolute;
  top: 24%;
  left: -33%;
  width: 145%;
  padding: 8px 0;
  border-block: 2px solid #ffec00;
  background: #00aeef;
  color: #ffec00;
  box-shadow: 0 3px 9px rgb(0 0 0 / 30%);
  transform: rotate(-45deg);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 6cqi, 18px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
}
