.map-footer{position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:3px;max-width:calc(100vw - 24px);border-radius:10px;background:rgba(32,25,17,.87);color:#fff;box-shadow:0 3px 12px #0002;font:400 12px/1.5 var(--font-ui)}
.map-discovery summary{padding:9px 10px;cursor:pointer;font-weight:600;white-space:nowrap}.map-discovery section{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(380px,calc(100vw - 24px));padding:18px;border-radius:12px;background:#201911f5;box-shadow:0 6px 30px #0004}.map-discovery h1{font-size:19px;line-height:1.25;margin:0}.map-discovery p{margin:12px 0;color:#eee}.map-discovery nav{display:flex;flex-direction:column;gap:7px}.map-discovery a{color:#ffc77b;text-underline-offset:3px}.map-footer :focus-visible{outline:2px solid #fff;outline-offset:2px}.map-footer .footer-social-github,.map-footer .footer-social-x{align-self:stretch}.discovery-zh{display:none}html[lang^=zh] .discovery-zh{display:revert}html[lang^=zh] .discovery-en{display:none}
.support-open{display:flex;align-items:center;gap:7px;background:none;border:0;border-left:1px solid #ffffff38;padding:8px 12px;color:#ffd19a;font:inherit;text-align:left;cursor:pointer}.support-open svg{flex:none;width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.support-open:hover{color:white}
.support-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 30px);padding:28px;overflow:auto;background:#fffaf3;color:#29313a;border:1px solid #ebd7bc;border-radius:18px;box-shadow:0 20px 80px #0005;font:14px/1.6 var(--font-ui)}.support-dialog::backdrop{background:#171a1e99}.support-dialog h2{font-size:27px;line-height:1.2;letter-spacing:-.03em;margin:8px 32px 12px 0}.support-dialog p{color:#667079}.support-close{float:right;border:0;border-radius:50%;background:#f0e5d8;color:#393027;width:32px;height:32px;font-size:22px;cursor:pointer}.support-wallet{margin-top:13px;padding:15px;border:1px solid #e6d9ca;background:#fff;border-radius:10px}.support-wallet label{display:block;font-weight:650;font-size:12px;color:#a65309}.support-wallet input{box-sizing:border-box;width:100%;min-width:0;margin:8px 0 10px;padding:9px;border:1px solid #e5e1dc;border-radius:6px;color:#35414a;background:#faf9f7;font:12px var(--font-ui)}.support-wallet button{border:0;border-radius:7px;background:#a94a00;color:white;padding:8px 13px;font:650 12px var(--font-ui);cursor:pointer}.support-status{min-height:1.5em;font-size:12px;margin-bottom:0}
.info-lord-notes{margin-top:7px;padding-top:5px;border-top:1px solid #ffffff38;max-height:88px;overflow:auto;font-size:10px;line-height:1.4;color:inherit}.info-lord-notes p{margin:2px 0;overflow-wrap:anywhere}.info-lord-notes strong{font-weight:650}
.map-noscript{position:fixed;inset:80px 20px auto;max-width:680px;margin:auto;padding:20px;background:white;color:#20242a;z-index:5}.map-noscript a{color:#914400}.publisher-open .map-footer,.publisher-open #latest-chat{display:none}
@media(max-width:600px){.map-footer{bottom:calc(38px + env(safe-area-inset-bottom));width:max-content;font-size:10px}.map-discovery summary{padding:8px}.support-open{padding:8px;gap:5px}.support-open span{max-width:155px;line-height:1.25}.support-open svg{width:21px;height:21px}.map-discovery[open]{font-size:13px}.support-dialog{padding:20px}.support-dialog h2{font-size:24px}}
.support-priority{padding:10px 12px;border-left:3px solid #f7931a;background:#fff1dc;color:#713a09!important}.map-footer .support-icon-only{align-self:stretch;gap:0;width:31px;height:31px;min-width:31px;min-height:31px;padding:0}.map-footer .support-icon-only svg{width:15px;height:15px}.latest-chat{position:fixed;z-index:7;top:14px;right:14px;width:min(330px,calc(100vw - 28px));max-height:225px;overflow:hidden;padding:12px 14px;border:1px solid #ffc06766;border-radius:12px;background:rgba(44,25,8,.68);box-shadow:0 7px 28px #0002;color:#fff;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);font:11px/1.45 var(--font-ui)}.latest-chat.hidden{display:none}.latest-chat h2{margin:0 0 7px;color:#ffd29b;font-size:11px;letter-spacing:.06em;text-transform:uppercase}#latest-chat-list{display:grid;gap:2px;max-height:181px;overflow:auto}.latest-chat a{display:block;min-width:0;padding:4px 0;border-top:1px solid #ffffff17;color:#fff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.latest-chat a:first-child{border-top:0}.latest-chat a:hover{color:#ffd19a}.latest-chat strong{color:#ffc06d}@media(max-width:600px){.latest-chat{top:62px;right:8px;width:min(270px,calc(100vw - 16px));max-height:142px;padding:9px 11px}#latest-chat-list{max-height:102px}.latest-chat a:nth-child(n+4){display:none}.map-footer .support-icon-only{width:29px;height:29px;min-width:29px;min-height:29px;padding:0}.map-footer .support-icon-only svg{width:13px;height:13px}}
/* Mobile chat: one line, cycling through the latest three notes. */
.latest-chat a[hidden]{display:none!important}
@media(max-width:600px){
  .latest-chat{top:auto;bottom:calc(76px + env(safe-area-inset-bottom));left:8px;right:8px;width:auto;box-sizing:border-box;height:34px;max-height:34px;padding:4px 10px;border-radius:8px}
  .latest-chat h2{display:none}
  #latest-chat-list{display:block;height:24px;max-height:24px;overflow:hidden}
  .latest-chat a{height:24px;box-sizing:border-box;padding:3px 0;border:0;animation:chat-note-enter .3s ease-out}
}
@keyframes chat-note-enter{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.latest-chat a{animation:none}}
.offline-share{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px}
.offline-share a,.offline-share button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 10px;border:1px solid #d7c4aa;border-radius:7px;background:#fff;color:#663608;text-decoration:none;box-sizing:border-box}
.offline-share svg{width:18px;height:18px;fill:currentColor}
