/* OLA shared experience surfaces. Source images remain unmodified. */
:root{--ola-ink:#081720;--ola-surface:#11252b;--ola-gold:#f4d297;--ola-mist:#a8dbd4;--ola-edge:#adcac32e;--ola-type:Georgia,'Times New Roman',serif}
body:has(#mapShell:not([hidden])) #app{background:radial-gradient(ellipse at 20% 0%,#674530 0%,#122b32 40%,#071219 100%)}
body:has(#mapShell:not([hidden])) .wrap{width:calc(100% - 48px);max-width:1800px}
body:has(#mapShell:not([hidden])) .top{padding:18px 0 8px}
body:has(#mapShell:not([hidden])) .footer{padding:18px 0}
#mapShell{padding:20px 0 0}.village-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.village-heading .eyebrow{font-size:10px;letter-spacing:.22em;color:var(--ola-mist)}
.village-heading h1{font:500 clamp(32px,3.5vw,56px)/1.1 var(--ola-type);letter-spacing:-.025em;margin:8px 0 0}.village-heading h1 i{color:var(--ola-gold);font-weight:400}
.village-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.village-controls button{font-size:11px;padding:10px 12px;border:1px solid var(--ola-edge);border-radius:30px;background:#0c2029df;color:#edf7f1;min-height:40px}.village-controls button:hover{background:#30504c}
.village-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.village-canvas{min-width:0;position:relative}.village-pan-hint{font-size:10px;color:#b6cfc9;letter-spacing:.045em;margin:0 0 9px}.ola-map-guide{display:none}
.cinematic-village{width:100%;overflow:auto;overscroll-behavior:contain;border:1px solid #e0c08b55;border-radius:22px;background:#0a1c25;box-shadow:0 30px 80px #0008;scrollbar-width:thin;scrollbar-color:#c9b381 #10272b}
.cinematic-scene{position:relative;aspect-ratio:3/2;width:100%;min-width:860px;isolation:isolate;overflow:hidden}.cinematic-scene>img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.village-sky-mask{position:absolute;inset:0 0 auto;height:8.2%;background:linear-gradient(90deg,#071722f5,#0c1f31f9);z-index:1}.village-sky-mask:after{content:'OLA WORLDS  /  DIFFERENT WORLDS. ONE VILLAGE.';position:absolute;left:3%;top:35%;font-size:clamp(10px,1vw,15px);letter-spacing:.25em;color:#d1d8c8}
.village-place{position:absolute;z-index:4;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #dec993a8;border-radius:16px;background:linear-gradient(145deg,#192b29f7,#111d20fa);color:#fff6de;cursor:pointer;padding:7px;box-shadow:0 8px 24px #0005;transition:transform .2s,box-shadow .2s}.village-place b{font:500 clamp(17px,1.6vw,28px)/1.05 var(--ola-type)}.village-place small{font-size:clamp(8px,.7vw,11px);margin-top:6px;color:#b9d4cb;letter-spacing:.06em}.village-place:hover,.village-place:focus-visible{transform:translateY(-4px);box-shadow:0 0 0 2px #f4d297,0 14px 35px #0008;outline:none}
.place-commons{left:18%;top:17%;width:17%;height:8.5%}.place-club{left:75%;top:17.5%;width:17%;height:8%;border-color:#c991e6}.place-origin{left:42.5%;top:39%;width:15%;height:12%}.place-classroom{left:10%;top:58.5%;width:18%;height:8.5%}.place-garden{left:75%;top:67%;width:18.5%;height:8.5%;border-color:#74c3b8}
.scene-shortcuts{position:absolute;z-index:3;display:grid;gap:2px;padding:8px;background:#102324f7;border:1px solid #d4c09155;border-radius:14px;box-shadow:0 8px 24px #0007}.scene-shortcuts button{display:block;border:0;border-radius:6px;background:transparent;color:#ebf2e5;text-align:left;padding:7px 6px;font-size:clamp(9px,.85vw,13px);min-height:28px}.scene-shortcuts button:is(:hover,:focus-visible){background:#3d615a;outline:2px solid #e4d19f}.shortcuts-commons{left:11.2%;top:25.7%;width:11.2%;height:16.7%}.shortcuts-club{left:89.4%;top:24.5%;width:10.6%;height:16.3%}.shortcuts-classroom{left:3.5%;top:67%;width:11.2%;height:17%}.shortcuts-garden{left:89.2%;top:75%;width:10.8%;height:16.5%}
.village-water-life{position:absolute;left:57%;top:67%;width:17%;height:26%;pointer-events:none;z-index:1;background:repeating-linear-gradient(171deg,transparent 0 13px,#a5fff415 15px,transparent 17px);mask-image:radial-gradient(ellipse,#000,transparent 68%);animation:village-river 8s ease-in-out infinite alternate;mix-blend-mode:screen}.village-lanterns{position:absolute;inset:25% 30% 23%;pointer-events:none;background:radial-gradient(ellipse,#ffce7c17,transparent 65%);animation:village-glow 7s ease-in-out infinite alternate}
@keyframes village-river{to{transform:translateY(13px);opacity:.4}}@keyframes village-glow{to{opacity:.35}}
body.ola-life-paused .village-water-life,body.ola-life-paused .village-lanterns{animation:none;opacity:.3}
.village-directory{background:linear-gradient(160deg,#183331f2,#091d26f7);padding:22px;border:1px solid var(--ola-edge);border-radius:22px}.village-directory>.eyebrow{font-size:9px;letter-spacing:.18em;color:var(--ola-mist)}.village-directory>h2{font:500 32px var(--ola-type);margin:7px 0 18px}.village-directory .ola-map-live-directory{position:static;width:auto;inset:auto;padding:0;background:none;border:0;box-shadow:none;gap:8px}.village-directory .ola-map-live-heading,.village-directory .ola-map-live-directory>p{display:none}.village-directory .ola-map-live-directory button,.village-ops{padding:13px 14px;background:#ffffff07;border:1px solid #ffffff22;border-radius:12px;color:#f5f4e9;min-height:65px;gap:6px;width:100%;text-align:left;display:flex;flex-direction:column;justify-content:center}.village-directory button b{font-size:14px}.village-directory button small{font-size:10px;color:#a9c6c1;line-height:1.4}.village-directory button:is(:hover,:focus-visible){background:#38584e;outline:2px solid #e5cc96}.village-ops{margin-top:9px;border-style:dashed}
.village-proposed{border-top:1px solid #ffffff20;margin-top:17px;padding-top:16px;font-size:11px;color:#a5c1be}.village-proposed summary{cursor:pointer;line-height:1.5}.village-proposed p{line-height:1.7}.village-directory-note{font-size:10px;line-height:1.7;color:#86aaa6;margin-bottom:0}
.village-preview{padding:16px 20px;background:linear-gradient(95deg,#132e30,#101e27);border:1px solid #ffffff22;border-radius:16px;margin-top:12px;min-height:116px}.village-preview .eyebrow{font-size:9px;letter-spacing:.16em;color:#b9d8c5}.village-preview h2{font:500 25px var(--ola-type);margin:6px 0}.village-preview p{font-size:12px;line-height:1.6;color:#b6cbc7;margin:0}.map-bottom{display:none}
#illustratedVillage[hidden],#cinematicVillage[hidden]{display:none}.village-geography{overflow:hidden;width:100%}.village-geography .ola-village-scene{width:122%;min-width:0}.ola-map-art-label--commons{left:39%;top:11%;width:13%;height:5%}.ola-map-art-label--classroom{font-size:12px}
#app[data-world="work"] .hero,#app[data-world="calm"] .hero{min-height:0;padding:12px 0 20px}#app[data-world="work"] .hero h1,#app[data-world="calm"] .hero h1{font-size:clamp(32px,4vw,54px)}#app[data-world="work"] .hero-visual,#app[data-world="calm"] .hero-visual{display:none}
.ola-room-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.ola-room-top .ola-room-stop{color:#f3d3bd}.ola-room-top button{min-height:42px}.commons-art-name{position:absolute;left:10%;top:8%;width:24%;height:14%;display:grid;place-content:center;text-align:center;background:#07161ff7;border:1px solid #d8c28f66;border-radius:10px;pointer-events:none}.commons-art-name b{font:500 clamp(20px,3vw,45px) var(--ola-type);color:#fff2d4}.commons-art-name small{font-size:10px;letter-spacing:.14em;color:#bdd6cc}
.ola-ops-dialog{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;background:#071b24}.ola-ops-dialog[hidden]{display:none}.ola-ops-body{overflow:auto;padding:24px max(20px,calc((100vw - 1060px)/2));flex:1}.ola-ops-body p{color:#b5cdca;line-height:1.7}.ola-ops-body form{display:grid;gap:12px;max-width:750px;margin:20px 0}.ola-ops-body input,.ola-ops-body select{background:#102e37;border:1px solid #729a9d;color:#fff;padding:12px;border-radius:10px;font:inherit}.ola-ops-body label{display:grid;gap:7px;font-size:12px}.ola-project-list{list-style:none;padding:0;display:grid;gap:10px}.ola-project-list li{display:flex;gap:15px;align-items:center;justify-content:space-between;border:1px solid #ffffff30;border-radius:15px;padding:17px;background:#ffffff07}.ola-project-list span{overflow-wrap:anywhere}.ola-project-list button,.ola-ops-body button{background:#b8ddc8;color:#082220;border:0;border-radius:10px;padding:12px;font-weight:750;cursor:pointer}.ola-project-list select{max-width:150px}.village-image-failed .cinematic-scene{background:radial-gradient(ellipse at center,#395049,#071b24)}.village-image-failed .cinematic-scene>img{opacity:0}.village-image-failed .scene-shortcuts{display:none}
@media(max-width:1100px){.village-layout{grid-template-columns:minmax(0,1fr) 245px;gap:14px}.village-directory{padding:17px}.village-heading{align-items:flex-start}.village-controls{max-width:370px}.village-place b{font-size:19px}.scene-shortcuts button{font-size:10px}}
@media(max-width:800px){body:has(#mapShell:not([hidden])) .wrap{width:calc(100% - 24px)}.village-heading{display:block;margin-bottom:14px}.village-heading h1{font-size:36px}.village-controls{justify-content:flex-start;max-width:none;margin-top:14px}.village-controls button{min-height:42px;padding:9px 12px}.village-layout{grid-template-columns:1fr}.village-directory{padding:20px}.village-directory .ola-map-live-directory{display:grid;grid-template-columns:1fr 1fr}.village-directory button{min-height:76px}.village-canvas{min-width:0}.village-geography{width:1030px}.village-directory button b{font-size:13px}.village-preview{min-height:110px}.ola-room-top{align-items:flex-start;gap:10px}.ola-room-actions{max-width:180px;gap:5px}.ola-room-top .ola-room-actions button{font-size:10px;min-height:36px;padding:7px}.ola-project-list li{flex-wrap:wrap}.commons-art-name{width:25%}}
@media(prefers-reduced-motion:reduce){.village-water-life,.village-lanterns{animation:none!important}.village-place{transition:none!important}}
.scene-shortcuts{grid-template-rows:repeat(4,minmax(0,1fr))}.scene-shortcuts button{min-height:0;padding:4px 6px;font-size:clamp(10px,.75vw,12px);white-space:nowrap}
body.ola-room-open{overflow:hidden}
/* Current founder names cover historical painted lettering without altering originals. */
.study-hall-art-name{position:absolute;left:13.4%;top:8.8%;width:19.5%;height:9.5%;display:grid;place-items:center;background:#211e16f5;color:#fff0cd;font-weight:850;letter-spacing:.035em;font-size:clamp(18px,2.8vw,42px);transform:rotate(4deg);pointer-events:none;border-radius:4px;text-shadow:0 0 18px #d8a76255}
.study-hall-art-name{width:20.5%;height:8.6%;background:#211e16;font-size:clamp(16px,2.2vw,32px);line-height:1;white-space:nowrap;letter-spacing:.02em}

/* Stage 1B: destination + disclosure + stations are one entered-Village card. */
#mapShell .village-station-menu[hidden]{display:none!important}
.scene-world-card{position:absolute;z-index:5;transition:transform .18s,filter .18s}
.scene-world-card.is-expanded{z-index:20;transform:translateY(-4px);filter:drop-shadow(0 8px 12px #0006)}
.scene-world-card>.village-place{position:relative;inset:auto;width:100%;height:100%;transform:none}
.scene-world-card>.village-place:is(:hover,:focus-visible){transform:none}
.scene-world-card>.village-expand{position:absolute;top:100%;left:0;width:100%;min-height:32px;background:#102324fa;border:1px solid #d4c09188;border-radius:0 0 9px 9px;color:#f8e6bd;font:inherit;font-size:11px;cursor:pointer}
.scene-world-card>.village-station-menu{inset:auto;top:calc(100% + 32px);left:0;width:224px;height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:6px;padding:8px;border-radius:10px}
.scene-world-card.place-club>.village-station-menu,.scene-world-card.place-garden>.village-station-menu{left:auto;right:0}
#mapShell .village-station-menu button{min-height:44px;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:8px;font-size:12px}
#mapShell .village-expand:focus-visible{outline:2px solid #f4d297;outline-offset:-3px}
.directory-world-card{min-width:0;border:1px solid #ffffff30;border-radius:12px;background:#ffffff07;transition:transform .18s}
.directory-world-card.is-expanded{transform:translateY(-3px);border-color:#e5cc96}
.village-directory .directory-world-card>button{border:0;background:transparent}
.village-directory .directory-world-card>.village-expand{min-height:44px;padding:8px 14px;border-top:1px solid #ffffff20;border-radius:0;font-size:11px}
.directory-world-card>.village-station-menu{display:grid;gap:6px;padding:8px;min-width:0}
.village-directory .village-station-menu button{border-radius:8px;background:#122c31}
@media(prefers-reduced-motion:reduce){.scene-world-card,.directory-world-card{transition:none!important}.scene-world-card.is-expanded,.directory-world-card.is-expanded{transform:none}}

/* Cover the source painting's old printed menus; only real disclosures list stations. */
.village-painted-ui-cover{position:absolute;z-index:2;pointer-events:none;display:grid;place-items:center;border-radius:12px;border:1px solid #d4c09133;background:linear-gradient(155deg,#1a302b,#091b22);box-shadow:0 8px 22px #0005;color:#d3bf8d55}
.village-painted-ui-cover span{font:36px Georgia,serif}
.cover-commons{left:11%;top:25.4%;width:11.2%;height:17%}
.cover-club{left:89.3%;top:24.3%;width:10.5%;height:16.5%}
.cover-classroom{left:3.3%;top:67%;width:11.3%;height:17%}
.cover-garden{left:89.1%;top:75%;width:10.7%;height:16.7%}

@media(max-width:800px){.village-directory .ola-map-live-directory{align-items:start}}

/* Scene-first display; the original scene and station handlers stay in place. */
.village-dock{display:flex;justify-content:center;gap:8px;padding:14px 0;flex-wrap:wrap}
.village-dock button,.village-directory-close{min-height:44px;padding:10px 16px;border:1px solid #d4c09188;border-radius:24px;background:#102324f5;color:#fff3db;font:inherit;cursor:pointer}
.village-dock button:focus-visible,.village-directory-close:focus-visible{outline:3px solid #f4d297;outline-offset:3px}
#villageDirectoryToggle{display:none}
#villageDirectory[hidden]{display:none!important}
.village-directory.is-sheet{position:fixed;z-index:1100;bottom:76px;left:50%;transform:translateX(-50%);width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 105px);overflow:auto;box-sizing:border-box;box-shadow:0 0 0 100vmax #0009}
.village-directory.is-sheet .village-controls{justify-content:flex-start;margin:14px 0}
.village-directory-close{display:block;margin-left:auto}
body.village-presenting{overflow:hidden}
body.village-presenting #app>.wrap{width:100%;max-width:none}
body.village-presenting #app>.wrap>.top,body.village-presenting #app>.wrap>.footer{display:none}
#mapShell.is-presenting{position:fixed;inset:0;z-index:500;background:#050d12;padding:0}
#mapShell.is-presenting .village-heading,#mapShell.is-presenting .village-preview,#mapShell.is-presenting .village-pan-hint{display:none}
#mapShell.is-presenting .village-layout{display:block;height:100%}
#mapShell.is-presenting .village-canvas{height:100%;display:grid;place-items:center}
#mapShell.is-presenting .cinematic-village{width:min(100vw,calc((100dvh - 78px)*1.5));border:0;border-radius:0;box-shadow:none}
#mapShell.is-presenting .cinematic-scene{min-width:0}
#mapShell.is-presenting .ola-map-scroll{max-height:calc(100dvh - 78px);max-width:100vw}
#mapShell.is-presenting .village-dock{position:fixed;bottom:0;left:0;right:0;background:#07151ce8;z-index:501;padding:10px}
#mapShell.is-presenting #villageDirectoryToggle{display:block}
@media(max-width:800px){
 #villageDirectoryToggle{display:block}
 body:has(#mapShell:not([hidden])){padding-bottom:80px}
 #mapShell .village-heading{margin-bottom:10px}
 #mapShell .village-heading h1{font-size:28px}
 #mapShell .village-preview{display:none}
 #mapShell .village-dock{position:fixed;z-index:501;bottom:0;left:0;right:0;background:#07151cf5;padding:9px 8px max(9px,env(safe-area-inset-bottom));gap:6px}
 .village-dock button{font-size:12px;padding:9px 10px}
 #mapShell .village-directory .ola-map-live-directory{grid-template-columns:1fr 1fr}
 #mapShell.is-presenting .cinematic-village{width:100vw;max-height:calc(100dvh - 78px)}
 #mapShell.is-presenting .cinematic-scene{min-width:860px}
}
@media(prefers-reduced-motion:reduce){.village-dock *,.village-directory.is-sheet{scroll-behavior:auto;transition:none}}
.village-directory.is-sheet{background:#10282b}
.village-directory.is-sheet .village-controls button{width:auto;min-height:44px;border:1px solid #adcac355;border-radius:22px;padding:10px 12px;display:block;font-size:12px}
.village-directory.is-sheet>.village-directory-close{min-height:44px;width:auto;padding:10px 18px;display:block;border:1px solid #d4c09188}
