* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Fira Code', 'Courier New', monospace; background: #000; color: #00ffaa; overflow: hidden; position: relative; /* 📱 MOBILE-FIRST 4D OPTIMIZATION */ touch-action: manipulation; -webkit-touch-callout: none; -webkit-user-select: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; font-size: clamp(12px, 3.5vw, 14px); } /* 4D HoloMesh Canvas */ #holomesh-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } /* HUD Overlay */ .hud { position: fixed; z-index: 100; pointer-events: none; } .hud > * { pointer-events: auto; } /* 📱 MOBILE-FIRST 4D HUD */ .hud-top { top: clamp(12px, 3vw, 20px); left: clamp(12px, 3vw, 20px); right: clamp(12px, 3vw, 20px); display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: clamp(8px, 2vw, 12px); } .hud-info { background: rgba(0, 0, 0, 0.9); border: 2px solid #00ffaa; padding: clamp(10px, 3vw, 15px); border-radius: clamp(8px, 2.5vw, 12px); font-size: clamp(11px, 3vw, 14px); backdrop-filter: blur(15px); /* Mobile 4D HUD optimizations */ min-width: clamp(120px, 30vw, 200px); max-width: 90vw; } .hud-title { font-size: clamp(16px, 5vw, 24px); font-weight: bold; background: linear-gradient(45deg, #00ffaa, #00aaff, #ff00aa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: clamp(6px, 2vw, 10px); line-height: 1.2; } /* 📱 MOBILE-FIRST 4D CONTROLS */ .controls-panel { position: fixed; bottom: clamp(12px, 3vw, 20px); left: 50%; transform: translateX(-50%); /* Mobile 4D touch optimization */ background: rgba(0, 0, 0, 0.95); border: 2px solid #00ffaa; border-radius: clamp(12px, 4vw, 18px); padding: clamp(15px, 4vw, 20px); backdrop-filter: blur(20px); /* Mobile 4D touch panel */ max-width: 95vw; box-shadow: 0 8px 32px rgba(0, 255, 170, 0.3); z-index: 200; display: flex; gap: 20px; backdrop-filter: blur(10px); } .control-group { display: flex; flex-direction: column; gap: 10px; } .control-label { font-size: 12px; color: #00ff55; text-transform: uppercase; } .slider { width: 150px; height: 6px; background: rgba(0, 255, 170, 0.2); border-radius: 3px; outline: none; -webkit-appearance: none; } .slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: #00ffaa; border-radius: 50%; cursor: pointer; } .slider::-moz-range-thumb { width: 18px; height: 18px; background: #00ffaa; border-radius: 50%; cursor: pointer; border: none; } .button { background: linear-gradient(45deg, #00ffaa, #00aaff); color: #000; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-family: inherit; font-weight: bold; transition: all 0.3s; } .button:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 255, 170, 0.5); } /* Tabular Code Panel */ .tabular-panel { position: fixed; right: 20px; top: 100px; width: 400px; max-height: 60vh; background: rgba(0, 0, 0, 0.9); border: 2px solid #ff00aa; border-radius: 10px; padding: 15px; z-index: 150; overflow-y: auto; backdrop-filter: blur(10px); transition: transform 0.3s; } .tabular-panel.collapsed { transform: translateX(420px); } .tabular-block { background: rgba(255, 0, 170, 0.1); border: 1px solid #ff00aa; border-radius: 5px; padding: 10px; margin: 10px 0; font-size: 12px; } .tabular-row { display: grid; grid-template-columns: 100px 1fr; gap: 10px; margin: 5px 0; } .tabular-cell { padding: 5px; background: rgba(0, 0, 0, 0.5); border: 1px solid #ff00aa; } .tabular-cell:first-child { color: #ffaa00; font-weight: bold; } /* Node Info Popup */ .node-popup { position: absolute; background: rgba(0, 0, 0, 0.95); border: 2px solid #00ffaa; border-radius: 10px; padding: 15px; min-width: 200px; z-index: 300; display: none; backdrop-filter: blur(10px); } .node-popup.active { display: block; } .node-qr { font-family: monospace; color: #ffaa00; font-size: 14px; margin-bottom: 10px; } /* MCP Status */ .mcp-status { position: fixed; top: 20px; right: 20px; background: rgba(0, 0, 0, 0.9); border: 2px solid #00aaff; border-radius: 10px; padding: 15px; z-index: 150; backdrop-filter: blur(10px); } .mcp-indicator { width: 12px; height: 12px; background: #00ff00; border-radius: 50%; display: inline-block; margin-right: 10px; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Loading Screen */ .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; transition: opacity 1s; } .loading-screen.hidden { opacity: 0; pointer-events: none; } .loading-text { font-size: 24px; margin-bottom: 20px; animation: glow 2s ease-in-out infinite; } @keyframes glow { 0%, 100% { text-shadow: 0 0 10px #00ffaa; } 50% { text-shadow: 0 0 20px #00ffaa, 0 0 30px #00ffaa; } } .loading-bar { width: 300px; height: 4px; background: rgba(0, 255, 170, 0.2); border-radius: 2px; overflow: hidden; } .loading-progress { height: 100%; background: linear-gradient(90deg, #00ffaa, #00aaff, #ff00aa); animation: loading 2s ease-in-out infinite; } @keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } } /* Territory Grid */ .territory-grid { position: fixed; left: 20px; bottom: 150px; display: grid; grid-template-columns: repeat(5, 30px); gap: 5px; z-index: 150; } .territory-cell { width: 30px; height: 30px; background: rgba(0, 255, 170, 0.1); border: 1px solid #00ffaa; cursor: pointer; transition: all 0.3s; position: relative; } .territory-cell:hover { background: rgba(0, 255, 170, 0.3); transform: scale(1.1); } .territory-cell.active { background: rgba(0, 255, 170, 0.5); box-shadow: 0 0 10px #00ffaa; } .territory-label { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 8px; white-space: nowrap; }