/* Full-viewport native ALX Digital Books stage for original printed pages */
.immersive-book-page{margin:0;background:#fff;min-height:100svh;overflow-x:hidden}
.immersive-book-page .edition-header{z-index:170}
.immersive-shell{display:flex;flex-direction:column;min-height:calc(100svh - 77px);background:#fff}
.immersive-subbar{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(20px,4vw,60px);border-bottom:1px solid #eee7ec;background:#fff}
.immersive-subbar h1{font:400 24px/1.17 Georgia,serif;margin:4px 0 0;letter-spacing:-.025em}
.immersive-subbar nav{display:flex;gap:22px}.immersive-subbar nav a{font-size:12px;font-weight:700;text-decoration:none;color:#94054b;border-bottom:1px solid #dd9bb9;padding-bottom:3px}
.immersive-book-mount{flex:1;min-height:0;background:#271f28}
.immersive-book-mount .adb{height:calc(100svh - 77px - 85px);min-height:520px;border-radius:0;margin:0;display:flex;flex-direction:column;max-width:none;border:0;box-shadow:none}
.immersive-book-mount .adb-top{display:none}.immersive-book-mount .adb-toolbar{flex:0 0 auto;min-height:54px;padding:8px clamp(20px,4vw,58px);justify-content:center;border-bottom:1px solid #fff1}
.immersive-book-mount .adb-stage{flex:1;min-height:355px;height:auto;background:radial-gradient(ellipse 75% 73% at 50% 49%,#514652 0%,#342a36 62%,#261e29 100%);display:grid;place-items:center;perspective:1600px}
.immersive-book-mount .adb-bottom{flex:0 0 auto;max-width:none;width:min(860px,100%);padding:9px 22px 13px;min-height:62px}
.immersive-book-mount .adb-progress{max-width:700px}
.immersive-book-mount .adb-reading{width:min(970px,100%);max-width:970px;flex:1;max-height:none;min-height:0;overflow-y:auto}
.immersive-book-mount .adb-reading-note{font-size:12px}
.immersive-book-mount .adb-mobile-help{display:none}
.immersive-book-mount .adb:not(.adb-reading-mode) .adb-stage{overflow:hidden}
/* native fullscreen keeps the book and toolbar together: no crop, no miniature iframe. */
.immersive-book-mount .adb:fullscreen,.immersive-book-mount .adb.adb-immersive{position:fixed!important;inset:0!important;width:100vw!important;height:100svh!important;min-height:0!important;max-height:100svh!important;z-index:99999!important;background:#281f2a;border-radius:0!important;margin:0!important;display:flex!important;flex-direction:column!important}
.immersive-book-mount .adb:fullscreen .adb-stage,.immersive-book-mount .adb.adb-immersive .adb-stage{flex:1!important;min-height:0!important;height:auto!important;max-height:none!important}
.immersive-book-mount .adb:fullscreen .adb-toolbar,.immersive-book-mount .adb.adb-immersive .adb-toolbar{min-height:54px;flex-shrink:0;padding:8px clamp(17px,4vw,55px)}
.immersive-book-mount .adb:fullscreen .adb-bottom,.immersive-book-mount .adb.adb-immersive .adb-bottom{min-height:61px;flex-shrink:0}
.immersive-book-mount .adb:fullscreen .adb-reading,.immersive-book-mount .adb.adb-immersive .adb-reading{flex:1;max-height:none;min-height:0}
.immersive-book-mount .adb:fullscreen .adb-fullscreen-button,.immersive-book-mount .adb.adb-immersive .adb-fullscreen-button{background:#fff2;color:#fff}
.book-ui-lock{overflow:hidden!important}
@media(max-width:900px){.immersive-subbar{min-height:70px}.immersive-book-mount .adb{height:calc(100svh - 77px - 70px);min-height:550px}.immersive-book-mount .adb-stage{min-height:370px}.immersive-book-mount .adb-toolbar{min-height:50px}.immersive-book-mount .adb-tool{padding:9px!important;font-size:11px!important}}
@media(max-width:650px){.immersive-shell{min-height:calc(100svh - 69px)}.immersive-subbar{min-height:68px;padding:10px 20px}.immersive-subbar h1{font-size:21px}.immersive-subbar nav{gap:12px}.immersive-subbar nav a{font-size:10px}.immersive-subbar nav a:last-child{display:none}.immersive-book-mount .adb{height:calc(100svh - 69px - 68px);min-height:520px}.immersive-book-mount .adb-toolbar{display:flex;flex-wrap:wrap;justify-content:center;gap:0;padding:5px 8px}.immersive-book-mount .adb-tool{font-size:10px!important;padding:9px 7px!important}.immersive-book-mount .adb-toolbar-spacer{flex:0 0 1px}.immersive-book-mount .adb-stage{min-height:320px}.immersive-book-mount .adb-stage-caption{display:none}.immersive-book-mount .adb-bottom{padding:10px 14px 12px}.immersive-book-mount .adb-prev,.immersive-book-mount .adb-next{width:43px;height:43px}}
