        :root {
            --bg-color: #050608;
            --bg-surface: #101217;
            --gradient-start: #06b6d4;
            --gradient-end: #a855f7;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --border-color: rgba(168, 85, 247, 0.15);
        }

        /* --- SITH PROTOCOL MODE --- */
        :root.sith-mode {
            --gradient-start: #ff0000;
            --gradient-end: #8b0000;
            --border-color: rgba(255, 0, 0, 0.2);
        }
        
        .sith-mode .live-dot { background-color: #ff0000; box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
        .sith-mode body { background-image: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.08) 0%, transparent 50%); }

        /* --- CUSTOM SVG CROSSHAIR CURSOR --- */
        body { 
            background-color: var(--bg-color);
            background-image: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
            color: var(--text-main);
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            margin: 0; padding: 0; min-height: 100vh;
            display: flex; flex-direction: row; overflow: hidden;
            cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4V10M12 14V20M4 12H10M14 12H20" stroke="%2306b6d4" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="1" fill="%2306b6d4"/></svg>') 12 12, crosshair; 
        }

        a, button, select, input, textarea, details summary, .clip-card {
            cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4V10M12 14V20M4 12H10M14 12H20" stroke="%23a855f7" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="2" fill="%23a855f7"/></svg>') 12 12, pointer !important;
        }

        .sith-mode body { cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4V10M12 14V20M4 12H10M14 12H20" stroke="%23ff0000" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="1" fill="%23ff0000"/></svg>') 12 12, crosshair; }
        .sith-mode a, .sith-mode button, .sith-mode select, .sith-mode input, .sith-mode textarea, .sith-mode details summary, .sith-mode .clip-card {
            cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 4V10M12 14V20M4 12H10M14 12H20" stroke="%238b0000" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="12" r="2" fill="%238b0000"/></svg>') 12 12, pointer !important;
        }

        #particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; pointer-events: none; }

        /* --- PRELOADER --- */
        #preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-color); z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.3s ease; }
        .preloader-text { font-size: 3.5rem; font-weight: 900; letter-spacing: 8px; text-transform: uppercase; margin-bottom: 25px; background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: pulseText 1.5s infinite ease-in-out; }
        @keyframes pulseText { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.98); } }
        .loader-ring { width: 50px; height: 50px; border: 3px solid rgba(168, 85, 247, 0.1); border-top-color: var(--gradient-start); border-radius: 50%; animation: spin 1s linear infinite; position: relative; }
        .loader-ring::after { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border: 3px solid rgba(6, 182, 212, 0.1); border-bottom-color: var(--gradient-end); border-radius: 50%; animation: spin 0.6s linear infinite reverse; }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* --- SITH LIGHTSABER SPLIT OVERLAY --- */
        #blackout-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 100000; display: none; pointer-events: none; overflow: hidden; }
        .blackout-panel { position: absolute; top: 0; width: 50%; height: 100%; background: #000000; transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1); z-index: 100001; }
        .blackout-panel.left { left: 0; transform: translateX(0); border-right: 3px solid transparent; }
        .blackout-panel.right { right: 0; transform: translateX(0); border-left: 3px solid transparent; }
        #blackout-overlay.splitting .blackout-panel.left { transform: translateX(-100%); border-right-color: #ffffff; box-shadow: 8px 0 25px #ff0000, 20px 0 50px #ff0000; }
        #blackout-overlay.splitting .blackout-panel.right { transform: translateX(100%); border-left-color: #ffffff; box-shadow: -8px 0 25px #ff0000, -20px 0 50px #ff0000; }
        .lightning-flash { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; opacity: 0; z-index: 100003; pointer-events: none; }
        @keyframes playLightning { 0% { opacity: 0; } 5% { opacity: 0.9; background: #e0f2fe; } 7% { opacity: 0; } 12% { opacity: 1; background: #ffffff; } 16% { opacity: 0; } 45% { opacity: 0.8; background: #ffffff; } 48% { opacity: 0; } 100% { opacity: 0; } }
        .center-laser { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 5px; height: 0; background: #ffffff; box-shadow: 0 0 10px #ff0000, 0 0 25px #ff0000, 0 0 50px #ff0000; z-index: 100002; opacity: 0; border-radius: 4px; }
        @keyframes igniteLaser { 0% { height: 0; opacity: 1; } 100% { height: 100%; opacity: 1; } }

        /* --- HACK MINIGAME --- */
        #hack-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 10000; align-items: center; justify-content: center; font-family: 'Courier New', Courier, monospace; }
        .hack-box { background: #050608; border: 2px solid #06b6d4; padding: 40px; border-radius: 12px; width: 90%; max-width: 600px; text-align: center; box-shadow: 0 0 40px rgba(6, 182, 212, 0.2); }
        .hack-title { color: #06b6d4; font-size: 2rem; font-weight: bold; margin-bottom: 5px; letter-spacing: 4px; }
        .hack-timer { font-size: 2.5rem; color: #ff0000; font-weight: 900; margin-bottom: 15px; letter-spacing: 2px; text-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
        .hack-grid { display: flex; justify-content: center; gap: 5px; background: #000; padding: 20px; border: 1px solid #333; position: relative; margin-bottom: 20px; height: 200px; overflow: hidden; }
        .hack-highlight { position: absolute; top: 50%; left: 0; width: 100%; height: 40px; transform: translateY(-50%); background: rgba(6, 182, 212, 0.2); border-top: 1px solid #06b6d4; border-bottom: 1px solid #06b6d4; pointer-events: none; z-index: 5; }
        .hack-col { width: 40px; height: 200px; position: relative; overflow: hidden; background: #101217; border: 1px solid transparent; }
        .hack-col.active { background: rgba(255, 255, 255, 0.05); border-left: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
        .hack-col.error { animation: shake 0.3s; background: rgba(255,0,0,0.1); }
        .hack-col-inner { position: absolute; top: 0; left: 0; width: 100%; }
        .hack-cell { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; font-weight: bold; }
        .hack-col.active .hack-cell.is-target { color: #ff0000; text-shadow: 0 0 12px #ff0000; font-weight: 900; background: rgba(255,0,0,0.1); }
        .hack-cell.locked-correct { color: #ff0000; text-shadow: 0 0 10px #ff0000; font-weight: 900; }
        .hack-col.locked .hack-cell:not(.locked-correct) { color: #333; text-shadow: none; background: transparent; }
        .hack-status { font-size: 1.2rem; font-weight: bold; height: 25px; margin-bottom: 20px; color: #94a3b8; text-transform: uppercase; }
        .status-fail { color: #ff0000; animation: shake 0.3s; }
        .status-success { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
        @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
        .hack-instructions { color: #94a3b8; font-size: 0.85rem; margin-top: 20px; text-transform: uppercase; }

        /* --- GGWP KONFETTI --- */
        .confetti-piece { position: fixed; top: -50px; font-family: 'Impact', sans-serif; font-size: 1.5rem; font-weight: bold; pointer-events: none; z-index: 10000; animation: fall linear forwards; }
        @keyframes fall { to { transform: translateY(120vh) rotate(720deg); } }

        /* ================================================================= */
        /* --- DASHBOARD / APP LAYOUT (NEUE, VERSCHMOLZENE MENÜ STRUKTUR) -- */
        /* ================================================================= */

        .sidebar {
            width: 280px; height: 100vh; background-color: var(--bg-surface);
            border-right: 1px solid var(--border-color); padding: 35px 20px;
            display: flex; flex-direction: column; align-items: center;
            overflow-y: auto; flex-shrink: 0; box-sizing: border-box; z-index: 100;
            box-shadow: 5px 0 20px rgba(0,0,0,0.2);
        }
        
        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

        .profile-logo { width: 130px; height: 130px; border-radius: 50%; border: 3px solid var(--border-color); object-fit: cover; background-color: var(--bg-color); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2); margin-bottom: 15px; transition: box-shadow 0.5s; }
        .sith-mode .profile-logo { box-shadow: 0 4px 25px rgba(255, 0, 0, 0.4); border-color: #8b0000; }
        
        .profile-name { font-size: 1.8rem; font-weight: 900; margin-bottom: 5px; color: var(--text-main); letter-spacing: 1px; }
        .profile-desc { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-bottom: 25px; }
        
        .live-badge { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); color: var(--text-muted); padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; font-weight: bold; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; margin-bottom: 25px; transition: all 0.3s; }
        .live-dot { width: 8px; height: 8px; background-color: #ef4444; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); animation: pulse 1.8s infinite; }

        .nav-list { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-bottom: 20px; }
        .nav-btn { background: transparent; border: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; padding: 12px 15px; border-radius: 8px; transition: all 0.2s ease; display: flex; align-items: center; gap: 12px; width: 100%; justify-content: flex-start; cursor: pointer; }
        .nav-btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-main); }
        .nav-btn.active { background: rgba(6, 182, 212, 0.08); color: var(--gradient-start); border-left: 4px solid var(--gradient-start); border-radius: 0 8px 8px 0; padding-left: 11px; }
        .sith-mode .nav-btn.active { background: rgba(255, 0, 0, 0.08); color: #ff0000; border-left-color: #ff0000; }
        .nav-btn i { width: 22px; text-align: center; font-size: 1.1rem; }

        .social-grid-sidebar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: auto; }
        .social-btn { background-color: var(--bg-color); color: var(--text-main); text-decoration: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.2s; border: 1px solid var(--border-color); }
        .social-btn:hover { transform: translateY(-4px); border-color: var(--gradient-start); color: var(--gradient-start); }

        .main-content { flex-grow: 1; height: 100vh; overflow-y: auto; padding: 30px; box-sizing: border-box; position: relative; scroll-behavior: smooth; }
        .main-content::-webkit-scrollbar { width: 8px; }
        .main-content::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }

        .content-container { max-width: 1000px; margin: 0 auto; width: 100%; }

        .header-banner { width: 100%; height: 200px; background: linear-gradient(135deg, #090a10 0%, #150e22 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background 0.5s; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3); margin-bottom: 40px; }
        .sith-mode .header-banner { background: linear-gradient(135deg, #1a0505 0%, #2b0000 100%); }
        .header-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px); background-size: 20px 20px; background-position: center; transition: background-image 0.5s;}
        .sith-mode .header-banner::before { background-image: linear-gradient(rgba(255, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 0, 0.04) 1px, transparent 1px); }
        
        /* DYNAMIC HEADER TEXT */
        .banner-text { font-size: 4rem; font-weight: 950; letter-spacing: 12px; color: #ffffff; text-transform: uppercase; z-index: 5; font-family: 'Impact', 'Arial Black', sans-serif; text-shadow: 0 0 10px rgba(6, 182, 212, 0.6), 0 0 20px rgba(168, 85, 247, 0.4); animation: neonGlow 3s infinite ease-in-out; user-select: none; text-align: center; padding: 0 20px; }
        .sith-mode .banner-text { text-shadow: 0 0 10px rgba(255, 0, 0, 0.6), 0 0 30px rgba(139, 0, 0, 0.8); color: #ffb3b3; }
        @media (max-width: 600px) { .banner-text { font-size: 2.2rem !important; letter-spacing: 5px; } }

        /* Mobile Header & Dropdown */
        .mobile-header { display: none; width: 100%; background: var(--bg-surface); padding: 15px 20px; box-sizing: border-box; border-bottom: 1px solid var(--border-color); align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 900; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
        .mobile-header-info { display: flex; align-items: center; gap: 15px; }
        .mobile-logo { width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--border-color); object-fit: cover; }
        .hamburger-wrapper { position: relative; }
        .hamburger-btn { background: var(--bg-color); color: var(--text-main); border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
        .hamburger-btn:hover { border-color: var(--gradient-start); color: var(--gradient-start); }
        
        .mobile-dropdown { display: none !important; width: 100%; flex-direction: column; gap: 5px; background: var(--bg-surface); padding: 15px; border-bottom: 1px solid var(--border-color); box-sizing: border-box; position: sticky; top: 76px; z-index: 899; box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
        
        @media (max-width: 850px) {
            body { flex-direction: column; height: auto; overflow-y: auto; }
            .sidebar { display: none; }
            .mobile-header { display: flex; }
            .mobile-dropdown.show { display: flex !important; }
            .main-content { overflow: visible; height: auto; padding: 20px 15px; }
            .header-banner { border-radius: 12px; height: 140px; margin-bottom: 25px; }
            .banner-text { font-size: 2.5rem; }
        }

        /* --- CONTENT STYLING --- */
        .tab-content { display: none; animation: fadeIn 0.4s ease; }
        .tab-content.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .section-title { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.8px; color: var(--text-muted); margin: 30px 0 15px 0; padding-left: 10px; border-left: 3px solid var(--gradient-end); }

        .btn-primary { background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); border: none; color: white; padding: 12px 20px; border-radius: 8px; font-weight: bold; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 0.2s, background 0.2s; font-size: 1rem; font-family: inherit; box-sizing: border-box; white-space: nowrap; }
        .btn-primary:hover { opacity: 0.9; }
        .btn-primary.success { background: #2bcf92 !important; box-shadow: none; }
        .sith-mode .btn-primary { background: linear-gradient(to right, #8b0000, #ff0000); }
        .btn-secondary { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); padding: 12px 10px; border-radius: 8px; font-weight: bold; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; font-size: 0.9rem; text-decoration: none; cursor: pointer; white-space: nowrap;}
        .btn-secondary:hover { border-color: var(--gradient-end); color: var(--gradient-end); background: rgba(168, 85, 247, 0.05); }

        /* --- SERVER TAB STYLING --- */
        .server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
        .server-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
        .server-card:hover { transform: translateY(-4px); border-color: var(--gradient-start); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15); }
        .server-banner { width: 100%; height: 120px; background-size: cover; background-position: center; position: relative; background-color: #1a1e29;}
        .server-banner::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg-surface), transparent); }
        .server-logo { width: 70px; height: 70px; border-radius: 50%; border: 4px solid var(--bg-surface); object-fit: cover; position: relative; margin-top: -35px; margin-left: 20px; z-index: 2; background: var(--bg-color); }
        .server-info { padding: 15px 20px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
        .server-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
        .server-title { font-size: 1.3rem; font-weight: 800; color: var(--text-main); margin: 0; }
        .server-game { font-size: 0.8rem; color: var(--text-muted); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
        .server-status-box { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: bold; color: #2bcf92; background: rgba(43, 207, 146, 0.1); padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(43, 207, 146, 0.2); }
        .server-status-dot { width: 8px; height: 8px; background: #2bcf92; border-radius: 50%; box-shadow: 0 0 8px #2bcf92; animation: pulse 2s infinite; }
        .server-ip-box { background: var(--bg-color); border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; font-family: monospace; font-size: 1rem; color: var(--gradient-start); display: flex; justify-content: space-between; align-items: center; margin-top: 15px; margin-bottom: 20px; font-weight: bold; }
        .server-ip-box i { color: var(--text-muted); cursor: pointer; transition: 0.2s; }
        .server-ip-box i:hover { color: var(--text-main); }
        .server-actions { display: flex; gap: 10px; margin-top: auto; }

        /* --- SERVER MODAL (POPUP) --- */
        #server-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
        .sm-content { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; width: 90%; max-width: 600px; overflow: hidden; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: smFadeIn 0.3s ease; }
        @keyframes smFadeIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        .sm-close { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); border: none; color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1.2rem; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
        .sm-close:hover { background: var(--gradient-start); transform: rotate(90deg); }
        .sm-banner { width: 100%; height: 180px; background-size: cover; background-position: center; position: relative; }
        .sm-banner::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, var(--bg-surface), transparent); }
        .sm-logo { width: 90px; height: 90px; border-radius: 50%; border: 4px solid var(--bg-surface); object-fit: cover; position: relative; margin-top: -45px; margin-left: 30px; z-index: 2; background: var(--bg-color); }
        .sm-body { padding: 20px 30px 30px 30px; }
        .sm-title { font-size: 1.8rem; font-weight: 900; margin: 0 0 5px 0; color: var(--text-main); }
        .sm-game { font-size: 0.9rem; color: var(--gradient-start); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
        .sm-desc { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; margin-bottom: 25px; white-space: pre-wrap; }
        .sm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
        .sm-info-box { background: var(--bg-color); border: 1px solid var(--border-color); padding: 12px; border-radius: 8px; }
        .sm-info-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: bold; margin-bottom: 5px; }
        .sm-info-val { font-family: monospace; font-size: 1.1rem; font-weight: bold; color: var(--text-main); }

        /* --- NEXUS RUNNER MINIGAME --- */
        .runner-dashboard { display: flex; flex-direction: column; gap: 25px; width: 100%; margin-top: 15px; }
        .runner-leaderboard-top { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .runner-lb-header { padding: 15px 20px; background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
        .runner-lb-title { font-weight: 900; color: var(--gradient-start); letter-spacing: 1px; font-size: 1.1rem; }
        .runner-lb-tabs { display: flex; gap: 10px; }
        .runner-lb-tabs button { padding: 6px 15px; font-size: 0.8rem; border-radius: 6px; }
        #r-lb-list { padding: 15px 20px; display: flex; gap: 15px; overflow-x: auto; white-space: nowrap; }
        #r-lb-list::-webkit-scrollbar { height: 6px; }
        #r-lb-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
        .lb-card { background: rgba(255,255,255,0.05); padding: 12px 20px; border-radius: 8px; min-width: 150px; display: flex; flex-direction: column; gap: 5px; border: 1px solid transparent; transition: 0.2s; }
        .lb-card:hover { border-color: var(--gradient-start); background: rgba(6, 182, 212, 0.05); }

        .runner-container { width: 100%; height: 450px; background: #000; border-radius: 16px; border: 2px solid var(--border-color); overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        #runner-canvas { display: block; width: 100%; height: 100%; background: #0a0c10; background-image: linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px); background-size: 30px 30px; }
        .sith-mode #runner-canvas { background-image: linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px); }
        .runner-ui { position: absolute; top: 0; left: 0; width: 100%; padding: 20px 25px; box-sizing: border-box; display: flex; justify-content: space-between; pointer-events: none; z-index: 10; }
        .runner-score { font-size: 1.8rem; font-weight: 900; color: var(--text-main); font-family: monospace; text-shadow: 0 0 10px var(--gradient-start); }
        .sith-mode .runner-score { text-shadow: 0 0 10px #ff0000; }
        .runner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 20; transition: opacity 0.3s; backdrop-filter: blur(4px); }
        .runner-title { font-size: 3rem; font-weight: 900; color: var(--gradient-start); text-transform: uppercase; letter-spacing: 5px; margin-bottom: 5px; text-shadow: 0 0 20px var(--gradient-start); text-align: center; }
        .sith-mode .runner-title { color: #ff0000; text-shadow: 0 0 20px #ff0000; }
        .runner-subtitle { color: var(--text-muted); margin-bottom: 25px; font-weight: bold; font-size: 1.1rem; text-align: center; }

        /* Weitere Standard-Styles gekürzt (identisch mit vorher) */
        .video-container { position: relative; width: 100%; padding-bottom: 56.25%; background-color: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 20px; }
        .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
        
        .cg-wrapper { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); height: 600px; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
        .cg-layout { display: flex; gap: 25px; height: 100%; align-items: stretch; }
        .cg-preview-wrapper { flex: 0 0 350px; display: flex; flex-direction: column; gap: 15px; }
        .cg-canvas-container { width: 350px; height: 350px; background-color: #0f1115; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; background-position: center center; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: inset 0 0 50px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
        .cg-export-box { display: flex; gap: 10px; width: 100%; }
        .cg-export-input { flex-grow: 1; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-main); font-family: monospace; font-size: 0.85rem; }
        .cg-settings-panel { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; padding-right: 15px; padding-bottom: 20px; }
        .cg-settings-panel::-webkit-scrollbar { width: 6px; }
        .cg-settings-panel::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
        .cg-tabs { display: flex; gap: 15px; border-bottom: 2px solid var(--border-color); margin-bottom: 10px; padding-bottom: 5px; }
        .cg-tab { font-size: 0.9rem; font-weight: bold; text-transform: uppercase; color: var(--text-muted); cursor: pointer; padding: 5px 10px; }
        .cg-tab.active { color: var(--gradient-start); border-bottom: 2px solid var(--gradient-start); margin-bottom: -7px; }
        .cg-section-header { font-weight: 900; font-size: 1.3rem; text-transform: uppercase; color: var(--text-main); letter-spacing: 1px; margin-top: 10px; margin-bottom: -10px; }
        .cg-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.03); gap: 20px; }
        .cg-row:last-child { border-bottom: none; }
        .cg-label { font-size: 0.9rem; color: var(--text-main); font-weight: bold; flex-shrink: 0; width: 220px; }
        .cg-control { flex-grow: 1; display: flex; align-items: center; justify-content: flex-end; gap: 15px; flex-wrap: wrap; }
        .cg-color-input { height: 35px; width: 100%; max-width: 150px; border: 1px solid var(--border-color); border-radius: 6px; background: transparent; cursor: pointer; padding: 0 5px; }
        .cg-slider-wrapper { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: flex-end; }
        .cg-slider { width: 100%; max-width: 250px; accent-color: var(--gradient-start); cursor: pointer; }
        .cg-val { font-family: monospace; font-size: 0.95rem; color: var(--text-main); min-width: 35px; text-align: right; }
        .cg-hv-label { font-size: 0.75rem; color: var(--text-muted); font-weight: bold; margin-right: 5px; width: 15px; text-align: center; display: inline-block; }
        .cg-switch { position: relative; display: inline-block; width: 140px; height: 36px; background: #2a2e38; border-radius: 4px; overflow: hidden; cursor: pointer; }
        .cg-switch input { opacity: 0; width: 0; height: 0; }
        .cg-switch-labels { display: flex; position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; pointer-events: none; }
        .cg-switch-label { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: bold; color: var(--text-muted); transition: 0.3s; z-index: 2; }
        .cg-switch-slider { position: absolute; top: 0; left: 0; width: 50%; height: 100%; background: #4b5563; border-radius: 4px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 0; }
        .cg-switch input:checked ~ .cg-switch-slider { transform: translateX(100%); background: var(--gradient-start); }
        .cg-switch input:checked ~ .cg-switch-labels .cg-on { color: #fff; }
        .cg-switch input:not(:checked) ~ .cg-switch-labels .cg-off { color: #fff; }
        @media (max-width: 850px) { .cg-wrapper { height: auto; max-height: none; } .cg-layout { flex-direction: column; } .cg-preview-wrapper { width: 100%; flex: 1; position: static; align-items: center; } .cg-settings-panel { padding-right: 0; overflow-y: visible; } .cg-label { width: 100%; margin-bottom: 10px; } .cg-row { flex-direction: column; align-items: flex-start; padding: 15px 0; } .cg-control { width: 100%; justify-content: flex-start; } .cg-slider-wrapper { justify-content: flex-start; } .cg-val { text-align: left; } }

        .schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 30px; }
        .schedule-day { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px 10px; text-align: center; display: flex; flex-direction: column; gap: 5px; transition: 0.2s ease; }
        .schedule-day.active { border-color: var(--gradient-start); background: rgba(6, 182, 212, 0.05); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(6, 182, 212, 0.1); }
        .schedule-day.offline { opacity: 0.5; border-color: rgba(255, 255, 255, 0.05); }
        .s-day-name { font-size: 0.8rem; text-transform: uppercase; font-weight: bold; color: var(--gradient-start); }
        .schedule-day.active .s-day-name { color: var(--gradient-end); }
        .schedule-day.offline .s-day-name { color: var(--text-muted); }
        .s-time { font-size: 1.1rem; font-weight: 900; color: var(--text-main); }
        .s-game { font-size: 0.75rem; color: var(--text-muted); }

        .wide-banner { display: block; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.2s; margin-bottom: 20px; background-color: var(--bg-surface); }
        .wide-banner:hover { transform: translateY(-3px); border-color: var(--gradient-end); box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2); }
        .wide-banner img { width: 100%; height: auto; display: block; }
        .sponsor-card { background-color: var(--bg-surface); border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; transition: transform 0.2s; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
        .sponsor-card:hover { transform: translateY(-4px); border-color: var(--gradient-end); }
        .csgoroll-crop { height: 399px; width: 100%; object-fit: cover; object-position: center; display: block; border-radius: 10px; }

        .link-list { display: flex; flex-direction: column; gap: 15px; }
        .link-card { display: flex; align-items: center; background-color: var(--bg-surface); padding: 20px; border-radius: 16px; text-decoration: none; color: var(--text-main); border: 1px solid var(--border-color); transition: all 0.2s; }
        .link-card:hover { transform: translateX(5px); border-color: var(--gradient-start); background-color: rgba(6, 182, 212, 0.05); }
        .link-card i { font-size: 1.8rem; color: var(--gradient-end); width: 50px; }
        .link-info { flex-grow: 1; }
        .link-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
        .link-desc { font-size: 0.85rem; color: var(--text-muted); }
        .badge { background-color: rgba(168, 85, 247, 0.15); color: var(--gradient-start); padding: 5px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: bold; border: 1px solid rgba(168, 85, 247, 0.2); }

        .game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
        .game-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease; }
        .game-card:hover { transform: translateY(-4px); border-color: var(--gradient-start); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15); }
        .game-cover-box { width: 100%; height: 160px; background: #090a0f; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.02); position: relative; }
        .game-cover-box img { width: 100%; height: 100%; object-fit: cover; }
        .game-cover-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
        .game-content { padding: 20px; display: flex; flex-direction: column; align-items: center; flex-grow: 1; text-align: center; box-sizing: border-box; }
        .rank-container { width: 64px; height: 64px; margin-top: -52px; background: var(--bg-surface); border: 3px solid var(--bg-surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.4); margin-bottom: 12px; z-index: 2; transition: border-color 0.5s; }
        .sith-mode .rank-container { border-color: #1a0505; }
        .rank-container img { width: 85%; height: 85%; object-fit: contain; }
        .game-title { font-weight: 700; font-size: 1.25rem; color: var(--text-main); margin-bottom: 6px; }
        .game-details { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; line-height: 1.4; }

        /* FRIENDS-TAB FIX: Flex-Direction auf Row + Flex-Wrap */
        .multi-btn-container { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; width: 100%; margin-top: auto; }

        .squad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; margin-top: 15px; }
        .squad-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
        .squad-input, .squad-select { width: 100%; text-align: center; padding: 8px; font-size: 0.9rem; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-main); font-family: inherit; box-sizing: border-box; }
        .squad-input:focus, .squad-select:focus { outline: none; border-color: var(--gradient-start); }
        .squad-result { font-size: 1.5rem; font-weight: 900; color: var(--gradient-start); height: 50px; display: flex; align-items: center; justify-content: center; text-transform: uppercase; text-shadow: 0 0 10px rgba(6, 182, 212, 0.4); transition: transform 0.1s; }

        .crosshair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
        .crosshair-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: center; transition: all 0.25s ease; }
        .crosshair-card:hover { transform: translateY(-4px); border-color: var(--gradient-start); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15); }
        .crosshair-image-box { width: 120px; height: 120px; background: #090a0f; border-radius: 12px; margin-bottom: 15px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.03); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.8rem; text-align: center; }
        .crosshair-image-box img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; }
        .crosshair-name { font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
        .crosshair-game { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }

        .converter-box { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px; margin-top: 30px; }
        .converter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 20px; }
        .conv-group { display: flex; flex-direction: column; gap: 8px; }
        .conv-select, .conv-input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-main); font-family: inherit; box-sizing: border-box; }
        .conv-select:focus, .conv-input:focus { outline: none; border-color: var(--gradient-start); }
        .result-box { background: #090a0f; border: 1px solid rgba(6, 182, 212, 0.3); padding: 15px; border-radius: 10px; text-align: center; font-size: 1.2rem; font-weight: bold; color: var(--gradient-start); }

        .specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-top: 20px; }
        .spec-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 14px; padding: 15px; display: flex; flex-direction: column; transition: all 0.2s ease; }
        .spec-card:hover { transform: translateY(-3px); border-color: var(--gradient-start); }
        .spec-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .spec-header i { font-size: 1.2rem; color: var(--gradient-start); }
        .spec-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: bold; }
        .spec-value { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; min-height: 38px; }
        .spec-img-placeholder { width: 100%; height: 90px; background: rgba(0, 0, 0, 0.2); border: 1px dashed rgba(255, 255, 255, 0.05); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
        .spec-link { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); text-align: center; padding: 8px; border-radius: 6px; text-decoration: none; font-size: 0.8rem; font-weight: bold; transition: all 0.2s; }
        .spec-link:hover { background: var(--bg-color); color: var(--text-main); border-color: var(--gradient-end); }

        /* ARCHIV VIDEO GRID (Echte Video-Player) */
        .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
        .video-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column; }
        .video-card:hover { transform: translateY(-4px); border-color: var(--gradient-end); box-shadow: 0 8px 25px rgba(168,85,247,0.2); }
        .video-player { width: 100%; background: #000; outline: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .video-card-info { padding: 15px; }
        .video-card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; color: var(--text-main); }
        .video-card-date { font-size: 0.85rem; color: var(--text-muted); }

        .form-container { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; margin-top: 20px; }
        .form-container form { margin: 0; }
        .form-group { margin-bottom: 20px; }
        .form-label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--text-muted); font-size: 0.9rem; }
        .form-input, .form-textarea { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-main); font-family: inherit; box-sizing: border-box; transition: border-color 0.2s; }
        .form-input:focus, .form-textarea:focus { outline: none; border-color: var(--gradient-start); }
        .form-textarea { resize: vertical; min-height: 120px; }

        .faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.2s ease; }
        .faq-question { padding: 18px 20px; font-weight: bold; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
        .faq-question::-webkit-details-marker { display: none; }
        .faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gradient-start); transition: transform 0.3s ease; }
        details[open] .faq-item { border-color: var(--gradient-start); }
        details[open] .faq-question { color: var(--gradient-start); }
        details[open] .faq-question::after { transform: rotate(180deg); }
        .faq-answer { padding: 0 20px 20px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

        .command-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px 20px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; transition: all 0.2s ease; }
        .command-item:hover { border-color: var(--gradient-start); transform: translateX(5px); }
        .cmd-info { display: flex; flex-direction: column; gap: 5px; }
        .cmd-text { font-family: monospace; font-size: 1.15rem; font-weight: bold; color: var(--gradient-start); }
        .cmd-desc { font-size: 0.85rem; color: var(--text-muted); }
        .cmd-copy-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--text-main); padding: 8px 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: bold; }
        .cmd-copy-btn:hover { background: var(--bg-color); border-color: var(--gradient-end); color: var(--gradient-end); }
        .cmd-copy-btn.success { background: #2bcf92 !important; border-color: #2bcf92 !important; color: #101217 !important; }

     /* --- SERVER KARTEN DESIGN --- */
        .server-card { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-surface); margin-bottom: 15px; }
        .server-banner { width: 100%; height: 120px; object-fit: cover; opacity: 0.4; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .server-content { padding: 15px; display: flex; align-items: flex-end; gap: 15px; position: relative; z-index: 2; margin-top: -60px; }
        .server-logo { width: 80px; height: 80px; border-radius: 12px; border: 3px solid var(--bg-surface); background: #000; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
        .server-info { flex: 1; padding-bottom: 5px; }
        .server-title { font-size: 1.3rem; font-weight: bold; color: #fff; margin-bottom: 2px; }
        .server-type { font-size: 0.8rem; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; color: var(--gradient-start); display: inline-block; margin-bottom: 5px; }
        .server-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
        .server-status-bar { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.4); padding: 10px 15px; border-top: 1px solid rgba(255,255,255,0.05); }
        .status-indicator { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 0.9rem; color: #94a3b8; }
        .status-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px #ef4444; }
        .status-dot.online { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
        .copy-ip-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: #fff; padding: 6px 15px; border-radius: 4px; cursor: pointer; transition: 0.3s; font-size: 0.85rem; font-family: monospace; }
        .copy-ip-btn:hover { background: var(--gradient-start); color: #000; }

        

        .back-to-top { position: fixed; bottom: 20px; right: 20px; background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); color: white; width: 45px; height: 45px; border-radius: 50%; border: none; font-size: 1.2rem; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.4); z-index: 1000; transition: transform 0.2s; cursor: pointer; }
        .back-to-top:hover { transform: translateY(-3px); }
        
        footer { margin-top: 40px; padding-bottom: 30px; font-size: 0.85rem; color: var(--text-muted); text-align: center; width: 100%; }

        /* ==========================================
        ESPORTS TAKTIK TRAINER (MINIGAME)
        ========================================== */
        .mode-card { flex: 1; max-width: 450px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.3s; position: relative; }
        .mode-card img { width: 100%; height: 220px; object-fit: cover; opacity: 0.3; transition: 0.4s ease; }
        .mode-card:hover { transform: translateY(-5px); border-color: var(--gradient-start); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15); }
        .mode-card:hover img { opacity: 0.7; transform: scale(1.05); }
        .mode-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2rem; font-weight: 900; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.8); width: 100%; text-align: center; letter-spacing: 1px; }
        .mode-desc { position: absolute; bottom: 15px; width: 100%; text-align: center; color: #cbd5e1; font-size: 0.95rem; font-weight: bold; text-shadow: 0 2px 8px #000; }

        .game-scoreboard { display: flex; justify-content: space-between; align-items: center; background: rgba(5, 10, 21, 0.8); padding: 15px 30px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
        .team-score { font-size: 2rem; font-weight: 900; font-family: monospace; }
        .blue-team { color: #3b82f6; text-shadow: 0 0 15px rgba(59, 130, 246, 0.6); }
        .red-team { color: #ef4444; text-shadow: 0 0 15px rgba(239, 68, 68, 0.6); }
        .round-display { text-align: center; font-size: 1.3rem; font-weight: 900; color: #fff; }

        .game-ticker { background: #02040a; border: 1px solid #1e293b; border-radius: 8px; padding: 15px; height: 250px; overflow-y: auto; font-family: monospace; font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; box-shadow: inset 0 0 10px rgba(0,0,0,0.8); }
        .ticker-line { color: #94a3b8; border-left: 3px solid #334155; padding-left: 10px; animation: fadeIn 0.3s ease; }
        .ticker-line.system-msg { border-left-color: #a855f7; color: #c084fc; font-weight: bold; }
        .ticker-line.win { border-left-color: #22c55e; color: #4ade80; }
        .ticker-line.loss { border-left-color: #ef4444; color: #f87171; }

        .tactical-board { background: rgba(16, 18, 23, 0.9); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
        .bank-display { font-size: 1.4rem; font-weight: bold; color: #4ade80; font-family: monospace; background: rgba(0,0,0,0.5); padding: 6px 15px; border-radius: 6px; border: 1px solid rgba(74, 222, 128, 0.2); }

        .buy-btn, .tactic-btn { background: #0f172a; border: 1px solid #334155; color: #94a3b8; padding: 10px 12px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-size: 0.85rem; font-weight: bold; flex: 1; min-width: 100px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
        .buy-btn span, .tactic-btn span { font-family: monospace; color: #4ade80; font-size: 0.75rem; }
        .buy-btn:hover, .tactic-btn:hover { background: #1e293b; border-color: var(--gradient-start); color: #fff; }
        .buy-btn.selected, .tactic-btn.selected { background: rgba(6, 182, 212, 0.1); border-color: var(--gradient-start); color: #fff; box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.2); }

        .start-round-btn { width: 100%; padding: 15px; background: linear-gradient(to right, #06b6d4, #3b82f6); color: #fff; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: 900; cursor: pointer; margin-top: 15px; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; }
        .start-round-btn:hover { box-shadow: 0 0 25px rgba(6, 182, 212, 0.5); transform: translateY(-2px); }
        .start-round-btn:disabled { background: #334155; color: #64748b; cursor: not-allowed; box-shadow: none; transform: none; }

        .player-rank-card { background: rgba(16, 18, 23, 0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 20px; }
        .rank-badge-container { position: relative; width: 50px; height: 50px; }
        .rank-glow { position: absolute; inset: -10px; background: radial-gradient(circle, var(--gradient-end) 0%, transparent 70%); opacity: 0.5; z-index: 1; animation: pulseGlow 2s infinite alternate; }

        .leaderboard-container { background: rgba(16, 18, 23, 0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; flex: 1; }
        .lb-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255,255,255,0.02); border-radius: 6px; font-size: 0.95rem; border-left: 2px solid transparent; transition: 0.2s; }
        .lb-item:hover { background: rgba(255,255,255,0.05); border-left-color: var(--gradient-start); }
        .lb-rank { font-weight: 900; color: #64748b; width: 25px; text-align: center; }
        .lb-name { flex: 1; color: #e2e8f0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 10px; }
        .lb-score { color: #4ade80; font-family: monospace; font-weight: bold; }
        .lb-item.top-1 .lb-rank { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
        .lb-item.top-2 .lb-rank { color: #94a3b8; }
        .lb-item.top-3 .lb-rank { color: #b45309; }
        /* --- AGENT DRAFT STYLES --- */
        .agent-card { width: 80px; height: 80px; background: #0f172a; border: 2px solid #334155; border-radius: 8px; cursor: pointer; transition: 0.2s; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
        .agent-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.2s; }
        .agent-card:hover:not(.locked) { border-color: var(--gradient-start); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3); }
        .agent-card.selected { border-color: #22c55e; box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
        .agent-card.selected img { transform: scale(1.1); }
        .agent-card.locked { opacity: 0.3; cursor: not-allowed; filter: grayscale(100%); }
        .agent-card.locked::after { content: 'LOCKED'; position: absolute; background: #ef4444; color: #fff; font-size: 0.6rem; font-weight: bold; padding: 2px 5px; transform: rotate(-45deg); }

        .roster-slot { width: 90px; height: 120px; background: rgba(16, 18, 23, 0.8); border: 1px solid var(--border-color); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; }
        .roster-slot img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
        .roster-slot.player-slot { border-color: var(--gradient-start); box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.2); }
        .roster-name { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.8); text-align: center; font-size: 0.7rem; font-weight: bold; padding: 4px 0; color: #fff; }

        /* --- ALIVE TRACKER & VITALS --- */
        .alive-dot { width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); transition: 0.3s; }
        .blue-dot { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
        .red-dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
        .alive-dot.dead { background: #1e293b; box-shadow: none; opacity: 0.5; position: relative; }
        .alive-dot.dead::after { content: ''; position: absolute; width: 100%; height: 2px; background: #ef4444; top: 50%; left: 0; transform: translateY(-50%) rotate(-45deg); }

     @keyframes mfBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
     @keyframes mfGlow { 0% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); } 100% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.4); } }
     @keyframes pulseGlow { from { transform: scale(0.8); opacity: 0.3; } to { transform: scale(1.2); opacity: 0.7; } }
