@font-face{font-family:Pinyon;src:url('assets/PinyonScript-Regular.ttf') format('truetype');font-display:swap}@font-face{font-family:Sora;src:url('assets/Sora.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff9f0;color:#332417;font:14px/1.65 Sora,Arial,sans-serif;--face:linear-gradient(177deg,#fff7dc 0%,#f5dda7 35%,#e5c580 65%,#f9e6b8 100%);--edge:#b99c65;--shadow:#80613f}body[data-finish=mint]{--face:linear-gradient(177deg,#f6fff9 0%,#d7ebe0 35%,#c9e0d3 65%,#e9f6ee 100%);--edge:#91b5a4;--shadow:#617e6d}a{color:inherit}button,.button,.direct a,.door span{font:inherit;color:#332417;background:var(--face);border:1px solid var(--edge);border-radius:30px;box-shadow:inset 0 2px 1px #fff, inset 0 -3px 2px #ffffff88,0 4px 0 var(--shadow),0 7px 12px #624a2622;text-decoration:none}button,.button{cursor:pointer;min-height:44px;padding:9px 20px}button:active,.button:active,.direct a:active{transform:translateY(3px);box-shadow:inset 0 2px 4px #73562a44,0 1px 0 var(--shadow)}button:hover,.button:hover,.direct a:hover{filter:brightness(1.035)}:focus-visible{outline:3px solid #174f57;outline-offset:5px}header{padding:14px 3%;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2}.signature{font:46px/1.3 Pinyon,cursive;text-decoration:none;color:#b18b36;text-shadow:0 1px #fff9d7,1px 2px 1px #82632766;white-space:nowrap}.heading{text-align:center;letter-spacing:.16em;font-size:11px}.heading small{display:block;font-size:10px;letter-spacing:0;margin-top:5px}.tools{display:flex;gap:12px}.tools button{font-size:11px;padding:8px 16px}.scene{position:relative;overflow:hidden}.scene>img{display:block;width:100%;height:auto}.arrival{max-width:1800px;margin:auto;isolation:isolate}.doors{position:absolute;inset:0}.door{position:absolute;text-decoration:none;border-radius:48% 48% 12px 12px;display:flex;align-items:flex-end;justify-content:center;transition:box-shadow .25s,background .25s}.door:hover,.door:focus-visible{box-shadow:inset 0 0 35px #fff6c988,0 0 32px #fff7c388;background:#fff4c514}.door span{font-size:12px;min-height:44px;min-width:130px;padding:10px 18px;text-align:center;white-space:nowrap;transform:translateY(45%)}.healing{left:38%;top:13%;width:24%;height:47%}.art{left:2%;top:8%;width:19%;height:59%}.blue{left:25%;top:27%;width:10%;height:35%}.jewelry{left:65%;top:27%;width:11%;height:35%}.evertree{left:79%;top:8%;width:19%;height:59%}.phoenix{position:absolute;bottom:4%;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:#fff9edeb;font-size:11px;box-shadow:0 3px 0 #b18b36,0 0 32px #ffefc8}.phoenix:active{transform:translate(-50%,3px)}.phoenix svg{width:38px;height:38px;fill:none;stroke:#8c6425;stroke-width:2.5;stroke-linecap:round}.phoenix[aria-pressed=true]{background:#e5f0e7}.welcome{text-align:center;padding:22px 20px 34px}.welcome p{font-family:Georgia,serif;font-size:23px;margin:0}.welcome>span{font-size:10px;color:#78513d;letter-spacing:.07em}.section-title{text-align:center}.section-title>span{font-size:10px;letter-spacing:.22em;color:#78513d}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.15}h1{font-size:42px;margin:12px 0}h2{font-size:38px}h3{font-size:26px}#contents{max-width:1140px;margin:25px auto 70px;padding:0 28px}.direct{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.direct a{border-radius:20px;padding:24px;position:relative;font-size:20px}.direct a:first-child{grid-column:span 2}.direct small{display:block;font:11px/1.7 Sora,sans-serif;margin-top:8px}.direct b{position:absolute;right:20px;top:18px;font-weight:400}.room-nav{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 4% 24px}.room-nav h1{font-size:30px;margin:0}.room-scene{position:relative;max-width:1672px;margin:auto;overflow:hidden}.room-scene>img{display:block;width:100%;height:auto}.room-scene .scene-action{position:absolute;bottom:4%;left:50%;transform:translateX(-50%);min-width:220px;font-size:18px}.room-scene .book-hotspot{position:absolute;background:transparent;box-shadow:none;border:2px solid transparent;border-radius:10px}.book-hotspot:hover,.book-hotspot:focus-visible{border-color:#fff4ce;box-shadow:0 0 25px #fff7ca}.book-hotspot span{position:absolute;bottom:-50px;left:50%;transform:translateX(-50%);background:#fff9f0;padding:4px 12px;border-radius:10px;opacity:0;white-space:nowrap}.book-hotspot:hover span,.book-hotspot:focus-visible span{opacity:1}.healing-about{left:45%;top:37%;width:14%;height:26%}.healing-sessions{left:5%;top:39%;width:13%;height:24%}.healing-coaching{left:26%;top:39%;width:8%;height:14%}.healing-amenities{left:73%;top:38%;width:8%;height:14%}.healing-contact{left:86%;top:43%;width:12%;height:22%}.art-book{left:38%;top:38%;width:24%;height:31%}#room-body{max-width:1120px;margin:auto;padding:48px 30px 80px}.intro{max-width:670px;margin:0 auto 35px;text-align:center;font-size:16px}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:10px;color:#78513d}.books{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin-top:32px}.book{width:170px;min-height:215px;background:linear-gradient(100deg,#b99454 0 7%,#f7edda 8% 100%);border-radius:4px 14px 14px 4px;border:1px solid #c8a96c;box-shadow:5px 5px 0 #e4d7be,8px 9px 16px #63523526;font-family:Georgia,serif;font-size:23px;padding:22px}.book:before{content:'✧';display:block;font-size:35px;color:#9b7238;margin-bottom:20px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0}.gallery img{display:block;width:100%;height:350px;object-fit:contain;background:#f8f6f0;border-radius:18px}.gallery figure{margin:0}.gallery figcaption{font-size:11px;padding:10px;color:#78513d}.actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:28px;justify-content:center}.feature{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.feature img{width:100%;max-height:520px;object-fit:contain;border-radius:100px 100px 18px 18px}.tree{height:320px;display:grid;place-items:center;background:radial-gradient(ellipse,#f9ddb3,#f6eff8 45%,#edf4f7 65%,#fff9f0 72%);font-size:125px;color:#a47c39}.status-pill{display:inline-block;border:1px solid #bfa269;padding:6px 16px;border-radius:30px;font-size:11px}.note{font-size:11px;color:#78513d}footer{border-top:1px solid #dfcfb5;padding:24px 4%;display:flex;justify-content:space-between;gap:16px;font-size:11px}footer small{font-size:9px}dialog{width:min(1000px,94vw);max-height:90dvh;border:1px solid #c8a96c;background:#fffaf0;border-radius:22px;padding:25px 35px 40px;color:#332417;box-shadow:0 25px 100px #1a231d44}dialog::backdrop{background:#26342f88;backdrop-filter:blur(5px)}.reader-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.reader-top>span{font-size:10px;letter-spacing:.2em}#reader-title{margin:25px 0 20px}#chapters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}#chapters button{font-size:11px;padding:8px 15px}#chapters button[aria-current=true]{outline:2px solid #795a2f;outline-offset:3px}#reader-body{font-size:15px;line-height:1.9}#reader-body .portrait{float:right;width:30%;max-height:320px;object-fit:contain;margin:0 0 24px 30px;border-radius:90px 90px 12px 12px}.artwork{margin:0;text-align:center}.artwork img{width:100%;height:48dvh;object-fit:contain;filter:none;transform:none}.artwork figcaption{font-size:13px;margin:15px}.artwork img.enlarged{height:auto;max-height:none}.reader-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.reader-controls button{font-size:12px}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}.simple .arrival{display:none}.simple .room-scene{display:none}.simple .welcome{padding-top:40px}[hidden]{display:none!important}@media(min-width:1500px){.arrival{max-height:calc(100dvh - 90px)}.arrival>img{height:calc(100dvh - 90px);object-fit:cover;object-position:center}}@media(max-width:750px){header{flex-wrap:wrap;justify-content:center;padding:18px 15px;gap:12px}.signature{font-size:47px;width:100%;text-align:center}.heading{width:100%;font-size:10px}.tools{margin-top:5px}.scene.arrival{margin-top:8px}.door span{display:none}.phoenix{position:relative;left:auto;bottom:auto;transform:none;margin:18px auto}.phoenix:active{transform:translateY(3px)}.doors{height:calc(100% - 94px)}.welcome{padding:16px 25px 25px}.welcome p{font-size:21px}.direct{grid-template-columns:1fr;gap:17px}.direct a:first-child{grid-column:auto}.direct a{font-size:21px;padding:20px 24px}#contents{margin-top:8px;padding:0 22px}h1{font-size:34px}.room-nav{flex-wrap:wrap;justify-content:space-between;padding:10px 20px 24px}.room-nav h1{order:3;width:100%;text-align:center;margin-top:20px;font-size:32px}.room-nav button,.room-nav a{font-size:11px}.room-scene .scene-action{font-size:12px;min-width:160px;bottom:3%;min-height:44px;padding:7px 12px}.book-hotspot{display:none}.books{gap:16px}.book{width:calc(50% - 8px);min-height:180px;font-size:19px;padding:16px}#room-body{padding:30px 22px 50px}.gallery,.feature{grid-template-columns:1fr;gap:24px}.gallery img{height:auto;max-height:430px}.actions{flex-direction:column;text-align:center}.feature img{max-height:350px}dialog{padding:18px 20px 28px;width:95vw;max-height:93dvh}#reader-title{font-size:30px}#chapters{gap:9px}#reader-body .portrait{float:none;width:100%;height:250px;margin:0 0 20px}.reader-top button{font-size:11px;padding:8px 12px}.reader-controls{flex-wrap:wrap}.artwork img{height:40dvh}footer{flex-direction:column;text-align:center}.tree{height:240px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}} 
#spatial{position:relative;background:#fff5e7}#spatial canvas{display:block;max-width:100%;touch-action:pan-y}.spatial-bar{position:absolute;z-index:2;bottom:15px;left:3%;right:3%;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px}.spatial-bar>span{background:#fff9f0e8;padding:10px 16px;border-radius:22px}.spatial-bar button{font-size:10px}.spatial-on .arrival>img,.spatial-on .arrival .doors,.spatial-on .room-scene{display:none}.spatial-on .phoenix{position:relative;left:auto;bottom:auto;transform:none;margin:18px auto}.simple #spatial{display:none}.simple .spatial-bar{display:none}
body[data-world=sunset]{background:radial-gradient(ellipse at 2% 70%,#fff8ee 0%,transparent 40%),radial-gradient(ellipse at 90% 70%,#fce5cb 0%,transparent 50%),linear-gradient(#fff9f0 20%,#fff0da 65%,#fff9ef)}body[data-world=sunset] #contents{position:relative}body[data-world=sunset] .welcome{background:linear-gradient(#fff7ea00,#fff4e0aa)}.tools{flex-wrap:wrap;justify-content:center}
@media(max-width:750px){body[data-world=sunset] #contents{max-width:none;margin:0;padding:35px 22px 70px;background:linear-gradient(#fff8ea3b,#fff8ea3b),url('assets/sunset-clouds.jpg') center/cover no-repeat}body[data-world=sunset] .welcome{margin-bottom:0;background:#fff2df}}

body[data-finish=pearl]{--face:linear-gradient(to top,#d6c08a 0%,#eedba6 12%,#fff1c6 30%,#fff6d9 72%,#fffdf2 92%,#f7e6b9 100%);--edge:#b29459;--shadow:#ceb579}
body[data-finish=pearl] :is(button,.button,.direct a,.door span){color:#443628;box-shadow:0 2px 0 #ceb579,0 4px 3px #7c583a26,0 7px 8px #7c583a14,inset 0 2px 0 #fffdf3,inset 0 -2px 0 #a88b4f6b}
body[data-finish=pearl] :is(button,.button,.direct a):active{box-shadow:0 1px 0 #ceb579,0 2px 3px #7c583a24,inset 0 2px 3px #a88b4f2e;transform:translateY(1px)}
.door.art::before{content:'';position:absolute;inset:3% 3% 7%;border-radius:48% 48% 8% 8%;background:linear-gradient(140deg,#e7ddf58c,#ffeadb7a 55%,#ddecf58c);pointer-events:none}
.door .paintbrush{position:absolute;width:35%;height:52%;left:32%;top:24%;filter:drop-shadow(2px 5px 3px #70451f77);transform:rotate(24deg);pointer-events:none}.door.art span{position:relative}

body[data-world=sunset] .door.art::before,body[data-world=sunset] .door .paintbrush{display:none}body[data-finish=pearl] .direct small{color:#574634}body[data-finish=pearl] :focus-visible{outline-color:#694b2a}

body[data-world=cosmic]{background:#041e2a}body[data-world=cosmic] header{background:#fff9f0}body[data-world=cosmic] #home{background:linear-gradient(#041e2a22,#041e2a22),url('assets/cosmic-controls.webp') center bottom/100% auto repeat-y;color:#fff3d6}body[data-world=cosmic] #contents{padding-top:35px;padding-bottom:65px;margin-top:0;margin-bottom:0}body[data-world=cosmic] .welcome>span,body[data-world=cosmic] .section-title>span{color:#d0e3e5}body[data-world=cosmic] footer{color:#d0e3e5;border-color:#c59d5a50}body[data-world=cosmic] #room{background:#fff9f0}body[data-world=cosmic] #spatial{background:#041e2a}body[data-world=cosmic] .spatial-bar{color:#332417}body[data-world=cosmic] .door.art::before,body[data-world=cosmic] .door .paintbrush{display:none}body[data-world=cosmic] .door.blue{left:2%;top:13%;width:20%;height:58%}body[data-world=cosmic] .door.art{left:25%;top:24%;width:14%;height:35%}body[data-world=cosmic] .door.healing{left:45%;top:33%;width:10%;height:21%}body[data-world=cosmic] .door.jewelry{left:61%;top:25%;width:13%;height:35%}body[data-world=cosmic] .door.evertree{left:79%;top:14%;width:20%;height:57%}body[data-world=cosmic] .direct{display:flex;flex-wrap:wrap}body[data-world=cosmic] .direct a{width:calc((100% - 44px)/3)}body[data-world=cosmic] .direct a[href='#healing']{order:0;width:calc((100% - 22px)*2/3)}body[data-world=cosmic] .direct a[href='#blue']{order:1}body[data-world=cosmic] .direct a[href='#art']{order:2}body[data-world=cosmic] .direct a[href='#jewelry']{order:3}body[data-world=cosmic] .direct a[href='#evertree']{order:4}@media(max-width:750px){body[data-world=cosmic] #contents{padding:30px 22px 65px}body[data-world=cosmic] .direct{display:flex;flex-direction:column}body[data-world=cosmic] .direct a,body[data-world=cosmic] .direct a[href='#healing']{width:100%}body[data-world=cosmic] #home{background-size:auto 100%}}

.portal-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.portal-labels button{position:absolute;transform:translate(-50%,0);pointer-events:auto;white-space:nowrap;background:rgba(5,32,39,.92)!important;color:#fff0cb!important;border:1px solid #baa575!important;border-radius:30px;padding:9px 16px;min-height:38px;box-shadow:0 4px 16px #03182088!important;font-size:12px}.portal-labels button:hover,.portal-labels button:focus-visible{background:#254c55!important;outline:2px solid #ffe2a4;outline-offset:3px}.spatial-bar{z-index:3}@media(max-width:750px){.portal-labels button{font-size:10px;padding:7px 9px;min-height:32px}}
/* A floating Phoenix keeps the optional ritual light and easy to bypass. */
body #key.phoenix{width:220px;min-height:125px;flex-direction:column;justify-content:center;gap:0;padding:0;background:transparent;border:0;box-shadow:none;touch-action:none;user-select:none;cursor:grab;overflow:visible;animation:phoenix-float 5s ease-in-out infinite}
body #key.phoenix svg{width:66px;height:72px;stroke:#ebcc87;stroke-width:2.2;filter:drop-shadow(0 1px 0 #846025) drop-shadow(0 0 12px #ffd88888)}
body #key.phoenix span{display:block;background:#08232bcf;color:#fff0ce;border:1px solid #c9b07977;border-radius:24px;padding:7px 13px;font-size:10px}
body #key.phoenix::before{content:'';position:absolute;width:105px;height:105px;background:radial-gradient(ellipse,#fbe3a42e,transparent 68%);top:-4px;pointer-events:none}
body #key.phoenix::after{content:'';position:absolute;width:60px;height:7px;background:#0b1d2980;border-radius:50%;filter:blur(5px);bottom:-7px}
body #key.phoenix:active{transform:none;cursor:grabbing}body #key.key-dragging{animation:none;opacity:.42}.key-help{display:block;text-align:center;font-size:10px;color:#d5e1df;padding:0 18px 10px}.key-ghost{position:fixed;width:80px;height:80px;transform:translate(-50%,-50%);z-index:10000;pointer-events:none;filter:drop-shadow(0 0 14px #ffe1a5)}.key-ghost svg{width:100%;height:100%;fill:none;stroke:#ffe5aa;stroke-width:2.5;stroke-linecap:round}.key-drop-target{outline:3px solid #ffe2a4!important;outline-offset:5px;filter:brightness(1.2)!important;box-shadow:0 0 35px #ffe0a488!important}.spatial-on #key.phoenix{margin:8px auto 0}.spatial-on .arrival{overflow:visible}.simple .key-help{display:none}body[data-world=cream] .key-help,body[data-world=sunset] .key-help{color:#6c5436}body[data-motion=off] #key{animation:none!important}@keyframes phoenix-float{0%,100%{translate:0 0}50%{translate:0 -7px}}@media(prefers-reduced-motion:reduce){#key{animation:none!important}}@media(max-width:750px){body #key.phoenix{margin:0 auto;min-height:112px}body #key.phoenix svg{width:58px;height:66px}.portal-labels button{font-size:9px;padding:7px 8px}}

html.will-3d #arrival>img{height:min(74vh,max(350px,55vw));object-fit:cover}body #key.phoenix{position:relative;left:auto;bottom:auto;transform:none;margin:8px auto 0}.doors{height:auto;bottom:160px}.key-help{min-height:30px}@media(max-width:750px){.doors{height:auto;bottom:160px}.key-help{min-height:40px}}
/* Keep the interaction target steady while only the key itself floats. */
body #key.phoenix{animation:none}body #key.phoenix svg{animation:phoenix-float 5s ease-in-out infinite}body #key.key-dragging svg,body[data-motion=off] #key svg{animation:none!important}

#room-title:focus{outline:none}@media(max-width:750px){header{gap:10px;padding:14px 15px}.tools{gap:8px;justify-content:center;flex-wrap:wrap}.tools button{padding:7px 10px;font-size:10px;min-height:36px;white-space:nowrap}.spatial-bar{bottom:12px;font-size:9px;gap:8px}.spatial-bar>span{padding:8px 10px}.spatial-bar button{font-size:9px;min-height:34px;padding:6px 10px}.portal-labels button{font-size:9px;padding:5px 7px;min-height:30px}}

@media(min-width:751px){.portal-labels button[data-room=healing]{font-size:13px;min-height:44px;padding:10px 20px;border-color:#e6c783!important}}

.welcome p.orientation{max-width:820px;margin:0 auto 25px;font-size:20px;line-height:1.55}.portal-labels button{display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;box-shadow:inset 0 0 0 3px #e4c27e12,0 3px 14px #05151c88!important}body[data-world=cosmic] .door.healing{left:42%;top:15%;width:16%;height:42%}@media(max-width:750px){.welcome p.orientation{font-size:17px;margin-bottom:22px}.portal-labels button{width:18.6%;max-width:80px;min-height:44px;padding:5px 3px;white-space:normal;font-size:8px;line-height:1.25}.portal-labels button[data-room=healing]{font-size:9px}}

#key.has-key-model>svg{display:none}#key canvas.phoenix-model{display:block;width:150px;height:90px;pointer-events:none;animation:phoenix-float 5s ease-in-out infinite;filter:drop-shadow(0 0 12px #f9ce7755)}body[data-motion=off] #key canvas.phoenix-model,#key.key-dragging canvas.phoenix-model{animation:none!important}.key-ghost svg{width:62px;height:80px}.phoenix.has-key-model::before{top:2px}@media(prefers-reduced-motion:reduce){#key canvas.phoenix-model{animation:none!important}}

/* Lightweight arrival uses a capture of the current 3D composition. */
body[data-world=cosmic] .door.blue{left:10%;top:10%;width:18%;height:61%}
body[data-world=cosmic] .door.art{left:31%;top:8%;width:12%;height:58%}
body[data-world=cosmic] .door.healing{left:43%;top:3%;width:14%;height:59%}
body[data-world=cosmic] .door.jewelry{left:57%;top:9%;width:12%;height:57%}
body[data-world=cosmic] .door.evertree{left:72%;top:12%;width:16%;height:59%}
body[data-world=cosmic] .doors{height:auto;bottom:auto;width:100%;aspect-ratio:1440/666}
@media(max-width:750px){body[data-world=cosmic] .door span{display:flex;align-items:center;justify-content:center;white-space:normal;min-width:0;width:100%;min-height:32px;padding:3px;font-size:7px;line-height:1.2}}

.guide-transition{position:absolute;z-index:8;left:50%;bottom:78px;transform:translateX(-50%);width:max-content;max-width:92%;display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid #d0b471;border-radius:22px;background:#fff9eff5;color:#332417;box-shadow:0 6px 25px #061b2855}.guide-transition[hidden]{display:none}.guide-transition span{font-size:12px}.guide-transition button{white-space:nowrap;font-size:11px}#spatial[data-guide-phase] .portal-labels{pointer-events:none}#spatial[data-guide-phase] .spatial-bar{visibility:hidden}@media(max-width:750px){.guide-transition{bottom:14px;gap:7px;padding:8px;flex-direction:column}.guide-transition span{font-size:10px}.guide-transition button{min-height:36px}}
#spatial[data-guide-phase] .portal-labels{opacity:.18}
/* Refined pearl controls: optical centering and dark metallic gold for contrast. */
button,.button,.door span{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.35;color:#755017;text-shadow:0 1px 0 #fff9e0;font-weight:500}
.direct a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:150px;padding:24px 32px!important;line-height:1.35;color:#78521c;background:radial-gradient(ellipse at 35% 0%,#fffefa 0%,#f5eedb 48%,#e8d9b8 100%);border:1px solid #bca06b;box-shadow:inset 0 2px 2px #fffef7,inset 0 -4px 6px #bd9e6355,0 5px 0 #8b713e,0 12px 24px #020f1a88}
.direct small{margin:0;max-width:30ch;color:#655535!important;line-height:1.6;text-align:center}.direct b{position:static;font-size:13px;line-height:1;color:#967039}
button:hover,.button:hover,.direct a:hover{filter:brightness(1.035);transform:translateY(-1px)}:focus-visible{outline:3px solid #64dfdf;outline-offset:5px}
body[data-world=cosmic] header{background:linear-gradient(180deg,#163c48 0%,#163846 70%,#0b2b38 100%);color:#e8e5d2;border-bottom:1px solid #d5b37122;box-shadow:0 18px 35px #102e3d80}
body[data-world=cosmic] .signature{color:#f1ca6c;background:linear-gradient(170deg,#fff4bd 8%,#d6a443 35%,#ffe7a0 48%,#aa731c 60%,#f7d77d 83%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 0 #fff1b477) drop-shadow(1px 3px 1px #020e16);text-shadow:none;font-size:49px}
body[data-world=cosmic] .heading{color:#eee7cf}.guide-invitation{text-align:center;padding:14px 20px 5px}.guide-invitation p{font-size:11px;color:#ccdfe2;margin:10px auto 0;max-width:56ch}.guide-intro{display:grid;grid-template-columns:minmax(150px,280px) 1fr;gap:24px;align-items:center}.guide-intro img{width:100%;max-height:480px;object-fit:contain;border-radius:18px}
#key .phoenix-reference{display:block;width:240px;height:135px;object-fit:contain;animation:phoenix-float 5s ease-in-out infinite;filter:drop-shadow(0 0 12px #e3b35c44)}#key.has-key-model>.phoenix-reference{display:none}#key canvas.phoenix-model{width:240px;height:120px}.key-ghost img{width:160px;height:90px;object-fit:contain}.phoenix{flex-direction:column!important}body[data-motion=off] #key .phoenix-reference{animation:none!important}@media(max-width:750px){.guide-intro{grid-template-columns:1fr}.guide-intro img{max-height:300px}.guide-invitation{padding-top:10px}body[data-world=cosmic] .signature{font-size:47px}}

body[data-world=cosmic] .portal-labels button,body[data-world=cosmic] #key span{color:#f1d49a;text-shadow:0 1px 2px #020e16;font-weight:400}body[data-world=cosmic] #key{text-shadow:none}@media(prefers-reduced-motion:reduce){button:hover,.button:hover,.direct a:hover{transform:none}}

/* Restored reference-led Galaxy arrival and centered gilded pearl controls. */
body[data-world=cosmic] header{background:radial-gradient(ellipse at 50% 110%,#24515b88,transparent 65%),linear-gradient(180deg,#061b29,#0b303e);border-bottom:1px solid #d0b47544;box-shadow:none}
body[data-world=cosmic] .direct a{color:#815818;background:radial-gradient(ellipse at 50% -15%,#fffef6 0%,#fff2cd 38%,#eddb9f 72%,#c7a96a 100%);border:2px solid #eee1a9;box-shadow:inset 0 2px 2px #fffef5,inset 0 -5px 4px #ac8a46aa,0 5px 0 #8b713e,0 8px 1px #d4bb77,0 14px 22px #020f1a99;text-shadow:0 1px 0 #fff9df}
body[data-world=cosmic] .direct a small{color:#69532c!important}.direct a b{color:#9d7330}.direct a{min-height:160px;border-radius:25px}
@media(max-width:750px){body[data-room=home][data-world=cosmic] #spatial{padding-bottom:135px}body[data-room=home][data-world=cosmic] .portal-labels button{font-size:9px;min-width:0;width:19%;padding:6px 3px}body[data-room=home][data-world=cosmic] .spatial-bar{font-size:9px;bottom:9px;gap:5px}body[data-room=home][data-world=cosmic] .spatial-bar>span{padding:8px 10px}.direct a{min-height:145px}}
body[data-world=cosmic] .doors{aspect-ratio:1672/941}body[data-world=cosmic] .door.blue{left:1.5%;top:14%;width:18%;height:58%}body[data-world=cosmic] .door.art{left:25%;top:26%;width:13%;height:42%}body[data-world=cosmic] .door.healing{left:44.75%;top:34%;width:10.5%;height:26%}body[data-world=cosmic] .door.jewelry{left:61.5%;top:24%;width:14%;height:44%}body[data-world=cosmic] .door.evertree{left:80.7%;top:13%;width:18%;height:60%}
html.will-3d body[data-world=cosmic] #arrival>img{height:auto;object-fit:contain}

/* Antique volumes in a luminous alcove; no ruled surfaces or notebook tiles. */
body[data-room=healing] #room-body{max-width:1440px;padding:32px 28px 70px}.healing-shelf{position:relative;padding:46px 24px 22px;border-radius:130px 130px 24px 24px;background:linear-gradient(#fff8e9b8,#fff8e9de),url('assets/healing-room.jpg') center 40%/cover;box-shadow:inset 0 0 80px #fff9ef;border:1px solid #d8c39977}.healing-shelf .library-props{display:none}.healing-shelf .books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:4px;margin:0}
body[data-room=healing] .healing-shelf .aged-book{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:0;padding:0 0 10px;background:none;border:0;border-radius:25px;box-shadow:none;transform:none;text-shadow:none;color:#765322;isolation:isolate}.aged-book:before,.aged-book:after{display:none!important}.antique-volume{position:relative;display:block;width:100%;aspect-ratio:2/3;filter:drop-shadow(4px 14px 8px #4d301b38);animation:antique-float 7s ease-in-out infinite;animation-delay:-1s}.aged-book:nth-child(even) .antique-volume{animation-delay:-3s}.antique-render{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.antique-inscription{position:absolute;left:24%;right:19%;top:25%;height:45%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transform:rotate(-1deg);color:#765322;text-shadow:0 1px 0 #fff4ce}.volume-sessions .antique-inscription,.volume-amenities .antique-inscription,.volume-coaching .antique-inscription{color:#ffe4a3;text-shadow:0 2px 2px #23190c}.book-emblem{width:60px;height:60px;filter:drop-shadow(0 1px 0 #92663355)}.book-title{font:23px/1.15 Georgia,serif;text-align:center}.book-invitation{font:10px/1.5 Sora,sans-serif;color:#785622;background:#fff9e6d9;border:1px solid #c5a66a77;border-radius:20px;padding:6px 13px}.healing-shelf .aged-book:hover,.healing-shelf .aged-book:focus-visible{transform:none;filter:none;box-shadow:none}.healing-shelf .aged-book:focus-visible{outline:3px solid #2a696c;outline-offset:3px}.aged-book:hover .antique-volume{filter:drop-shadow(4px 18px 12px #80602c55)}.library-caption{text-align:center;font:11px/1.5 Sora,sans-serif;color:#745b35;margin:20px 0 0}body[data-room=healing] #reader{background:radial-gradient(ellipse at top,#fffdf1,#f3e6cc);border:2px solid #b69a63;border-radius:10px 20px 20px 10px;box-shadow:5px 4px 0 #e2d0a9,10px 8px 0 #a88a58,0 25px 100px #1a231d66}
@keyframes antique-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(.4deg)}}
/* Light cosmic name canopy and open parchment scroll navigation. */
body[data-world=cosmic] header{background:radial-gradient(ellipse at 15% 20%,#d4e9e699,transparent 40%),radial-gradient(ellipse at 85% 80%,#e2d5ef77,transparent 42%),radial-gradient(circle at 30% 30%,#fff 0 1px,transparent 2px),radial-gradient(circle at 78% 22%,#cba760 0 1px,transparent 2px),linear-gradient(160deg,#fffcf3,#eee9dc);color:#4f5552;border-bottom:1px solid #c5af7744;box-shadow:inset 0 -15px 35px #a0c5c433}.heading,body[data-world=cosmic] .heading{color:#535b59}body[data-world=cosmic] .signature{background:linear-gradient(165deg,#8a5a16 5%,#b4842e 30%,#e6c56a 43%,#886016 52%,#bc913b 72%,#865b18);background-clip:text;-webkit-background-clip:text;filter:drop-shadow(0 1px 0 #fffbed) drop-shadow(1px 3px 1px #9a794d66);animation:name-suspended 7s ease-in-out infinite}
@keyframes name-suspended{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
body[data-world=cosmic] .direct{gap:22px 28px;max-width:1050px;margin:26px auto 0}body[data-world=cosmic] .direct a{position:relative;min-height:102px;padding:14px 30px!important;gap:5px;border-radius:7px;border:1px solid #c6a773;color:#805412;background:radial-gradient(ellipse at 50% 15%,#fffcdf 0%,#f5e6b9 60%,#dec995 100%);box-shadow:inset 0 2px 4px #fff9df,inset 0 -2px 6px #b08d5066,0 8px 12px #00101766;font-size:18px;line-height:1.25;text-shadow:0 1px 0 #fffbdc;transform:none}
body[data-world=cosmic] .direct a:before,body[data-world=cosmic] .direct a:after{content:'';position:absolute;top:-7px;bottom:-7px;width:17px;border-radius:50%/7px;background:linear-gradient(90deg,#a58245,#e4ca8c 22%,#fff2c5 50%,#f1dda5 67%,#a98a50);border:1px solid #c6a76c;box-shadow:2px 2px 3px #2d200d44;pointer-events:none}body[data-world=cosmic] .direct a:before{left:-8px}body[data-world=cosmic] .direct a:after{right:-8px;transform:scaleX(-1)}body[data-world=cosmic] .direct a b{display:none}.scroll-title{background:linear-gradient(110deg,#795014 20%,#a47725 40%,#754810 55%,#92641b 75%);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;font-weight:600;filter:drop-shadow(0 1px 0 #fff8d6)}.direct a:hover .scroll-title,.direct a:focus-visible .scroll-title{background-position:100% 0;transition:background-position .8s ease}body[data-world=cosmic] .direct a small{font-size:10px;line-height:1.45;color:#705831!important;max-width:32ch}
@media(max-width:1000px){.healing-shelf .books{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 8px}.book-title{font-size:22px}body[data-world=cosmic] .direct{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-world=cosmic] .direct a:first-child{grid-column:span 2}}
@media(max-width:750px){body[data-room=healing] #room-body{padding:24px 12px 45px}.healing-shelf{padding:28px 8px 22px;border-radius:60px 60px 20px 20px}.healing-shelf .books{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 4px}.book-title{font-size:18px}.book-emblem{width:40px;height:40px}.antique-inscription{gap:7px}.aged-book:last-child{grid-column:1/3;max-width:50%;justify-self:center}body[data-world=cosmic] .direct{gap:23px;padding:0 8px}body[data-world=cosmic] .direct a{min-height:91px;padding:12px 25px!important;font-size:18px}.book-invitation{font-size:9px}}
body[data-motion=off] .signature,body[data-motion=off] .antique-volume{animation:none!important}@media(prefers-reduced-motion:reduce){.signature,.antique-volume{animation:none!important}.scroll-title{transition:none!important}}
.scroll-title{text-shadow:none!important;filter:none!important;-webkit-text-fill-color:transparent}
@media(min-width:751px) and (max-width:1000px){body[data-world=cosmic] #contents .direct{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body[data-world=cosmic] #contents .direct a:first-child{grid-column:span 2}}
@media(min-width:751px) and (max-width:1000px){body[data-world=cosmic] #contents .direct a,body[data-world=cosmic] #contents .direct a[href='#healing']{width:100%!important;min-width:0}}
.healing-shelf{background-size:100% 100%,auto 155%;background-position:center,center 25%;background-repeat:no-repeat}

body[data-world=cosmic] .door.healing{left:42.5%;top:21.5%;width:15%;height:34%}

/* Visitor accessibility controls remain separate from opt-in design review. */
[hidden]{display:none!important}.design-review{position:relative;color:#695532;font:11px Sora,sans-serif}.design-review summary{cursor:pointer;padding:12px;border:1px solid #b99c6b;border-radius:18px;min-height:44px;display:flex;align-items:center}.design-review>div{display:flex;gap:6px;padding:8px}.design-review summary:focus-visible{outline:3px solid #276769;outline-offset:3px}
/* Original Phoenix relief held upright: the bow stays above the shaft. */
body #key.phoenix{min-height:226px;width:220px}#key canvas.phoenix-model{width:120px;height:200px}#key .phoenix-reference{width:200px;height:112px;margin:44px 0;transform:rotate(-90deg);animation:phoenix-float 5s ease-in-out infinite}.key-ghost{width:90px;height:160px}.key-ghost img{width:160px;height:90px;position:absolute;left:-35px;top:35px;transform:rotate(-90deg)}
@media(prefers-reduced-motion:reduce){#key .phoenix-reference{animation:none!important}}
/* Quiet age and singed edges on the existing compact home scrolls. */
body[data-world=cosmic] .direct a{border:0;background: url('assets/aged-scroll.svg') center/100% 100% no-repeat;box-shadow:0 7px 10px #00101750;border-radius:4px}
body[data-world=cosmic] .direct a:before,body[data-world=cosmic] .direct a:after{border-color:#60401e;background:radial-gradient(ellipse at 50% 1%,#362319,transparent 14%),radial-gradient(ellipse at 60% 100%,#38241a,transparent 16%),linear-gradient(90deg,#59391c,#b38b4e 22%,#ead298 50%,#ceb075 67%,#67421f);box-shadow:2px 2px 3px #24170966}
body[data-world=cosmic] .direct a:focus-visible{outline:3px solid #63bec4;outline-offset:8px}

/* Marina's restrained champagne-sky trial, confined to the homepage canopy. */
body[data-room=home][data-world=cosmic] header{background:radial-gradient(ellipse at 46% 34%,#fffdf0 0%,#fff6d8bb 27%,transparent 60%),radial-gradient(ellipse at 12% 10%,#eac77b77,transparent 55%),radial-gradient(ellipse at 88% 12%,#f0cf9477,transparent 52%),radial-gradient(ellipse at 52% 105%,#bdd7d155,transparent 58%),linear-gradient(180deg,#f7e4b9 0%,#f7ebcc 58%,#e9e8d9 100%);border-bottom-color:#c5b07855;box-shadow:inset 0 -15px 35px #a0c5c426}

/* Exact broad-wing Phoenix source is already upright; no image rotation. */
#key canvas.phoenix-model{width:140px;height:200px}#key .phoenix-reference{width:140px;height:200px;margin:0;transform:none}.key-ghost{width:100px;height:140px}.key-ghost img{width:100px;height:140px;left:0;top:0;transform:none}
body[data-room]:not([data-room=home]) #room{animation:room-light-arrival .22s ease-out}@keyframes room-light-arrival{from{opacity:.75}to{opacity:1}}body[data-motion=off] #room{animation:none!important}@media(prefers-reduced-motion:reduce){#room{animation:none!important}}

/* Plaques sit on each architectural threshold; transparent native hit areas stay generous. */
body[data-room=home][data-world=cosmic] .portal-labels button{width:clamp(64px,12vw,170px);max-width:none;min-height:44px;height:44px;padding:0!important;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;transform:translateX(-50%)!important;display:flex;align-items:center;justify-content:center}
body[data-world=cosmic] .portal-plate,body[data-world=cosmic] .door span{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:27px;width:100%;padding:5px 8px;border:1px solid #86652f;border-radius:2px;background:linear-gradient(175deg,#ead5a2,#c8aa6c 54%,#b39457)!important;color:#2f2414!important;font:600 clamp(10px,.95vw,13px)/1.2 Sora,sans-serif;letter-spacing:.015em;text-align:center;white-space:normal;text-shadow:0 1px #ffedbd88;box-shadow:inset 0 1px #fff1c3aa,inset 0 -1px #75552a,0 2px 1px #020e16cc!important;transform:perspective(500px) rotateX(12deg) rotateZ(var(--plaque-angle,0deg));pointer-events:none}
body[data-world=cosmic] [data-room=blue],body[data-world=cosmic] .door.blue{--plaque-angle:-2deg}body[data-world=cosmic] [data-room=art],body[data-world=cosmic] .door.art{--plaque-angle:-1deg}body[data-world=cosmic] [data-room=jewelry],body[data-world=cosmic] .door.jewelry{--plaque-angle:1deg}body[data-world=cosmic] [data-room=evertree],body[data-world=cosmic] .door.evertree{--plaque-angle:2deg}
body[data-world=cosmic] .portal-labels button:focus-visible{outline:2px solid #fff5c9;outline-offset:2px}body[data-world=cosmic] .portal-labels button:hover .portal-plate{filter:brightness(1.12)}
body[data-world=cosmic] .door span{position:absolute!important;left:50%;top:var(--plaque-y,100%);width:clamp(64px,12vw,170px);transform:translate(-50%,-50%) perspective(500px) rotateX(12deg) rotateZ(var(--plaque-angle,0deg))!important}
body[data-world=cosmic] .door.blue{--plaque-y:102.6%}body[data-world=cosmic] .door.art{--plaque-y:84.5%}body[data-world=cosmic] .door.healing{--plaque-y:99.1%}body[data-world=cosmic] .door.jewelry{--plaque-y:88.6%}body[data-world=cosmic] .door.evertree{--plaque-y:103.3%}
@media(max-width:750px){body[data-world=cosmic] .portal-plate,body[data-world=cosmic] .door span{padding:3px 4px;min-height:26px;font-size:10px}body[data-room=home][data-world=cosmic] #spatial{padding-bottom:66px}}
/* Matte old-paper scroll surfaces retain their approved geometry and gold type. */
body[data-world=cosmic] .direct a:before,body[data-world=cosmic] .direct a:after{border-color:#87735a;background:radial-gradient(ellipse at 50% 1%,#514031aa,transparent 14%),radial-gradient(ellipse at 60% 100%,#514031aa,transparent 16%),linear-gradient(90deg,#887660,#c7baa0 22%,#e9dfc9 50%,#d4c8af 67%,#948068);box-shadow:1px 2px 2px #24170955}

/* Luminous lower reading sky; the approved arrival artwork and floor are untouched. */
body[data-world=cosmic] .cosmic-reading{padding-top:12px;background:linear-gradient(90deg,transparent,#14365366 28%,#14365366 72%,transparent),url('assets/reading-stars.svg') center top/1100px auto repeat,radial-gradient(ellipse at 2% 25%,#32648eaa,transparent 48%),radial-gradient(ellipse at 95% 74%,#40639388,transparent 50%),radial-gradient(ellipse at 45% 100%,#245a8077,transparent 60%),linear-gradient(160deg,#173b5b,#20476b 48%,#18395a);color:#fff4df}
body[data-world=cosmic] .cosmic-reading .welcome{margin-bottom:0;padding-bottom:18px}body[data-world=cosmic] .cosmic-reading .orientation{color:#fff5e5;text-shadow:0 1px 2px #091c2c}body[data-world=cosmic] .cosmic-reading .section-title{position:relative;text-shadow:0 1px 3px #0b253d}body[data-world=cosmic] .direct a:before,body[data-world=cosmic] .direct a:after{background:repeating-linear-gradient(6deg,#79664e0a 0 1px,transparent 1px 4px),radial-gradient(ellipse at 50% 1%,#514031aa,transparent 15%),radial-gradient(ellipse at 60% 100%,#514031aa,transparent 18%),linear-gradient(90deg,#8c795e,#c5b69b 22%,#e7decd 50%,#d0c2aa 67%,#8e7a5e)}

/* Seven quiet stars surround the key, with no new render loop or hit targets. */
#key .key-stars{position:absolute;inset:0 0 34px;pointer-events:none}#key .key-stars i{position:absolute;width:5px;height:5px;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#ffeab4;opacity:.55;animation:key-star-drift 7s ease-in-out infinite;pointer-events:none}
#key .key-stars i:nth-child(1){left:15%;top:20%;animation-delay:-1s}#key .key-stars i:nth-child(2){left:83%;top:27%;width:4px;height:4px;animation-delay:-4s}#key .key-stars i:nth-child(3){left:25%;top:68%;width:3px;height:3px;animation-delay:-2s}#key .key-stars i:nth-child(4){left:76%;top:74%;animation-delay:-5s}#key .key-stars i:nth-child(5){left:20%;top:45%;width:3px;height:3px;animation-delay:-3s}#key .key-stars i:nth-child(6){left:80%;top:52%;width:3px;height:3px;animation-delay:-6s}#key .key-stars i:nth-child(7){left:62%;top:92%;width:3px;height:3px;animation-delay:-1.5s}
@keyframes key-star-drift{0%,100%{transform:translate(0,3px);opacity:.32}50%{transform:translate(2px,-5px);opacity:.72}}body[data-motion=off] #key .key-stars i,#key.key-dragging .key-stars i{animation:none!important;opacity:.4}@media(prefers-reduced-motion:reduce){#key .key-stars i{animation:none!important;opacity:.4}}
/* Deeper engraved gold keeps compact scroll lettering clear on matte paper. */
body[data-world=cosmic] .scroll-title{background-image:linear-gradient(110deg,#634014 20%,#7d571b 40%,#603c10 55%,#765019 75%)}

/* One shared cosmic field continues behind Phoenix, welcome copy and parchment. */
body[data-world=cosmic] #home{background:radial-gradient(ellipse at 4% 38%,#359a9c55,transparent 45%),radial-gradient(ellipse at 92% 66%,#378c9a55,transparent 48%),radial-gradient(ellipse at 50% 80%,#092c3a44,transparent 70%),url('assets/reading-stars.svg') center top/1100px auto repeat,linear-gradient(165deg,#0b435899,#135c6399),url('assets/cosmic-controls.webp') center center/cover no-repeat}
body[data-world=cosmic] .cosmic-reading,body[data-world=cosmic] #arrival,body[data-room=home][data-world=cosmic] #spatial{background:transparent}

/* Futuristic typography trial: one display family, one readable companion. */
@font-face{font-family:'Exo 2';src:url('assets/Exo2-Variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Sora;src:url('assets/Sora.ttf') format('truetype');font-style:normal;font-weight:100 800;font-display:swap}
.signature,body[data-world=cosmic] .signature{font-family:'Exo 2',Sora,sans-serif;font-size:clamp(28px,2.5vw,36px);font-weight:350;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;text-shadow:none;filter:drop-shadow(0 1px 0 #fff9e6);background-image:linear-gradient(165deg,#755019,#9c7229 42%,#765019 57%,#936823);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
h1,h2,h3,#room-title,#reader-title{font-family:'Exo 2',Sora,sans-serif;font-weight:400;letter-spacing:.035em;line-height:1.2}
.section-title h1{font-size:clamp(30px,3.2vw,44px);max-width:26ch;margin-left:auto;margin-right:auto}
.welcome p.orientation,body[data-world=cosmic] .cosmic-reading .orientation{font-family:Sora,Arial,sans-serif;font-size:17px;font-weight:400;line-height:1.85;letter-spacing:.005em;text-shadow:none}
#key-status{font-family:'Exo 2',Sora,sans-serif;font-size:24px;font-weight:450;line-height:1.4;letter-spacing:.025em}
body[data-world=cosmic] .portal-plate,body[data-world=cosmic] .door span{font-family:'Exo 2',Sora,sans-serif;font-weight:600;letter-spacing:.025em;font-size:clamp(10.5px,1vw,14px)}
.scroll-title{font-family:'Exo 2',Sora,sans-serif;font-size:20px;font-weight:550;letter-spacing:.025em;line-height:1.25}
.book-title{font-family:'Exo 2',Sora,sans-serif;font-weight:500;letter-spacing:.02em}.heading,.section-title>span{font-family:'Exo 2',Sora,sans-serif;letter-spacing:.2em;font-weight:500}
@media(max-width:750px){.signature,body[data-world=cosmic] .signature{font-size:30px;letter-spacing:.07em}.welcome p.orientation,body[data-world=cosmic] .cosmic-reading .orientation{font-size:16px;line-height:1.8}#key-status{font-size:22px}.scroll-title{font-size:19px}.book-title{font-size:18px}}
@media(max-width:360px){.signature,body[data-world=cosmic] .signature{font-size:26px}.scroll-title{font-size:18px}}

/* Original volumetric nebula spans the complete key/copy/scroll region. */
body[data-world=cosmic] #home{background-color:#041e2a;background-image:linear-gradient(90deg,#041e2a11,#041e2a99 27%,#041e2a77 73%,#041e2a11),url('assets/teal-gold-nebula.webp');background-position:center bottom;background-size:100% calc(100% - min(56.2799vw,1013.04px));background-repeat:no-repeat}
@media(max-width:750px){body[data-world=cosmic] #home{background-image:linear-gradient(90deg,#041e2a55,#041e2ab0 24%,#041e2ab0 76%,#041e2a55),url('assets/teal-gold-nebula.webp')}}

/* Light fluffy peach/champagne cloud canopy; structure and name contrast retained. */
body[data-room=home][data-world=cosmic] header{background:linear-gradient(#fff9ef22,#fff9ef11),url('assets/peach-champagne-clouds.webp') left 64%/cover no-repeat;box-shadow:inset 0 -8px 12px #b8c9cb22;border-bottom-color:#c9bc9b55}
@media(max-width:750px){body[data-room=home][data-world=cosmic] header{background-size:auto,100% 100%;background-position:center}}

/* Name-only review alternatives over a quieter light canopy. */
body[data-room=home][data-world=cosmic] header{background:radial-gradient(ellipse at 50% 0%,#fffdf5,transparent 75%),linear-gradient(160deg,#f8edda,#fff8ec 55%,#eee9dd);box-shadow:inset 0 -7px 14px #d4dcd322}
.signature,body[data-world=cosmic] .signature{font-family:Pinyon,Georgia,serif;font-size:46px;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.3}
body[data-name=rounded] .signature{font-family:Sora,Arial,sans-serif;font-size:31px;font-weight:300;letter-spacing:.015em}
body[data-name=serif] .signature{font-family:Georgia,'Times New Roman',serif;font-size:38px;font-weight:400;letter-spacing:.01em}
@media(max-width:750px){.signature,body[data-world=cosmic] .signature{font-size:46px}body[data-name=rounded] .signature{font-size:30px}body[data-name=serif] .signature{font-size:36px}}
@media(max-width:360px){body[data-name=rounded] .signature{font-size:27px}body[data-name=serif] .signature{font-size:32px}}
/* Warmer golden-ivory paper, still matte and worn. */
body[data-world=cosmic] .direct a:before,body[data-world=cosmic] .direct a:after{background:repeating-linear-gradient(6deg,#79664e0a 0 1px,transparent 1px 4px),radial-gradient(ellipse at 50% 1%,#514031aa,transparent 15%),radial-gradient(ellipse at 60% 100%,#514031aa,transparent 18%),linear-gradient(90deg,#90794f,#d1bd8e 22%,#eddfb7 50%,#d8c49b 67%,#937a50)}
/* Laptop scroll navigation: one compact, centered vertical stack. */
@media(min-width:751px){body[data-world=cosmic] #contents .direct{display:grid;grid-template-columns:minmax(0,1fr);width:min(460px,100%);max-width:460px;gap:26px;margin:26px auto 0}body[data-world=cosmic] #contents .direct a,body[data-world=cosmic] #contents .direct a:first-child,body[data-world=cosmic] #contents .direct a[href='#healing']{grid-column:1;width:100%!important;min-width:0;max-width:none;justify-self:center;text-align:center}body[data-world=cosmic] #contents .direct a small{margin-left:auto;margin-right:auto}}
/* Original luxurious cursive, with two restrained review treatments. */
body[data-name=refined] .signature{font-family:Pinyon,Georgia,serif;font-size:43px;font-weight:400;letter-spacing:.015em;text-shadow:none}
body[data-name=spacious] .signature{font-family:Pinyon,Georgia,serif;font-size:48px;font-weight:400;letter-spacing:.035em}
@media(max-width:360px){body[data-name=spacious] .signature{font-size:42px}}
/* Lift the continuous nebula with cyan light; preserve readable calm center. */
body[data-world=cosmic] #home{background-color:#194b60;background-image:linear-gradient(90deg,#40b8cf38,#26748b66 28%,#26748b66 72%,#40b8cf38),url('assets/teal-gold-nebula.webp');background-blend-mode:screen,normal}
/* Quiet little aged-paper name scrolls suspended above the five doors. */
body[data-world=cosmic] .portal-plate,body[data-world=cosmic] .door span{background:url('assets/aged-scroll.svg') center/100% 100% no-repeat!important;border:0;border-radius:2px;box-shadow:0 2px 4px #00152355!important;transform:none;min-height:27px;padding:5px 9px;color:#473418!important;text-shadow:none;font-size:clamp(10px,.95vw,13px)}
body[data-world=cosmic] .portal-plate:before,body[data-world=cosmic] .portal-plate:after,body[data-world=cosmic] .door span:before,body[data-world=cosmic] .door span:after{content:'';position:absolute;top:-2px;bottom:-2px;width:5px;border-radius:3px;background:linear-gradient(90deg,#9d8559,#ead9af,#a58c60)}
body[data-world=cosmic] .portal-plate:before,body[data-world=cosmic] .door span:before{left:0}body[data-world=cosmic] .portal-plate:after,body[data-world=cosmic] .door span:after{right:0}
body[data-world=cosmic] .door span{transform:translate(-50%,-50%)!important}
body[data-world=cosmic] .door.blue{--plaque-y:-10.34%}body[data-world=cosmic] .door.art{--plaque-y:-19.05%}body[data-world=cosmic] .door.healing{--plaque-y:-19.12%}body[data-world=cosmic] .door.jewelry{--plaque-y:-15.91%}body[data-world=cosmic] .door.evertree{--plaque-y:-8.33%}
/* Selected signature: crisp gilded face with a fine sculpted bevel and raised edge. */
.signature,body[data-world=cosmic] .signature{font-family:Pinyon,Georgia,serif;font-size:52px;letter-spacing:0;font-weight:400;line-height:1.3;background-image:linear-gradient(175deg,#fff2a6 4%,#d9a126 19%,#8c5910 37%,#fff1a0 43%,#e6b53c 48%,#a16a12 65%,#eac350 83%,#916015 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.25px #94661c;text-shadow:none;filter:drop-shadow(0 -1px 0 #fff9d5) drop-shadow(0 1px 0 #a47725) drop-shadow(0 2px 0 #795319) drop-shadow(0 4px 2px #5d48294d);animation:none!important}
/* A pearl-to-sea-glass canopy feathers into the sky without a dividing rule. */
body[data-room=home][data-world=cosmic] header{background:radial-gradient(ellipse at 20% 10%,#fffaf0 0%,#fff8eacc 32%,transparent 80%),linear-gradient(180deg,#f7ecda 0%,#e8e7d9 58%,#adc9c6 90%,#8daead 100%);border-bottom:0;box-shadow:none}
body[data-room=home][data-world=cosmic] header:after{content:'';position:absolute;top:100%;left:0;right:0;height:24px;background:linear-gradient(#8daead, #8daead88 30%,transparent);pointer-events:none;z-index:3}
/* Local atmospheric scrim calms only the introduction, with feathered edges. */
body[data-world=cosmic] .cosmic-reading .welcome{position:relative;isolation:isolate;padding-top:28px;padding-bottom:34px}
body[data-world=cosmic] .cosmic-reading .welcome:before{content:'';position:absolute;inset:-18px 0 -10px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#062a38f5 0%,#062a38ed 45%,#062a38aa 66%,transparent 88%)}
body[data-world=cosmic] .cosmic-reading .welcome .orientation{max-width:67ch;margin-left:auto;margin-right:auto;color:#fff9e9;font-weight:400;text-shadow:0 1px 2px #021923;line-height:1.9}
body[data-world=cosmic] .welcome #key-status{color:#fff6d9;text-shadow:0 1px 2px #021923}
body[data-world=cosmic] .welcome>span{color:#e6f0ed}
@media(max-width:750px){.signature,body[data-world=cosmic] .signature{font-size:50px}body[data-room=home][data-world=cosmic] header{padding-bottom:24px}body[data-world=cosmic] .cosmic-reading .welcome{padding-left:27px;padding-right:27px}body[data-world=cosmic] .cosmic-reading .welcome:before{background:radial-gradient(ellipse at center,#062a38fa 0%,#062a38f2 55%,#062a38b8 73%,transparent 97%)}}
@media(max-width:360px){.signature,body[data-world=cosmic] .signature{font-size:43px}}
body[data-world=cosmic] .cosmic-reading .welcome:before{inset:-50px 0;mask-image:linear-gradient(transparent,#000 20%,#000 80%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 20%,#000 80%,transparent)}
/* Finer original cursive, with warm metal sampled from the actual Phoenix asset. */
.signature,body[data-world=cosmic] .signature{background-image:linear-gradient(175deg,#fcf3a2 4%,#ffb84c 22%,#cd6e08 38%,#fcf3a2 44%,#ffb84c 50%,#ff9910 66%,#cd6e08 88%,#9c4d06 100%);-webkit-text-stroke:0;filter:drop-shadow(0 -.45px 0 #fff4c4) drop-shadow(0 .75px 0 #8d4606) drop-shadow(0 1.5px 1px #713b192e)}
/* Champagne cosmic light joins the canopy and nebula; no portal-image recoloring. */
body[data-room=home][data-world=cosmic] header{background:radial-gradient(ellipse at 20% 10%,#fffaf0 0%,#fff6dfcc 32%,transparent 80%),linear-gradient(180deg,#f9ecd4 0%,#eee0c2 58%,#d0bd91 90%,#a89975 100%)}
body[data-room=home][data-world=cosmic] header:after{background:linear-gradient(#a89975,#a8997588 30%,transparent)}
body[data-world=cosmic] #home{background-color:#302d24;background-image:radial-gradient(ellipse at 12% 26%,#e7b75e80,transparent 52%),radial-gradient(ellipse at 89% 72%,#e5af5b88,transparent 55%),linear-gradient(90deg,#b78a4c55,#6e674a44 32%,#6e674a44 68%,#b78a4c55),url('assets/teal-gold-nebula.webp');background-blend-mode:screen,screen,screen,normal}
/* Evertree: explanation first, then an explorable botanical story garden. */
.evertree-intro{max-width:850px;margin:0 auto;padding:24px 28px 36px;text-align:center}.evertree-intro h2{font-size:clamp(28px,3.2vw,42px);margin:15px 0}.evertree-intro p{max-width:68ch;margin:14px auto}.evertree-intro .status-pill{font-size:12px}.evertree-scene{isolation:isolate}.botanical-hotspot{position:absolute;min-width:44px;min-height:44px;width:15%;height:14%;padding:0;background:transparent;border:1px solid transparent;box-shadow:none;border-radius:50%}.botanical-hotspot:hover,.botanical-hotspot:focus-visible{background:#e9ffcf22;border-color:#fff3bb;box-shadow:0 0 25px #c8f5bd55}.botanical-hotspot span{position:absolute;left:50%;bottom:0;transform:translate(-50%,90%);white-space:nowrap;padding:5px 10px;border-radius:8px;font-size:12px;background:#fff5deed;color:#2f453b;border:1px solid #bda874;box-shadow:0 3px 8px #001d2b55}.botanical-tree{left:39%;top:25%;width:22%;height:38%}.botanical-seed{left:11%;top:68%}.botanical-voice{left:15%;top:43%}.botanical-folio{left:72%;top:43%}.botanical-memory{left:76%;top:68%}.evertree-objects{text-align:center;max-width:1050px;margin:auto}.botanical-menu{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:28px 0}.botanical-choice{border-radius:70px 70px 18px 18px;padding:30px 14px;background:linear-gradient(160deg,#f5f0d9,#d7e5d7);min-height:150px}.botanical-choice strong{display:block;font-family:'Exo 2',sans-serif;font-size:18px;font-weight:500}.botanical-choice small{display:block;margin-top:9px;font-size:11px;line-height:1.5}.simple .evertree-scene{display:none}
@media(max-width:750px){.evertree-intro{padding:10px 23px 28px}.evertree-scene{overflow:visible;margin-bottom:25px}.botanical-hotspot span{font-size:9px;white-space:normal;min-width:68px;line-height:1.25}.botanical-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.botanical-choice:last-child{grid-column:1/-1;max-width:220px;justify-self:center}.botanical-choice{min-height:130px;padding:24px 12px}}
.botanical-hotspot span{pointer-events:none}
.botanical-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.botanical-choice small{margin-top:0}
body[data-room=evertree] .skip:not(:focus){clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
body[data-room=evertree] .botanical-hotspot{background:transparent!important;box-shadow:none!important;border:1px solid transparent!important}
body[data-room=evertree] .botanical-hotspot:hover,body[data-room=evertree] .botanical-hotspot:focus-visible{border-color:#fff2bb!important;box-shadow:0 0 24px #e4ffc544!important}

/* Selected first concept: independent artwork, live semantic content and navigation. */
body[data-room=home][data-world=cosmic]{background:#17516f url('assets/ridge-atmosphere.webp') center top/100% 100% no-repeat}
body[data-room=home][data-world=cosmic] header{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:28px 20px 18px;background:transparent;border:0;box-shadow:none;position:relative}
body[data-room=home][data-world=cosmic] header:after{display:none}
body[data-room=home][data-world=cosmic] header .signature{font-size:clamp(48px,5vw,68px);text-align:center;background-image:linear-gradient(175deg,#fff1a0,#d68a19 35%,#9b5108 55%,#ffd274 75%,#a45a0c);filter:drop-shadow(0 1px 0 #fff1c6) drop-shadow(0 2px 2px #173c5288)}
body[data-room=home][data-world=cosmic] .heading{color:#183b51;text-shadow:0 1px 4px #fff8e9;font-size:11px}
body[data-room=home][data-world=cosmic] .tools{margin:6px 0 0}
body[data-room=home][data-world=cosmic] #home{background:transparent}
body[data-room=home][data-world=cosmic] #arrival{margin-top:0;overflow:visible}
body[data-room=home][data-world=cosmic] #arrival>img,body[data-room=home][data-world=cosmic] #spatial canvas{mask-image:linear-gradient(transparent,#000 5%,#000 89%,transparent)}
body[data-room=home][data-world=cosmic] .cosmic-reading{background:transparent;padding-bottom:160px}
body[data-room=home][data-world=cosmic] .welcome{max-width:900px;margin:auto}
body[data-room=home][data-world=cosmic] .welcome:before{background:radial-gradient(ellipse,#113c59ef 0%,#113c59e8 48%,#113c5977 72%,transparent 95%);inset:-8px -30px}
body[data-room=home][data-world=cosmic] #key-help{color:#fff8e9;text-shadow:0 1px 3px #12364d,0 0 6px #12364d}
body[data-room=home][data-world=cosmic] .section-title{width:fit-content;max-width:100%;margin:0 auto;padding:20px 24px;border-radius:50%;background:radial-gradient(ellipse,#123d59e8,#123d59bb 60%,transparent 75%);color:#fff9ed;text-shadow:0 1px 2px #12364d}
body[data-room=home][data-world=cosmic] footer{background:#143c38d9;color:#fff4df;border-top:0}
@media(max-width:750px){body[data-room=home][data-world=cosmic]{background-size:auto 100%;background-position:center top}body[data-room=home][data-world=cosmic] header{padding:20px 14px 12px;gap:6px}body[data-room=home][data-world=cosmic] .cosmic-reading{padding-bottom:120px}body[data-room=home][data-world=cosmic] .welcome:before{inset:0 -6px}body[data-room=home][data-world=cosmic] .section-title{padding:18px 8px}body[data-room=home][data-world=cosmic] #contents{padding-bottom:20px}}
/* Feather contrast into the atmosphere without visible panels or hard edges. */
body[data-room=home][data-world=cosmic] .welcome:before{inset:-28px -30px;background:radial-gradient(ellipse at center,#123c59f5 0%,#123c59e8 48%,transparent 78%);filter:blur(18px);mask-image:none;-webkit-mask-image:none}
body[data-room=home][data-world=cosmic] .section-title{background:none;border-radius:0;isolation:isolate}
body[data-room=home][data-world=cosmic] .section-title:before{content:'';position:absolute;inset:-24px -20px;z-index:-1;background:radial-gradient(ellipse,#123c59f5 0%,#123c59dd 50%,transparent 78%);filter:blur(16px);pointer-events:none}
body[data-room=home][data-world=cosmic] .heading{color:#fff9ed;text-shadow:0 1px 3px #12364d,0 0 7px #12364d}
@media(max-width:750px){body[data-room=home][data-world=cosmic]{background-size:100% 100%}body[data-room=home][data-world=cosmic] .welcome:before{inset:-20px -8px}body[data-room=home][data-world=cosmic] .section-title:before{inset:-20px -5px}}
body[data-room=home][data-world=cosmic]{overflow-x:clip}
body[data-room=home][data-world=cosmic] #home{overflow:clip}
@media(max-width:750px){body[data-room=home][data-world=cosmic]{background-image:url('assets/ridge-atmosphere-mobile.webp');background-size:auto 100%;background-position:42% top}}
body[data-room=home][data-world=cosmic] .welcome:before,body[data-room=home][data-world=cosmic] .section-title:before{background:radial-gradient(ellipse,#123c59fa 0%,#123c59f2 68%,#123c59bb 80%,transparent 100%);filter:blur(18px)}
body[data-room=home][data-world=cosmic] .direct small{color:#4b3c22!important}

/* The Phoenix is now purely decorative; doors are always direct navigation. */
body #key.phoenix{pointer-events:none;touch-action:auto;cursor:default;min-height:210px;margin:12px auto 0;user-select:none}
body #key.phoenix:after{display:none}
#key .key-stars{inset:4px 0 12px}
#key .key-stars i{width:4px;height:4px;background:#fff0bd;filter:drop-shadow(0 0 4px #ffe4a0);animation:phoenix-energy 8s ease-in-out infinite;opacity:.6}
@keyframes phoenix-energy{0%,100%{transform:translate(-3px,7px) scale(.7);opacity:.22}50%{transform:translate(5px,-10px) scale(1.15);opacity:.8}}
.phoenix-tagline{position:relative;max-width:90%;margin:12px auto 30px;text-align:center;font-family:'Exo 2',Sora,sans-serif;font-size:clamp(22px,2.1vw,30px);font-weight:550;line-height:1.45;color:#102e42;text-shadow:0 1px 2px #fff8e9cc,0 0 5px #fff7df88;background:none!important;border:0;box-shadow:none;padding:0}
.phoenix-tagline:before,.phoenix-tagline:after{display:none!important}
body[data-motion=off] #key .key-stars i{animation:none!important;opacity:.45}
@media(prefers-reduced-motion:reduce){#key .key-stars i{animation:none!important;opacity:.45}}
.phoenix-tagline{font-weight:450;color:#071826}
/* Middle lettering rests directly on the approved scene; no panels or scrims. */
body[data-room=home][data-world=cosmic] :is(.welcome,.section-title){background:none!important;box-shadow:none!important}
body[data-room=home][data-world=cosmic] :is(.welcome,.section-title)::before,body[data-room=home][data-world=cosmic] :is(.welcome,.section-title)::after{content:none!important;display:none!important;background:none!important;filter:none!important;box-shadow:none!important}
body[data-room=home][data-world=cosmic] .cosmic-reading :is(.orientation,.section-title,.section-title h1,.section-title p,.section-title>span){color:#020b12!important;text-shadow:0 1px 2px #fff8e9cc,0 0 5px #fff7df88}
/* Larger, raised lettering: shadows belong only to the glyphs. */
body[data-room=home][data-world=cosmic] .welcome{max-width:1000px;margin-inline:auto;padding:32px 28px 26px}
body[data-room=home][data-world=cosmic] .welcome .orientation{font-family:"Exo 2",Sora,sans-serif!important;font-size:clamp(21px,2.1vw,28px)!important;font-weight:550!important;line-height:1.6!important;letter-spacing:.012em;max-width:850px;margin:auto;text-wrap:pretty;color:#091826!important;text-shadow:0 1px 0 #fff8e8,0 2px 1px #fff8e8cc,0 3px 3px #28384740!important}
.welcome-lead{display:block;font-weight:650;font-size:1.2em;line-height:1.4;margin-bottom:14px}.welcome-body{display:block}
body[data-room=home][data-world=cosmic] .cosmic-reading .section-title h1{font-size:clamp(31px,3.2vw,45px);font-weight:600;text-shadow:0 1px 0 #fff8e8,0 2px 1px #fff8e8cc,0 3px 3px #28384740!important}
body[data-room=home][data-world=cosmic] .cosmic-reading .section-title p{font-size:clamp(19px,1.8vw,24px);font-weight:550;line-height:1.6}
body[data-room=home][data-world=cosmic] .section-title>span{font-size:14px;font-weight:650;letter-spacing:.16em}
.studio-art{position:absolute;z-index:2;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:0!important;display:flex;align-items:center;justify-content:center}
.studio-art img{display:block;width:100%;height:100%;object-fit:contain;filter:none;transform:none}
.studio-art-left{left:10%;top:30%;width:9%;height:20%}.studio-art-right{left:82%;top:30%;width:10%;height:22%}
body[data-room=art] .art-book{left:36%;top:40%;width:28%;height:29%;display:block;background:transparent!important;box-shadow:none!important;border:0!important}
body[data-room=art] .art-book span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-room=art] .room-scene .scene-action{bottom:5%}
.art-collections,.art-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:25px 0 36px}
.collection-cover,.piece-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:15px!important;border-radius:16px!important;background:#fffaf1!important;min-width:0}
.collection-cover img,.piece-card img{width:100%;height:230px;object-fit:contain;filter:none;transform:none;background:#f3eee5;border-radius:5px}
.collection-cover span,.piece-card span{display:block;padding:18px 4px 8px;font-size:17px;line-height:1.5}.collection-cover small{display:block;font-size:12px;margin-top:9px;line-height:1.6}
.piece-card span{font-size:15px}.piece-story{max-width:640px;margin:35px auto 20px}.piece-story p{white-space:pre-line}.portfolio-piece img{height:58dvh;max-height:850px}.reader-controls button:disabled{opacity:.45;cursor:default;box-shadow:none}
@media(max-width:750px){body[data-room=home][data-world=cosmic] .welcome{padding:25px 23px}.welcome-lead{font-size:1.15em}.art-collections,.art-collection-grid{gap:16px;grid-template-columns:1fr}.collection-cover img,.piece-card img{height:240px}.portfolio-piece img{height:48dvh}.reader-controls{justify-content:center}.reader-controls button{padding:10px 13px}.studio-art-left{left:9.5%;width:10%}.studio-art-right{left:81%;width:11%}}
