.book-page .book-opening {display:grid;grid-template-columns:minmax(190px,.66fr) minmax(0,1fr);gap:clamp(24px,6vw,90px);align-items:center;padding-block:clamp(25px,6vw,76px)}
.book-jacket {min-height:365px;display:grid;place-items:center;padding:32px;background:#e1e9e4;border-radius:8px}
.book-jacket.history {background:#eae1d5}.book-jacket.cell {background:#dce5ee}
.book-jacket img {width:min(68%,260px);box-shadow:0 8px 18px #1b251f40}
.book-about h1 {line-height:1.35;font-size:clamp(32px,4vw,58px);margin:8px 0}
.book-about p {margin:.6rem 0}.book-about>p:first-child {color:#854738}
.edition {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.4rem .8rem;margin-block:18px}
.edition div {border-block-start:1px solid #d6d0c7;padding:.4rem 0}.edition dt {font-size:.88rem;color:#6a615b}.edition dd {margin:0}
.book-price {font-weight:bold}.book-actions,.book-toolbar,.topic-buttons,.book-paging {display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.book-page main>section:not(.book-opening){border-block-start:1px solid #d8d2c9;padding-block:clamp(24px,4vw,55px)}
.book-page #citation {overflow-wrap:anywhere}.book-actions a,.book-toolbar a,.chapter-roll a {text-decoration:underline;text-underline-offset:4px}
.book-toolbar select {width:auto;max-width:100%;margin:0}.page-window {max-height:min(73vh,860px);overflow:auto;max-width:100%;width:min(100%,760px);background:white;margin:16px auto;border:1px solid #d4cec2;overscroll-behavior-x:contain;direction:ltr}
.page-window img {width:100%;display:block;height:auto}.page-window.zoomed img {width:max(180%,1000px);max-width:none}
.book-paging {justify-content:center}.book-paging span {text-align:center;font-size:15px}
.book-page summary {cursor:pointer}.reader-excerpt {padding:16px 0}.reader-excerpt blockquote {border-inline-start:3px solid #975e50;margin:12px 0;padding-inline-start:17px;max-width:72ch}
.topic-buttons {margin:12px 0}.topic-buttons button {border-radius:24px}#chapter-search {max-width:640px}
.chapter-roll {max-height:380px;overflow:auto;scrollbar-gutter:stable}.chapter-roll ul {list-style:none;padding:0;margin:0}.chapter-roll li {display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ddd4c9;padding:8px 0}.chapter-roll li[hidden] {display:none}.book-page [role=status]:empty {margin:0}
@media(max-width:720px){.book-page .book-opening{grid-template-columns:minmax(0,1fr)}.book-jacket{min-height:205px;padding:18px}.book-jacket img{height:185px;width:auto}.book-page header{height:auto}.book-toolbar label {width:100%}.book-page .book-toolbar select{flex-grow:1}}
.page-window:not(.zoomed){height:auto;max-height:none;overflow:visible;width:fit-content;max-width:100%;border:0;background:transparent}
.page-window:not(.zoomed) img{display:block;width:auto;height:auto;max-width:100%;max-height:min(76vh,1000px);max-height:min(76svh,1000px);object-fit:contain;margin:auto}
.page-window.zoomed{height:min(76vh,860px);width:min(100%,900px);overflow:auto}
