/* the bookmark ribbon on a book card: it slides down from the top edge of the patterned plate, to the right of the cover,
   only while you hover the card. Not in your library: paper with a red +. In your library: the cover red with a tick. */
.lbcv > .rbn{all:unset;box-sizing:border-box;position:absolute;z-index:4;top:0;right:7%;width:22px;height:40px;cursor:pointer;
  display:grid;justify-items:center;padding-top:9px;background:#F5F1E8;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);
  filter:drop-shadow(-1px 1px 1px rgba(0,0,0,.28));opacity:0;translate:0 -10px;pointer-events:none;
  transition:opacity .35s ease,translate .45s cubic-bezier(.2,.7,.2,1),height .25s ease}
.lbcv > .rbn svg{width:11px;height:11px;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lbcv > .rbn .rbn-add{stroke:#C4000C}.lbcv > .rbn .rbn-on{display:none;stroke:#FFF6F0}
.lbcv > .rbn.on{background:linear-gradient(90deg,#A8000A,#C4000C 45%,#D3242C 60%,#A8000A)}
.lbcv > .rbn.on .rbn-add{display:none}.lbcv > .rbn.on .rbn-on{display:block}
@media (hover:hover){a.lb:is(:hover,:focus-visible) .lbcv > .rbn{opacity:1;translate:0 0;pointer-events:auto}
  a.lb .lbcv > .rbn:hover{height:46px}}
@media (hover:none){.lbcv > .rbn{display:none}}

/* (the user, 2026-11-17) no icons, nothing on books you haven't added: only books in your library carry the tab, a plain beige
   ribbon that fades in with the coloured block, at the same slow pace */
.lbcv > .rbn svg{display:none!important}
.lbcv > .rbn:not(.on){display:none!important}
.lbcv > .rbn.on{background:#E9DFCB!important;padding:0!important;filter:drop-shadow(-1px 1px 1.5px rgba(40,25,10,.25));translate:0 0!important;
  transition:opacity .55s cubic-bezier(.4,0,.2,1)!important}
@media (hover:hover){a.lb:is(:hover,:focus-visible) .lbcv > .rbn.on{opacity:1;transition:opacity 1s cubic-bezier(.45,0,.25,1) .2s!important}
  a.lb .lbcv > .rbn.on:hover{height:40px}}
