/* Uses the existing Jost/Inter kit; no new motion or cropped media. */
.ref30-chapters{margin:0;padding:24px var(--g,32px) 28px;background:#0B0C10;color:#F7F5F1;border-top:1px solid #ffffff2e;border-bottom:1px solid #ffffff2e}
.ref30-k{font:600 12px/1.5 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#ffffffb8}
.ref30-chapters ol{display:flex;flex-wrap:wrap;gap:8px 32px;list-style:none;margin:14px 0 0;padding:0}
.ref30-chapters li{list-style:none;margin:0;padding:0}
.ref30-chapters li::before{content:none!important}
html:not(#_t) body .ref30-chapters a{display:flex;align-items:center;gap:10px;min-height:44px;color:#F7F5F1;text-decoration:none;font:500 18px/1.3 Jost,system-ui,sans-serif!important}
.ref30-chapters a span{color:#00C8D7;font:500 12px/1.3 Inter,system-ui,sans-serif}
.ref30-chapters a:hover{text-decoration:underline!important;text-underline-offset:6px}
.ref30-target{scroll-margin-top:90px}.ref30-target:focus{outline:none}
.ref30-more{margin:0;padding:0;background:#0B0C10;color:#F7F5F1}
html:not(#_t) body .ref30-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;margin:0 var(--g,32px);padding:18px 0;border-top:1px solid #ffffff2e;font:500 clamp(18px,1.5vw,24px)/1.4 Jost,system-ui,sans-serif!important;color:#F7F5F1}
.ref30-more>summary::after{content:'+';color:#00C8D7;font-size:28px}.ref30-more[open]>summary::after{content:'−'}
.ref30-more>summary::-webkit-details-marker{display:none}.ref30-content{padding-bottom:32px}
html:not(#_t) body .ref30-return{display:flex;align-items:center;min-height:56px;max-width:max-content;margin:0 var(--g,32px) 20px;color:#F7F5F1;font:500 18px/1.4 Jost,system-ui,sans-serif!important;text-decoration:underline;text-underline-offset:5px}
.ref30-chapters a:focus-visible,.ref30-more>summary:focus-visible,.ref30-return:focus-visible{outline:2px solid #00C8D7;outline-offset:4px}
@media(max-width:760px){.ref30-chapters{padding:20px 20px}.ref30-chapters ol{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.ref30-chapters a{min-height:48px!important}.ref30-more>summary{margin-left:20px!important;margin-right:20px!important}}
/* The chapter menu replaces the floating duplicate; it must not cover the story. */
body:has(.ref30-chapters)>.where{display:none!important}
