body.book-reader-page{padding-bottom:100px!important}
.book-toolbar__primary,.book-toolbar__actions,.book-inline-tools>button,.book-lecture-trigger{display:none!important}
.book-toolbar__identity{margin:auto!important}
.book-inline-tools{position:fixed!important;bottom:12px!important;left:50%!important;transform:translateX(-50%)!important;z-index:1000!important;background:#fff!important;padding:10px 20px!important;border:1px solid #e0e4ea!important;border-radius:12px!important;width:auto!important;min-height:40px!important;box-shadow:0 4px 20px #28374b15!important;justify-content:center!important}
body.audio-mode-book [data-book-action="whole-book-audio"],body.audio-mode-lecture .book-lecture-trigger{display:inline-flex!important}
body.audio-mode-book .book-lecture-trigger,body.audio-mode-book #book-lecture-controls{display:none!important}
#book-lecture-controls{position:fixed!important;bottom:76px!important;left:50%!important;transform:translateX(-50%)!important;width:min(570px,90vw)!important;z-index:1001!important;max-height:165px!important;overflow:auto!important}
#book-lecture-controls header,#book-lecture-controls [data-status],.book-lecture-rates{display:none!important}
.book-footer{margin-bottom:82px!important}
@media(max-width:680px){.book-inline-tools{bottom:8px!important}.book-toolbar{min-height:40px!important}}
body.book-reader-page .book-inline-tools button,body.book-reader-page .reader-tool-help,body.book-reader-page .reader-suggestion-button,body.book-reader-page .book-footer__neighbor{display:none!important}
body.book-reader-page.audio-mode-book .book-inline-tools [data-book-action="whole-book-audio"],body.book-reader-page.audio-mode-book .book-inline-tools [data-book-action="whole-book-korean-audio"],body.book-reader-page.audio-mode-book .book-inline-tools [data-book-action="translation"],body.book-reader-page.audio-mode-lecture .book-inline-tools .book-lecture-trigger{display:inline-flex!important}
body.book-reader-page .book-inline-tools{justify-content:center!important;padding:10px 20px!important;margin:0!important;bottom:10px!important}
body.book-reader-page .book-lecture-controls>header,body.book-reader-page .book-lecture-controls [data-status],body.book-reader-page .book-lecture-rates{display:none!important}

body.book-reader-page .actual-audio-dock{position:relative;padding:12px 18px 24px;max-width:650px;margin:0 auto}body.book-reader-page .actual-audio-dock .book-inline-tools,body.book-reader-page .actual-audio-dock #book-lecture-controls{position:static!important;transform:none!important;width:100%!important;box-sizing:border-box!important;margin:10px auto!important}body.book-reader-page .book-footer{margin-bottom:0!important}body.book-reader-page{padding-bottom:0!important}
body.book-reader-page .book-stage{height:calc(100vh - 300px)!important;min-height:280px!important;max-height:calc(100vh - 300px)!important}body.book-reader-page .book-pages{height:100%!important}html{overflow-y:auto!important}body.book-reader-page{overflow-y:visible!important}

/* Sample services show the open book, without the full reader chrome. */
body.book-reader-page .book-toolbar,body.book-reader-page .book-footer{display:none!important}
body.book-reader-page{margin:0!important;padding:0!important;background:#fff!important;gap:0!important}
body.book-reader-page .book-stage{height:calc(100vh - 130px)!important;max-height:calc(100vh - 130px)!important;min-height:280px!important;margin:0!important;padding:0 42px!important}
body.book-reader-page .actual-audio-dock{padding:4px 12px 12px!important}
body.book-reader-page .reader-tool-help{display:none!important}
@media(max-width:680px){body.book-reader-page .book-stage{padding:0 8px!important}}

/* The audio service is an automatic book presentation. */
body.book-reader-page .book-stage__arrow,body.book-reader-page .actual-audio-dock,body.book-reader-page .book-inline-tools,body.book-reader-page #book-lecture-controls{display:none!important}
body.book-reader-page .book-stage{height:100vh!important;max-height:100vh!important;padding:0!important}

body.book-reader-page .book-stage{display:block!important;grid-template-columns:none!important;width:100%!important;box-sizing:border-box!important}body.book-reader-page .book-pages{width:100%!important;max-width:1320px!important}html,body.book-reader-page{overflow-x:hidden!important}

body.book-reader-page .book-stage,body.book-reader-page .book-pages,body.book-reader-page .book-page,body.book-reader-page .book-spread{background:#fff!important;border:0!important;outline:0!important;box-shadow:none!important}body.book-reader-page .book-spread::before,body.book-reader-page .book-spread::after,body.book-reader-page .book-page::before,body.book-reader-page .book-page::after{display:none!important}

/* A compact paper spread, with only a subtle binding and page turn. */
body.book-reader-page .book-stage{padding:10px 12px 16px!important}
body.book-reader-page .book-spread{position:relative;border:1px solid #dce0e5!important;border-radius:3px!important;box-shadow:0 3px 0 #eef0f3,0 5px 0 #dfe3e8,0 9px 15px #20324912!important;overflow:hidden}
body.book-reader-page .book-spread::after{content:"";display:block!important;position:absolute;left:50%;top:0;bottom:0;width:12px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#26364b13,transparent);pointer-events:none}
body.book-reader-page .book-page--spread.is-active{animation:sample-paper-turn .65s ease both;transform-origin:left center}
@keyframes sample-paper-turn{from{opacity:.5;transform:perspective(1800px) rotateY(-9deg)}to{opacity:1;transform:perspective(1800px) rotateY(0)}}
@media(prefers-reduced-motion:reduce){body.book-reader-page .book-page--spread.is-active{animation:none}}

html{background:#fff!important}body.book-reader-page .book-page--spread.is-active{animation:none!important}
.sample-turn-leaf{position:fixed;z-index:500;pointer-events:none;transform-origin:left center;transform-style:preserve-3d;animation:sample-real-turn 1.05s cubic-bezier(.25,.1,.25,1) both}
.sample-turn-front,.sample-turn-back{position:absolute!important;inset:0;width:100%!important;height:100%!important;box-sizing:border-box;background:#fff!important;backface-visibility:hidden;border:1px solid #e1e4e8;overflow:hidden}
.sample-turn-front{box-shadow:8px 0 20px #18283c20}.sample-turn-back{transform:rotateY(180deg);background:linear-gradient(90deg,#f0f1f3,#fff 18%)!important}
@keyframes sample-real-turn{0%{transform:perspective(1500px) rotateY(0);opacity:1}85%{opacity:1}100%{transform:perspective(1500px) rotateY(-180deg);opacity:0}}

/* Remove all inherited reader shading; retain only the paper outline. */
html,body.book-reader-page,body.book-reader-page *,body.book-reader-page *::before,body.book-reader-page *::after{box-shadow:none!important;filter:none!important;background-image:none!important}body.book-reader-page .book-spread::after{background:transparent!important;border-left:1px solid #edf0f2;width:1px!important}body.book-reader-page .sample-turn-back{background:#fff!important}

body.book-reader-page .actual-audio-dock{display:block!important;max-width:820px;padding:6px 12px!important}
body.book-reader-page .actual-audio-dock .book-inline-tools{display:flex!important;flex-wrap:wrap!important;min-height:44px!important;border:0!important;padding:4px!important;gap:8px!important}
body.book-reader-page .actual-audio-dock .book-inline-tools button:is([data-book-action="whole-book-audio"],[data-book-action="whole-book-korean-audio"],[data-book-action="sentence-audio"],[data-book-action="translation"],[data-book-action="word-cover"],.book-lecture-trigger){display:inline-flex!important}
body.book-reader-page .actual-audio-dock #book-lecture-controls:not([hidden]){display:block!important;max-height:120px!important}
body.book-reader-page .book-stage{height:calc(100vh - 100px)!important;max-height:calc(100vh - 100px)!important}
body.book-reader-page .book-audio-dock:not([hidden]){display:flex!important;z-index:1100!important}

body.book-reader-page .actual-audio-dock #book-lecture-controls{padding:5px 10px!important;margin:4px auto!important}body.book-reader-page .actual-audio-dock .book-inline-tools{margin:4px auto!important}

.sample-turn-leaf{display:none!important}body.book-reader-page .book-page--spread.is-active{animation:none!important;transform:none!important}

/* Lecture and audiobook keep the same book size; controls overlay the dock. */
body.book-reader-page .actual-audio-dock{position:relative!important}body.book-reader-page .actual-audio-dock #book-lecture-controls:not([hidden]){position:absolute!important;bottom:52px!important;left:50%!important;transform:translateX(-50%)!important;width:min(570px,95%)!important;z-index:1100!important}

/* Lecture sample: retain only its own playback control. */
body.book-reader-page.audio-mode-lecture .actual-audio-dock .book-inline-tools button:not(.book-lecture-trigger),body.book-reader-page.audio-mode-lecture .book-audio-dock,body.book-reader-page.audio-mode-lecture .book-audio-speed-menu{display:none!important}
body.book-reader-page.audio-mode-lecture .actual-audio-dock .book-inline-tools .book-lecture-trigger{display:inline-flex!important;border-radius:12px!important;min-height:44px;padding:10px 24px!important;font-weight:700!important}

/* 20261102: readable lecture notes and left-aligned control. */
body.book-reader-page.audio-mode-lecture .book-lecture-grammar [data-explanation]{font-size:16px!important;line-height:1.8!important}
body.book-reader-page.audio-mode-lecture .book-lecture-grammar [data-grammar]{font-size:17px!important;line-height:1.65!important}
body.book-reader-page.audio-mode-lecture .book-lecture-grammar small{font-size:13px!important}
body.book-reader-page.audio-mode-lecture .actual-audio-dock{width:100%!important;max-width:1320px!important;margin:0 auto!important;box-sizing:border-box!important;text-align:left!important}
body.book-reader-page.audio-mode-lecture .actual-audio-dock .book-inline-tools{margin:4px 0!important;justify-content:flex-start!important;width:100%!important}
body.book-reader-page.audio-mode-lecture .actual-audio-dock .reader-tool-group{justify-content:flex-start!important;margin-left:0!important}

body.book-reader-page.audio-mode-book .sample-speed-options{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:2px auto 6px}
body.book-reader-page.audio-mode-book .sample-speed-options button{min-height:38px;padding:7px 12px;border:1px solid #b9d2e3;border-radius:9px;background:#fff;color:#25557d;font:700 13px/1.2 system-ui,sans-serif;cursor:pointer}
body.book-reader-page.audio-mode-book .sample-speed-options button[aria-pressed="true"]{background:#176bb5;color:#fff;border-color:#176bb5}
body.book-reader-page.audio-mode-book .sample-speed-options button:focus-visible{outline:3px solid #8fc3e8;outline-offset:2px}
body.book-reader-page.audio-mode-book .actual-audio-dock .book-inline-tools{justify-content:center!important}
body.book-reader-page.audio-mode-book .actual-audio-dock .reader-tool-group{justify-content:center!important;flex-wrap:wrap!important}
@media(max-width:680px){
 body.book-reader-page.audio-mode-book .book-stage{height:auto!important;max-height:none!important;min-height:0!important}
 body.book-reader-page.audio-mode-book .book-pages{height:auto!important;min-height:0!important}
}
