:root {
    --bg: #030305; --surface: #0a0a0c; --border: #1a1a24;
    --accent: #3b82f6; --accent-dim: rgba(59, 130, 246, 0.15);
    --up: #10b981; --down: #ef4444;
    --text-main: #f8fafc; --text-muted: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body, button, input, select, textarea, .node, .vix-status-title, .vix-status-desc {
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: -0.2px;
}

/* ФИКС ДЛЯ МОБИЛОК: ОТКЛЮЧАЕТ ЗУМ ПРИ БЫСТРОМ ТАПЕ НА ПОЛЗУНКАХ И КНОПКАХ */
button, input, select, .node, .stat-card, .btn-auto, .btn-action, .pct-input, input[type="range"] {
    touch-action: manipulation !important;
}

body {
    background: var(--bg); color: var(--text-main);
    padding: 8px; margin: 0; display: flex; justify-content: center;
    min-height: 100vh; overflow-y: auto; overflow-x: hidden;
}

.container {
    display: grid; grid-template-rows: 1fr auto; gap: 8px;
    width: 100%; min-width: 412px; max-width: 1920px; height: calc(100vh - 16px);
}

.ticker-tape { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; width: 100%; margin-bottom: 0; }
.stat-card { background: var(--surface); padding: 6px 4px; border-radius: 6px; border: 1px solid var(--border); border-left: 3px solid #333; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: center; }
.stat-name { font-size: 9.5px; color: var(--text-muted); text-transform: uppercase; font-weight: 800; margin-bottom: 1px; display: flex; align-items: center; gap: 3px; }
.stat-price { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 1px;}
.stat-change { font-size: 10px; font-weight: 800; }
.stat-cum { font-size: 8.5px; color: var(--text-muted); margin-top: 1px;}

.delay-badge { font-size: 6.5px !important; font-weight: 800 !important; color: #f59e0b !important; background: rgba(245, 158, 11, 0.15) !important; padding: 1px 3px !important; border-radius: 2px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; transform: translateY(-2.5px) !important; margin-left: -1px !important; }
.beta-badge { background-color: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.5); font-size: 9px; font-weight: 800; letter-spacing: 1px; padding: 2px 6px; border-radius: 4px; margin-left: 10px; vertical-align: middle; box-shadow: 0 0 8px rgba(245, 158, 11, 0.1); }

.workspace { display: flex; gap: 8px; width: 100%; height: 100%; box-sizing: border-box; min-height: 0; }
.workspace-left { display: flex; flex-direction: column; gap: 8px; flex: 0 0 58%; min-width: 0; }
.top-panel-row, .bottom-panel-row { display: flex; gap: 8px; width: 100%; flex: 1; min-height: 0; }

.controls { flex: 0 0 235px; background: var(--surface); padding: 4px 8px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 0; overflow-y: auto; }
.mode-switch { display: flex; background: rgba(0,0,0,0.5); border-radius: 4px; border: 1px solid var(--border); flex-shrink: 0; margin-bottom: 2px;}
.mode-btn { flex: 1; padding: 2px 1px; text-align: center; font-size: 10px; font-weight: 800; cursor: pointer; color: var(--text-muted); transition: 0.2s; border-radius: 4px; letter-spacing: -0.2px;}
.mode-btn.active { background: var(--accent); color: #fff; }

.slider-group { background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%); padding: 0.5px 4px; border-radius: 4px; display: flex; flex-direction: row; align-items: center; gap: 4px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.02); margin-bottom: 1.5px; }
.header-row { display: contents; }
.slider-group span { order: 1; font-size: 9px; font-weight: 700; color: #94a3b8; width: 42px; display: flex; align-items: center; gap: 2px; }
input[type="range"] { order: 2; flex: 1; min-width: 33px; margin: 0; height: 4px; -webkit-appearance: none; background: rgba(255,255,255,0.1); outline: none; border-radius: 2px; }
.pct-input::-webkit-inner-spin-button, .pct-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pct-input { order: 3; background: rgba(0,0,0,0.5); border: 1px solid #333; color: #fff; font-size: 9px; width: 38px; text-align: right; border-radius: 4px; padding: 1px 3px; outline: none; -moz-appearance: textfield; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 7.5px; height: 7.5px; background: var(--accent); border-radius: 50%; cursor: pointer; box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); transition: background 0.8s ease-out, box-shadow 0.8s ease-out, transform 0.8s ease-out; }
input[type="range"].flash-thumb::-webkit-slider-thumb { background: #ffffff !important; box-shadow: 0 0 16px 6px rgba(255, 255, 255, 0.8) !important; transform: scale(1.5) !important; transition: background 0.05s ease-in, box-shadow 0.05s ease-in, transform 0.05s ease-in; }
.slider-group::after { content: "%"; order: 4; font-size: 10px; font-weight: 700; color: #94a3b8; margin-left: -4px; }

.btn-group { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 1px; flex-shrink: 0; }
button { background: var(--accent); color: white; border-radius: 6px; font-weight: 800; border: none; font-size: 9px; cursor: pointer; text-transform: uppercase; transition: 0.2s; }
#auto-btn { flex: 1; padding: 2px 10px; box-shadow: 0 0 15px var(--accent-dim); }
#auto-btn.active { background: var(--down); box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); }
#reset-cum-btn { background: #f59e0b; padding-left: 16px; padding-right: 16px; color: #fff; }
#sync-status { font-size: 9px; color: var(--up); text-align: right; white-space: nowrap; }

.connection-indicator { display: flex; align-items: center; gap: 3px; }
.led { width: 6px; height: 6px; border-radius: 50%; background: #64748b; transition: all 0.3s; }
.led.connected { background: #10b981; box-shadow: 0 0 6px #10b981; }
.led.disconnected { background: #ef4444; }

.controls::-webkit-scrollbar, .zg-table-wrapper::-webkit-scrollbar, .modal-content::-webkit-scrollbar { width: 3px; }
.controls::-webkit-scrollbar-track, .zg-table-wrapper::-webkit-scrollbar-track, .modal-content::-webkit-scrollbar-track { background: transparent; }
.controls::-webkit-scrollbar-thumb, .zg-table-wrapper::-webkit-scrollbar-thumb, .modal-content::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.canvas-container { flex: 1; background: var(--surface); border-radius: 12px; position: relative; border: 1px solid var(--border); overflow: hidden; min-height: 0; }
.vix-panel { flex: 0 0 140px; background: var(--surface); padding: 8px 10px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; }

.zg-bottom-panel { flex: 0 0 235px; background: var(--surface); padding: 4px 10px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; }
.cum-middle-panel { flex: 1; background: var(--surface); padding: 8px 10px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; }
.smc-main-panel { flex: 1; background: var(--surface); padding: 8px 10px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; }

.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; flex-shrink: 0; }
.chart-title { font-size: 8px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
.chart-wrapper, .smc-chart-wrapper { position: relative; flex: 1; width: 100%; min-height: 0; }

.node { position: absolute; padding: 6px 12px; border-radius: 6px; background: rgba(18, 18, 24, 0.85); backdrop-filter: blur(4px); font-weight: 800; font-size: 9px; text-transform: uppercase; color: #ffffff; text-align: center; white-space: nowrap; border: 2px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 8px rgba(0,0,0,0.8); z-index: 100; transition: all 0.3s; pointer-events: none; }
#usdx-node { top: 51.5%; left: 52.5%; transform: translate(-50%, -50%); background: rgba(15, 23, 42, 0.95); border-color: rgba(59, 130, 246, 0.8) !important; box-shadow: 0 0 25px var(--accent-dim), inset 0 0 12px rgba(59, 130, 246, 0.2) !important; width: 55px; padding: 3px; font-size: 9px; z-index: 200; }
#node-dx-val { font-size: 9px; font-weight: 700; }
#vix-node { top: 5%; right: 3%; background: rgba(30, 10, 10, 0.9); z-index: 210; }
#bz-node { top: 25%; left: 27.5%; } #cl-node { top: 15%; left: 50%; } #nq-node { top: 26%; left: 60%; } #hg-node { top: 45%; left: 10%; } #rty-node { top: 30%; left: 70%; } #us30y-node { top: 50%; left: 60%; } #gc-node { top: 50%; left: 5%; } #tnx-node { top: 72.5%; left: 50%; } #dba-node { top: 64%; left: 37.5%; }
canvas { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 1; }

.vix-header { font-size: 9px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.vix-scale-container { position: relative; flex: 1; width: 100%; display: flex; justify-content: center; margin-bottom: 8px; min-height: 0; padding: 6px 0; }
.vix-scale { width: 12px; height: 100%; border-radius: 6px; background: linear-gradient(to bottom, #ef4444 0%, #f59e0b 40%, #fbbf24 60%, #64748b 71%, #10b981 82.5%, #3b82f6 100%); position: relative; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.vix-marker { position: absolute; left: -12px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #ffffff; transform: translateY(-50%); transition: top 0.5s; filter: drop-shadow(0 0 3px rgba(255,255,255,0.8)); z-index: 5; }
.vix-label { position: absolute; left: 20px; font-size: 8px; color: #94a3b8; transform: translateY(-50%); white-space: nowrap; }
.vix-label-30 { top: 0%; } .vix-label-18 { top: 60%; } .vix-label-13 { top: 82.5%; } .vix-label-10 { top: 100%; }
.vix-text-box { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 8px; width: 100%; text-align: center; min-height: 80px; display: flex; flex-direction: column; justify-content: center; }
.vix-status-title { font-weight: 800; font-size: 9px; margin-bottom: 4px; }
.vix-status-desc { font-size: 8px; color: #cbd5e1; line-height: 1.2; }

.zg-table-wrapper { flex: 1; overflow-y: auto; padding-right: 2px; }
.zg-table { width: 100%; border-collapse: collapse; font-size: 9px; text-align: right; }
.zg-table th { color: var(--text-muted); font-weight: 800; font-size: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 2px 2px; }
.zg-table th:first-child, .zg-table td:first-child { text-align: left; }
.zg-table td { padding: 3px 2px; border-bottom: 1px solid rgba(255,255,255,0.02); }
.row-short td { background: rgba(239, 68, 68, 0.05); }
.val-up { color: var(--up); }
.val-down { color: var(--down); }
.val-neutral { color: #94a3b8; }

.watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 56px; font-weight: 800; color: rgba(255, 255, 255, 0.15); white-space: nowrap; pointer-events: none; z-index: 0; user-select: none; letter-spacing: -2px; }
.watermark span { color: rgba(59, 130, 246, 0.20); font-weight: 400; }
.watermark-sub { position: absolute; top: 100%; left: 74.7%; transform: translateX(-50%); font-size: 10px; color: rgba(255, 255, 255, 0.20); letter-spacing: -0.5px; margin-top: -10px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px; background: var(--surface); border-radius: 8px; border: 1px solid var(--border); font-size: 8px; color: var(--text-muted); flex-shrink: 0;}
.footer-brand { font-weight: 800; color: #94a3b8; letter-spacing: 0.5px; }
.disclaimer { opacity: 0.8; max-width: 50%; text-align: center; }
.disclaimer strong { color: #f59e0b; }
.footer-links { display: flex; gap: 16px; font-weight: 600; text-transform: uppercase; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: 0.2s; cursor: pointer; }
.footer-links a:hover { color: #fff; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 9999; display: flex; justify-content: center; align-items: center; visibility: hidden; opacity: 0; transition: opacity 0.2s ease, visibility 0.2s ease; }
.modal-overlay.active { visibility: visible; opacity: 1; }
.modal-content { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; width: 90%; max-width: 650px; max-height: 85vh; overflow-y: auto; padding: 30px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.8); transform: translateY(20px); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--down); border-color: var(--down); }
.modal-body h2, .modal-body h3 { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; }
.modal-body h2 { color: var(--accent); font-weight: 800; font-size: 18px; margin-top: 0; border-bottom: 1px solid var(--border); padding-bottom: 12px; letter-spacing: -0.5px;}
.modal-body h3 { color: #fff; font-size: 13px; margin-top: 24px; font-weight: 600; }
.modal-body p, .modal-body li { color: #cbd5e1; font-size: 12px; line-height: 1.6; }
.modal-body ul { padding-left: 20px; margin-bottom: 15px;}
.modal-body li { margin-bottom: 8px; }
.modal-warning { background: rgba(239, 68, 68, 0.1); border-left: 3px solid var(--down); padding: 12px; margin-bottom: 20px; border-radius: 0 4px 4px 0; }
.modal-warning p { color: #f8fafc; font-weight: 800; margin: 0; text-transform: uppercase; font-size: 11px; }

/* TRADE EXECUTION & R:R OVERLAY */
.trade-controls { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 5px; }
.tc-inputs { display: flex; gap: 4px; width: 100%; }
.tc-inputs input { flex: 1 1 0; min-width: 0; background: #121214; border: 1px solid #333; color: #fff; font-size: 10px; padding: 6px 2px; border-radius: 4px; text-align: center; }
.tc-inputs input:focus { border-color: var(--accent); outline: none; }
.tc-metrics { font-size: 11px; font-weight: 800; color: #cbd5e1; text-align: center; padding: 6px; background: rgba(0,0,0,0.3); border-radius: 4px; border: 1px dashed rgba(255,255,255,0.1); }
.tc-buttons { display: flex; gap: 6px; }
.tc-buttons button { flex: 1; padding: 8px; font-size: 10px; font-weight: 800; border-radius: 4px; border: none; cursor: pointer; color: #fff; transition: 0.2s; }
.btn-long { background: rgba(16, 185, 129, 0.15); border: 1px solid #10b981 !important; color: #10b981 !important; }
.btn-long:hover { background: #10b981; color: #fff !important; }
.btn-short { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444 !important; color: #ef4444 !important; }
.btn-short:hover { background: #ef4444; color: #fff !important; }
.btn-close { background: #334155; border: 1px solid #475569 !important; }
.btn-close:hover { background: #64748b; }
.btn-auto { background: #1e1e24; border: 1px dashed #333 !important; color: #64748b !important; }
.btn-auto.armed { background: rgba(245, 158, 11, 0.15) !important; border: 1px solid #f59e0b !important; color: #f59e0b !important; }
.btn-kill { background: #450a0a; border: 1px solid #991b1b !important; color: #fca5a5 !important; }
.btn-kill:hover { background: #dc2626; border-color: #ef4444 !important; color: #fff !important; box-shadow: 0 0 20px rgba(220, 38, 38, 0.6); }

.journal-wrapper { margin-top: 5px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 5px;}
.journal-table th, .journal-table td { text-align: center !important; font-size: 9px; padding: 4px 2px !important; }

.rr-box-target { position: absolute; background: rgba(16, 185, 129, 0.15); border-right: 2px solid rgba(16, 185, 129, 0.8); }
.rr-box-stop { position: absolute; background: rgba(239, 68, 68, 0.15); border-right: 2px solid rgba(239, 68, 68, 0.8); }
.rr-box-secured { position: absolute; background: rgba(148, 163, 184, 0.15); border-right: 2px dashed #94a3b8; }
.rr-entry-line { position: absolute; border-top: 1px dashed rgba(255,255,255,0.6); }
.rr-entry-line.secured { border-top: 2px solid #94a3b8; }
.rr-label { position: absolute; font-size: 9px; font-weight: 800; padding: 2px 4px; border-radius: 2px; color: #fff; z-index: 10; }
.rr-label.target { background: #10b981; right: 0; transform: translateY(-50%); }
.rr-label.stop { background: #ef4444; right: 0; transform: translateY(-50%); }
.rr-label.secured { background: #475569; right: 0; transform: translateY(-50%); }

/* МОБИЛЬНАЯ АДАПТАЦИЯ (PIXEL PERFECT V4) */
@media screen and (max-width: 1024px) {
    * { box-sizing: border-box !important; }
    body, html { overflow-x: hidden !important; width: 100vw !important; margin: 0 !important; padding: 0 !important; background: var(--bg); }
    .container, .workspace, .workspace-left, .top-panel-row, .bottom-panel-row { display: flex !important; flex-direction: column !important; width: 100% !important; height: auto !important; flex: none !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; }
    .controls, .vix-panel, .zg-bottom-panel, .cum-middle-panel, .smc-main-panel, #canvas-wrapper { width: 100% !important; flex: none !important; margin: 0 0 8px 0 !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
    #dashboard { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; gap: 4px !important; padding: 8px !important; width: 100% !important; scrollbar-width: none; margin-bottom: 8px !important; }
    #dashboard::-webkit-scrollbar { display: none; }
    .stat-card { flex: 0 0 65px !important; min-width: 65px !important; padding: 4px !important; margin: 0 !important; }
    .controls { padding: 8px !important; }
    .sliders-wrapper { display: flex !important; flex-direction: column !important; gap: 6px !important; width: 100% !important; }
    .slider-group { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; margin: 0 !important; }
    .slider-group .header-row { display: contents !important; }
    .slider-group span { flex: 0 0 45px !important; font-size: 9px !important; }
    .slider-group input[type="range"] { flex: 1 !important; margin: 0 8px !important; height: 8px !important; }
    .pct-input { flex: 0 0 40px !important; height: 18px !important; font-size: 10px !important; text-align: right !important; padding: 0 2px !important; }
    .mode-switch { display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; overflow-x: auto !important; margin-bottom: 8px !important; scrollbar-width: none; }
    .mode-btn { flex: 0 0 auto !important; padding: 4px 8px !important; font-size: 10px !important; }
    #canvas-wrapper { display: flex !important; position: relative !important; height: 320px !important; min-height: 320px !important; max-height: 320px !important; overflow: hidden !important; padding: 0 !important; }
    .node { transform: scale(0.75) !important; }
    #usdx-node { left: 47.5% !important; top: 47.5% !important; transform: translate(-50%, -50%) scale(0.85) !important; }
    .vix-panel { padding: 12px 10px !important; min-height: 275px !important; background: rgba(0, 0, 0, 0.2) !important; }
    .vix-scale-container { min-height: 175px !important; width: 100% !important; position: relative !important; }
    .zg-container, .zg-bottom-panel { padding: 8px !important; }
    .zg-table-wrapper { width: 100% !important; overflow: hidden !important; }
    .zg-table { width: 100% !important; min-width: 0 !important; table-layout: fixed !important; margin: 0 !important; }
    .zg-table th, .zg-table td { font-size: 8.5px !important; padding: 4px 2px !important; text-align: center !important; white-space: nowrap !important; word-wrap: break-word !important; }
    .chart-container, .smc-main-panel, .cum-middle-panel { padding: 10px !important; display: flex !important; flex-direction: column !important; }
    .smc-main-panel { height: auto !important; min-height: 850px !important; }
    .cum-middle-panel { height: 300px !important; min-height: 300px !important; }
    .smc-chart-wrapper, .chart-wrapper { flex: 1 !important; width: 100% !important; position: relative !important; }
}

.lang-block { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,0.05); display: flex; gap: 8px; align-items: flex-start; }
.lang-code { display: inline-block; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; flex-shrink: 0; }
.lang-block p { margin: 0; color: #cbd5e1; font-size: 11px; line-height: 1.5; }
.lang-block strong { color: #f8fafc; }

/* БЛОКИРОВКА ЖЕСТОВ НА МОБИЛЬНЫХ ДЛЯ ГРАФИКОВ */
#smc-chart, #cum-chart, #smc-chart div, #cum-chart div, .tv-lightweight-charts { touch-action: none !important; -webkit-user-select: none !important; user-select: none !important; -webkit-touch-callout: none !important; }

/* SNIPER TELEMETRY HUD (КИБЕРПАНК) */
.hud-panel { position: absolute; top: 10px; left: 10px; width: 180px; background-color: rgba(17, 24, 39, 0.2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; padding: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; z-index: 1000; pointer-events: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); backdrop-filter: blur(1.5px); }
.hud-header { color: #94a3b8; font-weight: 800; letter-spacing: 1px; margin-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 3px; font-size: 8.5px; }
.status-scanning { color: #94a3b8; text-shadow: 0 0 5px rgba(148, 163, 184, 0.5); }
.status-locked { color: #f59e0b; text-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.status-execution { color: #10b981; text-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.status-off { color: #ef4444; }
.hud-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.hud-label { color: #64748b; }
.val-time { color: #cbd5e1; }
.val-target { color: #fde68a; font-weight: bold; }
.hud-matrix-title { color: #475569; font-size: 9px; margin-top: 2px; margin-bottom: 2px; }
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background-color: #1e293b; margin-right: 6px; transition: background-color 0.2s ease; }
.val-wait { color: #475569; }
.val-calc { color: #8b5cf6; }
.val-ok { color: #10b981; font-weight: bold; text-shadow: 0 0 5px #10b981; }
.val-fail { color: #ef4444; }
.dot-active { background-color: #10b981; box-shadow: 0 0 6px #10b981; }
.dot-waiting { background-color: #f59e0b; }
.dot-fail { background-color: #ef4444; }

/* COMPACT HUD BUTTONS */
#btn-open-long, #btn-open-short, #btn-close-trade, #btn-auto-sniper, #btn-kill-switch { height: 20px !important; padding: 0 12px !important; font-size: 12px !important; line-height: 18px !important; min-height: unset !important; }
.control-panel, .action-row { gap: 8px !important; margin-bottom: 4px !important; }

/* COMPACT SNIPER INPUTS */
#tc-entry, #tc-goal, #tc-stop, #tc-prob { height: 22px !important; padding: 0 4px !important; font-size: 11px !important; text-align: center !important; min-height: unset !important; }
#tc-ev-display { padding: 4px 4px !important; font-size: 12px !important; margin: 2px 0 !important; line-height: 1.2 !important; }
.tc-inputs-row, .sniper-inputs { gap: 4px !important; margin-bottom: 4px !important; }
