@font-face{font-family:OpenDyslexic;src:url("libby/OpenDyslexic.woff") format("woff");font-display:swap}
@font-face{font-family:MuseoSlab;src:url("libby/museo-slab-500.woff") format("woff");font-display:swap}
.libby-header,.libby-footer,.fast-pager,.libby-setting,.libby-nav-shield,.libby-pagination-error{display:none}
.libby-sheet-title,.libby-sheet-grip,.libby-search-submit{display:none}
:root[data-reader-preset="libby"]{
 --lb-stage:min(1320px,100vw);
 --lb-stage-height:100dvh;
 --lb-viewport-height:100dvh;
 --lb-stage-top:0px;
 --lb-page:#fff;
 --lb-panel:#fff;
 --lb-panel-ink:#111;
 --lb-footer-ink:#111;
 --lb-ink:#000;
 --lb-chrome:#111;
 --lb-muted:#777b80;
 --lb-faint:#a9adb1;
 --lb-line:#111;
 /* SOURCE: Libby derives one stable palette from the book cover; v3 averages to H224/S61. */
 --lb-cover-h:224;
 --lb-cover-s:61%;
 --lb-accent:hsl(var(--lb-cover-h) var(--lb-cover-s) 32%);
 --lb-heading-accent:hsl(var(--lb-cover-h) var(--lb-cover-s) 27%);
 --lb-scale-accent:hsl(var(--lb-cover-h) 72% 55%);
 --lb-switch-accent:hsl(var(--lb-cover-h) 80% 70%);
 --lb-search-rim:hsl(var(--lb-cover-h) 30% 94%);
 --lb-history-accent:var(--lb-panel-ink);
 --lb-accent-ink:#fff;
 --lb-side:clamp(28px,4.85vw,64px);
 --lb-gap:calc(var(--lb-side)*2);
 --lb-font-size:20.4px;
 --lb-font-scale:1;
 --lb-viewport-font-scale:1;
 --lb-line-height:1.2;
 --lb-paragraph-margin:.75em;
 --lb-font-family:OpenDyslexic,"PingFang SC","Microsoft YaHei",sans-serif;
 --lb-align:left;
 --lb-weight:400;
 --lb-motion-duration:.34s;
 --lb-motion-ease:cubic-bezier(.22,1,.36,1);
 --lb-ui-font:-apple-system,".SFNSText-Regular","San Francisco",Roboto,"Segoe UI","Helvetica Neue","Lucida Grande",sans-serif;
 color-scheme:light;
}
:root[data-reader-preset="libby"][data-theme="sepia"]{
 --lb-page:#fbf3e6;
 --lb-panel:#fff;
 --lb-panel-ink:#111;
 --lb-footer-ink:#111;
 --lb-ink:#441100;
 --lb-chrome:#441100;
 --lb-muted:#817669;
 --lb-faint:#aaa093;
 --lb-line:#441100;
 --paper:var(--lb-page);
 --panel:var(--lb-panel);
 --raise:#fffaf2;
 --ink:var(--lb-ink);
 --ink-soft:#725d50;
 --faint:var(--lb-muted);
 --line:rgba(68,17,0,.14);
 --line-strong:rgba(68,17,0,.24);
 --brass:#9d7328;
 --brass-bright:#b5852f;
 --sea:#2c5c58;
 --c-warn:#a4611a;
 --c-lab:#2c5c58;
 --c-points:#2b333a;
 --c-exercise:#9d7328;
 --shadow:0 1px 2px rgba(68,17,0,.05),0 10px 26px rgba(68,17,0,.09);
 color-scheme:light;
}
:root[data-reader-preset="libby"][data-theme="dark"]{
 --lb-page:#000;
 --lb-panel:#191919;
 --lb-panel-ink:#d9d9d9;
 --lb-footer-ink:#eee;
 --lb-ink:#999;
 --lb-chrome:#8c9094;
 --lb-muted:#8c9094;
 --lb-faint:#686b6f;
 --lb-line:#8c9094;
 --lb-accent:hsl(var(--lb-cover-h) var(--lb-cover-s) 62%);
 --lb-heading-accent:hsl(var(--lb-cover-h) var(--lb-cover-s) 62%);
 --lb-scale-accent:hsl(var(--lb-cover-h) 72% 62%);
 --lb-search-rim:hsl(var(--lb-cover-h) 45% 9%);
 --lb-history-accent:var(--lb-accent);
 --lb-accent-ink:#111;
 color-scheme:dark;
}
:root[data-reader-preset="libby"][data-font-level="1"]{--lb-font-size:18px}
:root[data-reader-preset="libby"][data-font-level="2"]{--lb-font-size:20.4px}
:root[data-reader-preset="libby"][data-font-level="3"]{--lb-font-size:21.6px}
:root[data-reader-preset="libby"][data-font-level="4"]{--lb-font-size:22.8px}
:root[data-reader-preset="libby"][data-font-level="5"]{--lb-font-size:24px}
:root[data-reader-preset="libby"][data-font-level="6"]{--lb-font-size:25.2px}
:root[data-reader-preset="libby"][data-font-level="7"]{--lb-font-size:26.4px}
:root[data-reader-preset="libby"][data-font-level="8"]{--lb-font-size:28.8px}
:root[data-reader-preset="libby"][data-font-level="9"]{--lb-font-size:31.2px}
:root[data-reader-preset="libby"][data-font-level="10"]{--lb-font-size:36px}
:root[data-reader-preset="libby"][data-font-level="11"]{--lb-font-size:40.8px}
:root[data-reader-preset="libby"][data-font-level="12"]{--lb-font-size:45.6px}
:root[data-reader-preset="libby"][data-font-level="13"]{--lb-font-size:50.4px}
:root[data-reader-preset="libby"][data-font-level="14"]{--lb-font-size:55.2px}
:root[data-reader-preset="libby"][data-font-level="15"]{--lb-font-size:60px}
:root[data-reader-preset="libby"][data-libby-design="publisher"]{--lb-font-family:"Times New Roman","Songti SC",SimSun,serif;--lb-paragraph-margin:.8em}
:root[data-reader-preset="libby"][data-libby-design="legible"]{--lb-font-family:"Times New Roman","Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="scholar"]{--lb-font-family:Seravnek,Thonburi,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;--lb-font-scale:.875}
:root[data-reader-preset="libby"][data-libby-design="paperback"]{--lb-font-family:Athelas,Baskerville,"Bookman Old Style","Palatino Linotype",Cochin,"Songti SC",SimSun,serif;--lb-paragraph-margin:.25em}
:root[data-reader-preset="libby"][data-libby-design="open-dyslexic"]{--lb-font-family:OpenDyslexic,"PingFang SC","Microsoft YaHei",sans-serif;--lb-font-scale:.95;--lb-line-height:1.75}
:root[data-reader-preset="libby"][data-libby-design="publisher"][data-libby-consistent-scale="false"]:not([data-libby-accessible="true"]){--lb-font-scale:.666666667}
:root[data-reader-preset="libby"][data-libby-accessible="true"]{--lb-font-family:OpenDyslexic,"PingFang SC","Microsoft YaHei",sans-serif;--lb-font-scale:.95;--lb-line-height:1.75;--lb-paragraph-margin:.75em}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="publisher"]{--lb-font-family:"Times New Roman","Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="palatino"]{--lb-font-family:Palatino,"Palatino Linotype","Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="georgia"]{--lb-font-family:Georgia,"Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="old-style"]{--lb-font-family:"Bookman Old Style","Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="constantia"]{--lb-font-family:Constantia,"Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="cambria"]{--lb-font-family:Cambria,"Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="serif"]{--lb-font-family:Georgia,"Songti SC",SimSun,serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-typeface="sans"]{--lb-font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-justify="justified"]{--lb-align:justify}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-spacing="1"]{--lb-line-height:1}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-spacing="1.5"]{--lb-line-height:1.5}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-spacing="2"]{--lb-line-height:2}
:root[data-reader-preset="libby"][data-libby-design="custom"][data-libby-weight="heavy"]{--lb-weight:600}

:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover){
 position:fixed;
 inset:0;
 display:block;
 width:100vw;
 height:var(--lb-viewport-height);
 overflow:hidden;
 background:var(--lb-page);
 color:var(--lb-ink);
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) :is(.topbar,.progress,.menu,.topbar-tools,.reader-links){display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .main{
 position:fixed;
 top:var(--lb-stage-top);
 bottom:auto;
 left:50%;
 display:block;
 width:var(--lb-stage);
 height:var(--lb-stage-height);
 margin:0;
 overflow:hidden;
 border:0;
 border-radius:0;
 background:var(--lb-page);
 background-image:none;
 box-shadow:none;
 color:var(--lb-ink);
 transform:translateX(-50%);
}
/* Libby's book overview is outside the reading shell: no legacy or reader chrome belongs on the cover. */
:root[data-reader-preset="libby"] .reader.on-cover{
 position:fixed;
 inset:0;
 display:block;
 width:100vw;
 height:var(--lb-viewport-height);
 overflow:hidden;
}
:root[data-reader-preset="libby"] .reader.on-cover :is(.topbar,.progress,.menu,.topbar-tools,.reader-links,.sidebar,.rail-card,.scrim,.font-panel,.libby-header,.libby-footer,.libby-nav-shield,.fast-pager){display:none}
:root[data-reader-preset="libby"] .reader.on-cover .main{
 position:fixed;
 inset:0;
 display:block;
 width:100vw;
 height:var(--lb-viewport-height);
 margin:0;
 overflow-y:auto;
 border:0;
 border-radius:0;
 box-shadow:none;
 transform:none;
}
:root[data-reader-preset="libby"] .reader.on-cover .screen.cover.active{display:block;min-height:100%;overflow:hidden}
:root[data-reader-preset="libby"] .reader.on-cover .cover-inner{min-height:var(--lb-viewport-height)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active{position:absolute;inset:0;z-index:1;display:block;overflow:hidden;background:var(--lb-page);transition:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) :is(.libby-chapter-origin,.libby-chapter-preview){will-change:transform}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-preview{z-index:1;pointer-events:none;background:var(--lb-page)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active>.wrap{opacity:1;transition:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-preview>.wrap,
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active.libby-component-enter>.wrap{opacity:1;transition:opacity .5s linear .1s}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-preview.libby-content-loading>.wrap,
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active.libby-component-enter.libby-content-loading>.wrap{opacity:0;transition:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-origin{visibility:hidden}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-strip{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;touch-action:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-chapter-strip.is-idle{z-index:0}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-seek[aria-disabled="true"]{pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-spool-track{position:relative;width:100%;height:100%;will-change:transform;transform-origin:0 0;user-select:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-spool-sheet{position:absolute;top:0;bottom:0;width:0;overflow:hidden;background:var(--lb-page)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-spool-sheet>.screen.active{position:absolute;top:0;right:auto;bottom:0;left:0;display:block;width:var(--libby-spool-width);height:100%;overflow:visible}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-spool-sheet .libby-spool-content{overflow:visible!important}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active>.wrap{
 position:absolute;
 inset:0;
 width:100%;
 max-width:none;
 height:100%;
 margin:0;
 padding:max(var(--lb-margin-top,0px),calc(env(safe-area-inset-top,0px) + 10px)) var(--lb-side) max(var(--lb-margin-bottom,0px),calc(env(safe-area-inset-bottom,0px) + 10px));
 overflow-x:auto;
 overflow-y:hidden;
 overflow-anchor:none;
 column-count:auto;
 column-width:var(--lb-column-width);
 column-fill:auto;
 column-gap:var(--lb-gap);
 scrollbar-width:none;
 overscroll-behavior:contain;
 touch-action:pan-y;
 cursor:grab;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .screen.active>.wrap::-webkit-scrollbar{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-component-blank{display:block;height:1px;break-before:column;pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-component-tail{position:absolute;top:0;width:1px;height:1px;pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active.libby-page-dragging:not(.on-cover) .screen.active>.wrap{cursor:grabbing;user-select:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover)>.shibui-halos{position:fixed;inset:0;z-index:80;overflow:visible;pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .halos-anchor>.shibui-halos{position:absolute;top:0;left:0;overflow:visible;pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo{position:absolute;top:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;border-radius:5px;opacity:0;pointer-events:none;transform:translateZ(0)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo-ripple{flex:0 0 auto;visibility:hidden}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo-scalar{width:100%;height:100%;border-radius:100%;background-image:radial-gradient(circle,#fff 40%,rgba(255,255,255,0) 70%);opacity:.75;transform:scale(.25)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.is-active{animation:shibui-halo-fade-in .2s forwards}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.is-active:not(.is-focus){background-color:hsl(var(--lb-cover-h) var(--lb-cover-s) 32% / .175)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.is-active .shibui-halo-ripple{visibility:visible;animation:shibui-halo-fade-out 1.6s forwards}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.is-active .shibui-halo-scalar{animation:shibui-halo-scalar 1.6s ease-out forwards}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.is-blur{animation:shibui-halo-fade-out .3s forwards}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.halo-for-shield.is-active{background-color:hsl(var(--lb-cover-h) 25% 75% / .1)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.halo-for-shield :is(.shibui-halo-ripple,.shibui-halo-scalar){animation-duration:4s}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo.halo-for-shield .shibui-halo-scalar{opacity:.333}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .shibui-halo-scalar{background-image:radial-gradient(circle,rgba(255,255,255,.25) 40%,rgba(255,255,255,0) 70%)}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .shibui-halo.halo-for-shield.is-active{background-color:hsl(var(--lb-cover-h) 25% 35% / .1)}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .shibui-halo.halo-for-shield .shibui-halo-scalar{opacity:.2}
@keyframes shibui-halo-fade-in{from{opacity:0}to{opacity:1}}
@keyframes shibui-halo-fade-out{from{opacity:1}to{opacity:0}}
@keyframes shibui-halo-scalar{to{transform:scale(4)}}
@media (prefers-reduced-motion:reduce){:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .shibui-halo-ripple{display:none}}
:root[data-reader-preset="libby"] .reader.libby-active :is([id="00-preface"],[data-libby-chapter="00-preface"]) .preface-book-stage{display:grid}
:root[data-reader-preset="libby"] .reader.libby-active :is([id="00-preface"],[data-libby-chapter="00-preface"]) .preface-prose{display:contents}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .content{
 display:contents;
 color:var(--lb-ink);
 font-family:var(--lb-font-family);
 font-size:calc(var(--lb-font-size)*var(--lb-font-scale)*var(--lb-viewport-font-scale));
 font-weight:var(--lb-weight);
 line-height:var(--lb-line-height);
 letter-spacing:0;
 word-spacing:0;
 text-align:var(--lb-align);
 text-shadow:none;
 -webkit-text-stroke:0;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .content :is(p,li,td,th,blockquote){font-family:inherit;font-size:inherit;line-height:inherit}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .content :is(blockquote,.callout.warn)::before{-webkit-mask:none;mask:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout blockquote::before{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout:not(.lab){break-inside:avoid-column;page-break-inside:avoid}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points{
 --lb-points-rule:2.5em;
 --lb-points-pad-y:15px;
 --lb-points-pad-left:22px;
 --lb-points-pad-right:20px;
 padding:var(--lb-points-pad-y) var(--lb-points-pad-right) 15px var(--lb-points-pad-left);
 color:var(--lb-ink);
 background-color:color-mix(in srgb,var(--lb-page) 90%,var(--lb-panel));
 font-size:.88em;
 line-height:var(--lb-points-rule);
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points>p:first-child,
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points :is(ul,ol){margin:0}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points :is(ul,ol){padding-left:1.45em}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points ul{list-style:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points li{margin:0}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points::before,
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.points::after,
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .points-hole-rail{display:none}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .callout.points{
 background-color:color-mix(in srgb,var(--lb-page) 35%,var(--lb-panel));
 border-color:color-mix(in srgb,var(--lb-line) 18%,transparent);
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise{
 --lb-task-paper:color-mix(in srgb,var(--lb-page) 94%,var(--lb-panel));
 --lb-task-accent:color-mix(in srgb,var(--c-exercise) 48%,var(--lb-muted));
 --lb-task-rule:color-mix(in srgb,var(--lb-line) 13%,transparent);
 margin:1.8em 0;
 padding:1.05em 1.3em 1.15em;
 border:1px solid var(--lb-task-rule);
 border-radius:4px;
 background:var(--lb-task-paper);
 box-shadow:0 1px 0 color-mix(in srgb,var(--lb-ink) 5%,transparent);
 color:var(--lb-ink);
}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .callout.exercise{
 --lb-task-paper:color-mix(in srgb,var(--lb-page) 35%,var(--lb-panel));
 --lb-task-rule:color-mix(in srgb,var(--lb-line) 20%,transparent);
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise::before{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>p:first-child{
 margin:0 0 .4em;
 padding:0;
 border:0;
 background:none;
 text-align:left;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>p:first-child strong{
 color:var(--lb-ink);
 font-family:inherit;
 font-size:.9em;
 font-weight:600;
 letter-spacing:0;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>ol{
 counter-reset:lb-task;
 margin:0;
 padding:0;
 list-style:none;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>ol>li{
 position:relative;
 counter-increment:lb-task;
 margin:0;
 padding:.85em .1em .9em 2.55em;
 background:none;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>ol>li+li{border-top:1px solid var(--lb-task-rule)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .callout.exercise>ol>li::before{
 content:counter(lb-task,decimal-leading-zero);
 position:absolute;
 top:1.45em;
 left:.15em;
 color:var(--lb-task-accent);
 font:500 .68em/1 var(--lb-ui-font);
 font-variant-numeric:tabular-nums;
 letter-spacing:.06em;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .content p{margin:0 0 var(--lb-paragraph-margin);text-align:var(--lb-align);orphans:3;widows:3}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .kicker{margin:0 0 1.25em;color:var(--lb-muted);font:400 .68em/1.4 var(--lb-font-family)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) :is(h1.title,.content h2,.content h3){
 color:var(--lb-ink);
 font-family:var(--lb-font-family);
 font-weight:600;
 letter-spacing:0;
 text-align:left;
 text-shadow:none;
 -webkit-text-stroke:0;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) h1.title{margin:0 0 1em;padding:0;border:0;font-size:1.65em;line-height:1.3}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .content h2{margin:1.3em 0 .7em;padding:0;border:0;font-size:1.25em;line-height:1.35}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .pager{display:none}

:root[data-reader-preset="libby"] .fast-pager{
 position:absolute;
 right:0;
 bottom:0;
 left:0;
 z-index:5;
 display:block;
 box-sizing:border-box;
 padding-bottom:24px;
 color:var(--lb-chrome);
 background:var(--lb-page);
 font:400 14px/19.6px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","Lucida Grande",sans-serif;
 pointer-events:none;
 transform:translate3d(0,100%,0);
 transition:transform .2s ease-in;
}
:root[data-reader-preset="libby"] .fast-pager.is-raised{transform:translate3d(0,0,0)}
:root[data-reader-preset="libby"] .fast-pager-row-1{padding:0 0 4px}
:root[data-reader-preset="libby"] .fast-pager .place-line{position:relative;width:100%;height:8px}
:root[data-reader-preset="libby"] .fast-pager :is(.place-line-read,.place-line-total){position:absolute;inset:0;background:currentColor}
:root[data-reader-preset="libby"] .fast-pager .place-line-total{opacity:.1}
:root[data-reader-preset="libby"] .fast-pager .place-line-read{width:0;margin-right:auto;color:var(--lb-accent);transition:width .1s}
:root[data-reader-preset="libby"] :is(.fast-pager-row-2,.fast-pager-row-3){display:flex;align-items:center;justify-content:space-between;height:23.802083px;padding:0 22px;line-height:1.7em}
:root[data-reader-preset="libby"] :is(.fast-pager-chapter-title,.fast-pager-pages){min-width:0;overflow:hidden;margin-right:2em;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
:root[data-reader-preset="libby"] :is(.fast-pager-chapter-pages,.fast-pager-pages,.fast-pager-percent){font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
:root[data-reader-preset="libby"] .fast-pager-chapter-pages{display:flex;align-items:center}
:root[data-reader-preset="libby"] .fast-pager-chapter-pages-icon{width:16px;height:16px;margin:0 -2px;transform:scaleX(-1)}
:root[data-reader-preset="libby"] .fast-pager .place-phrase-spoken{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:root[data-reader-preset="libby"][data-theme="dark"] .fast-pager{color:#eee;background:#000}

:root[data-reader-preset="libby"] .libby-header,
:root[data-reader-preset="libby"] .libby-footer{
 position:fixed;
 left:50%;
 z-index:58;
 display:flex;
 width:var(--lb-stage);
 color:var(--lb-chrome);
 background:var(--lb-page);
 font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
 opacity:0;
 visibility:hidden;
 pointer-events:none;
 transition:transform var(--lb-motion-duration) var(--lb-motion-ease),opacity .18s ease,visibility 0s linear var(--lb-motion-duration);
}
:root[data-reader-preset="libby"] .reader.libby-active.libby-nav-visible:not(.on-cover) :is(.libby-header,.libby-footer){opacity:1;visibility:visible;transform:translateX(-50%);transition-delay:0s}
:root[data-reader-preset="libby"] .reader.libby-active.libby-nav-visible.libby-nav-ready:not(.on-cover) :is(.libby-header,.libby-footer){pointer-events:auto}
:root[data-reader-preset="libby"] .libby-header{top:0;align-items:center;height:72px;padding:0 0 0 16px;transform:translate(-50%,-100%)}
:root[data-reader-preset="libby"] .libby-nav-shield{
 position:fixed;
 top:72px;
 bottom:247.59375px;
 left:50%;
 z-index:57;
 display:block;
 width:var(--lb-stage);
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 opacity:0;
 pointer-events:none;
 touch-action:pan-x pan-y;
 transform:translateX(-50%);
 animation:shibui-shield-fade-out .2s forwards;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-nav-shield:not(:disabled){pointer-events:auto;animation:shibui-shield-fade-in .2s forwards}
:root[data-reader-preset="libby"] .libby-nav-shield:disabled{animation:shibui-shield-fade-out .2s forwards}
@keyframes shibui-shield-fade-in{from{opacity:0}to{opacity:1}}
@keyframes shibui-shield-fade-out{from{opacity:1}to{opacity:0}}
:root[data-reader-preset="libby"] .libby-header::after{content:"";position:absolute;top:69px;right:16px;left:16px;height:3px;background:var(--lb-line);transform:scaleY(.5);transform-origin:50% 100%}
:root[data-reader-preset="libby"] .libby-header-notch{
 position:absolute;
 top:72px;
 left:50%;
 z-index:2;
 width:64px;
 height:48px;
 padding:0;
 border:0;
 background:transparent;
 color:var(--lb-chrome);
 cursor:default;
 transform:translate(-50%,-1.75px);
}
:root[data-reader-preset="libby"] .libby-bookmark-icon-layers{position:absolute;top:0;left:50%;width:32px;height:32px;transform:translateX(-50%)}
:root[data-reader-preset="libby"] .libby-bookmark-icon-layers svg{position:absolute;inset:0;width:32px;height:32px;overflow:hidden}
:root[data-reader-preset="libby"] .libby-bookmark-icon-layers path{stroke-width:3;transform:translateY(-25.6px);transition:transform .2s ease-in-out}
:root[data-reader-preset="libby"] .libby-bookmark-icon-shadow{transform:scale(1.16,1.02) translateY(1.5px);transform-origin:50% 0}
:root[data-reader-preset="libby"] .libby-bookmark-icon-shadow path{fill:var(--lb-page);stroke:var(--lb-page);transform:translateY(-22.4px)}
:root[data-reader-preset="libby"] .libby-bookmark-icon-stroke path{fill:var(--lb-page);stroke:var(--lb-chrome)}
:root[data-reader-preset="libby"] .libby-bookmark-icon-fill{opacity:0}
:root[data-reader-preset="libby"] .libby-bookmark-icon-fill path{fill:var(--lb-accent);stroke:var(--lb-accent)}
:root[data-reader-preset="libby"] .libby-header-notch.is-active{color:var(--lb-accent);transform:translate(-50%,0)}
:root[data-reader-preset="libby"] .libby-header-notch.is-active .libby-bookmark-icon-layers path{transform:none}
:root[data-reader-preset="libby"] .libby-header-notch.is-active .libby-bookmark-icon-fill{opacity:1}
:root[data-reader-preset="libby"] .libby-header-notch:focus-visible{outline:0}
:root[data-reader-preset="libby"] .libby-header-notch:focus-visible .libby-bookmark-icon-stroke path{stroke:var(--lb-accent);stroke-width:5}
:root[data-reader-preset="libby"] .reader.libby-active:not(.spread-active):not(.on-cover) .libby-header-notch{right:16px;left:auto;width:32px;transform:translateY(-1.75px)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.spread-active):not(.on-cover) .libby-header-notch.is-active{transform:none}
:root[data-reader-preset="libby"] .libby-actions{display:flex;align-items:center;gap:11px;margin:0 4px 0 auto}
:root[data-reader-preset="libby"] .libby-action{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 width:44px;
 height:44px;
 padding:0;
 border:0;
 border-radius:50%;
 background:transparent;
 color:inherit;
 cursor:default;
 transition:color .16s ease,background-color .16s ease;
}
:root[data-reader-preset="libby"] .libby-action:hover{color:var(--lb-accent)}
:root[data-reader-preset="libby"] .libby-back{width:auto;gap:4px;margin-left:4px;padding:0 6px 0 0;border-radius:0;font:400 20px/28px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif}
:root[data-reader-preset="libby"] .libby-action-icon{display:block;width:32px;height:32px;background:currentColor}
:root[data-reader-preset="libby"] .libby-back .libby-action-icon{width:10px;height:20px;-webkit-mask:url("libby/back.svg") center/contain no-repeat;mask:url("libby/back.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-page-icon{-webkit-mask:url("libby/page-per-screen.svg") center/contain no-repeat;mask:url("libby/page-per-screen.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-appearance-icon{-webkit-mask:url("libby/appearance.svg") center/contain no-repeat;mask:url("libby/appearance.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-search-icon{-webkit-mask:url("libby/search.svg") center/contain no-repeat;mask:url("libby/search.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-bookmarks-icon{-webkit-mask:url("libby/bookmarks.svg") center/contain no-repeat;mask:url("libby/bookmarks.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-bookmark-active{color:var(--lb-accent)}

:root[data-reader-preset="libby"] .libby-footer{
 /* SOURCE: Libby runtime footer is 1320px × 247.59px with this 360ms overshoot curve. */
 bottom:0;
 display:block;
 height:247.59375px;
 color:var(--lb-footer-ink);
 background:var(--lb-panel);
 opacity:1;
 visibility:visible;
 transform:translate(-50%,100%);
 transition:transform .36s cubic-bezier(.3,.65,.4,1.05);
}
:root[data-reader-preset="libby"] .libby-footer::before{content:"";position:absolute;top:0;right:16px;left:16px;height:2px;background:var(--lb-line)}
/* SOURCE: Bifocal 9.1.0 pages-bar uses equal flex halves and fixed 55px margins around its 100px cover orb. */
:root[data-reader-preset="libby"] .libby-page-row{position:absolute;top:0;right:16px;left:16px;display:flex;align-items:center;height:50px;font:500 16px/30px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif}
:root[data-reader-preset="libby"] .libby-page-label{display:flex;flex:0 0 calc(50% - 55px);align-items:center;justify-content:flex-end;height:37px;margin-right:55px;padding:3.5px 1px 3.5px 3.5px;border:0;background:transparent;color:inherit;font:inherit;cursor:default}
:root[data-reader-preset="libby"] .libby-page-total{flex:0 0 calc(50% - 55px);margin-left:55px;padding:3.5px}
/* SOURCE at 390px: 17px gutters, two 64px jump slots, and a title constrained to the space between them. */
:root[data-reader-preset="libby"] .libby-jump{position:absolute;top:56px;display:flex;align-items:center;width:64px;padding:0;border:0;background:transparent;color:var(--lb-chrome);font:400 16px/25.6px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;cursor:default}
:root[data-reader-preset="libby"] .libby-jump:disabled{pointer-events:none;opacity:0}
:root[data-reader-preset="libby"] .libby-jump-prev{left:17px}
:root[data-reader-preset="libby"] .libby-jump-next{right:17px;justify-content:flex-end}
:root[data-reader-preset="libby"] .libby-jump-icon{display:block;width:16px;height:16px;background:var(--lb-accent);-webkit-mask:url("libby/back.svg") center/contain no-repeat;mask:url("libby/back.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-jump-next .libby-jump-icon{transform:rotate(180deg)}
:root[data-reader-preset="libby"] .libby-cover-orb{
 position:absolute;
 top:0;
 left:50%;
 width:100px;
 height:100px;
 padding:0;
 overflow:hidden;
 border:4px solid var(--lb-panel);
 border-radius:50%;
 background:var(--lb-accent);
 box-shadow:0 1px 4px rgba(0,0,0,.2);
 transform:translate(-50%,-50px);
 cursor:default;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.libby-nav-visible) .libby-cover-orb{transform:translate(-50%,50px)}
:root[data-reader-preset="libby"] .libby-cover-orb img{width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none}
:root[data-reader-preset="libby"] .libby-chapter{
 position:absolute;
 top:56px;
 left:50%;
 width:min(512px,calc(100% - 162px));
 height:45.59375px;
 min-width:0;
 max-width:none;
 padding:0 6px;
 border:0;
 background:transparent;
 color:var(--lb-chrome);
 text-align:center;
 transform:translateX(-50%);
 cursor:default;
}
:root[data-reader-preset="libby"] .libby-chapter strong{display:block;overflow:hidden;font:500 16px/25.6px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;text-overflow:ellipsis;white-space:nowrap}
:root[data-reader-preset="libby"] .libby-chapter small{display:block;color:var(--lb-chrome);font:400 10px/16px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;letter-spacing:.05em;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-seek{
 position:absolute;
 right:0;
 bottom:56px;
 left:0;
 height:80px;
 overflow:hidden;
 cursor:auto;
 touch-action:none;
 user-select:none;
}
:root[data-reader-preset="libby"] .libby-seek:focus-visible{outline:2px solid var(--lb-accent);outline-offset:-2px}
:root[data-reader-preset="libby"] .libby-seek::before,
:root[data-reader-preset="libby"] .libby-seek::after{content:"";position:absolute;left:50%;z-index:3;display:none;pointer-events:none}
:root[data-reader-preset="libby"] .libby-seek[aria-disabled="true"]::before{top:16px;display:block;box-sizing:content-box;width:120px;height:11px;margin-left:-63px;border:3px solid #111;border-radius:11px;transform:scale(.5);transform-origin:50% 0}
:root[data-reader-preset="libby"] .libby-seek[aria-disabled="true"]::after{top:19.5px;display:block;width:56px;height:1.5px;margin-left:-28px;border-radius:1.5px;background:#111;transform:scaleX(var(--libby-pagination-progress,0))}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek[aria-disabled="true"]::before{border-color:#8c9094}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek[aria-disabled="true"]::after{background:#8c9094}
:root[data-reader-preset="libby"] .libby-seek[aria-disabled="true"] :is(.libby-seek-tape,.libby-seek-needle){opacity:0;transition:none}
:root[data-reader-preset="libby"] .libby-seek-clip{position:absolute;inset:0;overflow:hidden;clip-path:polygon(0 0,calc(50% - 8.5px) 0,calc(50% + .5px) 9px,calc(50% + 9.5px) 0,100% 0,100% 100%,0 100%);-webkit-mask-image:linear-gradient(to right,transparent 16px,#f0f 25%,#f0f 75%,transparent calc(100% - 16px));mask-image:linear-gradient(to right,transparent 16px,#f0f 25%,#f0f 75%,transparent calc(100% - 16px))}
:root[data-reader-preset="libby"] .libby-seek-tape{
 /* SOURCE: 7 CSS px per book page; transform motion is supplied by the seek controller. */
 position:absolute;
 top:2px;
 left:50%;
 height:77px;
 color:#fff;
 transition:opacity .4s;
 will-change:transform;
}
:root[data-reader-preset="libby"] .libby-seek-tape.is-gliding{transition:none}
:root[data-reader-preset="libby"] .libby-seek-tape.is-settling{transition:transform .044s ease-out}
:root[data-reader-preset="libby"] .libby-seek-notches{height:57px;background:url("libby/seekometer-notches.svg") 0 0/auto 100% repeat-x;opacity:.5;pointer-events:none}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek-notches{filter:invert(1)}
:root[data-reader-preset="libby"] .libby-seek-numbers:not(:empty){position:relative;margin-left:28px;color:rgba(17,17,17,.7);font:400 11px/20px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;line-height:20px;white-space:nowrap;pointer-events:none}
:root[data-reader-preset="libby"] .libby-seek-number{display:inline-block;box-sizing:content-box;width:70px;padding:0 0 0 70px;text-align:center}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek-numbers:not(:empty){color:rgba(238,238,238,.25)}
:root[data-reader-preset="libby"] .libby-seek-landmarks{position:absolute;top:0;height:45px}
:root[data-reader-preset="libby"] .libby-seek-chapters,
:root[data-reader-preset="libby"] .libby-seek-bookmarks,
:root[data-reader-preset="libby"] .libby-seek-highlights{position:absolute;inset:0}
:root[data-reader-preset="libby"] .libby-seek-landmarks button{position:absolute;padding:0;appearance:none;cursor:pointer}
:root[data-reader-preset="libby"] .libby-seek-chapter{top:0;bottom:0;width:3px;height:15px;margin:auto 0;border:0;border-radius:3px;outline:3px solid currentColor;background:#111;background-clip:padding-box;transform:translateX(-1px);color:var(--lb-panel)}
:root[data-reader-preset="libby"] .libby-seek-chapter::before{content:"";position:absolute;inset:-3px}
:root[data-reader-preset="libby"] .libby-seek-bookmark{top:100%;box-sizing:border-box;width:9px;height:7px;margin-top:1px;padding:0;border:4.5px solid currentColor;border-bottom-width:2px;border-bottom-color:transparent;border-radius:1px 1px 0 0;background:currentColor;background-clip:padding-box;color:var(--lb-accent);transform:translateX(-4px)}
:root[data-reader-preset="libby"] .libby-seek-highlight{bottom:0;width:9px;height:9px;margin:1px 2px;border:0;border-radius:2px;background:#f0f;transform:translateX(-6px)}
:root[data-reader-preset="libby"] .libby-seek-highlight.data-seekometer-highlight-color_Y{background:#fd3}
:root[data-reader-preset="libby"] .libby-seek-highlight.data-seekometer-highlight-color_R{background:#fac}
:root[data-reader-preset="libby"] .libby-seek-highlight.data-seekometer-highlight-color_G{background:#ce6}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek-chapter{background:#ddd}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek-bookmark{color:#ddd}
:root[data-reader-preset="libby"] .libby-seek-needle{position:absolute;top:0;left:50%;z-index:2;width:1px;height:5px;background:#111;pointer-events:none}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-seek-needle{background:#eee}
:root[data-reader-preset="libby"] .libby-history{position:absolute;right:12px;bottom:12px;left:12px;z-index:2;display:flex;align-items:center;min-height:40px;font:400 13px/18.2px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif}
:root[data-reader-preset="libby"] .libby-history-back{margin-right:auto}
:root[data-reader-preset="libby"] .libby-history-places{margin-left:auto}
:root[data-reader-preset="libby"] .libby-history button{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:40px;padding:0;border:0;background:transparent;color:var(--lb-chrome);font:inherit;cursor:default;transition:color .16s ease}
:root[data-reader-preset="libby"] .libby-history-places{justify-content:center;width:40px;height:40px}
:root[data-reader-preset="libby"] .libby-history button:hover{color:var(--lb-chrome)}
:root[data-reader-preset="libby"] .libby-history button:disabled{color:var(--lb-faint);cursor:default;opacity:0;transform:none}
/* SOURCE: Bifocal 9.1.0 keeps Recent Places neutral in bright/sepia and uses the cover accent in dark. */
:root[data-reader-preset="libby"] .libby-history-places:not(:disabled),
:root[data-reader-preset="libby"] .libby-history-places:not(:disabled):hover{color:var(--lb-history-accent)}
:root[data-reader-preset="libby"] .libby-history-icon{display:block;width:31px;height:31px;background:currentColor}
:root[data-reader-preset="libby"] .libby-history-back .libby-history-icon{-webkit-mask:url("libby/history-back.svg") center/contain no-repeat;mask:url("libby/history-back.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-history.is-ahead .libby-history-back .libby-history-icon{transform:scaleX(-1)}
:root[data-reader-preset="libby"] .libby-history-places .libby-history-icon{-webkit-mask:url("libby/history-places.svg") center/contain no-repeat;mask:url("libby/history-places.svg") center/contain no-repeat}
:root[data-reader-preset="libby"] .libby-history-badge{position:absolute;top:0;left:-1px;display:grid;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:color-mix(in srgb,var(--lb-history-accent) 15%,transparent);color:var(--lb-history-accent);font:700 10px/18px "Helvetica Neue",sans-serif;text-align:center}
:root[data-reader-preset="libby"] .libby-history-badge:empty{display:none}
:root[data-reader-preset="libby"] .libby-history-popover{position:absolute;right:0;bottom:45px;width:min(320px,calc(100vw - 32px));max-height:270px;padding:8px;overflow:auto;border:1px solid color-mix(in srgb,var(--lb-chrome) 18%,transparent);border-radius:3px;background:var(--lb-page);box-shadow:0 7px 22px rgba(0,0,0,.14);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s ease,transform .24s var(--lb-motion-ease),visibility 0s linear .24s}
:root[data-reader-preset="libby"] .libby-history-popover.is-open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover)>.libby-pagination-error:not([hidden]){
 position:fixed;
 top:50%;
 left:50%;
 z-index:90;
 display:grid;
 width:min(440px,calc(100vw - 32px));
 padding:16px;
 border:1px solid color-mix(in srgb,var(--lb-chrome) 22%,transparent);
 border-radius:8px;
 background:color-mix(in srgb,var(--lb-page) 96%,var(--lb-chrome) 4%);
 box-shadow:0 14px 42px rgba(0,0,0,.22);
 color:var(--lb-chrome);
 font:400 13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
 transform:translate(-50%,-50%);
}
:root[data-reader-preset="libby"] .libby-pagination-error-title{font-size:16px;font-weight:650}
:root[data-reader-preset="libby"] .libby-pagination-error-body{margin-top:6px;color:color-mix(in srgb,var(--lb-chrome) 78%,transparent)}
:root[data-reader-preset="libby"] .libby-pagination-error-code{justify-self:start;margin-top:10px;padding:3px 6px;border-radius:3px;background:color-mix(in srgb,var(--lb-chrome) 8%,transparent);font:600 11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}
:root[data-reader-preset="libby"] .libby-pagination-error-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
:root[data-reader-preset="libby"] .libby-pagination-error-actions button{min-height:34px;padding:6px 11px;border:1px solid color-mix(in srgb,var(--lb-chrome) 22%,transparent);border-radius:4px;background:transparent;color:inherit;font:600 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;cursor:pointer}
:root[data-reader-preset="libby"] .libby-pagination-error-actions .libby-pagination-retry{border-color:var(--lb-accent);background:var(--lb-accent);color:#fff}
:root[data-reader-preset="libby"] .libby-pagination-error-actions button:focus-visible{outline:2px solid var(--lb-accent);outline-offset:2px}
:root[data-reader-preset="libby"] .libby-history-popover button{display:block;width:100%;min-height:0;padding:9px 10px;color:var(--lb-chrome);font-size:13px;text-align:left}
:root[data-reader-preset="libby"] .libby-history-popover button+button{border-top:1px solid color-mix(in srgb,var(--lb-chrome) 10%,transparent)}
:root[data-reader-preset="libby"] .libby-history-popover .libby-history-clear{width:auto;margin:0 0 6px auto;padding:4px 12px;border-radius:999px;background:var(--lb-accent);color:var(--lb-accent-ink);font-weight:700;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-history-relation{display:block;margin-bottom:2px;color:var(--lb-heading-accent);font-size:11px;font-weight:600;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-history-details{display:block;color:var(--lb-chrome)}

:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .scrim{
 position:fixed;
 inset:0;
 z-index:69;
 display:block;
 background-image:linear-gradient(to top,rgba(0,0,0,.05),rgba(0,0,0,.1) 10vh,rgba(0,0,0,.4));
 opacity:0;
 pointer-events:none;
 transform:scaleY(var(--lb-shade-scale,1));
 transform-origin:top;
 transition:transform var(--lb-shade-duration,260ms) var(--lb-shade-ease,cubic-bezier(.3,.6,.4,1.05)),opacity .18s ease .06s;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .scrim[data-libby-shade-bearing="n"]{transform-origin:bottom}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .scrim.is-open{opacity:1;pointer-events:auto}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .scrim.is-gripping{transition:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar{
 position:fixed;
 top:0;
 right:auto;
 bottom:auto;
 left:50%;
 z-index:70;
 display:flex;
 flex-direction:column;
 width:var(--lb-stage);
 height:var(--lb-viewport-height);
 max-height:none;
 padding:0;
 overflow:visible;
 border:0;
 border-radius:0;
 background:var(--lb-panel);
 background-image:none;
 box-shadow:none;
 color:var(--lb-panel-ink);
 font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
 opacity:0;
 visibility:hidden;
 pointer-events:none;
 transform:translate3d(-50%,var(--lb-viewport-height),0);
 transition:transform var(--lb-shade-duration,260ms) var(--lb-shade-ease,cubic-bezier(.3,.6,.4,1.05)),opacity .18s ease,visibility 0s linear var(--lb-shade-duration,260ms);
 will-change:transform;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar[data-libby-shade-bearing="n"]{transform:translate3d(-50%,calc(0px - var(--lb-viewport-height)),0)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar.is-open{
 opacity:1;
 visibility:visible;
 pointer-events:auto;
 transform:translate3d(-50%,var(--lb-shade-y,50dvh),0);
 transition-delay:0s;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar.is-gripping{transition:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar[data-libby-shade-bearing="n"] :is(.toc-head,.toc-list,.libby-marks-body){transform:translateY(calc(0px - var(--lb-shade-y)))}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar::after{content:"";position:absolute;top:0;right:16px;left:16px;z-index:-1;height:2px;border-radius:2px;background:var(--lb-panel-ink);transform:scaleY(.75) translateY(-2px);transform-origin:top;pointer-events:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar[data-libby-shade-bearing="n"]::after{top:auto;bottom:0;transform:scaleY(.75) translateY(2px);transform-origin:bottom}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar::before{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-sheet-title{
 position:relative;
 display:block;
 box-sizing:border-box;
 width:352px;
 height:58.395835px;
 margin:0 auto;
 padding:16px;
 color:var(--lb-heading-accent);
 font:400 22px/26.4px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
 text-align:left;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-sheet-title::after{content:"";position:absolute;top:58.395835px;left:calc((352px - var(--lb-stage))/2 + 16px);width:calc(var(--lb-stage) - 32px);height:.666667px;background:transparent;transition:background-color .3s}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar.is-scrolled .libby-sheet-title::after{background:color-mix(in srgb,var(--lb-panel-ink) 50%,transparent)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-toc-title{display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) :is(.libby-search-title,.libby-bookmarks-title,.libby-marks-body),
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-search{display:none}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .libby-toc-title{display:none}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .libby-search-title{display:inline}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .toc-search{
 position:relative;
 display:block;
 width:320px;
 height:118.177083px;
 margin:8.666667px auto 8px;
}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .toc-search::before{content:"";position:absolute;top:0;left:0;width:320px;height:60.59375px;border-radius:8px;background:var(--lb-search-rim)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-search input{
 position:relative;
 z-index:1;
 width:314px;
 height:54.59375px;
 margin:3px;
 padding:12px 82px 12px 12px;
 border:0;
 border-radius:6px;
 background:transparent;
 color:var(--lb-panel-ink);
 font:600 17px/30.6px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
 box-shadow:none;
 outline:0;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-search input::placeholder{color:var(--lb-faint)}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .libby-search-submit{
 position:absolute;
 top:11.291667px;
 right:10px;
 display:block;
 width:38px;
 height:38px;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 cursor:default;
}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .libby-search-submit::before{
 content:"";
 display:block;
 width:100%;
 height:100%;
 background:var(--lb-heading-accent);
 -webkit-mask:url("libby/search.svg") center/28px 28px no-repeat;
 mask:url("libby/search.svg") center/28px 28px no-repeat;
}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-cancel{display:none}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .toc-list{max-height:calc(var(--lb-shade-visible,80dvh) - 193.239585px);margin-top:0;padding-top:0}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-book{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-head{display:block;width:100%;flex:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-list{display:block;flex:0 1 auto;width:100%;min-height:0;max-height:calc(var(--lb-shade-visible,50dvh) - 58.395835px);margin-top:.666667px;padding:8px 0 44px;overflow-x:hidden;overflow-y:scroll;scrollbar-gutter:stable}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-group{width:320px;margin:0 auto}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .toc-label{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover):not(.search-mode):not(.bookmarks-mode) .toc-group{display:none}
:root[data-reader-preset="libby"] .libby-chapter-dialog{display:none}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover):not(.search-mode):not(.bookmarks-mode) .libby-chapter-dialog{display:block;width:320px;margin:0 auto;color:var(--lb-panel-ink);font:400 17px/23.8px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
:root[data-reader-preset="libby"] .chapter-dialog-table{width:100%;margin:0;padding:0;list-style:none}
:root[data-reader-preset="libby"] .chapter-dialog-row{display:flex;border-top:1px solid hsl(240,4.34782609%,95.49019608%);border-bottom:1px solid transparent}
:root[data-reader-preset="libby"] .chapter-dialog-row:first-child{border-top-color:transparent}
:root[data-reader-preset="libby"] .chapter-dialog-row:last-child{border-bottom:1px solid hsl(240,4.34782609%,95.49019608%)}
:root[data-reader-preset="libby"] .chapter-dialog-row button{margin:.4em 0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
:root[data-reader-preset="libby"] .chapter-dialog-row button:first-child{width:100%}
:root[data-reader-preset="libby"] .chapter-dialog-row button:last-child{text-align:right}
:root[data-reader-preset="libby"] .chapter-dialog-row-button{width:100%;text-align:left}
:root[data-reader-preset="libby"] .chapter-dialog-row-flex{display:flex;padding:.4em 0}
:root[data-reader-preset="libby"] .chapter-dialog-row-info{display:flex;flex-direction:column}
:root[data-reader-preset="libby"] .chapter-dialog-row-section{margin-bottom:.5rem;color:var(--lb-muted);font-size:12px;text-transform:uppercase}
:root[data-reader-preset="libby"] .chapter-dialog-row-info:first-child{padding-left:.9em;text-indent:-.9em}
:root[data-reader-preset="libby"] .chapter-dialog-row-place{display:flex;flex-shrink:0;align-items:stretch;justify-content:flex-end}
:root[data-reader-preset="libby"] .chapter-dialog-row-place>span{padding:.4em 0 .4em .5em}
:root[data-reader-preset="libby"] .chapter-dialog-row.is-current{border-top-color:currentColor;border-bottom-color:currentColor}
:root[data-reader-preset="libby"] .chapter-dialog-row.is-current button:first-child{position:relative;overflow:visible}
:root[data-reader-preset="libby"] .chapter-dialog-row.is-current button:first-child::before{content:"";position:absolute;top:0;bottom:0;left:0;height:0;margin-top:1.2em;margin-left:-16px;border:6px solid transparent;border-right:0;border-left:9px solid}
:root[data-reader-preset="libby"] .chapter-dialog-row.is-current+.chapter-dialog-row{border-top-color:transparent}
:root[data-reader-preset="libby"][data-theme="dark"] .chapter-dialog-row{border-top-color:hsl(0,0%,8%)}
:root[data-reader-preset="libby"][data-theme="dark"] .chapter-dialog-row:first-child{border-top-color:transparent}
:root[data-reader-preset="libby"][data-theme="dark"] .chapter-dialog-row:last-child{border-bottom-color:hsl(0,0%,8%)}
:root[data-reader-preset="libby"][data-theme="dark"] .chapter-dialog-row.is-current{border-top-color:currentColor;border-bottom-color:currentColor}
:root[data-reader-preset="libby"][data-theme="dark"] .chapter-dialog-row.is-current+.chapter-dialog-row{border-top-color:transparent}
@media screen and (min-width:375px){:root[data-reader-preset="libby"] .chapter-dialog-row.is-current>button:first-child::before{margin-left:-28px}}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar .toc-a{
 display:flex;
 align-items:center;
 width:320px;
 height:52.291667px;
 padding:6.8px 0;
 border:0;
 border-radius:0;
 background:transparent;
 color:var(--lb-panel-ink);
 font:400 17px/23.8px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar .toc-a:is(:hover,.active){background:transparent;color:var(--lb-panel-ink)}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar .toc-no{order:2;display:block!important;flex:none;color:inherit;font:inherit}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar .toc-t{order:1;display:block;flex:1;min-width:0;padding-left:15.3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) :is(.toc-group,.toc-book){display:none}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-results{width:320px;margin:0 auto;counter-reset:libby-result}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-result{position:relative;padding:14px 0 22px 38px;border:0;color:var(--lb-chrome);text-align:left;counter-increment:libby-result}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-result::before{content:counter(libby-result);position:absolute;top:38px;left:0;color:var(--lb-accent);font:500 16px/22px MuseoSlab,serif}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-result small{margin:0 0 8px;color:var(--lb-accent);font:500 11px/16px "Helvetica Neue","PingFang SC",sans-serif;letter-spacing:.02em;text-transform:uppercase}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-result span{color:var(--lb-muted);font:400 15px/1.55 "Helvetica Neue","PingFang SC",sans-serif}
:root[data-reader-preset="libby"] .reader.libby-active.search-mode:not(.on-cover) .search-result mark{background:transparent;color:var(--lb-accent);font-weight:600}
:root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) :is(.libby-toc-title,.libby-search-title,.toc-search,.toc-list){display:none}
:root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-bookmarks-title{display:block}
:root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-sheet-title{height:141.458333px;padding:72px 16px 16px}
:root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-sheet-title::after{top:140.791667px}
:root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-marks-body{display:block;box-sizing:border-box;width:100%;max-height:calc(var(--lb-shade-visible,80dvh) - 141.458333px);padding:8px max(16px,calc((var(--lb-stage) - 320px)/2)) 52px;overflow:auto;color:var(--lb-panel-ink);font:400 17px/23.8px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;outline:0}
:root[data-reader-preset="libby"] .libby-bookmarks-title{font-weight:600}
:root[data-reader-preset="libby"] .libby-marks-empty{height:111.979167px;margin:0;overflow:hidden;font-size:16px}
:root[data-reader-preset="libby"] .libby-marks-list,
:root[data-reader-preset="libby"] .libby-marks-list ul{margin:0;padding:0;overflow:hidden;list-style:none}
:root[data-reader-preset="libby"] .libby-marks-list li{position:relative}
:root[data-reader-preset="libby"] .libby-marks-group{margin:0;padding:0}
:root[data-reader-preset="libby"] .libby-marks-group+.libby-marks-group h2{margin-top:2.5em}
:root[data-reader-preset="libby"] .libby-marks-group h2{margin:0;color:var(--lb-heading-accent);font:600 13px/18.2px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-mark-row{display:flex;color:var(--lb-panel-ink);font:400 17px/23.8px -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif}
:root[data-reader-preset="libby"] .libby-mark-row:not(:last-child){border-bottom:1px solid hsl(240,4.34782609%,95.49019608%)}
:root[data-reader-preset="libby"] .libby-mark-button{display:flex;width:100%;min-width:0;margin:4px 1rem 4px 0;padding:.5em 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left}
:root[data-reader-preset="libby"] .libby-mark-symbol{flex:0 0 auto;width:12px;height:14px;margin:.5rem 1rem 0 0;border-radius:1px;background:#111}
:root[data-reader-preset="libby"] .libby-mark-row.data-mark-type_bookmark .libby-mark-symbol{box-sizing:content-box;width:0;height:6px;border:6px solid transparent;border-bottom:2px solid var(--lb-panel);background:var(--lb-accent)}
:root[data-reader-preset="libby"] .libby-mark-row.data-mark-color_Y .libby-mark-symbol{background:#fd3}
:root[data-reader-preset="libby"] .libby-mark-row.data-mark-color_R .libby-mark-symbol{background:#fac}
:root[data-reader-preset="libby"] .libby-mark-row.data-mark-color_G .libby-mark-symbol{background:#ce6}
:root[data-reader-preset="libby"] .libby-mark-details{display:block;width:100%;min-width:0}
:root[data-reader-preset="libby"] .libby-mark-note{font-style:italic}
:root[data-reader-preset="libby"] .libby-mark-note::before{content:" — ";font-style:normal}
:root[data-reader-preset="libby"] .libby-mark-date{margin-left:6px;opacity:.5;font-size:.75em;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-mark-place{display:flex;flex-shrink:0;margin:4px 0;padding:.5em 0;border:0;background:transparent;color:inherit;font:inherit;text-align:right;white-space:nowrap}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-mark-row:not(:last-child){border-bottom-color:hsl(0,0%,8%)}
:root[data-reader-preset="libby"][data-theme="dark"] .reader.libby-active:not(.on-cover) .sidebar{--lb-muted:#c0c0c3;--lb-faint:#77797d}

:root[data-reader-preset="libby"] .libby-setting{display:block}
:root[data-reader-preset="libby"] .font-panel-mask{
 top:0;
 right:auto;
 bottom:auto;
 left:50%;
 z-index:78;
 width:var(--lb-stage);
 height:var(--lb-viewport-height);
 background-image:linear-gradient(to top,rgba(0,0,0,.05),rgba(0,0,0,.1) 10vh,rgba(0,0,0,.4));
 opacity:0;
 pointer-events:none;
 transform:translateX(-50%) scaleY(var(--lb-shade-scale,.5));
 transform-origin:top;
 transition:transform var(--lb-shade-duration,260ms) var(--lb-shade-ease,cubic-bezier(.3,.6,.4,1.05)),opacity .5s;
}
:root[data-reader-preset="libby"] .font-panel-mask.is-open{opacity:1;pointer-events:auto}
:root[data-reader-preset="libby"] .font-panel-mask.is-gripping{transition:none}
:root[data-reader-preset="libby"] .font-panel{
 top:0;
 right:auto;
 bottom:auto;
 left:50%;
 z-index:79;
 width:var(--lb-stage);
 height:var(--lb-viewport-height);
 max-height:none;
 overflow:visible;
 border:0;
 border-radius:0;
 background:var(--lb-panel);
 color:var(--lb-panel-ink);
 box-shadow:none;
 font-family:var(--lb-ui-font);
 visibility:hidden;
 pointer-events:none;
 transform:translate3d(-50%,var(--lb-viewport-height),0);
 transition:transform var(--lb-shade-duration,260ms) var(--lb-shade-ease,cubic-bezier(.3,.6,.4,1.05)),visibility 0s linear var(--lb-shade-duration,260ms);
 will-change:transform;
}
:root[data-reader-preset="libby"] .font-panel.is-open{visibility:visible;pointer-events:auto;transform:translate3d(-50%,var(--lb-shade-y,50dvh),0);transition-delay:0s}
:root[data-reader-preset="libby"] .font-panel.is-gripping{transition:none}
:root[data-reader-preset="libby"] .font-panel::before{content:"";position:absolute;top:0;right:16px;left:16px;z-index:-1;height:2px;border-radius:2px;background:var(--lb-panel-ink);transform:scaleY(.75) translateY(-2px);transform-origin:top;pointer-events:none}
:root[data-reader-preset="libby"] .font-panel:focus{outline:0}
:root[data-reader-preset="libby"] .font-panel-inner{position:relative;display:grid;grid-template-columns:min(320px,100%);align-content:start;justify-content:center;width:100%;height:calc(var(--lb-shade-visible,50dvh) - 58.395835px);padding:0 0 44px;overflow:auto;scrollbar-gutter:stable}
:root[data-reader-preset="libby"] .font-panel-title{position:relative;box-sizing:border-box;width:352px;height:58.395835px;margin:0 auto;padding:16px;color:var(--lb-heading-accent);font:600 22px/26.4px var(--lb-ui-font);touch-action:none;user-select:none}
:root[data-reader-preset="libby"] .font-panel-title::after{content:"";position:absolute;top:58.395835px;left:calc((352px - var(--lb-stage))/2 + 16px);width:calc(var(--lb-stage) - 32px);height:.666667px;background:transparent;transition:background-color .3s}
:root[data-reader-preset="libby"] .font-panel.is-scrolled .font-panel-title::after{background:color-mix(in srgb,var(--lb-panel-ink) 50%,transparent)}
:root[data-reader-preset="libby"] :is(.font-panel-inner,.toc-list)::-webkit-scrollbar{width:15.333333px}
:root[data-reader-preset="libby"] .font-panel-inner::-webkit-scrollbar-track{background:transparent}
:root[data-reader-preset="libby"] .font-panel-inner::-webkit-scrollbar-thumb{border:3px solid var(--lb-panel);border-radius:8px;background:#555}
:root[data-reader-preset="libby"] :is(.weread-only,.non-libby-setting){display:none}
:root[data-reader-preset="libby"] .reader-preset-setting{width:320px;margin:36px auto 0}
:root[data-reader-preset="libby"] .reader-preset-setting .libby-option-title{color:var(--lb-heading-accent);font:600 13px/18.2px var(--lb-ui-font);text-transform:uppercase}
:root[data-reader-preset="libby"] .reader-preset-option{font-family:var(--lb-ui-font)}
.reader-preset-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reader-preset-option{min-height:40px;padding:8px 10px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:8px;background:transparent;color:inherit;font:500 13px/1.25 var(--sans);cursor:pointer}
.reader-preset-option[aria-pressed="true"]{border-color:currentColor;background:color-mix(in srgb,currentColor 9%,transparent)}
:root[data-reader-preset="libby"] .libby-sheet-controls{position:absolute;right:0;left:0;z-index:3;box-sizing:border-box;height:24px;border:0 solid var(--lb-panel-ink);pointer-events:none}
:root[data-reader-preset="libby"] [data-libby-shade-bearing="s"]>.libby-sheet-controls{top:0;border-top-width:1px}
:root[data-reader-preset="libby"] [data-libby-shade-bearing="n"]>.libby-sheet-controls{bottom:0}
:root[data-reader-preset="libby"] .libby-sheet-controls>*{pointer-events:auto}
:root[data-reader-preset="libby"] :is(.libby-panel-close,.libby-sheet-grip){
 display:block;
 position:absolute;
 top:0;
 right:0;
 left:0;
 width:40px;
 height:24px;
 margin:1px auto;
 padding:0;
 border:0;
 border-radius:16px;
 background:var(--lb-panel);
 color:var(--lb-panel-ink);
 touch-action:none;
 cursor:default;
}
:root[data-reader-preset="libby"] .libby-sheet-grip{display:block}
:root[data-reader-preset="libby"] .sidebar[data-libby-shade-bearing="n"] .libby-sheet-grip{top:auto;bottom:1px}
:root[data-reader-preset="libby"] :is(.libby-panel-close,.libby-sheet-grip) svg{position:absolute;top:0;left:14px;width:12px;height:24px;overflow:visible;transform:rotate(-90deg)}
:root[data-reader-preset="libby"] :is(.libby-panel-close,.libby-sheet-grip) path{fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round}
:root[data-reader-preset="libby"] .libby-section-label{margin:38px 0 6.5px;color:var(--lb-heading-accent);font:600 13px/18.2px var(--lb-ui-font);letter-spacing:0;text-transform:uppercase}
:root[data-reader-preset="libby"] .font-panel-title+p.libby-section-label,:root[data-reader-preset="libby"] .font-panel-inner>p.libby-section-label:first-child{margin-top:8.666667px}
:root[data-reader-preset="libby"] .font-panel-inner>section.libby-setting+section.libby-setting>.libby-section-label{margin-top:36.5px}
:root[data-reader-preset="libby"] .font-size-control{height:60px;margin-top:0;border-radius:8px;background:var(--lb-scale-accent)}
:root[data-reader-preset="libby"] .font-size-track{height:60px;overflow:hidden;border-radius:8px;color:#ddd}
:root[data-reader-preset="libby"] .font-size-track::before{display:none}
:root[data-reader-preset="libby"] .font-size-track::after{top:28px;right:auto;left:48.666667px;width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:36.447917px 0 currentColor,72.895834px 0 currentColor,109.343751px 0 currentColor,145.791668px 0 currentColor,182.239585px 0 currentColor,218.687502px 0 currentColor}
:root[data-reader-preset="libby"][data-libby-accessible="true"] .font-size-track::after{left:33.046131px;box-shadow:20.827381px 0 currentColor,41.654762px 0 currentColor,62.482143px 0 currentColor,83.309524px 0 currentColor,104.136905px 0 currentColor,124.964286px 0 currentColor,145.791667px 0 currentColor,166.619048px 0 currentColor,187.446429px 0 currentColor,208.27381px 0 currentColor,229.101191px 0 currentColor,249.928572px 0 currentColor}
:root[data-reader-preset="libby"] .font-size-progress{display:block;top:0;left:0;width:var(--font-progress,46px);height:60px;background:var(--lb-scale-accent)}
:root[data-reader-preset="libby"] .font-size-range{height:60px;padding:0 4.21875px}
:root[data-reader-preset="libby"] .font-size-range::-webkit-slider-runnable-track{height:60px}
:root[data-reader-preset="libby"] .font-size-range::-webkit-slider-thumb{box-sizing:border-box;width:20px;height:60px;margin-top:0;border:2.666667px solid var(--lb-scale-accent);border-radius:8px;background-color:var(--lb-panel);background-image:linear-gradient(var(--lb-scale-accent),var(--lb-scale-accent)),linear-gradient(var(--lb-scale-accent),var(--lb-scale-accent));background-position:calc(50% - 2px) 50%,calc(50% + 2px) 50%;background-size:1px 12px;background-repeat:no-repeat;box-shadow:none}
:root[data-reader-preset="libby"] .font-size-range::-moz-range-track{height:60px}
:root[data-reader-preset="libby"] .font-size-range::-moz-range-thumb{box-sizing:border-box;width:20px;height:60px;border:2.666667px solid var(--lb-scale-accent);border-radius:8px;background-color:var(--lb-panel);background-image:linear-gradient(var(--lb-scale-accent),var(--lb-scale-accent)),linear-gradient(var(--lb-scale-accent),var(--lb-scale-accent));background-position:calc(50% - 2px) 50%,calc(50% + 2px) 50%;background-size:1px 12px;background-repeat:no-repeat;box-shadow:none}
:root[data-reader-preset="libby"] .libby-access-row{display:flex;align-items:center;justify-content:space-between;margin:31.1875px 0 0 2px;font:400 14px/19.6px var(--lb-ui-font)}
:root[data-reader-preset="libby"] .libby-switch{position:relative;box-sizing:border-box;width:50px;height:30px;margin:0;padding:3px;appearance:none;border:0;border-radius:50px;background:#a0a2b0;cursor:default}
:root[data-reader-preset="libby"] .libby-switch::before{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#f7f7f8 center/18px no-repeat;box-shadow:inset 2px 2px 0 var(--lb-panel);transition:transform .2s}
:root[data-reader-preset="libby"] .libby-switch:checked{background:var(--lb-switch-accent)}
:root[data-reader-preset="libby"] .libby-switch:checked::before{background-image:url("libby/switch-check.svg");transform:translateX(20px)}
:root[data-reader-preset="libby"] .libby-lighting-options{display:flex}
:root[data-reader-preset="libby"] .libby-lighting{
 position:relative;
 box-sizing:border-box;
 flex:0 0 33.3%;
 width:33.3%;
 height:56px;
 padding:0;
 border:1px solid #888;
 border-radius:0;
 background-color:#fcfcfc;
 background-position:top right;
 background-size:138px;
 background-repeat:no-repeat;
 background-clip:content-box;
 color:#151515;
 text-align:left;
 cursor:default;
}
:root[data-reader-preset="libby"] .libby-lighting:not(:last-child){border-right:0}
:root[data-reader-preset="libby"] .libby-lighting::before{content:"";position:absolute;inset:0;background-position:top right;background-size:138px;background-repeat:no-repeat;opacity:0}
:root[data-reader-preset="libby"] .libby-lighting.selected::before{opacity:1}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="light"]{background-image:url("data:image/png;base64,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")}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="sepia"]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARAAAABICAAAAAAby/XnAAADvElEQVR4Ae3WUXOqOBTA8f3+H2xn7J4oCCgWUK1AgkoaLFartK69dLN0LmAm94XQ/B98cPL0m5Mc/kp039IgGkSDyIHoyDcQHcFYg1Q5bhGiQb7C/6VByvHgkRJEe/A4iOaoAdEeGgTjjoIQFw1kQy6R9ugsiDsIQtmCgSvv0VUQFFzlC5Dk86FBWjz0lcGdBiHuw0C2B6lHlXQUhDcIr3KFA/kHVYPoCdETIhhRDkSDZJIg2R2QlectQqIaiG8aWBIEG6bfMgkOIAAYOvM4qYY7DmIaV/kMM2ksAFxc8t3SBLD8SAUQPiFbKteudULG06JsHzoAxiziN+ZnviER4IJ3JDMw+YT8zC3jw6GoZiAj4hOiFMjl+PK8JeFq7s0mjm07E/fRXzxFyY7lp0IcxLaLahkAOHxA1AHxp7b1mTPzF6sw/tyZOFov597X/7bri4FgWBfVnhAgX0EQK0jo/vX8cf2997dDliaBJQaygKyoZgGgWEWQedLeXBBkMiqqHQDASlQEcW5ZbQmCjIKiWgyAflkTxUCuwa2wKe/mkQiBrGFbVHMBgPAB6RHIXhDEg1PV41TuGEJw3ybkKghiTYpqCcBwwS16AhLFOBAFId+X7sEHGGLcJxCcbFNKl6IgS3iueLzshwBuj0AisqOfiYO46MI5Lnu2ARiuegMSJSktEwUhxHzkHm97xuYAI9wXkLicDmEQQjAOIeb7JWMsMwE99gWEpFQYhH94zeGlKDuyWzsAWPcEJKG0CSQbQ0MIjYqyV/bZCmCM+wFCaDPI2A4bWi9x6ZGzXzmA/H6A4LQFBMKivctL6UEBIOoFSMQ9ZEDOe1YWAdi4FyAb+gcg54x99QRoIQISdKUmkJjKgfB1y0HAF6gzIF4TyE4ShK8XDjIWArl2pEsDCKbyIDmrtIKsEKgzIKcGkK0sCF8vfEIKpUDyepAovQcyWaQtHuqCsHqQhN4BWZoQtqxbdUG29SC7NpCWS/OWMbVBPuJakIjKgRwZkwN57wrIW1QLQuRAXtnvrYVAPrryHWL8XQuykQG55KwWxBco6AiIP6gH2d0H+YCobb3wVoIgeVeqAYkxvQ+SQ9q2XniekYvUYZBdSmkDSFQB2cCxbb3wHEc1kGn4f0EQ5temzpFjefyoY1Y9TqypqXIglR5Wh2tbF2fMz/7jta5bnj9SDKTa9PzeHrP4WRQ889LNdrPdlj+Vkk2SbNagLoht3c/OvwLhDLVA5AOE0GP7CUAwy3l9BxkOR/ePDEEURKdBNIgGke9fpqO4ik1creYAAAAASUVORK5CYII=")}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="dark"]{background-image:url("data:image/png;base64,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")}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="light"]::before{background-color:#a7d7d9;background-image:url("libby/lighting-bright.png")}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="sepia"]::before{background-color:#f6f0e6;background-image:url("libby/lighting-sepia.png")}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="dark"]::before{background-color:#4a4c56;background-image:url("libby/lighting-dark.png")}
:root[data-reader-preset="libby"] .libby-lighting span{position:absolute;right:0;bottom:0;left:0;z-index:1;padding:3px;background:#eee;color:#111;font:400 12px/12px var(--lb-ui-font);text-align:left;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="light"].selected span{background:#486754;color:#fff}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="sepia"].selected span{background:#9f8046;color:#fff}
:root[data-reader-preset="libby"] .libby-lighting[data-lighting="dark"].selected span{background:#000;color:#fff}
:root[data-reader-preset="libby"][data-theme="dark"] .font-panel{--lb-chrome:#d9d9d9;--lb-muted:#aaa;--lb-faint:#5e5e5e}
:root[data-reader-preset="libby"][data-theme="dark"] .font-size-track{color:#191919}
:root[data-reader-preset="libby"][data-theme="dark"] .font-size-range::-webkit-slider-thumb{background-color:#191919}
:root[data-reader-preset="libby"][data-theme="dark"] .font-size-range::-moz-range-thumb{background-color:#191919}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-switch{background:#5e5e5e}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-switch::before{background:#191919}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-lighting{border-color:#eee}
:root[data-reader-preset="libby"][data-theme="dark"] .libby-lighting:not(.selected){border-color:currentColor;color:#777;filter:invert(1)}
:root[data-reader-preset="libby"] .libby-designs{display:grid;gap:0;padding-top:.666667px}
:root[data-reader-preset="libby"] .libby-design{
 position:relative;
 height:55.729167px;
 padding:16px 0;
 border:0;
 background:transparent;
 color:var(--lb-chrome);
 font:400 16px/22.4px var(--lb-ui-font);
 text-align:left;
 cursor:default;
}
:root[data-reader-preset="libby"] .libby-design.selected{height:54.395836px;border-top:1px solid;border-bottom:1px solid;color:inherit;font-weight:700}
:root[data-reader-preset="libby"] .libby-design-scale-row{display:none;align-items:flex-start;justify-content:space-between;height:54.770836px;padding:0 0 16px;font:400 13px/18.2px var(--lb-ui-font)}
:root[data-reader-preset="libby"][data-libby-design="publisher"] .libby-design-scale-row{display:flex}
:root[data-reader-preset="libby"][data-libby-design="publisher"] .libby-design[data-libby-design-option="publisher"].selected{border-bottom:0}
:root[data-reader-preset="libby"][data-libby-design="publisher"] .libby-design-scale-row{border-bottom:1px solid}
:root[data-reader-preset="libby"] .libby-design-scale-row>span{margin-top:5px;line-height:20px}
:root[data-reader-preset="libby"] .libby-design-scale-row+.libby-design{margin-top:.666667px}
:root[data-reader-preset="libby"] .libby-design:is([data-libby-design-option="publisher"],[data-libby-design-option="open-dyslexic"],[data-libby-design-option="custom"]):not(.selected)::after{content:"...";position:absolute;right:0;color:var(--lb-faint);font-weight:700;letter-spacing:1px;opacity:.5}
:root[data-reader-preset="libby"] .libby-dyslexic-extra{display:none;margin:0;padding:0 0 16px;font:400 13px/18.2px var(--lb-ui-font)}
:root[data-reader-preset="libby"][data-libby-design="open-dyslexic"] .libby-dyslexic-extra{display:block}
:root[data-reader-preset="libby"][data-libby-design="open-dyslexic"] .libby-design[data-libby-design-option="open-dyslexic"].selected{border-bottom:0}
:root[data-reader-preset="libby"][data-libby-design="open-dyslexic"] .libby-dyslexic-extra{border-bottom:1px solid}
:root[data-reader-preset="libby"] .libby-dyslexic-extra a{color:inherit;text-decoration:underline}
:root[data-reader-preset="libby"] .libby-custom{display:grid;grid-template-columns:128px 192px;row-gap:32px;padding:0 0 16px;font:400 13px/18.2px var(--lb-ui-font)}
:root[data-reader-preset="libby"] .libby-custom[hidden]{display:none}
:root[data-reader-preset="libby"][data-libby-design="custom"] .libby-design[data-libby-design-option="custom"].selected{border-bottom:0}
:root[data-reader-preset="libby"][data-libby-design="custom"] .libby-custom{border-bottom:1px solid}
:root[data-reader-preset="libby"] .libby-custom>.libby-option-title{grid-column:1;margin:0;color:inherit;font:400 13px/15.6px var(--lb-ui-font);letter-spacing:0;text-transform:uppercase}
:root[data-reader-preset="libby"] .libby-custom>.libby-options{grid-column:2;display:flex;align-self:start;gap:0}
:root[data-reader-preset="libby"] .libby-custom>.libby-options[data-libby-setting="typeface"]{flex-direction:column}
:root[data-reader-preset="libby"] .libby-options button{
 flex:1 1 0;
 min-height:33.333333px;
 padding:2px 6px;
 border:1px solid #333;
 border-radius:0;
 background:transparent;
 color:var(--lb-chrome);
 font:400 13px/28px var(--lb-ui-font);
 cursor:default;
}
:root[data-reader-preset="libby"] .libby-options:not([data-libby-setting="typeface"]) button+button{border-left:0}
:root[data-reader-preset="libby"] .libby-options:not([data-libby-setting="typeface"]) button:first-child{border-radius:2px 0 0 2px}
:root[data-reader-preset="libby"] .libby-options:not([data-libby-setting="typeface"]) button:last-child{border-radius:0 2px 2px 0}
:root[data-reader-preset="libby"] .libby-options[data-libby-setting="typeface"] button{flex:none;min-height:34.666667px;line-height:30px}
:root[data-reader-preset="libby"] .libby-options[data-libby-setting="typeface"] button+button{border-top:0}
:root[data-reader-preset="libby"] .libby-options[data-libby-setting="typeface"] button:first-child{border-radius:2px 2px 0 0}
:root[data-reader-preset="libby"] .libby-options[data-libby-setting="typeface"] button:last-child{border-radius:0 0 2px 2px}
:root[data-reader-preset="libby"] .libby-options button.selected{border-color:#333;background:var(--lb-accent);color:#fff}
:root[data-reader-preset="libby"] :is(.libby-panel-close,.libby-sheet-grip,.font-size-range,.libby-switch,.libby-lighting,.libby-design,.libby-options button):focus-visible{outline:0}
:root[data-reader-preset="libby"] .libby-seek.is-dragging{cursor:auto}
:root[data-reader-preset="libby"] .libby-cover-orb{transition:transform 220ms ease-out}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) :is(.libby-header,.libby-footer,.sidebar,.font-panel,.scrim) :is(button,a,[role="button"],input[type="range"],input[type="checkbox"]){cursor:default}
:root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .libby-footer .libby-seek-landmarks button{cursor:pointer}

@media (max-width:820px){
 :root[data-reader-preset="libby"] .libby-header{padding:0 0 0 16px}
 :root[data-reader-preset="libby"] .libby-page-toggle{display:none}
 :root[data-reader-preset="libby"] .libby-actions{gap:11px;margin-right:10px}
 :root[data-reader-preset="libby"] .libby-action{width:44px}
 :root[data-reader-preset="libby"] .libby-footer{height:248px}
 :root[data-reader-preset="libby"] .libby-seek{right:0;bottom:56px;left:0}
 :root[data-reader-preset="libby"] .libby-back{width:auto;min-width:0}
 :root[data-reader-preset="libby"] .reader.libby-active:not(.on-cover) .sidebar,
 :root[data-reader-preset="libby"] .reader.libby-active.nav-collapsed:not(.on-cover) .sidebar{padding:0}
 :root[data-reader-preset="libby"] :is(.font-panel-inner,.toc-list){scrollbar-width:none;scrollbar-gutter:auto}
 :root[data-reader-preset="libby"] :is(.font-panel-inner,.toc-list)::-webkit-scrollbar{display:none}
 :root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-sheet-title{height:85.458333px;padding:16px}
 :root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-sheet-title::after{top:84.791667px}
 :root[data-reader-preset="libby"] .reader.libby-active.bookmarks-mode:not(.on-cover) .libby-marks-body{max-height:calc(var(--lb-shade-visible,80dvh) - 85.458333px)}
}
/* SOURCE Bifocal 9.1.0: only measured (mea) layout keeps the header available in reading mode; max layout retracts it. */
:root[data-reader-preset="libby"][data-libby-layout="mea"] .reader.libby-active:not(.on-cover) .libby-header{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%);transition-delay:0s}
@media (max-width:599px),(max-height:599px){
 :root[data-reader-preset="libby"]{--lb-viewport-font-scale:.75}
}
@media (prefers-reduced-motion:reduce){
 :root[data-reader-preset="libby"] :is(.libby-header,.libby-footer,.fast-pager,.sidebar,.scrim,.font-panel,.font-panel-mask,.libby-action,.libby-jump,.libby-chapter,.libby-cover-orb),
 :root[data-reader-preset="libby"] :is(.libby-switch::before,.libby-seek-tape,.libby-chapter-preview>.wrap,.screen.active.libby-component-enter>.wrap){transition:none}
}
