/* kafka-lists v2: a library gallery - covers standing on wooden shelves, label cards underneath, quote + note on hover */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=IM+Fell+English:ital@0;1&display=swap');
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4){counter-reset:kshelf;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));column-gap:26px;row-gap:34px;align-items:start;padding:0!important;background:none!important;box-shadow:none!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4)>:not(.kafka-item){grid-column:1/-1}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-list-intro{background:#f6efdc!important;color:#3a2a1a!important;font:italic 17px/1.5 'IM Fell English',Georgia,serif!important;border:0!important;border-radius:4px!important;padding:12px 18px!important;margin:0!important;box-shadow:0 2px 0 #c9b88f,0 10px 18px -10px rgba(0,0,0,.6)}
/* shelf name: gilt letters on a carved header */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) h2.kafka-list-shelf{counter-increment:kshelf;display:block!important;text-align:center;margin:26px 0 -8px!important;padding:10px!important;border:0!important;border-top:1px solid rgba(184,144,74,.6)!important;border-bottom:1px solid rgba(184,144,74,.6)!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:700 22px/1.2 'IM Fell English',Georgia,serif!important;color:#7B2D26!important;text-shadow:none}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) h2.kafka-list-shelf::before{content:"Shelf " counter(kshelf,upper-roman) " \00B7  ";font:400 11px/1 'Special Elite',monospace;letter-spacing:.2em;text-transform:uppercase;color:#a08a64;vertical-align:middle}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) h2.kafka-list-shelf::after{display:none!important}
/* each book: cover on a plank, label card below */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4):not(#d5):not(#d6):not(#d7):not(#d8) .kafka-item{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"cover" "plank" "title" "by" "free"!important;grid-template-rows:auto auto auto auto auto!important;gap:0!important;padding:0 0 0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;overflow:visible!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item::before{display:none!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item .kt-art{position:relative!important;grid-area:cover!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:2/3;margin:0!important;border-radius:2px 6px 6px 2px!important;box-shadow:inset 7px 0 9px -5px rgba(0,0,0,.35),4px 6px 12px -4px rgba(60,40,20,.45)!important;transition:transform .3s ease}
html body .kafka-list[data-list=songs]:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item .kt-art{aspect-ratio:1/1;border-radius:4px!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item:hover .kt-art{transform:translateY(-6px) rotate(-1deg)}
/* the plank: continuous across the row */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item::after{content:""!important;grid-area:plank;display:block;position:relative!important;inset:auto!important;width:auto!important;height:14px!important;margin:0 -14px 10px!important;border-radius:0!important;background:linear-gradient(180deg,#e2c08f,#c99a62 50%,#a87a45)!important;box-shadow:0 7px 9px -6px rgba(90,60,30,.45)}
/* label card */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item h3{margin:0!important;padding:10px 10px 2px!important;background:#fbf5e6;border-radius:3px 3px 0 0;font:700 16px/1.25 'IM Fell English',Georgia,serif!important;color:#2a1d12!important;text-align:center;grid-area:title!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-by{justify-content:center;margin:0!important;padding:4px 10px 10px!important;background:#fbf5e6;border-radius:0 0 3px 3px;box-shadow:0 6px 12px -8px rgba(90,60,30,.45);font:400 11.5px/1.35 'Special Elite',monospace!important;color:#5a4630!important;text-align:center;grid-area:by!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-face{width:22px!important;height:22px!important;filter:sepia(.35);box-shadow:0 0 0 1.5px #fbf5e6,0 0 0 2.5px rgba(90,70,48,.45)}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-tag{position:absolute;top:8px;left:8px;z-index:3;max-width:calc(100% - 16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:400 9px/1 'Special Elite',monospace!important;letter-spacing:.06em!important;color:#3a2a1a!important;background:rgba(251,245,230,.92)!important;border:0!important;border-radius:2px!important;padding:4px 6px!important;margin:0!important}
/* quote (top) and note (bottom) lie over the cover; shown on hover or tap */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-quote,html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-note{grid-area:cover!important;position:relative!important;z-index:2;margin:0!important;opacity:0;pointer-events:none;transition:opacity .25s ease;overflow:auto;scrollbar-width:thin}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-quote{align-self:start;max-height:56%;padding:10px 12px 8px!important;background:rgba(255,250,238,.96)!important;border:0!important;border-radius:2px 6px 0 0;color:#3a2a1a!important;font:italic 13.5px/1.35 'IM Fell English',Georgia,serif!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-note{align-self:end;max-height:44%;padding:8px 12px 10px!important;background:rgba(255,250,238,.96);border-radius:0 0 6px 2px;color:#3a2a1a!important;border-top:1px dashed rgba(184,144,74,.6);font:italic 13.5px/1.35 'IM Fell English',Georgia,serif!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-note::before{content:"Why I keep it";display:block;font:700 9px/1 'Special Elite',monospace;letter-spacing:.14em;text-transform:uppercase;color:#b03a2e;margin:0 0 6px}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item:hover .kafka-item-quote,html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item:hover .kafka-item-note,html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item:focus-within .kafka-item-quote,html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item:focus-within .kafka-item-note{opacity:1;pointer-events:auto}
/* free reading links under the label */
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free{grid-area:free;display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;margin:8px 0 0!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free a{display:flex!important;align-items:center;justify-content:center;gap:4px;min-width:0;white-space:nowrap;font:400 11px/1 'Special Elite',monospace!important;text-transform:uppercase;letter-spacing:.04em;background:rgba(47,93,58,.12)!important;color:#2f5d3a!important;border:1px solid rgba(47,93,58,.45)!important;border-radius:3px!important;padding:6px 4px!important;transform:none!important;text-decoration:none!important;transition:background .2s ease,color .2s ease}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free a:only-child{grid-column:1/-1}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free a:nth-child(2){background:rgba(123,45,38,.1)!important;color:#7B2D26!important;border-color:rgba(123,45,38,.4)!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free a:hover{background:#2f5d3a!important;color:#fff!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item-free a:nth-child(2):hover{background:#7B2D26!important;color:#fff!important}
@media (max-width:640px){html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:26px}html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item::after{margin:0 -9px 8px!important}html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4) .kafka-item h3{font-size:14.5px!important}}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4):not(#d5):not(#d6):not(#d7):not(#d8) .kafka-item>*{grid-column:1/-1!important;max-width:none!important}
html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4):not(#d5):not(#d6):not(#d7):not(#d8) .kafka-item>.kafka-item-quote,html body .kafka-list:not(#d1):not(#d2):not(#d3):not(#d4):not(#d5):not(#d6):not(#d7):not(#d8) .kafka-item>.kafka-item-note{grid-row:1!important}
