
/* Wood-backed shelves and the in-place reader shared by the site and app. */
.wood-bookcase{border-radius:17px;border:1px solid #553125;background:repeating-linear-gradient(1deg,#2c1723 0 3px,#311b26 4px 8px,#362025 9px 15px);box-shadow:0 14px 30px #4c261c2b, inset 0 0 1rem #23101d8a;overflow:hidden;margin:1rem 0 0;color:#f7e6cf}
.shelf-bay{position:relative;padding:1rem clamp(.65rem,3vw,1.7rem) calc(1.35rem + 10px);background:radial-gradient(ellipse at 47% 37%,#6b3e33ad,transparent 71%);border-left:.46rem solid #563125;border-right:.46rem solid #563125}
.shelf-bay::after{content:"";position:absolute;z-index:0;inset:auto 0 0;height:17px;background:linear-gradient(180deg,#b47c52 0%,#8c5537 30%,#6d3929 76%,#482628 100%);box-shadow:0 4px 8px #1b0c18cc}
.shelf-label{font:750 .72rem/1 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#ffe3a1;margin:.15rem 0 1rem}
.shelf-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.7rem,5vw,3rem);align-items:end}
.shelf-row-single{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.shelf-aside{font:italic 1rem/1.5 Georgia,serif;color:#eed8c1;max-width:16rem;align-self:center}
.shelf-pick{display:block;text-align:center;color:#fff4e5;font:700 1rem/1.1 Georgia,serif;text-decoration:none;transition:transform .22s ease}
.shelf-pick img{display:block;width:min(98%,9rem);height:auto;margin:auto;filter:drop-shadow(6px 5px 7px #1408129d)}
.shelf-pick:hover,.shelf-pick:focus-visible{transform:translateY(-.28rem)}
.shelf-book p{text-align:center;font-size:.65rem;margin:.35rem 0 0;color:#edd6c5;line-height:1.25}
.app-bookcase .shelf-bay{padding-top:.8rem;padding-bottom:1.45rem}
.app-bookcase .shelf-label{font-size:.60rem;margin-bottom:.6rem}
.app-bookcase .shelf-row{gap:.8rem}
.app-bookcase .shelf-pick img{width:min(98%,7.9rem)}
.studio-bookcase .book{background:#fff8ee;align-self:end;min-width:0;border-color:#d9b7a067}
.studio-bookcase .plate{min-height:0;padding:.65rem .6rem .1rem;background:linear-gradient(180deg,#e4b99d,#d4a085);display:grid}
.studio-bookcase .plate .book-object{width:min(100%,13.4rem)}
.studio-bookcase .bookcopy>p:not(.tag),.studio-bookcase .book h3{min-height:0}
.studio-bookcase .bookcopy{padding:clamp(.55rem,2vw,1.1rem)}
.studio-bookcase .bookcopy>p:not(.tag){margin:.45rem 0 .65rem}
.studio-bookcase .book h3{font-size:clamp(1.15rem,3vw,1.75rem)}
.shelf-reader{background:#32172e;color:#fff4e7;border:1px solid #d9a972;border-radius:19px 19px 0 0;box-shadow:0 -6px 32px #21122171;width:min(calc(100vw - 16px),31rem);height:min(66dvh,43rem);max-width:none;max-height:none;margin:0 auto;inset:auto 0 0;padding:0;overflow:hidden}
.shelf-reader[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.shelf-reader::backdrop{background:#2213222b}
.shelf-reader-bar{display:flex;align-items:center;justify-content:space-between;padding:.55rem .85rem;gap:.75rem;background:#532942;border-bottom:1px solid #946071}
.shelf-reader-bar p{margin:0 0 .16rem;font:750 .66rem system-ui;text-transform:uppercase;letter-spacing:.09em;color:#f2ca83}
.shelf-reader-bar h2{font:700 clamp(1rem,5vw,1.38rem)/1.08 Georgia,serif;margin:0;color:#fff4e7}
.reader-close{height:41px;min-width:41px;font-size:1.3rem;border:0;border-radius:999px;background:#f6d393;color:#35162d;cursor:pointer}
.shelf-reader-frame{width:100%;height:100%;border:0;background:#32172e}
.shelf-reader-footer{padding:.30rem .75rem max(.33rem,env(safe-area-inset-bottom));text-align:center}
.reader-full{font:700 .74rem system-ui;color:#ffe4ac;text-underline-offset:3px}
.book-pull-ghost{position:fixed;z-index:9000;pointer-events:none;filter:drop-shadow(0 16px 14px #210f22a0);object-fit:contain;transform-origin:center;}
@media(min-width:900px){.shelf-reader{inset:7vh 1.2vw auto auto;margin:0;height:min(82dvh,46rem);width:min(38vw,29rem);border-radius:18px}}
@media(max-width:43rem){.studio-bookcase .book{display:block}.studio-bookcase .plate img{width:100%}.studio-bookcase .bookcopy>p:not(.tag){font-size:.79rem}.studio-bookcase .tag{font-size:.67rem}.studio-bookcase .book summary,.studio-bookcase .flip-link{font-size:.76rem}.studio-bookcase .book details p,.studio-bookcase .book details a{font-size:.74rem}}
@media(prefers-reduced-motion:reduce){.shelf-pick{transition:none}}

/* Face-out display ledges; depth belongs to the display, not the covers. */
.wood-bookcase{
 --oak:#d8ab77;--wood-ink:#4c2c24;--rail:#a4693d;--face-height:clamp(9.4rem,27vw,14.75rem);
 border:1px solid #a7714e;border-radius:22px 22px 17px 17px;
 background:repeating-linear-gradient(0deg,#d9ab79 0px,#dcb287 35px,#c28e60 36px,#e0b88a 38px,#d7a977 40px);
 color:var(--wood-ink);box-shadow:0 .95rem 1.65rem #673a252c,inset 0 0 1.4rem #8760416e;
}
.wood-bookcase .shelf-bay{
 padding:.9rem clamp(.55rem,3vw,1.55rem) 1.2rem;
 border-left:.56rem solid #c38d5a;border-right:.56rem solid #bc8553;
 background:linear-gradient(180deg,#ebc29773 0%,#f4d2aa53 60%,#a8683130 100%);
}
.wood-bookcase .shelf-bay::after{
 height:.6rem;background:linear-gradient(#deb383,#ae7048 65%,#815033);
 box-shadow:0 3px 5px #70452fa0;
}
.wood-bookcase .shelf-label{color:#533128;margin:.12rem 0 .85rem}
.wood-bookcase .shelf-row{position:relative;align-items:start}
.wood-bookcase .shelf-row::before{
 position:absolute;content:"";z-index:2;pointer-events:none;top:calc(var(--face-height) - .25rem);left:-.25rem;right:-.25rem;height:.66rem;
 border-radius:.16rem;background:linear-gradient(180deg,#f0cd9e 0%,#d9a06d 21%,#bb8055 80%,#9a603a 100%);box-shadow:0 2px 4px #65412bb0
}
.wood-bookcase .shelf-aside{color:#624139;align-self:center;padding:.4rem}
.studio-bookcase .book{
 background:none;border:0;border-radius:0;overflow:visible;align-self:start;
}
.studio-bookcase .plate{
 background:none;height:var(--face-height);min-height:0;padding:.35rem 0 .25rem;
 display:flex;align-items:flex-end;justify-content:center;
}
.studio-bookcase .plate .book-object{
 width:auto;margin:0;max-width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;
}
.studio-bookcase .plate .book-object img{
 display:block;max-width:100%;width:auto;height:100%;object-fit:contain;border-radius:3px;
 box-shadow:3px 3px 8px #55322965;
}
.studio-bookcase .bookcopy{
 background:#fff5e8d9;border-radius:0 0 .63rem .63rem;padding:.77rem .65rem .56rem;margin-top:.43rem;
}
.app-bookcase{--face-height:clamp(7rem,37vw,10rem);}
.app-bookcase .shelf-pick{color:#4c2c24;line-height:1.2}
.app-bookcase .shelf-pick img{
 display:block;height:var(--face-height);width:auto;max-width:100%;object-fit:contain;border-radius:3px;margin:0 auto .82rem;filter:none;
 box-shadow:3px 3px 7px #6d41385e;
}
.app-bookcase .shelf-book p{color:#583b32;font-size:.67rem}
.app-bookcase .shelf-aside{font-size:.9rem}
@media(max-width:390px){.wood-bookcase .shelf-bay{border-left-width:.35rem;border-right-width:.35rem}.studio-bookcase .bookcopy{padding:.62rem .42rem}.studio-bookcase .book h3{font-size:1.08rem}}

/* A held book, not a panel. Keep the real shelf visible around its edges. */
.shelf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.book-in-hand{
 position:fixed;inset:0;margin:auto;height:94dvh;width:min(96vw,63rem);max-width:none;max-height:none;
 border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;padding:0;
}
.book-in-hand[open]{display:block}
.book-in-hand::backdrop{background:rgba(26,15,24,.16)}
.book-in-hand .shelf-reader-frame{display:block;width:100%;height:100%;border:0;background:transparent;color-scheme:light}
.book-in-hand .reader-close{
 position:absolute;right:clamp(.1rem,2vw,1.05rem);top:clamp(.2rem,2vh,1rem);z-index:3;
 background:#2c1a29c9;color:#fff7ed;min-width:44px;height:44px;font-weight:550;
 box-shadow:0 .16rem .42rem #21111c4f;
}
.book-in-hand .reader-close:hover{background:#2c1a29}
.cover-lifted{opacity:.14;}

/* Walnut library cubbies; only the covers and a few objects are on display. */
.library-nook{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(14,clamp(19px,4.8vw,34px));
 gap:clamp(4px,.58vw,7px);padding:clamp(7px,1.4vw,15px);max-width:46rem;margin:1.05rem auto 0;
 border:1px solid #60341f;border-radius:5px;
 background:linear-gradient(96deg,#654029,#99613e 25%,#b47a4e 51%,#744729 78%,#593522);
 box-shadow:0 16px 30px #4f29272b,inset 0 0 0 2px #b27a50,inset 0 0 13px #3d211c94;
}
.cubby{min-width:0;min-height:0;display:grid;align-items:end;justify-items:center;position:relative;
 background:radial-gradient(ellipse at 52% 49%,#a87350aa,transparent 82%),repeating-linear-gradient(88deg,#754c36aa 0 1px,#85553e99 2px 4px,#86573d99 5px 7px),#8c5d43;
 box-shadow:inset 4px 0 6px #2f181b8c,inset 0 7px 11px #2f181988,inset 0 -6px 8px #40201c9c,inset -2px 0 4px #c5996c;
 border-bottom:1px solid #c9956e;overflow:hidden;padding:clamp(4px,1vw,11px) clamp(3px,1.4vw,17px) clamp(2px,.6vw,8px);
}
.cb-1{grid-area:3/1/9/2}.cb-2{grid-area:5/2/11/3}.cb-3{grid-area:4/3/10/4}
.cd-a{grid-area:1/1/3/3}.cd-b{grid-area:1/3/4/4}.cd-c{grid-area:9/1/12/2}.cd-d{grid-area:10/3/12/4}.cd-e{grid-area:12/2/15/4}
.ce-a{grid-area:3/2/5/3}.ce-b{grid-area:12/1/15/2}
.cubby-decor img{display:block;width:min(58%,6.7rem);height:100%;object-fit:contain;object-position:center bottom;min-height:0;filter:drop-shadow(3px 4px 3px #2b13177a)}
.cd-e img{width:min(42%,7rem)}.cd-a img{width:min(36%,6.4rem)}
.cubby-cover{display:flex;min-height:0;width:100%;height:100%;align-items:flex-end;justify-content:center;outline-offset:-2px}
.cubby-cover img{display:block;min-height:0;max-height:100%;height:auto;width:auto;max-width:min(92%,10.25rem);object-fit:contain;object-position:center bottom;border-radius:2px;box-shadow:3px 3px 9px #27151a9c;transition:transform .23s ease,opacity .18s ease}
.cubby-cover:hover img,.cubby-cover:focus-visible img{transform:translateY(-.25rem)}
.cubby-cover img.cover-lifted{opacity:.10}
.book-in-hand[open]{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:.16rem}
.book-in-hand::backdrop{background:#f8e8de4d;backdrop-filter:blur(4px) saturate(.78);-webkit-backdrop-filter:blur(4px) saturate(.78)}
.book-in-hand .shelf-reader-frame{min-height:0}
.held-book-details{max-width:min(91vw,29rem);margin:0 0 max(.27rem,env(safe-area-inset-bottom));padding:.59rem .83rem .63rem;border-radius:12px;background:#fff6edeb;color:#40233a;text-align:left;box-shadow:0 .3rem 1.2rem #321b2d25;font: .8rem/1.3 system-ui}
.held-book-details h3{font:700 clamp(1rem,4vw,1.25rem)/1.13 Georgia,serif;margin:0 0 .18rem}
.held-book-details p{margin:.22rem 0}
.held-book-format{font-weight:750;color:#784252}
.held-book-sources{color:#70354d;text-underline-offset:.15em;font-weight:700}
@media(min-width:700px){.held-book-details{margin-bottom:1vh}}
@media(prefers-reduced-motion:reduce){.cubby-cover img{transition:none}}

/* A photographed-home palette: daylight, deep walnut, floorboards, and actual contact shadows. */
.library-nook{
 --joinery:clamp(7px,1.23vw,14px);
 grid-template-rows:repeat(14,clamp(19px,4.35vw,34px));gap:var(--joinery);
 padding:var(--joinery);
 max-width:50rem;
 border-radius:3px;
 border:1px solid #695039;
 background:linear-gradient(150deg,#f1c69336,transparent 50%,#22130ea1),url("walnut-grain.svg"),#88603f;
 box-shadow:0 2px 0 #4f3427,0 13px 12px -8px #361e1b79,0 23px 48px -13px #512d2660,inset 0 1px #efd1a49c,inset 1px 0 #dbb58a62;
}
.cubby{
 --floor:clamp(10px,2.6vw,24px);
 isolation:isolate;
 padding:clamp(5px,1vw,11px) clamp(4px,1vw,12px) var(--floor);
 background:linear-gradient(138deg,#ddaa764a 0%,#2b181427 55%,#1f120bc7 100%),url("walnut-grain.svg"),#96694a;
 border:0;border-radius:1px;
 box-shadow:inset 3px 8px 13px #21110d82,inset -5px 0 13px #2d1b1370,0 1px #e1b687ad;
}
.cubby::before,.cubby::after{content:"";position:absolute;pointer-events:none;z-index:-1}
.cubby::before{
 inset:0 0 0 74%;background:linear-gradient(90deg,#2a181451,#38251811 70%,#21100a88);
 clip-path:polygon(0 9%,100% 0,100% 100%,0 81%);
}
.cubby::after{
 inset:auto 0 0;height:calc(1.42 * var(--floor));border-bottom:1px solid #d7a984;
 clip-path:polygon(8% 0,92% 0,100% 100%,0 100%);
 background:linear-gradient(175deg,#382319bf,transparent 60%,#e7ba835c),url("walnut-grain.svg") center 65% / 100% auto,#936645;
 box-shadow:inset 0 -3px 6px #1f0d0e72;
}
.cubby-cover{
 position:relative;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.43fr);
 align-items:end;justify-items:stretch;gap:0;
}
.shelf-stock{
 min-width:0;display:flex;justify-content:flex-end;align-items:stretch;gap:clamp(.5px,.15vw,1.6px);
 height:72%;padding:0 0 3px;--spine:#423469;--shine:#a596bb;--ink:#1d1536;
 filter:drop-shadow(2px 3px 2px #1a0d0bb3);
}
.stock-say-no{--spine:#2c513b;--shine:#508064;--ink:#162d23}
.stock-body-book{--spine:#8c5846;--shine:#c99675;--ink:#502e2c;height:83%}
.shelf-stock i{
 min-width:0;flex:0 1 5.9%;height:100%;position:relative;
 border-radius:1px 1px .6px .6px;transform:skewY(-.6deg);
 background:linear-gradient(90deg,var(--ink),var(--shine) 28%,var(--spine) 57%,var(--ink));
 box-shadow:inset 0 2px #ecdcc848,inset 0 -2px #10070780,1px 1px 0 #2a1415a1;
}
.shelf-stock i::before{content:"";position:absolute;top:0;inset-inline:0;height:1px;background:#e4d6c49e}
.shelf-stock i:nth-child(3n){transform:translateY(-.65px) rotate(-.7deg)}
.stock-body-book i{flex-basis:9%;border-radius:1.5px 1.5px .8px .8px}
.stock-body-book b{display:block;position:absolute;top:12%;left:0;writing-mode:vertical-rl;white-space:nowrap;color:#f4d3ad;font:600 clamp(2.1px,.55vw,5.5px) Georgia,serif;letter-spacing:.03em}
.book-easel{height:100%;min-height:0;min-width:0;display:flex;position:relative;align-items:flex-end;justify-content:center;padding-bottom:clamp(4px,.75vw,8px);transform:translateX(-4%);}
.book-easel::before,.book-easel::after{content:"";position:absolute;left:50%;transform:translateX(-50%);pointer-events:none}
.book-easel::before{
 bottom:-4px;width:91%;height:10%;border-radius:50%;background:#21100c9e;filter:blur(4px);z-index:-1;
}
.book-easel::after{
 width:78%;height:clamp(6px,1.13vw,12px);bottom:0;z-index:2;
 background:linear-gradient(180deg,#d2a475 0 14%,#73503a 17% 41%,#b68a5f 46% 55%,#503523 63% 88%,transparent 90%);
 clip-path:polygon(13% 0,87% 0,100% 75%,100% 88%,86% 88%,86% 100%,74% 100%,74% 88%,26% 88%,26% 100%,14% 100%,14% 88%,0 88%,0 75%);
 box-shadow:0 2px 2px #30181499;
}
.cubby-cover img{
 width:auto;max-width:96%;max-height:90%;position:relative;z-index:1;
 border-radius:1px;box-shadow:2px 1px 0 #efdbbfb3,3px 1px 0 #513526cb,6px 6px 8px #22120cc4;
}
.cb-3 .cubby-cover img{max-height:100%;box-shadow:2px 1px 0 #764f3d,4px 0 0 #ddc3a2,5px 0 0 #6e423b,7px 6px 9px #21120dce}
.cubby-cover img.cover-lifted{opacity:0}
.cubby-decor img{
 position:relative;width:min(64%,8rem);height:96%;
 filter:drop-shadow(2px 5px 3px #332215a2);
}
.cd-a img{width:min(43%,9rem)}.cd-b img{height:83%}.cd-c img{height:69%}.cd-d img{height:80%}.cd-e img{height:91%}
@media(max-width:580px){
 .library-nook{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(10,clamp(24px,7.1vw,37px))}
 .cb-1{grid-area:1/1/5/2}.cb-2{grid-area:3/2/7/3}.cb-3{grid-area:6/1/11/2}
 .cd-a{grid-area:1/2/3/3}.cd-b{grid-area:7/2/9/3}.cd-c{grid-area:5/1/6/2}.cd-d{grid-area:9/2/10/3}.cd-e{grid-area:10/2/11/3}
 .ce-a,.ce-b{display:none}
 .shelf-stock{gap:1px}.shelf-stock i{flex-basis:8%}.stock-body-book i{flex-basis:12%}
 .shelf-stock i:nth-child(n+8){display:none}
}
@media(prefers-reduced-motion:reduce){.cubby-cover:hover img,.cubby-cover:focus-visible img{transform:none}}

/* A jungle corner around the case, not foliage pasted over the books. */
.jungle-room{
 position:relative;isolation:isolate;overflow:hidden;overflow:clip;border-radius:clamp(3px,1vw,12px);
 margin:1.05rem auto .25rem;padding:clamp(36px,7vw,96px) clamp(20px,12vw,166px) clamp(32px,6vw,76px);
 background:radial-gradient(ellipse at 21% 9%,#f7ddaaac 0%,transparent 48%),
   radial-gradient(ellipse at 80% 67%,#1d3022b8,transparent 65%),
   linear-gradient(115deg,#867954c4,#505939 50%,#253c2f 100%);
 box-shadow:inset 0 0 36px #22301f87,0 13px 27px -16px #312b24a3;
}
.jungle-room::before,.jungle-room::after{content:"";position:absolute;pointer-events:none;inset:0;z-index:-2}
.jungle-room::before{
 background:linear-gradient(93deg,transparent 66%,#2633243b 72%,#172e2280 73%,transparent 85%),
  repeating-linear-gradient(105deg,transparent 0 16%,#d8c69608 17% 19%,transparent 20% 28%);
}
.jungle-room::after{
 inset:auto 0 0;height:clamp(38px,8vw,105px);
 background:linear-gradient(3deg,#8d704f, #624e39 74%,#3d3c2c 100%),#71563f;
 box-shadow:0 -5px 28px #13261a63;
}
.jungle-stacks{position:relative;z-index:1;max-width:50rem;margin:auto;}
.jungle-stacks .library-nook{margin:0;}
.jungle-plants{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
.jungle-plants img{position:absolute;display:block;height:auto;user-select:none;filter:drop-shadow(6px 7px 7px #182b1e80);}
.jungle-fern{width:clamp(80px,20%,245px);top:clamp(-75px,-5vw,-28px);left:2.3%;transform:rotate(-7deg);}
.jungle-monstera{width:clamp(75px,20%,245px);bottom:clamp(7px,3vw,38px);left:clamp(-92px,-5.4vw,-27px);}
.jungle-palm{width:clamp(83px,22%,260px);bottom:clamp(11px,3.4vw,42px);right:clamp(-100px,-6vw,-30px);}
.jungle-room-app{padding:38px clamp(18px,5vw,29px) 30px;}
.jungle-room-app .jungle-fern{width:25%;top:-36px;}
.jungle-room-app .jungle-monstera{width:25%;left:-13%;bottom:9px;}
.jungle-room-app .jungle-palm{width:30%;right:-17%;bottom:9px;}
.jungle-room-app .library-nook{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(10,clamp(24px,7.1vw,33px))}
.jungle-room-app .cb-1{grid-area:1/1/5/2}.jungle-room-app .cb-2{grid-area:3/2/7/3}.jungle-room-app .cb-3{grid-area:6/1/11/2}
.jungle-room-app .cd-a{grid-area:1/2/3/3}.jungle-room-app .cd-b{grid-area:7/2/9/3}.jungle-room-app .cd-c{grid-area:5/1/6/2}.jungle-room-app .cd-d{grid-area:9/2/10/3}.jungle-room-app .cd-e{grid-area:10/2/11/3}
.jungle-room-app .ce-a,.jungle-room-app .ce-b{display:none}
.jungle-stacks .library-extension{
 margin-top:0;border-top:0;border-radius:0 0 3px 3px;
 grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;
 grid-auto-rows:clamp(132px,22vw,256px);
}
.jungle-stacks:has(.library-extension) .library-nook:first-child{border-radius:3px 3px 0 0}
.jungle-room-app .jungle-stacks .library-extension{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(124px,38vw,180px)}
.library-extension .shelf-stock:not(.stock-body-book){--spine:var(--edition-spine,#48355a);--shine:#ba9a877f;--ink:#140e18;}
@media (max-width:580px){
 .jungle-room{padding-inline:clamp(18px,6vw,31px)}
 .jungle-fern{width:26%;top:-25px}
 .jungle-monstera{width:27%;left:-15%;bottom:6px}
 .jungle-palm{width:29%;right:-17%;bottom:6px}
 .jungle-stacks .library-extension{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(112px,36vw,190px)}
}
.library-extension .stock-body-book{--spine:var(--edition-spine,#8c5846)}
.library-extension .stock-body-book b{max-height:76%;overflow:hidden}

/* Freestanding walnut display: no illustrated room, floor, or decorative objects. */
.jungle-room,.jungle-room-app{
 overflow:visible;background:none;box-shadow:none;border:0;border-radius:0;
 padding:clamp(54px,8.5vw,120px) clamp(28px,12vw,170px) clamp(19px,3vw,38px);
}
.jungle-room::before,.jungle-room::after{content:none}
.jungle-plants{
 overflow:clip;
 inset:0 0 0;
}
.jungle-fern{width:clamp(86px,18.2%,220px);left:2.5%;top:clamp(-78px,-5.3vw,-28px)}
.jungle-monstera{width:clamp(75px,16.8%,194px);left:0;bottom:clamp(3px,1vw,13px);}
.jungle-palm{width:clamp(80px,18.4%,219px);right:0;bottom:clamp(3px,1vw,13px);}
.jungle-plants img{filter:drop-shadow(3px 5px 4px #35362548)}
.jungle-stacks .library-nook{
 --joinery:clamp(8px,1.35vw,17px);
 --walnut:url("walnut-veneer.webp");
 grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.08fr);
 grid-template-rows:clamp(170px,23vw,285px);
 grid-auto-rows:clamp(170px,23vw,285px);
 background:
   linear-gradient(104deg,#130b062d,transparent 23%,#c2956833 48%,transparent 62%,#1e100c5c),
   var(--walnut) left 63% / 100% auto,#755037;
 box-shadow:0 2px 0 #47301d,0 4px 0 #47301d98,0 18px 22px -14px #33211799,
   inset 0 1px #fbcb9b98,inset 1px 0 #ecbc8f77,inset -2px 0 #3a2115,inset 0 -2px #422817;
 border-radius:3px;
}
.jungle-stacks .library-nook .cubby-book{grid-area:auto;}
.jungle-stacks .cubby{
 --floor:clamp(11px,2.9vw,33px);
 border-radius:.7px;
 background:
   linear-gradient(156deg,#1c0f0abb,transparent 54%,#2a150e94 100%),
   var(--walnut) left 39% / 153% 113%,#674530;
 box-shadow:inset 4px 8px 16px #1f110a9e,inset 0 -5px 11px #1c100a76,0 1px #d7aa8399,0 -1px #2c180e;
}
.jungle-stacks .cubby:nth-child(2n){
 background:
   linear-gradient(151deg,#1c0d09ad,transparent 57%,#2a150e94 100%),
   var(--walnut) 87% 14% / 145% 122%,#63432e;
}
.jungle-stacks .cubby::before{
 inset:0 0 0 81%;
 clip-path:polygon(0 12%,100% 0,100% 100%,0 85%);
 background:
   linear-gradient(90deg,#2e1b17a8 0%,#3f231775 68%,#1a0e0aca),
   var(--walnut) right center / 720% 90%;
 box-shadow:inset -3px -8px 22px #21100bab;
}
.jungle-stacks .cubby::after{
 height:calc(1.48 * var(--floor));
 clip-path:polygon(8% 0,92% 0,100% 100%,0 100%);
 background:
   linear-gradient(174deg,#24150bd9 0%,#623f2844 68%,#e8b8864d 100%),
   var(--walnut) 0 70% / 112% 290%;
 box-shadow:inset 0 2px 6px #130a0697,inset 0 -1px #dea77da1;
 border-bottom:1px solid #d5a47bcc;
}
.jungle-stacks .cubby-cover{padding-inline:clamp(1px,.38vw,5px)}
.jungle-stacks .library-extension{margin-top:0;border-radius:0 0 3px 3px;grid-template-rows:none}
.jungle-room-app{padding:55px 30px 17px}
.jungle-room-app .jungle-fern{width:28%;top:-38px;}
.jungle-room-app .jungle-monstera{width:24%;left:-8%;bottom:0;}
.jungle-room-app .jungle-palm{width:29%;right:-9%;bottom:1px;}
.jungle-room-app .jungle-stacks .library-nook{
 grid-template-columns:minmax(0,1fr);
 grid-template-rows:none;
 grid-auto-rows:clamp(150px,44vw,195px);
}
.jungle-room-app .cubby-cover{grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);}
.jungle-room-app .shelf-stock{height:78%}
.jungle-room-app .stock-body-book{height:86%}
@media(max-width:630px){
 .jungle-room,.jungle-room-app{padding:53px clamp(20px,8.7vw,43px) 18px;}
 .jungle-stacks .library-nook{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:clamp(143px,45vw,215px)}
 .jungle-stacks .cubby-cover{grid-template-columns:minmax(0,1fr) minmax(0,1.14fr)}
 .jungle-fern{width:29%;left:0;top:-35px;}
 .jungle-monstera,.jungle-room-app .jungle-monstera{width:24%;left:-8%;bottom:0;}
 .jungle-palm,.jungle-room-app .jungle-palm{width:29%;right:-10%;bottom:2px;}
}

/* One brushed brass bookend sits on the left of each group of spines. */
.jungle-stacks .shelf-stock{box-sizing:border-box;padding-inline-start:clamp(13px,2vw,26px)}
.jungle-stacks .shelf-stock i:first-child{z-index:1}
.jungle-stacks .shelf-stock i:first-child::after{
 content:"";position:absolute;pointer-events:none;display:block;
 width:clamp(21px,2.7vw,38px);height:54%;
 right:calc(100% - 2px);bottom:-3px;
 background:url("brass-bookend.svg") no-repeat right bottom / 100% 100%;
 filter:drop-shadow(-1px 1px 1px #301709ba);
}
@media(max-width:630px){
 .jungle-stacks .shelf-stock i:first-child::after{width:25px}
}

@media(min-width:760px) and (pointer:fine){
 .book-in-hand{height:98dvh;width:min(97vw,82rem)}
 .held-book-details{max-width:min(85vw,56rem);margin-bottom:.25rem}
}
