:root{color-scheme:dark;--cream:#f0e4ce;--muted:#c4b596;--gold:#bfa574;--ink:#211c14;--line:rgba(231,213,179,.23);font-family:'Helvetica Neue',Helvetica,sans-serif;font-weight:400}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#241e15;color:var(--cream)}body{height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #e4c89c;outline-offset:6px}button{border:0;background:none}button,dialog{touch-action:manipulation}a{color:inherit;text-decoration:none}[hidden]{display:none!important}#world,#world canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#world canvas{touch-action:none;cursor:grab}#world canvas:active{cursor:grabbing}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(17,14,9,.55),transparent 24%,transparent 70%,rgba(17,14,9,.6)),radial-gradient(ellipse at 58% 45%,transparent 28%,rgba(18,14,8,.3));z-index:1}#transition{position:fixed;inset:0;z-index:12;pointer-events:none;background:#211b12;opacity:0;transition:opacity .36s ease}.masthead{position:fixed;z-index:4;top:0;left:0;right:0;padding:33px 40px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.masthead>*{pointer-events:auto}.wordmark{display:flex;align-items:center;gap:14px;font-family:Georgia,'Times New Roman',serif;font-size:24px;letter-spacing:.22em;text-shadow:0 1px 8px #1f190f66}.wordmark svg{width:27px;height:39px;fill:none;stroke:var(--gold);stroke-width:1.1}.wordmark small{display:block;font-family:'Helvetica Neue',sans-serif;font-size:8px;letter-spacing:.28em;margin-top:7px;color:#d5c5a6}.header-right{display:flex;gap:25px;align-items:center}.edition{font-size:9px;letter-spacing:.22em;color:var(--muted);margin-right:14px}.icon-button{min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center;gap:9px;padding:4px}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1;opacity:.8}.icon-button span:not(.about-symbol){font-size:10px;letter-spacing:.04em;color:#d5c5aa}.about-symbol{border:1px solid #d5c5aa66;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;font:italic 14px Georgia}#welcome{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(17,14,9,.77),rgba(22,17,10,.23) 42%,transparent 72%);transition:opacity .75s cubic-bezier(.2,.7,.2,1),transform .75s cubic-bezier(.2,.7,.2,1)}#welcome.leaving{opacity:0;transform:translateY(-14px);pointer-events:none}.welcome-copy{position:absolute;top:50%;left:8.2%;transform:translateY(-44%)}.eyebrow{font-size:9px;letter-spacing:.22em;line-height:1.6;color:#d5c1a0;font-weight:500;margin:0}.short-rule{display:inline-block;width:30px;height:1px;background:var(--gold);vertical-align:middle;margin-right:13px}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(58px,6.4vw,102px);font-weight:400;line-height:1.04;letter-spacing:-.054em;margin:28px 0 25px}h1 em{font-weight:400;font-style:italic;color:#d8c09a}.intro{font-family:Georgia,serif;font-size:17px;line-height:1.65;color:#ddd0b9;margin-bottom:31px}.enter-button{display:flex;align-items:center;justify-content:space-between;gap:45px;border:1px solid #d9c39970;padding:17px 23px;min-width:242px;font-size:11px;letter-spacing:.035em;background:#a1895520;transition:background .3s,border-color .3s}.enter-button:hover{background:#c4a87930;border-color:#e6cda6}.button-arrow{font-size:19px;color:#d9c399}.welcome-note{font-size:8px;letter-spacing:.15em;color:#b4a185;margin:18px 0 0}.welcome-side{position:absolute;right:39px;top:38%;display:flex;flex-direction:column;align-items:center;gap:20px;color:#d1bb9580;font-size:8px;letter-spacing:.18em;writing-mode:vertical-rl}.welcome-side i{width:1px;height:70px;background:#cdb38650}.welcome-footer{position:absolute;left:40px;right:40px;bottom:29px;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.13em;color:#b2a085}.welcome-footer span:nth-child(2){color:#d0ba96}.location{position:fixed;top:124px;left:40px;z-index:2;pointer-events:none;text-shadow:0 1px 12px #0009}.location h2{font:400 28px/1.2 Georgia,serif;letter-spacing:-.02em;margin:11px 0}.location p:not(.eyebrow){font:12px/1.65 'Helvetica Neue',sans-serif;color:#d2c1a3;margin:0}.bottom-nav{position:fixed;z-index:4;bottom:28px;left:40px;display:flex;gap:19px;align-items:center}.bottom-nav button{padding:10px 0;display:flex;align-items:center;gap:10px;font-size:11px;color:#e2d3b8}.bottom-nav svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1}.bottom-nav button:hover,.text-button:hover{color:#fff5e3}.nav-divider{height:18px;width:1px;background:var(--line)}.movement-hint{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:4px;color:#d5c6a9;font-size:10px;white-space:nowrap}.movement-hint span:not(.key){margin-left:5px}.key{border:1px solid #d1bd9145;border-radius:2px;display:grid;place-items:center;font-size:8px;width:19px;height:22px}.movement-hint i{width:1px;height:12px;background:var(--line);margin:0 9px}.right-controls{position:fixed;bottom:29px;right:40px;display:flex;align-items:center;gap:18px;z-index:4}.text-button{font-size:9px;color:#b9a888;padding:15px 0}.circle-button{border:1px solid var(--line);border-radius:50%;width:34px;height:34px;font-family:Georgia,serif}.hotspot{position:absolute;z-index:3;border:1px solid #e7d2aa50;background:#241e12ae;backdrop-filter:blur(8px);padding:12px 15px;display:flex;gap:12px;align-items:center;font-size:10px;letter-spacing:.025em;transform:translate(-50%,-50%);white-space:nowrap}.hotspot-dot{width:5px;height:5px;border-radius:50%;background:#e8cd97;box-shadow:0 0 0 5px #e8cd9717}.hotspot:hover{background:#59472bea}#reticle{position:fixed;z-index:2;top:50%;left:50%;width:3px;height:3px;border-radius:50%;background:#f9e8c685;pointer-events:none}#map-panel{position:fixed;z-index:8;bottom:82px;left:30px;width:300px;padding:22px 26px;background:#292319ed;border:1px solid var(--line);box-shadow:0 20px 70px #0005;backdrop-filter:blur(18px)}.panel-heading{display:flex;justify-content:space-between;align-items:center}.close-button{font-size:26px;font-weight:200;color:#d8c5a5;line-height:1;min-width:40px;min-height:40px;padding:5px}.panel-heading .close-button{margin:-10px -12px -10px 0}h3{font:400 23px/1.3 Georgia,serif;margin:12px 0 0}.floor-plan{display:block;width:178px;height:211px;margin:7px auto 5px;overflow:visible}.floor-plan path{fill:none}.plan-wall{stroke:#b9a786;stroke-width:2}.plan-fine{stroke:#89744c;stroke-width:.7}.plan-tree{fill:none;stroke:#a38e5e;stroke-width:.7}#map-position{fill:#edd6aa;stroke:#edd6aa30;stroke-width:8}.floor-plan text{font-family:'Helvetica Neue',sans-serif;font-size:6px;letter-spacing:1.1px;fill:#b6a27e;text-anchor:middle}.room-list{border-top:1px solid var(--line)}.room-list button{display:flex;align-items:center;width:100%;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);text-align:left;font:13px Georgia,serif}.room-list button span{font:9px 'Helvetica Neue',sans-serif;color:#bda479}.room-list button span:last-child{margin-left:auto;font-size:15px}.map-footnote{font-size:9px;color:#b6a181;line-height:1.5;margin:15px 0 0}dialog{border:1px solid #b8a17866;background:#292218;color:var(--cream);padding:0;max-width:740px;width:calc(100% - 48px);max-height:calc(100svh - 80px);overflow:auto;box-shadow:0 40px 100px #0007}dialog::backdrop{background:#110e0bbb;backdrop-filter:blur(12px)}#dialog-close{position:absolute;right:13px;top:13px;z-index:1}#dialog-body{padding:48px}#dialog-body h2{font:400 39px/1.14 Georgia,serif;letter-spacing:-.025em;margin:14px 0 23px}#dialog-body p{font:15px/1.8 Georgia,serif;color:#d8c8ad}#dialog-body .eyebrow{font:9px/1.6 'Helvetica Neue',sans-serif;color:#c4ae85;letter-spacing:.2em}#dialog-body .source-note{font:10px/1.7 'Helvetica Neue',sans-serif;color:#b3a181;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}#dialog-body blockquote{font:italic 24px/1.5 Georgia,serif;border-left:1px solid var(--gold);margin:28px 0;padding-left:24px;color:#e7d7b9}.dialog-action{border:1px solid var(--line);padding:14px 20px;margin-top:12px;font-size:11px}.artwork-image{max-height:47svh;max-width:100%;display:block;object-fit:contain;margin:10px auto 26px;box-shadow:0 10px 35px #0005}.artwork-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}.artwork-card{text-align:left;padding:0}.artwork-card img{width:100%;aspect-ratio:1.12;object-fit:contain;background:#201b13;padding:12px;display:block}.artwork-card span{display:block;font:17px/1.4 Georgia,serif;margin-top:10px}.artwork-card small{color:#b2a182;font-size:9px;line-height:1.6}.help-grid{display:grid;grid-template-columns:120px 1fr;gap:17px;margin:26px 0;font-size:12px;color:#d8c7a7}.help-grid dt{color:#a8916b}.help-grid dd{margin:0}#joystick,.touch-hint{display:none}#error{position:fixed;inset:0;z-index:20;background:linear-gradient(#20180eec,#20180eec),url('assets/invitation.webp') center/cover;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px}#error h2{font:40px/1.2 Georgia,serif}#error p{max-width:480px;line-height:1.7}#error button{border:1px solid var(--line);padding:15px 24px;margin:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.edition{display:none}.masthead{padding:24px}.header-right{gap:14px}.welcome-copy{left:7%}.welcome-footer{left:24px;right:24px}.welcome-footer span:nth-child(2){display:none}.welcome-side{right:25px}.location{left:25px;top:115px}.movement-hint{display:none}.bottom-nav{left:25px}.right-controls{right:25px}.location h2{font-size:24px}.location p:not(.eyebrow){max-width:245px}.artwork-list{gap:18px}}
@media(max-width:540px){.wordmark{font-size:19px;letter-spacing:.17em;gap:9px}.wordmark small{font-size:6px;letter-spacing:.23em}.wordmark svg{width:23px;height:34px}.masthead{padding:22px 20px}.header-right{gap:7px}.icon-button span:not(.about-symbol){display:none}#welcome{background:linear-gradient(90deg,#17130cbc,transparent),linear-gradient(0deg,#17130c88,transparent 75%)}.welcome-copy{left:27px;right:20px;top:48%;transform:translateY(-36%)}h1{font-size:clamp(54px,13vw,75px);margin:23px 0}.eyebrow{font-size:8px;letter-spacing:.15em}.intro{font-size:16px}.welcome-side{display:none}.welcome-footer{left:25px;right:25px;bottom:max(24px,env(safe-area-inset-bottom));font-size:7px;letter-spacing:.1em;gap:25px}.welcome-footer span:last-child{text-align:right}.enter-button{min-width:225px;width:max-content;padding:16px 19px}.location{top:104px;left:24px}.location h2{font-size:23px}.location p:not(.eyebrow){font-size:11px;max-width:220px}.bottom-nav{bottom:max(24px,env(safe-area-inset-bottom));left:24px;gap:16px}.bottom-nav button{font-size:10px}.right-controls{bottom:max(25px,env(safe-area-inset-bottom));right:22px;gap:14px}.right-controls .text-button{font-size:8px}.circle-button{width:28px;height:28px}#map-panel{left:20px;bottom:78px;max-width:calc(100vw - 40px);max-height:calc(100svh - 170px);overflow:auto}#dialog-body{padding:43px 25px 30px}#dialog-body h2{font-size:31px}#dialog-body p{font-size:14px}dialog{width:calc(100% - 30px);max-height:calc(100svh - 40px)}.hotspot{font-size:9px;padding:11px 13px}.artwork-list{gap:20px 14px}.artwork-card span{font-size:15px}}
@media(pointer:coarse){#joystick{display:block;position:fixed;z-index:5;bottom:104px;left:26px;width:100px;height:100px;touch-action:none;border-radius:50%}.joystick-ring{position:absolute;inset:5px;border:1px solid #eed9ae3c;border-radius:50%;background:#211b111f}#joystick-knob{position:absolute;left:35px;top:35px;width:30px;height:30px;border:1px solid #eed9ae65;border-radius:50%;background:#cbb08328}#joystick span{position:absolute;top:107px;width:100%;text-align:center;color:#c9b590;font-size:7px;letter-spacing:.2em;pointer-events:none}.touch-hint{display:block;position:fixed;right:26px;bottom:126px;color:#c9b590;font-size:7px;letter-spacing:.13em;writing-mode:vertical-rl;margin:0;z-index:2;pointer-events:none}.movement-hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Painting worlds extend the sanctuary's quiet bronze and editorial typography. */
.return-world{position:fixed;z-index:4;top:231px;left:40px;display:flex;align-items:center;gap:12px;padding:10px 0;min-height:44px;font-size:10px;letter-spacing:.035em;color:#eadbc0;text-shadow:0 1px 10px #000;transition:opacity .25s}.return-world span{font-size:18px}.return-world:hover{color:#fff}.inside-painting .location h2{font-size:36px}.inside-painting .location p{color:#e6d4b7}.crossing-title{position:absolute;left:10%;right:10%;top:50%;text-align:center;transform:translateY(-50%);opacity:0}.crossing .crossing-title{opacity:1}.crossing-title span{font-size:9px;letter-spacing:.32em;color:var(--gold)}.crossing-title h2{font:400 clamp(38px,6vw,80px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:24px 0}.crossing-title i{display:block;width:44px;height:1px;background:var(--gold);margin:28px auto}.artwork-actions{display:flex;flex-wrap:wrap;gap:10px}.artwork-actions .dialog-action{margin-top:0;min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:24px}.primary-action{background:#bda16d1f;border-color:#d2b47b88}.primary-action:hover{background:#bda16d36}.realm-source{display:block;margin:19px auto 16px;width:100%;height:136px;object-fit:contain}.realm-description{font:12px/1.6 Georgia,serif;color:#d5c4a6;margin:14px 0 20px}.inside-painting #map-panel{max-height:calc(100svh - 185px);overflow:auto}
@media(max-width:850px){.return-world{left:25px;top:221px}.inside-painting .location h2{font-size:30px}}
@media(max-width:540px){.return-world{left:24px;top:210px;font-size:9px}.inside-painting .location h2{font-size:29px;margin-top:9px}.inside-painting .location p{max-width:260px}.artwork-actions{flex-direction:column}.artwork-actions .dialog-action{width:100%}.realm-source{height:100px}.realm-description{font-size:11px}.inside-painting #map-panel{max-height:calc(100svh - 165px)}}
@media(max-height:570px) and (orientation:landscape){.location{top:95px}.location p{display:none}.return-world{top:164px}.inside-painting .location h2{font-size:25px}.realm-source{display:none}#map-panel,.inside-painting #map-panel{max-height:calc(100svh - 110px)}#joystick{width:85px;height:85px;bottom:88px}#joystick-knob{left:28px;top:28px}.masthead{padding-top:16px}}
#error .load-code{font:9px/1.5 'Helvetica Neue',sans-serif;letter-spacing:.15em;color:#baa480;margin:0 0 12px}#error .load-details{font:11px/1.6 'Helvetica Neue',sans-serif;max-width:480px;margin-top:20px;color:#c0ac8d}#error .load-details summary{cursor:pointer;padding:8px}#error .load-details p{overflow-wrap:anywhere;font:11px/1.6 'Helvetica Neue',sans-serif;margin:8px 0}
/* The interface yields to the physical passage through the painting. */
#explore,.masthead{transition:opacity .55s cubic-bezier(.22,.7,.15,1)}.crossing-world #explore,.crossing-world .masthead{opacity:0;pointer-events:none}.crossing-world #explore *,.crossing-world .masthead *{pointer-events:none!important}.skip-crossing{position:fixed;right:40px;bottom:32px;z-index:14;padding:12px 0;font-size:9px;letter-spacing:.1em;color:#ebd9b6;text-shadow:0 1px 10px #000;display:flex;gap:14px;align-items:center}.free-looking #world canvas{cursor:none}.free-looking .movement-hint{opacity:.35}.right-controls{gap:17px}#free-look[aria-pressed=true]{color:#f1d6a7}
@media(pointer:coarse){#free-look{display:none}}
@media(max-width:540px){.skip-crossing{right:24px;bottom:28px}.right-controls{gap:13px}#free-look{font-size:8px}}
.studio-credit{position:fixed;z-index:5;right:40px;bottom:84px;display:flex;align-items:center;gap:10px;min-height:56px;color:#d4bc94;text-shadow:0 1px 10px #211b12;transition:opacity .4s cubic-bezier(.22,.7,.15,1),color .3s}.studio-hourglass{display:block;width:43px;height:58px;flex:none}.hourglass-fallback{width:100%;height:100%;opacity:.8}.studio-credit.is-3d .hourglass-fallback{opacity:0}.studio-credit-copy{display:flex;flex-direction:column;gap:5px}.studio-credit-copy>span{font-size:8px;letter-spacing:.07em;color:#b8a483}.studio-credit-copy strong{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:400}.studio-credit-arrow{font-size:12px;margin-left:2px;opacity:.55;transition:transform .4s cubic-bezier(.22,.7,.15,1),opacity .3s}.studio-credit:hover,.studio-credit:focus-visible{color:#f3dfb8}.studio-credit:hover .studio-credit-arrow,.studio-credit:focus-visible .studio-credit-arrow{transform:translate(2px,-2px);opacity:1}.crossing-world .studio-credit{opacity:0;pointer-events:none}
@media(max-width:850px){.studio-credit{right:25px;bottom:82px}}
@media(max-width:540px){.studio-credit{right:22px;bottom:max(77px,calc(env(safe-area-inset-bottom) + 56px));gap:8px;min-height:48px}.studio-hourglass{width:35px;height:48px}.studio-credit-copy strong{font-size:9px;letter-spacing:.12em}.studio-credit-copy>span{font-size:7px}.studio-credit-arrow{font-size:11px}}
@media(max-height:570px) and (orientation:landscape){.studio-credit{bottom:76px}.studio-hourglass{width:33px;height:44px}}
/* Connected worlds keep the original Pray Land interface, with daylight contrast. */
.in-deleted-time .location,.in-deleted-time .masthead{color:#f8f2df;text-shadow:0 1px 12px #20342880}
.in-deleted-time .vignette{opacity:1;background:linear-gradient(180deg,#172d2585,transparent 32%,transparent 67%,#172d2594)}
#jolf-panel{position:fixed;z-index:35;bottom:28px;left:50%;transform:translateX(-50%);width:min(440px,calc(100vw - 32px));padding:23px 28px;background:#f2ecdfef;color:#2d4738;border:1px solid #ffffff80;border-radius:24px;box-shadow:0 10px 70px #1b312533;font-family:Arial,sans-serif}
#jolf-panel[hidden]{display:none}.jolf-heading{display:flex;justify-content:space-between;align-items:center}.jolf-heading>span{font-size:38px;font-weight:700;letter-spacing:-2px}.jolf-heading small{display:block;font-size:8px;letter-spacing:2px;margin-top:4px}.jolf-heading button{border:0;background:none;color:inherit;font-size:30px;width:44px;height:44px}#jolf-hole{font-size:11px;letter-spacing:.7px;margin:18px 0 7px}#jolf-score{font-size:13px;margin:0 0 16px}#jolf-panel label{font-size:11px;letter-spacing:1px;display:block}#jolf-panel input{width:100%;min-height:32px;accent-color:#587964;margin:2px 0 8px}.jolf-actions{display:flex;gap:10px;align-items:center}.jolf-actions button{border:0;background:#365741;color:#fcf7ed;padding:12px 16px;border-radius:22px;font:12px Arial;min-height:44px}.jolf-actions button:last-child{background:transparent;color:inherit;padding:8px}.jolf-actions button:disabled{opacity:.4}.playing-jolf .location,.playing-jolf .bottom-nav,.playing-jolf .right-controls,.playing-jolf #return-world,.playing-jolf #joystick,.playing-jolf .movement-hint,.playing-jolf .touch-hint,.playing-jolf #studio-credit{display:none!important}.playing-jolf .masthead{pointer-events:none}.playing-jolf .header-right{visibility:hidden}
@media(max-width:600px){#jolf-panel{bottom:max(14px,env(safe-area-inset-bottom));padding:16px 21px}.jolf-heading>span{font-size:31px}#jolf-hole{margin-top:12px}.in-deleted-time .location h2{font-size:31px}.in-deleted-time .location p{max-width:270px}}

@media(max-width:600px){.in-deleted-time .location{right:24px}.in-deleted-time .location h2{font-size:27px;max-width:340px}.in-deleted-time .location p:not(.eyebrow){color:#fff4dd}}
