Files
SHiNE-server/shine-UI/styles/features/channel.css
T

1350 lines
25 KiB
CSS

/* Channel screen styles. */
.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%);
}
.channel-counter-meta,
.channel-counter-value {
opacity: 0;
transform: translateY(3px);
transition: opacity 0.22s ease, transform 0.22s ease;
}
.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-note {
font-size: 13px;
color: #e8d8b0;
line-height: 1.4;
}
.channel-feed {
gap: 10px;
}
.channel-unread-line {
display: flex;
align-items: center;
gap: 10px;
margin: 10px 0 12px;
padding: 10px 14px;
border-radius: 999px;
border: 1px solid transparent;
background:
linear-gradient(180deg, rgba(50, 39, 14, 0.9), rgba(22, 25, 39, 0.9));
color: #ffe6a7;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
line-height: 1;
text-transform: uppercase;
text-align: center;
justify-content: center;
box-shadow: 0 10px 24px rgba(6, 10, 20, 0.35);
}
.channel-unread-line::before,
.channel-unread-line::after {
content: "";
flex: 1 1 0;
height: 1px;
min-width: 18px;
background: linear-gradient(90deg, transparent, rgba(244, 202, 102, 0.8), transparent);
}
.channels-screen--channel .channel-feed {
gap: 2px;
margin-left: -7px;
margin-right: -7px;
}
.channel-message-top {
display: flex;
align-items: center;
gap: 12px;
}
.channel-message-avatar.avatar-image {
display: grid;
place-items: center;
}
.channel-message-kind-badge--status {
color: #bfe9d1;
background: rgba(38, 92, 62, 0.32);
border: 1px solid rgba(137, 223, 176, 0.26);
}
.channel-message-target-preview {
display: grid;
gap: 4px;
padding: 9px 11px;
border-radius: 10px;
border: 1px solid rgba(154, 178, 224, 0.16);
background: rgba(13, 22, 39, 0.56);
}
.channel-message-target-preview strong {
color: #f0d99c;
font-size: 12px;
}
.channel-message-target-preview span {
color: rgba(188, 208, 244, 0.82);
font-size: 12px;
}
.channel-message-target-preview p {
margin: 0;
color: #d9e6ff;
font-size: 13px;
line-height: 1.35;
}
.channels-screen .channel-message-card.is-rating {
border-color: transparent;
background:
linear-gradient(180deg, rgba(112, 84, 22, 0.12), rgba(20, 25, 35, 0.58)),
rgba(20, 25, 35, 0.55);
box-shadow: 0 0 38px rgba(181, 136, 42, 0.14);
}
.channels-screen .channel-message-card.is-focus-flash {
border-color: transparent;
box-shadow: 0 0 34px rgba(255, 214, 117, 0.16);
}
.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-system-event-card {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: fit-content;
max-width: min(88%, 460px);
margin: 0 auto 4px;
padding: 8px 16px;
border-color: transparent;
border-radius: 999px;
background: rgba(89, 67, 31, 0.26);
color: rgba(255, 235, 188, 0.92);
cursor: pointer;
text-align: center;
}
.channel-system-event-card__label {
display: block;
font-size: 13px;
line-height: 1.2;
}
.channel-meta-details-grid {
display: grid;
grid-template-columns: minmax(96px, 120px) 1fr;
gap: 10px 14px;
align-items: start;
color: rgba(255, 255, 255, 0.92);
}
.channel-meta-details-grid > span:nth-child(odd) {
color: rgba(255, 255, 255, 0.48);
}
.channel-meta-details-grid code {
color: rgba(255, 214, 117, 0.92);
word-break: break-word;
}
.channel-profile-card {
align-items: stretch;
}
.channel-profile-modal-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.channel-profile-edit-btn {
width: 38px;
padding-left: 0;
padding-right: 0;
}
.channel-profile-avatar {
--channel-avatar-size: 96px;
width: var(--channel-avatar-size);
height: var(--channel-avatar-size);
display: inline-flex;
align-items: center;
justify-content: center;
align-self: center;
border-radius: 50%;
background: linear-gradient(145deg, rgba(255, 214, 122, 0.22), rgba(56, 41, 22, 0.65));
border: 1px solid transparent;
color: rgba(255, 236, 194, 0.95);
font-size: calc(var(--channel-avatar-size) * 0.42);
font-weight: 700;
overflow: hidden;
}
.channel-profile-avatar img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.channel-message-views {
margin: 0;
font-size: 12px;
line-height: 1.35;
color: rgba(255, 255, 255, 0.58);
}
.channel-message-stats.is-hidden {
opacity: 0;
max-height: 0;
overflow: hidden;
margin: 0;
}
.channels-screen .channel-message-card.is-counters-visible .channel-action-counter {
opacity: 1;
max-width: 40px;
margin-left: 2px;
transform: translateX(0);
}
.topbar__right .channel-header-entrypoint-btn {
border: 1px solid transparent;
background: linear-gradient(180deg, rgba(57, 74, 119, 0.34), rgba(18, 29, 54, 0.34));
color: #f1d99c;
border-radius: 10px;
padding-inline: 9px;
font-size: 11px;
font-weight: 700;
letter-spacing: .02em;
text-transform: uppercase;
}
.channel-main-action {
min-height: 48px;
border-radius: 13px;
}
.channel-back-btn {
min-height: 44px;
}
.channel-action-like {
transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.channel-action-like.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-menu-item:disabled {
opacity: 0.68;
cursor: not-allowed;
}
.channel-toggle-btn {
width: 48px;
height: 28px;
border-radius: 999px;
border: 0;
background: transparent;
color: #fff;
box-shadow: none;
text-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
position: relative;
cursor: pointer;
transition:
transform 90ms ease,
box-shadow 90ms ease,
background-color 90ms ease,
filter 120ms ease;
}
.channel-toggle-btn:hover {
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
.channel-toggle-btn:active {
background: rgba(0, 0, 0, 0.12);
border: 0;
box-shadow:
inset 0 3px 8px rgba(0, 0, 0, 0.58),
inset 0 -1px 2px rgba(255, 255, 255, 0.08);
transform: translateY(1px) scale(0.97);
filter: brightness(0.9);
}
.channel-toggle-btn:focus-visible {
outline: 2px solid rgba(255, 255, 255, 0.62);
outline-offset: 2px;
}
.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::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;
}
.channel-message-type-chip {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 4px 9px;
border-radius: 9px;
border: 1px solid transparent;
background: linear-gradient(180deg, rgba(57, 74, 119, 0.34), rgba(18, 29, 54, 0.34));
color: #f1d99c;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.channel-message-tools {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
}
.channel-message-type-select {
min-width: 0;
min-height: 46px;
}
.channels-screen .channel-message-card.is-own-new {
box-shadow: 0 0 52px rgba(88, 69, 176, 0.2), 0 12px 24px rgba(2, 8, 16, 0.46);
}
.primary-btn.channel-main-action {
border-radius: 14px;
padding: 14px;
width: 100%;
}
.channel-head-card {
background: transparent;
border: none;
box-shadow: none;
padding: 0;
margin-bottom: 6px;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.channel-head-title {
line-height: 1.35;
font-family: inherit;
color: rgba(255, 255, 255, 0.95);
font-size: 22px;
font-weight: 700;
text-align: center;
}
.channel-head-meta {
line-height: 1.35;
font-family: inherit;
color: rgba(255, 255, 255, 0.4);
font-size: 12px;
font-weight: 500;
text-align: center;
}
.entrypoint-history-list {
display: grid;
gap: 10px;
max-height: min(58vh, 30rem);
overflow: auto;
}
.entrypoint-history-item {
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
appearance: none;
border-radius: 14px;
display: grid;
gap: 4px;
padding: 12px 13px;
text-align: left;
}
.entrypoint-history-item strong {
color: #f1d99c;
font-size: 13px;
}
.entrypoint-history-item span {
color: rgba(188, 208, 244, 0.74);
font-size: 12px;
}
.entrypoint-history-item p {
margin: 0;
color: #f5f8ff;
font-size: 13px;
line-height: 1.4;
white-space: pre-wrap;
word-break: break-word;
}
.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;
}
/* 1) Minimal breathing only for content cards */
.channels-screen .channel-message-card {
gap: 14px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.07);
backdrop-filter: blur(24px);
box-shadow: 0 0 60px rgba(80, 60, 180, 0.15);
padding: 20px;
margin-bottom: 16px;
border-color: rgba(255, 255, 255, 0.07);
background: rgba(20, 25, 35, 0.55);
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 {
transform: none;
}
.channels-screen--channel .channel-main-action--compose {
position: sticky;
bottom: -12px;
margin: 16px 20px 0;
width: calc(100% - 40px);
font-weight: 700;
z-index: 3;
}
.channel-menu-trigger .app-overflow-dots {
margin: auto;
}
.channel-menu-trigger {
width: 34px;
height: 34px;
border-radius: 10px;
cursor: pointer;
font-size: 18px;
line-height: 1;
border: none;
background: none;
color: var(--app-topbar-gold);
text-shadow: 0 0 5px var(--app-topbar-blue-glow),
0 0 12px var(--app-topbar-blue-glow-soft);
}
/* У меню больше нет «облачного» треугольного хвостика. */
.channel-menu-item {
width: 100%;
min-height: 42px;
padding: 0 11px;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
border: 0;
border-radius: 10px;
background: transparent;
background-image: none;
box-shadow: none;
color: #ffffff;
font: inherit;
font-size: 14px;
font-weight: 600;
line-height: 1.2;
text-align: left;
white-space: nowrap;
cursor: pointer;
}
.channel-menu-item:hover {
color: #ffffff;
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
.channel-menu-item:active {
color: #ffffff;
background: rgba(0, 0, 0, 0.12);
border: 0;
box-shadow:
inset 0 3px 8px rgba(0, 0, 0, 0.58),
inset 0 -1px 2px rgba(255, 255, 255, 0.08);
transform: translateY(1px) scale(0.97);
filter: brightness(0.9);
}
.channel-menu-item:focus-visible {
color: #ffffff;
background: rgba(var(--shine-action-blue-rgb), 0.12);
border: 0;
box-shadow: none;
transform: none;
filter: none;
outline: 2px solid rgba(255, 255, 255, 0.62);
outline-offset: 2px;
}
.channel-menu-item::before,
.channel-menu-item::after {
background: transparent;
background-image: none;
border-color: transparent;
box-shadow: none;
}
.channel-menu-icon {
width: 18px;
height: 18px;
min-width: 18px;
flex: 0 0 18px;
object-fit: contain;
color: #65b7ff;
filter: drop-shadow(0 0 5px rgba(39, 141, 255, 0.28));
}
.channel-menu-item.destructive {
color: #ffb7c5;
background: transparent;
}
.channel-menu-item.destructive:hover,
.channel-menu-item.destructive:active {
color: #ffffff;
}
.channel-menu-item.destructive:active {
background: rgba(0, 0, 0, 0.12);
}
.channel-menu-item.destructive:focus-visible {
color: #ffb7c5;
background: rgba(var(--shine-action-blue-rgb), 0.12);
}
/* Channel message likes: compact popup + full user list modal. */
.channel-like-popup-layer,
.channel-likes-modal-overlay {
position: fixed;
inset: 0;
z-index: 1600;
background: rgba(5, 9, 18, 0.26);
}
.channel-like-popup {
position: fixed;
z-index: 1601;
left: 50%;
top: clamp(72px, 18vh, 180px);
transform: translateX(-50%);
padding: 14px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 18px;
background: rgba(20, 27, 44, 0.96);
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}
.channel-like-popup__title {
margin-bottom: 10px;
font-weight: 700;
font-size: 15px;
}
.channel-like-popup__counts {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.channel-like-count {
min-width: 0;
padding: 10px 6px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
background: rgba(255, 255, 255, 0.05);
color: inherit;
display: flex;
flex-direction: column;
gap: 3px;
align-items: center;
}
.channel-like-count b { font-size: 18px; }
.channel-like-count span { font-size: 10px; opacity: .72; overflow-wrap: anywhere; }
.channel-like-popup__total {
padding: 10px 2px 8px;
font-size: 12px;
opacity: .75;
}
.channel-like-popup__action,
.channel-like-popup__close {
width: 100%;
min-height: 40px;
margin-top: 7px;
border-radius: 12px;
}
.channel-like-popup__close { opacity: .72; }
.channel-likes-modal-overlay {
display: flex;
align-items: center;
justify-content: center;
padding: 14px;
background: rgba(5, 9, 18, 0.58);
}
.channel-likes-modal {
width: min(560px, 100%);
max-height: min(720px, calc(100vh - 28px));
display: flex;
flex-direction: column;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
background: rgba(18, 25, 42, 0.98);
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
.channel-likes-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px 8px;
}
.channel-likes-modal__header h3 { margin: 0; }
.channel-likes-modal__close { font-size: 24px; min-width: 38px; min-height: 38px; }
.channel-likes-tabs {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
padding: 8px 12px 10px;
}
.channel-likes-tabs > button {
min-width: 0;
min-height: 40px;
padding-inline: 8px;
border-radius: 12px;
font-size: 11px;
}
.channel-likes-tabs > button.is-active {
background: rgba(255, 255, 255, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.channel-likes-tabs span { margin-left: 3px; opacity: .68; }
.channel-likes-modal__status {
min-height: 20px;
padding: 0 16px 8px;
font-size: 12px;
opacity: .7;
}
.channel-likes-modal__status.is-error { opacity: 1; }
.channel-likes-user-list {
overflow-y: auto;
padding: 0 10px 14px;
}
.channel-like-user-row {
width: 100%;
margin: 4px 0;
padding: 10px;
}
/* ===== Channel description ===== */
.channels-screen--channel-about {
padding-bottom: calc(22px + env(safe-area-inset-bottom));
}
.channel-about-card {
padding: 0;
overflow: hidden;
}
.channel-about-content {
gap: 0;
}
.channel-about-hero {
display: grid;
justify-items: center;
gap: 6px;
padding: 26px 20px 22px;
text-align: center;
}
.channel-about-avatar-slot {
margin-bottom: 8px;
}
.channel-about-avatar.channel-profile-avatar {
box-shadow: 0 12px 32px rgba(3, 8, 18, 0.34);
}
.channel-about-title {
margin: 0;
color: rgba(255, 255, 255, 0.97);
font-size: clamp(24px, 7vw, 32px);
line-height: 1.12;
font-weight: 760;
overflow-wrap: anywhere;
}
.channel-about-technical {
color: rgba(196, 210, 238, 0.72);
font-size: 14px;
line-height: 1.35;
overflow-wrap: anywhere;
}
.channel-about-subscribers {
color: rgba(170, 190, 226, 0.68);
font-size: 14px;
line-height: 1.35;
}
.channel-about-section {
display: grid;
gap: 10px;
padding: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.065);
}
.channel-about-section h3 {
margin: 0;
color: rgba(255, 218, 135, 0.92);
font-size: 14px;
font-weight: 700;
}
.channel-about-description {
margin: 0;
color: rgba(235, 241, 255, 0.92);
font-size: 16px;
line-height: 1.58;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.channel-about-owner-link {
display: grid;
gap: 3px;
justify-items: start;
width: 100%;
padding: 0;
border: 0;
background: transparent;
color: inherit;
text-align: left;
cursor: pointer;
}
.channel-about-owner-link strong {
color: rgba(255, 255, 255, 0.96);
font-size: 16px;
line-height: 1.3;
}
.channel-about-owner-link span {
color: rgba(176, 198, 234, 0.72);
font-size: 13px;
line-height: 1.3;
}
.channel-about-owner-link:hover strong,
.channel-about-owner-link:focus-visible strong {
color: #f4dca6;
}
.channel-about-owner-link:focus-visible {
outline: 2px solid rgba(244, 220, 166, 0.52);
outline-offset: 5px;
border-radius: 8px;
}
.channel-about-support-btn {
width: 100%;
min-height: 44px;
margin-top: 2px;
}
.channel-about-link-box {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
min-height: 48px;
padding: 10px 10px 10px 12px;
border: 1px solid rgba(137, 168, 220, 0.14);
border-radius: 12px;
background: rgba(7, 15, 29, 0.38);
}
.channel-about-link-box a,
.channel-about-link-box span {
color: rgba(169, 215, 255, 0.95);
font-size: 13px;
line-height: 1.45;
overflow-wrap: anywhere;
word-break: break-word;
}
.channel-about-copy-btn {
width: 38px;
min-width: 38px;
height: 38px;
min-height: 38px;
padding: 0;
display: inline-grid;
place-items: center;
font-size: 19px;
}
.channel-about-open-btn,
.channel-about-subscription-btn {
margin: 18px 20px 0;
min-height: 48px;
}
.channel-about-subscription-btn {
margin-top: 12px;
margin-bottom: 20px;
}
.channel-about-subscription-btn.is-unsubscribe {
border: 1px solid rgba(255, 91, 105, 0.68);
background: rgba(181, 43, 56, 0.92);
color: #fff;
}
.channel-about-subscription-btn.is-unsubscribe:hover,
.channel-about-subscription-btn.is-unsubscribe:focus-visible {
background: rgba(205, 49, 63, 0.98);
}
.channel-about-open-btn:last-child {
margin-bottom: 20px;
}
/* ===== Channel unsubscribe confirmation ===== */
#channel-unsubscribe-confirm-modal {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
#channel-unsubscribe-confirm-modal .channel-unsubscribe-confirm-card {
width: min(100%, 390px);
gap: 14px;
padding: 20px;
}
.channel-unsubscribe-confirm-card .modal-title {
margin: 0;
}
.channel-unsubscribe-confirm-text {
margin: 0;
line-height: 1.5;
}
.channel-unsubscribe-confirm-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.channel-unsubscribe-confirm-actions button {
min-height: 44px;
}
.channel-unsubscribe-confirm-yes {
border: 1px solid rgba(255, 91, 105, 0.68);
background: rgba(181, 43, 56, 0.92);
color: #fff;
}
.channel-unsubscribe-confirm-yes:hover,
.channel-unsubscribe-confirm-yes:focus-visible {
background: rgba(205, 49, 63, 0.98);
}
/* ===== Channel support transfer ===== */
#channel-support-modal {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
#channel-support-modal .channel-support-modal-card {
width: min(100%, 430px);
max-height: min(88vh, 720px);
overflow-y: auto;
gap: 9px;
padding: 20px;
}
.channel-support-modal-head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: start;
margin-bottom: 4px;
}
.channel-support-modal-head .modal-title {
margin: 0 0 3px;
}
.channel-support-subtitle {
margin: 0;
overflow-wrap: anywhere;
}
.channel-support-close {
width: 38px;
min-width: 38px;
height: 38px;
min-height: 38px;
padding: 0;
display: inline-grid;
place-items: center;
font-size: 24px;
line-height: 1;
}
.channel-support-address {
min-height: 36px;
padding: 8px 10px;
border-radius: 10px;
background: rgba(5, 11, 23, 0.44);
color: rgba(186, 215, 255, 0.8);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 11px;
line-height: 1.45;
overflow-wrap: anywhere;
word-break: break-all;
}
.channel-support-balance-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
min-height: 44px;
}
.channel-support-balance-row strong {
color: rgba(255, 255, 255, 0.94);
text-align: right;
}
.channel-support-refresh {
min-height: 36px;
padding-block: 6px;
}
.channel-support-amount-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
}
.channel-support-amount-row span {
color: rgba(232, 239, 255, 0.82);
font-weight: 700;
}
.channel-support-status {
min-height: 18px;
margin: 2px 0 0;
color: rgba(192, 207, 236, 0.76);
}
.channel-support-status.is-error {
color: #ff9fa8;
}
.channel-support-result {
display: grid;
gap: 5px;
padding: 10px 12px;
border: 1px solid rgba(130, 227, 164, 0.18);
border-radius: 12px;
background: rgba(44, 105, 67, 0.15);
}
.channel-support-result[hidden] {
display: none;
}
.channel-support-result strong {
color: #c9f2d8;
}
.channel-support-result span,
.channel-support-result code {
color: rgba(220, 236, 255, 0.82);
font-size: 12px;
overflow-wrap: anywhere;
word-break: break-all;
}
.channel-support-submit {
min-height: 48px;
margin-top: 4px;
}
@media (max-width: 420px) {
.channel-about-section {
padding-inline: 16px;
}
.channel-about-open-btn,
.channel-about-subscription-btn {
margin-inline: 16px;
}
.channel-support-balance-row {
grid-template-columns: 1fr auto;
}
.channel-support-balance-row .meta-muted {
grid-column: 1 / -1;
}
}
/* ===== Channel donation view ===== */
.channels-screen--channel-donate {
padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.channel-donate-card {
width: min(100%, 680px);
margin-inline: auto;
padding: 0;
overflow: hidden;
}
.channel-donate-content {
gap: 0;
}
.channel-donate-hero {
display: grid;
justify-items: center;
gap: 5px;
padding: 28px 20px 24px;
text-align: center;
}
.channel-donate-hero h2 {
margin: 0 0 4px;
color: rgba(255, 255, 255, 0.97);
font-size: clamp(24px, 7vw, 31px);
line-height: 1.12;
font-weight: 760;
}
.channel-donate-hero strong {
color: rgba(255, 230, 169, 0.94);
font-size: 17px;
overflow-wrap: anywhere;
}
.channel-donate-hero span {
color: rgba(176, 198, 234, 0.72);
font-size: 13px;
line-height: 1.4;
overflow-wrap: anywhere;
}
.channel-donate-section {
display: grid;
gap: 9px;
padding: 18px 20px;
border-top: 1px solid rgba(255, 255, 255, 0.065);
}
.channel-donate-address {
min-height: 38px;
padding: 9px 10px;
border-radius: 10px;
background: rgba(5, 11, 23, 0.44);
color: rgba(186, 215, 255, 0.82);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 11px;
line-height: 1.45;
overflow-wrap: anywhere;
word-break: break-all;
}
.channel-donate-balance-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
min-height: 44px;
margin-top: 3px;
}
.channel-donate-balance-row strong {
color: rgba(255, 255, 255, 0.94);
text-align: right;
}
.channel-donate-refresh {
min-height: 36px;
padding-block: 6px;
}
.channel-donate-amount-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
}
.channel-donate-amount-row span {
color: rgba(232, 239, 255, 0.82);
font-weight: 700;
}
.channel-donate-status {
min-height: 18px;
margin: 14px 20px 0;
color: rgba(192, 207, 236, 0.76);
}
.channel-donate-status.is-error {
color: #ff9fa8;
}
.channel-donate-result {
display: grid;
gap: 6px;
margin: 12px 20px 0;
padding: 12px 14px;
border: 1px solid rgba(130, 227, 164, 0.18);
border-radius: 12px;
background: rgba(44, 105, 67, 0.15);
}
.channel-donate-result[hidden] {
display: none;
}
.channel-donate-result strong {
color: #c9f2d8;
}
.channel-donate-result span,
.channel-donate-result code {
color: rgba(220, 236, 255, 0.82);
font-size: 12px;
overflow-wrap: anywhere;
word-break: break-all;
}
.channel-donate-submit {
min-height: 50px;
margin: 16px 20px 22px;
}
@media (max-width: 420px) {
.channel-donate-section {
padding-inline: 16px;
}
.channel-donate-status,
.channel-donate-result,
.channel-donate-submit {
margin-inline: 16px;
}
.channel-donate-balance-row {
grid-template-columns: 1fr auto;
}
.channel-donate-balance-row .meta-muted {
grid-column: 1 / -1;
}
}