/* Styles shared by Channel and Thread rendering. */ .attachment-trigger-btn { justify-self: start; min-width: 3.25rem; padding-inline: 0.8rem; } .draft-attachments { display: flex; flex-wrap: wrap; gap: 0.45rem; } .draft-attachment-chip { border-radius: 999px; cursor: pointer; font-size: 0.82rem; max-width: 100%; overflow: hidden; padding: 0.4rem 0.65rem; text-overflow: ellipsis; white-space: nowrap; } .modal-danger-action { width: 100%; } .channels-screen--channel .channel-message-card { margin-bottom: 6px; } .channels-screen--channel .channel-message-card.is-diary-entry { width: min(100%, 28rem); max-width: min(84vw, 28rem); padding: 16px 16px 15px; justify-self: center; align-self: center; } .channel-message-author-tile { appearance: none; -webkit-appearance: none; display: flex; align-items: center; gap: 12px; flex: 1 1 auto; width: auto; min-width: 0; padding: 8px 10px; border-radius: 8px; text-align: left; cursor: pointer; min-height: 0; } .channel-message-avatar { width: 28px; height: 28px; min-width: 28px; min-height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #f4f6ff; background: radial-gradient(circle at 30% 30%, #8a73ff, #4f4bda 58%, #3b2b89); } .channel-message-author { display: grid; gap: 4px; min-width: 0; } .channel-message-head-row { display: flex; align-items: stretch; gap: 8px; } .channel-message-title { font-size: 15px; color: #f5f8ff; } .channel-message-kind-badge { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 3px 8px; border-radius: 999px; font-size: 12px; line-height: 1.2; } .channel-message-kind-badge--rating { color: #ffe8b0; background: rgba(124, 92, 28, 0.36); border: 1px solid transparent; } .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-card--deleted-compact { gap: 7px; padding-top: 9px; padding-bottom: 9px; } .deleted-message-pill { appearance: none; width: 100%; border-radius: 12px; font-size: 13px; line-height: 1.2; text-align: left; padding: 8px 10px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .channel-message-time { font-size: 11px; color: rgba(255, 255, 255, 0.48); } .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; position: relative; min-height: 0; padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 24px; font-size: 12px; 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-icon { font-size: 14px; line-height: 1; } .channel-action-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .message-edited-marker { appearance: none; border: none; background: transparent; font-size: 11px; line-height: 1; padding: 0; margin-left: 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } .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; } .blockchain-details-card { max-width: min(620px, calc(100vw - 28px)); } .blockchain-details-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; background: rgba(255, 255, 255, 0.035); } .blockchain-details-grid span { color: rgba(255, 255, 255, 0.58); font-size: 12px; } .blockchain-details-grid code, .blockchain-details-grid strong { min-width: 0; color: rgba(255, 244, 210, 0.96); font-size: 12px; overflow-wrap: anywhere; } .blockchain-raw-block { max-height: 280px; overflow: auto; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.32); color: rgba(255, 255, 255, 0.82); font-size: 11px; line-height: 1.45; white-space: pre-wrap; } .channel-header-route-btn { position: static; min-height: 40px; max-width: min(72vw, 100%); padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; border-radius: 10px; text-align: center; transform: none; } .channel-header-route-btn:hover, .channel-header-route-btn:focus-visible, .channel-header-route-btn:active, .channel-header-route-btn.is-springing { transform: none; } @media (max-width: 430px) { .channel-message-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 365px) { .channel-message-actions { grid-template-columns: 1fr; } } .author-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; width: 100%; } .author-line-main { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; } .channel-message-type-button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 82px; min-height: 28px; padding: 6px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; } .channel-message-type-button.is-static, .channel-message-type-button:disabled { opacity: 1; cursor: default; } .author-line-login { font-weight: 700; color: #f5f8ff; } .author-line-num { font-weight: 400; color: rgba(255, 255, 255, 0.44); } @media (max-width: 420px) { .channel-message-actions { grid-template-columns: 1fr; } } .channel-message-actions, .thread-node-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); } /* 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; } .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 { transform: none; } .channels-screen::before, .channels-screen.channels-screen--channel::before { background: transparent; }