@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

        :root { --cp-cyan: #00f0ff; --cp-pink: #ff007f; --cp-yellow: #fcee0a; --cp-green: #00ff41; --dark-bg: #09090b; }
        * { box-sizing: border-box; }

        /* ВАЖНО: УБРАН touch-action: none ДЛЯ ВОССТАНОВЛЕНИЯ КЛИКОВ НА iOS */
        body, html { 
            background-color: var(--dark-bg); 
            background-image: 
                linear-gradient(to bottom, rgba(9, 9, 11, 0.6) 0%, rgba(9, 9, 11, 0.98) 100%), 
                linear-gradient(45deg, rgba(255, 0, 127, 0.1), rgba(0, 240, 255, 0.1)), 
                url('https://images.unsplash.com/photo-1542451313056-b7c8e6266459?q=80&w=1920&auto=format&fit=crop'); 
            background-size: cover; background-position: center bottom; background-attachment: fixed;
            color: var(--cp-cyan); font-family: 'Share Tech Mono', 'Courier New', monospace; 
            margin: 0; overflow: hidden; user-select: none; overscroll-behavior: none;
        }

        #custom-header { position: absolute; top: 0; left: 0; width: 100%; height: 55px; background: #09090b; border-bottom: 1px solid var(--cp-cyan); display: flex; justify-content: center; align-items: center; font-size: 1.4rem; font-weight: bold; color: #fff; text-transform: uppercase; letter-spacing: 3px; z-index: 1000; text-shadow: 0 0 10px var(--cp-cyan); box-shadow: 0 2px 15px rgba(0,240,255,0.1); }
        #custom-header span { color: var(--cp-pink); text-shadow: 0 0 10px var(--cp-pink); }
        .lang-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: transparent; border: 1px solid var(--cp-cyan); color: var(--cp-cyan); cursor: pointer; padding: 4px 8px; font-weight: bold; font-family: inherit; font-size: 0.9rem; transition: 0.3s; z-index: 101;}
        .lang-btn:active { background: var(--cp-cyan); color: #000; }
        
        .ui-layer { position: absolute; top: 55px; left: 0; width: 100%; padding: 20px; display: flex; flex-direction: column; align-items: center; z-index: 10; pointer-events: none; }
        .big-score { font-size: 2.5rem; font-weight: bold; color: #fff; margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;}
        .cr-score { text-shadow: 0 0 15px var(--cp-pink); }
        .data-score { text-shadow: 0 0 15px var(--cp-yellow); color: var(--cp-yellow); font-size: 2rem;}
        
        #game-area { position: absolute; top: 55px; left: 0; width: 100vw; height: calc(100vh - 55px); z-index: 1; overflow: hidden; touch-action: none; }
        #swipe-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

        .node { position: absolute; width: 72px; height: 72px; background: radial-gradient(circle at 30% 30%, rgba(255, 0, 127, 0.9), rgba(100, 0, 50, 0.2)); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: inset -5px -5px 15px rgba(0,0,0,0.7), 0 10px 20px rgba(255, 0, 127, 0.4); transform: translate(-50%, -50%); animation: floatNode 2s infinite ease-in-out; z-index: 5; }
        .glitch-node { background: radial-gradient(circle at 30% 30%, var(--cp-yellow), #aa9900) !important; border-color: #fff !important; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.7), 0 10px 25px var(--cp-yellow) !important; animation: floatNode 1.5s infinite ease-in-out !important; }
        @keyframes floatNode { 0%, 100% { transform: translate(-50%, -50%) translateY(0px); } 50% { transform: translate(-50%, -50%) translateY(-10px); box-shadow: inset -5px -5px 15px rgba(0,0,0,0.7), 0 20px 25px rgba(255, 0, 127, 0.2); } }

        .floating-score { position: absolute; font-size: 2.2rem; font-weight: bold; pointer-events: none; animation: floatScore 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; z-index: 30; text-align: center; transform: translate(-50%, -50%); line-height: 1.1; }
        @keyframes floatScore { 0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); } 20% { transform: translate(-50%, -80%) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, -150%) scale(1); } }
        .spark { position: absolute; width: 4px; height: 12px; background: #fff; box-shadow: 0 0 10px var(--cp-cyan); border-radius: 2px; z-index: 6; pointer-events: none; }

        .energy-container { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); width: 85%; display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 10; }
        .energy-text { font-size: 1.1rem; font-weight: bold; margin-bottom: 8px; text-shadow: 0 0 5px var(--cp-cyan); color: #fff; letter-spacing: 1px;}
        .energy-bar { width: 100%; height: 10px; background: rgba(0,0,0,0.6); overflow: hidden; border: 1px solid rgba(0, 240, 255, 0.3); clip-path: polygon(0 0, 100% 0, 100% 10px, 10px 10px, 0 0); backdrop-filter: blur(5px);}
        .energy-fill { height: 100%; background: var(--cp-cyan); width: 100%; transition: width 0.1s; box-shadow: 0 0 15px var(--cp-cyan); }

        .modal-screen { display: none; position: absolute; top: 55px; left: 0; width: 100vw; height: calc(100vh - 55px - 75px); background: rgba(9, 9, 11, 0.95); z-index: 50; padding: 15px 15px 30px 15px; overflow-y: auto; overflow-x: hidden; backdrop-filter: blur(15px); overscroll-behavior: contain;}
        
        #pulse-modal { overflow-y: auto !important; touch-action: pan-y !important; }
        .modal-screen::-webkit-scrollbar { display: none; } 
        
        .screen-title { font-size: 2rem; color: #fff; text-shadow: 2px 2px 0px var(--cp-pink), -2px -2px 0px var(--cp-cyan); text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; text-align:center;}
        
        .cp-card { background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(255, 0, 127, 0.05) 100%); border: 1px solid rgba(255, 255, 255, 0.15); border-left: 4px solid var(--cp-pink); padding: 20px; position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%); margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        .cp-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 15px; height: 15px; background: var(--cp-pink); }
        .cp-card h3 { margin: 0 0 10px 0; color: #fff; font-size: 1.2rem; text-transform: uppercase; text-shadow: 0 0 8px var(--cp-cyan);}
        
        .cp-input { width: 100%; padding: 15px; background: rgba(0,0,0,0.5); border: 1px solid var(--cp-cyan); color: #fff; font-family: inherit; font-size: 1.1rem; margin-bottom: 15px; text-align: center; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);}
        .cp-btn { background: var(--cp-yellow); color: #000; border: none; padding: 15px; font-weight: 900; font-family: inherit; font-size: 1.1rem; text-transform: uppercase; width: 100%; cursor: pointer; position: relative; clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px); transition: 0.2s; margin-top: 10px; box-shadow: 0 5px 15px rgba(252, 238, 10, 0.2); }
        .cp-btn:active { background: var(--cp-pink); color: #fff; box-shadow: 0 0 20px var(--cp-pink); }
        
        .action-bar { display: flex; gap: 10px; width: 100%; justify-content: center; padding: 10px; background: rgba(0,0,0,0.8); border-bottom: 1px solid var(--cp-cyan); flex-shrink: 0; }
        .action-btn { flex: 1; background: transparent; border: 1px solid var(--cp-cyan); color: var(--cp-cyan); padding: 10px; font-family: inherit; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 0.9rem; text-transform: uppercase;}
        .action-btn:active { background: var(--cp-cyan); color: #000; }
        .action-btn.danger { border-color: var(--cp-pink); color: var(--cp-pink); }
        .action-btn.danger:active { background: var(--cp-pink); color: #fff; }

        .bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 75px; background: #09090b; border-top: 1px solid var(--cp-pink); display: flex; justify-content: space-around; align-items: center; z-index: 1000; box-shadow: 0 -5px 20px rgba(0,0,0,0.8);}
        .nav-item { color: rgba(255,255,255,0.5); font-size: 0.6rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; width: 16.66%; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;}
        .nav-item.active { color: var(--cp-cyan); text-shadow: 0 0 10px var(--cp-cyan); }
        .nav-icon { font-size: 1.5rem; margin-bottom: 3px; transition: 0.3s; }
        .nav-item.active .nav-icon { color: var(--cp-pink); text-shadow: 0 0 10px var(--cp-pink); transform: scale(1.1); filter: drop-shadow(0 0 5px var(--cp-pink)); }

        .minigame-container { display: none; position: fixed; top:55px; left:0; width: 100vw; height: calc(100vh - 55px - 75px); background: #040406; z-index: 200; flex-direction: column; overflow: hidden; touch-action: none;}
        .mg-header { padding: 15px; text-align: center; font-size: 1.2rem; color: #fff; text-transform: uppercase; font-weight: bold; border-bottom: 2px solid var(--cp-cyan); background: linear-gradient(to bottom, rgba(0,240,255,0.1), transparent); flex-shrink: 0;}
        .mg-timer { font-size: 2.5rem; color: var(--cp-cyan); text-shadow: 0 0 15px var(--cp-cyan); display: block; margin-top: 5px;}
        .mg-canvas-wrap { flex: 1; position: relative; width: 100%; overflow: hidden; display:flex; flex-direction:column; align-items:center; }
        .mg-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; touch-action: none; background: transparent; }
        
        .profile-stat { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(0, 240, 255, 0.3); font-size: 0.95rem; color: #fff; margin-top: 10px; align-items: center;}

        /* ALERTS */
        #cyber-alert-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; justify-content: center; align-items: center; padding: 20px; }
        .cyber-alert-box { background: var(--dark-bg); border: 1px solid var(--cp-pink); border-left: 5px solid var(--cp-pink); padding: 30px; width: 100%; max-width: 350px; position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); box-shadow: 0 10px 40px rgba(0,0,0,0.8); text-align: center; pointer-events: auto;}
        .cyber-alert-box::after { content: ''; position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; background: var(--cp-pink); }
        #cyber-alert-title { font-size: 1.4rem; font-weight: bold; color: var(--cp-pink); text-shadow: 0 0 10px var(--cp-pink); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;}
        #cyber-alert-msg { font-size: 1.1rem; color: #fff; margin-bottom: 25px; line-height: 1.4; }

        /* ОКНО ПОДТВЕРЖДЕНИЯ ВЫХОДА ИЗ ИГРЫ */
        #confirm-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 2500; justify-content: center; align-items: center; padding: 20px; pointer-events: auto;}
        .confirm-box { background: var(--dark-bg); border: 1px solid var(--cp-yellow); border-left: 5px solid var(--cp-yellow); padding: 30px; width: 100%; max-width: 350px; position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); box-shadow: 0 10px 40px rgba(0,0,0,0.8); text-align: center; }
        .confirm-box::after { content: ''; position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; background: var(--cp-yellow); }
        #confirm-title { font-size: 1.4rem; font-weight: bold; color: var(--cp-yellow); text-shadow: 0 0 10px var(--cp-yellow); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;}
        #confirm-msg { font-size: 1.1rem; color: #fff; margin-bottom: 25px; line-height: 1.4; }
        .confirm-btns { display: flex; gap: 10px; justify-content: center; }
        .confirm-btns .cp-btn { flex: 1; padding: 12px 10px; font-size: 0.95rem; margin-top: 0; }
        .btn-stay { background: rgba(0, 240, 255, 0.1); color: var(--cp-cyan); border: 1px solid var(--cp-cyan); }
        .btn-stay:active { background: var(--cp-cyan); color: #000; }
        .btn-leave { background: rgba(255, 0, 127, 0.1); color: var(--cp-pink); border: 1px solid var(--cp-pink); }
        .btn-leave:active { background: var(--cp-pink); color: #fff; }

        /* ИДЕАЛЬНЫЙ КОМПАКТНЫЙ TOAST БЕЗ ЗАГОЛОВКА */
        #cyber-toast {
            position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(20px);
            background: #09090b; border: 2px solid var(--cp-yellow);
            padding: 10px 20px; z-index: 3000; width: auto; min-width: 260px; max-width: 90%;
            text-align: center; box-shadow: 0 0 20px rgba(252, 238, 10, 0.2);
            opacity: 0; pointer-events: none; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
        }
        #cyber-toast::after { content: ''; position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; background: var(--cp-pink); }
        #cyber-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
        #ct-msg { color: var(--cp-yellow); font-weight: bold; font-size: 1.1rem; text-shadow: 0 0 5px var(--cp-yellow); text-transform: uppercase; letter-spacing: 1px; font-family: 'Share Tech Mono', monospace; line-height: 1.2; margin: 0; }

        @keyframes dropGlitch {
            0% { text-shadow: 2px 0 var(--cp-cyan), -2px 0 var(--cp-pink); transform: translate(0); }
            20% { text-shadow: -2px 0 var(--cp-cyan), 2px 0 var(--cp-pink); transform: translate(-2px, 1px); }
            40% { text-shadow: 2px 0 var(--cp-cyan), -2px 0 var(--cp-pink); transform: translate(2px, -1px); }
            60% { text-shadow: -2px 0 var(--cp-cyan), 2px 0 var(--cp-pink); transform: translate(-1px, 2px); }
            80% { text-shadow: 2px 0 var(--cp-cyan), -2px 0 var(--cp-pink); transform: translate(1px, -2px); }
            100% { text-shadow: -2px 0 var(--cp-cyan), 2px 0 var(--cp-pink); transform: translate(0); }
        }
        .traffic-drop-title { font-family: 'Share Tech Mono'; color: #fff; font-size: 2.8rem; text-transform: uppercase; animation: dropGlitch 0.2s infinite; margin-bottom: 20px; }

        /* === ПРЕМИУМ-ВЗЛОМ ТРАФИКА (РАДАР + СОТЫ) === */
        #rl-balance-display { font-size: 1.1rem; color: var(--cp-green); font-weight: bold; text-align: center; margin-bottom: 5px; text-shadow: 0 0 8px var(--cp-green); background: rgba(0,255,65,0.1); padding: 4px; border-radius: 4px; border: 1px dashed var(--cp-green); }
        .roulette-window { width: 100%; height: 50px; background: rgba(0,0,0,0.8); border-top: 1px solid var(--cp-cyan); border-bottom: 1px solid var(--cp-cyan); position: relative; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 20px rgba(0,240,255,0.1) inset; display: flex; align-items: center;}
        .roulette-window::after { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: var(--cp-yellow); transform: translateX(-50%); z-index: 10; box-shadow: 0 0 10px var(--cp-yellow); pointer-events: none;}
        .roulette-track { display: flex; height: 40px; align-items: center; padding-left: 50vw; }
        .r-item { flex-shrink: 0; width: 38px; height: 38px; margin-right: 4px; display: flex; justify-content: center; align-items: center; font-size: 0.95rem; font-weight: bold; border-radius: 2px; border: 1px solid; box-shadow: inset 0 0 8px rgba(0,0,0,0.8); }
        .r-cyan { border-color: var(--cp-cyan); color: var(--cp-cyan); background: rgba(0, 240, 255, 0.05); text-shadow: 0 0 5px var(--cp-cyan);}
        .r-magenta { border-color: var(--cp-pink); color: var(--cp-pink); background: rgba(255, 0, 127, 0.05); text-shadow: 0 0 5px var(--cp-pink);}
        .r-glitch { border-color: var(--cp-yellow); color: var(--cp-yellow); background: rgba(252, 238, 10, 0.1); text-shadow: 0 0 8px var(--cp-yellow); box-shadow: 0 0 10px rgba(252,238,10,0.2) inset;}
        
        .pulse-board { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 400px; margin: 0 auto; transition: 0.3s; padding-bottom: 120px; } 
        .pulse-controls { display: flex; align-items: center; background: transparent; border: 1px solid rgba(0,240,255,0.3); border-radius: 2px; overflow: hidden; margin-bottom: 5px; height: 36px;}
        .pulse-input { flex: 1; background: rgba(0,0,0,0.5); border: none; color: var(--cp-yellow); font-family: inherit; font-size: 1.1rem; text-align: center; font-weight: bold; outline: none; padding: 0; height:100%;}
        .pulse-cbtn { background: rgba(0,240,255,0.05); color: var(--cp-cyan); border: none; border-left: 1px solid rgba(0,240,255,0.3); padding: 0 10px; height: 100%; cursor: pointer; font-family: inherit; font-weight: bold; transition: 0.2s; font-size: 0.85rem;}
        .pulse-cbtn:active { background: var(--cp-cyan); color: #000; }
        
        .rl-tactical-view { display: flex; justify-content: center; align-items: stretch; gap: 10px; margin: 5px 0; }
        .pulse-side { width: 45px; display: flex; flex-direction: column; }
        .pulse-side .p-btn { flex: 1; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-size: 0.95rem; letter-spacing: 2px; padding: 0; display:flex; align-items:center; justify-content:center; }
        .hex-grid { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-bottom: 15px; }
        .hex-row { display: flex; justify-content: center; gap: 4px; margin-bottom: -15px; } 
        .hex-wrap { position: relative; width: 56px; height: 64px; background: transparent; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
        .hex-wrap.c-cyan { background: rgba(0,240,255,0.3); }
        .hex-wrap.c-mag { background: rgba(255,0,127,0.3); }
        .hex-wrap.c-glitch { background: rgba(252,238,10,0.4); width: 62px; height: 70px; margin: -3px 0; z-index: 2; box-shadow: 0 0 15px rgba(252,238,10,0.5);} 
        .hex-inner { width: calc(100% - 2px); height: calc(100% - 2px); background: #09090b; clip-path: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--cp-cyan); font-weight: bold; font-size: 1rem; transition: 0.2s; line-height: 1.1; text-align: center; }
        .hex-wrap.c-cyan .hex-inner { color: var(--cp-cyan); }
        .hex-wrap.c-mag .hex-inner { color: var(--cp-pink); }
        .hex-wrap.c-glitch .hex-inner { color: var(--cp-yellow); font-size: 1.1rem; }
        .hex-wrap:active { transform: scale(0.95); }
        .hex-wrap.selected .hex-inner { background: transparent; box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.4); border: 1px solid rgba(0, 240, 255, 0.8); }
        .hex-wrap.c-mag.selected .hex-inner { box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.4); border: 1px solid rgba(255, 0, 127, 0.8); }
        .hex-wrap.c-glitch.selected .hex-inner { box-shadow: inset 0 0 20px rgba(252, 238, 10, 0.5); border: 1px solid rgba(252, 238, 10, 0.8); }
        .pulse-bottom { display: flex; gap: 10px; margin-top: 5px; }
        .pulse-bottom .p-btn { flex: 1; padding: 12px 0;}
        .p-btn { background: transparent; border: 1px solid rgba(0,240,255,0.3); color: var(--cp-cyan); text-align: center; cursor: pointer; transition: 0.2s; border-radius: 2px; user-select: none; font-size: 0.85rem; display:flex; flex-direction: column; align-items:center; justify-content:center; font-weight: bold; line-height: 1.2;}
        .p-btn.selected { border-color: var(--cp-cyan); box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) inset; z-index: 2; background: rgba(0, 240, 255, 0.05); color: #fff;}
        .p-btn.c-cyan { border-color: var(--cp-cyan); color: var(--cp-cyan); }
        .p-btn.c-mag { border-color: var(--cp-pink); color: var(--cp-pink); }
        .p-btn.c-mag.selected { border-color: var(--cp-pink); box-shadow: 0 0 15px rgba(255, 0, 127, 0.3) inset; background: rgba(255, 0, 127, 0.05); }

        /* GRIDBREACH СТИЛИ */
        .gb-seq-wrap { width: 100%; max-width: 350px; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
        .gb-seq-row { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.5); border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 4px; padding: 4px 10px; transition: 0.3s; }
        .gb-seq-row.done { border-color: var(--cp-pink); box-shadow: 0 0 10px rgba(255,0,127,0.4); background: rgba(255,0,127,0.1); }
        .gb-seq-codes { display: flex; gap: 5px; }
        .gb-seq-code { padding: 3px 6px; background: rgba(255,255,255,0.05); border-radius: 2px; color: rgba(255,255,255,0.4); font-size: 14px; transition: 0.2s; }
        .gb-seq-code.hit { background: var(--cp-cyan); color: #000; font-weight: bold; box-shadow: 0 0 8px var(--cp-cyan); }
        .gb-seq-reward { color: var(--cp-yellow); font-size: 12px; font-weight: bold; text-transform: uppercase; }
        .gb-grid-area { width: 100%; max-width: 350px; padding: 0 10px; flex: 1; display: flex; align-items: center; justify-content: center; }
        .gb-grid { display: grid; gap: 4px; width: 100%; max-width: 38vh; margin: 0 auto; aspect-ratio: 1; }
        .gb-cell { background: rgba(0,0,0,0.6); border: 1px solid rgba(0, 240, 255, 0.3); color: var(--cp-cyan); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s; }
        .gb-cell.selectable { border-color: var(--cp-yellow); color: var(--cp-yellow); box-shadow: 0 0 12px rgba(252, 238, 10, 0.5); transform: scale(1.05); z-index: 2;}
        .gb-cell.used { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.2); cursor: default; transform: none; box-shadow: none; }
        .gb-buffer-area { width: 100%; max-width: 350px; padding: 5px; margin-bottom: 5px; }
        .gb-buffer { display: flex; gap: 6px; width: 100%; }
        .gb-bslot { flex: 1; height: 30px; border: 1px solid rgba(0,240,255,0.3); background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.2); border-radius: 2px;}
        .gb-bslot.filled { color: var(--cp-yellow); border-color: var(--cp-yellow); text-shadow: 0 0 8px var(--cp-yellow); font-weight: bold; background: rgba(252,238,10,0.1); }
        
        /* PULSEBREACH СТИЛИ */
        #pb-timer { height:5px; background:rgba(0,0,0,0.6); border-radius:2px; overflow:hidden; border:1px solid var(--cp-cyan); margin: 10px auto 0; width: 80%; max-width: 250px; }
        #pb-timer-fill { height:100%; width:100%; background:linear-gradient(90deg, var(--cp-cyan), var(--cp-yellow)); transition:width .1s linear; }
        #pb-timer-fill.low { background:linear-gradient(90deg, var(--cp-pink), var(--cp-yellow)); }
        #pb-ring-wrap { flex:1; display:flex; align-items:center; justify-content:center; position:relative; width: 100%; min-height: 300px; }
        #pb-ring { position:relative; width:240px; height:240px; }
        .pb-node { position:absolute; width:46px; height:46px; margin:-23px; border-radius:50%; background:rgba(0,0,0,0.8); border:2px solid var(--cp-cyan); transition:box-shadow .15s, background .15s, transform .1s; cursor: pointer; }
        .pb-node.lit { transform:scale(1.15); }
        .pb-node.correct { background:var(--cp-green); border-color:var(--cp-green); box-shadow: 0 0 15px var(--cp-green); }
        .pb-node.wrong { background:var(--cp-pink); border-color:var(--cp-pink); box-shadow: 0 0 15px var(--cp-pink); }
        #pb-core { position:absolute; top:50%; left:50%; width:60px; height:60px; margin:-30px; border-radius:50%; border:1px dashed var(--cp-cyan); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:12px; color:var(--cp-cyan); text-align:center; background: rgba(0,240,255,0.05); }
        #pb-progress { display:flex; justify-content:center; gap:8px; margin: 10px 0 20px; }
        .pb-dot { width:10px; height:10px; border-radius:50%; background:rgba(0,0,0,0.5); border:1px solid var(--cp-cyan); transition:0.3s; }
        .pb-dot.hit { background:var(--cp-pink); border-color:var(--cp-pink); box-shadow:0 0 8px var(--cp-pink); }

        /* GHOST PROTOCOL СТИЛИ */
        #ghost-progress-fill { height: 100%; background: linear-gradient(90deg, var(--cp-cyan), var(--cp-pink)); width: 0%; transition: width 0.6s ease; box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
        #ghost-canvas { background: radial-gradient(ellipse at center, #0d0d20, #050510); border-radius: 12px; border: 1px solid rgba(0, 240, 255, 0.12); box-shadow: 0 0 40px rgba(0, 240, 255, 0.04) inset; max-width: 95%; max-height: 95%; aspect-ratio: 1/1; touch-action: none; margin: 0 auto; display: block; }
