/* MagicWorld – Le Sanctuaire Philosophique Vivant (1.7.28). Isolated & lightweight. */
.mwlp-root .mwlp-philosophy{position:relative;isolation:isolate;overflow:hidden;margin:0!important;padding:clamp(32px,5vw,80px) 0 clamp(80px,8vw,138px);background:radial-gradient(ellipse 75% 26% at 50% 4%,rgba(35,67,112,.32),transparent 85%),linear-gradient(180deg,#071020 0%,var(--mwlp-philosophy-bg,#07121e) 36%,#050d18 100%);text-align:center;color:var(--mwlp-philosophy-ink,#ebe5dc)}
.mwlp-root .mwlp-philosophy *{box-sizing:border-box}
.mwlp-root .mwlp-philosophy-caption{font:400 13px/1.6 Georgia,serif!important;margin:16px auto 0!important;width:min(91%,960px);color:#b7b8c3!important}
.mwlp-root .mwlp-philosophy-reading{width:min(calc(100% - 40px),880px);margin:0 auto!important;padding-top:clamp(50px,7vw,100px);text-align:left}
.mwlp-root .mwlp-philosophy-eyebrow{font:700 clamp(10px,.95vw,12px)/1.7 Arial,sans-serif!important;letter-spacing:.26em;color:var(--mwlp-philosophy-gold)!important;text-align:center;margin:0 0 18px!important}
.mwlp-root .mwlp-philosophy h2#mwlp-philosophy-title{font:600 clamp(28px,3.2vw,49px)/1.32 Cinzel,Georgia,serif!important;color:#f9e9c9!important;text-align:center;margin:0 auto clamp(36px,4vw,58px)!important;text-shadow:0 3px 29px rgba(235,191,112,.15)}
.mwlp-root .mwlp-philosophy-questions{border-top:1px solid rgba(235,195,123,.4);border-bottom:1px solid rgba(235,195,123,.2);padding:clamp(20px,3vw,36px) clamp(12px,2.8vw,30px);margin:0 auto clamp(40px,4vw,58px);background:linear-gradient(90deg,transparent,rgba(45,72,110,.11),transparent)}
.mwlp-root .mwlp-philosophy-questions p{font:italic 500 clamp(18px,2vw,25px)/1.85 Georgia,serif!important;color:#f0dec0!important;text-align:center;margin:0 auto!important}
.mwlp-root .mwlp-philosophy-prose p{font:400 clamp(16px,1.4vw,19px)/1.99 Georgia,serif!important;letter-spacing:.012em;color:var(--mwlp-philosophy-ink)!important;margin:0 0 31px!important;text-align:left}
.mwlp-root .mwlp-philosophy-prose strong,.mwlp-root .mwlp-philosophy-synthesis strong{font-weight:700;color:#f8db9c}
.mwlp-root .mwlp-philosophy-synthesis{margin:43px 0 0;padding:25px clamp(18px,3vw,32px);border-left:2px solid var(--mwlp-philosophy-gold);background:linear-gradient(90deg,rgba(218,178,101,.085),transparent 95%)}
.mwlp-root .mwlp-philosophy-synthesis p{font:600 clamp(17px,1.7vw,21px)/1.88 Georgia,serif!important;color:#f6e5cb!important;margin:0!important}
.mwlp-root .mwlp-philosophy-closing{margin:clamp(45px,5vw,75px) auto 0!important;padding:26px 10px 0;border-top:1px solid rgba(240,205,135,.25);font:italic 500 clamp(20px,2.2vw,29px)/1.68 Georgia,serif!important;color:var(--mwlp-philosophy-gold)!important;text-align:center}
@media(max-width:768px){.mwlp-root .mwlp-philosophy{padding:30px 0 76px}.mwlp-root .mwlp-philosophy-art{width:100%;border-radius:0}.mwlp-root .mwlp-philosophy-reading{padding-top:50px;width:min(calc(100% - 36px),600px)}.mwlp-root .mwlp-philosophy h2#mwlp-philosophy-title{font-size:clamp(26px,6.2vw,36px)!important}.mwlp-root .mwlp-philosophy-questions p{font-size:18px!important}.mwlp-root .mwlp-philosophy-prose p{font-size:17px!important;line-height:1.85!important}.mwlp-root .mwlp-philosophy-synthesis p{font-size:17px!important}.mwlp-root .mwlp-philosophy-closing{font-size:22px!important}}

/* Living scene, 1.7.28. Coordinates and masks share the original 1672 × 941 plane. */
.mwlp-root .mwlp-philosophy-art{position:relative;isolation:isolate;overflow:hidden;margin:0 auto!important;width:min(97%,1700px);aspect-ratio:16/9;border-radius:clamp(4px,.7vw,12px);background:#030914;box-shadow:0 0 0 1px rgba(223,182,116,.4),0 16px 80px rgba(0,0,0,.63)}
.mwlp-root .mwlp-sanctuary-plane{position:absolute;inset:0;overflow:hidden}
.mwlp-root .mwlp-philosophy-art [data-mwlp-philosophy-image],.mwlp-root .mwlp-sanctuary-canvas{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;object-fit:fill;pointer-events:none}
.mwlp-root .mwlp-sanctuary-canvas{opacity:1;z-index:1}
.mwlp-root .mwlp-philosophy-art.is-still .mwlp-sanctuary-canvas{visibility:hidden}
.mwlp-root .mwlp-sanctuary-source{position:absolute!important;left:0;bottom:0;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.mwlp-root .mwlp-sanctuary-motion{position:absolute;right:14px;bottom:14px;z-index:3;min-height:40px;max-width:calc(100% - 24px);border:1px solid rgba(240,210,153,.65)!important;border-radius:5px!important;background:rgba(6,15,28,.88)!important;color:#f5e5c6!important;font:500 12px/1.4 Arial,sans-serif!important;letter-spacing:.03em;padding:9px 13px!important;margin:0!important;cursor:pointer;box-shadow:0 2px 15px #0006;text-transform:none!important}
.mwlp-root .mwlp-sanctuary-motion:focus-visible{outline:2px solid #ffe7ab!important;outline-offset:3px}
.mwlp-root .mwlp-sanctuary-motion[hidden]{display:none!important}
.mwlp-root .mwlp-sanctuary-motion:disabled{cursor:default;opacity:.85}
.mwlp-sanctuary-panel{border:1px solid #c8ad77;border-radius:10px;margin:32px 0!important;padding:22px!important;background:#faf7f0}
.mwlp-sanctuary-panel>legend{font:600 22px/1.4 Georgia,serif;padding:0 10px;color:#313141}
.mwlp-sanctuary-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px;margin:20px 0}
.mwlp-sanctuary-toggles>input[type=hidden]{display:none}
.mwlp-sanctuary-preview-wrap{margin-top:24px;padding-top:6px;border-top:1px solid #d6c5a5}
.mwlp-sanctuary-preview-wrap .mwlp-philosophy-art{width:100%;border-radius:6px;box-shadow:0 3px 20px #17203330}
.mwlp-sanctuary-preview-wrap .mwlp-root{margin:0!important;max-width:none!important}
.mwlp-sanctuary-status{min-height:22px;color:#454c5e;font-size:13px}
.mwlp-sanctuary-panel small{display:block;color:#666;line-height:1.5}
@media(max-width:768px){.mwlp-root .mwlp-philosophy-art{width:100%;border-radius:0}.mwlp-root .mwlp-sanctuary-motion{right:8px;bottom:8px;min-height:40px;font-size:10px!important;padding:8px 10px!important}.mwlp-sanctuary-toggles{grid-template-columns:1fr}.mwlp-sanctuary-panel{padding:15px!important}}
@media(prefers-reduced-motion:reduce){.mwlp-root .mwlp-sanctuary-canvas{visibility:hidden!important}}

/* Keep the live picture beside the controls on wide WordPress screens. */
.mwlp-sanctuary-console,.mwlp-sanctuary-controls,.mwlp-sanctuary-preview-wrap{min-width:0}
@media(min-width:1280px){
  #mwlp-edit-philosophy.mwlp-admin-scene{overflow:visible}
  .mwlp-sanctuary-console{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
  .mwlp-sanctuary-controls .mwlp-admin-fields,.mwlp-sanctuary-controls .mwlp-sanctuary-toggles{grid-template-columns:1fr;gap:8px}
  .mwlp-sanctuary-controls .mwlp-toggle{margin:10px 0}
  .mwlp-sanctuary-preview-wrap{position:sticky;top:52px;margin:0;padding:0 0 15px;border-top:0}
}
