.lore-asset .sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lore-asset .side,
.lore-asset .wipe {
  min-width: 0;
  border: 1px solid #404040;
  border-radius: 9px;
  padding: 13px;
  background: #202020;
}
.lore-asset .side p {
  margin: 6px 0 10px;
}
.lore-asset .side img,
.lore-asset canvas,
.lore-asset .wipe-frame {
  width: 100%;
  min-height: 96px;
  background: #161616;
  border-radius: 5px;
}
.lore-asset .side img {
  max-height: 380px;
  object-fit: contain;
}
.lore-asset canvas {
  aspect-ratio: 4 / 3;
  display: block;
  touch-action: none;
}
.lore-asset .wipe {
  margin: 10px 0 13px;
}
.lore-asset .wipe-frame {
  position: relative;
  height: clamp(200px, 45vh, 420px);
}
.lore-asset .wipe-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lore-asset .wipe input {
  display: block;
  width: 100%;
  padding: 0;
}
.lore-asset pre {
  background: #171717;
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 420px;
  overflow: auto;
}
.lore-asset .actions,
.lore-asset .camera {
  margin-top: 10px;
}
.lore-asset .camera input {
  vertical-align: middle;
}
@media (max-width: 620px) {
  .lore-asset .sides {
    grid-template-columns: 1fr;
  }
}

.lore-room-review p {
  overflow-wrap: anywhere;
  white-space: normal;
}
.lore-room-review .review-controls label {
  display: grid;
  gap: 4px;
}
.lore-room-review .review-stage-body > section > select {
  width: 100%;
  margin-block: 12px;
}
.lore-room-review fieldset {
  display: grid;
  gap: 6px;
  margin-block: 10px;
}

/* Reduced motion: whatever moves inside these surfaces (their own rules or shared ones from style.css,
   room.css and design-system.css) settles at its end state at once. Near-zero rather than zero keeps
   transitionend and animationend firing for scripts that wait on them. Nothing changes when motion is allowed. */
@media (prefers-reduced-motion: reduce) {
  :where(.lore-asset, .lore-room-review),
  :where(.lore-asset, .lore-room-review) *,
  :where(.lore-asset, .lore-room-review)::before,
  :where(.lore-asset, .lore-room-review)::after,
  :where(.lore-asset, .lore-room-review) *::before,
  :where(.lore-asset, .lore-room-review) *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }
}
