/* GODBODY: instrument precision, mineral tissue, and the human space between.
   A presentation layer over World 07 r5. Artwork, prose and listening controls keep their own space. */
body[data-world="godbody"] { --gb-rule:color-mix(in srgb,var(--voice) 28%,transparent); --gb-mineral:color-mix(in srgb,var(--accent-text) 45%,var(--voice)); }
body[data-world="godbody"] .r-cover,body[data-world="godbody"] .w-hero {
 background-image:radial-gradient(ellipse at 10% 12%,color-mix(in srgb,var(--voice) 7%,transparent),transparent 48%),radial-gradient(ellipse at 90% 84%,color-mix(in srgb,var(--accent-text) 6%,transparent),transparent 44%);
 border-bottom:1px solid var(--gb-rule); position:relative; isolation:isolate;
}
body[data-world="godbody"] .r-cover::before,body[data-world="godbody"] .w-hero::before {
 content:"";position:absolute;inset:18px max(18px,calc((100% - 1360px)/2));pointer-events:none;z-index:-1;
 background:linear-gradient(var(--gb-rule),var(--gb-rule)) left top/36px 1px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) left top/1px 36px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) right top/36px 1px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) right top/1px 36px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) left bottom/36px 1px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) left bottom/1px 36px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) right bottom/36px 1px no-repeat,linear-gradient(var(--gb-rule),var(--gb-rule)) right bottom/1px 36px no-repeat;
}
.gb-signature { display:flex;align-items:center;gap:16px;color:var(--voice);font:600 11px/1.4 var(--f-ui,system-ui);letter-spacing:.18em;text-transform:uppercase;min-width:0;margin:0 0 32px; }
.gb-signature::after {content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--gb-rule),transparent);}
.gb-signature svg {width:52px;height:52px;flex:none;stroke:currentColor;fill:none;stroke-width:1;}
.gb-signature span {display:block;}
.gb-signature small {display:block;font-size:10px;letter-spacing:.11em;color:var(--mute);margin-top:5px;}
html body[data-world="godbody"] .r-head h1.ch {font-family:var(--f-title);font-style:normal;font-weight:800;text-transform:uppercase;font-size:clamp(56px,5.6vw,92px);line-height:.96;letter-spacing:.015em;margin:16px 0 20px;text-wrap:balance;}
html body[data-world="godbody"] .r-head .ep-no {gap:16px;justify-content:space-between;border-bottom:1px solid var(--gb-rule);padding-bottom:12px;}
body[data-world="godbody"] .r-head .ep-logline {font-family:var(--f-read,Literata,Georgia,serif);font-size:clamp(18px,1.5vw,22px);line-height:1.6;max-width:36em;margin:22px 0;}
body[data-world="godbody"] .r-call {border-color:var(--gb-rule);padding-top:22px;}
body[data-world="godbody"] .r-call .label {letter-spacing:.12em;text-transform:uppercase;font-size:10px;}
body[data-world="godbody"] .r-head .cnote {border-left-width:2px;background:color-mix(in srgb,var(--surface) 70%,transparent);}
body[data-world="godbody"] .r-print {position:relative;isolation:isolate;}
body[data-world="godbody"] .r-print::before {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,color-mix(in srgb,var(--voice) 8%,transparent),transparent 64%);}
body[data-world="godbody"] .ep-cover {box-shadow:0 20px 64px #0002;outline:1px solid color-mix(in srgb,var(--voice) 16%,transparent);outline-offset:7px;}
/* The original text is never translated, scaled or shaken by a story effect. */
html body[data-world="godbody"] article.reader.chapter .ch-text {transform:none !important;transition:none;}
body[data-world="godbody"] .ch-text {position:relative;}
body[data-world="godbody"] .ch-text hr.break {height:30px;border:0;background:linear-gradient(var(--gb-rule),var(--gb-rule)) center/96px 1px no-repeat;position:relative;margin:46px auto;overflow:visible;}
body[data-world="godbody"] .ch-text hr.break::after {content:"";display:block;position:absolute;left:calc(50% - 5px);top:10px;width:10px;height:10px;border:1px solid var(--voice);border-radius:50%;background:var(--ground);box-shadow:0 0 0 7px var(--ground);}
.gb-reading-entry {max-width:700px;margin:42px auto 8px;padding:0 0 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--gb-rule);color:var(--mute);font:500 11px/1.5 var(--f-ui,system-ui);letter-spacing:.14em;text-transform:uppercase;}
.gb-reading-entry b {color:var(--voice);font-weight:600;}
.gb-chapter-track {display:flex;gap:3px;align-items:center;flex:1;max-width:240px;height:16px;}
.gb-chapter-track i {display:block;height:5px;flex:1;min-width:1px;background:var(--gb-rule);}
.gb-chapter-track i.current {height:15px;background:var(--voice);}
.gb-moment-controls {flex-wrap:wrap;gap:10px 14px;padding-block:4px;}
html body[data-world="godbody"] .gb-moment-controls button {min-height:44px;border-radius:8px;padding:10px 15px;font-size:12px;line-height:1.35;border:1px solid var(--control-line);color:var(--text);background:var(--control-fill);}
html body[data-world="godbody"] .gb-moment-controls button:hover {border-color:var(--voice);background:color-mix(in srgb,var(--voice) 8%,transparent);}
html body[data-world="godbody"] .gb-moment-controls button:focus-visible {outline:3px solid var(--focus);outline-offset:3px;}
.gb-moment-controls span {font-size:11px;letter-spacing:.06em;}
/* A balanced, quiet instrument panel. These are story quotations, never live medical readings. */
body[data-world="godbody"] .gb-chart {border-top:1px solid var(--gb-rule);}
body[data-world="godbody"] .gb-vitals {grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px;}
body[data-world="godbody"] .gb-vital {padding:22px 20px 18px;border:1px solid var(--gb-rule);border-radius:12px;background:linear-gradient(150deg,color-mix(in srgb,var(--voice) 5%,var(--surface)),var(--surface));display:flex;flex-direction:column;}
body[data-world="godbody"] .gb-vital .who {font-size:30px;margin-bottom:20px;}
body[data-world="godbody"] .gb-vital q {font-size:16px;line-height:1.6;}
body[data-world="godbody"] .gb-vital cite {margin-top:auto;padding-top:16px;}
body[data-world="godbody"] .gb-trace {height:32px;margin-top:22px;}
body[data-world="godbody"] .gb-record {max-width:none;padding:28px;border-color:var(--gb-rule);border-radius:12px;background-image:none;}
body[data-world="godbody"] .gb-record li {padding:14px 0;border-bottom:1px solid var(--gb-rule);}
body[data-world="godbody"] .gb-record-head {padding-bottom:16px;border-bottom:1px solid var(--gb-rule);}
body[data-world="godbody"] .gb-game {max-width:none;}
body[data-world="godbody"] .gb-game canvas {border-radius:12px;border-color:var(--gb-rule);}
body[data-world="godbody"] .gb-game-read {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 0;border-bottom:1px solid var(--gb-rule);}
body[data-world="godbody"] .gb-game-read span {text-align:center;}
body[data-world="godbody"] .gb-game-acts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:24px;}
body[data-world="godbody"] .gb-game-acts [data-log] {min-width:0;}
.gb-experiences {padding-top:48px;}
.gb-world-intro {max-width:760px;margin-bottom:36px;}
.gb-world-intro p {font-size:clamp(19px,2vw,25px);line-height:1.65;color:var(--text);text-wrap:pretty;}
.gb-world-paths {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:32px 0 48px;}
.gb-world-path {display:flex;flex-direction:column;align-items:flex-start;gap:12px;border:1px solid var(--gb-rule);border-radius:12px;padding:24px;background:var(--surface);color:var(--text);text-decoration:none;}
.gb-world-path .label {color:var(--voice);font-size:11px;letter-spacing:.13em;text-transform:uppercase;}
.gb-world-path strong {font:800 clamp(28px,3vw,38px)/1 var(--f-title);text-transform:uppercase;}
.gb-world-path p {font-size:15px;line-height:1.6;margin:0;color:var(--mute);}
.gb-world-path .gb-path-go {color:var(--voice);margin-top:auto;padding-top:16px;font:600 13px/1.3 var(--f-ui);}
.gb-world-path:hover {border-color:var(--voice);background:var(--raised);}
.gb-world-path:focus-visible {outline:3px solid var(--focus);outline-offset:4px;}
body[data-world="godbody"] .w-hero .wtitle {font-size:clamp(72px,8.5vw,132px);letter-spacing:.025em;line-height:.9;}
body[data-world="godbody"] .w-hero .canon {border-left:2px solid var(--voice);padding-left:20px;}
body[data-world="godbody"] .w-hero .canon span {display:block;}
@media(max-width:1000px) {body[data-world="godbody"] .gb-vitals {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px) {
 .gb-signature {margin-bottom:22px;gap:12px;letter-spacing:.13em;}.gb-signature svg {width:40px;height:40px;}
 html body[data-world="godbody"] .r-head h1.ch {font-size:clamp(48px,12vw,76px);}
 .gb-reading-entry {width:calc(100% - 56px);gap:12px;margin-top:32px;font-size:9px;letter-spacing:.1em;}
 .gb-chapter-track {max-width:120px;gap:2px;}.gb-chapter-track i {height:4px;}.gb-chapter-track i.current {height:12px;}
 .gb-world-paths {grid-template-columns:1fr;gap:12px;}.gb-world-path {padding:22px;}
 body[data-world="godbody"] .gb-record {padding:20px;}.gb-record-head {flex-wrap:wrap;}
 body[data-world="godbody"] .r-cover::before,body[data-world="godbody"] .w-hero::before {inset:10px;}
 body[data-world="godbody"] .ep-cover {outline-offset:4px;}
 body[data-world="godbody"] .gb-vital {padding:18px 16px;}.gb-vital .who {font-size:26px!important;}
 body[data-world="godbody"] .gb-game-read {font-size:11px;gap:8px;letter-spacing:.06em;}
}
@media(max-width:380px) {body[data-world="godbody"] .gb-vitals {grid-template-columns:1fr;}.gb-chapter-track {max-width:95px;gap:1px;}}
/* Every still / data-saving preference applies to the existing decorative CSS as well. */
html:is([data-reading-motion="still"],[data-reading-data="save"],[data-app-motion="reduce"]) :is(.gb-trace path,.ep-cover[data-living="pulse"]::after) {animation:none!important;}
@media(prefers-reduced-motion:reduce),(prefers-reduced-data:reduce) {.gb-trace path,.ep-cover[data-living="pulse"]::after {animation:none!important;}}
@media print {.gb-signature,.gb-reading-entry,.gb-moment-controls {display:none!important;}}

@media(max-width:760px) {body[data-world="godbody"] .r-cover::before {display:none;} body[data-world="godbody"] .r-head .gb-signature {margin-top:16px;}}

html body[data-world="godbody"] .gb-game-acts .btn {font-size:14px;letter-spacing:.02em;min-height:48px;padding:12px 14px;}

body[data-world="godbody"] .gb-vital q {min-height:6.4em;}
body[data-world="godbody"] .gb-vital cite {margin-top:18px;padding-top:0;}
body[data-world="godbody"] .gb-vital .fine {min-height:3.2em;}
body[data-world="godbody"] .gb-record li.empty {border:0;background:none;padding:20px 0 0;margin:0;min-height:0;}
@media(max-width:380px) {body[data-world="godbody"] .gb-vital q,body[data-world="godbody"] .gb-vital .fine {min-height:0;}}

/* Reveal this existing portrait where its chapter first reveals the arm mark. */
html body[data-world="godbody"] .reader.chapter .r-cover.gb-cover-in-story {grid-template-columns:minmax(0,1fr);}
html body[data-world="godbody"] .reader.chapter .gb-cover-in-story .r-head {width:100%;max-width:760px;margin-inline:auto;}
body[data-world="godbody"] .ch-text .gb-inline-cover {width:min(100%,440px);margin:40px auto;}
body[data-world="godbody"] .ch-text .gb-inline-cover .ep-cover {width:100%;margin:0;}
