body, html { margin: 0; padding: 0; overflow: hidden; background: #000; font-family: 'Courier New', monospace; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; touch-action: pan-x pan-y; } * { touch-action: manipulation; } canvas { display: block; } #gear-icon { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; cursor: pointer; opacity: 0.3; transition: opacity 0.2s; z-index: 1000; } #gear-icon:hover { opacity: 0.6; } #settings-menu { display: none; position: absolute; top: 50px; right: 20px; background: rgba(20, 20, 30, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); padding: 16px; border-radius: 4px; color: rgba(255, 255, 255, 0.7); font-size: 11px; width: 280px; line-height: 1.5; z-index: 999; } #settings-menu.open { display: block; } .menu-title { color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; } .menu-text { margin-bottom: 12px; } .menu-btn { background: rgba(60, 60, 80, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.5); padding: 6px 12px; margin-top: 8px; margin-right: 8px; cursor: pointer; font-family: 'Courier New', monospace; font-size: 11px; transition: all 0.2s; } .menu-btn:hover { background: rgba(80, 80, 100, 0.6); color: rgba(255, 255, 255, 0.7); } .menu-btn.danger:hover { background: rgba(120, 40, 40, 0.6); border-color: rgba(255, 100, 100, 0.3); } #stats-panel { position: absolute; top: 20px; left: 20px; color: rgba(255, 255, 255, 0.3); font-size: 12px; pointer-events: none; line-height: 1.6; } .tooltip-trigger { cursor: help; pointer-events: auto; border-bottom: 1px dotted rgba(255, 255, 255, 0.3); position: relative; } .tooltip { display: none; position: absolute; background: rgba(20, 20, 30, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 12px; border-radius: 4px; font-size: 11px; color: rgba(255, 255, 255, 0.7); width: 200px; z-index: 1000; line-height: 1.4; left: 0; top: 100%; margin-top: 5px; } .tooltip-trigger:hover .tooltip { display: block; } #upgrade-panel { position: absolute; top: 90px; left: 20px; color: rgba(255, 255, 255, 0.3); font-size: 12px; } .upgrade-row { margin-bottom: 8px; } .upgrade-btn { background: rgba(60, 60, 80, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.5); padding: 4px 8px; margin-top: 4px; cursor: pointer; font-family: 'Courier New', monospace; font-size: 11px; } .upgrade-btn:hover { background: rgba(80, 80, 100, 0.6); } .upgrade-btn:disabled { cursor: not-allowed; opacity: 0.3; } .modal { position: absolute; top: 80px; right: 20px; display: none; width: 360px; z-index: 5000; background: transparent; } .modal.show { display: block; } .modal-content { background: rgba(20, 20, 30, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); padding: 16px; border-radius: 4px; color: rgba(255, 255, 255, 0.7); max-height: 80vh; overflow-y: auto; } .leaderboard-entry { display: flex; align-items: center; padding: 8px; margin-bottom: 4px; background: rgba(10, 10, 10, 0.3); border-radius: 4px; font-size: 11px; line-height: 1.5; } .leaderboard-title { display: flex; font-size: 12px; padding: 5px 0; border-bottom: 1px solid #333; text-transform: uppercase; } .leaderboard-entry .rank { width: 40px; font-weight: bold; color: rgba(255, 255, 255, 0.5); font-size: 11px; } .leaderboard-entry .name { flex: 1; color: rgba(255, 255, 255, 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; } .leaderboard-entry .value { color: rgba(255, 255, 255, 0.7); min-width: 80px; text-align: right; font-size: 11px; } .leaderboard-entry .value.mass { color: rgba(255, 255, 255, 0.7); } .leaderboard-entry .value.age { color: rgba(255, 255, 255, 0.7); } .value.mass.sorted { font-weight: bold; } .value.age.sorted { font-weight: bold; } .leaderboard-entry.local-player { border: 1px solid rgba(255, 100, 150, 0.3); } .menu-title { color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; } .menu-text { margin-bottom: 12px; color: rgba(255, 255, 255, 0.7); font-size: 11px; line-height: 1.5; } .rate-up { color: rgba(100, 255, 100, 0.9); transition: color 0.5s ease; } .rate-down { color: rgba(255, 100, 100, 0.9); transition: color 0.5s ease; } .rate-same { color: rgba(200, 200, 200, 0.8); transition: color 0.5s ease; } .score-icon { position: absolute; top: 50px; right: 20px; width: 20px; height: 20px; cursor: pointer; opacity: 0.3; transition: opacity 0.2s; z-index: 1000; } .score-icon:hover { opacity: 0.6; } .online-indicator { display: inline-block; width: 6px; height: 6px; background: #00ff00; border-radius: 50%; margin-left: 6px; margin-right: 6px; box-shadow: 0 0 1px #00ff00, 0 0 3px #00ff00; animation: pulse 3s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 6px #00ff00, 0 0 6px #00ff00; } 50% { opacity: 0.7; box-shadow: 0 0 4px #00ff00, 0 0 6px #00ff00; } }