.chapter-engagement{margin:30px 0 18px}.chapter-action-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-block:1px solid var(--gold);background:var(--ivory)}.chapter-action-form{margin:0;min-width:0}.chapter-action{width:100%;min-width:0;min-height:52px;padding:6px 3px;border:0;border-right:1px solid color-mix(in srgb,var(--gold) 45%,transparent);border-radius:0;background:transparent;color:var(--deep-emerald);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;text-decoration:none;font:inherit;font-size:.72rem;line-height:1.15;cursor:pointer}.chapter-action-bar>*:last-child>.chapter-action,.chapter-action-bar>.chapter-action:last-child{border-right:0}.chapter-action:hover,.chapter-action:focus-visible,.chapter-action[aria-pressed="true"]{background:var(--cream);color:var(--emerald)}.chapter-action:disabled{opacity:.55;cursor:wait}.chapter-action-icon{font-size:1.15rem;line-height:1}.chapter-action strong{font-size:.72rem}.chapter-action-status{min-height:1.25em;margin:6px 0 0;text-align:center;font-size:.82rem;color:var(--emerald)}.chapter-action-status.error{color:#8b2929}.chapter-more{position:relative;min-width:0}.chapter-more-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:10;width:max-content;max-width:min(250px,90vw);padding:6px;border:1px solid var(--gold);border-radius:10px;background:var(--ivory);box-shadow:0 8px 24px rgba(5,99,74,.18)}.chapter-more-menu[hidden],.chapter-copy-fallback[hidden]{display:none}.chapter-more-menu a,.chapter-more-menu button{display:block;width:100%;min-height:44px;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:var(--deep-emerald);text-align:left;text-decoration:none;font:inherit;white-space:normal}.chapter-more-menu a:hover,.chapter-more-menu button:hover,.chapter-more-menu a:focus-visible,.chapter-more-menu button:focus-visible{background:var(--cream)}.chapter-copy-fallback{margin:8px auto;max-width:520px}.chapter-copy-fallback label{display:grid;gap:4px}.chapter-copy-fallback input{width:100%;min-width:0}.chapter-comments{scroll-margin-top:18px;margin:20px 0 26px;padding-top:8px}.chapter-comments-heading{display:flex;align-items:baseline;gap:8px;border-bottom:1px solid var(--gold)}.chapter-comments-heading h2{margin:0 0 8px}.chapter-comment-form,.chapter-comment details form{display:grid;gap:8px;margin:14px 0}.chapter-comment-form label,.chapter-comment details label{display:grid;gap:5px}.chapter-comment-form textarea,.chapter-comment details textarea{width:100%;min-height:90px;resize:vertical}.chapter-comment{padding:14px 0;border-bottom:1px solid color-mix(in srgb,var(--gold) 42%,transparent)}.chapter-comment header{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.chapter-comment time{font-size:.78rem;color:#5f665f}.chapter-comment p{overflow-wrap:anywhere}.chapter-comment details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--emerald)}.chapter-comment-pages{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.chapter-comment-pages a{min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:8px;text-decoration:none}.chapter-comment-pages a[aria-current="page"]{background:var(--emerald);color:var(--ivory)}
@media(max-width:700px){body:has(.reader-page)>header{position:static;height:auto;min-height:46px;padding:5px 4%;display:grid;gap:3px}body:has(.reader-page)>header .brand{display:block;max-width:100%;margin:0;white-space:nowrap;overflow:visible}body:has(.reader-page)>header .text-brand{display:block;font-size:1rem;line-height:1.2;white-space:nowrap}body:has(.reader-page)>header .brand-images{height:32px}body:has(.reader-page)>header .brand img{max-height:30px;width:auto;object-fit:contain}body:has(.reader-page)>header>nav{display:flex;max-width:100%;gap:6px;overflow-x:auto;padding:2px 0 5px;font-size:.72rem;scrollbar-width:thin}body:has(.reader-page)>header>nav>a{flex:0 0 auto;padding:4px 6px}body:has(.reader-page)>header .currency-selector,body:has(.reader-page)>header>nav>form{display:none}body:has(.reader-page)>main{padding-top:12px}.reader-page>.back{display:inline-block;margin-bottom:6px}.reader-page .reader-head{margin:12px 0 14px}.reader-page .reader-head h1{margin:.2em 0;font-size:clamp(1.7rem,9vw,2.3rem);overflow-wrap:anywhere}.reader-page .reader-preferences{margin-bottom:8px}.reader-page .chapter-content{margin-top:10px}.reader-page .reader-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:26px}.reader-page .reader-nav a{max-width:none;min-width:0;overflow-wrap:anywhere}.reader-page .reader-nav a:last-child{grid-column:1/-1;justify-content:center}}
