/* Channels list/create/search styles. */ .channels-screen .modal-card .input { background: linear-gradient(180deg, rgba(16, 31, 58, 0.9), rgba(11, 22, 43, 0.94)); } .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; } .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 .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 transparent; 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: transparent; 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 transparent; 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: transparent; } .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; } .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 transparent; 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 transparent; border-radius: var(--radius-md); padding: 12px; color: #aeb9d8; background: rgba(10, 18, 36, 0.5); } .channels-divider { border-top-color: transparent; margin: 2px 0; } .channel-row:hover { border-color: transparent; box-shadow: 0 10px 22px rgba(2, 8, 16, 0.44); transform: translateY(-1px); } .channel-row .avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 50%; 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 { 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-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 transparent; 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(180deg, #57b6ff 0%, #2a86ff 100%); color: #ffffff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 10px rgba(52, 146, 255, 0.68), 0 0 18px rgba(52, 146, 255, 0.32); font-size: 12px; font-weight: 700; line-height: 1; } .channels-screen--list .channel-row-count[hidden] { display: none !important; } .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)); } @media (max-width: 430px) { .channels-hero-title { font-size: 24px; } .channels-action-btn { min-height: 48px; font-size: 12px; } .channel-row { grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 10px; padding: 12px; } .channel-row .avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; } .channel-row-title { font-size: 16px; } .channel-row-message { font-size: 13px; } } @media (max-width: 365px) { .channels-action-grid { grid-template-columns: 1fr; } } @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 transparent; background: linear-gradient(165deg, rgba(12, 24, 46, 0.92), rgba(9, 17, 34, 0.96)); } .channels-search-icon { position: relative; display: block; width: 13px; height: 13px; border: 1.8px solid #d9f5ff; border-radius: 50%; box-shadow: 0 0 6px rgba(133, 225, 255, 0.58); } .channels-search-icon::after { content: ""; position: absolute; width: 6px; height: 1.8px; right: -4px; bottom: -2px; border-radius: 999px; background: #d9f5ff; box-shadow: 0 0 5px rgba(133, 225, 255, 0.58); transform: rotate(45deg); transform-origin: left 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: transparent; color: #f4d99e; background: linear-gradient(160deg, rgba(193, 154, 76, 0.22), rgba(18, 33, 62, 0.64)); } .channels-empty-state { border: 1px dashed transparent; 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-main { padding-right: 6px; } .channel-row-description { display: none; } .channel-row-controls { display: grid; justify-items: end; align-content: start; gap: 6px; position: relative; min-width: 44px; grid-template-rows: auto auto; } .channels-screen--list .channel-row-time { grid-row: 2; align-self: end; } @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) { .channels-action-grid { grid-template-columns: 1fr; } } .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 transparent; 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-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-radius: 9px; padding: 8px 10px; cursor: pointer; margin-bottom: 6px; } .channel-search-item:last-child { margin-bottom: 0; } /* ===== 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 { 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 { display: grid; gap: 12px; width: min(100%, 340px); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; position: relative; grid-template-columns: 46px minmax(0, 1fr) auto; 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); padding: 20px; margin-bottom: 16px; border-color: rgba(255, 255, 255, 0.07); } .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: transparent; color: rgba(255, 200, 50, 0.9); } .channel-row .avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 50%; overflow: hidden; color: #ffffff; font-weight: 700; } .channel-row .avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; border-radius: 50%; } .channel-row-title { color: #ffffff; font-size: 17px; font-weight: 800; letter-spacing: 0.01em; } .channel-row-technical { margin: -2px 0 0; color: rgba(255, 255, 255, 0.46); font-size: 11px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .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%; } .channels-bottom-action { background: rgba(255, 180, 0, 0.12); border: 1px solid transparent; color: rgba(255, 200, 50, 0.9); border-radius: 14px; padding: 14px; width: 100%; } .channels-screen--channel-about .screen-footer { margin-top: auto; padding: 8px 4px 0; text-align: center; font-size: 12px; letter-spacing: 0.02em; } .channels-empty-state--compact .meta-muted { color: rgba(255, 255, 255, 0.4); text-align: center; font-style: italic; } /* ===== Channels list tabs: match toolbar active button background ===== */ .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 transparent; 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-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 transparent; 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; } /* Визуальная оболочка framed Avatar принадлежит styles/components/avatar.css. */ .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 transparent; 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); } .channel-create-avatar-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; } .channel-create-avatar-side { min-width: 0; display: grid; gap: 10px; align-content: start; } .channel-create-avatar-status-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; } .channel-create-avatar-status { min-width: 0; } .channel-avatar-status-text { margin: 0; color: rgba(255, 255, 255, 0.96); font-weight: 500; font-size: 12px; line-height: 1.35; } .channel-avatar-status-line { margin: 2px 0 0; color: rgba(255, 255, 255, 0.96); font-size: 12px; line-height: 1.35; } .channel-avatar-txid { margin: 0; word-break: break-all; color: rgba(255, 255, 255, 0.96); font-size: 11px; } .channel-avatar-status-pending { color: rgba(255, 255, 255, 0.82); } .channel-create-login-hint { font-size: 11px; line-height: 1.35; } .channel-link-preview { min-height: 18px; } .channel-avatar-remove-btn { width: 26px; min-width: 26px; height: 26px; padding: 0; border-radius: 8px; font-weight: 700; line-height: 1; } .channel-avatar-remove-btn[hidden] { display: none; } @media (max-width: 420px) { .channel-create-avatar-head { grid-template-columns: 1fr; } } .channels-screen--list .channel-row:hover { transform: none; } .channels-screen--list .channels-tab-btn::after, .channels-screen--list .channels-bottom-action::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 { animation: glareSweep 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; } /* ===== Channels CTA proportions fix ===== */ .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; } /* ===== SHiNE Glassmorphism activation (channels list) ===== */ .channels-screen--list .channels-empty-state { margin-left: 24px; margin-right: 24px; background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid transparent; border-radius: 20px; margin: 16px 8px; } .channels-screen--list .channels-status { margin-left: 24px; margin-right: 24px; background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid transparent; border-radius: 20px; margin: 16px 8px; } .channels-screen--list .channels-tabs { box-shadow: 0 18px 32px rgba(2, 6, 13, 0.48); margin-left: 24px; margin-right: 24px; margin-top: 16px; margin-bottom: 12px; background: rgba(18, 24, 38, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid transparent; border-radius: 20px; margin: 16px 8px; } .channels-screen--list .channels-bottom-action { display: block; width: min(90%, 360px); max-width: 90%; margin-left: auto; margin-right: auto; margin-top: 16px; margin-bottom: 20px; padding: 12px 24px; box-sizing: border-box; align-self: center; font-weight: 700; margin: 16px 8px; 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 transparent; border-radius: 20px; color: #D4AF37; } .channels-empty-state--silent { padding: 0; min-height: 0; } .channels-screen--list .channels-bottom-action.is-empty-lift { margin-top: 6px; } /* Compact rows keep the channel sphere as the visual height reference. */ .channels-screen--list .channel-row-message { min-height: 0; line-height: 1.25; } /* Пустые каналы: больше никакой золотой вставки/рамки. Сообщение оформлено * как спокойный матовый chip из панели фильтров «Связей». */ .channels-screen--list .channels-empty-state.channels-empty-state--silent { width: 100%; min-height: 0; margin: 12px 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; place-items: center; } .channels-screen--list .channels-empty-state.channels-empty-state--silent .meta-muted { display: inline-flex; align-items: center; justify-content: center; width: auto; max-width: calc(100% - 24px); min-height: 30px; margin: 0; padding: 7px 14px; border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.08); color: #cfe0ff; font-size: 12px; font-weight: 600; font-style: normal; line-height: 1.2; text-align: center; } /* Каналы: счётчик непрочитанных — целиком голубой светящийся овал, * цифра остаётся обычной белой, без собственного glow. */ .channel-row-count { background: rgba(92, 190, 255, 0.16); border: 1px solid rgba(92, 190, 255, 0.56); color: #FFFFFF; box-shadow: 0 0 7px rgba(92, 190, 255, 0.58), 0 0 15px rgba(72, 145, 255, 0.28), inset 0 0 8px rgba(92, 190, 255, 0.10); text-shadow: none; } /* Каналы: логин/техническая подпись и overflow-троеточие используют * тот же основной белый + голубое свечение, что верхний toolbar. */ .channel-row-technical { font-family: var(--font-main); font-weight: 600; color: var(--app-topbar-gold); text-shadow: 0 0 5px var(--app-topbar-blue-glow), 0 0 12px var(--app-topbar-blue-glow-soft); } /* Название канала и техническая строка (login / channel) — одна типографическая * система с основным интерфейсом: белый текст + голубое свечение. */ /* Счётчик непрочитанных: без видимой границы. Сам овал — светящийся синий объём, * цифра остаётся обычной белой. */ .channels-screen--list .channel-row .channel-row-controls > .channel-row-count { top: 0; right: 0; position: absolute; z-index: 2; } .channels-screen--list .channel-row .channel-row-controls > .channel-menu-trigger { display: none !important; } .channels-filter-title { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; } .channels-filter-title::after { content: "⌄"; font-size: 13px; line-height: 1; opacity: 0.72; transform: translateY(-1px); } /* ===== Каналы: плотные широкие строки, badge сверху, время на линии preview ===== */ .channels-screen--list .unread.channel-row-count { border: 0; outline: 0; background: linear-gradient(180deg, #57b6ff 0%, #2a86ff 100%); color: #FFFFFF; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 10px rgba(52, 146, 255, 0.68), 0 0 18px rgba(52, 146, 255, 0.32); text-shadow: none; position: static; margin: 0; } .channels-screen--list .channel-row-count { grid-row: 1; align-self: start; justify-self: end; border: 0; outline: 0; background: linear-gradient(180deg, #57b6ff 0%, #2a86ff 100%); color: #FFFFFF; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 10px rgba(52, 146, 255, 0.68), 0 0 18px rgba(52, 146, 255, 0.32); text-shadow: none; position: static; margin: 0; } /* Channels: much wider, substantially shorter rows. */ .channels-screen--list .channel-row .avatar { width: 48px; height: 48px; min-width: 48px; min-height: 48px; } .channels-screen--list .channel-row-title { font-family: var(--font-main); color: var(--app-topbar-gold); text-shadow: 0 0 5px var(--app-topbar-blue-glow), 0 0 12px var(--app-topbar-blue-glow-soft); font-weight: 700; margin-block: 0; line-height: 1.12; } .channels-screen--list .channel-row-controls { position: absolute; width: auto; min-width: 0; height: auto; top: 3px; right: 5px; } /* ===== Channel list alignment with Personal chats (2026-08-29) ===== */ /* Match the Personal tab width model exactly: only the list itself grows beyond * the content gutter, rather than widening several nested channel containers. */ .channels-screen--list .channels-list-content { width: 100%; margin-left: 0; margin-right: 0; } .channels-screen--list .channels-groups { gap: 0; width: 100%; margin-left: 0; margin-right: 0; } .channels-screen--list .stack:has(> .channel-row) { margin-left: -8px; margin-right: -8px; width: calc(100% + 16px); margin-inline: -8px; gap: 4px; } /* Slightly taller than Personal (~12%) to comfortably fit title + technical id * + last-message preview, while keeping the compact list rhythm. */ .channels-screen--list .channel-row { margin-left: 24px; margin-right: 24px; margin-top: 16px; margin-bottom: 16px; animation: breatheCard 8s ease-in-out infinite; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid transparent; align-items: center; border-color: transparent; background: rgba(18, 24, 38, 0.18); box-shadow: none; position: relative; margin: 1px 0; border-radius: 15px; width: 100%; min-height: 61px; padding: 6px 7px 6px 5px; grid-template-columns: 50px minmax(0, 1fr); gap: 8px; } .channels-screen--list .channel-row-main { padding-right: 3px; align-self: center; display: grid; align-content: center; gap: 1px; min-width: 0; overflow: hidden; } /* Restore the compact technical channel id: owner login / channel name. */ .channels-screen--list .channel-row-technical { font-family: var(--font-main); color: var(--app-topbar-gold); text-shadow: 0 0 5px var(--app-topbar-blue-glow), 0 0 12px var(--app-topbar-blue-glow-soft); margin-block: 0; display: block; min-width: 0; margin: 0; font-size: 10.5px; line-height: 1.05; font-weight: 500; opacity: .72; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Keep only the requested two supporting lines; description/counters stay out of * the compact channel tile. */ .channels-screen--list .channel-row-owner { margin-block: 0; line-height: 1.12; display: none; } .channels-screen--list .channel-row-description { margin-block: 0; line-height: 1.12; display: none; } /* Last message and its timestamp form one single line. The preview yields space * to the timestamp and truncates with an ellipsis when necessary. */ .channels-screen--list .channel-row-preview-line { grid-template-columns: minmax(0, 1fr) auto; line-height: 1.15; display: flex; align-items: baseline; width: 100%; min-width: 0; gap: 7px; margin: 0; } /* Channel list: last message preview + timestamp. * Override the legacy `.channel-row-time { width: 100% }`: that rule made the * timestamp consume the whole preview row, collapsing the message text to zero * width and clipping the rightmost timestamp character. */ .channels-screen--list .channel-row-preview-line .channel-row-time { position: static; transform: none; align-self: baseline; font-size: 11px; line-height: 1.1; width: auto; max-width: max-content; flex: 0 0 auto; margin: 0 2px 0 0; padding: 0; box-sizing: border-box; white-space: nowrap; } .channels-screen--list .channel-row-preview-line .channel-row-message { max-width: 100%; margin: 0; font-size: 12px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: auto; flex: 1 1 0; min-width: 0; }