/* ===== Your library (experiment): Reading · Read later · Finished ===== */
.lsec.lt .lempty{margin:6px 0 0;font:italic 400 19px/1.45 var(--text);color:var(--ink3)}
.lsec.lt .lempty b{font-style:normal;font-weight:500;color:var(--ink2)}
/* the book page's Read later toggle */
.btns .blater{display:inline-flex;align-items:center;gap:8px;margin-left:10px}
.btns .blater.on{color:var(--red);border-color:color-mix(in srgb,var(--red) 40%,var(--line))}
.btns .blater .ic{width:18px;height:18px}

/* Your library only: the border stripe, full width above the top bar (placed by libbanner.js). One 245×64 cut repeats
   unstretched — every square on the same interval; centred so the pattern is symmetric on any screen */
.libbanner{display:block;width:100%;height:clamp(24px,2vw,32px);background:url("img/frieze/tiles-books.png") left center / auto 100% repeat-x;position:relative;z-index:41}
html.night .libbanner{filter:brightness(.82) saturate(.9)}

/* ===== shelves without the strip: bigger books standing on the paper, progress written under each cover ===== */
.libp .lrow{--cw:clamp(130px,12.5vw,184px)!important;box-shadow:none!important;margin-bottom:0!important;align-items:flex-start!important;
  gap:clamp(24px,3vw,48px)!important;padding:0!important}
.libp .lrow::after{display:none!important}
.libp .lbk{aspect-ratio:auto!important;background:none!important;display:flex!important;flex-direction:column;gap:12px}
.libp .lbcv2{position:relative;display:block;width:100%;aspect-ratio:2/3;background:#fff}
.libp .lbcv2 img{display:block;width:100%;height:100%;object-fit:cover}
.libp .lbprog{display:flex;align-items:center;gap:10px}
.libp .lbprog i{position:relative;flex:1;height:2px;background:color-mix(in srgb,var(--red) 18%,transparent)}
.libp .lbprog i::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);background:var(--red)}
.libp .lbprog b{font:500 14px/1 var(--text);font-variant-numeric:lining-nums tabular-nums;color:var(--ink3)}
.libp .lshelf{margin-top:clamp(36px,5vh,60px)}
@media (max-width:700px){.libp .lrow{--cw:38vw!important;gap:18px!important}}
.libp .libhead{margin-top:clamp(28px,4vw,52px)}
/* no stripe while reading: not on a chapter, nor on a book's table of contents */
body:has(main.readp) .libbanner,body:has(main.bookp) .libbanner{display:none!important}
