/* Surgical review corrections. Chapter artwork and effects use their approved rules. */
body.single-griot_chapter.postid-11 .chapter-signal .story-label{color:#773a26;opacity:1}
body.single-griot_chapter.postid-12 .chapter-spread__overline{color:#634532;opacity:1}
body.single-griot_chapter.postid-12 .chapter-ledger .story-label{color:#69331f;opacity:1}
.chapter-quick-turn{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;padding:.6rem clamp(1rem,3vw,3rem);background:var(--paper);color:var(--ink);font:600 .85rem/1.4 var(--sans);position:relative;z-index:20;border-bottom:1px solid currentColor}
.chapter-quick-turn>span:last-child{text-align:right}
.chapter-quick-turn a{color:inherit;display:inline-block;padding:.6rem .3rem;text-underline-offset:.25em}
.chapter-quick-turn small{display:block;font-size:.7rem;letter-spacing:.07em;text-transform:uppercase}
.chapter-quick-turn>span:first-child small::before{content:"← ";font-size:1rem}
.chapter-quick-turn>span:last-child small::after{content:" →";font-size:1rem}
.chapter-chooser{position:relative}
.chapter-chooser summary{cursor:pointer;padding:.85rem .7rem;border:1px solid currentColor}
.chapter-chooser ol{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin:0;padding:1rem 1rem 1rem 2.5rem;width:min(80vw,28rem);max-height:65vh;overflow:auto;background:#f4e8ce;color:#244035;box-shadow:0 8px 24px #0003}
.chapter-chooser li[aria-current]{font-weight:900;text-decoration:underline}
.chapter-quick-turn a:focus-visible,.chapter-chooser summary:focus-visible{outline:3px solid #a64029;outline-offset:3px}
@media(max-width:560px){.chapter-quick-turn{font-size:.75rem;gap:.5rem;padding:.5rem}.chapter-chooser summary{padding:.7rem .4rem}.chapter-quick-turn small{font-size:.65rem}}

/* A visible, labelled control stays reachable at every scroll position. */
.chapter-float{position:fixed;z-index:1000;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));display:flex;align-items:stretch;gap:0;background:#203e36;color:#fff4df;border:2px solid #fff4df;border-radius:.7rem;box-shadow:0 4px 20px #0005;font:700 14px/1.4 var(--sans);isolation:isolate}
.chapter-float>a,.chapter-float summary,.chapter-float__end{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.65rem .9rem;color:#fff4df;background:#203e36;text-decoration:none;box-sizing:border-box}
.chapter-float>a:hover,.chapter-float summary:hover{background:#315b4c}
.chapter-float summary{cursor:pointer;list-style:none;border-inline:1px solid #fff4df66}
.chapter-float summary::-webkit-details-marker{display:none}
.chapter-float__menu{position:relative}
.chapter-float__position{font-size:12px}
.chapter-float__list{position:absolute;right:0;bottom:calc(100% + .7rem);width:min(86vw,340px);max-height:min(65vh,520px);overflow:auto;overscroll-behavior:contain;background:#f4e8ce;color:#203e36;border:2px solid #203e36;border-radius:.5rem;box-shadow:0 5px 24px #0004;padding:.5rem 1rem}
.chapter-float__list p{margin:.6rem 0;font-size:16px}
.chapter-float__list ol{margin:0;padding-left:1.65rem}
.chapter-float__list a{display:block;min-height:44px;padding:.65rem .3rem;color:#203e36;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.chapter-float__list li[aria-current]{font-weight:900;background:#dfcfaa}
.chapter-float__end{opacity:.8;font-size:12px}
.chapter-float a:focus-visible,.chapter-float summary:focus-visible{outline:3px solid #efb84d;outline-offset:-4px}
body.single-griot_chapter #griot-main{padding-bottom:5.5rem}
@media(max-width:560px){.chapter-float{left:.5rem;right:.5rem;bottom:max(.5rem,env(safe-area-inset-bottom));font-size:13px;justify-content:space-between}.chapter-float>a,.chapter-float summary{padding:.65rem .7rem}.chapter-float__list{right:50%;transform:translateX(50%);width:min(85vw,340px)}.chapter-float__position{display:none}}

body:has(#wpvibe-preview-banner) .chapter-float{bottom:76px}
/* Readable ink on the existing pale reading surfaces; artwork is untouched. */
body.single-griot_chapter .chapter-ledger__intro h2,
body.single-griot_chapter .chapter-ledger__intro p,
body.single-griot_chapter .chapter-ledger .story-label,
body.single-griot_chapter .griot-lyrics-drawer summary,
body.single-griot_chapter .griot-lyrics-drawer__body,
body.single-griot_chapter .griot-credits-drawer summary,
body.single-griot_chapter .griot-credits-drawer dt,
body.single-griot_chapter .griot-credits-drawer dd{color:#302b25!important;opacity:1;text-shadow:none}
body.single-griot_chapter:not(.postid-19) .griot-story-grid__heading .story-label,
body.single-griot_chapter:not(.postid-19) .griot-story-grid__count{color:#593421!important;opacity:1}
body.single-griot_chapter:is(.postid-11,.postid-12,.postid-13,.postid-14,.postid-15,.postid-16,.postid-18) .chapter-spread__overline{color:#533428!important;opacity:1}
body.single-griot_chapter.postid-13 .chapter-signal .story-label{color:#593421!important}
body.single-griot_chapter.postid-16 .chapter-signal__headline,
body.single-griot_chapter.postid-16 .chapter-signal__copy,
body.single-griot_chapter.postid-16 .chapter-signal__copy p,
body.single-griot_chapter.postid-16 .chapter-signal .story-label{color:#241c17!important;text-shadow:none}
body.single-griot_chapter.postid-16 .chapter-spread__title-line:nth-child(2){color:#84351f!important}
body.single-griot_chapter.postid-18 .chapter-spread__title-line:nth-child(2){color:#6c303b!important}
body.single-griot_chapter.postid-19 .chapter-signal .story-label{color:#493c2e!important}
body.single-griot_chapter.postid-19 .griot-story-panel__caption p{color:#242b24!important}
body.single-griot_chapter .chapter-turn .story-label{color:#fff9ef!important;opacity:1}
/* Single-image chapters are full illustrated plates, not thumbnail-led articles. */
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread{grid-template-columns:minmax(0,1fr);background:#eed0a3}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__words{min-height:0;padding:clamp(1.5rem,3.5vw,3rem) clamp(1.5rem,6vw,6rem);overflow:visible}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__topline{margin-bottom:1.5rem}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__composition{padding:0;max-width:1100px;margin:auto;width:100%}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__title{font-size:clamp(3.2rem,7vw,7rem);line-height:.95}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__title-line{display:inline;white-space:normal;width:auto;margin:0 .15em 0 0}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__subtitle{max-width:44ch}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__seal{display:block;margin-top:1rem}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__marks{display:none}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__image{display:flex;align-items:center;justify-content:center;isolation:isolate;box-sizing:border-box;width:100%;height:auto;min-height:0;aspect-ratio:auto;padding:clamp(2.5rem,6vw,6rem) clamp(1.5rem,5vw,5rem);overflow:hidden}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__art{position:relative;inset:auto;display:block;box-sizing:border-box;width:min(84vw,800px);height:auto;max-height:none;max-width:100%;aspect-ratio:auto;object-fit:contain;z-index:2}
/* WRONG PLANET: a large intercepted print, surrounded by the residue of its signal. */
body.single-griot_chapter.postid-14 .chapter--single-art .chapter-spread__image{background:radial-gradient(ellipse at 15% 10%,#446c6a,transparent 55%),radial-gradient(ellipse at 90% 85%,#1b5262,transparent 55%),#203b35}
body.single-griot_chapter.postid-14 .chapter--single-art .chapter-spread__art{border:clamp(7px,1vw,14px) solid #e8d6b6;box-shadow:14px 18px 0 #b45d3033,0 20px 48px #071f2266;transform:rotate(-1.7deg);filter:sepia(.04) contrast(1.02)}
body.single-griot_chapter.postid-14 .chapter--single-art .chapter-spread__image::before{content:"";display:block;position:absolute;inset:5% -12%;z-index:0;pointer-events:none;border:2px dashed #d8c29055;border-radius:48% 40% 46% 54%;transform:rotate(-18deg);background:repeating-radial-gradient(ellipse at 50% 50%,transparent 0 89px,#d4b78426 90px 91px,transparent 92px 165px)}
body.single-griot_chapter.postid-14 .chapter--single-art .chapter-spread__image.has-image::after{content:"04 / INCOMING SIGNAL";display:block;position:absolute;inset:auto 5% 1rem auto;width:auto;height:auto;max-width:none;min-height:0;background:none;clip-path:none;border:0;box-shadow:none;z-index:3;color:#f5e8cd;font:700 .8rem/1.5 var(--sans);letter-spacing:.15em;transform:rotate(-2deg);border-bottom:2px dashed #f5e8cd88;padding:.4rem 0;pointer-events:none}
/* COME CLOSER: a warm, deep stage for its one invitation. */
body.single-griot_chapter.postid-12 .chapter--single-art .chapter-spread__image{background:radial-gradient(ellipse at 50% 35%,#6c7951 0,#354f3e 48%,#1c332d 100%)}
body.single-griot_chapter.postid-12 .chapter--single-art .chapter-spread__art{border:clamp(6px,.8vw,11px) solid #e8d1aa;box-shadow:0 24px 60px #061c2566;transform:rotate(.8deg)}
@media(max-width:720px){
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__words{padding:1.6rem 1.25rem 2rem}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__title{font-size:clamp(2.8rem,10vw,4.5rem)}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__image{padding:2rem 1.1rem 3rem}
body.single-griot_chapter:is(.postid-12,.postid-14,.postid-16) .chapter--single-art .chapter-spread__art{width:100%}
}
