:root{--brand:#a5233e;--brand-hover:#891b32;--brand-soft:#a5233e12;--ink:#392d33;--muted:#776a70;--glass:linear-gradient(135deg,rgba(255,255,255,.75),rgba(255,246,249,.38));--glass-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #ffffff80,0 12px 36px #4a263319;--line:#623c4d18}
html,body{height:100%;overflow:hidden}body{background:#f4f0ef}header{position:fixed;inset:20px 24px auto;height:58px;padding:0;border:0;background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none;gap:20px}header>*{pointer-events:auto}.brand,.campus-tabs,.header-end button,.sidebar,.detail,.map-tools,.map-options,.mobile-tools-toggle,.tour-bar,#usage-legend,#three-help{background:var(--glass)!important;border:1px solid #ffffffbf!important;box-shadow:var(--glass-shadow)!important;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
.brand{padding:10px 16px 10px 12px;border-radius:24px;gap:10px}.brand h1{font-size:15px;letter-spacing:.02em}.hnu-emblem{width:34px;height:34px}.campus-tabs{border-radius:28px;padding:5px;gap:4px}.campus-tabs button{height:42px;min-width:108px;font-size:14px;color:#674b56}.campus-tabs button.active,.map-options button.active,.map-tools button.active{background:linear-gradient(145deg,#c74459,#9c1d37)!important;color:white!important;box-shadow:inset 0 1px 3px #ffffff80,0 4px 12px #a5233e33;border:1px solid #fff6!important}.header-end button{border-radius:22px;color:var(--brand);font-size:13px;min-height:44px}
.app{position:fixed;inset:0;display:block;height:100dvh!important}.stage{position:absolute;inset:0}.sidebar{position:absolute;left:24px;top:98px;bottom:96px;width:280px;margin:0;border-radius:28px}.intro{padding:22px 20px 15px}.intro h2{font-size:26px;letter-spacing:.04em}.intro p{font-size:13px;line-height:1.8}.eyebrow{color:#a14c61;font-size:10px}.meta-row{margin-top:12px}.meta-row strong{font-size:24px}.search-zone{padding:0 12px 14px}.searchbox{background:#ffffff72;border:1px solid #fff9;box-shadow:inset 0 1px 5px #61374a08;border-radius:18px}.searchbox input{font-size:14px}.filters{gap:5px}.filters button{background:#ffffff32;border-color:#ffffff9c;padding:7px 9px;color:#725765;min-height:34px;border-radius:14px}.filters button.active{background:#a5233e!important;border-color:#a5233e!important;color:white}.filters .category-symbol{background:transparent;color:inherit;width:17px;flex-basis:17px}.row-title{font-size:14px;color:#43343b}.row-meta{font-size:12px;color:#796b71}.place-row{border-radius:18px;min-height:70px;padding:10px}.place-row:hover{background:#fff8}.place-row.selected{background:#fff9;box-shadow:inset 3px 0 var(--brand)}.row-photo{border-radius:12px;width:48px;height:48px}.place-list{scrollbar-color:#9d263233 transparent}.side-foot{background:transparent}.directory-collapsed .sidebar{display:none}.stage-title{left:332px;top:112px}.stage-title h2{font-size:22px;color:#624551}.stage-title p{color:#77646e}#quick-categories{display:none!important}.map-tools{top:104px;right:24px;border-radius:28px;padding:6px;gap:4px}.map-tools button{width:42px;height:42px;min-width:42px;color:#79394c}.map-options{left:50%;transform:translateX(-50%);bottom:28px;max-width:calc(100% - 70px);flex-wrap:nowrap;border-radius:28px;padding:6px;gap:2px;overflow:auto}.map-options button{font-size:13px;padding:9px 13px;min-height:42px;color:#713e50}#usage-legend{right:24px;bottom:99px;border-radius:18px;padding:10px 14px;color:#6b5260}.map-caption{display:none}.three-credits{left:auto;right:18px;font-size:9px}#three-help{left:50%;transform:translateX(-50%);bottom:93px!important;color:#705563!important;padding:7px 14px}.detail{right:86px;top:100px;bottom:102px;max-height:none;width:330px;border-radius:28px}.detail-top{padding:24px 22px 16px}.detail h2{font-size:25px}.detail .close{width:38px;height:38px;border-radius:50%;top:12px;right:12px;background:#fff8}.photo-cover{border-radius:18px}.place-description{font-size:14px}.nav-link{border-radius:18px;background:linear-gradient(145deg,#bd3c53,#9a203a)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a5233e;outline-offset:3px}
/* Keep the original floating markers; only fix their typography and sizing. */
#three-labels .three-label{width:max-content!important;max-width:none!important;flex-shrink:0!important;letter-spacing:.04em!important}#three-labels .three-label .label-name{display:block!important;flex:0 0 auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow:visible!important;text-overflow:clip!important;letter-spacing:.04em!important;line-height:1.45!important;text-align:center!important}#three-labels .label-name .balanced-line{display:block;white-space:nowrap;letter-spacing:inherit}
.map-startup{position:fixed;z-index:2000;background:radial-gradient(ellipse at 75% 30%,#efd2d766,transparent 48%),radial-gradient(ellipse at 20% 85%,#dfe7df88,transparent 55%),#f9f6f3;color:#97334a}.map-startup-card{width:min(520px,100%);max-width:520px}.arrival-eyebrow{font-size:10px;letter-spacing:.25em;color:#a1848c}.arrival-title{font-size:30px;font-weight:500;letter-spacing:.12em;margin-top:22px;color:#653c49}.map-startup-loader{width:100%;height:auto;margin:22px auto 0;border:0;animation:none;border-radius:0}.map-startup-loader svg{display:block;width:100%;overflow:visible}.contour{opacity:.13}.arrival-route{stroke:#b34b60;stroke-dasharray:5 8;animation:route-flow 2s linear infinite}.arrival-pin circle{fill:#ffffffaa;stroke:#ffffff;stroke-width:1.5;filter:drop-shadow(0 5px 7px #73324922)}.arrival-pin text{fill:#a02b44;font-family:serif;font-size:18px;text-anchor:middle}.arrival-pin{animation:pin-float 3s ease-in-out infinite}.pin-two{animation-delay:-1s}.pin-three{animation-delay:-2s}.map-startup #map-startup-message{font-size:13px;color:#815967;margin:0 0 22px}.arrival-steps{display:flex;justify-content:center;gap:28px;color:#ab969d;font-size:11px}.arrival-steps span:before{content:'·';padding-right:6px}.arrival-steps .done{color:#9d2632}.arrival-track{height:3px;border-radius:4px;background:#eadde1;max-width:300px;margin:14px auto 0;overflow:hidden}.arrival-track i{display:block;width:5%;height:100%;background:#ae354f;transition:width .5s ease}.map-startup .arrival-tip{font-family:serif;font-size:13px;letter-spacing:.18em;color:#a18b94;margin-top:24px}@keyframes route-flow{to{stroke-dashoffset:-26}}@keyframes pin-float{50%{transform:translateY(-7px)}}
@media(max-width:1100px) and (min-width:761px){.brand h1{font-size:13px}.brand{padding:10px}.campus-tabs button{min-width:92px}.header-end{display:none}.sidebar{width:260px;left:18px}.stage-title{left:302px}.map-options{left:calc(50% + 120px);max-width:calc(100% - 310px)}.detail{top:98px;bottom:100px;right:82px;width:310px;max-height:none}.place-gallery{float:none;width:auto}.detail-visual{height:170px}}
@media(max-width:760px){
 header,.walking header{inset:max(12px,env(safe-area-inset-top)) 12px auto;height:48px!important;padding:0!important;gap:8px;display:flex;background:transparent!important}.brand{display:flex!important;min-width:0;flex:1;padding:8px 12px;border-radius:23px;height:48px}.brand h1{font-size:14px!important;white-space:nowrap}.brand .hnu-emblem{width:28px!important;height:28px!important}.header-end{display:none!important}.campus-tabs{display:none!important}.mobile-campus-menu{display:block!important;flex:none;margin:0}.mobile-campus-menu select{height:48px;border-radius:24px;padding:0 28px 0 15px;font-size:13px;font-weight:600;color:#a12a43;border:1px solid #ffffffcc;background:linear-gradient(140deg,#ffffffdc,#fff3f778);box-shadow:var(--glass-shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
 .app{height:100dvh!important;inset:0}.stage{height:100%;inset:0}.sidebar{position:absolute;top:auto;left:12px;right:12px;bottom:max(18px,env(safe-area-inset-bottom));width:auto;height:62px;max-height:70dvh;margin:0;border-radius:26px;background:linear-gradient(135deg,#ffffffcf,#fff7fa91)!important;backdrop-filter:blur(25px) saturate(155%);-webkit-backdrop-filter:blur(25px) saturate(155%);z-index:800}.sidebar .search-zone{padding:8px 70px 8px 8px}.sidebar .searchbox,.sidebar .searchbox input{height:44px}.sidebar .searchbox input{font-size:16px}.sidebar .intro{top:8px;right:8px}.mobile-browse{min-width:54px;height:44px;border-radius:20px;background:linear-gradient(145deg,#be4057,#a1233e);color:#fff;font-size:13px;border:1px solid #fff8;box-shadow:inset 0 1px 2px #fff6,0 3px 9px #a5233e22}.sidebar.expanded{height:65dvh;max-height:calc(100dvh - 100px);border-radius:28px}.sidebar.expanded:after,.detail:after{content:'';position:absolute;top:8px;left:50%;width:30px;height:3px;background:#8d546638;border-radius:4px;transform:translateX(-50%)}.sidebar.expanded .intro{top:20px;height:44px}.sidebar.expanded .search-zone{padding:72px 12px 8px}.sidebar.expanded .searchbox{background:#ffffff70;border-color:#fff}.sidebar.expanded .filters{flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:7px}.sidebar.expanded .filters button{white-space:nowrap;min-height:38px;padding:8px 12px;font-size:13px;flex:none;border-radius:18px}.sidebar.expanded .place-row{min-height:72px}.sidebar.expanded .row-title{font-size:15px}.sidebar.expanded .list-head{padding:6px 20px 9px}.sidebar .side-foot{font-size:11px}.sidebar.expanded .intro:before{color:#683747;font-size:16px;font-weight:500}.sidebar.expanded .mobile-browse{background:#a5233e10;color:#9d2632;box-shadow:none}
 .mobile-tools-toggle{top:calc(max(12px,env(safe-area-inset-top)) + 62px);right:12px;width:46px;height:46px;border-radius:50%;color:#9d2632;font-size:12px}.mobile-tools-open .map-tools{top:calc(max(12px,env(safe-area-inset-top)) + 116px);left:auto;right:12px;max-width:calc(100% - 24px);padding:5px;border-radius:24px;gap:0}.mobile-tools-open .map-tools button{width:42px;min-width:38px;height:42px;font-size:16px}.mobile-tools-open .map-options{top:calc(max(12px,env(safe-area-inset-top)) + 177px);bottom:auto;left:auto;right:12px;transform:none;max-width:260px;width:260px;max-height:calc(100dvh - 290px);overflow:auto;grid-template-columns:1fr 1fr;border-radius:24px;padding:8px;gap:5px}.mobile-tools-open .map-options button{font-size:13px;min-height:43px;border-radius:18px}.mobile-tools-open .map-tools,.mobile-tools-open .map-options{background:linear-gradient(135deg,#ffffffde,#fff4f79c)!important}#usage-legend{display:none!important}.three-credits{bottom:87px!important;left:16px!important;right:16px!important;font-size:8px!important;text-align:center;pointer-events:auto}.creator-credit{display:none}.detail,.three-mode .detail{position:absolute;top:auto;left:12px;right:12px;bottom:max(18px,env(safe-area-inset-bottom));width:auto;max-height:64dvh;height:auto;border-radius:28px;z-index:850;padding-top:6px;background:linear-gradient(135deg,#ffffffed,#fff5f9be)!important;overflow:auto;overscroll-behavior:contain}.detail .detail-top{padding:22px 20px 12px}.detail .detail-top h2{font-size:23px;padding-right:32px}.detail .close{width:40px;height:40px;top:16px;right:14px}.detail .place-gallery{margin:0 16px 12px}.detail .photo-cover{height:175px;border-radius:18px}.detail .place-description{font-size:14px;line-height:1.85;margin:0 20px 16px}.has-selection .sidebar{visibility:hidden}.has-selection .three-credits{display:none}.detail .tag{font-size:11px}.detail-info{padding:0 20px 20px}.detail .datum{font-size:13px}.photo-thumbs button{width:56px;height:42px;border-radius:10px}.walking .walk-status{bottom:max(18px,env(safe-area-inset-bottom));font-size:12px}.walking .detail{bottom:175px;max-height:calc(100dvh - 260px)}
 .map-startup{padding:24px}.arrival-title{font-size:25px;letter-spacing:.08em}.arrival-eyebrow{font-size:8px;letter-spacing:.18em}.map-startup-loader{margin:25px auto 5px}.arrival-steps{gap:22px}.arrival-track{max-width:240px}dialog{width:calc(100vw - 20px);max-height:90dvh;border-radius:24px}.dialog-head{padding:14px}.dialog-head h2{font-size:17px}.dialog-head button{min-width:40px;min-height:40px}.image-note{font-size:12px}
}
@media(max-width:370px){header .brand h1{font-size:12px!important}.brand{padding:8px!important;gap:6px!important}.mobile-campus-menu select{font-size:12px;padding-left:10px;width:115px}.mobile-tools-open .map-tools button{width:38px;min-width:36px}.arrival-title{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){.brand,.campus-tabs,.sidebar,.detail,.map-tools,.map-options,.mobile-tools-toggle{background:#fff8fa!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
#three-labels .three-label,#three-labels .three-label .label-name,#three-labels .label-name .balanced-line{font-size:12px!important;letter-spacing:.4px!important}
@media(min-width:761px){.sidebar .intro h2{font-size:22px;letter-spacing:0}.sidebar .intro p{display:none}.sidebar .intro{padding:18px 18px 12px}.sidebar .filters{flex-wrap:nowrap;overflow:auto;padding-bottom:5px}.sidebar .filters button{flex:none;white-space:nowrap}.sidebar .list-head{padding-top:12px}.sidebar .place-list{min-height:100px}.stage-title{display:none}.sidebar .meta-row{font-size:11px}.sidebar .meta-row strong{font-size:22px}}
/* Mobile masthead: one continuous glass surface with equal-width campus tabs. */
@media(max-width:760px){
 header,.walking header{height:52px!important;padding:5px 6px!important;gap:6px!important;border:1px solid #ffffffc9!important;border-radius:27px!important;background:linear-gradient(135deg,#ffffffd9,#fff9fb94)!important;box-shadow:inset 0 1px 1px white,0 5px 22px #5023331a;backdrop-filter:blur(22px) saturate(140%);-webkit-backdrop-filter:blur(22px) saturate(140%);pointer-events:auto}
 header .brand{height:38px!important;width:36px!important;flex:0 0 36px!important;min-width:0;padding:4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;justify-content:center;gap:0!important}
 header .brand .hnu-emblem{height:28px!important;width:28px!important}header .brand>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}header .mobile-campus-menu{display:none!important}
 header .campus-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;min-width:0;height:40px;width:auto!important;gap:3px;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 header .campus-tabs button{width:100%;min-width:0;height:40px;min-height:40px;white-space:nowrap;border:1px solid transparent!important;border-radius:22px;padding:0!important;font-size:13px;font-weight:500;letter-spacing:0;color:#6c4c58;background:transparent}
 header .campus-tabs button.active{border-color:#fff6!important;background:linear-gradient(155deg,#c2445c,#a72240)!important;box-shadow:inset 0 1px 2px #ffffff80,0 3px 9px #a5233e22!important;color:#fff!important}
 .mobile-tools-toggle{top:calc(max(12px,env(safe-area-inset-top)) + 64px)}
}
@media(max-width:350px){header,.walking header{gap:3px!important}header .brand{width:30px!important;flex-basis:30px!important}header .campus-tabs button{font-size:12px}}
.searchbox input:focus-visible{outline:none}.searchbox:focus-within{border-color:#aa345388!important;box-shadow:0 0 0 3px #a5233e12!important}.searchbox input::-webkit-search-cancel-button{display:none}

.meta-row{display:none!important}
.main-locate{position:absolute;right:24px;bottom:150px;z-index:720;width:48px;height:48px;padding:0;border-radius:50%;display:grid;place-items:center;color:#a5233e;background:var(--glass);border:1px solid #fffd;box-shadow:var(--glass-shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.main-locate svg{width:23px;height:23px}.main-locate.active{background:linear-gradient(145deg,#c74459,#9c1d37);color:white;border-color:#fff8}.main-locate[aria-busy=true] svg{animation:location-pulse 1s ease-in-out infinite}@keyframes location-pulse{50%{opacity:.35}}
#location-status{position:absolute;top:98px;left:50%;transform:translateX(-50%);z-index:850;display:flex;align-items:center;gap:12px;border-radius:20px;padding:9px 12px;background:#fffafae8!important;box-shadow:var(--glass-shadow);color:#783347!important;font-size:12px;max-width:calc(100% - 40px)}#location-status[hidden]{display:none}.location-dismiss{min-height:34px;padding:5px 10px;white-space:nowrap;border-radius:16px;color:#a5233e;background:#a5233e10}.location-message{line-height:1.5}
#atlas-gps-point{position:absolute;z-index:490;pointer-events:none;transform:translate(-50%,-50%);width:24px;height:24px}#atlas-gps-point i{display:block;width:22px;height:22px;background:#b32c49;border:4px solid white;border-radius:50%;box-shadow:0 0 0 12px #b32c4926,0 3px 10px #7c153544}#atlas-gps-point span{position:absolute;top:33px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;color:#8e1e39;background:#fffd;padding:4px 9px;border-radius:12px}#atlas-gps-point[hidden]{display:none}
@media(max-width:760px){.main-locate{right:12px;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 78px);width:46px;height:46px}.has-selection .main-locate{bottom:auto;top:132px}#location-status{top:76px;left:12px;right:70px;max-width:none;transform:none;font-size:12px;gap:6px}.sidebar.expanded~.stage .main-locate{bottom:auto;top:132px}.walking .main-locate{display:none}}

.main-locate[hidden]{display:none!important}

#view3d,#models,#online-btn,#port-mode,#map-startup-2d{display:none!important}

@media(max-width:760px){.detail,.three-mode .detail{max-height:48dvh!important;overscroll-behavior:contain;scrollbar-width:thin}.detail .detail-top{padding:20px 20px 12px}.detail .photo-cover{height:142px}.detail .place-description{margin-bottom:12px}.detail .detail-top h2{font-size:22px}.detail .close{position:sticky;float:right;top:10px;right:auto;margin:8px 12px -50px 0;z-index:3}}
@media(max-width:760px){#location-status{top:auto!important;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 80px)!important;left:12px!important;right:70px!important;width:auto!important;max-width:none!important;transform:none!important;z-index:810!important;margin:0!important;border-radius:20px;font-size:12px;line-height:1.5}.has-selection #location-status{bottom:calc(50dvh + 8px)!important;right:12px!important}}

/* Keep map gestures from triggering browser pull-to-refresh. */
html,body{overscroll-behavior:none}#three-view{touch-action:none;overscroll-behavior:none}.detail,#place-list{overscroll-behavior:contain}

@media(max-width:760px){.detail,.three-mode .detail,#image-dialog{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(250,237,242,.95))!important}}
