* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, sans-serif; background: #1a1a1a; color: #e0e0e0; height: 100vh; display: flex; flex-direction: column; } .tab-bar { display: flex; align-items: center; background: #222; border-bottom: 1px solid #333; height: 36px; flex-shrink: 0; } .tab-bar-tabs { display: flex; align-items: center; height: 100%; flex: 1; overflow-x: auto; } .tab-bar-actions { display: flex; align-items: center; height: 100%; border-left: 1px solid #333; } .tab { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 100%; font-size: 12px; cursor: pointer; border-right: 1px solid #333; white-space: nowrap; color: #888; } .tab.active { background: #1a1a1a; color: #e0e0e0; } .tab .close { font-size: 14px; opacity: 0.5; cursor: pointer; margin-left: 4px; } .tab .close:hover { opacity: 1; } .tab .edit { width: 12px; height: 12px; opacity: 0; cursor: pointer; filter: invert(1) brightness(2); margin-left: 2px; } .tab:hover .edit { opacity: 0.4; } .tab .edit:hover { opacity: 1; } .tab-add { padding: 0 12px; height: 100%; display: flex; align-items: center; font-size: 16px; cursor: pointer; color: #888; } .tab-add:hover { color: #e0e0e0; } .tab-action-btn { padding: 0 12px; height: 100%; display: flex; align-items: center; font-size: 12px; cursor: pointer; color: #888; } .tab-action-btn:hover { color: #e0e0e0; } .tab-action-btn.bot { font-weight: 500; } .tab-action-btn.running { color: #dc3545; } .tab-rename-input { width: 80px; padding: 0 4px; border: 1px solid #555; border-radius: 4px; font-size: 12px; background: #111; color: #e0e0e0; outline: none; } .toolbar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #252525; border-bottom: 1px solid #333; height: 36px; flex-shrink: 0; } .toolbar button { padding: 3px 12px; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 500; } .btn-vk { background: #0077ff; color: white; } .btn-telemost { background: #fc3f1d; color: white; } .btn-headless-dion { background: #00b894; color: white; opacity: 0.85; } .btn-headless { background: #0077ff; color: white; opacity: 0.8; } .btn-headless-tm { background: #fc3f1d; color: white; opacity: 0.8; } .btn-headless-wb { background: linear-gradient(90deg, #cb11ab 0%, #481173 100%); color: white; opacity: 0.85; } .btn-headless-bitrix { background: #2fc7f7; color: white; opacity: 0.85; } .btn-headless-blink { background: #f5c400; color: #1e1e1e; opacity: 0.85; } .toolbar-spacer { margin-left: auto; } .toolbar-label { font-size: 11px; color: #888; } .toolbar-select { padding: 2px 6px; border: 1px solid #555; border-radius: 6px; font-size: 11px; cursor: pointer; font-weight: 500; background: #333; color: #e0e0e0; outline: none; } .toolbar-icon { cursor: pointer; margin-left: 8px; } .toolbar-icon img { height: 16px; vertical-align: middle; filter: invert(1) brightness(2); } .content { flex: 1; position: relative; } .content webview { width: 100%; height: 100%; border: none; position: absolute; top: 0; left: 0; } .content webview.hidden { display: none; } .webview-full { width: 100%; height: 100%; position: absolute; top: 0; left: 0; } .welcome { display: flex; align-items: center; justify-content: center; height: 100%; flex-direction: column; gap: 16px; } .welcome h1 { font-size: 22px; font-weight: 500; } .welcome p { color: #888; font-size: 14px; } .headless-info { display: none; padding: 24px; color: #e0e0e0; font-family: monospace; font-size: 14px; } .headless-title { font-size: 18px; font-weight: bold; margin-bottom: 16px; } .headless-status { color: #888; } .headless-call-info { margin-top: 16px; display: none; } .headless-row { margin-bottom: 8px; } .headless-label { color: #888; } .headless-qr { margin-top: 16px; } .headless-qr img { width: 180px; height: 180px; display: block; background: #fff; padding: 8px; border-radius: 6px; } .headless-qr-hint { margin-top: 6px; color: #888; font-size: 12px; } .headless-link { color: #4fc3f7; cursor: pointer; } .headless-copy { width: 16px; height: 16px; margin-left: 6px; cursor: pointer; vertical-align: middle; filter: invert(0.53); } .headless-copy:hover { filter: invert(0.88); } .headless-start { display: none; margin-top: 8px; gap: 16px; max-width: 520px; flex-direction: column; } .headless-start.visible { display: flex; } .headless-start-card { border: 1px solid #333; border-radius: 8px; background: #1e1e1e; padding: 16px; display: flex; flex-direction: column; gap: 10px; } .headless-start-card-title { font-size: 14px; font-weight: 600; color: #e0e0e0; } .headless-start-card-desc { font-size: 12px; color: #888; } .headless-start-input { width: 100%; padding: 8px 10px; border: 1px solid #444; border-radius: 6px; background: #141414; color: #e0e0e0; font-family: monospace; font-size: 13px; outline: none; box-sizing: border-box; } .headless-start-input:focus { border-color: #4fc3f7; } .headless-start-input.invalid { border-color: #ef5350; } .headless-start-error { min-height: 14px; color: #ef5350; font-size: 12px; } .headless-start-btn { align-self: flex-start; padding: 6px 14px; border: 1px solid #555; border-radius: 6px; background: #2a2a2a; color: #e0e0e0; font-size: 13px; cursor: pointer; font-family: inherit; } .headless-start-btn:hover { background: #353535; border-color: #777; } .headless-start-btn.primary { background: #0077ff; border-color: #0077ff; color: white; } .headless-start-btn.primary:hover { background: #0066dd; border-color: #0066dd; } .headless-tunnel { margin-top: 16px; display: none; color: #4caf50; font-weight: bold; font-size: 16px; } .logs { display: flex; gap: 0; border-top: 1px solid #333; height: 120px; flex-shrink: 0; } .log-panel { flex: 1; display: flex; flex-direction: column; } .log-panel:first-child { border-right: 1px solid #333; } .logs.relay-only .log-panel:first-child { border-right: none; } .logs.relay-only { height: 280px; } .log-title { font-size: 10px; font-weight: 600; color: #888; padding: 3px 8px; background: #1e1e1e; border-bottom: 1px solid #333; } .log-clear-btn { cursor: pointer; float: right; font-size: 13px; line-height: 13px; } .log-download-btn { display: none; float: right; width: 16px; height: 16px; margin-right: 8px; margin-top: -2px; cursor: pointer; filter: invert(0.55); vertical-align: middle; } .log-download-btn:hover { filter: invert(0.88); } .logs.relay-only .log-download-btn { display: inline-block; } .log-content { flex: 1; overflow-y: auto; padding: 3px 8px; font-family: monospace; font-size: 10px; background: #111; white-space: pre-wrap; word-break: break-all; } .log-content.relay { color: #4fc3f7; } .log-content.hook { color: #66bb6a; } .popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 1000; display: none; align-items: center; justify-content: center; } .popup-overlay.visible { display: flex; } .popup { background: #2a2a2a; border-radius: 12px; padding: 24px; width: 400px; max-height: 90vh; overflow-y: auto; box-sizing: border-box; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); } .popup h2 { margin: 0 0 20px; font-size: 18px; font-weight: 600; color: #e0e0e0; } .popup label { display: block; margin-bottom: 6px; font-size: 12px; color: #888; font-weight: 500; } .popup input { width: 100%; padding: 10px 12px; border: 1px solid #444; border-radius: 8px; font-size: 14px; background: #1a1a1a; color: #e0e0e0; outline: none; margin-bottom: 16px; box-sizing: border-box; } .popup input:focus { border-color: #0077ff; } .popup .popup-check { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; cursor: pointer; } .popup .popup-check input[type="checkbox"] { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: #0077ff; flex: none; } .popup .popup-check span { font-size: 14px; color: #e0e0e0; font-weight: 500; } .popup-buttons { display: flex; gap: 8px; justify-content: flex-end; } .popup button { padding: 8px 16px; border: none; border-radius: 8px; font-size: 13px; cursor: pointer; font-weight: 500; } .btn-save { background: #0077ff; color: white; } .btn-cancel { background: #444; color: #e0e0e0; } .clear-cookies-row { display: flex; gap: 8px; flex-wrap: wrap; } .btn-clear-cookies { background: #444; color: #e0e0e0; } .btn-clear-cookies:hover { background: #5a3030; color: #ffb3b3; } .clear-cookies-status { margin-top: 8px; font-size: 12px; color: #9aa0a6; min-height: 14px; } .error-title { color: #dc3545; margin-bottom: 12px; font-size: 15px; } .error-text { background: #111; padding: 10px; border-radius: 6px; font-size: 11px; color: #e0e0e0; white-space: pre-wrap; word-break: break-all; max-height: 200px; overflow-y: auto; user-select: text; cursor: text; margin: 0; } .headless-save { display: inline-block; width: 16px; height: 16px; margin-left: 6px; cursor: pointer; vertical-align: middle; background-color: #888; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat; } .headless-save:hover { background-color: #e0e0e0; } .headless-save.saved { background-color: #4fc3f7; } .saved-calls { display: none; padding: 24px; color: #e0e0e0; font-family: monospace; font-size: 14px; overflow-y: auto; height: 100%; box-sizing: border-box; } .saved-calls-title { font-size: 18px; font-weight: bold; margin-bottom: 16px; } .saved-calls-empty { color: #888; font-size: 12px; } .saved-calls-list { display: flex; flex-direction: column; gap: 8px; } .saved-call { display: flex; align-items: center; gap: 12px; border: 1px solid #333; border-radius: 8px; background: #1e1e1e; padding: 12px 16px; } .saved-call-platform { color: #888; font-size: 12px; width: 80px; flex-shrink: 0; } .saved-call-body { flex: 1; min-width: 0; } .saved-call-name { font-size: 14px; color: #e0e0e0; } .saved-call-link { font-size: 11px; color: #4fc3f7; word-break: break-all; } .saved-call-join { padding: 6px 14px; border: 1px solid #444; border-radius: 6px; background: #2a2a2a; color: #e0e0e0; font-family: inherit; font-size: 12px; cursor: pointer; flex-shrink: 0; } .saved-call-join:hover { background: #333; } .saved-call-remove { color: #888; cursor: pointer; flex-shrink: 0; } .saved-call-remove:hover { color: #dc3545; } body.saved-calls-open #savedCallsPanel { display: block; } body.saved-calls-open #welcome, body.saved-calls-open #toolbar, body.saved-calls-open #headlessInfo, body.saved-calls-open #logsPanel, body.saved-calls-open webview { display: none !important; }