.map-container{position:relative;height:100vh;width:100%;overflow:hidden}.leaflet-map{height:100%;width:100%;z-index:1}.map-overlays{position:absolute;inset:0;pointer-events:none;z-index:1000}.map-overlays>*{pointer-events:auto}.status-indicator{position:absolute;top:20px;right:20px;background:#000c;color:#fff;padding:10px 15px;border-radius:25px;display:flex;align-items:center;gap:8px;font-size:14px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.status-dot{width:10px;height:10px;border-radius:50%;animation:pulse 2s infinite}.status-dot.online{background:#32cd32;box-shadow:0 0 10px #32cd32}.status-dot.offline{background:#f44;box-shadow:0 0 10px #f44}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.bodega-marker{background:none;border:none}.marker-bodega{display:flex;align-items:center;background:#8b0000e6;color:#fff;padding:8px 12px;border-radius:20px;font-size:12px;font-weight:700;box-shadow:0 4px 15px #8b000066;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:2px solid #FFD700;transition:all .3s ease;cursor:pointer}.marker-bodega:hover{transform:scale(1.1);box-shadow:0 6px 20px #8b000099}.marker-bodega .marker-icon{margin-right:5px;font-size:16px}.marker-bodega .marker-label{white-space:nowrap;max-width:100px;overflow:hidden;text-overflow:ellipsis}.node-marker{background:none;border:none}.marker-node{position:relative;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;cursor:pointer;transition:all .3s ease}.marker-node.online{background:#32cd32cc;border:2px solid #32CD32;color:#fff}.marker-node.offline{background:#808080cc;border:2px solid #808080;color:#fff}.marker-node:hover{transform:scale(1.2)}.marker-node .marker-icon{font-size:14px;z-index:2}.marker-pulse{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:50%;background:inherit;animation:pulse-ring 2s infinite;opacity:.6}.marker-node.online .marker-pulse{background:#32cd32}.marker-node.offline .marker-pulse{animation:none}@keyframes pulse-ring{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}50%{transform:translate(-50%,-50%) scale(1.5);opacity:.3}to{transform:translate(-50%,-50%) scale(2);opacity:0}}.bodega-popup{font-family:Arial,sans-serif;min-width:250px}.bodega-popup h3{margin:0 0 10px;color:#8b0000;font-size:16px;border-bottom:2px solid #FFD700;padding-bottom:5px}.bodega-popup p{margin:8px 0;font-size:14px}.bodega-popup code{background:#f0f0f0;padding:2px 6px;border-radius:3px;font-size:12px;word-break:break-all}.popup-actions{margin-top:15px;display:flex;gap:10px}.popup-actions button{background:#8b0000;color:#fff;border:none;padding:8px 12px;border-radius:5px;font-size:12px;cursor:pointer;transition:background .3s ease}.popup-actions button:hover{background:brown}.node-popup{font-family:Arial,sans-serif;min-width:200px}.node-popup h3{margin:0 0 10px;color:#32cd32;font-size:16px;border-bottom:2px solid #32CD32;padding-bottom:5px}.node-popup p{margin:8px 0;font-size:14px}.node-popup .status{font-weight:700;text-transform:uppercase}.node-popup .status.online{color:#32cd32}.node-popup .status.offline{color:#f44}@media(max-width:768px){.stats-overlay{position:fixed;top:80px;left:10px;right:10px;background:#000000f2}.status-indicator{top:10px;right:10px;font-size:12px}.marker-bodega .marker-label{display:none}.bodega-popup,.node-popup{min-width:200px}.popup-actions{flex-direction:column}}.leaflet-marker-icon,.leaflet-marker-shadow{transition:all .3s ease}.leaflet-popup-content-wrapper{border-radius:10px;box-shadow:0 8px 25px #0000004d}.leaflet-popup-tip{box-shadow:0 2px 10px #0003}.map-overlays>*{animation:fadeInUp .5s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.hidden{display:none!important}.loading{opacity:.5;pointer-events:none}.error{border:2px solid #FF4444!important;animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.leaflet-control-zoom a{background-color:#121212!important;color:#c5a880!important;border:1px solid rgba(255,255,255,.1)!important;transition:background .2s,color .2s}.leaflet-control-zoom a:hover{background-color:#1c1418!important;color:#f7931a!important}.leaflet-control-layers{background:#0b0b0bf0!important;border:1px solid rgba(197,168,128,.25)!important;border-radius:8px!important;box-shadow:0 4px 20px #0009!important;color:#f5f5f5!important;padding:8px 12px!important;font-size:.88rem!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.leaflet-control-layers-toggle{background-color:#121212!important;border-radius:6px!important}.leaflet-control-layers-expanded{background:#0b0b0bf5!important;color:#e0e0e0!important}.leaflet-control-layers-base label,.leaflet-control-layers-overlays label{margin:4px 0!important;cursor:pointer;display:flex;align-items:center;gap:6px}.leaflet-popup-content-wrapper{background:#121212!important;color:#f5f5f5!important;border:1px solid rgba(197,168,128,.25)!important;box-shadow:0 10px 30px #000000b3!important;border-radius:10px!important}.leaflet-popup-tip{background:#121212!important;border:1px solid rgba(197,168,128,.25)!important;box-shadow:none!important}.leaflet-container a.leaflet-popup-close-button{color:#c5a880!important;padding:6px 6px 0 0!important}.leaflet-container a.leaflet-popup-close-button:hover{color:#f7931a!important}.leaflet-control-attribution{background:#0b0b0bcc!important;color:#888!important;font-size:.75rem!important;border-top-left-radius:4px}.leaflet-control-attribution a{color:#c5a880!important;text-decoration:none}.peer-icon-wrapper{display:flex;align-items:center;justify-content:center;position:relative}.peer-marker{position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 2px 8px #0000004d;transition:all .3s ease;cursor:pointer;width:calc(36px * var(--marker-scale, 1));height:calc(36px * var(--marker-scale, 1));min-width:0;min-height:0}.peer-marker:hover{transform:scale(1.15);box-shadow:0 4px 12px #00000080}.peer-marker .peer-icon{font-size:20px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4));transform:scale(var(--marker-scale, 1));transition:transform .2s}.peer-marker-local{background:linear-gradient(135deg,#10b981,#059669);border:3px solid #ffffff;animation:localPulse 2s ease-in-out infinite;width:calc(36px * var(--marker-scale, 1));height:calc(36px * var(--marker-scale, 1))}.peer-marker-local .peer-icon{font-size:24px;transform:scale(var(--marker-scale, 1))}@keyframes localPulse{0%,to{box-shadow:0 2px 8px #10b98166,0 0 #10b981b3}50%{box-shadow:0 2px 8px #10b98166,0 0 0 10px #10b98100}}.peer-marker-online{background:linear-gradient(135deg,#10b981,#059669);border:2px solid #ffffff;position:relative;width:calc(32px * var(--marker-scale, 1));height:calc(32px * var(--marker-scale, 1))}.peer-marker-online .peer-pulse{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:12%;background:#3b82f666;animation:peerPulse 2s ease-out infinite;pointer-events:none}@keyframes peerPulse{0%{transform:translate(-50%,-50%) scale(1);opacity:.6}to{transform:translate(-50%,-50%) scale(2);opacity:0}}.peer-marker-offline{background:linear-gradient(135deg,#6b7280,#4b5563);border:2px solid #9CA3AF;opacity:.7;width:calc(28px * var(--marker-scale, 1));height:calc(28px * var(--marker-scale, 1))}.peer-marker-offline:hover{opacity:.9}.peer-marker-error{background:linear-gradient(135deg,#ef4444,#dc2626);border:2px solid #FCA5A5;animation:errorBlink 1.5s ease-in-out infinite;width:calc(28px * var(--marker-scale, 1));height:calc(28px * var(--marker-scale, 1))}@keyframes errorBlink{0%,to{opacity:1}50%{opacity:.5}}.peer-leaflet-popup .leaflet-popup-content-wrapper{background:#1c1719f2;color:#e5e7eb;border-radius:12px;padding:0;box-shadow:0 4px 16px #0009;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.peer-leaflet-popup .leaflet-popup-content{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.peer-leaflet-popup .leaflet-popup-tip{background:#1c1719f2}.peer-popup{padding:0;min-width:400px;max-width:400px}.peer-popup-title{background:linear-gradient(135deg,#1f2937,#111827);color:#f7931a;padding:12px 1ch;margin:0;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.peer-popup-content{padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.peer-popup-content p{margin:8px 0;font-size:13px;line-height:1.6;color:#d1d5db;width:100%;text-align:center}.peer-popup-img-wrapper{width:100%;display:flex;justify-content:center;align-items:center;margin:10px 0}.peer-popup-content p:first-child{margin-top:0}.peer-popup-content p:last-child{margin-bottom:0}.peer-popup-content strong{color:#f3f4f6;font-weight:600;min-width:120px;display:inline-block}.peer-popup-content code{background:#3b82f626;color:#60a5fa;padding:2px 6px;border-radius:4px;font-family:Monaco,Menlo,Courier New,monospace;font-size:11px;border:1px solid rgba(59,130,246,.3)}.peer-popup-content a{color:#60a5fa;text-decoration:none;transition:color .2s ease}.peer-popup-content a:hover{color:#93c5fd;text-decoration:underline}.peer-popup-content .status-online{color:#10b981;font-weight:600}.peer-popup-content .status-offline{color:#ef4444;font-weight:600}.peer-popup-content .status-error{color:#f59e0b;font-weight:600}@media(max-width:768px){.peer-marker{transform:scale(.9)}.peer-marker:hover{transform:scale(1.05)}.peer-popup{min-width:240px;max-width:280px}.peer-popup-content p{font-size:12px}.peer-popup-title{font-size:13px;padding:10px 12px}}@media(prefers-reduced-motion:reduce){.peer-marker,.peer-marker-online .peer-pulse,.peer-marker-local,.peer-marker-error{animation:none!important;transition:none!important}.peer-marker:hover{transform:none}}@media(prefers-color-scheme:light){.peer-leaflet-popup .leaflet-popup-content-wrapper{background:#fffffff2;color:#1f2937}.peer-leaflet-popup .leaflet-popup-tip{background:#fffffff2}.peer-popup-title{background:#ffa726;color:#111827;border-bottom:2px solid #D1D5DB;border-radius:20px}.peer-popup-content,.peer-leaflet-popup .leaflet-popup-content-wrapper{background:#fffffff2!important;color:#1f2937}.peer-popup-content p{color:#374151}.peer-popup-content strong{color:#111827}.peer-popup-content code{background:#3b82f61a;color:#2563eb}}.user-marker{display:flex;align-items:center;justify-content:center;position:relative}.user-multi-badge{margin:0 0 0 -6px;font-size:.85em;display:inline-flex;align-items:center;vertical-align:middle;position:static;padding-left:0;z-index:2}.globe-corner-widget{position:absolute;bottom:22px;left:20px;z-index:650;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle at 42% 38%,#0c1a30eb,#050b16f0 72%,#02050af5);border:1px solid rgba(110,180,255,.32);box-shadow:0 14px 36px #000000a6,0 0 28px #2a82e138,inset 0 0 18px #64b9ff24;overflow:visible;transition:width .35s cubic-bezier(.22,1,.36,1),height .35s cubic-bezier(.22,1,.36,1),border-radius .35s ease,box-shadow .3s ease,transform .25s ease}.globe-corner-widget:hover{border-color:#87c8ff8c;box-shadow:0 16px 42px #000000b8,0 0 34px #3898ff52}.globe-corner-widget.is-expanded{width:min(460px,calc(100vw - 40px));height:min(460px,calc(100vh - 110px));border-radius:22px;background:radial-gradient(circle at 50% 45%,#091a32,#050d1a 60%,#02050a)}.globe-offers__canvas{position:absolute;inset:0;width:100%;height:100%;display:block;border-radius:inherit;cursor:grab;touch-action:none}.globe-offers__canvas:active{cursor:grabbing}.globe-offers__canvas.is-hovering-node{cursor:pointer}.globe-corner__expand{position:absolute;top:6px;right:6px;z-index:3;width:28px;height:28px;border-radius:50%;border:1px solid rgba(140,200,255,.35);background:#081222d9;color:#e6f2ff;font-size:.85rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s ease,border-color .2s ease,transform .2s ease}.globe-corner__expand:hover,.globe-corner__expand:focus-visible{background:#184882eb;border-color:#aadcffbf;transform:scale(1.08);outline:none}.globe-corner__hud{position:absolute;left:50%;bottom:-10px;transform:translate(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;text-align:center;padding:5px 12px;border-radius:999px;background:#08101ee6;border:1px solid rgba(120,190,255,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 6px 18px #0000008c;pointer-events:none;white-space:nowrap;max-width:220px}.globe-corner-widget.is-expanded .globe-corner__hud{bottom:14px;max-width:340px;padding:7px 16px}.globe-corner__title{font-size:.74rem;font-weight:700;color:#f5f8ff;line-height:1.2;overflow:hidden;text-overflow:ellipsis;max-width:100%}.globe-corner__region{font-size:.64rem;color:#8cc8ff;line-height:1.2;overflow:hidden;text-overflow:ellipsis;max-width:100%}.bitcoin-change .metric-value.btc-change--positive{color:#2ecc71}.bitcoin-change .metric-value.btc-change--negative{color:#e74c3c}.bitcoin-change .metric-value.btc-change--neutral{color:var(--accent, #f7931a)}.connection-status{position:fixed;top:calc(var(--header-height, 64px) + 10px);bottom:auto;left:50%;right:auto;transform:translate(-50%);width:max-content;max-width:calc(100vw - 110px);padding:4px 10px;border-radius:999px;font-size:.68rem;font-weight:600;line-height:1.2;gap:5px;white-space:nowrap;z-index:660}.connection-status:hover{transform:translate(-50%) translateY(-1px)}@media(max-width:768px){.connection-status{top:calc(var(--header-height, 50px) + 8px);padding:3px 8px;font-size:.6rem}.globe-corner-widget{width:146px;height:146px;bottom:18px;left:12px}.globe-corner-widget.is-expanded{width:calc(100vw - 24px);height:min(360px,60vh)}.globe-corner__hud{max-width:150px;padding:4px 9px}.globe-corner__title{font-size:.66rem}.globe-corner__region{display:none}.globe-corner-widget.is-expanded .globe-corner__region{display:block}}.do-geojson-notice{position:absolute;top:52px;left:50%;transform:translate(-50%) translateY(-8px);z-index:700;background:#440e18f0;color:#ffe4e8;border:1px solid rgba(231,76,60,.55);border-radius:10px;padding:8px 14px;font-size:.78rem;font-weight:600;box-shadow:0 8px 24px #00000073;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,transform .25s ease,visibility .25s ease}.do-geojson-notice.is-visible{opacity:1;visibility:visible;transform:translate(-50%) translateY(0)}.do-polygon-tooltip{background:#120c10eb;color:#f5f5f5;border:1px solid rgba(197,168,128,.45);border-radius:6px;font-size:.75rem;font-weight:600;padding:4px 8px;box-shadow:0 4px 12px #00000073}.do-popup-card{min-width:240px;max-width:300px;padding:6px 2px;text-align:left;font-family:Segoe UI,system-ui,sans-serif}.do-popup-card__header{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:6px;margin-bottom:8px}.do-popup-card__title{color:#f7931a;font-size:.95rem}.do-popup-card__badge{background:#6a0d25;color:#fff;padding:2px 8px;border-radius:999px;font-size:.65rem;font-weight:700}.do-popup-card__line{margin:4px 0;font-size:.78rem;color:#d1d5db}.do-popup-card__tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.do-popup-tag{background:#f7931a26;color:#ffb14a;border:1px solid rgba(247,147,26,.35);border-radius:4px;padding:2px 6px;font-size:.68rem}.do-popup-tag--wine{background:#8b1e3f47;color:#f5f5f5;border-color:#c5a8804d}
