:root{font-family:Arial,Helvetica,sans-serif;color:#f7f5eb;background:#d6dfd5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #dfc388;outline-offset:4px}button:disabled,select:disabled,input:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}#experience{height:100dvh;min-height:340px;width:100%;position:relative;overflow:hidden}#world{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#world:active{cursor:grabbing}.topbar{position:absolute;inset:0 0 auto;min-height:94px;display:flex;align-items:center;gap:24px;padding:20px 32px;background:linear-gradient(#17343ce8,#17343c00);pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;gap:12px;align-items:center;font-size:9px;letter-spacing:2px;line-height:1.8;color:white}.brand img{width:40px}.brand b{display:block;letter-spacing:4px;font-size:14px}.project{border-left:1px solid #ffffff45;padding-left:24px;font-size:12px;letter-spacing:.5px}.project small{display:block;font-size:10px;color:#d7e0d9;margin-top:6px;letter-spacing:.2px}.exit{margin-left:auto;color:white;text-decoration:none;font-size:12px;padding:12px 0}.exit:hover{text-decoration:underline}.eyebrow{color:#ddc58f;letter-spacing:1.7px;font-size:9px;font-weight:700}.welcome{position:absolute;left:40px;top:25%;max-width:335px;padding:28px;background:#17363de8;border:1px solid #ffffff28;border-radius:20px;box-shadow:0 20px 60px #0c29292b;pointer-events:none}h1{font-family:Georgia,serif;font-size:44px;font-weight:400;letter-spacing:-1px;line-height:1.09;margin:19px 0}p{font-size:13px;line-height:1.65;color:#d6e0d9}.welcome-note{display:block;color:#dfc388;font-size:11px;margin-top:20px}.room-card{position:absolute;left:28px;top:108px;max-width:340px;padding:16px 20px;background:#17363de8;border:1px solid #ffffff28;border-radius:14px;pointer-events:none;box-shadow:0 10px 30px #152e2c16}h2{font-family:Georgia,serif;font-size:26px;font-weight:400;line-height:1.15;margin:9px 0 0}.room-card p{font-size:12px;line-height:1.6;margin:12px 0 0;max-height:140px;overflow:auto;pointer-events:auto}.status{position:absolute;top:100px;left:50%;transform:translateX(-50%);color:#18393d;background:#f8f5e6;padding:10px 18px;border-radius:20px;font-size:12px;pointer-events:none;box-shadow:0 4px 18px #102e2420}.bottom-bar{position:absolute;z-index:20;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(610px,calc(100% - 40px));border-radius:18px;background:#f6f5ecf5;backdrop-filter:blur(16px);box-shadow:0 12px 42px #13312a40;border:1px solid #fff;display:grid;grid-template-columns:142px minmax(0,1fr) 86px;align-items:center;padding:9px;gap:12px;color:#203c40}.bottom-bar button{min-height:52px;border-radius:11px;color:#224745;font-size:13px;white-space:nowrap}.guide{background:#244b4d;color:#fff!important;font-weight:bold;box-shadow:0 3px 9px #13353522}.guide::before{content:'▶';display:inline-block;font-size:11px;margin-right:10px}.guide.is-playing::before{content:'Ⅱ';font-size:15px}.guide:hover{background:#376364}.view-toggle{background:#e6ebe2}.view-toggle span{margin-left:7px}.view-toggle[aria-expanded=true]{background:#cddbd0}.room-picker{min-width:0;padding-left:1px}.room-picker label{display:block;color:#67796e;font-size:10px;margin:0 5px 5px;line-height:1.2}.room-picker select{border:0;width:100%;padding:3px 2px;background:transparent;color:#18383c;font-size:13px;text-overflow:ellipsis;cursor:pointer}.instructions{position:absolute;bottom:110px;left:50%;transform:translateX(-50%);color:#284941;text-align:center;background:#ffffffc9;padding:7px 14px;border-radius:20px;font-size:10px;white-space:nowrap;pointer-events:none}.view-panel{position:absolute;z-index:30;right:max(20px,calc((100% - 610px)/2));bottom:108px;width:320px;max-height:calc(100dvh - 145px);overflow:auto;border-radius:18px;background:#f8f7f1f9;color:#244341;border:1px solid #fff;box-shadow:0 18px 64px #102d3560;padding:22px;backdrop-filter:blur(18px)}.panel-heading strong{font-family:Georgia,serif;font-size:23px;font-weight:400;display:block}.panel-heading span{font-size:10px;color:#728078;display:block;margin:7px 0 22px}.field-label{display:block;font-size:11px;font-weight:bold;color:#50685d;margin:15px 0 8px}.view-panel select{width:100%;padding:12px;border:1px solid #d1dbd2;border-radius:9px;color:#213f40;background:white;font-size:13px}.zoom-label{display:flex;justify-content:space-between}.view-panel input[type=range]{width:100%;accent-color:#244b4d;margin:6px 0 10px;cursor:pointer;min-height:24px}.view-options{border-top:1px solid #dce2d9;border-bottom:1px solid #dce2d9;margin:10px 0;padding:6px 0}.view-options label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;min-height:38px;cursor:pointer}.view-options input{width:18px;height:18px;accent-color:#244b4d}.view-options label:has(input:disabled){opacity:.45}.panel-actions{display:flex;gap:8px;margin-top:12px}.panel-actions button{flex:1;min-height:42px;background:#e4eadf;border-radius:8px;color:#214646;font-size:11px}.panel-actions button:hover{background:#d3dfd0}.panel-help{font-size:10px;line-height:1.6;color:#65766c;margin:16px 0 0}.map-card{position:absolute;right:24px;top:108px;width:210px;background:#16343deF;border-radius:12px;border:1px solid #ffffff28;overflow:hidden;padding:12px}.map-card canvas{width:100%;height:auto;display:block;cursor:pointer;margin-top:10px}.map-key{font-size:9px;color:#c7d7cc;margin-top:7px}.dot{display:inline-block;width:6px;height:6px;background:#e8c778;border-radius:50%;margin-right:5px}.movement{position:absolute;bottom:125px;left:24px;text-align:center}.movement button{width:46px;height:46px;border-radius:10px;color:white;border:1px solid #fff5;background:#244b4deF;font-size:23px;margin:2px;touch-action:none;user-select:none}.movement>button{margin-bottom:4px}.movement div{display:flex}.guided-walk:not(.tour-paused) .movement{display:none}body.tools-open .instructions{visibility:hidden}body.show-welcome .room-card{display:none}#fallback,.no-script{position:absolute;top:25%;left:50%;transform:translateX(-50%);width:min(440px,90%);padding:30px;background:#17363d;border-radius:16px;z-index:40}#fallback a,.no-script a{display:block;color:#dfc388;margin-top:20px}#fallback button{padding:12px 20px;border-radius:8px;background:#dfc388;color:#17363d}dialog{width:min(1120px,96vw);max-height:94dvh;overflow:auto;border:0;border-radius:16px;padding:24px;color:#18323e;background:#f8f7f1}dialog::backdrop{background:#0b2536bb}dialog img{display:block;width:100%;height:auto;margin-top:20px}dialog p{color:#526575;font-size:13px;max-width:850px}dialog>button{float:right;min-height:44px;border:1px solid #bbc6c8;padding:10px 18px;border-radius:8px;background:white;color:#18323e}
@media(max-width:900px){.project{display:none}.welcome{left:24px;width:295px;padding:24px}.welcome h1{font-size:37px}}
@media(max-width:600px){.topbar{min-height:76px;padding:14px 18px}.brand img{width:30px}.brand{font-size:8px;gap:9px}.brand b{font-size:11px;letter-spacing:3px}.exit{font-size:11px}.welcome{top:auto;bottom:155px;left:16px;right:16px;width:auto;max-width:none;padding:20px}.welcome h1{font-size:32px;margin:12px 0}.welcome h1 br{display:none}.welcome p{font-size:12px}.welcome-note{font-size:10px;margin-top:14px}.bottom-bar{bottom:max(14px,env(safe-area-inset-bottom));width:calc(100% - 24px);grid-template-columns:100px minmax(0,1fr) 62px;gap:6px;padding:8px;border-radius:15px}.bottom-bar button{min-height:48px;font-size:11px}.guide::before{font-size:9px;margin-right:6px}.view-toggle span{margin-left:3px}.room-picker label{font-size:9px;margin-left:2px}.room-picker select{font-size:11px}.instructions{bottom:92px;font-size:9px;padding:6px 10px;max-width:94%;white-space:normal;width:max-content}.room-card{top:84px;left:14px;right:14px;width:auto;max-width:none;padding:13px 16px}.room-card h2{font-size:22px;margin-top:6px}.room-card p{max-height:100px;font-size:11px}.room-card .eyebrow{font-size:8px}.status{top:80px;font-size:11px;width:max-content;max-width:90%;text-align:center;z-index:3}.view-panel{left:12px;right:12px;bottom:90px;width:auto;max-height:calc(100dvh - 112px);padding:18px}.panel-heading strong{font-size:22px}.panel-heading span{margin-bottom:14px}.map-card{top:auto;bottom:122px;right:14px;width:140px;padding:10px}.map-key{font-size:8px}.movement{left:12px;bottom:125px}.movement button{width:38px;height:38px;font-size:20px}dialog{padding:16px}.tools-open .map-card{visibility:hidden}}
@media(max-height:600px) and (min-width:601px){.topbar{min-height:66px;padding-top:12px;padding-bottom:12px}.welcome{top:92px;padding:18px}.welcome h1{font-size:30px;margin:10px 0}.welcome p{font-size:11px}.welcome-note{margin-top:10px}.room-card,.map-card{top:82px}.view-panel{max-height:calc(100dvh - 130px)}}

/* Give the mobile model its own space instead of placing copy over the rooms. */
@media(max-width:600px){
 #experience{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;min-height:300px;background:#e9e8e2}
 #world{grid-area:3/1;min-width:0;min-height:0;align-self:stretch}
 .topbar{position:relative;inset:auto;grid-area:1/1;min-height:64px;padding:12px 16px;gap:12px;background:#17343c}
 .welcome{position:relative;inset:auto;grid-area:2/1;width:auto;max-width:none;margin:0;padding:14px 18px 8px;text-align:center;background:transparent;border:0;border-radius:0;box-shadow:none;color:#18383c}
 .welcome .eyebrow{color:#7b6133;font-size:8px;letter-spacing:1.5px}
 .welcome h1{font-size:27px;line-height:1.15;letter-spacing:-.5px;margin:6px 0}
 .welcome p{font-size:11px;line-height:1.5;color:#51665f;margin:0}
 .welcome p br{display:none}
 .welcome-note{font-size:10px;color:#7b6133;margin-top:6px}
 .instructions{position:relative;inset:auto;grid-area:4/1;justify-self:center;transform:none;margin:5px 12px 0;max-width:calc(100% - 24px);font-size:10px;background:transparent;padding:3px 0}
 .bottom-bar{position:relative;inset:auto;grid-area:5/1;transform:none;justify-self:center;width:calc(100% - 24px);margin:8px 12px max(12px,env(safe-area-inset-bottom));grid-template-columns:100px minmax(0,1fr) 62px;box-shadow:0 5px 20px #13312a20}
 .bottom-bar button{font-size:12px}
 .room-picker select{font-size:12px;min-height:27px}
 .room-card{position:relative;inset:auto;grid-area:2/1;width:auto;max-width:none;border:0;border-radius:0;padding:10px 16px;text-align:center;background:#e9e8e2;box-shadow:none;color:#18383c}
 .room-card .eyebrow{color:#7b6133}.room-card h2{font-size:22px;margin-top:4px}.room-card p{color:#51665f;margin:7px 0 0;max-height:65px}
 .view-panel{bottom:calc(82px + max(12px,env(safe-area-inset-bottom)));max-height:calc(100dvh - 170px)}
 .status{top:70px}
}
@media(max-width:600px) and (max-height:520px){
 .topbar{min-height:52px;padding:7px 14px}.brand img{width:26px}
 .welcome{padding:7px 14px 2px}.welcome .eyebrow,.welcome-note{display:none}.welcome h1{font-size:23px;margin:3px 0}.welcome p{font-size:10px}
 .instructions{font-size:9px;margin-top:2px}.bottom-bar{margin-top:4px;margin-bottom:max(6px,env(safe-area-inset-bottom));padding:5px}.bottom-bar button{min-height:44px}
}

/* Keep the welcome copy above, rather than over, the mobile building. */
@media(max-width:600px){
 .welcome{top:78px;bottom:auto;padding:12px 15px;border-radius:14px;box-shadow:0 6px 20px #0c29291a}
 .welcome .eyebrow{display:none}
 .welcome h1{font-size:25px;line-height:1.15;margin:0 0 6px;letter-spacing:-.5px}
 .welcome p{font-size:11px;line-height:1.45;margin:0}
 .welcome p br{display:none}
 .welcome-note{font-size:10px;line-height:1.3;margin-top:7px}
 .bottom-bar{grid-template-columns:96px minmax(0,1fr) 54px;gap:5px}
 .room-picker select{min-height:32px;font-size:12px}
 .guide::before{content:'';width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid currentColor;margin-right:6px}
 .guide.is-playing::before{width:7px;height:10px;border-top:0;border-bottom:0;border-left:2px solid currentColor;border-right:2px solid currentColor}
 .view-toggle span{display:none}
}
@media(max-width:600px) and (max-height:500px){.welcome{padding:8px 12px}.welcome h1{font-size:21px}.welcome p{display:none}.welcome-note{margin-top:4px}}
