.mobile-book-sheets{display:none}
@media(max-width:1000px),(pointer:coarse) and (max-width:1180px){
 #book.book-open,#book:fullscreen{padding:5px max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 #book.book-open .book-layout,#book:fullscreen .book-layout{gap:5px;align-items:stretch}
 #book.book-open .book-layout>div,#book:fullscreen .book-layout>div{width:100%}
 #book.book-open .book-spread,#book:fullscreen .book-spread{display:block;grid-template-rows:none;position:relative}
 .mobile-reflow>#page-left,.mobile-reflow>#page-right,.mobile-reflow>.book-folio{display:none!important}
 .mobile-reflow:after{display:none}
 .mobile-reflow>.mobile-book-sheets{display:grid;grid-template-columns:1fr;height:100%;width:100%;overflow:hidden;border-radius:5px}
 .mobile-book-leaf{position:relative;height:100%;min-width:0;min-height:0;padding:16px 22px 34px;background:linear-gradient(100deg,#fffaf0,#fcf5e5);overflow:hidden;box-sizing:border-box}
 .mobile-leaf-content{height:100%;overflow:hidden;font:15px/1.75 'Noto Sans KR',system-ui,sans-serif;color:#3f4033;word-break:keep-all;overflow-wrap:anywhere}
 .mobile-leaf-content>*{max-width:100%;box-sizing:border-box}
 .mobile-leaf-content .chapter-art{height:auto;aspect-ratio:3/1;margin:0 0 10px;width:100%}
 .mobile-leaf-content .chapter-art img{display:block;width:100%;height:100%;object-fit:cover}
 .mobile-leaf-content .chapter-art figcaption{font-size:9px;bottom:5px;left:5px;padding:2px 5px}
 .mobile-leaf-content h2{font-size:23px;line-height:1.4;margin:5px 0 12px}
 .mobile-leaf-content h3{font-size:21px;line-height:1.4;margin:5px 0 12px}
 .mobile-leaf-content>small{display:block;font-size:10px;color:#8c7958}
 .mobile-leaf-content .mobile-prose{font:inherit;line-height:inherit;margin:0 0 12px;text-align:left}
 .mobile-leaf-content .chapter-invitation{font-size:13px;line-height:1.65;margin:0 0 10px}
 .mobile-leaf-content .chapter-place{padding:7px 0;margin-bottom:10px}
 .mobile-leaf-content .edition-person{display:flex;gap:10px;padding:9px 0;margin:0;border-bottom:1px solid #ded0b6;break-inside:avoid}
 .mobile-leaf-content .edition-person>img{float:none;width:72px;height:94px;margin:0;object-fit:cover;flex:none}
 .mobile-leaf-content .edition-person-head{display:flex;flex-wrap:wrap;gap:3px 8px}
 .mobile-leaf-content .edition-person-head strong{font-size:19px}
 .mobile-leaf-content .edition-person-head button{font-size:12px;min-height:30px}
 .mobile-leaf-content .person-topic{font-size:13px;line-height:1.55;margin:5px 0}
 .mobile-leaf-content .edition-person-copy small,.mobile-leaf-content blockquote{font-size:11px;line-height:1.55;margin:4px 0}
 .mobile-leaf-content .edition-play{display:block;font-size:14px;line-height:1.5;padding:9px 2px;min-height:40px}
 .mobile-leaf-content .chapter-outcome,.mobile-leaf-content .chapter-boundary{margin:8px 0;padding:7px 9px;overflow:visible;height:auto;min-height:0;max-height:none;background:#eae1ce;border:1px solid #c8b78f;border-radius:4px}
 .mobile-leaf-content .chapter-outcome p,.mobile-leaf-content .chapter-boundary p{font-size:11px;line-height:1.55;margin:3px 0}
 .mobile-leaf-content .chapter-credit{position:static;padding:4px 0;text-align:right;font-size:9px!important}
 .mobile-folio{position:absolute;bottom:6px;left:0;right:0;text-align:center;font:11px/1.5 system-ui;color:#786342}
 .mobile-end{margin:30px 0;color:#8c7958;font-size:12px;text-align:center}
 .book-spread>.paging button{width:30px;height:48px;font-size:22px}
 .book-spread>.paging #prev-page{left:-14px}.book-spread>.paging #next-page{right:-14px}
 .book-reader .book-toolbar{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:30px 34px;height:68px;min-height:68px;gap:4px}
 .book-running-title{grid-column:1/-1;grid-row:1;gap:7px}.book-running-title small{font-size:12px}.book-running-title strong{font-size:23px}
 .book-toolbar label{grid-row:2;grid-column:1;font-size:10px;gap:4px}.book-toolbar #close-book{grid-row:2;grid-column:2}.book-toolbar #book-fullscreen{grid-row:2;grid-column:3}
 .book-toolbar #book-index,.book-toolbar #close-book,.book-toolbar #book-fullscreen{height:32px;min-height:32px;max-height:32px;font-size:10px;padding:0 5px;margin:0}.book-toolbar #book-index{width:100%;min-width:0}
}
@media(max-width:1180px) and (orientation:landscape){
 .mobile-reflow>.mobile-book-sheets{grid-template-columns:1fr 1fr}
 .mobile-reflow:after{display:block;z-index:2;width:18px;left:calc(50% - 9px)}
 .mobile-book-leaf{padding:9px 18px 24px}.mobile-book-leaf:first-child{border-right:1px solid #d1c2a2}
 .mobile-leaf-content{font-size:11px;line-height:1.65}
 .mobile-leaf-content .chapter-art{height:75px;aspect-ratio:auto;margin-bottom:5px}
 .mobile-leaf-content h2{font-size:17px;margin:4px 0 6px}.mobile-leaf-content h3{font-size:16px;margin:4px 0 6px}
 .mobile-leaf-content .mobile-prose{margin-bottom:7px}.mobile-leaf-content .chapter-invitation{font-size:11px;margin-bottom:5px}
 .mobile-leaf-content .chapter-place{padding:4px 0;margin-bottom:5px;font-size:10px}.mobile-leaf-content .chapter-place strong{font-size:11px}
 .mobile-leaf-content .edition-person{padding:5px 0;gap:8px}.mobile-leaf-content .edition-person>img{width:48px;height:64px}
 .mobile-leaf-content .edition-person-head strong{font-size:15px}.mobile-leaf-content .edition-person-head button{font-size:10px;min-height:24px}
 .mobile-leaf-content .person-topic{font-size:10px;line-height:1.45;margin:3px 0}.mobile-leaf-content .edition-person-copy small,.mobile-leaf-content blockquote{font-size:9px;line-height:1.45;margin:2px 0}
 .mobile-leaf-content .edition-play{font-size:11px;min-height:28px;padding:4px 2px}
 .mobile-leaf-content .chapter-outcome p,.mobile-leaf-content .chapter-boundary p{font-size:9px;line-height:1.45}.mobile-folio{font-size:9px;bottom:4px}
 .book-reader .book-toolbar{grid-template-columns:minmax(130px,190px) 1fr auto auto;grid-template-rows:30px;height:30px;min-height:30px;gap:6px}
 .book-toolbar label{grid-row:1;grid-column:1}.book-running-title{grid-row:1;grid-column:2;gap:5px}.book-running-title small{font-size:10px}.book-running-title strong{font-size:19px}
 .book-toolbar #close-book{grid-row:1;grid-column:3}.book-toolbar #book-fullscreen{grid-row:1;grid-column:4}
 .book-toolbar #book-index,.book-toolbar #close-book,.book-toolbar #book-fullscreen{height:28px;min-height:28px;max-height:28px;font-size:10px}
}
