/* Functional scene navigation, using the existing wood and paper palette. */
.scene-passport{position:absolute;right:20px;bottom:max(18px,env(safe-area-inset-bottom));z-index:8;width:76px;height:96px;padding:10px 7px 8px 11px;border:4px double #d0b778;border-radius:4px 10px 10px 4px;color:#f6e3aa;background:repeating-linear-gradient(90deg,#3b614f 0 2px,#406653 2px 4px);box-shadow:inset 5px 0 #244537,3px 3px 0 #ead8ac,5px 6px 0 #305242,6px 9px 12px #132b3655;text-align:center;transform:rotate(-6deg)}
.scene-passport:hover{filter:brightness(1.15)}
.passport-mini-kicker{display:block;font-size:5px;letter-spacing:.08em;line-height:1.6}.passport-mini-title{display:block;font:700 10px Georgia,serif;line-height:1.25;margin-top:8px}.passport-mini-star{display:block;font-size:20px;line-height:1.4}
#map-page .direction-pad{bottom:max(132px,calc(env(safe-area-inset-bottom) + 120px))}
.hall-view-tools{right:118px}
#workspace-shortcuts{position:sticky;top:0;z-index:2;padding:12px;background:#293d36;border-radius:8px}
#workspace-shortcuts button{min-height:44px}
#workspace-shortcuts button[aria-current=page]{color:#273c32;background:#ead3a1;box-shadow:0 3px #b59a64}
[data-workspace-panel]:focus{outline:none}
#account-menu{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}
#account-profile dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px}
#account-profile dt{font-weight:700}#account-profile dd{margin:0;overflow-wrap:anywhere}
#account-menu .workspace-link{margin:12px 6px 0 0;min-height:44px}
#exhibition-tasks-dialog{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.hku-entrances{display:flex;gap:10px;flex-wrap:wrap;grid-column:2;pointer-events:auto}
.hku-entrances .workspace-link{min-width:100px;min-height:44px;margin:4px 0}
.scene-prop-button{pointer-events:auto;cursor:pointer;font:inherit;line-height:1.4;-webkit-tap-highlight-color:#ffd37a55;touch-action:manipulation}
.scene-prop-button:hover{filter:brightness(1.12)}
.scene-prop-button:focus-visible{outline:4px solid #ffe29a;outline-offset:7px}
.scene-prop-button .prop-description{display:block;font-size:11px;line-height:1.6;letter-spacing:0}
.scene-prop-button .prop-action{display:block;margin-top:16px;font-size:12px;letter-spacing:0;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.scene-prop-button.notice-note{border:0;text-align:left}
.scene-prop-button.passport-object{height:230px}
/* Every building landing scene occupies the available viewport. */
.craft-room{overflow:hidden}.craft-room .room-diorama{min-height:0;width:100%;left:0}
.craft-room .room-story{margin:clamp(22px,5dvh,55px) 0 0 6%;max-width:42%}
.craft-room .room-story h2{font-size:clamp(30px,4vw,58px)}
.craft-room .room-props{position:absolute;inset:14% 7% 165px 50%;max-width:460px;margin:0}
.craft-room .notice-note{left:auto;right:0;top:0;bottom:auto;width:220px;padding:22px 18px}
.craft-room .blueprint-note{right:0;top:0;width:min(100%,300px)}
.room-hku .passport-object{left:0;top:auto;bottom:0;width:180px;height:250px;transform:rotate(-9deg)}
.room-hku .passport-object strong{font-size:22px}.room-hku .passport-object i{font-size:40px}
@media(min-width:651px){.room-hku .room-props{height:min(480px,calc(100% - 210px));bottom:auto}}
.craft-room .room-preview-note{position:absolute;left:6%;right:auto;bottom:24px;margin:0;max-width:min(540px,calc(100% - 290px));padding:12px 16px}
.craft-room .room-preview-note p{font-size:11px;line-height:1.4}.craft-room .room-preview-note small{display:none}
.room-scene-actions{position:absolute;right:24px;bottom:24px;z-index:2;display:flex;gap:10px}
.room-scene-actions .workspace-link{min-height:48px;padding:14px 22px;margin:0;border:2px solid #b9a06b;border-radius:9px;background:linear-gradient(#54725c,#294c40);box-shadow:inset 0 1px #e5d1a033,0 4px #192f27;color:#f5e6bd;font-weight:700;letter-spacing:.03em}
.hku-entrances .workspace-link{min-width:150px;margin:0}
.room-shop .room-props{inset:35% 7% 165px;max-width:none;display:flex;justify-content:center;align-items:flex-start;gap:30px}
.room-shop .reward-label{position:relative;inset:auto;flex:0 1 200px;width:200px;min-width:0}
/* Shared brass-and-wood top controls. */
.interior-toolbar .back-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #c2a46e;border-radius:9px;background:linear-gradient(#68513a,#443629);box-shadow:inset 0 1px #f6d9a044,0 3px #1c211c;font-size:12px;line-height:1.2}
.exhibition-view{margin-left:auto;display:flex;align-items:center;gap:9px;color:#dbc48e;font-size:11px;font-weight:700;letter-spacing:.05em}
.exhibition-view select{min-height:44px;max-width:210px;padding:9px 30px 9px 12px;border:1px solid #bca06b;border-radius:8px;background:#f2e5c2;color:#304c40;font:600 12px 'Segoe UI',sans-serif}
.hall-status button{min-height:36px;padding:8px 12px;border:1px solid #b8a071;border-radius:7px;background:#486451;color:#f6e6bf;font-size:11px;font-weight:600}
.hall-tools input,.hall-tools select,.hall-tools button{border-radius:7px;min-height:40px}
@media(max-height:760px) and (min-width:651px){.craft-room .room-props{top:9%;bottom:155px}.room-hku .passport-object{width:160px;height:225px;padding:16px 10px}.room-hku .passport-object strong{font-size:19px}.craft-room .notice-note{width:210px;padding:19px}.craft-room .notice-note strong{font-size:24px;margin:12px 0}.room-shop .room-props{top:35%}}
@media(max-width:650px){
 .scene-passport{right:18px}.hall-view-tools{right:auto;left:14px}
 .hku-entrances{grid-column:1 / -1}#workspace-shortcuts{gap:8px}#workspace-shortcuts button{flex:1 1 44%;padding:10px}.workspace-shell{padding-bottom:80px}
 .craft-room .room-story{margin:18px 22px 0;max-width:calc(100% - 44px)}
 .craft-room .room-story h2{font-size:30px;margin:10px 0;max-width:340px}.craft-room .room-story>p:last-child{font-size:11px;line-height:1.4;max-width:290px}
 .craft-room .room-props{inset:170px 24px 185px;max-width:none}
 .room-hku .passport-object{width:145px;height:200px;padding:15px 8px}.room-hku .passport-object strong{font-size:18px}.room-hku .passport-object i{font-size:30px}
 .craft-room .notice-note{width:170px;padding:18px 13px}.craft-room .notice-note::before{left:50%}.craft-room .notice-note strong{font-size:22px;margin:10px 0}
 .craft-room .blueprint-note{width:245px;max-width:100%;padding:20px}.craft-room .blueprint-note strong{font-size:28px}
 .room-hku .scene-prop-button .prop-description{font-size:10px}.room-hku .scene-prop-button .prop-action{font-size:11px;margin-top:12px}
 .craft-room .room-preview-note{left:16px;right:16px;bottom:85px;max-width:none;padding:10px 12px}.craft-room .room-preview-note p{font-size:10px}
 .room-scene-actions{right:18px;bottom:18px}.room-scene-actions .workspace-link{min-height:46px;padding:12px 18px;font-size:12px}
 .room-shop .room-props{inset:39% 16px 190px;gap:10px}.room-shop .reward-label{flex-basis:110px;padding:12px 7px}.room-shop .reward-label strong{font-size:21px}
 .exhibition-view{gap:5px;font-size:9px}.exhibition-view select{min-height:40px;max-width:137px;font-size:10px;padding:8px 4px}.interior-title h1{font-size:18px}
 #exhibition-page .interior-toolbar{gap:8px;padding:10px 12px}#exhibition-page .interior-title .eyebrow{font-size:6px;letter-spacing:.05em}
 .interior-toolbar .back-link{font-size:0;min-width:40px;width:40px;padding:8px}
}
@media(max-width:360px){.room-hku .passport-object{width:125px;height:180px}.room-hku .passport-object strong{font-size:16px}.craft-room .notice-note{width:145px}.craft-room .room-props{left:18px;right:18px}.craft-room .notice-note strong{font-size:20px}.craft-room .room-story h2{font-size:27px}.exhibition-view select{max-width:110px;font-size:9px}.exhibition-view>span{font-size:8px}}
@media(max-height:550px){.craft-room .room-story{margin-top:15px}.craft-room .room-story h2{font-size:30px}.craft-room .room-story>p:last-child{display:none}.craft-room .room-props{inset:8% 6% 110px 48%}.room-hku .passport-object{width:125px;height:175px}.room-hku .notice-note{width:165px;padding:12px}.room-hku .notice-note strong{font-size:20px}.room-hku .passport-object strong{font-size:16px}.room-hku .passport-object i{font-size:25px;margin:4px}.craft-room .room-preview-note{bottom:16px;max-width:45%}.room-shop .room-props{inset:25% 7% 110px}}
