.metaphysics-module-nav[hidden],body.quiet .metaphysics-module-nav{display:none!important}
.metaphysics-module-nav{position:fixed;z-index:18;top:110px;left:30px;width:min(342px,calc(100vw - 100px));box-sizing:border-box;padding:14px;border:1px solid #d9cafa42;border-radius:17px;background:linear-gradient(140deg,#111c37ed,#29203be8);color:#f5effa;box-shadow:0 14px 38px #04071855,inset 0 1px 0 #fff1;backdrop-filter:blur(16px);font-family:Arial,sans-serif;max-height:calc(100dvh - 225px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#907bb87a transparent}
.metaphysics-module-caption{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#d9c8ea;font-size:10px;line-height:1.4;margin:0 2px 4px}
.metaphysics-module-caption>span:first-child{font-size:8px;letter-spacing:.15em;color:#e0caa9}
.metaphysics-module-caption>span:nth-child(2){margin-left:auto;white-space:nowrap}
.metaphysics-module-toggle{flex:0 0 36px;width:36px;height:36px;background:#ffffff08;border:1px solid #d3bded33;border-radius:9px;font:22px/1 Arial,sans-serif;color:#f1e5fa;cursor:pointer}
.metaphysics-module-toggle:hover{background:#bda7e727;border-color:#e1c9fa8c}
.metaphysics-module-panel[hidden]{display:none!important}
.metaphysics-module-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.metaphysics-module-steps button{height:44px;min-width:0;border:1px solid #d3bded4d;border-radius:11px;background:#b7bdf20b;color:#e5d7f4;font:18px/1 Georgia,serif;cursor:pointer}
.metaphysics-module-steps button:hover:not(:disabled){background:#bda7e72b;border-color:#e1c9fa8c}
.metaphysics-module-steps button[aria-current]{background:linear-gradient(140deg,#d9c9eb,#e6d0ad);color:#342442;border-color:#efdef7;box-shadow:0 0 15px #b69bf82b}
.metaphysics-module-title{font:400 20px/1.22 Georgia,serif;margin:6px 2px 11px;letter-spacing:0;color:#fff0de;text-wrap:balance}
.metaphysics-module-intro{font-size:11px;line-height:1.55;margin:9px 2px 12px;color:#cec9dd}
.metaphysics-module-intro[hidden]{display:none}
.metaphysics-module-travel{display:grid;grid-template-columns:.95fr 1.25fr;gap:6px}
.metaphysics-module-travel button{min-height:44px;border:1px solid #e9d1ec4d;border-radius:10px;padding:9px 8px;font:11px/1.35 Arial,sans-serif;cursor:pointer}
.metaphysics-module-down{background:#ffffff09;color:#e3d5eb}
.metaphysics-module-up{background:linear-gradient(120deg,#e2d5b9,#d8c4e5);color:#3c2b48}
.metaphysics-module-travel button:hover:not(:disabled){border-color:#f7e7ff;background:#eeddf6;color:#34233c}
.metaphysics-module-nav button:disabled{opacity:.42;cursor:default}
.metaphysics-module-nav :focus-visible{outline:2px solid #f6d4a2;outline-offset:3px}
.metaphysics-module-details{margin-top:6px;border-bottom:1px solid #ddc8f326}
.metaphysics-module-details summary{min-height:40px;box-sizing:border-box;display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.4;color:#dfcce9;cursor:pointer;list-style:none}
.metaphysics-module-details summary::-webkit-details-marker{display:none}
.metaphysics-module-details summary:before{content:'+';font-size:16px;color:#eacba1;width:14px;text-align:center}
.metaphysics-module-details[open] summary:before{content:'−'}
.metaphysics-module-detail-body{font-size:12px;line-height:1.65;padding:0 3px 12px;color:#e3dbed}
.metaphysics-module-detail-body h3{font-size:12px;font-weight:600;color:#f5e4cd;margin:12px 0 7px}
.metaphysics-module-detail-body ul,.metaphysics-module-detail-body ol{padding-left:18px;margin:7px 0 12px}
.metaphysics-module-detail-body li+li{margin-top:7px}
.metaphysics-module-detail-body p{margin:8px 0}
.metaphysics-module-detail-body a{color:#d5c3ff;text-underline-offset:3px;font-size:11px}
.metaphysics-module-submodules{color:#e1c6f1}
.metaphysics-module-chapter-note{color:#d1c5dd}
.metaphysics-module-access{font-size:10px;line-height:1.6;color:#bfb9cf;padding-top:9px;border-top:1px solid #ddc8f31f}
.metaphysics-module-footer{display:flex;flex-direction:column;gap:0;margin-top:7px}
.metaphysics-module-home{align-self:flex-start;background:none;border:0;color:#c9c1d9;padding:8px 0;font:10px/1.4 Arial,sans-serif;cursor:pointer;min-height:35px}
.metaphysics-module-purchase{display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;text-align:center;font:11px/1.45 Arial,sans-serif;padding:8px 9px;border:1px solid #d9bd8b55;border-radius:9px;color:#f5dfb6;text-decoration:none;background:#e6c38b0b}
.metaphysics-module-purchase:hover{background:#e6c38b21;border-color:#e7c699a6}
@media(max-width:600px){
 .metaphysics-module-nav{top:103px;left:14px;width:calc(100vw - 82px);padding:10px;max-height:calc(100dvh - 235px);border-radius:13px}
 .metaphysics-module-caption{font-size:9px;margin-bottom:7px}.metaphysics-module-caption>span:first-child{font-size:7px;letter-spacing:.08em}
 .metaphysics-module-steps{gap:3px}.metaphysics-module-steps button{height:44px;border-radius:8px;font-size:17px}
 .metaphysics-module-title{font-size:17px;margin:10px 1px 9px}.metaphysics-module-intro{font-size:10px;line-height:1.5;margin-bottom:9px}
 .metaphysics-module-travel button{font-size:10px;padding:8px 5px}.metaphysics-module-details summary{font-size:10px}
 .metaphysics-module-home{font-size:9px;min-height:33px}.metaphysics-module-purchase{font-size:10px}
 .metaphysics-module-detail-body{font-size:11px}
 .metaphysics-module-toggle{width:40px;height:40px;flex-basis:40px}
 .metaphysics-module-nav.is-collapsed{max-height:calc(100dvh - 220px)}
 body.inside-world[data-active-teaching="metaphysique"] .tools{display:flex;flex-direction:column;gap:6px}
 body.inside-world[data-active-teaching="metaphysique"] #world-ui{gap:8px;bottom:calc(14px + var(--safe-bottom,0px))}
 body.inside-world[data-active-teaching="metaphysique"] #world-role,
 body.inside-world[data-active-teaching="metaphysique"] #world-invitation,
 body.inside-world[data-active-teaching="metaphysique"] #world-details{display:none}
 body.inside-world[data-active-teaching="metaphysique"] #world-title{font-size:23px;line-height:1.08;margin:0;max-width:100%}
 body.inside-world[data-active-teaching="metaphysique"] .world-actions{grid-template-columns:1.12fr 1fr;gap:7px}
 body.inside-world[data-active-teaching="metaphysique"] .world-actions button{min-height:44px;padding:8px;font-size:10px}
 body.inside-world[data-active-teaching="metaphysique"] .world-actions>:nth-child(n+3){display:none}
}
@media(max-height:620px){.metaphysics-module-nav{top:94px;max-height:calc(100dvh - 170px)}.metaphysics-module-intro{display:none}.metaphysics-module-title{font-size:16px;margin-block:8px}.metaphysics-module-caption{margin-bottom:5px}.metaphysics-module-home{min-height:27px;padding-block:5px}}
@media(prefers-reduced-motion:reduce){.metaphysics-module-nav *{scroll-behavior:auto}}
