/* ===== One light (experiment): a single source, up and to the right of the page. Every book on the site casts the
   same shadow, falling to the LEFT at the same angle and length — no all-round glows, no down-right casts, no sheens.
   Scoped through #app / #finder so it outranks every earlier cover shadow (including the !important ones). ===== */
:root{
  /* a crisp shadow, offset down-left away from the light: barely softened, with a hair of extra darkness where the book meets the page */
  --book-shadow:-.5px .5px .5px rgba(50,35,20,.38),-1.5px 1.5px 1.5px rgba(50,35,20,.16),-5px 5px 2.5px rgba(50,35,20,.15);
  --book-shadow-lift:-.5px .5px .5px rgba(50,35,20,.38),-1.5px 1.5px 1.5px rgba(50,35,20,.16),-8px 8px 3.5px rgba(50,35,20,.15);
}
html.night{
  --book-shadow:-.5px .5px .5px rgba(0,0,0,.7),-1.5px 1.5px 1.5px rgba(0,0,0,.35),-5px 5px 2.5px rgba(0,0,0,.4);
  --book-shadow-lift:-.5px .5px .5px rgba(0,0,0,.7),-1.5px 1.5px 1.5px rgba(0,0,0,.35),-8px 8px 3.5px rgba(0,0,0,.4);
}
#app :is(.bc img,a.resume img,.resume img,.bcv,.rcov,.byline img,.cstack img,.vit-img,.abcv,.lbcv,.lbcv2,.pl-l,.sb,.mini-cover,.nextc img),
#finder :is(.fx-bcov,.fx-icov){box-shadow:var(--book-shadow)!important}
@media (hover:hover){
  #app :is(.bc:hover img,a.resume:hover img,.abc:hover .abcv,.lb:hover .lbcv,.lbk:hover .lbcv2,.pl:hover .pl-l,.vit-p:hover .vit-img,.sb:hover){box-shadow:var(--book-shadow-lift)!important}
}
/* the blank sheets in an empty pile and the 'new collection' outline keep no shadow / the same single shadow */
#app .pl-new .pl-l.pl-ghost{box-shadow:none!important}
/* the book look stays: a hinge crease a few px in from the spine (shaded, then a lit ridge), and the faintest light
   across the board — from the top RIGHT, the same single source that throws the shadows to the left */
#app :is(.abcv,.lbcv,.lbcv2)::before{content:""!important;position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg, rgba(0,0,0,.10) 0, rgba(0,0,0,.03) 1.6%, rgba(255,255,255,.55) 2.6%, rgba(0,0,0,.07) 3.8%, transparent 7%)!important}
#app :is(.abcv,.lbcv,.lbcv2)::after{content:""!important;position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(242deg, rgba(255,255,255,.12), transparent 40%, transparent 72%, rgba(40,25,10,.05))!important}
#app .abcv{position:relative}
#app .abcv img{position:relative;z-index:0}

/* collection piles: only the back book casts the hard shadow onto the paper; the sheets stacked on it keep a soft, short one */
:root{--sheet-shadow:-1px 1px 1.5px rgba(50,35,20,.16),-4px 3px 8px -3px rgba(50,35,20,.22)}
html.night{--sheet-shadow:-1px 1px 1.5px rgba(0,0,0,.45),-4px 3px 8px -3px rgba(0,0,0,.55)}
#app .pl-stack .pl-l{box-shadow:var(--sheet-shadow)!important}
#app .pl-stack .pl-l:last-child:not(.pl-ghost){box-shadow:var(--book-shadow)!important}
@media (hover:hover){
  #app .pl:hover .pl-stack .pl-l{box-shadow:var(--sheet-shadow)!important}
  #app .pl:hover .pl-stack .pl-l:last-child:not(.pl-ghost){box-shadow:var(--book-shadow-lift)!important}
}

/* square book covers everywhere: no rounded corners on any cover, its frame or its shadow */
html body img[src*="covers/"],
#app :is(.bc img,a.resume img,.resume img,.bcv,.rcov,.byline img,.cstack img,.vit-img,.abcv,.lbcv,.pl-l,.sb,.mini-cover,.nextc img),
#finder :is(.fx-bcov,.fx-icov,.fx-bcov img,.fx-icov img){border-radius:0!important}
