:root { --bg-dark: #0f172a; /* Deep navy blue */ --bg-panel: #1e293b; /* Rich slate blue */ --bg-card: #1a365d; /* Dark blue card background */ --accent-primary: #3b82f6; /* Vibrant blue primary */ --accent-secondary: #60a5fa; /* Soft blue secondary */ --status-active: #34d399; /* Teal green for active */ --status-cooldown: #fbbf24; /* Warm amber for cooldown */ --status-blocked: #f87171; /* Coral red for blocked */ --text-primary: #e2e8f0; /* Light blue-gray text */ --text-secondary: #94a3b8; /* Medium blue-gray text */ --text-tertiary: #cbd5e1; /* Muted blue-gray */ --border-light: rgba(59, 130, 246, 0.3); /* Semi-transparent blue border */ --border-radius-sm: 6px; --border-radius-md: 8px; --glow-effect: 0 0 20px rgba(59, 130, 246, 0.3); /* Softer blue glow */ } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; user-select: none; } body { background: transparent; } #scoreboard { position: absolute; top: 4%; right: 2%; width: 300px; background: var(--bg-panel); border-radius: var(--border-radius-md); padding: 14px; color: var(--text-primary); border: 1px solid var(--border-light); box-shadow: var(--glow-effect), 0 8px 32px rgba(30, 41, 59, 0.5); display: none; flex-direction: column; gap: 10px; overflow: hidden; transition: all 0.25s ease; background: rgba(30, 41, 59, 0.95); } .header { flex-direction: column; align-items: stretch; margin-bottom: 8px; } .title-wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 0; } .title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-secondary); letter-spacing: 0.5px; text-transform: uppercase; } .police-count { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--text-primary); background: rgba(59, 130, 246, 0.2); padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(96, 165, 250, 0.3); } .police-count.high-alert { background: rgba(248, 113, 113, 0.2); border-color: rgba(248, 113, 113, 0.4); color: var(--status-blocked); } .icon { width: 14px; height: 14px; fill: var(--accent-primary); } .server-info { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); } .server-logo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: rgba(30, 41, 59, 0.5); } .server-logo-img { width: 90%; height: 90%; object-fit: cover; border-radius: 50%; } .server-details { flex: 1; } .server-name { font-weight: 600; font-size: 14px; color: var(--text-primary); letter-spacing: 0.5px; margin-bottom: 2px; } .server-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-secondary); } .status-indicator { width: 8px; height: 8px; border-radius: 50%; background-color: var(--accent-primary); } .status-indicator.active { background-color: var(--accent-primary); } .status-indicator.inactive { background-color: var(--status-blocked); } .controls { display: flex; align-items: center; gap: 8px; } .robbery-list { display: flex; flex-direction: column; gap: 8px; } .robbery-card { background: var(--bg-card); padding: 10px 12px; border-radius: var(--border-radius-sm); display: flex; justify-content: space-between; align-items: center; transition: all 0.2s ease; border-left: 2px solid transparent; position: relative; overflow: hidden; border: 1px solid rgba(59, 130, 246, 0.1); } .robbery-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.1) 100%); opacity: 0; transition: opacity 0.2s ease; } .robbery-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 41, 59, 0.4); background: rgba(26, 52, 93, 0.9); border-color: rgba(59, 130, 246, 0.3); border-left-color: var(--accent-primary); } .robbery-card:hover::after { opacity: 1; } .robbery-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; } .robbery-name { font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; } .robbery-location { font-size: 11px; color: var(--text-secondary); font-weight: 400; } .robbery-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: 10px; } .cops-count { font-size: 11px; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; } .status-badge { font-size: 10px; padding: 3px 8px; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; } .allowed { background-color: rgba(52, 211, 153, 0.15); color: var(--status-active); border: 1px solid rgba(52, 211, 153, 0.2); } .cooldown { background-color: rgba(251, 191, 36, 0.15); color: var(--status-cooldown); border: 1px solid rgba(251, 191, 36, 0.2); } .blocked { background-color: rgba(248, 113, 113, 0.15); color: var(--status-blocked); border: 1px solid rgba(248, 113, 113, 0.2); } .close-btn { background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; border-radius: 4px; transition: all 0.2s ease; } .close-btn:hover { color: var(--text-primary); background: rgba(59, 130, 246, 0.15); } .footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-family: 'Inter', 'Segoe UI', sans-serif; font-size: 12px; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0.3px; text-transform: uppercase; } .server-time { display: flex; align-items: center; gap: 4px; } .player-count { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-primary); margin-left: auto; } .player-id { display: flex; align-items: center; gap: 6px; background-color: rgba(59, 130, 246, 0.1); border: 1px solid rgba(96, 165, 250, 0.2); padding: 4px 10px; border-radius: 10px; font-family: 'Inter', 'Segoe UI', sans-serif; font-size: 12px; font-weight: 500; color: var(--text-primary); box-shadow: 0 0 4px rgba(30, 41, 59, 0.4); width: fit-content; margin: 4px 0; transition: all 0.2s ease-in-out; } .player-id .icon { width: 18px; height: 18px; fill: var(--accent-secondary); flex-shrink: 0; transition: fill 0.2s ease; } .player-id:hover { background-color: rgba(96, 165, 250, 0.15); border-color: rgba(96, 165, 250, 0.3); } .player-id:hover .icon { fill: var(--text-primary); } /* Modern scrollbar for robbery list */ .robbery-list::-webkit-scrollbar { width: 4px; } .robbery-list::-webkit-scrollbar-track { background: transparent; } .robbery-list::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 2px; } .robbery-list::-webkit-scrollbar-thumb:hover { background: var(--accent-secondary); } /* Performance optimizations */ .robbery-card, .police-count, .close-btn:hover, .status-badge { transform: translateZ(0); backface-visibility: hidden; }