/* Keep complete photographs visible in timeline cards and opened memory details. */
.moment-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #30233e, #65516f);
}
.moment-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
.memory-detail img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain !important;
  object-position: center center !important;
  background: #30233e;
  margin: 0 auto 20px;
}


/* Shared soundtrack controls stay in sync across every chapter. */
.music-play {
  margin-top: 12px;
  min-width: 170px;
}
.music-play.playing {
  background: linear-gradient(120deg, #5a4269, #342342);
  color: #fff8ef;
  border-color: #dfc58d;
}
.music-status {
  min-height: 1.5em;
  margin-top: 10px;
  color: #e0d3e5;
  font-size: 11px;
}
.sound[aria-busy="true"] {
  opacity: .75;
  cursor: progress;
}
