/* Глобально отключаем синюю tap-подсветку мобильных браузеров/WebView на ВСЕХ элементах (Android/Chromium): синего квадрата при нажатии нигде быть не должно. */ * { -webkit-tap-highlight-color: transparent; } .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 8px; } .page-title { font-size: 22px; font-weight: 700; letter-spacing: 0.2px; } .header-actions, .header-left { display: flex; align-items: center; gap: 8px; min-width: 74px; } .header-left { justify-content: flex-start; } .header-left-label { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #a8bcdf; } .header-actions { justify-content: flex-end; } .icon-btn, .text-btn, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); color: var(--text); padding: 9px 12px; min-height: 38px; font-weight: 600; cursor: pointer; transition: 0.2s ease; } .icon-btn:hover, .text-btn:hover, .primary-btn:hover, .secondary-btn:hover, .destructive-btn:hover, .ghost-btn:hover { border-color: var(--accent); transform: translateY(-1px); } .primary-btn { background: linear-gradient(120deg, rgba(218, 179, 87, 0.95), rgba(184, 137, 54, 0.92)); border-color: rgba(242, 210, 129, 0.72); color: #101426; } .secondary-btn { background: linear-gradient(180deg, rgba(19, 35, 63, 0.9), rgba(14, 26, 50, 0.95)); border-color: rgba(132, 162, 228, 0.42); color: #e7efff; } .destructive-btn { background: linear-gradient(120deg, rgba(129, 37, 54, 0.9), rgba(92, 23, 37, 0.94)); border-color: rgba(255, 129, 147, 0.46); color: #ffe4ea; } .ghost-btn { background: rgba(17, 26, 46, 0.62); border-color: rgba(255, 255, 255, 0.16); } .icon-btn:disabled, .text-btn:disabled, .primary-btn:disabled, .secondary-btn:disabled, .destructive-btn:disabled, .ghost-btn:disabled { opacity: 1; color: #93a6cc; background: linear-gradient(180deg, rgba(18, 30, 54, 0.8), rgba(11, 20, 39, 0.86)); border-color: rgba(124, 145, 189, 0.28); box-shadow: none; cursor: not-allowed; transform: none; } .card { background: linear-gradient(180deg, rgba(31, 44, 67, 0.62), rgba(21, 30, 48, 0.9)); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius-lg); padding: 14px; } .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .stack { display: grid; gap: 10px; } .badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(132, 244, 161, 0.35); color: #d7ffe3; background: rgba(132, 244, 161, 0.09); font-size: 12px; font-weight: 600; } .badge.profile-badge-trigger { cursor: pointer; } .badge.alt { border-color: rgba(83, 216, 251, 0.35); color: #dff8ff; background: rgba(83, 216, 251, 0.11); } .badge.is-no { border-color: rgba(170, 180, 205, 0.3); color: #c5cedd; background: rgba(152, 164, 190, 0.14); } .badge.is-yes-official { border-color: rgba(132, 244, 161, 0.5); color: #ddffe7; background: rgba(132, 244, 161, 0.2); } .badge.is-yes-shine { border-color: rgba(183, 122, 255, 0.6); color: #f4e7ff; background: rgba(176, 102, 255, 0.22); } .badge.profile-toggle-btn.is-no { border-color: rgba(170, 180, 205, 0.3); color: #c5cedd; background: rgba(152, 164, 190, 0.14); } .badge.profile-toggle-btn.is-yes-official { border-color: rgba(132, 244, 161, 0.5); color: #ddffe7; background: rgba(132, 244, 161, 0.2); } .badge.profile-toggle-btn.is-yes-shine { border-color: rgba(183, 122, 255, 0.6); color: #f4e7ff; background: rgba(176, 102, 255, 0.22); } .profile-help-modal[hidden] { display: none; } .profile-help-modal { position: fixed; inset: 0; z-index: 20; } .profile-help-backdrop { position: absolute; inset: 0; background: rgba(5, 9, 16, 0.72); backdrop-filter: blur(4px); } .profile-help-dialog { position: absolute; left: 16px; right: 16px; bottom: 24px; display: grid; gap: 12px; padding: 16px; box-shadow: var(--shadow); } .profile-help-text { color: #d8e3ff; line-height: 1.45; font-size: 14px; } .profile-data-help p { margin-top: 6px; line-height: 1.4; color: #d8e3ff; } .profile-param-list { gap: 8px; } .profile-identity-lines { display: grid; gap: 4px; } .profile-identity-line { line-height: 1.2; color: #eef3ff; font-size: 17px; } .profile-identity-login { font-weight: 700; font-size: 20px; } .profile-avatar-block { display: grid; justify-items: center; gap: 8px; } .profile-avatar { position: relative; overflow: hidden; } .profile-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; } .profile-avatar-change-btn { min-height: 34px; padding: 6px 10px; } .avatar-preview-circle { width: 124px; height: 124px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 1px solid rgba(155, 182, 233, 0.46); background: rgba(13, 26, 50, 0.86); box-shadow: inset 0 0 0 1px rgba(240, 248, 255, 0.1); } .avatar-preview-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; } .avatar-wizard-preview { width: 140px; height: 140px; } .avatar-wizard-meta { font-size: 13px; line-height: 1.35; color: #d9e7ff; word-break: break-word; } .avatar-wizard-error { min-height: 18px; font-size: 13px; color: #f6a8b3; } .avatar-wizard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .avatar-wizard-choice-grid { display: grid; gap: 10px; } .profile-param-item { padding: 10px; gap: 6px; } .profile-param-head { display: flex; justify-content: space-between; gap: 8px; } .profile-param-value { font-size: 15px; color: #eef3ff; word-break: break-word; } .profile-param-value-small { font-size: 13px; } .profile-gender-select, .profile-relation-select { min-height: 46px; border-radius: 12px; border: 1px solid rgba(157, 185, 238, 0.35); background: linear-gradient(150deg, rgba(23, 43, 79, 0.9), rgba(10, 22, 44, 0.92)); color: #eef4ff; font-weight: 600; letter-spacing: 0.01em; } .profile-gender-select:focus, .profile-relation-select:focus { border-color: rgba(120, 211, 255, 0.9); box-shadow: 0 0 0 3px rgba(65, 174, 255, 0.2); } .profile-relative-search-meta { font-size: 12px; line-height: 1.35; } .profile-relative-search-suggest { max-height: 180px; overflow-y: auto; border: 1px solid rgba(150, 174, 224, 0.3); border-radius: 12px; background: rgba(9, 18, 35, 0.94); padding: 6px; } .profile-relative-suggest-item { width: 100%; text-align: left; border: 1px solid rgba(132, 162, 224, 0.28); border-radius: 9px; background: rgba(16, 30, 56, 0.78); color: #e5eeff; padding: 8px 10px; cursor: pointer; margin-bottom: 6px; } .profile-relative-suggest-item:last-child { margin-bottom: 0; } .profile-relative-suggest-item:hover { border-color: rgba(216, 178, 95, 0.52); color: #f3dca8; } .profile-param-time { font-size: 12px; } .auth-screen { min-height: calc(100dvh - 48px - env(safe-area-inset-bottom)); display: grid; align-content: center; justify-items: center; gap: 18px; text-align: center; } .auth-logo { width: 126px; height: 126px; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); } .auth-brand { font-size: 32px; letter-spacing: 0.04em; } .auth-actions, .auth-footer-actions { display: grid; gap: 10px; } .auth-actions { width: min(100%, 320px); } .login-actions-wide { width: 100%; } .auth-footer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .auth-copy { line-height: 1.45; color: #d8e3ff; } .auth-status-card { width: min(100%, 320px); color: #d8e3ff; } .field-label { color: #b2c2e6; font-size: 13px; } .select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.04); min-height: 44px; padding: 0 12px; color: var(--text); } .select:focus { outline: none; border-color: rgba(83, 216, 251, 0.55); box-shadow: 0 0 0 3px rgba(83, 216, 251, 0.12); } .wrap-row { flex-wrap: wrap; } .status-line { font-size: 13px; color: var(--text-muted); } .status-line.is-available { color: #8ef0a8; } .status-line.is-unavailable { color: #ff8d97; } .server-check-btn.is-available { border-color: rgba(132, 244, 161, 0.42); background: rgba(132, 244, 161, 0.12); color: #d7ffe3; } .server-check-btn.is-unavailable { border-color: rgba(255, 113, 143, 0.42); background: rgba(255, 113, 143, 0.12); color: #ffd7df; } .help-fab, .square-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-soft); color: var(--text); cursor: pointer; } .help-fab { position: fixed; right: max(20px, calc((100vw - min(100vw, 430px)) / 2 + 20px)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 12; } .inline-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .link-card { display: block; padding: 14px; border-radius: var(--radius-md); background: rgba(83, 216, 251, 0.08); border: 1px solid rgba(83, 216, 251, 0.22); color: #d9f8ff; } .qr-card { justify-items: center; } .qr-code { width: min(220px, 100%); aspect-ratio: 1; fill: #eff5ff; background: #111723; border-radius: 22px; padding: 18px; } .camera-shell { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: #09101a; border: 1px solid rgba(255, 255, 255, 0.08); } .camera-video { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; } .camera-frame { position: absolute; inset: 70px 40px 110px; border: 3px solid rgba(83, 216, 251, 0.85); border-radius: 24px; box-shadow: 0 0 0 999px rgba(5, 9, 16, 0.38); } .camera-hint, .camera-error { position: absolute; left: 16px; right: 16px; text-align: center; padding: 10px 12px; border-radius: 12px; background: rgba(10, 14, 23, 0.78); } .camera-hint { bottom: 18px; } .camera-error { top: 18px; color: #ffd7df; } .camera-placeholder { width: 100%; min-height: 380px; display: grid; place-items: center; color: #c8d6f9; background: radial-gradient(circle at 20% 10%, rgba(83, 216, 251, 0.16), transparent 48%), linear-gradient(180deg, #0a1220, #070d17); } .checkbox-row { display: flex; align-items: center; gap: 10px; } .key-card { padding: 12px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); } .list-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 11px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); cursor: pointer; } .avatar { width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 auto; aspect-ratio: 1 / 1; border-radius: 50%; background: linear-gradient(130deg, #3c4f73, #243352); display: grid; place-items: center; font-weight: 700; color: #e5ebff; } .avatar.large { width: 82px; height: 82px; font-size: 26px; } .avatar-image { position: relative; overflow: hidden; display: grid; place-items: center; } .avatar-image > .avatar-fallback, .avatar-image > img { grid-area: 1 / 1; } .avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; opacity: 1; transition: opacity 120ms ease; } .avatar-image img, .profile-avatar img, .node-dot img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; display: block; opacity: 0; transition: opacity 120ms ease; } .avatar-image.has-image img { opacity: 1; } .avatar-image.has-image .avatar-fallback { opacity: 0; visibility: hidden; } .meta-muted { color: var(--text-muted); font-size: 13px; } .session-status { color: var(--text-muted); font-size: 13px; } .session-status--online { color: #3dbb72; } .unread { min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: #08212a; font-size: 12px; font-weight: 700; padding: 0 6px; } .toolbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 8px; background: rgba(20, 28, 44, 0.95); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; backdrop-filter: blur(8px); } .toolbar-btn { border: 0; border-radius: 12px; background: transparent; color: var(--text-muted); padding: 8px 4px; cursor: pointer; display: grid; justify-items: center; gap: 4px; font-size: 11px; } .toolbar-label-wrap { display: grid; justify-items: center; line-height: 1.05; } .toolbar-btn-profile { position: relative; } .toolbar-btn-messages { position: relative; } .toolbar-unread-badge { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; border-radius: 999px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; background: #f07f8a; color: #fff2f4; border: 1px solid rgba(255, 222, 227, 0.55); box-shadow: 0 4px 10px rgba(152, 36, 52, 0.35); font-size: 10px; font-weight: 700; line-height: 1; pointer-events: none; } .toolbar-btn-profile .toolbar-label-wrap { padding-bottom: 10px; } .toolbar-connection-indicator { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; min-height: 9px; } .toolbar-connection-text { font-size: 8px; letter-spacing: 0.02em; text-transform: lowercase; color: rgba(191, 213, 255, 0.8); opacity: 0; transition: opacity 0.2s ease; } .toolbar-connection-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(148, 162, 195, 0.65); box-shadow: 0 0 0 2px rgba(97, 116, 156, 0.25); transition: 0.2s ease; } .toolbar-connection-indicator.is-connected .toolbar-connection-text { opacity: 1; color: rgba(145, 255, 192, 0.9); } .toolbar-connection-indicator.is-connected .toolbar-connection-dot { background: #71e9a5; box-shadow: 0 0 0 2px rgba(72, 201, 134, 0.28); } .toolbar-connection-indicator.is-connecting .toolbar-connection-dot { background: #f0c56b; box-shadow: 0 0 0 2px rgba(240, 197, 107, 0.22); } .toolbar-connection-indicator.is-disconnected .toolbar-connection-dot { background: #e48792; box-shadow: 0 0 0 2px rgba(228, 135, 146, 0.24); } .toolbar-btn.active { background: rgba(83, 216, 251, 0.14); color: var(--text); } .page-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 10px; padding: 8px 10px; color: #c5d2f4; background: rgba(17, 24, 39, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); } .page-label.is-collapsed { width: fit-content; padding: 6px; } .page-label-content { min-width: 0; } .page-label-hint { margin-bottom: 3px; color: #8ea2cd; font-size: 10px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; } .page-label-caption { font-size: 12px; line-height: 1.2; } .page-label-toggle { width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 4px; background: rgba(255, 255, 255, 0.06); cursor: pointer; } .page-label-toggle:hover { border-color: rgba(83, 216, 251, 0.5); background: rgba(83, 216, 251, 0.16); } .chat-wrap { display: grid; grid-template-rows: 1fr auto; gap: 10px; min-height: calc(100dvh - 210px); } .messages-log { display: grid; gap: 8px; align-content: start; } .chat-unread-separator { display: flex; align-items: center; gap: 10px; margin: 8px 0; color: #9ab0de; font-size: 12px; } .chat-unread-separator::before, .chat-unread-separator::after { content: ''; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(126, 150, 199, 0.12), rgba(126, 150, 199, 0.45), rgba(126, 150, 199, 0.12)); } .chat-unread-separator > span { white-space: nowrap; } .bubble { max-width: 76%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.35; } .bubble-text { white-space: pre-wrap; word-break: break-word; } .bubble-meta { margin-top: 4px; display: flex; justify-content: flex-end; align-items: center; gap: 5px; font-size: 9px; line-height: 1.1; color: rgba(198, 214, 247, 0.78); } .bubble-meta-edited { margin-top: 3px; justify-content: flex-end; color: rgba(235, 208, 137, 0.88); } .bubble-time { letter-spacing: 0.01em; } .bubble-status { min-width: 14px; text-align: right; color: rgba(215, 230, 255, 0.92); } .bubble.in { justify-self: start; background: #1f2c46; border-top-left-radius: 6px; } .bubble.out { justify-self: end; background: #273f63; border-top-right-radius: 6px; } .bubble.call-tech { max-width: 90%; justify-self: center; border-radius: 10px; border: 1px solid rgba(131, 162, 223, 0.32); background: rgba(40, 55, 84, 0.55); color: #dce8ff; font-size: 12px; } .chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .call-overlay[hidden] { display: none; } .call-overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(6, 10, 16, 0.55); backdrop-filter: blur(4px); } .call-overlay-panel { width: min(520px, 100%); border-radius: 18px; padding: 16px; border: 1px solid rgba(112, 146, 214, 0.38); background: linear-gradient(180deg, rgba(15, 27, 51, 0.96), rgba(8, 15, 31, 0.98)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.46); display: grid; gap: 10px; } .call-overlay-title { margin: 0; font-size: 20px; color: #eff4ff; } .call-overlay-status { color: #c8d7f6; font-size: 14px; } .call-overlay-controls { display: flex; flex-wrap: wrap; gap: 8px; } .call-accept-btn { border: 1px solid rgba(122, 230, 166, 0.64); border-radius: var(--radius-sm); background: linear-gradient(120deg, rgba(98, 210, 146, 0.95), rgba(61, 164, 108, 0.94)); color: #052113; padding: 9px 12px; min-height: 38px; font-weight: 700; cursor: pointer; transition: 0.2s ease; } .call-accept-btn:hover { border-color: rgba(156, 246, 194, 0.88); transform: translateY(-1px); } .call-accept-btn:disabled { opacity: 1; color: #93a6cc; background: linear-gradient(180deg, rgba(18, 30, 54, 0.8), rgba(11, 20, 39, 0.86)); border-color: rgba(124, 145, 189, 0.28); box-shadow: none; cursor: not-allowed; transform: none; } .pwa-diag-list { gap: 8px; } .pwa-diag-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 10px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(143, 167, 215, 0.18); background: rgba(14, 24, 45, 0.42); } .pwa-diag-key { color: #cdd9f2; font-size: 13px; } .pwa-diag-value { color: #edf3ff; font-size: 13px; text-align: right; word-break: break-word; } .pwa-diag-indicator { width: 10px; height: 10px; border-radius: 50%; background: #64708a; } .pwa-diag-indicator.is-ok { background: #66d69a; box-shadow: 0 0 0 3px rgba(102, 214, 154, 0.18); } .pwa-diag-indicator.is-warn { background: #f0c56b; box-shadow: 0 0 0 3px rgba(240, 197, 107, 0.18); } .pwa-diag-indicator.is-bad { background: #e48792; box-shadow: 0 0 0 3px rgba(228, 135, 146, 0.18); } .pwa-diag-indicator.is-neutral { background: #8994ab; } .pwa-diag-actions { display: grid; grid-template-columns: 1fr; gap: 8px; } .pwa-diag-recommendations { gap: 6px; } .pwa-diag-json { margin: 0; max-height: 260px; overflow: auto; border-radius: 10px; padding: 10px; font-size: 12px; line-height: 1.35; color: #dfe9ff; background: rgba(8, 15, 28, 0.82); border: 1px solid rgba(134, 157, 205, 0.2); } .settings-developer-card { margin-top: 4px; } .settings-developer-panel { margin-top: 2px; padding-top: 8px; border-top: 1px solid rgba(132, 157, 206, 0.22); } .settings-dev-avatar-modal-card { max-width: 520px; } .settings-dev-avatar-meta { min-height: 18px; font-size: 13px; color: #d9e7ff; } .settings-dev-avatar-error { min-height: 18px; color: #f0a9b3; } .settings-dev-avatar-result { gap: 8px; } .contact-search-actions { display: grid; grid-template-columns: 1fr; gap: 8px; } .input { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.04); min-height: 40px; padding: 0 12px; width: 100%; outline: none; color: #f3f7ff; font-size: 16px; line-height: 1.4; caret-color: #f1d18a; -webkit-text-fill-color: #f3f7ff; } .input:focus { border-color: rgba(83, 216, 251, 0.55); box-shadow: 0 0 0 3px rgba(83, 216, 251, 0.12); } .input::placeholder { color: rgba(190, 206, 238, 0.82); } input.input:-webkit-autofill, input.input:-webkit-autofill:hover, input.input:-webkit-autofill:focus, textarea.input:-webkit-autofill, textarea.input:-webkit-autofill:hover, textarea.input:-webkit-autofill:focus { -webkit-text-fill-color: #f3f7ff !important; caret-color: #f1d18a; border-color: var(--line); box-shadow: 0 0 0 1000px rgba(11, 24, 46, 0.96) inset !important; transition: background-color 9999s ease-out 0s; } textarea.input { padding: 10px 12px; min-height: 92px; resize: vertical; } .modal-title { font-size: 19px; line-height: 1.2; color: #f1d69a; } .inline-error { min-height: 18px; } .form-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .modal-danger-action { width: 100%; } .small-btn { padding: 6px 10px; font-size: 13px; } .session-item { width: 100%; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.03); color: inherit; padding: 10px; cursor: pointer; } .session-item:hover { border-color: rgba(83, 216, 251, 0.4); } .session-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .session-tab { border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.03); color: var(--text-muted); min-height: 36px; padding: 6px 8px; cursor: pointer; } .session-tab.is-active { color: var(--text); border-color: rgba(83, 216, 251, 0.45); background: rgba(83, 216, 251, 0.15); } .session-current-badge { display: inline-flex; margin-top: 8px; padding: 4px 9px; border-radius: 999px; font-size: 12px; color: #d7ffe3; border: 1px solid rgba(132, 244, 161, 0.36); background: rgba(132, 244, 161, 0.1); } .key-value { font-family: "IBM Plex Mono", "Fira Code", monospace; font-size: 13px; line-height: 1.35; word-break: break-all; color: #dce7ff; } .key-value--compact { font-size: 11px; line-height: 1.25; } .key-input { font-family: "IBM Plex Mono", "Fira Code", monospace; font-size: 12px; letter-spacing: 0; } .key-toggle-btn { width: 36px; height: 36px; min-height: 36px; min-width: 36px; padding: 0; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; } .key-toggle-icon { width: 18px; height: 18px; display: block; } .qr-demo { width: 64px; height: 64px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.85); background: linear-gradient( 90deg, #f6fbff 0 8px, #0f1524 8px 16px, #f6fbff 16px 24px, #0f1524 24px 32px, #f6fbff 32px 40px, #0f1524 40px 48px, #f6fbff 48px 56px, #0f1524 56px 64px ); } .qr-image { width: 64px; height: 64px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.22); background: #fff; } .modal-shell[hidden] { display: none; } .modal-shell { position: fixed; inset: 0; z-index: 24; } .modal-backdrop { position: absolute; inset: 0; background: rgba(5, 9, 16, 0.74); backdrop-filter: blur(4px); } .modal-dialog { position: absolute; left: 16px; right: 16px; bottom: 24px; display: grid; gap: 12px; box-shadow: var(--shadow); } .network-board { position: relative; height: 290px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); background: radial-gradient(circle at center, rgba(83, 216, 251, 0.08), rgba(255, 255, 255, 0.01)); overflow: hidden; } .network-screen { position: relative; margin: -14px -14px -24px; min-height: calc(100dvh - 74px); } .network-stage { position: relative; height: calc(100dvh - 74px); overflow: hidden; } .network-board--full { position: absolute; inset: 0; min-height: 0; height: 100%; border-radius: 0; } .network-header-overlay { position: sticky; top: max(8px, env(safe-area-inset-top)); left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); margin-bottom: 0; z-index: 12; pointer-events: none; } .network-header-overlay.page-header { margin-bottom: 0; gap: 6px; } .network-header-overlay .header-left, .network-header-overlay .header-actions { min-width: 0; gap: 6px; } .network-header-overlay .icon-btn { pointer-events: auto; min-height: 30px; padding: 5px 8px; font-size: 11px; border-radius: 10px; } .network-header-overlay .page-title { font-size: 16px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); } .network-header-overlay .icon-btn { background: rgba(10, 20, 37, 0.6); border-color: rgba(166, 196, 245, 0.32); backdrop-filter: blur(10px); } .network-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #bfd2ff; } .network-legend span { display: inline-flex; align-items: center; gap: 6px; } .legend-line, .legend-arrow { width: 18px; height: 2px; display: inline-block; border-radius: 2px; background: rgba(120, 179, 255, 0.95); position: relative; } .legend-line.relative { background: rgba(255, 159, 94, 0.95); } .legend-arrow::after { content: ''; position: absolute; right: -1px; top: -3px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid rgba(120, 179, 255, 0.95); } .network-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .network-link { stroke-width: 2; } .network-link.is-friend { stroke: rgba(120, 179, 255, 0.88); } .network-link.is-relative { stroke: rgba(255, 159, 94, 0.9); } .node { position: absolute; transform: translate(-50%, -50%); width: 126px; border: 0; background: transparent; padding: 0; text-align: center; color: inherit; cursor: pointer; z-index: 1; } .node-dot { position: relative; width: 52px; height: 52px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #2b3f66; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 8px 16px rgba(4, 8, 15, 0.35); } .node-badge-official { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); min-width: 26px; height: 18px; padding: 0 6px; border-radius: 999px; border: 1px solid rgba(255, 214, 130, 0.95); background: linear-gradient(180deg, rgba(255, 219, 145, 0.98), rgba(232, 165, 64, 0.98)); color: #3a2003; font-size: 10px; line-height: 16px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); z-index: 2; } .node.is-shine .node-dot::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(130, 235, 255, 0.62) 0%, rgba(130, 235, 255, 0.28) 42%, rgba(130, 235, 255, 0) 76%); filter: blur(2px); z-index: -1; } .node.is-shine .node-dot { box-shadow: 0 0 0 2px rgba(143, 231, 255, 0.5), 0 0 28px rgba(102, 220, 255, 0.58), 0 8px 16px rgba(4, 8, 15, 0.35); } .node.is-friend .node-dot { background: linear-gradient(165deg, #2f4f80, #2a3f62); } .node.is-relative .node-dot { background: linear-gradient(165deg, #785038, #5f3e2c); border-color: rgba(255, 194, 143, 0.55); } .node.center .node-dot { width: 60px; height: 60px; background: linear-gradient(130deg, #3a5f8e, #3dc4df); color: #061119; } .node-label { display: grid; gap: 1px; margin-top: 1px; font-size: 10px; color: #d6e2ff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); line-height: 1.12; } .node-label.is-login-only .node-name { display: none; } .node-name { display: grid; gap: 1px; color: #f2f6ff; } .node-name-line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .node-login { display: block; color: #c8dafd; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .node-relation { display: block; color: #ffd5b3; font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .network-search-candidate { width: 100%; justify-content: flex-start; } .network-search-candidate.is-selected { border-color: rgba(132, 209, 255, 0.78); background: rgba(65, 118, 191, 0.24); } .node:focus-visible .node-dot, .node:hover .node-dot { border-color: rgba(166, 218, 255, 0.92); box-shadow: 0 0 0 3px rgba(77, 160, 255, 0.2), 0 8px 16px rgba(4, 8, 15, 0.35); } .node-menu { position: absolute; z-index: 3; min-width: 240px; padding: 8px; } .node-menu-actions { display: grid; gap: 8px; } .user-relations-list { gap: 6px; } .user-rel-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 38px; padding: 6px 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(8, 14, 24, 0.34); color: #d8e3ff; font-size: 14px; } .user-rel-text { min-height: 1em; color: #dbe8ff; line-height: 1.3; } .user-rel-action { min-height: 32px; padding: 5px 10px; white-space: nowrap; } .user-rel-row.is-empty .user-rel-text { color: transparent; } .user-rel-opinions-wrap { display: grid; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 1px dashed rgba(131, 196, 255, 0.45); background: rgba(9, 18, 31, 0.42); } .user-rel-opinions-wrap.is-empty .user-rel-opinions-list { display: none; } .user-rel-opinions-list { display: grid; gap: 6px; } .user-rel-opinion-item { color: #d7e6ff; line-height: 1.35; font-size: 13px; } .user-rel-opinions-hint { color: rgba(173, 199, 236, 0.9); font-size: 12px; } .user-opinion-modal-btn { text-align: left; } .user-opinion-modal-btn.is-add { border-color: rgba(97, 170, 255, 0.7); color: #9fcbff; } .user-opinion-modal-btn.is-remove { border-color: rgba(255, 120, 120, 0.72); color: #ff9b9b; } .tabs { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 4px; background: rgba(255, 255, 255, 0.02); } .tab-btn { border: 0; background: transparent; border-radius: 9px; padding: 8px; color: var(--text-muted); cursor: pointer; } .tab-btn.active { background: rgba(83, 216, 251, 0.16); color: var(--text); } .modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.62); display: grid; place-items: center; padding: 20px; z-index: 20; } .modal-card { width: min(100%, 390px); background: #172238; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 14px; } .channels-screen .modal-card .input { background: linear-gradient(180deg, rgba(16, 31, 58, 0.9), rgba(11, 22, 43, 0.94)); } .section-title { font-size: 14px; font-weight: 700; color: #dbe7ff; margin: 4px 2px; } .channels-scroll-wrap { position: relative; max-height: 58vh; overflow-y: auto; padding-right: 12px; } .channels-groups { min-height: min-content; } .channels-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); margin: 6px 0 8px; } .channels-scroll-hint { position: absolute; top: 4px; right: 0; width: 4px; height: calc(100% - 8px); border-radius: 999px; background: linear-gradient(180deg, rgba(83, 216, 251, 0.55), rgba(83, 216, 251, 0.15)); pointer-events: none; } .toolbar { background: radial-gradient(circle at 18% -120%, rgba(228, 186, 94, 0.28), transparent 48%), linear-gradient(160deg, rgba(14, 25, 47, 0.98), rgba(7, 16, 34, 0.98)); border: 1px solid rgba(197, 160, 85, 0.38); box-shadow: 0 18px 32px rgba(2, 6, 13, 0.62); border-radius: 18px; padding: 9px; } .toolbar-btn { color: #b8c7ea; border-radius: 12px; min-height: 52px; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; } .toolbar-btn.active { background: linear-gradient(145deg, rgba(220, 181, 94, 0.32), rgba(39, 66, 122, 0.3)), rgba(20, 35, 64, 0.62); border: 1px solid rgba(220, 183, 100, 0.44); color: #f7e2ad; box-shadow: inset 0 1px 0 rgba(255, 242, 204, 0.42); } .toolbar-btn:active { transform: translateY(1px); } .modal-card { background: linear-gradient(165deg, rgba(16, 31, 58, 0.97), rgba(10, 18, 36, 0.97)); border-color: rgba(216, 179, 93, 0.4); box-shadow: 0 20px 38px rgba(2, 6, 12, 0.55); } .channels-screen { position: relative; gap: 11px; isolation: isolate; } .channels-screen::before { content: ""; position: absolute; inset: -24px -18px 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 16% -4%, rgba(232, 191, 92, 0.22), transparent 40%), radial-gradient(circle at 80% 6%, rgba(77, 114, 189, 0.35), transparent 39%), radial-gradient(circle at 52% 22%, rgba(13, 33, 70, 0.54), transparent 44%), linear-gradient(180deg, rgba(4, 11, 24, 0.92), rgba(4, 11, 23, 0.4) 46%, transparent 100%); } .channels-screen.channels-screen--channel::before { background: radial-gradient(circle at 14% 16%, rgba(82, 73, 184, 0.2), transparent 44%), radial-gradient(circle at 86% 8%, rgba(57, 89, 161, 0.22), transparent 46%), radial-gradient(circle at 54% 84%, rgba(64, 47, 138, 0.15), transparent 42%), linear-gradient(180deg, #0a0b10 0%, #0a0b10 62%, rgba(10, 11, 16, 0.92) 100%); } .channels-screen .page-header { margin-bottom: 0; align-items: flex-end; position: sticky; top: calc(-1 * max(10px, env(safe-area-inset-top))); z-index: 14; padding: calc(max(10px, env(safe-area-inset-top)) + 2px) 0 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: rgba(8, 12, 20, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .channels-screen .page-header .icon-btn, .channels-screen .page-header .text-btn { background: linear-gradient(180deg, rgba(20, 37, 67, 0.9), rgba(13, 24, 47, 0.94)); border-color: rgba(146, 173, 229, 0.38); color: #d9e6ff; } .channels-screen .page-title { font-size: 29px; line-height: 1.05; font-family: "Cormorant Garamond", "Times New Roman", serif; letter-spacing: 0.01em; color: #f5db9e; text-shadow: 0 10px 20px rgba(0, 0, 0, 0.48); } .channels-screen--list .page-title { font-size: 37px; line-height: 0.95; } .channels-screen .card { background: linear-gradient(168deg, rgba(16, 31, 58, 0.95), rgba(8, 17, 34, 0.98)), radial-gradient(circle at 50% 0%, rgba(53, 90, 165, 0.2), transparent 52%); border: 1px solid rgba(176, 144, 74, 0.3); box-shadow: 0 14px 30px rgba(2, 7, 15, 0.54); } .channels-screen .meta-muted { color: #c3cfea; } .channels-screen .status-line.is-unavailable { color: #ffd9e1; } .channels-hero { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; border-color: rgba(214, 177, 95, 0.42); box-shadow: 0 14px 30px rgba(4, 9, 20, 0.54); } .channels-hero-emblem { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(220, 182, 98, 0.64); background: radial-gradient(circle at 45% 40%, rgba(247, 217, 145, 0.9), rgba(199, 146, 61, 0.95) 46%, rgba(127, 88, 36, 0.96) 100%); box-shadow: inset 0 0 0 5px rgba(20, 38, 74, 0.76), 0 10px 20px rgba(3, 7, 16, 0.52); } .channels-hero-emblem::before, .channels-hero-emblem::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px solid rgba(27, 47, 85, 0.74); } .channels-hero-emblem::after { inset: 7px; border-width: 1px; border-color: rgba(228, 192, 109, 0.66); } .channels-hero-copy { min-width: 0; display: grid; gap: 2px; } .channels-hero-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #e8cc8f; } .channels-hero-title { font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: 26px; line-height: 1; color: #f4ddab; } .channels-hero-subtitle { color: #afc1e3; font-size: 12px; line-height: 1.35; } .channels-user-chip { display: flex; align-items: center; gap: 9px; color: #e9f0ff; min-height: 46px; font-size: 15px; } .channels-user-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ddb86f; box-shadow: 0 0 0 6px rgba(221, 184, 111, 0.2); } .channels-help-card strong { font-size: 17px; color: #f3d79c; font-family: "Cormorant Garamond", "Times New Roman", serif; } .channels-help-card .meta-muted { line-height: 1.34; font-size: 13px; } .channels-help-card { gap: 6px; padding-top: 12px; padding-bottom: 12px; } .channels-info-strip { border-radius: 14px; padding: 10px 13px; color: #ead3a0; border: 1px solid rgba(214, 175, 89, 0.4); background: linear-gradient(134deg, rgba(180, 140, 62, 0.22), rgba(23, 44, 84, 0.3)); font-size: 12px; line-height: 1.35; } .channels-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .channels-action-btn { min-height: 50px; border-radius: 999px; text-align: center; line-height: 1.25; padding: 9px 10px; font-weight: 700; letter-spacing: 0.01em; font-size: 13px; } .channels-action-btn.primary-btn { box-shadow: inset 0 1px 0 rgba(255, 247, 214, 0.6), 0 10px 18px rgba(5, 8, 16, 0.46); } .channels-action-btn.destructive-btn { border-color: rgba(248, 141, 163, 0.5); background: linear-gradient(120deg, rgba(126, 31, 52, 0.94), rgba(88, 22, 37, 0.95)); box-shadow: inset 0 1px 0 rgba(171, 198, 255, 0.26), 0 9px 16px rgba(5, 8, 16, 0.36); } .channels-scroll-wrap { max-height: none; padding-right: 8px; } .channels-groups { gap: 11px; justify-items: start; } .channels-section { gap: 8px; } .channels-section .section-title { font-size: 21px; color: #f2d395; margin: 0 2px; font-family: "Cormorant Garamond", "Times New Roman", serif; letter-spacing: 0.01em; } .channels-list-empty { border: 1px dashed rgba(209, 172, 87, 0.35); border-radius: var(--radius-md); padding: 12px; color: #aeb9d8; background: rgba(10, 18, 36, 0.5); } .channels-divider { border-top-color: rgba(211, 170, 86, 0.22); margin: 2px 0; } .channel-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 72px; gap: 12px; padding: 14px 13px; width: min(100%, 340px); border-radius: 16px; border: 1px solid rgba(193, 157, 82, 0.28); background: linear-gradient(150deg, rgba(16, 31, 58, 0.9), rgba(10, 20, 40, 0.94)), radial-gradient(circle at 100% 0%, rgba(72, 106, 179, 0.22), transparent 46%); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; backdrop-filter: blur(10px); } .channel-row:hover { border-color: rgba(224, 188, 106, 0.52); box-shadow: 0 10px 22px rgba(2, 8, 16, 0.44); transform: translateY(-1px); } .channel-row .avatar { width: 42px; height: 42px; min-width: 42px; min-height: 42px; background: linear-gradient(138deg, #efd193, #c18c42); color: #17233f; box-shadow: inset 0 1px 0 rgba(255, 244, 208, 0.58); } .channel-row-main { min-width: 0; display: grid; gap: 4px; } .channel-row-title { font-size: 18px; color: #f5daa0; line-height: 1.2; letter-spacing: 0.01em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .channel-row-description { font-size: 11px; color: #9db0dc; word-break: break-word; opacity: 0.95; } .channel-row-message { color: #e5eeff; font-size: 14px; line-height: 1.35; word-break: break-word; min-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .channel-row-owner { font-size: 12px; color: #bdcdeb; } .channel-counter-meta, .channel-counter-value { opacity: 0; transform: translateY(3px); transition: opacity 0.22s ease, transform 0.22s ease; } .channel-row.is-counters-visible .channel-counter-meta, .channel-row.is-counters-visible .channel-counter-value { opacity: 1; transform: translateY(0); } .channel-row-meta { display: grid; justify-items: center; align-content: start; gap: 6px; } .channel-row-kind { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(205, 166, 86, 0.42); color: #f1d49a; background: rgba(191, 149, 66, 0.16); } .channel-row-time { font-size: 11px; color: #96a7ce; } .channel-row-count { min-width: 28px; justify-content: center; background: linear-gradient(140deg, rgba(223, 186, 98, 0.95), rgba(199, 155, 75, 0.95)); color: #17203a; } .channels-bottom-action { margin-top: 6px; min-height: 48px; border-radius: 13px; font-size: 14px; } .channels-status { border-color: rgba(227, 127, 144, 0.45); background: linear-gradient(165deg, rgba(68, 24, 36, 0.55), rgba(19, 17, 33, 0.82)); } .channel-head-card { display: grid; gap: 6px; } .channel-head-actions { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; } .channel-head-title { font-size: 24px; color: #f0d089; line-height: 1.1; font-family: "Cormorant Garamond", "Times New Roman", serif; } .channel-head-meta { font-size: 13px; color: #aebddd; } .channel-note { font-size: 13px; color: #e8d8b0; line-height: 1.4; } .channel-feed { gap: 10px; } .channels-screen .channel-message-card { gap: 14px; padding: 20px; margin-bottom: 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(20, 25, 35, 0.55); backdrop-filter: blur(24px); box-shadow: 0 0 60px rgba(80, 60, 180, 0.15); } .channel-message-top { display: flex; align-items: center; gap: 12px; } .channel-message-author-tile { appearance: none; -webkit-appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(19, 24, 33, 0.9); color: #f5f8ff; text-align: left; cursor: pointer; min-height: 0; } .channel-message-author-tile:hover { background: rgba(28, 35, 48, 0.94); } .channel-message-avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #f4f6ff; background: radial-gradient(circle at 30% 30%, #8a73ff, #4f4bda 58%, #3b2b89); } .channel-message-avatar.avatar-image { display: grid; place-items: center; } .channel-message-author { display: grid; gap: 4px; min-width: 0; } .channel-message-title { font-size: 15px; color: #f5f8ff; } .channel-message-body { color: #ffffff; line-height: 1.5; font-size: 15px; white-space: pre-wrap; word-break: break-word; margin: 0; padding: 0; background: transparent; border: 0; } .channel-message-body--deleted { color: #ff9e9e; border: 1px solid rgba(255, 126, 126, 0.5); background: rgba(120, 18, 18, 0.28); border-radius: 10px; padding: 8px 10px; } .channel-message-time { font-size: 11px; color: rgba(255, 255, 255, 0.48); } .channel-message-views { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, 0.58); } .channel-message-stats.is-hidden, .thread-node-stats.is-hidden { opacity: 0; max-height: 0; overflow: hidden; margin: 0; } .channel-message-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); } .channel-message-actions::-webkit-scrollbar { width: 0; height: 0; display: none; } .channel-action-item { appearance: none; border: 0; background: transparent; min-height: 0; padding: 0; margin: 0; display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, 0.55); cursor: pointer; transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease; white-space: nowrap; } .channel-action-item:disabled { opacity: 0.56; cursor: not-allowed; } .channel-action-item:focus-visible { outline: none; color: rgba(255, 220, 100, 0.9); } .channel-action-item:hover, .channel-action-item.is-liked, .channel-action-item.is-long-press { color: rgba(255, 220, 100, 0.9); text-shadow: 0 0 12px rgba(255, 220, 100, 0.25); } .channel-action-icon { font-size: 14px; line-height: 1; } .channel-action-label { font-size: 12px; line-height: 1; letter-spacing: 0.01em; } .message-edited-marker { appearance: none; border: none; background: transparent; color: rgba(255, 220, 100, 0.85); font-size: 11px; line-height: 1; padding: 0; margin-left: 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } .message-edited-marker:hover, .message-edited-marker:focus-visible { color: rgba(255, 232, 150, 0.95); } .channel-action-counter { font-size: 11px; color: rgba(255, 255, 255, 0.45); opacity: 0; max-width: 0; overflow: hidden; transform: translateX(-3px); transition: opacity 0.2s ease, max-width 0.2s ease, transform 0.2s ease, margin-left 0.2s ease; } .channels-screen .channel-message-card.is-counters-visible .channel-action-counter { opacity: 1; max-width: 40px; margin-left: 2px; transform: translateX(0); } .thread-summary { color: #efd9a4; border-color: rgba(212, 171, 90, 0.36); background: linear-gradient(130deg, rgba(178, 137, 58, 0.2), rgba(24, 41, 74, 0.24)); } .thread-node-card { gap: 9px; border-radius: 16px; border-color: rgba(183, 150, 79, 0.3); backdrop-filter: blur(12px); } .channel-header-route-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -66%) !important; max-width: 72vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; min-height: 40px; border-radius: 10px; text-align: center; } .channels-screen .page-header .channel-header-route-btn:hover, .channels-screen .page-header .channel-header-route-btn:focus-visible { transform: translate(-50%, -66%) !important; } .channels-screen .page-header .channel-header-route-btn:active, .channels-screen .page-header .channel-header-route-btn.is-springing { transform: translate(-50%, -66%) !important; } .thread-node-heading { color: #f1dcab; font-size: 15px; } .thread-node-meta { color: #aebddd; font-size: 12px; } .thread-node-body { color: #eef3ff; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; border-radius: 10px; padding: 8px 10px; background: linear-gradient(170deg, rgba(22, 40, 73, 0.72), rgba(12, 25, 48, 0.78)); border: 1px solid rgba(116, 141, 193, 0.24); } .thread-node-stats { color: #99acd6; font-size: 12px; } .thread-node-views { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, 0.58); } .thread-node-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .channels-screen--thread .thread-node-actions { display: flex !important; grid-template-columns: none !important; } .thread-node-level { --depth: 0; margin-left: calc(var(--depth) * 12px); } .thread-block { gap: 8px; border-radius: 15px; padding: 8px; border: 1px solid rgba(151, 174, 221, 0.2); background: linear-gradient(160deg, rgba(10, 21, 43, 0.72), rgba(8, 16, 31, 0.78)); } .channels-screen--thread .thread-node-card { padding: 14px; margin-bottom: 10px; } .thread-history-divider { height: 0; border-top: 2px solid rgba(255, 255, 255, 0.26); margin: 6px 0 10px; } .thread-block--ancestors > .section-title { color: #b9cbef; } .thread-block--ancestors { border-color: rgba(141, 166, 214, 0.26); background: linear-gradient(160deg, rgba(12, 28, 56, 0.73), rgba(7, 15, 32, 0.78)); } .thread-block--focus > .section-title { color: #f0d9a4; } .thread-block--focus { border-color: rgba(214, 177, 95, 0.34); background: linear-gradient(160deg, rgba(33, 44, 72, 0.68), rgba(12, 20, 36, 0.8)); } .thread-block--replies > .section-title { color: #c8d6f5; } .thread-block--replies { border-color: rgba(161, 186, 233, 0.24); } .channel-main-action { min-height: 48px; border-radius: 13px; } .channel-back-btn { min-height: 44px; } .channel-action-like.is-liked, .thread-like-btn.is-liked { color: rgba(255, 220, 100, 0.9); } .channel-action-like, .thread-like-btn { transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; } .channel-action-like.is-long-press, .thread-like-btn.is-long-press { transform: scale(0.96); filter: brightness(1.08) drop-shadow(0 0 8px rgba(255, 220, 100, 0.28)); box-shadow: none; } .channel-action-reply, .thread-reply-btn { color: rgba(255, 255, 255, 0.55); } .channel-action-thread { color: rgba(255, 255, 255, 0.55); } .channel-action-share, .thread-share-btn { color: rgba(255, 255, 255, 0.55); } .thread-open-btn { color: rgba(255, 255, 255, 0.62); } @media (max-width: 430px) { .channels-screen .page-title { font-size: 26px; } .channels-screen--list .page-title { font-size: 34px; } .channels-hero-title { font-size: 24px; } .channels-action-btn { min-height: 48px; font-size: 12px; } .channel-row { grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 10px; padding: 12px; } .channel-row .avatar { width: 38px; height: 38px; min-width: 38px; min-height: 38px; } .channel-row-title { font-size: 16px; } .channel-row-message { font-size: 13px; } .channel-message-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .thread-node-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 365px) { .channels-screen .page-title { font-size: 24px; } .channels-action-grid { grid-template-columns: 1fr; } .channel-message-actions { grid-template-columns: 1fr; } .thread-node-actions { grid-template-columns: 1fr; } } /* ===== Channels UX Stabilization ===== */ .toast-host { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 8px; z-index: 60; pointer-events: none; } .toast { min-width: min(88vw, 320px); max-width: min(92vw, 420px); border-radius: 14px; padding: 11px 14px; border: 1px solid rgba(223, 188, 110, 0.45); color: #f2dca8; background: rgba(10, 14, 23, 0.8); backdrop-filter: blur(12px); box-shadow: 0 16px 30px rgba(1, 6, 12, 0.55); opacity: 0; transform: translateY(8px); transition: opacity 0.22s ease, transform 0.22s ease; } .toast.is-visible { opacity: 1; transform: translateY(0); } .toast.is-hiding { opacity: 0; transform: translateY(8px); } .toast.toast--error { color: #ffd8e0; border-color: rgba(234, 122, 150, 0.45); } .skeleton-card { display: grid; gap: 8px; } .skeleton-line { height: 10px; border-radius: 999px; background: linear-gradient(100deg, rgba(180, 151, 80, 0.16), rgba(228, 192, 109, 0.45), rgba(180, 151, 80, 0.16)); background-size: 220% 100%; animation: channels-shimmer 1.2s linear infinite; } .skeleton-line.w-40 { width: 40%; } .skeleton-line.w-70 { width: 70%; } .skeleton-line.w-90 { width: 90%; } @keyframes channels-shimmer { 0% { background-position: 210% 0; } 100% { background-position: -10% 0; } } .channels-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px; border-radius: 14px; border: 1px solid rgba(188, 152, 79, 0.34); background: linear-gradient(165deg, rgba(12, 24, 46, 0.92), rgba(9, 17, 34, 0.96)); } .channels-top-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; } .channels-top-left { display: flex; align-items: center; gap: 8px; min-width: 0; } .channels-top-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; } .channels-top-title { font-size: 16px; line-height: 1.2; color: rgba(255, 255, 255, 0.9); white-space: nowrap; } .channels-top-switch-btn { min-height: 36px; white-space: nowrap; } .channels-top-back-btn, .channels-top-add-btn, .channels-top-search-btn { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; } .channels-top-action-btn { min-height: 38px; padding: 8px 12px; white-space: nowrap; } .channels-tab-btn { min-height: 38px; border-radius: 10px; border: 1px solid rgba(122, 151, 210, 0.26); background: rgba(18, 33, 62, 0.55); color: #b8c9ec; font-weight: 600; cursor: pointer; } .channels-tab-btn.is-active { border-color: rgba(218, 183, 100, 0.48); color: #f4d99e; background: linear-gradient(160deg, rgba(193, 154, 76, 0.22), rgba(18, 33, 62, 0.64)); } .channels-empty-state { border: 1px dashed rgba(199, 164, 90, 0.36); border-radius: 14px; padding: 16px; display: grid; gap: 10px; color: #b7c6e8; background: rgba(10, 18, 34, 0.52); } .channels-empty-state--compact { border: 0; background: transparent; border-radius: 0; padding: 4px 2px; gap: 6px; } .channels-empty-icon { font-size: 20px; color: #d9b56d; } .channel-row { position: relative; grid-template-columns: 46px minmax(0, 1fr) auto; } .channel-row-main { padding-right: 6px; } .channel-row-description { display: none; } .channel-row-controls { display: grid; justify-items: end; align-content: start; gap: 6px; } .channel-menu-trigger { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(185, 154, 83, 0.42); background: rgba(14, 25, 48, 0.82); color: #efd9a4; cursor: pointer; font-size: 18px; line-height: 1; } .channel-menu-wrap { position: absolute; top: 52px; right: 12px; z-index: 25; width: min(240px, 70vw); border-radius: 14px; border: 1px solid rgba(206, 170, 90, 0.38); background: rgba(10, 14, 23, 0.8); backdrop-filter: blur(12px); box-shadow: 0 16px 32px rgba(1, 5, 12, 0.62); padding: 10px; display: grid; gap: 8px; } .channel-menu-item { border: 1px solid rgba(125, 154, 212, 0.34); border-radius: 10px; background: rgba(17, 31, 56, 0.72); color: #e6efff; min-height: 36px; padding: 6px 10px; cursor: pointer; text-align: left; } .channel-menu-item.destructive { border-color: rgba(235, 120, 147, 0.46); color: #ffdfe7; background: rgba(84, 20, 38, 0.52); } .channel-menu-item:disabled { opacity: 0.68; cursor: not-allowed; } .channel-menu-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #d9e6ff; font-size: 13px; } .channel-toggle-btn { width: 48px; height: 28px; border-radius: 999px; border: 1px solid rgba(146, 171, 225, 0.45); background: rgba(27, 43, 75, 0.84); position: relative; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; } .channel-toggle-btn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d9e6ff; transition: transform 0.24s cubic-bezier(.2,.9,.3,1.15), background 0.2s ease; } .channel-toggle-btn.is-on { background: rgba(211, 173, 92, 0.34); border-color: rgba(219, 182, 101, 0.6); } .channel-toggle-btn.is-on::after { transform: translateX(20px); background: #f4dca6; } .channel-head-description { margin: 0; color: #c8d7f6; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .channel-head-description.is-expanded { -webkit-line-clamp: unset; display: block; } .channel-head-more { border: 0; background: transparent; color: #efcf8b; font-size: 12px; padding: 0; width: fit-content; cursor: pointer; } .author-line { display: inline-flex; align-items: center; gap: 6px; } .author-line-login { font-weight: 700; color: #f5f8ff; } .author-line-num { font-weight: 400; color: rgba(255, 255, 255, 0.44); } .channels-screen .channel-message-card.is-own-new, .thread-node-card.is-own-new { box-shadow: 0 0 52px rgba(88, 69, 176, 0.2), 0 12px 24px rgba(2, 8, 16, 0.46); } .is-springing { animation: spring-tap 0.28s ease; } @keyframes spring-tap { 0% { transform: scale(1); } 30% { transform: scale(0.95); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } } @media (max-width: 420px) { .channel-message-actions { grid-template-columns: 1fr; } .thread-node-actions { grid-template-columns: 1fr; } .channels-action-grid { grid-template-columns: 1fr; } } /* ===== Channels cleanup overrides ===== */ .screen-content.channels-scroll-clean { scrollbar-width: none; -ms-overflow-style: none; } .screen-content.channels-scroll-clean::-webkit-scrollbar { width: 0; height: 0; display: none; } .channels-tabs--sticky { position: sticky; top: 0; z-index: 8; backdrop-filter: blur(12px); } .channels-list-content { display: grid; gap: 10px; min-height: 0; } .channels-unread-divider { display: flex; align-items: center; justify-content: center; margin: 6px 0 2px; padding: 8px 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 220, 130, 0.9); font-size: 12px; letter-spacing: 0.03em; } .channels-unread-jump { position: fixed; right: 18px; bottom: 96px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.45); background: linear-gradient(160deg, rgba(16, 24, 38, 0.92), rgba(12, 18, 30, 0.86)); color: rgba(255, 227, 150, 0.95); box-shadow: 0 12px 26px rgba(3, 8, 18, 0.45), 0 0 20px rgba(212, 175, 55, 0.16); display: inline-flex; align-items: center; justify-content: center; z-index: 38; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .channels-unread-jump.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); } .channels-unread-jump:hover { box-shadow: 0 14px 30px rgba(3, 8, 18, 0.55), 0 0 24px rgba(212, 175, 55, 0.22); } .channels-unread-jump-icon { font-size: 18px; line-height: 1; } .channels-unread-jump-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: rgba(212, 175, 55, 0.95); color: #1f1702; font-size: 11px; font-weight: 700; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px rgba(10, 14, 24, 0.9); } .channels-list-body-fade { animation: channels-fade-in 0.2s ease; } @keyframes channels-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } .channels-menu-overlay { position: fixed; inset: 0; z-index: 45; background: transparent; } .channel-menu-wrap--portal { position: fixed; right: auto; top: auto; z-index: 46; } .channels-search-suggest { max-height: 172px; overflow-y: auto; border: 1px solid rgba(150, 174, 224, 0.3); border-radius: 12px; background: rgba(9, 18, 35, 0.94); padding: 6px; } .channel-search-item { width: 100%; text-align: left; border: 1px solid rgba(132, 162, 224, 0.28); border-radius: 9px; background: rgba(16, 30, 56, 0.78); color: #e5eeff; padding: 8px 10px; cursor: pointer; margin-bottom: 6px; } .channel-search-item:last-child { margin-bottom: 0; } .channel-search-item:hover { border-color: rgba(216, 178, 95, 0.52); color: #f3dca8; } /* ===== Final Glass Polish (channels) ===== */ .channels-screen { color: rgba(255, 255, 255, 0.9); } .channels-screen::before { background: radial-gradient(600px 600px at 100% 0%, rgba(100, 60, 200, 0.12), transparent 70%), radial-gradient(500px 500px at 0% 100%, rgba(40, 80, 200, 0.08), transparent 70%), linear-gradient(180deg, #0a0b10 0%, #0a0b10 100%); } .channels-screen .card, .channel-row, .thread-node-card, .thread-block, .thread-summary { background: rgba(20, 25, 35, 0.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 20px; box-shadow: 0 0 60px rgba(80, 60, 180, 0.15); } .channel-row, .channels-screen .channel-message-card, .thread-node-card { padding: 20px; margin-bottom: 16px; } .channels-screen .channel-message-card, .thread-node-card, .thread-block, .thread-summary, .channel-row { border-color: rgba(255, 255, 255, 0.07); } .channels-screen .channel-message-card, .thread-node-card { background: rgba(20, 25, 35, 0.55); } .channel-message-actions, .thread-node-actions { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); } .thread-node-actions .secondary-btn, .channel-action-item { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: rgba(255, 255, 255, 0.45); font-size: 12px; cursor: pointer; padding: 0; min-height: 0; white-space: nowrap; } .channel-action-like.is-liked, .thread-like-btn.is-liked { color: rgba(255, 200, 50, 0.9); } .channel-action-item:hover, .thread-node-actions .secondary-btn:hover { color: rgba(255, 200, 50, 0.9); } .channels-tabs { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); } .channels-tab-btn { background: transparent; border: none; border-bottom: 2px solid transparent; border-radius: 0; color: rgba(255, 255, 255, 0.4); } .channels-tab-btn.is-active { background: transparent; border-bottom-color: rgba(255, 200, 50, 0.9); color: rgba(255, 200, 50, 0.9); } .channel-row .avatar { width: 44px; height: 44px; min-width: 44px; min-height: 44px; color: #ffffff; font-weight: 700; } .channel-row-title { color: #ffffff; font-size: 15px; font-weight: 700; } .channel-row-message { color: rgba(255, 255, 255, 0.5); font-size: 13px; } .channel-row-time { color: rgba(255, 255, 255, 0.35); font-size: 12px; text-align: right; width: 100%; } .channel-menu-trigger { border: none; background: none; color: rgba(255, 255, 255, 0.4); } .channels-bottom-action, .primary-btn.channel-main-action { background: rgba(255, 180, 0, 0.12); border: 1px solid rgba(255, 180, 0, 0.35); color: rgba(255, 200, 50, 0.9); border-radius: 14px; padding: 14px; width: 100%; } .channel-head-card { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 6px !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } .channel-head-title, .channel-head-meta { line-height: 1.35; font-family: inherit; } .channel-head-title { color: rgba(255, 255, 255, 0.95); font-size: 22px; font-weight: 700; text-align: center; } .channel-head-meta { color: rgba(255, 255, 255, 0.4); font-size: 12px; font-weight: 500; text-align: center; } .channels-screen--thread .channels-user-chip { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 0 !important; color: rgba(255, 255, 255, 0.35); min-height: 0; font-size: 12px; } .channels-screen--thread .page-title { color: rgba(255, 255, 255, 0.95); font-weight: 700; } .channels-screen--channel .page-header .icon-btn, .channels-screen--thread .page-header .icon-btn { border: none; background: none; color: rgba(255, 255, 255, 0.9); box-shadow: none; transform: translateY(-40%); } .channels-screen--channel .page-header .channel-header-route-btn, .channels-screen--thread .page-header .channel-header-route-btn { border: 1px solid rgba(146, 173, 229, 0.38); background: linear-gradient(180deg, rgba(20, 37, 67, 0.9), rgba(13, 24, 47, 0.94)); color: #d9e6ff; } .channel-head-actions .secondary-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); border-radius: 12px; padding: 10px 16px; } .thread-block--replies > .section-title { color: rgba(255, 255, 255, 0.4); font-size: 12px; font-weight: 500; margin: 0 0 2px; } .channels-empty-state--compact .meta-muted { color: rgba(255, 255, 255, 0.4); text-align: center; font-style: italic; } #about-channel-modal.modal, #reply-modal.modal, #channel-message-modal.modal, #channel-edit-description-modal.modal, #channels-subscribe-modal.modal, #thread-reply-modal.modal { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } #about-channel-modal .modal-card, #reply-modal .modal-card, #channel-message-modal .modal-card, #channel-edit-description-modal .modal-card, #channels-subscribe-modal .modal-card, #thread-reply-modal .modal-card { background: rgba(15, 18, 30, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 180, 0, 0.2); border-radius: 20px; padding: 24px; } #about-channel-modal .modal-title, #reply-modal .modal-title, #channel-message-modal .modal-title, #channel-edit-description-modal .modal-title, #channels-subscribe-modal .modal-title, #thread-reply-modal .modal-title { color: rgba(255, 200, 50, 0.95); font-size: 18px; font-weight: 700; margin-bottom: 16px; } #about-channel-modal .input, #reply-modal .input, #channel-message-modal .input, #channel-edit-description-modal .input, #channels-subscribe-modal .input, #thread-reply-modal .input { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: #ffffff; padding: 12px 16px; font-size: 14px; resize: vertical; width: 100%; } #channel-edit-description-counter, #channel-edit-description-modal #channel-description-counter { color: rgba(255, 255, 255, 0.35); font-size: 12px; } #about-channel-modal .secondary-btn, #reply-modal .secondary-btn, #channel-message-modal .secondary-btn, #channel-edit-description-modal .secondary-btn, #channels-subscribe-modal .secondary-btn, #thread-reply-modal .secondary-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); border-radius: 12px; padding: 13px 24px; } #about-channel-modal .primary-btn, #reply-modal .primary-btn, #channel-message-modal .primary-btn, #channel-edit-description-modal .primary-btn, #channels-subscribe-modal .primary-btn, #thread-reply-modal .primary-btn { background: rgba(255, 180, 0, 0.15); border: 1px solid rgba(255, 180, 0, 0.4); color: rgba(255, 200, 50, 0.95); border-radius: 12px; padding: 13px 24px; font-weight: 600; } /* ===== Direct Messages Glass Theme (DM-only) ===== */ .dm-screen { position: relative; isolation: isolate; background: #05070A; color: rgba(255, 255, 255, 0.9); min-height: 100%; align-content: start; } .dm-screen::before { content: ""; position: absolute; inset: -12px -12px 0; z-index: -1; pointer-events: none; background: radial-gradient(260px 260px at 86% 10%, rgba(147, 112, 219, 0.25), transparent 72%), radial-gradient(220px 220px at 14% 84%, rgba(147, 112, 219, 0.2), transparent 72%), radial-gradient(220px 220px at 76% 68%, rgba(212, 175, 55, 0.16), transparent 75%), radial-gradient(190px 190px at 26% 20%, rgba(212, 175, 55, 0.12), transparent 74%), #05070A; animation: dm-orbs-drift 16s ease-in-out infinite alternate; } .screen-content .dm-screen { min-height: 100%; } @keyframes dm-orbs-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, -8px, 0) scale(1.02); } } .dm-screen .page-header { position: sticky; top: 0; z-index: 12; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(212, 175, 55, 0.24); background: rgba(10, 12, 18, 0.72); } .dm-screen .page-title { color: rgba(255, 255, 255, 0.95); } .dm-dialog-card { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 92px; /* карточки не ужимаем; тап-зона ≥44px */ padding: 14px 16px 14px 14px; border-radius: 26px; background: rgba(7, 10, 18, 0.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(140, 99, 255, 0.32); /* оконтовка = цвет линии связи; default = violet (контакт) */ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42); cursor: pointer; } .dm-dialog-card:focus-visible { outline: 2px solid var(--rel-link); outline-offset: 2px; } .dm-card--family { border-color: rgba(240, 184, 46, 0.42); } /* линия связи: gold (семья) */ .dm-card--shining { border-color: rgba(104, 216, 255, 0.45); } /* линия связи: cyan (сияющий) */ .dm-screen .list-item .avatar { width: 48px; height: 48px; min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.45); background: radial-gradient(circle at 26% 24%, rgba(196, 165, 255, 0.95), rgba(78, 87, 197, 0.9) 58%, rgba(36, 45, 121, 0.9)); color: #ffffff; font-weight: 700; } .dm-screen .list-item { align-items: stretch; } .dm-screen .meta-muted { color: rgba(255, 255, 255, 0.5); } /* ===== «Личные сообщения» v2 — списочная форма «Связей» ===== */ /* Токены-мост: НЕ придумываем цвета, наследуем канонический язык «Связей» (network-graph.css :root). */ .dm-screen { --dm-tone-default: var(--rel-contact); --dm-tone-family: var(--rel-family); --dm-tone-shining: var(--rel-shining); } /* DM-шапка через grid 1fr auto 1fr: бренд слева, title строго по центру, «+» справа. */ .dm-head { position: sticky; top: 0; z-index: 12; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 14px 0; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: linear-gradient(180deg, rgba(10,12,18,0.82), rgba(10,12,18,0.0)); } .dm-head-brand { display: flex; align-items: center; gap: 8px; min-width: 0; } .dm-head-hex { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #1a1205; background: linear-gradient(150deg, #F0B82E, #D49F22); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); box-shadow: 0 0 14px rgba(240, 184, 46, 0.35); } .dm-head-id { min-width: 0; display: grid; } .dm-head-name { font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dm-head-sub { font-size: 11px; color: rgba(244, 246, 255, 0.48); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dm-head-title { font-size: 18px; font-weight: 700; color: var(--text); white-space: nowrap; text-align: center; padding: 0 6px; } /* Центр шапки — светящийся бренд «Shine» */ .dm-head-shine { font-size: 21px; letter-spacing: 0.6px; color: #FCEAC0; text-shadow: 0 0 6px rgba(240, 184, 46, 0.55), 0 0 16px rgba(240, 184, 46, 0.38), 0 0 30px rgba(240, 184, 46, 0.20); animation: dm-shine-pulse 3.4s ease-in-out infinite; } @keyframes dm-shine-pulse { 0%, 100% { text-shadow: 0 0 5px rgba(240, 184, 46, 0.42), 0 0 12px rgba(240, 184, 46, 0.26), 0 0 22px rgba(240, 184, 46, 0.12); } 50% { text-shadow: 0 0 9px rgba(240, 184, 46, 0.68), 0 0 20px rgba(240, 184, 46, 0.46), 0 0 34px rgba(240, 184, 46, 0.26); } } @media (prefers-reduced-motion: reduce) { .dm-head-shine { animation: none; } } .dm-head-plus { justify-self: end; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; line-height: 1; font-weight: 300; color: #FFD98A; border: 1.5px solid rgba(240, 184, 46, 0.6); background: rgba(12, 12, 16, 0.66); box-shadow: 0 0 20px rgba(240, 184, 46, 0.32), 0 0 6px rgba(240, 184, 46, 0.28), inset 0 0 12px rgba(240, 184, 46, 0.12); cursor: pointer; } .dm-divider { position: relative; height: 18px; margin: 6px 14px 8px; } .dm-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 184, 46, 0.5), transparent); } .dm-divider::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%, -50%) rotate(45deg); background: var(--rel-family); box-shadow: 0 0 8px var(--rel-family-glow); } /* список: скролл внутри контента, карточки не ужимаем, отступ снизу под bottom nav (86px) + 16px */ .dm-list { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; padding-bottom: calc(86px + 16px); } /* текст карточки */ .dm-row-main { min-width: 0; } .dm-row-titleline { display: flex; align-items: center; gap: 6px; min-width: 0; } .dm-dialog-card .dm-row-title { font-size: 16px; font-weight: 600; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dm-dialog-card .dm-row-last-message { font-size: 14px; color: rgba(244, 246, 255, 0.48); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* галочка-подтверждён у имени (золотая, без слова «Подтверждён») */ .dm-name-check { display: inline-flex; flex: 0 0 auto; color: var(--rel-family); } .dm-name-check svg { width: 16px; height: 16px; } /* AvatarRing — обод/свечение по тону (адаптация орбов «Связей», без тяжёлой магии) */ .dm-av { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; position: relative; } .dm-av .avatar { width: 56px; height: 56px; min-width: 56px; min-height: 56px; border: none; box-shadow: none; } /* Цветные обводки вокруг аватаров (violet/gold) убраны по просьбе. Свечение оставляем только у сияющих (ниже). */ .dm-av--default { box-shadow: none; } .dm-av--family { box-shadow: none; } /* Сияющий аватар = АДАПТАЦИЯ сияющего узла экрана «Связи»: та же небесная палитра, тот же небесный rim, тот же двойной «дышащий» пульс. Переиспользуем ОБЩИЕ keyframes графа (fg-shine-glow — пульс box-shadow, fg-shine-halo — дыхание радиального ореола; объявлены в network-graph.css, грузится глобально), а не рисуем второй похожий эффект. Радиальный ореол повторяет стопы узла графа; SVG-фильтр #fg-shine-glow есть только на стр. «Связи», поэтому здесь мягкий CSS-blur. Мини-сфера компактная — не размывает текст/соседей. */ .dm-av--shining { border: 1px solid rgba(150, 240, 255, 0.62); animation: fg-shine-glow 3.6s ease-in-out infinite; } .dm-av--shining::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(140, 240, 255, 0.5) 0%, rgba(130, 235, 255, 0.18) 46%, rgba(130, 235, 255, 0) 72%); filter: blur(3.4px); /* = stdDeviation 3.4 SVG-фильтра #fg-shine-glow графа; геометрия inset −12px тоже как у узла (58px↔56px, scale≈1) */ animation: fg-shine-halo 3.6s ease-in-out infinite; } @media (prefers-reduced-motion: reduce) { .dm-av--shining { animation: none; } .dm-av--shining::before { animation: none; } } /* правая зона: один статус сверху, ниже [unread + chevron] */ /* правая зона: один горизонтальный ряд [статус][unread][chevron] на общей оси */ .dm-dialog-card .dm-row-meta { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; } .dm-dialog-card .dm-row-meta .dm-chevron { margin-left: 4px; } /* отступ бейдж→chevron ≈ 12px */ /* непрочитанные — отдельная violet-сфера (НЕ изумруд) */ .dm-unread-badge { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text); background: rgba(140, 99, 255, 0.16); border: 1px solid rgba(140, 99, 255, 0.55); } .dm-chevron { display: inline-flex; color: rgba(244, 246, 255, 0.32); } .dm-chevron svg { width: 16px; height: 16px; } /* Значок «связь через кого» — ТОЛЬКО иконка (кликабельная); детали пути в попапе ниже */ .dm-via { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border-radius: 8px; cursor: pointer; color: var(--rel-link); border: 1px solid rgba(25, 229, 138, 0.5); background: rgba(25, 229, 138, 0.08); } .dm-via-icon { display: inline-flex; } .dm-via-icon svg { width: 14px; height: 14px; } /* попап пути связи: Ты → …посредники… → он; узлы = аватар+имя, кликабельные → профиль */ .dm-via-path { display: none; position: absolute; left: 14px; right: 14px; top: 46px; z-index: 6; flex-wrap: wrap; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 12px; background: rgba(8, 12, 20, 0.97); border: 1px solid rgba(25, 229, 138, 0.35); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); } .dm-via-path.is-open { display: flex; } .dm-via-node { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 4px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text); font-size: 12px; cursor: default; } button.dm-via-node { cursor: pointer; } button.dm-via-node:hover { border-color: rgba(25, 229, 138, 0.5); } .dm-via-node-ava { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; } .dm-via-node-ava .avatar { width: 20px; height: 20px; min-width: 20px; min-height: 20px; border: none; box-shadow: none; } .dm-via-node-ava .avatar-fallback { font-size: 9px; font-weight: 700; } .dm-via-me { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(150deg, #F0B82E, #D49F22); color: #1a1205; font-size: 10px; font-weight: 700; } .dm-via-node-name { white-space: nowrap; } .dm-via-arrow { font-size: 12px; color: rgba(25, 229, 138, 0.8); } /* Горизонтальный overflow: орб-ореол .dm-screen::before выходит на 12px по бокам (inset -12px) и даёт лишний скролл. Фон НЕ меняем — клиппим overflow на уровне страницы (как просит ТЗ, п.4). */ html, body { overflow-x: hidden; } .dm-chat-wrap { gap: 12px; } .dm-messages-log { gap: 10px; } .dm-screen .bubble { max-width: 78%; padding: 11px 14px; line-height: 1.42; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32); } .dm-screen .bubble.in { justify-self: start; border-radius: 18px 18px 18px 4px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(20, 25, 35, 0.58); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .dm-screen .bubble.out { justify-self: end; border-radius: 18px 18px 4px 18px; border: 1px solid rgba(212, 175, 55, 0.38); background: rgba(212, 175, 55, 0.16); color: rgba(255, 236, 191, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } .dm-chat-input { gap: 10px; grid-template-columns: 1fr auto; align-items: end; position: sticky; bottom: 0; z-index: 10; padding: 10px; border-top: 1px solid rgba(212, 175, 55, 0.22); background: rgba(8, 12, 20, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } .dm-edit-banner { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.12); color: rgba(255, 233, 176, 0.96); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22); } .dm-edit-banner[hidden] { display: none; } .dm-edit-banner__text { min-width: 0; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dm-edit-banner__close { min-width: 30px; width: 30px; height: 30px; padding: 0; border-radius: 10px; } .dm-voice-btn { min-width: 42px; padding: 0 10px; } .dm-actions-col { display: grid; grid-template-rows: auto auto; gap: 6px; } .dm-chat-input .dm-input { min-height: 42px; max-height: 180px; resize: none; overflow-y: auto; line-height: 1.35; padding: 10px 12px; } .voice-level-wrap { width: 100%; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); overflow: hidden; } .voice-level-fill { width: 2%; height: 100%; border-radius: 999px; background: rgba(212, 175, 55, 0.95); transition: width 80ms linear; } .dm-screen .input, .dm-input { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 14px; color: rgba(255, 255, 255, 0.92); } .dm-input::placeholder { color: rgba(255, 255, 255, 0.42); } .dm-send-btn { background: rgba(212, 175, 55, 0.2); border: 1px solid rgba(212, 175, 55, 0.45); color: rgba(255, 217, 128, 0.98); border-radius: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); } .dm-send-icon-btn { min-width: 42px; width: 42px; padding: 0; font-size: 15px; line-height: 1; } .dm-message-actions-menu { width: min(52vw, 240px); padding: 8px; gap: 6px; } .dm-floating-menu-layer { position: fixed; inset: 0; z-index: 120; pointer-events: none; } .dm-message-actions-popover { position: fixed; left: 12px; top: 12px; margin: 0; pointer-events: auto; opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 120ms ease, transform 120ms ease; box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42); } .dm-message-actions-popover.is-visible { opacity: 1; transform: translateY(0) scale(1); } .dm-message-action-btn { width: 100%; justify-content: flex-start; } .dm-message-action-btn--danger { color: rgba(255, 182, 182, 0.98); border-color: rgba(255, 120, 120, 0.3); background: rgba(112, 28, 28, 0.22); } .speech-actions-top { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .speech-send-now-btn { width: 100%; } .dm-screen .dm-list > .card.meta-muted { width: calc(100% - 40px); margin: 0 20px; padding: 14px 16px; border-radius: 14px; background: rgba(18, 24, 38, 0.42); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.32); color: rgba(225, 233, 248, 0.86); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); } /* ===== Channels list tabs: match toolbar active button background ===== */ .channels-screen--list .channels-tabs { background: radial-gradient(circle at 18% -120%, rgba(228, 186, 94, 0.28), transparent 48%), linear-gradient(160deg, rgba(14, 25, 47, 0.98), rgba(7, 16, 34, 0.98)); border: 1px solid rgba(197, 160, 85, 0.38); box-shadow: 0 18px 32px rgba(2, 6, 13, 0.48); } .channels-screen--list .channels-tab-btn { color: #b8c7ea; border-radius: 12px; border: 1px solid transparent; background: transparent; } .channels-screen--list .channels-tab-btn.is-active { background: linear-gradient(145deg, rgba(220, 181, 94, 0.32), rgba(39, 66, 122, 0.3)), rgba(20, 35, 64, 0.62); border: 1px solid rgba(220, 183, 100, 0.44); color: #f7e2ad; box-shadow: inset 0 1px 0 rgba(255, 242, 204, 0.42); } /* ===== SHiNE Web3 Glassmorphism polish ===== */ .channels-screen { color: rgba(255, 255, 255, 0.9); } .channels-screen--list .channels-tabs, .channels-screen--list .channel-row, .channels-screen--list .channels-status, .channels-screen--list .channels-empty-state, .channels-screen--list .channels-bottom-action { background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 20px; } .channels-screen--list .channels-tabs, .channels-screen--list .channel-row, .channels-screen--list .channels-empty-state, .channels-screen--list .channels-status, .channels-screen--list .channels-bottom-action { margin-left: 24px; margin-right: 24px; } .channels-screen--list .channels-top-bar { margin-left: 24px; margin-right: 24px; margin-top: 16px; margin-bottom: 12px; } .channels-screen--list .channel-row { margin-top: 16px; margin-bottom: 16px; } .channels-screen--list .channels-tabs { margin-top: 16px; margin-bottom: 12px; } .channels-screen--list .channels-tab-btn { background: transparent; border: 1px solid transparent; color: rgba(255, 255, 255, 0.66); text-shadow: none; } .channels-screen--list .channels-tab-btn.is-active { background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(68, 92, 171, 0.2)), rgba(18, 24, 38, 0.44); border: 1px solid rgba(212, 175, 55, 0.42); color: #D4AF37; text-shadow: 0 0 10px rgba(212, 175, 55, 0.6); box-shadow: inset 0 1px 0 rgba(255, 238, 197, 0.3); } .channels-screen--list .channels-tab-btn.is-disabled { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: 0.72; } .toolbar { background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 20px; } .toolbar-btn.active { background: transparent !important; border-color: transparent !important; box-shadow: none !important; color: #D4AF37; } .toolbar-btn.active span:first-child { color: #D4AF37; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6)); } .toolbar-btn.active span:last-child { color: #D4AF37; text-shadow: 0 0 10px rgba(212, 175, 55, 0.6); } /* Неоновые PNG-иконки вкладок (свечение запечено в PNG). Цвет доп.свечения — var --tab-glow (инлайн на img). */ .toolbar-icon-img { --tab-icon-size: 27px; /* крупнее (бар-иконки); герой ниже ещё больше */ width: var(--tab-icon-size); height: var(--tab-icon-size); object-fit: contain; display: block; transition: transform .12s ease, filter .15s ease; } /* Активная вкладка — лёгкое доп. свечение (подпись подсвечивается правилом .active span:last-child выше). */ .toolbar-btn.active .toolbar-icon-img { filter: drop-shadow(0 0 5px var(--tab-glow)) brightness(1.08); } /* Нажатие — вдавливание + краткая вспышка свечения; на отпускании возврат. */ .toolbar-btn:active .toolbar-icon-img { transform: scale(0.9); filter: drop-shadow(0 0 9px var(--tab-glow)) brightness(1.2); } /* «Связи» — герой: крупнее и всегда чуть светится сильнее остальных; press-feedback ярче. */ .toolbar-btn-hero .toolbar-icon-img { /* Крупнее ВИЗУАЛЬНО через transform (origin center) — раскладочный размер как у остальных (27px), поэтому иконка остаётся на одной линии с другими, а не задирается вверх. */ transform: scale(1.63); /* ≈44px при базовых 27px */ filter: brightness(1.05); /* CSS-ореол убран — светится только сама PNG (логотип не тронут) */ } .toolbar-btn-hero.active .toolbar-icon-img { filter: brightness(1.12); } .toolbar-btn-hero:active .toolbar-icon-img { transform: scale(1.47); /* 1.63 × 0.9 (нажатие) */ filter: brightness(1.25); /* нажатие — только подсветление, без ореола */ } .toolbar-channels-hold-overlay { position: fixed; z-index: 1200; transform: translate(-50%, -100%); display: grid; grid-template-columns: repeat(3, minmax(68px, 1fr)); gap: 6px; padding: 8px; border-radius: 10px; background: rgba(15, 18, 31, 0.94); border: 1px solid rgba(160, 175, 220, 0.35); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); } .toolbar-channels-hold-item { border: 1px solid rgba(160, 175, 220, 0.35); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #e9efff; font-size: 12px; line-height: 1.2; min-height: 34px; padding: 6px 8px; transition: background-color 0.12s ease, border-color 0.12s ease; } .toolbar-channels-hold-item.is-active { background: rgba(133, 170, 255, 0.34); border-color: rgba(197, 219, 255, 0.75); } /* ===== Targeted UI touchups (requested) ===== */ .channels-screen--list .channel-row .avatar, .profile-screen .avatar.large { position: relative; border-radius: 50%; border: 1px solid rgba(130, 198, 255, 0.62); background: radial-gradient(circle at 30% 28%, rgba(161, 204, 255, 0.95), rgba(89, 141, 220, 0.92) 46%, rgba(32, 71, 136, 0.95) 72%, rgba(20, 48, 99, 0.98) 100%); color: #f3f8ff; box-shadow: inset 0 1px 0 rgba(240, 248, 255, 0.6), inset 0 -10px 18px rgba(12, 33, 72, 0.5), 0 0 0 2px rgba(72, 155, 248, 0.28), 0 12px 24px rgba(8, 24, 55, 0.42); } .channels-screen--list .channel-row .avatar::after, .profile-screen .avatar.large::after { content: ""; position: absolute; top: 14%; left: 18%; width: 42%; height: 28%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 72%); pointer-events: none; } .channels-screen--add .page-header .icon-btn { width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 22px rgba(4, 10, 24, 0.34); } .channels-screen--add .page-header .icon-btn:hover { border-color: rgba(212, 175, 55, 0.44); color: rgba(255, 215, 126, 0.95); background: rgba(255, 180, 0, 0.1); transform: none; } .channels-screen--add #cancel-create-channel, .channels-screen--add #submit-create-channel { min-height: 50px; border-radius: 14px; font-weight: 700; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } .channels-screen--add #cancel-create-channel { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.72); } .channels-screen--add #submit-create-channel { background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05)); border: 1px solid rgba(212, 175, 55, 0.42); color: rgba(255, 213, 118, 0.95); } .channels-screen--add #cancel-create-channel:hover, .channels-screen--add #submit-create-channel:hover { transform: none; box-shadow: 0 0 22px rgba(212, 175, 55, 0.2), inset 0 0 8px rgba(212, 175, 55, 0.1); } /* ===== Final microinteractions: breathe cards + static energy buttons ===== */ @keyframes breatheCard { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-3px); } } @keyframes glareSweep { 0% { left: -150%; } 100% { left: 150%; } } @keyframes blurRevealMedium { 0% { filter: blur(0px); opacity: 1; color: inherit; } 40% { filter: blur(5px); opacity: 0; color: #D4AF37; } 100% { filter: blur(0px); opacity: 1; color: #D4AF37; } } /* 1) Minimal breathing only for content cards */ .channels-screen .channel-message-card, .channels-screen .thread-node-card, .channels-screen .thread-block, .channels-screen .thread-summary, .channels-screen--list .channel-row { animation: breatheCard 8s ease-in-out infinite; position: relative; } /* Keep card hover static so breathe is the only motion */ .channels-screen .channel-message-card:hover, .channels-screen .thread-node-card:hover, .channels-screen .thread-block:hover, .channels-screen .thread-summary:hover, .channels-screen--list .channel-row:hover { transform: none; } /* Thread cards should stay fixed without breathing motion */ .channels-screen--thread .thread-node-card, .channels-screen--thread .thread-block, .channels-screen--thread .thread-summary { animation: none !important; } /* 2) Static controls with energy + glass glare (no levitation) */ .channels-screen--list .channels-tab-btn, .channels-screen--list .channels-bottom-action, .channels-screen .channel-main-action, .channels-screen .channel-back-btn, .channels-screen .channel-head-actions .secondary-btn, .channels-screen .channel-action-item { position: relative; overflow: hidden; transition: box-shadow 0.75s ease-out, color 0.28s ease, border-color 0.28s ease, background 0.28s ease; animation: none !important; } .channels-screen--list .channels-tab-btn:hover, .channels-screen--list .channels-bottom-action:hover, .channels-screen .channel-main-action:hover, .channels-screen .channel-back-btn:hover, .channels-screen .channel-head-actions .secondary-btn:hover, .channels-screen .channel-action-item:hover { box-shadow: 0 0 16px rgba(212, 175, 55, 0.22), inset 0 0 6px rgba(212, 175, 55, 0.07); transform: none !important; } .channels-screen--list .channels-tab-btn::after, .channels-screen--list .channels-bottom-action::after, .channels-screen .channel-main-action::after, .channels-screen .channel-back-btn::after, .channels-screen .channel-head-actions .secondary-btn::after, .channels-screen .channel-action-item::after { content: ""; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100% ); transform: skewX(-25deg); transition: none; z-index: 1; pointer-events: none; } .channels-screen--list .channels-tab-btn:hover::after, .channels-screen--list .channels-bottom-action:hover::after, .channels-screen .channel-main-action:hover::after, .channels-screen .channel-back-btn:hover::after, .channels-screen .channel-head-actions .secondary-btn:hover::after, .channels-screen .channel-action-item:hover::after { animation: glareSweep 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; } /* 3) Medium blur-reveal for stats/counters */ .stat-blur-reveal { animation: blurRevealMedium 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; display: inline-block; } /* ===== Channels CTA proportions fix ===== */ .channels-screen--list .channels-bottom-action { display: block; width: min(90%, 360px) !important; max-width: 90%; margin-left: auto !important; margin-right: auto !important; margin-top: 16px !important; margin-bottom: 20px !important; padding: 12px 24px !important; box-sizing: border-box; align-self: center; } /* ===== Profile glass style (same visual family as DM) ===== */ .profile-screen { position: relative; isolation: isolate; background: #05070A; color: rgba(255, 255, 255, 0.9); min-height: 100%; gap: 4px; align-content: start; grid-auto-rows: max-content; } .profile-screen::before { content: ""; position: absolute; inset: -12px -12px 0; z-index: -1; pointer-events: none; background: radial-gradient(260px 260px at 86% 10%, rgba(147, 112, 219, 0.22), transparent 72%), radial-gradient(220px 220px at 14% 84%, rgba(147, 112, 219, 0.18), transparent 72%), radial-gradient(220px 220px at 76% 68%, rgba(212, 175, 55, 0.14), transparent 75%), radial-gradient(190px 190px at 26% 20%, rgba(212, 175, 55, 0.1), transparent 74%), #05070A; } .profile-screen .card, .profile-screen .profile-param-item, .profile-screen .profile-relative-search-suggest { background: rgba(20, 25, 35, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.35); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37); } .profile-top-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; } .profile-bottom-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; } .profile-top-action-btn { height: 32px; min-height: 32px; padding: 0 10px; font-size: 12px; line-height: 1.15; text-align: center; white-space: pre-line; overflow: hidden; text-overflow: ellipsis; } .profile-links-header-btn { white-space: pre-line; line-height: 1.1; } .profile-main-card { margin-top: 0; padding: 2px 8px 8px; gap: 4px; } .profile-status-row { align-items: center; gap: 6px; } .profile-status-row .status-line { flex: 1 1 auto; min-height: 16px; margin: 0; line-height: 1.2; } .profile-refresh-btn { min-height: 28px; padding: 5px 8px; font-size: 12px; line-height: 1.1; } .profile-main-card > .row { margin: 0; } .profile-main-card > .row:first-child { margin-top: 0; } .profile-main-card .profile-identity-lines { gap: 2px; } .profile-main-card .profile-identity-line { font-size: 15px; } .profile-main-card .profile-identity-login { font-size: 17px; } .profile-main-card .profile-avatar { margin-top: 4px; margin-bottom: 4px; } .profile-main-card .profile-param-list { gap: 6px; } .profile-main-card .profile-param-item { padding: 8px 9px; } .profile-screen .primary-btn { background: rgba(212, 175, 55, 0.2); border: 1px solid rgba(212, 175, 55, 0.45); color: rgba(255, 217, 128, 0.98); } .profile-screen .secondary-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.75); } /* ===== Notifications glass style ===== */ .notifications-screen { position: relative; isolation: isolate; background: #05070A; color: rgba(255, 255, 255, 0.9); min-height: 100%; align-content: start; } .notifications-screen::before { content: ""; position: absolute; inset: -12px -12px 0; z-index: -1; pointer-events: none; background: radial-gradient(320px 320px at 86% 12%, rgba(147, 112, 219, 0.2), transparent 72%), radial-gradient(280px 280px at 18% 82%, rgba(147, 112, 219, 0.14), transparent 72%), radial-gradient(260px 260px at 70% 65%, rgba(212, 175, 55, 0.12), transparent 75%), #05070A; } .notifications-screen .tabs { background: rgba(20, 25, 35, 0.5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(212, 175, 55, 0.26); border-radius: 16px; } .notifications-screen .tab-btn { color: rgba(255, 255, 255, 0.65); } .notifications-screen .tab-btn.active { background: rgba(255, 180, 0, 0.12); border: 1px solid rgba(255, 180, 0, 0.28); color: rgba(255, 200, 50, 0.92); } .notifications-screen .notifications-list > .card { background: rgba(20, 25, 35, 0.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; box-shadow: 0 0 60px rgba(80, 60, 180, 0.12); } /* Cosmic styling for the "Связи" toolbar button */ .toolbar-btn-network { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; /* нет синей вспышки-квадрата при тапе (Android WebView/Chromium) */ } /* нет рамки/подсветки фокуса ВОКРУГ кнопки — светится только сама иконка (её drop-shadow) */ .toolbar-btn-network:focus, .toolbar-btn-network:focus-visible { outline: none; } .toolbar-btn-network::before { content: ""; display: none; /* подсветка-подложка вокруг иконки «Связи» убрана по запросу (иконка и её drop-shadow-ореол не тронуты) */ position: absolute; inset: 6px; border-radius: 10px; pointer-events: none; opacity: 0.42; background: radial-gradient(circle at 24% 24%, rgba(112, 170, 255, 0.35), transparent 56%), radial-gradient(circle at 78% 72%, rgba(197, 132, 255, 0.24), transparent 60%); filter: blur(8px); } .toolbar-btn-network span:first-child { color: #9eb3e8; filter: drop-shadow(0 0 5px rgba(123, 170, 255, 0.24)); } .toolbar-btn-network.active { color: #a7bcf2; background: linear-gradient(150deg, rgba(52, 120, 235, 0.16), rgba(103, 67, 198, 0.16)) !important; border: 1px solid rgba(95, 151, 255, 0.46) !important; box-shadow: 0 0 0 1px rgba(125, 180, 255, 0.24), 0 0 18px rgba(88, 130, 255, 0.28), 0 0 26px rgba(121, 75, 229, 0.22) !important; } .toolbar-btn-network.active span:first-child { color: #c8e3ff; filter: drop-shadow(0 0 8px rgba(123, 183, 255, 0.65)); } .toolbar-btn-network.active span:last-child { color: #c6dcff; text-shadow: 0 0 10px rgba(123, 183, 255, 0.45); } /* ===== Empty states alignment + transparent wrappers cleanup ===== */ .dm-screen .dm-list > .card.meta-muted, .channels-empty-state--compact .meta-muted, .channels-list-empty { display: flex; justify-content: center; align-items: center; text-align: center; width: 100%; } .channels-screen, .channels-list-content, .channels-scroll-wrap { background: transparent !important; } .channels-screen::before, .channels-screen.channels-screen--channel::before { background: transparent !important; } .dm-screen .dm-list > .card.meta-muted { width: calc(100% - 40px); } .channels-screen--list .channels-bottom-action { background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05)); border: 1px solid rgba(212, 175, 55, 0.3); color: #D4AF37; font-weight: 700; } /* ===== SHiNE Glassmorphism activation (channels list) ===== */ .channels-screen--list .channels-tabs, .channels-screen--list .channel-row, .channels-screen--list .channels-status, .channels-screen--list .channels-empty-state { background: rgba(18, 24, 38, 0.4) !important; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.3) !important; border-radius: 20px; } .channels-screen--list .channels-tabs, .channels-screen--list .channel-row, .channels-screen--list .channels-status, .channels-screen--list .channels-empty-state, .channels-screen--list .channels-bottom-action { margin: 16px 20px; } .channels-screen--list .channels-bottom-action { background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05)); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 20px; color: #D4AF37; } .channels-empty-state--silent { padding: 0 !important; min-height: 0; } .channels-screen--list .channels-bottom-action.is-empty-lift { margin-top: 6px !important; } .toolbar { background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 20px; } .toolbar-btn.active { background: transparent !important; border-color: transparent !important; box-shadow: none !important; color: #D4AF37; } .toolbar-btn.active span:first-child { color: #D4AF37; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6)); } .toolbar-btn.active span:last-child { color: #D4AF37; text-shadow: 0 0 10px rgba(212, 175, 55, 0.6); }