/* (iteration) Stamped cards on All books (stamped.js, only with ?cards=stamp): each cover stands on its own coloured
   paper (.stf), the book's symbol repeated across it a shade deeper and pressed in; title and year stay below in the site's type.
   The cover box (.lbcv) is left exactly as everywhere else: shadow, spine, never cropped. */
html.cards-stamp #app main.booksp a.lb .stf{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:var(--card);width:var(--shelf);height:calc(var(--shelf) * 1.5);padding:0;margin-bottom:14px}
/* the cover: smaller, centred on its paper (matches standard-b.css's #app#app strength, which fixes cover sizes) */
html.cards-stamp body #app#app main.booksp .lbgrid a.lb .stf .lbcv{position:relative!important;z-index:2;left:auto!important;top:auto!important;transform:none!important;margin:0!important;width:calc(var(--shelf) * .56)!important;height:calc(var(--shelf) * .84)!important}
/* the stamp: the symbol repeated, pressed (a faint light edge upper-left, a faint shade lower-right) */
html.cards-stamp #app main.booksp a.lb .stp{position:absolute;inset:-4%;z-index:0;pointer-events:none;
  filter:drop-shadow(-.6px -.6px 0 rgba(255,250,240,.16)) drop-shadow(.7px .7px 0 rgba(20,10,0,.13))}
html.cards-stamp #app main.booksp a.lb .stp i{position:absolute;inset:0;background:var(--stamp);
  -webkit-mask:var(--sym) 0 0/62% auto repeat;mask:var(--sym) 0 0/62% auto repeat}
/* the paper's grain over the colour, under the cover */
html.cards-stamp #app main.booksp a.lb .stg{position:absolute;inset:0;z-index:1;pointer-events:none;background:var(--paper-tex);mix-blend-mode:multiply;opacity:.9}
/* the deeper blind emboss (as first shown): a clear lit edge upper-left, a firm shade lower-right, a soft fall-off */
html.cards-stamp #app main.booksp a.lb .stp{
  filter:drop-shadow(-1px -1px 0 rgba(255,250,238,.34)) drop-shadow(1.1px 1.1px 0 rgba(25,12,0,.30)) drop-shadow(1.5px 1.5px 1.5px rgba(25,12,0,.14))!important}
