.house-book-binding,.bookcase-volume{--book-motion:0;--book-turn:0deg;--book-roll:0deg;transform:translateY(calc(-6px * var(--book-motion))) perspective(850px) rotateY(calc(var(--book-turn) - 2deg * var(--book-motion))) rotateZ(var(--book-roll));transform-origin:50% 85%}.house-book-binding .house-book-face:after,.bookcase-volume:after{background:linear-gradient(115deg, transparent 36%, #f8e9bc35 49%, transparent 64%) calc(100% - 100% * var(--book-motion)) center / 300% 100% no-repeat}.bookcase-volume:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0}@media (prefers-reduced-motion:no-preference) and (forced-colors:none){.house-book-binding,.bookcase-volume{transition:transform .4s cubic-bezier(.2,.8,.2,1),filter .4s}.house-book-binding:before{transition:box-shadow .4s}.house-book-binding .house-book-face:after,.bookcase-volume:after{transition:background-position .7s}:where(a:focus-visible,button:focus-visible) :is(.house-book-binding,.bookcase-volume){--book-motion:1}}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none){:where(a:hover,button:hover,.book-art-natural:hover,.classic-cover-art:hover) :is(.house-book-binding,.bookcase-volume),:where(:hover)>.house-book-binding{--book-motion:1}}.house-book-binding{--book-depth:.62rem;--book-drop:.29rem;--book-spine-width:.45rem;isolation:isolate;box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:0 var(--book-depth) var(--book-drop) var(--book-spine-width);--book-turn:-9deg;--book-roll:-1deg;filter:brightness(calc(1 + .04 * var(--book-motion)));display:block;position:relative}.house-book-binding.house-book-compact{--book-depth:.32rem;--book-drop:.16rem;--book-spine-width:.25rem}.house-book-binding:before,.house-book-binding:after,.house-book-binding>.house-book-tail,.house-book-face:after{content:"";pointer-events:none;position:absolute}.house-book-binding:before{inset:var(--book-drop) 0 0 var(--book-depth);box-shadow:1px 2px 2px #30201259, 3px 6px 7px -3px #30201270, calc(5px + 4px * var(--book-motion)) calc(11px + 8px * var(--book-motion)) calc(15px + 7px * var(--book-motion)) -7px #30201257;background:#51402d;border-radius:2px 3px 3px 2px}.house-book-binding:after{width:var(--book-depth);clip-path:polygon(0 0, 100% var(--book-drop), 100% 100%, 0 calc(100% - var(--book-drop)));background:linear-gradient(90deg,#6d533e66,#0000 30%,#fff9e544 65%,#82694c77),repeating-linear-gradient(90deg,#eadbbd 0 1px,#caba9c 1px 1.6px,#f8eedb 1.6px 3px);top:.5px;bottom:1px;right:1px}.house-book-binding>.house-book-tail{height:var(--book-drop);clip-path:polygon(0 0, calc(100% - var(--book-depth)) 0, 100% 100%, var(--book-depth) 100%);background:repeating-linear-gradient(0deg,#bda78a 0 1px,#eadac0 1px 2px);display:block;inset:auto 1px 1px 0}.house-book-binding>.house-book-face{z-index:1;border-radius:3px 2px 2px 3px;width:100%;height:100%;display:block;position:relative}.house-book-face:after{z-index:1;border-radius:inherit;inset:0;box-shadow:inset 0 0 0 1px #35241738,inset 0 1px #fff9db57}.house-book-face>img{border-radius:inherit;display:block}@media (forced-colors:active){.house-book-binding:before{outline:1px solid canvastext}}.house-book-binding.house-cloth-book{width:min(100%,6.25rem);margin:.25rem 0 .8rem}.house-cloth-book .house-cloth-jacket{box-sizing:border-box;aspect-ratio:2/3;border-radius:inherit;color:#f6e5b8;outline-offset:-6px;background:repeating-linear-gradient(90deg,#0000 0 2px,#111a170f 2px 3px),repeating-linear-gradient(0deg,#fff6db04 0 1px,#0000 1px 3px),linear-gradient(110deg,#36524c,#233b37);outline:1px solid #baa579a6;flex-direction:column;justify-content:center;align-items:center;gap:.65rem;padding:12% 11% 12% 14%;display:flex}.house-cloth-book .house-cloth-title{-webkit-line-clamp:4;text-align:center;overflow-wrap:anywhere;-webkit-box-orient:vertical;font:600 .75rem/1.25 Georgia,serif;display:-webkit-box;overflow:hidden}.house-book-binding>.house-book-spine{inset:0 auto var(--book-drop) 0;width:var(--book-spine-width);z-index:2;pointer-events:none;background:linear-gradient(90deg,#352619,#7b6042 38%,#a38b61 52%,#4b3524 90%);border-radius:3px 0 0 3px;position:absolute;box-shadow:inset 1px 0 #d6ba8655}
