/* G141 presentation-only refinement: library books and their historical content are unchanged. */
:root{--wl-focus:#b27b2f}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{overflow-x:clip}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--wl-focus)!important;outline-offset:4px!important;border-radius:3px}
:where(a,button){-webkit-tap-highlight-color:rgba(173,127,58,.25)}
:where(a,button,input,select){touch-action:manipulation}
.library-header .navlinks a,.navlinks a{transition:background-color .18s ease,color .18s ease,text-decoration-color .18s ease}
.library-header .navlinks a:hover,.navlinks a:hover{text-decoration:underline;text-underline-offset:4px}
.reading,.chronicle{font-kerning:normal;text-rendering:optimizeLegibility}
.reading :is(p,li),.chronicle :is(p,li){line-height:1.72;overflow-wrap:anywhere}
.reading :is(h1,h2,h3,h4),.chronicle :is(h1,h2,h3){text-wrap:balance;scroll-margin-top:1.5rem}
.reading :is(blockquote,figure,table),.chronicle :is(blockquote,figure,table){max-width:100%}
.reading figure img,.chronicle figure img{display:block;max-width:100%;height:auto;margin-inline:auto}
.reading figcaption,.chronicle figcaption{line-height:1.5}
.reading table,.chronicle table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.reading a,.chronicle a{text-underline-offset:3px;text-decoration-thickness:1px}
body:has(.shelfroom) .shelf-volume{transition:transform .16s ease,filter .16s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body:has(.shelfroom) .shelf-volume:hover{transform:translateY(-2px)}}
body:has(.shelfroom) .shelf-volume:focus-within{outline:3px solid #d6a65d;outline-offset:3px}
body:has(.shelfroom) .shelf-volume .spine-title{hyphens:auto;overflow-wrap:break-word}
@media(max-width:740px){.reading,.chronicle{max-width:100%;min-width:0}.reading :is(p,li),.chronicle :is(p,li){line-height:1.66}.reading figure,.chronicle figure{margin-inline:0}.reading :is(pre,code),.chronicle :is(pre,code){overflow-wrap:anywhere}.library-header{max-width:100%}}
@media(max-width:420px){body:has(.shelfroom) main.layout{width:calc(100vw - 56px)!important;margin-left:54px!important;padding-inline:7px!important}.wl-float{width:46px!important;left:2px!important}.wl-float .wl-home-icon{width:35px!important;height:35px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{.wl-float,.library-header .navlinks,.toolbar{display:none!important}.reading,.chronicle{max-width:100%!important;box-shadow:none!important;background:white!important;color:black!important}.reading a,.chronicle a{color:black!important}}
