.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate { pointer-events: none; }
.story { max-height: calc(100% - 220px); overflow: auto; scrollbar-width: thin; }
.captions { min-height: 2.5em; }
.caption { overflow-wrap: anywhere; }
.caption:only-child { opacity: 1; }
.playback-options {
  position: absolute;
  z-index: 31;
  top: 154px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.playback-options:not(:has(:not([hidden]))) { display: none; }
.playback-options .quiet-button, #explore-read { background: #13242a; border: 1px solid var(--line); }
.exploration {
  position: absolute;
  z-index: 11;
  inset: 0;
  pointer-events: none;
}
.prop-hotspots { position: absolute; inset: 0; }
.prop-hotspots button {
  position: absolute;
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--paper);
  border: 1px solid #e5c991;
  border-radius: 3px;
  background: #142229b0;
}
.prop-hotspots button:hover, .prop-hotspots button:focus-visible { background: #20363a; }
#explore-read {
  position: absolute;
  right: 5%;
  bottom: 36px;
  pointer-events: auto;
}
.book-actions { flex-wrap: wrap; column-gap: clamp(12px, 3vw, 36px); row-gap: 0; }
#book-explore { color: var(--muted); }
.reading-locations a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.reading-locations a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.world-status:not([hidden]) { justify-self: center; }

@media (max-width: 760px) {
  .story { max-height: calc(62% - 110px); }
  .playback-options { top: 126px; }
  #explore-read { right: 6%; bottom: 40px; }
  .book-actions .text-button { min-width: 0; }
}
