*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#102038}body{background:#fefefe}.stage{min-height:100vh;display:grid;grid-template-columns:minmax(260px,420px) auto;align-items:center;justify-content:center;gap:clamp(40px,8vw,140px);padding:36px}.intro{max-width:420px}.eyebrow{font-size:11px;letter-spacing:.15em;color:#004098}.intro h1{font-size:clamp(30px,3vw,46px);font-weight:550;line-height:1.2;margin:22px 0}.intro p{font-size:15px;line-height:1.8;color:#647084}.controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:34px}.controls button{border:1px solid #c5cfdc;background:white;border-radius:999px;padding:11px 18px;font:inherit;font-size:13px;cursor:pointer}.controls button:hover{border-color:#004098;color:#004098}.status{min-height:28px;font-size:12px!important}.phone{position:relative;width:min(370px,82vw);aspect-ratio:1125/2436;border:8px solid #16191d;border-radius:52px;background:#fff;box-shadow:0 30px 65px #162b4a30,0 3px 9px #162b4a30;overflow:hidden}.screen{position:absolute;inset:0;border-radius:43px;overflow:auto;scrollbar-width:none;background:white}.screen::-webkit-scrollbar{display:none}.page{position:relative;width:100%;line-height:0;transition:opacity .18s ease,transform .18s ease}.page.is-changing{opacity:.25;transform:translateX(12px)}.page img{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}#hotspots{position:absolute;inset:0}.hotspot{position:absolute;border:0;background:transparent;padding:0;cursor:pointer;border-radius:10px}.hotspot:hover{background:rgba(122,92,255,.1);outline:1px solid rgba(122,92,255,.3)}.hotspot:focus-visible{outline:3px solid #7a5cff;background:rgba(122,92,255,.12)}.speaker{position:absolute;z-index:3;top:11px;left:50%;transform:translateX(-50%);height:22px;width:95px;border-radius:18px;background:#14171b;pointer-events:none}.home-indicator{position:absolute;z-index:3;bottom:8px;left:50%;transform:translateX(-50%);width:105px;height:4px;border-radius:3px;background:#292d35;pointer-events:none}@media(max-width:760px){.stage{display:flex;flex-direction:column;gap:24px;padding:24px 16px}.intro{text-align:center}.intro h1{margin:10px 0}.intro p{margin:6px}.controls{justify-content:center;margin-top:16px}.phone{width:min(360px,90vw)}}@media(prefers-reduced-motion:reduce){.page{transition:none}}

.phone{background:#fff}.screen{bottom:0}.speaker{z-index:8}.home-indicator{z-index:9;bottom:7px}
.hotspot:hover{background:rgba(122,92,255,.12);outline:1px solid rgba(122,92,255,.35)}
#entry-fields{display:none;position:absolute;inset:0;pointer-events:none;line-height:normal}#entry-fields select,#entry-fields input,#entry-fields button{position:absolute;pointer-events:auto;border:0;background:transparent;color:#303742;font-family:inherit;font-size:clamp(11px,3.6vw,15px)}#entry-fields select{left:13.3%;top:78.8%;width:25.5%;height:4.5%;appearance:auto;padding-left:1%}#entry-fields input{left:42%;top:78.8%;width:44%;height:4.5%;padding:0 2%;outline:none}#entry-fields input::placeholder{color:transparent}#entry-fields button{left:13%;top:85%;width:74%;height:4.4%;cursor:pointer}.entry-page #entry-fields{display:block}
#scan-animation{display:none;position:absolute;inset:0;pointer-events:none}#scan-check{position:absolute;left:67%;top:52%;width:8%;aspect-ratio:1;border-radius:50%;background:#48b969;color:white;text-align:center;font-size:24px;line-height:1.15;opacity:0}#wifi-track{position:absolute;left:13.5%;top:76.35%;width:73%;height:1.05%;background:#ddd;border-radius:99px;overflow:hidden}#wifi-progress{height:100%;width:0;background:linear-gradient(90deg,#a99bfa,#004098);border-radius:inherit}#wifi-success{position:absolute;top:80%;left:35%;width:30%;text-align:center;color:#52ac4c;opacity:0;font-size:14px}.wifi-page #scan-animation{display:block}.wifi-page #scan-animation.running #scan-check{animation:scanCheck .35s ease 1s forwards}.wifi-page #scan-animation.running #wifi-progress{animation:wifiFill 2.2s ease-in-out 1.1s forwards}.wifi-page #scan-animation.running #wifi-success{animation:wifiSuccess .3s ease 3s forwards}@keyframes scanCheck{to{opacity:1}}@keyframes wifiFill{to{width:100%}}@keyframes wifiSuccess{to{opacity:1}}
#fixed-nav{display:none;position:absolute;z-index:5;left:0;right:0;bottom:0;height:12.6%;background:linear-gradient(115deg,rgba(187,206,236,.98),rgba(227,227,249,.98));padding:12px 5% 19px;justify-content:space-around;align-items:center;border-radius:24px 24px 0 0}#fixed-nav button{border:0;background:none;color:#789dcc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;font:600 12px PingFang SC,Microsoft YaHei,sans-serif;width:21%;height:80%;cursor:pointer}#fixed-nav button span{font-size:30px;font-weight:400;line-height:1}#fixed-nav button.active{color:#004098}.has-nav #fixed-nav{display:flex}.service-page #fixed-nav button:not([data-nav=home]){pointer-events:none}.service-page #fixed-nav button:not([data-nav=home]){opacity:.6}
#quick-button{display:none;position:absolute;z-index:6;right:5%;bottom:18%;width:12%;aspect-ratio:1;border:1px solid white;border-radius:50%;background:linear-gradient(145deg,#e8e8ff,#a5a1f6);color:#7058fa;box-shadow:0 5px 12px #3335;font-size:25px;cursor:pointer}.has-ball #quick-button{display:block}.map-ball #quick-button{right:auto;left:5%;bottom:42%}
#quick-overlay{display:none;position:absolute;z-index:7;inset:0;background:rgba(255,255,255,.62);backdrop-filter:none;align-items:center;justify-content:center}#quick-overlay.open{display:flex}#quick-overlay img{display:block;width:90%;height:auto;max-height:70%;object-fit:contain}#quick-close{position:absolute;right:6%;top:7%;width:35px;height:35px;border:0;border-radius:50%;background:white;color:#004098;font-size:25px;cursor:pointer}

/* Keep the image at its original 1125:2436 ratio inside the phone border. */
.phone{box-sizing:content-box;width:min(370px,calc(82vw - 16px))}
@media(max-width:760px){.phone{width:min(360px,calc(90vw - 16px))}}
/* The fixed navigation uses the bottom strip of each original UI image. */
#fixed-nav{height:11.1%;padding:0;border-radius:0;background-color:#fff;background-position:center bottom;background-size:100% auto;justify-content:stretch}
#fixed-nav button{width:25%;height:100%;color:transparent;font-size:0;gap:0}
#fixed-nav button span{font-size:0}
#fixed-nav button.active{color:transparent}
.service-page #fixed-nav button:not([data-nav=home]){opacity:1}
#quick-button{right:3%;bottom:25%;width:13%;background:rgba(204,199,255,.8);backdrop-filter:none;-webkit-backdrop-filter:none}
.home-page #quick-button{background:transparent;box-shadow:none;border:0;color:transparent;backdrop-filter:none}
.map-ball #quick-button{left:4%;right:auto;bottom:40%}
#quick-overlay img{width:82%;max-height:60%}

/* On map screens, the original artwork already contains the floating control. */
.phone[data-screen="floor"] #quick-button,
.phone[data-screen="mapnav"] #quick-button,
.phone[data-screen="restaurant"] #quick-button{background:transparent;border:0;box-shadow:none;color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.phone[data-screen="floor"] #quick-button{left:auto;right:3%;top:35%;bottom:auto}
.phone[data-screen="mapnav"] #quick-button{left:4%;right:auto;top:41%;bottom:auto}
.phone[data-screen="restaurant"] #quick-button{left:4%;right:auto;top:46%;bottom:auto}
.hotspot:hover{background:transparent;outline:0}

/* Match the clickable area to each visible bottom navigation icon and label. */
#fixed-nav button{position:absolute;top:12%;width:17%;height:72%}
#fixed-nav button:nth-child(1){left:4%}
#fixed-nav button:nth-child(2){left:29%}
#fixed-nav button:nth-child(3){left:54%}
#fixed-nav button:nth-child(4){left:79%}

/* Cover the completed status baked into the source image until the scan finishes. */
#wifi-success{top:79%;height:5%;display:grid;place-items:center;opacity:1;color:transparent;background:#fff}
@keyframes wifiSuccess{to{color:#52ac4c}}

