/* Nacworld 30.4 — focused BlueMap and Europe SMP updates. */
/* On the map page the BlueMap viewport occupies all space below the global navbar. */
html body.nw-dynmap-body { margin:0; min-height:100dvh; overflow:hidden; }
html body.nw-dynmap-body .page-bg { pointer-events:none; }
html body.nw-dynmap-body #footer-mount { display:none !important; }
html body.nw-dynmap-body .nw-dynmap-page { position:relative; display:block; width:100%; max-width:none; min-height:0; height:100dvh; margin:0; padding:var(--nw-map-top,96px) 0 0 !important; }
html body.nw-dynmap-body .nw-dynmap-map-area { position:relative; width:100%; height:calc(100dvh - var(--nw-map-top,96px)); min-height:200px; margin:0; overflow:hidden; border:0; border-radius:0; background:#071819; }
html body.nw-dynmap-body #nw-dynmap-frame { width:100%; height:100%; display:block; background:#071819; border:0; }
html body .nw-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
html body.nw-dynmap-body .nw-map-size-toggle { position:absolute;z-index:30;top:16px;right:18px;display:flex;gap:9px;align-items:center;justify-content:center;padding:11px 15px;background:rgba(8,33,41,.93);border:1px solid rgba(113,231,214,.65);box-shadow:0 8px 23px #0009;color:#e8fffa;font:inherit;font-size:.85rem;border-radius:12px;cursor:pointer;transition:background .18s; }
html body.nw-dynmap-body .nw-map-size-toggle:hover { background:rgba(17,91,94,.97); }
html body.nw-dynmap-body .nw-map-size-toggle svg { width:19px;height:19px;flex:0 0 auto; }
html body.nw-map-expanded { overflow:hidden!important; }
html body.nw-map-expanded #navbar { visibility:hidden!important; }
html body.nw-map-expanded .nw-dynmap-map-area { position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:99999!important; }
html body.nw-map-expanded .nw-map-size-toggle { z-index:100002; }
/* Small single-row chat composer; chat history is opt-in, floating above the row. */
html body.nw-dynmap-body .nw-map-chat { position:absolute!important;bottom:18px!important;left:18px!important;top:auto!important;right:auto!important;z-index:40!important;width:min(390px,calc(100vw - 36px))!important;max-height:none!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;backdrop-filter:none!important;box-shadow:none!important;padding:0!important; }
html body.nw-dynmap-body #nw-map-chat-form { display:flex;gap:6px;align-items:stretch;padding:5px;border-radius:14px;border:1px solid rgba(101,238,209,.58);background:rgba(7,30,37,.96);box-shadow:0 10px 40px #0009;backdrop-filter:blur(10px);min-height:48px; }
html body.nw-dynmap-body #nw-map-chat-input { flex:1;min-width:0;width:0;padding:8px 5px!important;border:0!important;outline:0;border-radius:8px!important;background:transparent!important;color:#fff!important;font-size:13px!important; }
html body.nw-dynmap-body #nw-map-chat-input:focus { box-shadow:none!important; }
html body.nw-dynmap-body #nw-map-chat-form button { border:0;border-radius:9px;color:#eafff9;cursor:pointer;font-size:18px;min-width:38px;display:flex;align-items:center;justify-content:center; }
html body.nw-dynmap-body #nw-map-chat-toggle { background:rgba(70,182,161,.20)!important; }
html body.nw-dynmap-body #nw-map-chat-form .nw-map-chat-send { background:#17a98b!important;color:white!important; }
html body.nw-dynmap-body #nw-map-chat-content { position:absolute;bottom:calc(100% + 10px);left:0;width:100%;max-height:230px;overflow:hidden;border:1px solid #68d7b888;border-radius:14px;background:rgba(6,28,34,.97);box-shadow:0 15px 45px #000b;backdrop-filter:blur(12px);padding:0!important; }
html body.nw-dynmap-body #nw-map-chat-content[hidden], html body.nw-dynmap-body #nw-map-chat-hint[hidden] { display:none!important; }
html body.nw-dynmap-body .nw-map-chat-head { display:flex;justify-content:space-between;align-items:center;padding:7px 12px;background:rgba(22,76,75,.85);font-size:12px;min-height:35px; }
html body.nw-dynmap-body .nw-map-chat-head button { border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer;line-height:1; }
html body.nw-dynmap-body .nw-map-chat-messages { height:175px;max-height:175px;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px; }
html body.nw-dynmap-body .nw-map-chat-hint { position:absolute;bottom:calc(100% + 7px);left:0;width:100%;padding:7px 10px!important;min-height:0!important;border-radius:8px;background:#5b2f26ee;color:#fff!important;font-size:12px; }
html body.nw-map-expanded #nw-map-chat-content { max-height:50dvh; }
@media(max-width:650px){html body.nw-dynmap-body .nw-map-chat {left:10px!important;bottom:10px!important;width:min(350px,calc(100vw - 20px))!important;}html body.nw-dynmap-body .nw-map-size-toggle {top:9px;right:9px;padding:9px 11px;}html body.nw-dynmap-body .nw-map-size-toggle span{font-size:.76rem;}}
/* Europe SMP cards inherit other modes, but showcase supplied wide Minecraft title. */
html body .nw-games-grid .nw-eusmp-tile { min-height:320px; border-color:rgba(70,233,189,.65)!important; box-shadow:0 15px 40px #05180e88, inset 0 0 0 1px rgba(39,205,160,.15); }
html body .nw-eusmp-tile .nw-mode-photo { background-position:center 43%; opacity:1; }
html body .nw-eusmp-tile .nw-mode-info { padding:20px 24px 24px; }
html body .nw-eusmp-tile .nw-eusmp-badge { display:block;width:min(270px,90%);height:auto;margin:0 0 10px; }
html body .nw-eusmp-tile .nw-eusmp-badge img { width:100%;height:auto;object-fit:contain;display:block; }
html body .nw-eusmp-tile .nw-mode-info h3 { color:#a2ffd5; }
html body .nw-eusmp-tile .nw-mode-info p { color:#edf9f6;line-height:1.45;max-width:550px; }
html body .nw-eusmp-card-actions { display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px; }
html body .nw-eusmp-card-actions .nw-tile-button { margin-top:4px; }
html body .nw-eusmp-card-actions .nw-eusmp-map-link { background:#193c50; color:#e6fffb; border:1px solid rgba(118,244,209,.6); }
html body .nw-eusmp-detail .nw-eusmp-media { max-width:1250px; }
html body .nw-eusmp-detail .nw-eusmp-media .nw-minigame-logo { max-width:550px; width:min(75%,550px); }
html body .nw-eusmp-detail .nw-minigame-intro { max-width:1050px;line-height:1.7;color:#e0f2ed; }
html body .nw-eusmp-cta { display:flex;flex-wrap:wrap;gap:12px; margin:24px 0 42px; }
html body .nw-eusmp-cta .nw-pill { font-size:.93rem;cursor:pointer; }
html body .nw-eusmp-cta .nw-eusmp-map-cta { background:#139c80;color:#fff; }
html body .nw-eusmp-cta .nw-eusmp-copy-cta { background:#3be813!important;color:#fff!important;font-weight:700; }
html body .nw-eusmp-commands h2 { color:#89f3d3;font-size:clamp(1.45rem,2.5vw,2rem);margin-bottom:18px; }
html body .nw-eusmp-command-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
html body .nw-eusmp-command { border:1px solid rgba(74,211,182,.38);border-radius:16px;background:rgba(12,35,40,.88);padding:18px 22px; }
html body .nw-eusmp-command code { display:inline-block;font-family:monospace!important;font-size:1.08rem;color:#80ffcf;margin-bottom:8px; }
html body .nw-eusmp-command p { font-size:.93rem;line-height:1.5;color:#dfebeb; }
html body .nw-eusmp-back { display:inline-block;margin-top:28px; }
@media(max-width:700px){html body .nw-eusmp-command-grid{grid-template-columns:1fr;}html body .nw-games-grid .nw-eusmp-tile{min-height:340px;}}
