/* ===== Inside a collection: the filters as plain words with their icons — no pills, no boxes.
   Not selected and selected: the cover red. Each saved item: its book's cover on the left, the text on the right. ===== */
html body #app main.colp .kseg{display:flex!important;gap:clamp(20px,2.4vw,34px)!important;background:none!important;padding:0!important;border:0!important;box-shadow:none!important;margin:4px 0 30px!important}
html body #app main.colp .kseg a{all:unset;display:inline-flex!important;align-items:center;gap:8px;cursor:pointer;
  font:400 18px/1 "EB Garamond",Garamond,serif!important;font-variant-caps:normal;letter-spacing:.01em;color:#C4000C!important;
  background:none!important;border:0!important;box-shadow:none!important;padding:4px 0!important;height:auto!important;transition:color .2s}
html body #app main.colp .kseg a svg,html body #app main.colp .kseg a .ic{display:inline-block!important;width:18px!important;height:18px!important;color:inherit!important;stroke:currentColor}
html body #app main.colp .kseg a b{font:400 15px "EB Garamond",Garamond,serif!important;color:inherit!important;opacity:.6}
html body #app main.colp .kseg a.on{color:#C4000C!important;background:none!important;font-weight:500!important}
@media (hover:hover){html body #app main.colp .kseg a:not(.on):hover{color:#C4000C!important}}
html.night body #app main.colp .kseg a{color:#E2584F!important}html.night body #app main.colp .kseg a.on{color:#E2584F!important}
/* the cover thumbnails, zoomed in on their drawing: the red figure fills the frame instead of a tiny whole cover */
html body #app main.colp .citems .row2 .rcov{object-fit:cover!important;object-position:50% 47%!important;
  transform:none;aspect-ratio:2/3;background:#fff;
  clip-path:inset(0);scale:1;image-rendering:auto}
html body #app main.colp .citems .row2 .rcov{object-view-box:inset(6% 8% 18% 8%)}

/* ===== the page, centred ===== */
html body #app main.colp{max-width:1000px!important;margin-left:auto!important;margin-right:auto!important;padding-left:32px!important;padding-right:32px!important}
/* ===== rows: room around the cover when highlighted; × only on hover; the kind of thing marked on the right ===== */
html body #app main.colp .citems .row2.withcover{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;column-gap:26px!important;
  padding:18px 20px!important;margin:0 -20px!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;position:relative;transition:background .2s}
@media (hover:hover){html body #app main.colp .citems .row2.withcover:hover{background:rgba(255,255,255,.62)!important}}
html body #app main.colp .citems .row2 .rcov{grid-row:1/3}
html body #app main.colp .citems .row2 .rdel{position:absolute!important;top:10px;right:10px;opacity:0;transition:opacity .2s;width:26px!important;height:26px!important}
html body #app main.colp .citems .row2:hover .rdel,html body #app main.colp .citems .row2 .rdel:focus-visible{opacity:.7}
/* the kind of thing, quietly: a small icon and its word at the head of the source line, in the kind's colour */
html body #app main.colp .citems .row2 .rkind{display:inline-flex;align-items:center;gap:5px;margin-right:9px;color:var(--kc);vertical-align:-1px}
html body #app main.colp .citems .row2 .rkind svg,html body #app main.colp .citems .row2 .rkind .ic{width:14px!important;height:14px!important;stroke:currentColor}
html body #app main.colp .citems .row2 .rkind em{font:500 15px/1 "EB Garamond",Garamond,serif;font-style:normal}
html body #app main.colp .citems .row2 .rkind::after{content:"·";margin-left:9px;color:var(--ink3)}
.row2.k-p{--kc:#C4000C}.row2.k-ch{--kc:#2A2621}.row2.k-cm{--kc:#C4000C}
html.night .row2.k-ch{--kc:#ECE7DD}
html body #app main.colp .citems .row2.withcover{grid-template-columns:auto 1fr!important}
/* one column, the full width of the page column, so the list lines up with the title and the search on both sides */
html body #app main.colp .citems{display:block!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
html body #app main.colp .citems .row2.withcover{margin:0 -20px!important;width:auto!important}
html body #app main.colp .chead,html body #app main.colp .kseg,html body #app main.colp .kback{max-width:none!important;margin-left:0!important}
/* every kind marker in the cover red */
html body .row2.k-p,html body .row2.k-ch,html body .row2.k-cm{--kc:#C4000C}
html.night body .row2.k-p,html.night body .row2.k-ch,html.night body .row2.k-cm{--kc:#E2584F}
/* the collection's title — "ALL SAVED", or the collection's name — in Times New Roman capitals, like YOUR COLLECTION */
html body #app main.colp .chead h1,html body #app main.colp .chead .cname-ed{font-family:"Times New Roman",Times,Tinos,serif!important;font-weight:400!important;
  text-transform:uppercase!important;letter-spacing:-.005em!important;font-size:36px!important;line-height:1.1!important}
@media (max-width:700px){html body #app main.colp .chead h1,html body #app main.colp .chead .cname-ed{font-size:30px!important}}
/* the body of the collection in Ashcroft's voice: Ashcroft where it's licensed/installed, else Ysabeau Office (free, closest) */
html body #app main.colp{--body:"Ashcroft","Ashcroft Regular","Ysabeau Office",Optima,"Gill Sans",sans-serif}
html body #app main.colp .citems .rtext,html body #app main.colp .citems .rnote,html body #app main.colp .citems .rw,
html body #app main.colp .citems .rw i,html body #app main.colp .citems .rkind em,html body #app main.colp .kseg a,html body #app main.colp .kback,
html body #app main.colp .csearch3 input{font-family:var(--body)!important;letter-spacing:.005em!important}
html body #app main.colp .citems .rtext{font-size:19px!important;line-height:1.5!important;font-weight:400!important}
html body #app main.colp .citems .rw,html body #app main.colp .citems .rnote{font-size:15px!important}
html body #app main.colp .kseg a{font-size:17px!important}
/* larger, easier to read: bigger covers, larger text, more air between rows; room on the right so the × never sits on the text */
html body #app main.colp{max-width:1080px!important}
html body #app main.colp .citems .row2.withcover{column-gap:32px!important;padding:24px 56px 24px 22px!important;margin:0 -22px!important}
html body #app main.colp .citems .row2 .rcov{width:96px!important}
html body #app main.colp .citems .rtext{font-size:23px!important;line-height:1.48!important}
html body #app main.colp .citems .rnote{font-size:18px!important;margin-top:10px!important}
html body #app main.colp .citems .rw,html body #app main.colp .citems .rw i{font-size:18px!important;margin-top:12px!important}
html body #app main.colp .citems .row2 .rkind em{font-size:18px!important}
html body #app main.colp .citems .row2 .rkind svg,html body #app main.colp .citems .row2 .rkind .ic{width:17px!important;height:17px!important}
html body #app main.colp .citems .row2 .rdel{top:16px!important;right:14px!important}
@media (max-width:700px){
  html body #app main.colp .citems .row2.withcover{column-gap:18px!important;padding:18px 40px 18px 14px!important;margin:0 -14px!important}
  html body #app main.colp .citems .row2 .rcov{width:68px!important}
  html body #app main.colp .citems .rtext{font-size:20px!important}
  html body #app main.colp .citems .rw,html body #app main.colp .citems .rw i,html body #app main.colp .citems .rnote,html body #app main.colp .citems .row2 .rkind em{font-size:16px!important}
}
/* the whole cover, uncropped, with its white margins */
html body #app main.colp .citems .row2 .rcov{object-view-box:none!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;height:auto!important;background:#fff!important}

/* Passages divided by theme: a full-width label line in the list (the theme's colour, its name in Times capitals, the count) */
html body #app main.colp .citems > .thhead{grid-column:1/-1;display:flex!important;align-items:center;gap:10px;margin:30px 0 4px!important;padding:0 0 10px!important;
  border-bottom:1px solid var(--line)!important;background:none!important;cursor:default;
  font:400 14px/1 "Times New Roman",Times,Tinos,serif!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--ink)!important}
html body #app main.colp .citems > .thhead:first-child{margin-top:8px!important}
@media (hover:hover){html body #app main.colp .citems > .thhead:hover{background:none!important}}
html body #app main.colp .thdot{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
html body #app main.colp .thn{margin-left:4px;letter-spacing:0;color:var(--ink3)}
