/* Inset scroll targets so snapping and keyboard focus keep cover edges visible. */
.favorites-section .favorite-rail {
  padding: 12px 12px 18px;
  scroll-padding-inline: 12px;
}
.favorites-section .favorite-book {
  scroll-margin-inline: 0;
}
.favorites-section .favorite-art img {
  transform: none;
  transition: transform 200ms cubic-bezier(.25,1,.5,1), box-shadow 200ms ease;
}
/* Keyboard selection stays immediate; the existing outline provides feedback. */
.favorites-section .favorite-pick:focus-visible {
  outline: 2px solid #aaa;
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .favorites-section .favorite-pick:hover {
    outline: none;
  }
  .favorites-section .favorite-pick:hover .favorite-art img {
    transform: translateY(-5px);
    box-shadow: 0 7px 12px #0005;
  }
  .favorites-section .favorite-pick:hover:focus-visible {
    outline: 2px solid #aaa;
  }
}
@media (prefers-reduced-motion: reduce) {
  .favorites-section .favorite-art img {
    transition: none;
  }
  .favorites-section .favorite-pick:hover .favorite-art img {
    transform: none;
    box-shadow: 0 1px 4px #0003;
  }
}

/* Equal cover heights, preserving each jacket’s original proportions. */
.favorites-section .favorite-art{justify-content:center}
.favorites-section .favorite-art img{width:auto;height:100%;max-width:none;max-height:100%;object-fit:contain}
.intro-light .favorites-section .favorite-art img{box-shadow:0 1px 4px #6c3f4025}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .intro-light .favorites-section .favorite-pick:hover .favorite-art img{box-shadow:0 7px 12px #6c3f4035}
}
