/* Keep the actual jackets legible above the original setting art. */
#worlds.world-doors-cover-first .world-door-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.65rem, 1.4vw, 1.15rem);
}

#worlds.world-doors-cover-first .world-door {
  min-width: 0;
  background: #fff6e4;
}

#worlds.world-doors-cover-first .world-door-jacket {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: .85rem .45rem;
  background: #4a3a2c;
  border-bottom: 1px solid #bb955c;
}

#worlds.world-doors-cover-first .world-door-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: .55;
}

#worlds.world-doors-cover-first .world-door-cover {
  display: block;
  width: auto;
  height: clamp(7.8rem, 15vw, 11rem);
  max-width: 95%;
  object-fit: contain;
  box-shadow: 0 .45rem 1rem #190d0bb3;
  outline: 1px solid #eed09970;
}

#worlds.world-doors-cover-first .world-door-copy {
  gap: .3rem;
  padding: .7rem .75rem .8rem;
}

#worlds.world-doors-cover-first .world-door h3 {
  margin: 0;
  font-size: clamp(1.06rem, 1.74vw, 1.38rem);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#worlds.world-doors-cover-first .world-door-retirement h3 {
  font-size: clamp(1rem, 1.53vw, 1.25rem);
}

#worlds.world-doors-cover-first .world-door-enter {
  padding-top: .5rem;
  font-size: .84rem;
}

#party-notes {
  align-items: start;
  margin-bottom: 0;
}

#party-notes .lore-scrap { transform: none; }

#other-realms.section-block {
  padding-top: 0;
  scroll-margin-top: 4.5rem;
}

#other-realms.section-block::before { display: none; }

.other-realms-swords {
  display: block;
  width: min(410px, 78vw);
  height: auto;
  margin: 16px auto .75rem;
}

@media (max-width: 950px) {
  #worlds.world-doors-cover-first .world-door-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #worlds.world-doors-cover-first .world-door { grid-column: span 2; }
  #worlds.world-doors-cover-first .world-door:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 620px) {
  #worlds.world-doors-cover-first .world-door-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #worlds.world-doors-cover-first .world-door:nth-child(n) { grid-column: auto; }
  #worlds.world-doors-cover-first .world-door:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
  }
  #worlds.world-doors-cover-first .world-door:last-child .world-door-jacket {
    border-bottom: 0;
    border-inline-end: 1px solid #bb955c;
  }
  #worlds.world-doors-cover-first .world-door:last-child .world-door-copy { justify-content: center; }
  #worlds.world-doors-cover-first .world-door:last-child .world-door-enter { margin-top: 0; }
}
