
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#dbe6e9;color:#253a3b;font-family:Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:3px solid #8e6b42;outline-offset:4px}#scene{width:100vw;height:100dvh;display:block;touch-action:none}header{position:absolute;left:32px;top:28px;pointer-events:none}header small{font-size:11px;letter-spacing:.28em}h1{font:normal 36px Georgia,serif;line-height:1.1;margin:10px 0 7px}header p{margin:0;font-size:12px;color:#5f7474}#labels{position:absolute;inset:0;pointer-events:none}.pin{position:absolute;transform:translate(-50%,-100%);border:1px solid #fff8;border-radius:20px;background:#fffffff2;box-shadow:0 3px 14px #253a3b22;padding:9px 17px;pointer-events:auto;font-size:13px}.pin.selected{background:#244d4a;color:white;border-color:#244d4a}.pin::after{content:'';position:absolute;left:50%;bottom:-7px;height:7px;width:1px;background:#68847d}.toolbar{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:5px;padding:6px;background:#fffffff0;border:1px solid #fff;border-radius:30px;box-shadow:0 8px 30px #243b391c;white-space:nowrap}.toolbar button{border:0;background:none;padding:12px 18px;border-radius:24px;font-size:13px}.toolbar button.active{color:white;background:#244d4a}.toolbar .divider{height:24px;width:1px;background:#dae3df;align-self:center;margin:0 3px}.icon{width:43px;height:43px;padding:0!important}.zooms{position:absolute;right:25px;bottom:26px;display:grid;gap:6px}.zooms button{border:1px solid white;background:#fffffff0;border-radius:50%;font-size:25px;width:42px;height:42px}.hint{position:absolute;left:28px;bottom:35px;font-size:11px;color:#5c7372;line-height:1.65;max-width:210px}#about-button{position:absolute;right:28px;top:29px;border:1px solid #ffffffb0;background:#ffffffe6;border-radius:22px;padding:11px 18px;font-size:12px}#house-card{position:absolute;right:28px;top:92px;width:260px;border:1px solid #fff;border-radius:18px;background:#fffffff2;padding:21px;box-shadow:0 10px 35px #2c46431c}#house-card h2{font:normal 27px Georgia,serif;margin:0 0 12px}#house-description{font-size:12px;line-height:1.7;margin:0 0 17px;color:#617575}#photos-button{border:0;border-radius:20px;background:#244d4a;color:white;font-size:12px;padding:11px 16px}#close-card{position:absolute;right:12px;top:9px;background:none;border:0;font-size:20px;color:#607573}dialog{border:0;border-radius:22px;color:#253a3b;padding:26px;max-width:min(520px,calc(100vw - 28px));box-shadow:0 20px 100px #142c3840}dialog::backdrop{background:#142b34aa;backdrop-filter:blur(8px)}dialog h2{font:normal 28px Georgia,serif;margin:0 0 15px}dialog p{font-size:13px;line-height:1.8;color:#58706f}.close-dialog{float:right;border:0;background:#eef2ef;width:32px;height:32px;border-radius:50%;font-size:22px}#export-button{background:#244d4a;color:white;border:0;padding:12px 18px;border-radius:22px}#gallery{max-width:calc(100vw - 32px);width:1020px;height:calc(100dvh - 44px);padding:20px;background:#f7f8f4}#gallery header{position:static;pointer-events:auto;display:flex;align-items:center;justify-content:space-between;height:36px}#gallery-title{font:24px Georgia,serif;margin:0}#gallery-image{display:block;width:100%;height:calc(100% - 124px);object-fit:contain;margin-top:14px}#gallery footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:10px}#photo-caption{font-size:13px;margin:0 0 6px}#photo-method{font-size:10px;color:#6b7d77;margin:0}#gallery footer button{border:1px solid #d6dfd8;background:#fff;width:40px;height:40px;border-radius:50%;font-size:21px}#gallery-nav{display:flex;gap:8px}[hidden]{display:none!important}
@media(max-width:650px){header{left:20px;top:max(23px,env(safe-area-inset-top))}header small{font-size:9px}h1{font-size:28px;margin-top:8px}header p{display:none}#about-button{top:24px;right:18px;width:35px;height:35px;padding:0;font-size:0}#about-button::after{content:'i';font:italic 18px Georgia,serif}.toolbar{bottom:max(19px,env(safe-area-inset-bottom));gap:2px;padding:5px;max-width:calc(100vw - 28px)}.toolbar button{font-size:12px;padding:11px 14px}.toolbar .icon{width:35px;height:37px}.desktop{display:none}.zooms{right:17px;bottom:86px}.zooms button{width:36px;height:36px;font-size:22px}.hint{display:none}.pin{font-size:12px;padding:8px 13px}#house-card{top:auto;left:18px;right:64px;bottom:85px;width:auto;padding:15px 18px;border-radius:15px}#house-card h2{font-size:23px;margin-bottom:6px}#house-description{font-size:11px;line-height:1.5;margin:0 0 10px}#photos-button{padding:8px 13px;font-size:11px}#gallery{padding:14px;height:calc(100dvh - 26px);max-width:calc(100vw - 18px);border-radius:16px}#gallery-image{height:calc(100% - 128px)}#gallery-title{font-size:22px}#photo-caption{font-size:11px}#photo-method{font-size:9px}}
#scene{position:fixed;inset:0;z-index:0}body>header,#about-button,.toolbar,.zooms,#house-card,.hint{z-index:3}#labels{z-index:2}
body>header a{color:inherit;text-decoration:none;pointer-events:auto}
.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}
#explore-panel{position:absolute;z-index:3;left:28px;top:143px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#mode-switch,#lighting-switch{display:flex;padding:4px;gap:3px;border:1px solid #ffffffc0;background:#fffffff0;border-radius:24px;box-shadow:0 4px 18px #263d3a12}
#mode-switch button,#lighting-switch button{border:0;background:none;padding:10px 17px;border-radius:20px;font-size:12px;min-height:38px}
#mode-switch button[aria-pressed=true],#lighting-switch button[aria-pressed=true]{background:#244d4a;color:#fff}
#lighting-switch{padding:3px;background:#ffffffcf}
#lighting-switch button{padding:7px 14px;min-height:32px;font-size:11px}
#navigation-help{position:absolute;z-index:3;left:28px;bottom:27px;max-width:285px;font-size:11px;line-height:1.65;color:#526b68;margin:0;pointer-events:none}
#movement{position:absolute;z-index:4;left:28px;bottom:106px;display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:6px;touch-action:none;user-select:none}
#movement button,#altitude button{border:1px solid #ffffffb0;border-radius:16px;background:#fffffff0;box-shadow:0 4px 18px #263d3a18;min-width:48px;min-height:48px;font-size:24px;touch-action:none;user-select:none;-webkit-user-select:none}
#movement [data-move=forward]{grid-column:2}
#movement [data-move=left]{grid-column:1;grid-row:2}
#movement [data-move=backward]{grid-column:2;grid-row:2}
#movement [data-move=right]{grid-column:3;grid-row:2}
#movement button:active,#altitude button:active{background:#244d4a;color:white}
#altitude{position:absolute;z-index:4;right:28px;bottom:112px;display:grid;gap:7px;touch-action:none}
#altitude button{display:grid;align-content:center;gap:2px;line-height:1}
#altitude span{font-size:9px;letter-spacing:.02em}
body:not([data-navigation=orbit]) .zooms{display:none}
.room-picker{display:flex;align-items:center;gap:12px;font-size:11px;margin-top:12px;color:#58706f}
#room-select{flex:1;min-width:0;border:1px solid #d6dfd8;border-radius:9px;background:#fff;color:#253a3b;font:inherit;font-size:12px;padding:8px;min-height:36px}
#gallery-image{height:calc(100% - 174px);margin-top:12px}
body[data-lighting=evening]>header,body[data-lighting=evening] #navigation-help{color:#f4f0e6;text-shadow:0 1px 4px #10243366}
body[data-lighting=evening]>header p{color:#edf1f3}
@media(max-width:650px){
 #explore-panel{top:104px;left:18px;gap:7px}
 #mode-switch button{font-size:12px;padding:9px 16px;min-height:38px}
 #lighting-switch button{padding:5px 14px;min-height:29px}
 #navigation-help{left:20px;right:20px;top:201px;bottom:auto;max-width:none;font-size:10px;line-height:1.5}
 #movement{left:18px;bottom:96px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px}
 #movement button,#altitude button{min-width:44px;min-height:44px;border-radius:13px;font-size:22px}
 #altitude{right:18px;bottom:96px;gap:5px}
 body:not([data-navigation=orbit]) #house-card{left:18px;right:18px;bottom:222px}
 body:not([data-navigation=orbit]) #house-description{display:none}
 #gallery-image{height:calc(100% - 187px)}
 .room-picker{display:block;font-size:10px;margin-top:9px}
 #room-select{display:block;width:100%;margin-top:4px;font-size:12px;min-height:36px}
}
