.ll-sampler {
  --ll-ink: var(--ink);
  --ll-soft: var(--soft);
  --ll-rule: var(--rule);
  --ll-hand: Caveat, "Segoe Print", cursive;
  --ll-serif: Georgia, "Times New Roman", serif;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  margin: auto;
  color: var(--ll-ink);
  font-family: var(--ll-hand);
  text-align: left;
}
.ll-sampler *, .ll-sampler *::before, .ll-sampler *::after {box-sizing:border-box}
.ll-sampler :is(h1,h2,h3,p,figure) {margin:0}
.ll-sampler [hidden] {display:none!important}
.ll-sampler a {color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
.ll-sampler :is(button,a,input):focus-visible {outline:2px dashed var(--brass);outline-offset:3px}
.ll-sampler button {font:inherit;color:inherit}
.ll-defs {position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.ll-heading,.ll-stack-heading,.ll-reader-bar {display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.ll-heading {align-items:center}
.ll-heading h1 {font-size:clamp(2.8rem,5vw,4.2rem);font-weight:650;line-height:.92;letter-spacing:-.035em}
.ll-heading p {margin-top:5px;color:var(--ll-soft);font-size:1.22rem;line-height:1.1}
.ll-pick {
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  min-height:40px;padding:6px 13px 7px;background:#eae1c4;
  border:1.4px solid var(--edge);border-radius:32% 16% 23% 11% / 10% 12% 9% 18%;
  text-decoration:none;font-size:1.25rem;line-height:1;font-weight:650;transform:rotate(1deg);
}
.ll-search {display:flex;align-items:center;gap:9px;margin:19px 0 8px;border-bottom:1px solid var(--ll-rule);width:100%}
.ll-search svg {flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.ll-search input {display:block;width:100%;min-width:0;min-height:40px;margin:0;padding:6px 0;background:transparent;border:0;outline-offset:2px;color:var(--graphite);font:500 1.24rem/1.17 var(--ll-hand)}
.ll-search input::placeholder {color:var(--soft);opacity:1}
.ll-subjects {position:static!important;display:flex!important;align-items:center;justify-content:flex-start!important;flex-wrap:wrap;gap:0 13px;pointer-events:auto;color:var(--ll-soft);width:100%;margin:0;padding:0;border:0}
.ll-subjects a {display:inline-flex;align-items:center;min-height:32px;line-height:1;font-size:1.15rem;text-decoration:none}
.ll-subjects a[aria-current] {color:var(--ll-ink);font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.ll-subjects {margin-bottom:20px}
.ll-status:not(:empty) {margin:-5px 0 18px;color:var(--ll-soft);font-size:1.08rem}
.ll-wall {container-type:inline-size}
.ll-stack {min-width:0; margin:0 0 27px}
.ll-stack-heading {justify-content:flex-start;align-items:baseline;gap:9px;margin:0 0 8px}
.ll-stack-heading h2 {font-size:clamp(1.55rem,2.8vw,2.15rem);line-height:1.1;font-weight:650;letter-spacing:-.025em}
.ll-stack-heading>span {font:400 1rem/1 var(--ll-hand);color:var(--ll-soft)}
.ll-rack {
  --ll-case-height:clamp(220px,29vh,290px);
  content-visibility:auto;
  contain-intrinsic-size:auto calc(var(--ll-case-height) + 17px);
  margin:0 0 18px;
}
.ll-row {
  display:flex;align-items:flex-end;gap:var(--ll-spine-gap);
  isolation:isolate;
  height:var(--ll-case-height);
  padding:0 var(--ll-shelf-inset);
}
.ll-spine {
  position:relative;display:grid;flex:none;width:var(--ll-spine-width);height:var(--ll-height);
  grid-template-columns:auto auto;grid-template-rows:minmax(0,1fr) 17px;
  justify-content:center;justify-items:center;align-items:center;gap:5px 1px;
  min-width:0;min-height:0;padding:12px 1px 9px;
  isolation:isolate;transform:rotate(calc(var(--ll-lean) * .45));transform-origin:bottom center;
  border:1.35px solid var(--edge);border-radius:5px 6px 3px 3px / 4px 6px 2px 2px;
  background-color:var(--ll-cloth);
  background-image:linear-gradient(90deg,#fff4,transparent 8%,#4747371c 12%,transparent 17%,transparent 86%,#453f3225 97%,#fff2),
    repeating-linear-gradient(13deg,transparent 0 2px,#fff2 2.5px 3px,transparent 3px 4px),
    repeating-linear-gradient(88deg,transparent 0 3px,#363d3312 3px 4px);
  color:var(--graphite)!important;text-align:center;text-decoration:none;box-shadow:inset 2px 0 0 #fff3,1px 1px 2px #39402f28;
}
.ll-spine::before,.ll-spine::after {content:"";position:absolute;left:8%;right:8%;height:3px;border-block:1px solid var(--ll-thread);opacity:.63}
.ll-spine::before {top:6px} .ll-spine::after {bottom:5px}
.ll-spine-title,.ll-spine-author {
  writing-mode:vertical-rl;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
  min-height:0;max-height:100%;grid-row:1;
}
.ll-spine-title {grid-column:2;font:normal 1rem/1 var(--ll-serif);letter-spacing:-.025em}
.ll-spine:nth-child(3n + 1) .ll-spine-title {font-style:italic}
.ll-long .ll-spine-title {font-size:.92rem}
.ll-spine-author {grid-column:1;font:500 .83rem/1 var(--ll-hand)}
.ll-emblem {grid-row:2;grid-column:1/-1;width:24px;height:17px;color:var(--soft);pointer-events:none}
.ll-wood {
  position:relative;z-index:1;height:17px;pointer-events:none;
  border:1.6px solid #706452;border-radius:2% 2% 1% 2% / 15% 19% 27% 20%;
  background:linear-gradient(177deg,#edd6b6 0 32%,#d4b28e 38% 100%);
  box-shadow:1px 6px 8px -6px #483e319e;
}
.ll-wood::before {position:absolute;content:"";top:4px;left:1%;right:1%;border-top:1px solid #887151;transform:rotate(-.13deg)}
.ll-wood i {position:absolute;left:6%;top:8px;width:17%;height:3px;border-top:1px solid #887151a0;border-radius:50%;transform:rotate(-.48deg)}
.ll-wood i:nth-child(2) {left:37%;top:9px;width:25%}
.ll-wood i:nth-child(3) {left:79%;width:13%}
.ll-feature-stack .ll-rack {width:min(100%,29rem)}
.ll-empty {text-align:center;padding:36px 0;font-size:1.5rem}
.ll-empty button,.ll-art-toggle {border:0;background:none;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:36px}
@media(hover:hover) {
  .ll-spine:hover {border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--soft),inset 2px 0 0 #fff3}
  .ll-subjects a:hover,.ll-reader-bar a:hover {text-decoration:underline;text-decoration-color:currentColor}
  .ll-pick:hover {transform:rotate(-1deg);background:#f1e5c2}
}
.ll-flat .ll-rack {--ll-case-height:auto;contain-intrinsic-size:auto 347px}
.ll-flat .ll-row {
  flex-direction:column;justify-content:flex-end;align-items:center;gap:0;
  height:auto;padding:0 var(--ll-shelf-inset);
}
.ll-flat .ll-spine {
  width:var(--ll-height);height:auto;min-height:42px;padding:4px 13px;
  grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;gap:0 10px;
  align-content:center;justify-items:start;
  border-radius:5px 6px 4px 4px / 7px 5px 6px 7px;transform:rotate(calc(var(--ll-lean) * .1));
  background-image:linear-gradient(0deg,#49483922,transparent 15%,transparent 68%,#fff3 87%,#4d504016),
    repeating-linear-gradient(3deg,transparent 0 2px,#fff2 2.5px 3px,transparent 3px 4px);
}
.ll-flat .ll-spine::before,.ll-flat .ll-spine::after {
  top:10%;bottom:10%;height:auto;width:3px;left:5px;right:auto;border:none;border-inline:1px solid var(--ll-thread);
}
.ll-flat .ll-spine::after {left:auto;right:5px}
.ll-flat .ll-spine-title,.ll-flat .ll-spine-author {
  grid-column:2;writing-mode:horizontal-tb;max-width:100%;text-align:left;
}
.ll-flat .ll-spine-title {grid-row:1;white-space:normal;overflow-wrap:anywhere;font-size:1rem;line-height:1.1;letter-spacing:-.016em}
.ll-flat .ll-spine-author {grid-row:2;font-size:.91rem;line-height:1}
.ll-flat .ll-emblem {grid-column:1;grid-row:1/3;width:100%;height:24px}
.ll-flat .ll-wood {height:13px}
@container(max-width:459px) {
  .ll-flat .ll-spine {min-height:44px}
  .ll-stack+.ll-stack {margin-top:25px}
}
@media(max-width:600px) {
  .ll-heading h1 {font-size:2.8rem}
  .ll-heading p {font-size:1.14rem}
  .ll-search {margin-top:12px}
  .ll-subjects {gap:0 12px}
  .ll-subjects a {min-height:32px;font-size:1.1rem}
}
.ll-back-to-top {
  position:fixed;z-index:3;right:max(clamp(20px,4vw,68px),env(safe-area-inset-right));
  bottom:max(clamp(22px,5vh,52px),calc(env(safe-area-inset-bottom) + 12px));
  display:grid;place-items:center;width:46px;height:46px;padding:10px;
  border:1.5px solid var(--ink);border-radius:50%;background:#fbf9f3;color:var(--brass);
  box-shadow:0 2px 5px #302f2624;
}
.ll-back-to-top svg {width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ll-back-to-top:hover {background:#f3eedf}
body:has(.ll-detail) {background:#faf9f5}
body:has(.ll-detail)::before,#stage.exploring:has(.ll-detail)::before {display:none}
#stage.exploring:has(.ll-detail) #insert {background:transparent;border:0;border-radius:0;box-shadow:none}
.ll-detail {max-width:855px;min-width:0}
.ll-reader-bar {align-items:center;margin-bottom:13px;font:600 1.25rem/1.15 var(--ll-hand)}
.ll-reader-bar a {min-height:35px;display:inline-flex;align-items:center}
.ll-spread {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(15px,2vw,32px);
}
.ll-page {min-width:0}
.ll-title-page {display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(18px,3vw,42px) 15px 18px;text-align:center}
.ll-category {font-size:1.12rem;transform:rotate(-3deg);color:var(--ll-soft)}
.ll-title-page h1 {font-size:clamp(1.9rem,3.8vw,3.25rem);font-weight:650;line-height:1;letter-spacing:-.03em;margin:10px 0 7px;overflow-wrap:anywhere;text-wrap:balance}
.ll-byline {font-size:1.3rem;line-height:1.1}
.ll-art-leaf {width:100%;margin-top:12px;display:flex;flex-direction:column;align-items:center;gap:5px}
.ll-drawing {width:min(94%,245px);height:auto;color:var(--ink)}
.ll-jacket {width:min(85%,200px)}
.ll-jacket img {width:auto;max-width:100%;max-height:208px}
.ll-jacket-status {font:normal .9rem/1.22 var(--ll-hand);color:var(--ll-soft);text-wrap:balance}
.ll-art-toggle {font:500 1rem/1.12 var(--ll-hand)!important}
.ll-notes {display:flex;flex-direction:column;justify-content:center;padding:clamp(10px,2vw,28px) 0}
.ll-notes p:not(.ll-question),.ll-notes li,.ll-own p {color:var(--graphite);font:400 1rem/1.51 var(--ll-serif)}
.ll-notes :is(h2,h3),.ll-own h3 {font:650 1.52rem/1.08 var(--ll-hand);margin-bottom:7px}
.ll-notes h3:not(:first-child),.ll-own h3 {margin-top:16px}
.ll-notes ul {padding:0 0 0 1em;margin:0}
.ll-notes li+li {margin-top:.3em}
.ll-notes .ll-question {font:500 1.28rem/1.19 var(--ll-hand);margin-top:16px}
.ll-detail .ll-edition {font:400 .94rem/1.28 var(--ll-serif);color:var(--ll-soft);margin-top:8px}
.ll-own {margin:23px 0 5px;padding:0 6px}
.ll-own h2 {font:650 2rem/1.1 var(--ll-hand);margin-bottom:10px}
@media(max-width:620px),(min-width:781px) and (max-width:1060px) {
  .ll-spread {grid-template-columns:1fr}
  .ll-title-page {padding:12px 8px 0}
  .ll-category {transform:none}
  .ll-title-page h1 {margin:6px 0}
  .ll-art-leaf {margin-top:8px}
  .ll-drawing {width:min(69%,205px)}
  .ll-art-toggle {min-height:44px}
  .ll-notes {padding:4px 5px 12px}

}

.ll-recommend {max-width:650px}
.ll-recommend form {display:grid;gap:14px;margin:24px 0}
.ll-recommend label {display:grid;gap:4px;color:var(--ll-soft);font:600 1.15rem/1.2 var(--ll-hand)}
.ll-recommend input,.ll-recommend textarea {font:1rem/1.45 var(--ll-serif);color:var(--graphite);border:1px solid var(--ll-rule);background:transparent;padding:8px;border-radius:3px;width:100%}
.ll-recommend .ll-pick {justify-self:start}
.ll-recommend details {margin-top:20px}
.ll-recommend summary {cursor:pointer}
.ll-recommend .recommendation-item {margin:16px 0}
