/* Page-local mascot overlay. Original map controls remain unchanged. */
.jd-mascot-controls{max-width:732px;margin:10px auto 0;padding:9px 14px;border:1px dashed #9bb5a6;border-radius:12px;background:#f6fbf5;color:#375447;font:12px/1.6 system-ui,sans-serif;display:flex;gap:5px 14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.jd-mascot-controls a{color:#275e49;font-weight:700}.jd-mascot-controls small{display:block;font-size:10px;color:#6c7d73}.jd-friend{position:absolute;top:100px;right:12px;z-index:700;pointer-events:none;font-family:inherit}.jd-friend [hidden]{display:none!important}.jd-friend button{pointer-events:auto;font-family:inherit;cursor:pointer}.jd-friend-avatar{display:block;width:74px;height:100px;padding:0;border:0;background:none;filter:drop-shadow(0 4px 3px #122e2630);transform-origin:50% 90%;animation:jd-friend-breathe 7s ease-in-out infinite}.jd-friend-avatar svg{width:100%;height:100%;overflow:visible}.jd-friend-bubble{position:absolute;right:82px;top:0;width:min(205px,calc(100vw - 180px));padding:13px 14px 10px;border:1px solid #c7d9c8;border-radius:19px 19px 5px 19px;background:#fffef8;color:#304b3d;box-shadow:0 6px 16px #203c2320;pointer-events:auto}.jd-friend-bubble::after{content:'';position:absolute;right:-7px;top:35px;width:12px;height:12px;transform:rotate(45deg);background:#fffef8;border-top:1px solid #c7d9c8;border-right:1px solid #c7d9c8}.jd-friend-bubble p{margin:0 15px 8px 0;font-size:13px;line-height:1.65;word-break:keep-all}.jd-friend-bubble strong{display:block;font-size:14px;margin-bottom:3px}.jd-friend-close{position:absolute;right:4px;top:3px;width:28px;height:28px;border:0;background:transparent;color:#627969;font-size:20px}.jd-friend-controls{display:flex;gap:5px;flex-wrap:wrap}.jd-friend-controls button{min-height:30px;padding:4px 8px;font-size:10px;border:1px solid #d8e3d5;border-radius:20px;background:#f0f6ed;color:#47634f}.jd-friend-label{display:block;text-align:center;font-size:10px;background:#fffdf2e8;border-radius:12px;color:#375447;padding:3px 5px;margin-top:4px}.jd-friend button:focus-visible{outline:3px solid #2e7357;outline-offset:3px}.jd-friend[data-paused=true] .jd-friend-avatar{animation:none}.street-welcome-open .jd-friend-bubble{visibility:hidden}.sport-detail-open .jd-friend{visibility:hidden}.jd-friend[data-obscured=true]{visibility:hidden}@keyframes jd-friend-breathe{0%,70%,100%{transform:translateY(0) rotate(0)}80%{transform:translateY(-3px) rotate(-2deg)}90%{transform:translateY(-1px) rotate(2deg)}}@media(prefers-reduced-motion:reduce){.jd-friend-avatar{animation:none!important}}@media(max-width:380px){.jd-friend{right:8px;top:88px}.jd-friend-avatar{width:62px;height:86px}.jd-friend-bubble{right:68px;width:calc(100vw - 164px);padding:10px}.jd-friend-bubble p{font-size:12px}.jd-mascot-controls{margin:8px 20px 0}}

@media(max-width:380px){.jd-friend-bubble strong{font-size:12px}.jd-friend-bubble p{margin-right:10px;margin-bottom:0}}
.jd-mascot-controls .jd-friend-controls button:focus-visible{outline:3px solid #2e7357;outline-offset:2px}

/* River Road: original controls stay clear; the couple sits at the lower right. */
.jd-friend{top:auto;right:12px;bottom:40px}.jd-friend-avatar{width:140px;height:100px}.jd-friend-bubble{top:auto;right:0;bottom:129px;width:min(205px,calc(100vw - 110px));border-radius:18px 18px 5px 18px}.jd-friend-bubble::after{top:auto;bottom:-7px;right:46px;border-top:0;border-bottom:1px solid #c7d9c8}.jd-friend-bubble p{margin-bottom:0}.jd-friend-label{font-size:10px}.jd-mascot-controls{margin:10px auto 0;max-width:732px}.jd-friend-controls button{min-height:36px}.jd-mascot-controls .jd-friend-controls button{cursor:pointer}@media(max-width:699px){.jd-friend{top:auto;bottom:38px;right:10px}.jd-friend-avatar{width:112px;height:80px}.jd-friend-bubble{top:auto;right:0;bottom:109px;width:min(195px,calc(100vw - 116px))}.jd-friend-bubble strong{font-size:12px}.jd-friend-bubble p{font-size:12px}.jd-mascot-controls{margin:8px 24px 0}}

/* Compact text-sized greeting, with a separate usable close target. */
.jd-friend{bottom:38px;right:12px}.jd-friend-avatar{width:116px;height:116px;animation:jd-river-float 6s ease-in-out infinite}.jd-friend-bubble{top:auto;right:0;bottom:143px;width:max-content;max-width:min(210px,calc(100vw - 112px));padding:8px 32px 8px 11px;min-height:0}.jd-friend-bubble p{margin:0;font-size:13px;line-height:1.45}.jd-friend-bubble strong{font-size:13px;margin-bottom:2px}.jd-friend-close{top:2px;right:2px;width:28px;height:28px}.jd-friend-label{font-size:10px}@keyframes jd-river-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}@media(max-width:699px){.jd-friend{right:10px;bottom:36px}.jd-friend-avatar{width:100px;height:100px}.jd-friend-bubble{top:auto;right:0;bottom:127px;width:max-content;max-width:calc(100vw - 112px);padding:8px 32px 8px 11px}.jd-friend-bubble p,.jd-friend-bubble strong{font-size:13px}}

/* Compact settings remain outside the map and available when the mascot is hidden. */
.jd-mascot-controls{box-sizing:border-box;width:100%;max-width:449px;margin:4px auto 8px;padding:0;border:0;border-radius:0;background:none;display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap;font:12px/1.4 system-ui,sans-serif}.jd-mascot-controls [hidden]{display:none!important}.jd-mascot-controls button{min-height:36px;cursor:pointer}.jd-mascot-controls button:focus-visible{outline:3px solid #2e7357;outline-offset:2px}
