/* Collectanea V4.0.16 · deterministic spotlights, exact book faces, bounded museum spacing, mobile menu/home */

/* Clickable Collectanea home affordances. */
#sidebar .brand{cursor:pointer;user-select:none}
#sidebar .brand:focus-visible{outline:2px solid rgba(72,86,73,.42);outline-offset:4px;border-radius:8px}
.ct416-home-link{appearance:none;border:0;background:transparent;padding:0!important;min-height:0!important;cursor:pointer;text-align:left;color:inherit}
.ct416-home-link:hover,.ct416-home-link:focus-visible{text-decoration:underline;text-underline-offset:3px;outline:none}
.ct416-overview-title{cursor:pointer}
.ct416-week-boundary{display:block;margin:2px 0 6px;color:var(--ct-text-muted,#6b6962);font:500 9px/1.2 system-ui,sans-serif;letter-spacing:.045em;text-transform:uppercase}

/* A photographed book face is the book plane itself: no inner mat/frame.
   The outer width/height remain the catalogue dimensions calculated in JS. */
#libraryRoom .ct408-front-book.has-image{
  border:0!important;
  border-radius:1px!important;
  background:transparent!important;
  box-shadow:0 2px 2px rgba(0,0,0,.28),3px 4px 7px rgba(0,0,0,.17)!important;
  overflow:hidden!important;
}
#libraryRoom .ct408-front-book.has-image .ct408-front-cover{
  inset:0!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:transparent!important;
}
#libraryRoom .ct408-front-book.has-image .ct408-front-edge{display:none!important}
#libraryRoom .book-spine-v2.has-image{
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}

/* Salon hanging: visible but narrow separation. JS uses 14 px x 16 px on desktop;
   CSS preserves a small fixed gap in the mobile horizontal flow. */
#museumRoom .ct408-salon-wall{--museum-gap-min:12px;--museum-gap-max:22px}
@media(max-width:760px){
  #museumRoom .ct408-salon-wall{
    gap:12px!important;
    column-gap:12px!important;
    row-gap:14px!important;
  }
  .mobile-bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .mobile-bottom-nav button small{font-size:8px!important}
}
@media(max-width:390px){
  .mobile-bottom-nav button small{font-size:7.5px!important}
  .mobile-bottom-nav button span{font-size:16px!important}
}

/* No decorative frame around any front-facing book. Dimensions come only from catalogued H×W. */
#libraryRoom .ct408-front-book{
  border:0!important;
  border-radius:1px!important;
  overflow:hidden!important;
}
#libraryRoom .ct408-front-cover{
  inset:0!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
#libraryRoom .ct408-front-edge{display:none!important}
