:root{color-scheme:light;font-family:Arial,sans-serif;color:#292822;background:#e9e6de}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #d7d2c6;background:#f9f7f0;padding:12px 17px;border-radius:3px}button:hover{background:#fff}button:focus-visible,a:focus-visible{outline:3px solid #8a6635;outline-offset:3px}button:disabled{opacity:.65;cursor:wait}#gallery{height:100dvh;min-height:480px;position:relative;overflow:hidden}#viewport{position:absolute;inset:0;touch-action:none}canvas{display:block;width:100%;height:100%}.topbar{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;padding:26px 32px;background:linear-gradient(#f5f1e8e8,transparent);pointer-events:none}.brand{font-family:Georgia,serif;font-size:25px;letter-spacing:5px}.brand span{font-size:14px;letter-spacing:4px}.brand small{font-family:Arial,sans-serif;display:block;font-size:9px;letter-spacing:3px;margin-top:9px}.top-actions{display:flex;gap:7px;pointer-events:auto}.top-actions button{background:#faf8f0d9}.veil{position:absolute;inset:0;background:#ece8de9e;backdrop-filter:blur(3px);display:grid;place-items:center;z-index:5}.welcome-card{padding:35px;max-width:650px;text-align:center}.eyebrow{font-size:10px;letter-spacing:3px;color:#8a6c42;font-weight:bold}h1{font:normal clamp(30px,4vw,48px)/1.17 Georgia,serif;margin:23px 0}h1 em{font-weight:normal;color:#867052}p{line-height:1.65}#enter{background:#302f29;color:#fff;border:0;padding:17px 32px;margin-top:15px}.welcome-card small,#status{font-size:12px;color:#68645d}.welcome-card small{display:block}#caption{position:absolute;left:32px;bottom:105px;max-width:55%;padding:15px 20px;background:#fbf9f0e8;border-left:2px solid #ab8c58;pointer-events:none}#counter{display:block;font-size:9px;letter-spacing:2px;color:#817052}#currentTitle{display:block;font:normal 21px Georgia,serif;margin-top:7px}#detailsBtn{pointer-events:auto;border:0;background:none;padding:9px 0 0;font-size:12px}.bottom{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;gap:5px;white-space:nowrap}.bottom button{background:#faf8f0f2}.hint{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;color:#4b4940;pointer-events:none}.move-pad{position:absolute;bottom:95px;right:25px;text-align:center}.move-pad button{width:44px;height:42px;padding:0;margin:2px;touch-action:none;background:#faf8f0e8}.move-pad>div{display:flex}dialog{border:1px solid #d2c6b3;border-radius:5px;max-width:min(850px,94vw);max-height:90dvh;padding:36px;background:#faf8f2;color:#292822;box-shadow:0 20px 70px #0004}dialog::backdrop{background:#24221dc9;backdrop-filter:blur(4px)}dialog h2{font:normal 28px Georgia,serif;margin:12px 0}.close{position:absolute;right:8px;top:8px;border:0;background:#faf8f2;z-index:1;font-size:24px;padding:4px 12px}#detail[open]{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}#detailImage{width:100%;max-height:65vh;object-fit:contain}.detail-text p{font-size:14px}.note{font-size:11px!important;color:#787268}#artLink{display:inline-block;margin-top:14px;background:#302f29;color:#fff;text-decoration:none;padding:13px 19px}#works{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}#works button{text-align:left;display:flex;flex-direction:column;gap:10px;font-size:12px}#works img{width:100%;height:140px;object-fit:contain;background:#eae5dc}#works small{color:#786446}#help{max-width:550px}.is-hidden,[hidden]{display:none!important}@media(max-width:600px){.topbar{padding:18px}.brand{font-size:19px;letter-spacing:3px}.brand span{display:block;font-size:11px}.brand small{display:none}.top-actions button{padding:9px 12px}.welcome-card{padding:24px}.bottom{bottom:30px;gap:3px}.bottom button{padding:12px}#caption{left:14px;bottom:170px;max-width:85%;padding:12px}#currentTitle{font-size:18px}.move-pad{right:12px;bottom:85px}#detail[open]{grid-template-columns:1fr;gap:10px}#detailImage{max-height:35vh}dialog{padding:27px 20px}#works{grid-template-columns:repeat(2,1fr)}.hint{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.top-actions select{max-width:165px;font:inherit;font-size:12px;border:1px solid #d7d2c6;border-radius:3px;padding:10px;color:#302f29;background:#faf8f0ed;pointer-events:auto}.top-actions{flex-wrap:wrap;justify-content:flex-end;max-width:65%}audio{width:100%;margin-top:8px}#audioStatus{font-size:11px;color:#776c5c}.topbar{z-index:6}.veil{padding-top:90px}@media(max-width:600px){.top-actions{max-width:70%;gap:4px}.top-actions select{max-width:130px;padding:8px;font-size:11px}.top-actions button{padding:7px 10px}.welcome-card h1{font-size:28px}.welcome-card p{font-size:13px}.welcome-card{padding-top:35px}}
#editorBar{position:absolute;z-index:7;top:95px;left:18px;right:18px;padding:12px;background:#fff8e8f5;border:1px solid #b69868;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}#editorBar button{padding:8px 12px}#editorStatus{width:100%;color:#786044}#placeWorks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#placeWorks button{font-size:12px;text-align:left}#placeWorks img{width:100%;height:110px;object-fit:contain;display:block;margin-bottom:8px}#removePainting{margin-bottom:15px;color:#8a3020}@media(max-width:600px){#editorBar{top:105px;font-size:11px}#editorBar button{padding:6px}#placeWorks{grid-template-columns:repeat(2,1fr)}}

#cafe{max-width:520px;padding:35px;background:#faf6ee;color:#37362f;border:1px solid #d2c4ac;border-radius:12px}#cafeChoices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}#cafeChoices button{padding:18px;background:#efe6d7;border:1px solid #d3c1a4;border-radius:6px;color:#37362f;cursor:pointer}#refreshmentTray{position:fixed;left:16px;top:105px;z-index:8;max-width:calc(100% - 32px);padding:12px;background:#faf6eeed;border:1px solid #d3c1a4;border-radius:8px;font-size:12px}#refreshmentTray[hidden]{display:none}#refreshmentTray button{margin-left:8px;padding:8px;cursor:pointer}.move-pad button{touch-action:none}

.detail-art{min-width:0;text-align:center}#openZoom{margin:10px auto 0;display:block;font-size:13px}#visitorPreview{color:#554329;font-weight:bold;padding:8px;text-decoration:none}#artZoom{width:96vw;max-width:1400px;height:94dvh;max-height:94dvh;padding:16px;background:#252722;color:#f8f5ec;overflow:hidden}#artZoom[open]{display:flex;flex-direction:column;gap:8px}.zoom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.zoom-toolbar h2{font-size:20px;margin:0}.zoom-toolbar button{font-size:22px;padding:5px 13px}#zoomStage{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;outline-offset:-3px}#zoomImage{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center;user-select:none;pointer-events:none;will-change:transform}.zoom-controls{display:flex;align-items:center;justify-content:center;gap:10px}.zoom-controls button,#zoomClose{color:#292822}.zoom-controls output{min-width:58px;text-align:center}#zoomHint{font-size:12px;text-align:center;margin:0;color:#d2cebf}#artZoom button:disabled{cursor:default}@media(max-width:600px){#artZoom{padding:10px}.zoom-toolbar h2{font-size:16px}#zoomHint{font-size:10px}.zoom-controls button{padding:10px}}

#minimap{width:220px;height:300px;max-width:45vw;object-fit:contain}.map-controls{display:flex;gap:20px;align-items:center;margin:20px 0}.map-controls button{display:block;margin:8px 0}#favoriteWorks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}#favoriteWorks img{width:100%;height:240px;object-fit:contain}#favoriteWorks p{font-size:13px}#guestMessages article{border-bottom:1px solid #d7d2c6;padding:12px 0}#guestMessage{width:100%}.decor-fields{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.decor-fields input{width:90px}#decorTools{border-top:1px solid #cbbd9f;margin-top:25px}#extrasDialog select{max-width:100%;padding:8px}#guestForm input,#guestForm textarea{font:inherit;padding:8px}#favoriteBtn[aria-pressed=true]{color:#9c372c}@media(max-width:600px){#favoriteWorks{grid-template-columns:1fr}.top-actions{max-height:145px;overflow:auto}#editorBar{top:165px;max-height:140px;overflow:auto}}

.caption-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;pointer-events:auto}.caption-actions button{padding:8px 0;border:0;background:none;font-size:12px}#buyArtwork{background:#765a31;color:white;padding:9px 13px;text-decoration:none;font-size:12px}#subtitlePanel{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);max-width:620px;width:68%;z-index:8;text-align:center;pointer-events:none}#subtitleText{margin:0;padding:12px 18px;background:#171914c9;color:#fff;border-radius:7px;font-size:16px;line-height:1.5;text-shadow:0 1px 2px #000}#subtitlePanel>div{display:flex;justify-content:center;gap:4px;margin-top:5px}#subtitlePanel button{pointer-events:auto;padding:5px 10px;background:#242620cc;color:white;border:0}#narrationStatus{font-size:11px;background:#f8f5ebed;border-radius:4px;margin:4px 0}#narrationStatus:empty{display:none}#fullscreenStatus{position:absolute;top:160px;left:20px;font-size:12px;background:#faf8f0e8}#fullscreenStatus:empty{display:none}#gallery:fullscreen{width:100vw;height:100dvh;background:#e9e6de}#gallery:-webkit-full-screen{width:100vw;height:100vh}@media(max-width:600px){#subtitlePanel{width:90%;bottom:95px}#subtitleText{font-size:13px}body:has(#subtitlePanel:not([hidden])) #caption{bottom:240px;max-width:90%}}
#gallery:has(#subtitlePanel:not([hidden])) #caption{bottom:240px}#subtitleReplay,#subtitleStop,#subtitleToggle{min-width:32px}

#welcome{background:radial-gradient(ellipse at 50% 35%,#f5efdf 0%,#e9ddc7 60%,#d7c6a7 100%);backdrop-filter:none}#gallery:not(.entered) #viewport{visibility:hidden}#gallery:not(.entered) .top-actions button,#gallery:not(.entered) #caption,#gallery:not(.entered) .bottom,#gallery:not(.entered) .move-pad,#gallery:not(.entered) .hint{visibility:hidden}.welcome-card:before{content:"";display:block;margin:0 auto 15px;width:min(370px,75vw);height:86px;background:url('./gallery-logo.webp') center/contain no-repeat}.welcome-card #status{min-height:20px}.welcome-card h1{margin:12px 0}

#walkStatus{position:absolute;left:50%;bottom:74px;transform:translateX(-50%);background:#faf8f0e8;padding:6px;font-size:12px}#walkStatus:empty{display:none}

.zoom-watermarks{position:absolute;inset:8%;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;pointer-events:none;z-index:2;overflow:hidden}.zoom-watermarks span{font:italic clamp(15px,2vw,30px) Georgia,serif;color:rgba(255,255,255,.25);text-shadow:0 1px 2px rgba(0,0,0,.5);transform:rotate(-24deg);white-space:nowrap;user-select:none}

#spaceSelect{display:none!important}

#welcome{display:flex;align-items:center;justify-content:center;gap:15px;overflow:auto;padding:95px 24px 25px}.welcome-host{width:clamp(160px,25vw,310px);max-height:76dvh;object-fit:contain;flex-shrink:0}.welcome-card{max-width:590px}@media(max-width:650px){#welcome{flex-direction:column;justify-content:flex-start;gap:0;padding:120px 16px 25px}.welcome-host{width:150px;height:29dvh;min-height:150px}.welcome-card{padding:12px}.welcome-card:before{height:52px;margin-bottom:8px}.welcome-card h1{font-size:25px}.welcome-card p{margin:8px 0}}

/* Wide architectural welcome, scoped to this module. */
#welcome{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,460px);grid-template-areas:"copy door";gap:clamp(20px,4vw,65px);padding:105px clamp(24px,5vw,85px) 32px;align-items:center;background:radial-gradient(ellipse at 72% 30%,#faf6ec 0%,#e7dcc5 65%,#d5c1a2 100%)}
.welcome-door-stage{grid-area:door;position:relative;width:100%;max-width:460px;height:min(740px,calc(100dvh - 150px));min-height:560px;align-self:end;justify-self:center;isolation:isolate}
.welcome-door-stage:before{content:"";position:absolute;left:-8%;right:-8%;height:45px;bottom:-10px;background:linear-gradient(#c4b496,#f0e7d6);transform:perspective(220px) rotateX(24deg);box-shadow:0 14px 24px #77634526;z-index:-1}
.welcome-door{position:absolute;inset:0 7% 12px;border:13px solid #b5a184;border-bottom-width:7px;border-radius:9px 9px 0 0;background:linear-gradient(90deg,#3b3029,#6c5744 50%,#3b3029);box-shadow:0 0 0 3px #e2d4b7,0 0 0 12px #f0e8d8,0 12px 34px #53432d3d;overflow:hidden}
.welcome-door-leaf{position:absolute;top:53px;bottom:0;width:49.7%;background:linear-gradient(95deg,#44332a,#785c45 48%,#513c2e);border:3px solid #b99b65;box-shadow:inset 0 0 0 8px #523d2d}
.welcome-door-leaf.left{left:0}.welcome-door-leaf.right{right:0}
.welcome-door-leaf:before{content:"";position:absolute;inset:19px 16px 24%;border:2px solid #bb9b66;background:linear-gradient(135deg,#fff2c20d,#17191445);box-shadow:inset 0 0 18px #16110c66}
.welcome-door-leaf:after{content:"";position:absolute;top:49%;width:6px;height:55px;background:linear-gradient(90deg,#926d31,#efd6a0,#a48248);border-radius:4px;box-shadow:2px 3px 4px #0005}.welcome-door-leaf.left:after{right:12px}.welcome-door-leaf.right:after{left:12px}
.door-sign{position:absolute;left:0;right:0;top:15px;text-align:center;color:#f0dfb9;font:14px Georgia,serif;letter-spacing:3px}
#welcome .welcome-host{position:absolute;left:66%;bottom:0;transform:translateX(-50%);height:86%;width:auto;max-width:none;max-height:none;min-height:0;object-fit:contain;z-index:2;filter:drop-shadow(7px 8px 5px #24190d25)}
.welcome-host-name{position:absolute;left:50%;bottom:-19px;transform:translateX(-50%);white-space:nowrap;font:13px Georgia,serif;letter-spacing:1px;color:#67513a}
#welcome .welcome-card{grid-area:copy;justify-self:center;width:100%;max-width:570px;padding:15px 0}#welcome .welcome-card h1{font-size:clamp(28px,3.1vw,43px)}#welcome .welcome-card:before{width:min(390px,100%);height:96px}#welcome #enter{padding:18px 35px}
@media(max-width:760px){#welcome{grid-template-columns:1fr;grid-template-areas:"door" "copy";padding:110px 24px 35px;gap:38px;justify-items:center;align-content:start}.welcome-door-stage{width:min(340px,95%);height:510px;min-height:0}#welcome .welcome-card{max-width:520px;padding:0}#welcome .welcome-card:before{height:60px}#welcome .welcome-card h1{font-size:28px}.door-sign{font-size:12px}}
@media(max-height:650px) and (min-width:761px){#welcome{padding-top:90px;align-items:start}.welcome-door-stage{height:560px;min-height:560px}}

@media(max-width:760px){#welcome .welcome-host{left:60%}}
