.merged-series-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.merged-series-nav a{display:block;padding:15px;border:1px solid #b7a17b;background:#f5efdf;color:#542b2b;text-decoration:none;font-size:1rem;font-weight:700;line-height:1.65}.merged-series-nav a[aria-current=page]{background:#503a32;color:#fff6e6}.merged-series-nav span{display:block;font-size:.875rem;font-weight:400;margin-top:5px}.merged-chapter-toc{padding:20px 24px;background:#eee9df;border:1px solid #d2c6b1;margin:26px 0 38px}.merged-chapter-toc h2{font-size:1.15rem;margin:0 0 10px}.merged-chapter-toc ol{margin:0;padding-left:22px}.merged-chapter-toc li{margin:9px 0;font-size:1rem}.merged-chapter{margin:40px 0 0;padding-top:12px;scroll-margin-top:24px}.merged-chapter>h2{padding:16px 18px;background:#523b34;color:#fff8e9;font-size:1.4rem;line-height:1.6}.merged-chapter article h3{font-size:1.25rem;line-height:1.7;margin:30px 0 16px}.merged-chapter article h4{font-size:1.1rem;line-height:1.7;margin:26px 0 14px}.merged-chapter article p{margin:1em 0;line-height:1.95}.merged-chapter figure{margin:24px auto;max-width:100%}.merged-chapter figure img{max-width:100%;height:auto;display:block;margin:auto}.merged-chapter figcaption{font-size:.9375rem;line-height:1.8}.merged-corrections{padding:18px;border:1px solid #d2c6b1;margin:35px 0;font-size:.9375rem;line-height:1.9}.merged-corrections summary{cursor:pointer;font-weight:700}.merged-return{font-size:1rem;line-height:1.8}@media(max-width:620px){.merged-series-nav{grid-template-columns:1fr}.merged-series-nav a{padding:12px 16px}.merged-series-nav span{margin-top:2px}.merged-chapter-toc{padding:18px}.merged-chapter>h2{font-size:1.2rem;padding:14px}.merged-chapter figure{margin-left:0;margin-right:0}}

main .merged-series-portrait{width:100%;max-width:620px;margin:28px auto 34px;padding:8px;border:1px solid #c7b58f;background:#fffdf7;box-sizing:border-box}main .merged-series-portrait img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain} .merged-chapter figure{width:fit-content;max-width:100%;padding:6px;box-sizing:border-box}.merged-chapter figure img{max-height:none;object-fit:contain}@media(max-width:620px){main .merged-series-portrait{padding:5px;margin:22px auto 28px}.merged-chapter figure{margin-left:auto;margin-right:auto}}
