@media (min-width:761px){.map-board .map-route-overlay{padding:96px 16px 16px 384px}.map-board .hud-left{top:16px;bottom:16px;left:16px}.map-board .hud-right{top:16px;right:16px}.map-board canvas{image-rendering:auto}}@media (max-width:760px){.map-board .map-route-overlay{padding:130px 8px 64px}.map-board .hud-left{top:10px;bottom:12px;left:8px}.map-board .hud-right{max-width:42%;top:10px;right:8px}.map-board .maplibregl-ctrl-bottom-right{bottom:52px;right:4px}}
.map-chat{z-index:20;pointer-events:auto;width:410px;max-width:min(92vw,100%);font-family:var(--font-body), Arial, sans-serif;color:#e5eaf1;transition:transform .25s;position:absolute;inset:0 auto 0 0;transform:translate(-110%)}.map-chat.is-open{transform:translate(0)}.map-chat-shell{background:#091423f7;border-right:1px solid #b99a554d;flex-direction:column;height:100%;min-height:0;display:flex;box-shadow:12px 0 40px #0006}.map-chat-header{background:linear-gradient(130deg,#1a2c43,#0d1b2d);border-bottom:1px solid #c2a25d2b;align-items:center;gap:12px;padding:22px 18px 18px;display:flex}.map-chat-emblem{background:#ebe5d6;border:1px solid #bea36766;border-radius:8px;flex-shrink:0;width:42px;height:42px;overflow:hidden}.map-chat-heading{flex:1;min-width:0}.map-chat-heading>span{letter-spacing:.2em;color:#c5a96a;font-size:9px}.map-chat-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:3px 0;font-family:Georgia,serif;font-size:21px;line-height:1.3;overflow:hidden}.map-chat-heading p{color:#94a5ba;margin:0;font-size:11px}.map-chat-close{color:#b7c3d4;cursor:pointer;background:#ffffff05;border:1px solid #ffffff24;border-radius:5px;width:30px;height:30px}.map-chat-close:hover{color:#fff;background:#ffffff13}.map-chat-channels{border-bottom:1px solid #ffffff14;align-items:center;gap:4px;min-height:48px;padding:0 16px;display:flex}.map-chat-tab{color:#95a5b9;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:15px 16px 13px;font-size:12px;font-weight:600;position:relative}.map-chat-tab[aria-selected=true]{color:#e5cd91;border-color:#c7a35e}.map-chat-tab:hover{color:#f1e8d3}.map-chat-unread{vertical-align:middle;background:#e4b96a;border-radius:50%;width:6px;height:6px;margin-left:7px;display:inline-block}.map-chat-presence{white-space:nowrap;color:#9baea9;margin-left:auto;font-size:10px}.map-chat-presence i{background:#85b59a;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.map-chat-messages{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#405064 transparent;flex:1;min-height:0;padding:6px 0;overflow-y:auto}.map-chat-message{border-bottom:1px solid #ffffff0b;align-items:flex-start;gap:10px;padding:13px 18px;display:flex}.map-chat-message.is-mine{background:#c6a55e06}.map-chat-message:hover{background:#ffffff04}.map-chat-avatar{background:#26374c;border:1px solid #c7a35e25;border-radius:6px;flex-shrink:0;width:30px;height:30px;position:relative;overflow:hidden}.map-chat-avatar span{color:#d7c8a3;place-items:center;width:100%;height:100%;font-size:10px;display:grid}.map-chat-avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.map-chat-content{flex:1;min-width:0}.map-chat-byline{align-items:baseline;gap:6px;min-width:0;display:flex}.map-chat-byline strong{text-overflow:ellipsis;white-space:nowrap;color:#e1e5ed;font-size:12px;font-weight:600;overflow:hidden}.map-chat-byline small{color:#baa06b;font-size:9px}.map-chat-byline time{white-space:nowrap;color:#8394aa;font-variant-numeric:tabular-nums;margin-left:auto;font-size:10px}.map-chat-content p{color:#b6c3d3;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;font-size:12px;line-height:1.65}.map-chat-empty{text-align:center;color:#879bb2;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:32px;display:flex}.map-chat-empty>span{color:#c8ab6b;font-size:32px}.map-chat-empty h3{color:#d7dfeb;margin:14px 0 8px;font-family:Georgia,serif;font-size:18px}.map-chat-empty p{max-width:260px;font-size:12px;line-height:1.7}.map-chat-composer{background:#101f32;border-top:1px solid #b69b5638;padding:16px 18px 14px}.map-chat-compose-label{color:#a3b0c1;justify-content:space-between;margin-bottom:9px;font-size:10px;display:flex}.map-chat-compose-label span{color:#73859d;font-variant-numeric:tabular-nums}.map-chat-compose-controls{gap:8px;display:flex}.map-chat-compose-controls input{color:#e6ebf3;background:#091526;border:1px solid #ffffff24;border-radius:5px;outline:none;flex:1;width:0;min-width:0;padding:10px 11px;font-size:12px}.map-chat-compose-controls input::placeholder{color:#75879d}.map-chat-compose-controls button{color:#112035;cursor:pointer;background:#c3a266;border:1px solid #d2b57c;border-radius:5px;padding:0 15px;font-size:11px;font-weight:700}.map-chat-compose-controls button:disabled{opacity:.4;cursor:default}.map-chat-hint{color:#76899f;margin:9px 0 0;font-size:9px}.map-chat-error{color:#efac9d;margin:0 0 10px;font-size:11px;line-height:1.5}.map-chat button:focus-visible,.map-chat input:focus-visible{outline-offset:2px;outline:2px solid #d2b57c}@media (prefers-reduced-motion:reduce){.map-chat{transition:none}}@media (max-width:480px){.map-chat-header{padding:16px 14px}.map-chat-message{padding:12px 14px}.map-chat-composer{padding:14px}}
