/* Nacworld 30.5 — Europe SMP BlueMap HUD and always-open transparent chat. */
html body.nw-dynmap-body .nw-map-size-toggle { top:86px!important; right:16px!important; z-index:48!important; background:rgba(9,34,42,.79)!important; }
html body.nw-dynmap-body .nw-map-hud { position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:45;display:flex;justify-content:center;gap:7px;pointer-events:none;max-width:calc(100% - 100px);flex-wrap:wrap; }
html body.nw-dynmap-body .nw-map-hud-chip { display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;padding:9px 12px;background:rgba(8,32,40,.76);color:#f1fff9;border:1px solid rgba(109,222,194,.32);border-radius:12px;box-shadow:0 5px 20px #0005;backdrop-filter:blur(10px);font-size:13px;line-height:1.2; }
html body.nw-dynmap-body .nw-map-hud-chip strong { font-size:14px; }
html body.nw-dynmap-body .nw-map-states { position:absolute;top:14px;left:14px;z-index:45;pointer-events:none;max-width:190px;width:min(190px,38vw);border:1px solid rgba(113,222,194,.28);background:rgba(8,29,36,.70);backdrop-filter:blur(9px);border-radius:12px;padding:11px 12px;box-shadow:0 8px 25px #0004;color:#ebfcf6; }
html body.nw-dynmap-body .nw-map-states-title { font-size:13px;font-weight:700;margin-bottom:8px;color:#8ff8d2; }
html body.nw-dynmap-body .nw-map-states-list { font-size:11px;line-height:1.5;color:#c0d9d1; }
html body.nw-dynmap-body .nw-map-chat { width:min(420px,calc(100vw - 32px))!important;left:14px!important;bottom:14px!important;display:flex!important;flex-direction:column!important;gap:5px!important; }
html body.nw-dynmap-body #nw-map-chat-content { position:relative!important;bottom:auto!important;left:auto!important;width:100%!important;display:flex!important;flex-direction:column!important;max-height:min(260px,35dvh)!important;min-height:74px;overflow:hidden!important;border:1px solid rgba(115,229,200,.25)!important;border-radius:12px!important;background:rgba(4,24,32,.48)!important;box-shadow:0 6px 24px #0004!important;backdrop-filter:blur(5px)!important;pointer-events:auto; }
html body.nw-dynmap-body #nw-map-chat-content[hidden] {display:flex!important;}
html body.nw-dynmap-body .nw-map-chat-head { flex:none;min-height:28px!important;padding:5px 9px!important;background:rgba(15,56,62,.35)!important;color:#d7fff2;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:10px!important; }
html body.nw-dynmap-body #nw-map-chat-status { color:#ffcc8b;white-space:nowrap;max-width:55%;overflow:hidden;text-overflow:ellipsis; }
html body.nw-dynmap-body #nw-map-chat-status.connected { color:#85ffc7; }
html body.nw-dynmap-body #nw-map-chat-messages { flex:1;min-height:45px;height:170px!important;max-height:min(215px,27dvh)!important;display:flex;flex-direction:column;gap:3px!important;overflow-y:auto;scrollbar-width:thin;padding:8px 10px!important; }
html body.nw-dynmap-body .nw-map-message {display:flex!important;align-items:baseline;gap:7px;line-height:1.35;padding:2px 0;font-size:12px;overflow-wrap:anywhere;text-shadow:0 1px 2px #000;}
html body.nw-dynmap-body .nw-map-message strong {flex:none;color:#82e6bf;font-weight:750;}
html body.nw-dynmap-body .nw-map-message.from-game strong {color:#a6ceff;}
html body.nw-dynmap-body #nw-map-chat-form {background:rgba(6,27,35,.83)!important;min-height:43px!important;padding:4px 5px!important;}
html body.nw-dynmap-body #nw-map-chat-form button {min-width:38px!important;}
html body.nw-dynmap-body #nw-map-chat-input {font-size:12px!important;}
html body.nw-dynmap-body .nw-map-chat-hint { bottom:calc(100% + 6px)!important;z-index:2; }
html body.nw-map-expanded .nw-map-hud,html body.nw-map-expanded .nw-map-states,html body.nw-map-expanded .nw-map-chat {z-index:100001!important;}
@media(max-width:760px){
  html body.nw-dynmap-body .nw-map-hud {top:7px;left:8px;right:8px;transform:none;max-width:none;gap:4px;}
  html body.nw-dynmap-body .nw-map-hud-chip {padding:7px;font-size:10px;}
  html body.nw-dynmap-body .nw-map-hud-chip strong {font-size:11px;}
  html body.nw-dynmap-body .nw-map-states {top:54px;left:8px;width:min(156px,41vw);padding:7px 8px;}
  html body.nw-dynmap-body .nw-map-size-toggle {top:90px!important;right:8px!important;padding:9px!important;}
  html body.nw-dynmap-body .nw-map-chat {width:min(380px,calc(100vw - 16px))!important;bottom:8px!important;left:8px!important;}
  html body.nw-dynmap-body #nw-map-chat-content {max-height:29dvh!important;}
  html body.nw-dynmap-body #nw-map-chat-messages {max-height:22dvh!important;}
}
@media(max-width:400px){html body.nw-dynmap-body .nw-map-hud {max-width:calc(100% - 8px);}html body.nw-dynmap-body .nw-map-states {top:68px;}}
