.ny-agent-launch{margin:8px 18px;padding:12px 18px;border-radius:24px;background:#083f35;color:white;font-weight:700}.ny-agent[hidden]{display:none}.ny-agent{margin:8px 16px 18px;padding:14px;border:1px solid #bdd9cd;border-radius:18px;background:#f2f8f4;color:#123b30}.ny-agent header{display:flex;align-items:center;justify-content:space-between;padding:0!important}.ny-agent h3{margin:0}.ny-agent-note{font-size:12px;line-height:1.5}.ny-agent-log{max-height:300px;overflow:auto;overscroll-behavior:contain}.ny-agent-log p{white-space:pre-wrap;padding:12px;border-radius:12px;line-height:1.5;background:white}.ny-agent-log .ny-agent-question{background:#dceee5;margin-left:24px}.ny-agent-place,.ny-agent-log a{display:block;margin:6px 0;padding:10px;text-align:left}.ny-agent-place{width:100%;border:1px solid #bdd9cd;border-radius:10px;background:white;color:#123b30}.ny-agent-prompts{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.ny-agent-prompts button{padding:8px;border:1px solid #bdd9cd;border-radius:18px;background:white;color:#123b30}.ny-agent form label{display:block;font-size:14px;margin:8px 0}.ny-agent form>div{display:flex;gap:8px}.ny-agent input{min-width:0;width:100%;font-size:16px;padding:12px;border:1px solid #bdd9cd;border-radius:10px}.ny-agent form button{background:#083f35;color:white;border-radius:10px;padding:12px}.ny-agent button{cursor:pointer;min-height:44px}.ny-agent a{color:#086349}
.ny-agent-handoff{border-top:1px solid #bdd9cd;margin-top:16px;padding-top:10px;font-size:13px;line-height:1.5}.ny-agent-handoff a{display:inline-block;padding:12px}.ny-agent-handoff textarea{box-sizing:border-box;width:100%;min-height:100px;font-size:16px}
.ny-agent-public{margin-top:16px;padding-top:14px;border-top:1px solid #bdd9cd;line-height:1.5}.ny-agent-public summary{font-weight:bold;cursor:pointer;padding:8px}.ny-agent-public select{width:100%;padding:12px;font-size:16px}.ny-agent-public input{box-sizing:border-box}.ny-agent-public form>button{margin-top:10px}.ny-agent-public nav{display:flex;flex-direction:column;gap:10px}.ny-public-results article{padding:12px;margin:10px 0;background:white;border-radius:12px}.ny-public-results article p{margin:6px 0}
.ny-mascot-wrap{display:flex;align-items:center;justify-content:center;gap:18px;margin:12px 0;padding:12px;background:#e8f1e9;border:1px solid #c5d6cc;border-radius:22px}.ny-mascot{width:125px;height:146px;flex-shrink:0;overflow:visible}.ny-mascot-wrap strong{font-size:17px}.ny-mascot-wrap p{font-size:13px;line-height:1.5;max-width:210px;margin:6px 0}.ny-mascot-wrap .ny-mascot-motion{font-size:12px!important;padding:6px 10px!important}.ny-mascot-head{transform-origin:80px 90px;animation:ny-head-tilt 6s ease-in-out infinite}.ny-mascot-eyes{transform-origin:80px 61px;animation:ny-eyes-blink 5.4s infinite}.ny-mascot-pupils{animation:ny-eyes-look 7s ease-in-out infinite}.ny-mascot-wave{transform-origin:87px 105px;animation:ny-hand-wave 6s ease-in-out infinite}.ny-mascot-paused *{animation-play-state:paused!important}@keyframes ny-head-tilt{0%,40%,100%{transform:rotate(0)}65%,80%{transform:rotate(-5deg)}}@keyframes ny-eyes-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.12)}}@keyframes ny-eyes-look{0%,30%,100%{transform:translateX(0)}45%,65%{transform:translateX(-3px)}80%{transform:translateX(2px)}}@keyframes ny-hand-wave{0%,15%,50%,100%{transform:rotate(0)}23%,38%{transform:rotate(-13deg)}30%,45%{transform:rotate(7deg)}}@media(prefers-reduced-motion:reduce){.ny-mascot *{animation:none!important}.ny-mascot-motion{display:none}}@media(max-width:420px){.ny-mascot-wrap{gap:10px;padding:10px}.ny-mascot{width:100px;height:120px}}
/* Welcome belongs to the character; its caption sits directly below him. */
.ny-mascot-wrap{flex-direction:column;gap:10px;text-align:center}.ny-mascot-wrap .ny-mascot-speech{position:relative;box-sizing:border-box;width:100%;max-width:580px;margin:0 0 12px;padding:18px 20px;background:#fff;border:1px solid #c5d6cc;border-radius:24px;font-size:16px;line-height:1.6;text-align:left;color:#123b30;box-shadow:0 3px 10px #123b3008}.ny-mascot-speech::after{content:"";position:absolute;bottom:-10px;left:calc(50% - 10px);width:18px;height:18px;background:#fff;border-right:1px solid #c5d6cc;border-bottom:1px solid #c5d6cc;transform:rotate(45deg)}.ny-mascot-caption{text-align:center}.ny-mascot-caption p{max-width:300px;margin:5px auto 9px}.ny-mascot-wrap .ny-mascot{margin:0 auto}.ny-agent-log:empty{display:none}@media(max-width:420px){.ny-mascot-wrap .ny-mascot-speech{padding:15px;font-size:16px}}
/* Head-only guide on the tourism map. Card folding does not change navigation state. */
.ny-mascot-wrap .ny-mascot{width:104px;height:104px}.ny-mascot-head{transform-origin:80px 65px}body.ny-guide-card-folded:not(.navigating) main>aside{transform:translateY(calc(-100% - 110px))!important;opacity:0;visibility:hidden;pointer-events:none;transition:transform .35s ease,opacity .25s ease,visibility .35s}#ny-guide-map{position:fixed;top:calc(86px + env(safe-area-inset-top));left:14px;width:min(370px,calc(100vw - 88px));z-index:4;text-align:center;max-height:calc(100dvh - 160px);overflow:auto;overscroll-behavior:contain;padding:8px 4px 12px;filter:drop-shadow(0 3px 5px #123b3018)}#ny-guide-map[hidden]{display:none!important}.ny-map-speech{position:relative;background:#fff;color:#123b30;border:1px solid #c5d6cc;border-radius:22px;padding:18px 24px 18px 16px;text-align:left;line-height:1.5;font-size:15px;margin:0 0 14px}.ny-map-speech::after{content:"";position:absolute;bottom:-9px;left:calc(50% - 9px);width:16px;height:16px;transform:rotate(45deg);background:white;border-right:1px solid #c5d6cc;border-bottom:1px solid #c5d6cc}.ny-map-head{display:block;margin:0 auto;padding:0;background:transparent;border:0;border-radius:50%;width:94px;height:94px}.ny-map-head .ny-mascot{width:94px;height:94px}.ny-map-hint{font-size:12px;margin:3px 0 8px;background:#fffef5;border-radius:12px;padding:5px;color:#123b30}#ny-guide-map>button:not(.ny-map-head){min-height:44px;border-radius:14px;padding:10px;margin:3px;background:#083f35;color:white;font-size:13px}#ny-guide-map>.ny-map-dismiss{position:absolute;right:3px;top:2px;margin:0;padding:0;min-height:32px;width:32px;background:transparent;color:#083f35;font-size:24px}#ny-guide-map>.ny-map-pause{background:#edf4ef;color:#083f35;font-size:11px}.ny-guide-compact#ny-guide-map{top:auto;bottom:calc(100px + env(safe-area-inset-bottom));width:130px}.ny-guide-compact .ny-map-speech,.ny-guide-compact .ny-map-browse,.ny-guide-compact .ny-map-pause{display:none}body.navigating #ny-guide-map{display:none!important}@media(prefers-reduced-motion:reduce){body.ny-guide-card-folded main>aside{transition:none!important}#ny-guide-map .ny-map-pause{display:none}}

/* African map stacking and contained mobile dialog headers. */
#ny-guide-map{z-index:900;transform:none;box-sizing:border-box}#touristPlacesDialog{padding:16px;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);scroll-padding-top:90px}
#touristPlacesDialog>header{position:sticky;top:-16px;inset-inline:auto;z-index:5;display:flex;align-items:center;gap:10px;justify-content:space-between;background:#083f35;color:#f2d367;margin:-16px -16px 12px;padding:12px;height:auto;width:auto}
#touristPlacesDialog>header h2{font-size:22px;margin:0;min-width:0}#touristPlacesDialog>header button{position:static;flex-shrink:0;min-height:44px;background:#f2d367;color:#083f35}
#touristPlacesDialog .ny-agent>header{position:static;inset:auto;height:auto;width:auto;background:transparent;color:#123b30;display:flex;gap:10px;margin:0;padding:0}
#touristPlacesDialog .ny-agent>header button{flex:0 0 44px;min-height:44px}#touristPlacesDialog .ny-agent{margin:8px 0;padding:10px}#touristPlacesDialog .ny-agent-log{max-height:min(48dvh,420px)}
#ny-guide-map>.ny-map-dismiss{min-height:44px;width:44px;background:#083f35;color:#fff;font-size:24px}#ny-guide-map .ny-map-speech{padding-right:48px}
body.ny-guide-card-folded:not(.navigating) main>aside{transform:translate(-50%,calc(-100% - 110px))!important}
body:not(.tourism-map-active) #ny-guide-map{display:none!important}

#ny-guide-map{background:transparent;border:0;right:auto;min-height:0}

.boy-nar-voice{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;padding:12px;border:1px solid #b9d5c8;border-radius:16px;background:#eff8f2}.boy-nar-voice button{min-height:44px;max-width:100%;border-radius:10px;padding:9px 12px;background:#087b63;color:#fff;border:0;font:inherit}.boy-nar-voice p{flex-basis:100%;font-size:14px;margin:2px 0;color:#184d3f}.boy-nar-speaking .ny-mascot-head{animation:boy-nar-talk .35s ease-in-out infinite alternate;transform-origin:center}@keyframes boy-nar-talk{to{transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.boy-nar-speaking .ny-mascot-head{animation:none}}

/* Direct touch targets stay above the speech bubble and map. */
#ny-guide-map{pointer-events:auto;isolation:isolate}#ny-guide-map>.ny-map-dismiss{z-index:3;min-width:44px;min-height:44px;touch-action:manipulation}#ny-guide-map>.ny-map-head{position:relative;z-index:2;touch-action:manipulation}.ny-map-head svg{pointer-events:none}.ny-agent svg[role=button]{touch-action:manipulation}.ny-agent[hidden]{display:none!important}

/* The map guide owns a native top-layer surface, above map hit targets. */
#ny-guide-map[popover]{margin:0;right:auto;bottom:auto;border:0;background:transparent;color:inherit;overflow:auto}#ny-guide-map[popover]::backdrop{pointer-events:none;background:transparent}#ny-guide-map.ny-guide-compact{top:auto;bottom:calc(100px + env(safe-area-inset-bottom))}.guide-face-button{display:block;padding:0!important;margin:auto;border:0;background:transparent!important;min-width:104px;min-height:104px;touch-action:manipulation}.guide-face-button svg{pointer-events:none}.ny-map-speech{padding-right:56px}.ny-agent>header{position:static!important}.boy-nar-voice [role=status],.ny-agent-voice [role=status]{min-height:1.5em;font-weight:600}
