/* Auto-generated group chat profile styles — keep in sync via scripts/generate-gc-profile-css.mjs */
/* Group chat profile modal — mirrored from channel profile */
#groupChatProfileModal .gcs-modal.group-chat-profile-modal{
  width: min(1000px, calc(100vw - 64px));
  height: min(620px, calc(100vh - 48px));
  max-height: min(620px, calc(100vh - 48px));
  grid-template-columns: 330px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 26px;
}#groupChatProfileModal .gcs-modal__main.group-chat-profile-main{
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}#groupChatProfileModal .group-chat-profile-sheet.is-active,
#groupChatProfileModal .gcs-sheet.group-chat-profile-sheet.is-active{
  overflow-y: hidden;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 20px 12px;
}#groupChatProfileModal .group-chat-profile-sheet:not(.is-active),
#groupChatProfileModal .gcs-sheet.group-chat-profile-sheet:not(.is-active){
  display: none !important;
}#groupChatProfileModal .group-chat-profile-sheet[data-group-chat-profile-sheet="media"]{
  overflow-y: auto;
  max-height: calc(min(620px, calc(100vh - 48px)) - 72px);
}#groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap.group-chat-profile-avatar--clickable{
  cursor: zoom-in;
}#groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap.group-chat-profile-avatar--clickable:hover{
  filter: brightness(1.04);
}#groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap.group-chat-profile-avatar--static{
  cursor: default;
}#groupChatProfileModal .group-chat-profile-info-card__desc-btn{
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}#groupChatProfileModal .group-chat-profile-info-card__desc-btn:hover .group-chat-profile-info-card__desc,
#groupChatProfileModal .group-chat-profile-info-card__desc-btn:hover .group-chat-profile-info-card__read-more{
  color: rgba(226, 235, 250, 0.98);
}#groupChatProfileModal .group-chat-profile-info-card__read-more{
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  color: rgba(147, 197, 253, 0.92);
}#groupChatProfileModal .group-chat-profile-side-card--clickable{
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}#groupChatProfileModal .group-chat-profile-side-card--clickable:hover{
  border-color: rgba(147, 197, 253, 0.34);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.028) 100%);
  transform: translateY(-1px);
}#groupChatProfileModal .group-chat-profile-pinned-preview{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding-right: 0;
  margin: 0;
}#groupChatProfileModal .group-chat-profile-pinned-card{
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-pinned-card__icon{
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(147, 197, 253, 0.92);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08);
}#groupChatProfileModal .group-chat-profile-pinned-card__icon svg{
  width: 18px;
  height: 18px;
}#groupChatProfileModal .group-chat-profile-pinned-card__main{
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 18px;
}#groupChatProfileModal .group-chat-profile-pinned-card__title{
  margin: 0 0 4px;
}#groupChatProfileModal .group-chat-profile-pinned-card--empty .group-chat-profile-pinned-preview{
  color: rgba(154, 171, 197, 0.78);
}#groupChatProfileModal .group-chat-profile-rules-card{
  position: relative;
}#groupChatProfileModal .group-chat-profile-side-card__chevron{
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: rgba(154, 171, 197, 0.72);
  pointer-events: none;
}#groupChatProfileModal .group-chat-profile-links-card.hidden{
  display: none !important;
}#groupChatProfileModal .group-chat-profile-footer{
  min-height: 72px;
  height: 72px;
}.group-chat-profile-text-modal{
  width: min(520px, calc(100vw - 32px));
  max-height: min(420px, calc(100vh - 48px));
  border-radius: 20px;
  border: 1px solid rgba(132, 170, 224, 0.28);
  background: linear-gradient(155deg, rgba(13, 25, 44, 0.98) 0%, rgba(10, 21, 38, 0.96) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  padding: 0 0 18px;
  overflow: hidden;
}.group-chat-profile-text-modal__body{
  padding: 0 22px 4px;
  max-height: min(320px, calc(100vh - 160px));
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.58;
  color: rgba(226, 235, 250, 0.94);
  white-space: pre-wrap;
  word-break: break-word;
}#groupChatProfileModal .gcs-modal__sidebar.group-chat-profile-sidebar{
  padding: 28px 22px 16px;
  gap: 8px;
  width: 330px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}#groupChatProfileModal .group-chat-profile-sidebar__hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  text-align: center;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap{
  width: 136px;
  height: 136px;
  flex: 0 0 136px;
  padding: 5px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #38bdf8 0%, #6366f1 52%, #a855f7 100%);
  box-shadow:
    0 0 0 1px rgba(147, 197, 253, 0.18),
    0 0 36px rgba(56, 189, 248, 0.38),
    0 0 52px rgba(139, 92, 246, 0.28);
}#groupChatProfileModal .group-chat-profile-sidebar__title{
  margin: 4px 0 0;
  text-align: center;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.015em;
  max-width: 100%;
}#groupChatProfileModal .group-chat-profile-sidebar__handle{
  margin: 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
  color: rgba(198, 211, 233, 0.84);
}#groupChatProfileModal .group-chat-profile-sidebar__status{
  margin-top: 2px;
}#groupChatProfileModal .group-chat-profile-sidebar__members{
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: rgba(214, 226, 246, 0.9);
}#groupChatProfileModal .group-chat-profile-sidebar__actions{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
  padding: 0 2px;
}#groupChatProfileModal .group-chat-profile-sidebar__actions .gcs-btn{
  width: 100%;
  min-height: 50px;
  height: 50px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
}#groupChatProfileModal .group-chat-profile-sidebar__actions .gcs-btn--save{
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.28);
}#groupChatProfileModal .group-chat-profile-notification-btn{
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(132, 170, 224, 0.18);
  background: rgba(20, 32, 55, 0.75);
  color: #d7deee;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}#groupChatProfileModal .group-chat-profile-notification-btn:hover:not(:disabled){
  background: rgba(40, 55, 90, 0.85);
  border-color: rgba(132, 170, 224, 0.35);
}#groupChatProfileModal .group-chat-profile-notification-btn.is-active{
  background: rgba(88, 70, 220, 0.18);
  border-color: rgba(120, 110, 255, 0.45);
  color: #b8b5ff;
}#groupChatProfileModal .group-chat-profile-notification-btn.is-active:hover:not(:disabled){
  background: rgba(88, 70, 220, 0.24);
  border-color: rgba(120, 110, 255, 0.55);
}#groupChatProfileModal .group-chat-profile-notification-btn .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}#groupChatProfileModal .group-chat-profile-notification-btn .icon svg{
  width: 20px;
  height: 20px;
}#groupChatProfileModal .group-chat-profile-notification-btn .icon.bell{
  display: none;
}#groupChatProfileModal .group-chat-profile-notification-btn.is-active .icon.bell-off{
  display: none;
}#groupChatProfileModal .group-chat-profile-notification-btn.is-active .icon.bell{
  display: inline-flex;
}#groupChatProfileModal .group-chat-profile-nav{
  margin-top: auto;
  flex: 0 0 auto;
  min-height: 0;
  padding-top: 8px;
}#groupChatProfileModal .group-chat-profile-nav .gcs-nav__btn{
  min-height: 46px;
  border-radius: 14px;
}#groupChatProfileModal .group-chat-profile-nav .gcs-nav__btn.is-active{
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28) 0%, rgba(139, 92, 246, 0.22) 100%);
  border-color: rgba(129, 140, 248, 0.34);
}#groupChatProfileModal .group-chat-profile-sheet{
  padding: 16px 20px 12px;
  flex: 1 1 auto;
}#groupChatProfileModal .group-chat-profile-sheet[data-group-chat-profile-sheet="overview"]{
  overflow-y: hidden;
  justify-content: flex-start;
}#groupChatProfileModal .group-chat-profile-sheet[data-group-chat-profile-sheet="media"]{
  overflow-y: auto;
  max-height: calc(min(620px, calc(100vh - 48px)) - 72px);
}#groupChatProfileModal .group-chat-profile-sheet .gcs-sheet__head{
  margin-bottom: 10px;
  flex: 0 0 auto;
}#groupChatProfileModal .group-chat-profile-sheet .gcs-sheet__title{
  font-size: 22px;
  font-weight: 750;
  line-height: 1.15;
}#groupChatProfileModal .group-chat-profile-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: start;
  align-content: start;
  width: 100%;
  flex: 0 1 auto;
  min-height: 0;
}#groupChatProfileModal .group-chat-profile-primary-col{
  display: contents;
}#groupChatProfileModal .group-chat-profile-info-card{
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(132, 158, 203, 0.16);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.022) 100%);
  padding: 18px 20px 16px;
  display: block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}#groupChatProfileModal .group-chat-profile-info-card__title{
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.15;
  color: rgba(245, 248, 255, 0.96);
}#groupChatProfileModal .group-chat-profile-info-card__title-primary,
#groupChatProfileModal .group-chat-profile-info-card__title-secondary{
  display: block;
}#groupChatProfileModal .group-chat-profile-info-card__title-secondary:empty{
  display: none;
}#groupChatProfileModal .group-chat-profile-info-card__handle{
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(191, 219, 254, 0.9);
}#groupChatProfileModal .group-chat-profile-info-card__desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(210, 223, 244, 0.88);
  max-width: none;
}#groupChatProfileModal .group-chat-profile-stats{
  display: grid;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-stats--overview{
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 272px;
  margin-top: 0;
  align-self: stretch;
  align-items: stretch;
  justify-self: stretch;
  min-height: 0;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card{
  min-height: 0;
  height: 100%;
  padding: 10px 8px 8px;
  border-radius: 14px;
  gap: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__icon{
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: 0 0 30px;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__icon svg{
  width: 15px;
  height: 15px;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__content{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__value{
  font-size: 20px;
  line-height: 1.05;
  margin: 0;
  min-height: 21px;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__value--small{
  font-size: 11px;
  line-height: 1.15;
  margin: 0;
  min-height: 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}#groupChatProfileModal .group-chat-profile-stats--overview .group-chat-profile-stat-card__label{
  margin: 0;
  font-size: 10px;
  line-height: 1.15;
}#groupChatProfileModal .group-chat-profile-stats--side{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 0;
  align-items: stretch;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card{
  min-height: 88px;
  height: 88px;
  padding: 10px 8px 8px;
  border-radius: 14px;
  gap: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__icon{
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: 0 0 30px;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__icon svg{
  width: 15px;
  height: 15px;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__content{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__value{
  font-size: 20px;
  line-height: 1.05;
  margin: 0;
  min-height: 21px;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__value--small{
  font-size: 11px;
  line-height: 1.15;
  margin: 0;
  min-height: 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}#groupChatProfileModal .group-chat-profile-stats--side .group-chat-profile-stat-card__label{
  margin: 0;
  font-size: 10px;
  line-height: 1.15;
}#groupChatProfileModal .group-chat-profile-stats--analytics{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}#groupChatProfileModal .group-chat-profile-stat-card--analytics{
  min-height: 108px;
  height: auto;
  padding: 18px 16px 16px;
  align-items: stretch;
  justify-content: center;
}#groupChatProfileModal .group-chat-profile-stat-card--analytics .group-chat-profile-stat-card__value{
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.05;
}#groupChatProfileModal .group-chat-profile-stat-card--analytics .group-chat-profile-stat-card__label{
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.2;
}#groupChatProfileModal .group-chat-profile-stats-created{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(132, 158, 203, 0.14);
  background: rgba(255, 255, 255, 0.028);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}#groupChatProfileModal .group-chat-profile-stats-created__label{
  font-size: 13px;
  font-weight: 600;
  color: rgba(154, 171, 197, 0.82);
}#groupChatProfileModal .group-chat-profile-stats-created__value{
  font-size: 14px;
  font-weight: 700;
  color: rgba(245, 248, 255, 0.94);
  white-space: nowrap;
}#groupChatProfileModal .group-chat-profile-stats--extended{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}#groupChatProfileModal .group-chat-profile-stat-card--optional.hidden{
  display: none !important;
}#groupChatProfileModal .group-chat-profile-subscribers{
  display: grid;
  gap: 14px;
}#groupChatProfileModal .group-chat-profile-subscribers__search{
  margin: 0;
}#groupChatProfileModal .group-chat-profile-subscribers__status{
  margin: 0;
  min-height: 20px;
}#groupChatProfileModal .group-chat-profile-subscribers__list{
  display: grid;
  gap: 8px;
}#groupChatProfileModal .group-chat-profile-subscriber-row{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(132, 158, 203, 0.14);
  background: rgba(255, 255, 255, 0.028);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}#groupChatProfileModal .group-chat-profile-subscriber-row:hover{
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(147, 197, 253, 0.32);
  transform: translateY(-1px);
}#groupChatProfileModal .group-chat-profile-subscriber-row__avatar{
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.24);
  color: rgba(226, 235, 250, 0.94);
  overflow: hidden;
}#groupChatProfileModal .group-chat-profile-subscriber-row__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}#groupChatProfileModal .group-chat-profile-subscriber-row__text{
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}#groupChatProfileModal .group-chat-profile-subscriber-row__name{
  font-size: 15px;
  font-weight: 650;
  color: rgba(245, 248, 255, 0.96);
  line-height: 1.2;
}#groupChatProfileModal .group-chat-profile-subscriber-row__meta{
  font-size: 12px;
  color: rgba(154, 171, 197, 0.78);
}#groupChatProfileModal .group-chat-profile-stat-card{
  min-height: 120px;
  height: 120px;
  border-radius: 16px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(132, 158, 203, 0.14);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}#groupChatProfileModal .group-chat-profile-stat-card__icon{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.26);
  color: rgba(191, 219, 254, 0.92);
}#groupChatProfileModal .group-chat-profile-stat-card__icon svg{
  width: 20px;
  height: 20px;
}#groupChatProfileModal .group-chat-profile-stat-card__content{
  min-width: 0;
  width: 100%;
}#groupChatProfileModal .group-chat-profile-stat-card__label{
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(154, 171, 197, 0.78);
  line-height: 1.2;
}#groupChatProfileModal .group-chat-profile-stat-card__value{
  margin: 0;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.05;
  color: rgba(245, 248, 255, 0.96);
}#groupChatProfileModal .group-chat-profile-stat-card__value--small{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.01em;
}#groupChatProfileModal .group-chat-profile-media{
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  border: 1px solid rgba(132, 158, 203, 0.16);
  border-radius: 18px;
  padding: 10px 12px 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.018) 100%);
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}#groupChatProfileModal .group-chat-profile-media__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 24px;
}#groupChatProfileModal .group-chat-profile-media__head .gcs-section-title{
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}#groupChatProfileModal .group-chat-profile-media__show-all{
  color: rgba(191, 219, 254, 0.92);
  font-size: 13px;
  font-weight: 650;
  padding: 0;
  min-height: 0;
  height: auto;
}#groupChatProfileModal .group-chat-profile-media__grid{
  margin-top: 4px;
}#groupChatProfileModal .group-chat-profile-media__grid.hidden{
  display: none !important;
}#groupChatProfileModal .group-chat-profile-media__empty{
  margin: 8px 0 0;
  padding: 4px 2px;
  font-size: 13px;
  color: rgba(154, 171, 197, 0.78);
}#groupChatProfileModal .group-chat-profile-media__empty.hidden{
  display: none !important;
}#groupChatProfileModal .group-chat-profile-media__thumb{
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}#groupChatProfileModal .group-chat-profile-media__thumb img,
#groupChatProfileModal .group-chat-profile-media__thumb video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}.group-chat-profile-open-trigger{
  cursor: pointer;
}.channel-rail-item .group-chat-profile-open-trigger:hover{
  color: rgba(191, 219, 254, 0.96);
}.olone-chat-header__avatar.group-chat-profile-open-trigger,
.olone-chat-header__title.group-chat-profile-open-trigger{
  cursor: pointer;
}#groupChatProfileModal .group-chat-profile-sidebar__title.group-chat-profile-open-trigger:hover,
#groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap.group-chat-profile-open-trigger:hover{
  opacity: 0.92;
}#groupChatProfileModal .group-chat-profile-media__item{
  height: 96px;
  min-height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  background: var(--group-chat-profile-media-bg, rgba(255, 255, 255, 0.04));
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 180ms ease, filter 160ms ease;
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.2);
}#groupChatProfileModal .group-chat-profile-media__item:hover{
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 32px rgba(15, 23, 42, 0.38);
  filter: brightness(1.06);
}#groupChatProfileModal .group-chat-profile-media__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}#groupChatProfileModal .group-chat-profile-media__item::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
  pointer-events: none;
  z-index: 1;
}#groupChatProfileModal .group-chat-profile-media__item::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 8, 23, 0.42));
  pointer-events: none;
  z-index: 2;
}#groupChatProfileModal [data-group-chat-profile-sheet="overview"] .group-chat-profile-media__item--placeholder,
#groupChatProfileModal [data-group-chat-profile-sheet="overview"] .channel-media__card--placeholder{
  display: none !important;
}#groupChatProfileModal .group-chat-profile-media__item--placeholder{
  background: var(--group-chat-profile-media-bg, linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(15, 23, 42, 0.24)));
}#groupChatProfileModal .group-chat-profile-media__ph{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(191, 219, 254, 0.62);
  z-index: 3;
}#groupChatProfileModal .group-chat-profile-media__ph svg{
  width: 30px;
  height: 30px;
  opacity: 0.82;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.35));
}#groupChatProfileModal .group-chat-profile-side-cards{
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: stretch;
  align-self: start;
  min-width: 0;
  width: 272px;
  max-width: 272px;
  min-height: 0;
}#groupChatProfileModal .group-chat-profile-side-card--clickable{
  appearance: none;
  display: block;
  font: inherit;
  color: inherit;
}#groupChatProfileModal .group-chat-profile-side-card{
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.034) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(132, 158, 203, 0.14);
  padding: 14px 14px 12px;
  min-height: 96px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}#groupChatProfileModal .group-chat-profile-side-card .gcs-empty__title{
  font-size: 15px;
  margin-bottom: 4px;
}#groupChatProfileModal .group-chat-profile-link-btn{
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 10px 12px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 6px;
  border-radius: 14px;
  flex-direction: column;
  gap: 4px;
}#groupChatProfileModal .group-chat-profile-link-btn span{
  font-size: 13px;
  color: rgba(154, 171, 197, 0.82);
}#groupChatProfileModal .group-chat-profile-link-btn strong,
#groupChatProfileModal .group-chat-profile-link-btn__label{
  color: rgba(236, 242, 255, 0.96);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}#groupChatProfileModal .group-chat-profile-link-btn__label::after{
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.72;
}#groupChatProfileModal .group-chat-profile-contact-card{
  margin-top: 8px;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(132, 158, 203, 0.14);
  background: rgba(255, 255, 255, 0.025);
  min-height: 56px;
}#groupChatProfileModal .group-chat-profile-contact-card p{
  margin: 0;
  color: rgba(154, 171, 197, 0.78);
  font-size: 13px;
}#groupChatProfileModal .group-chat-profile-contact-card strong{
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: rgba(236, 242, 255, 0.96);
}#groupChatProfileModal .group-chat-profile-side-card .gcs-empty__text{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(210, 223, 244, 0.86);
}#groupChatProfileModal .group-chat-profile-footer{
  min-height: 72px;
  height: 72px;
  justify-content: flex-end;
}#groupChatProfileModal .group-chat-profile-footer .gcs-footer__left{
  display: none;
}#groupChatProfileModal .group-chat-profile-footer .gcs-footer__right{
  margin-left: auto;
}#groupChatProfileModal .group-chat-profile-footer .gcs-footer__right .gcs-btn{
  height: 46px;
  min-height: 46px;
}@media (max-width: 1400px){
  #groupChatProfileModal .group-chat-profile-sheet {
    padding: 18px 20px 14px;
  }

  #groupChatProfileModal .group-chat-profile-info-card {
    padding: 16px 18px;
  }

  #groupChatProfileModal .group-chat-profile-side-card {
    min-height: 100px;
    padding: 14px;
  }
}@media (max-width: 1099px){
  #groupChatProfileModal .group-chat-profile-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #groupChatProfileModal .group-chat-profile-info-card,
  #groupChatProfileModal .group-chat-profile-media,
  #groupChatProfileModal .group-chat-profile-side-cards,
  #groupChatProfileModal .group-chat-profile-stats--overview {
    grid-column: 1;
    grid-row: auto;
  }

  #groupChatProfileModal .group-chat-profile-side-cards {
    width: 100%;
    max-width: none;
  }

  #groupChatProfileModal .group-chat-profile-stats--overview {
    max-width: none;
  }
}@media (max-width: 767px){
  #groupChatProfileModal.gcs-modal-backdrop {
    padding: 10px;
    align-items: stretch;
  }

  #groupChatProfileModal .gcs-modal.group-chat-profile-modal {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    border-radius: 20px;
  }

  #groupChatProfileModal .gcs-modal__sidebar.group-chat-profile-sidebar {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    max-width: none;
    padding: 14px 14px 8px;
    flex-shrink: 0;
  }

  #groupChatProfileModal .gcs-modal__main.group-chat-profile-main {
    grid-row: 2;
    grid-column: 1;
    min-height: 0;
    overflow: hidden;
  }

  #groupChatProfileModal .group-chat-profile-sheet,
  #groupChatProfileModal .gcs-sheet.group-chat-profile-sheet {
    padding: 12px 14px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
  }

  #groupChatProfileModal .group-chat-profile-sheet[data-group-chat-profile-sheet="overview"] {
    overflow-y: auto;
    overflow-x: hidden;
  }

  #groupChatProfileModal .group-chat-profile-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    overflow-x: hidden;
    min-width: 0;
  }

  #groupChatProfileModal .group-chat-profile-info-card,
  #groupChatProfileModal .group-chat-profile-media,
  #groupChatProfileModal .group-chat-profile-side-cards,
  #groupChatProfileModal .group-chat-profile-stats--overview {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  #groupChatProfileModal .group-chat-profile-side-cards {
    margin-top: 0;
  }

  #groupChatProfileModal .group-chat-profile-stats--overview {
    max-width: none;
  }

  #groupChatProfileModal .group-chat-profile-stats--overview,
  #groupChatProfileModal .group-chat-profile-stats--side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  #groupChatProfileModal .group-chat-profile-footer {
    grid-row: 3;
    grid-column: 1;
    min-height: 56px;
    height: auto;
    padding: 10px 12px;
    flex-shrink: 0;
  }

  #groupChatProfileModal .group-chat-profile-footer .gcs-footer__right {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  #groupChatProfileModal .group-chat-profile-footer .gcs-footer__right .gcs-btn {
    flex: 1 1 0;
    min-height: 44px;
    height: 44px;
    width: auto;
  }

  #groupChatProfileModal .group-chat-profile-sidebar__avatar-wrap {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  #groupChatProfileModal .group-chat-profile-sidebar__actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
  }

  #groupChatProfileModal .group-chat-profile-sidebar__actions .gcs-btn {
    min-height: 44px;
    height: 44px;
    font-size: 14px;
  }

  #groupChatProfileModal .group-chat-profile-nav {
    flex-direction: row;
    margin-top: 6px;
    padding-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 2px;
  }

  #groupChatProfileModal .group-chat-profile-nav .gcs-nav__btn {
    min-width: max-content;
    min-height: 40px;
    padding: 0 12px;
  }

  #groupChatProfileModal .group-chat-profile-nav .gcs-nav__icon {
    display: none;
  }

  #groupChatProfileModal .group-chat-profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #groupChatProfileModal .group-chat-profile-media__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #groupChatProfileModal .group-chat-profile-info-card {
    padding: 14px 16px 12px;
  }

  #groupChatProfileModal .group-chat-profile-info-card__title {
    font-size: 16px;
  }
}#groupChatProfileModal .group-chat-profile-info-page{
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
}#groupChatProfileModal .group-chat-profile-info-block{
  border: 1px solid rgba(132, 158, 203, 0.16);
  border-radius: 18px;
  padding: 20px 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.018) 100%);
}#groupChatProfileModal .group-chat-profile-info-block .gcs-section-title{
  margin: 0 0 12px;
  font-size: 16px;
}#groupChatProfileModal .group-chat-profile-info-block__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
  white-space: pre-wrap;
}#groupChatProfileModal .group-chat-profile-info-block__links{
  display: flex;
  flex-direction: column;
  gap: 12px;
}#groupChatProfileModal .group-chat-profile-info-block__empty{
  margin: 0;
  color: rgba(154, 171, 197, 0.78);
}/* Avatar crop modal — same gcs shell, single-column layout (no sidebar). */
#avatarCropModal .gcs-modal.avatar-crop-gcs-modal{
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
}#avatarCropModal .avatar-crop-gcs-modal__main{
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}#avatarCropModal .avatar-crop-gcs-modal__sheet{
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}#avatarCropModal .avatar-crop-gcs-modal__body{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: min(560px, 100%);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
}#avatarCropModal .avatar-crop-gcs-modal__preview{
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}#avatarCropModal .avatar-crop-canvas{
  width: min(420px, 100%);
  max-width: 100%;
  aspect-ratio: 1;
  height: auto;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 16px;
  border: 1px solid rgba(134, 164, 210, 0.22);
  background: #000;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}#avatarCropModal .avatar-crop-canvas:active{
  cursor: grabbing;
}#avatarCropModal .avatar-crop-gcs-modal__zoom-field{
  width: 100%;
  margin: 0;
}#avatarCropModal .avatar-crop-gcs-modal__zoom{
  width: 100%;
  accent-color: #518fff;
  margin-top: 8px;
}#avatarCropModal .avatar-crop-hint{
  margin: 0;
  text-align: center;
}/* Channel description / pinned info modals — compact gcs shell over Channel Profile */

:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal).gcs-modal-backdrop{
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(10px) saturate(0.8);
  -webkit-backdrop-filter: blur(10px) saturate(0.8);
  transition: opacity 170ms ease;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal).gcs-modal-backdrop:not(.hidden){
  animation: gcsBackdropIn 180ms ease;
  z-index: 1300;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) .gcs-modal:is(:is(.channel-description-modal, .channel-pinned-info-modal, .group-chat-description-modal, .group-chat-pinned-info-modal)){
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 480px;
  min-height: 260px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(13, 25, 44, 0.96) 0%,
    rgba(10, 21, 38, 0.94) 48%,
    rgba(9, 18, 34, 0.97) 100%
  );
  border: 1px solid rgba(132, 170, 224, 0.28);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  color: #eef2ff;
  box-sizing: border-box;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) .gcs-modal:is(:is(.channel-description-modal, .channel-pinned-info-modal, .group-chat-description-modal, .group-chat-pinned-info-modal))::before{
  content: "";
  position: absolute;
  top: -18%;
  left: -8%;
  width: 52%;
  height: 48%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) .gcs-modal:is(:is(.channel-description-modal, .channel-pinned-info-modal, .group-chat-description-modal, .group-chat-pinned-info-modal))::after{
  content: "";
  position: absolute;
  bottom: -12%;
  left: 28%;
  width: 44%;
  height: 40%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) .gcs-modal:is(:is(.channel-description-modal, .channel-pinned-info-modal, .group-chat-description-modal, .group-chat-pinned-info-modal)) > *{
  position: relative;
  z-index: 1;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-header, .channel-pinned-info-header, .group-chat-description-header, .group-chat-pinned-info-header){
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 12px;
  flex: 0 0 auto;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-header__title, .channel-pinned-info-header__title, .group-chat-description-header__title, .group-chat-pinned-info-header__title){
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(245, 248, 255, 0.96);
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-close, .channel-pinned-info-close, .group-chat-description-close, .group-chat-pinned-info-close){
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(210, 223, 244, 0.82);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 36px;
  transition: color 140ms ease, background 140ms ease;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-close, .channel-pinned-info-close, .group-chat-description-close, .group-chat-pinned-info-close):hover{
  color: #f5f8ff;
  background: rgba(255, 255, 255, 0.04);
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-close, .channel-pinned-info-close, .group-chat-description-close, .group-chat-pinned-info-close):focus-visible{
  outline: 2px solid rgba(81, 143, 255, 0.72);
  outline-offset: 2px;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-close, .channel-pinned-info-close, .group-chat-description-close, .group-chat-pinned-info-close) svg{
  width: 20px;
  height: 20px;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-body, .channel-pinned-info-body, .group-chat-description-body, .group-chat-pinned-info-body){
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 22px 16px;
  overflow-y: auto;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-empty, .channel-pinned-info-empty, .group-chat-description-empty, .group-chat-pinned-info-empty){
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 12px 8px 8px;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-empty, .channel-pinned-info-empty, .group-chat-description-empty, .group-chat-pinned-info-empty).hidden{
  display: none !important;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-icon, .channel-pinned-info-icon, .group-chat-description-icon, .group-chat-pinned-info-icon){
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(147, 197, 253, 0.92);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.12),
    0 10px 28px rgba(59, 130, 246, 0.18);
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-icon, .channel-pinned-info-icon, .group-chat-description-icon, .group-chat-pinned-info-icon) svg{
  width: 28px;
  height: 28px;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-empty__title, .channel-pinned-info-empty__title, .group-chat-description-empty__title, .group-chat-pinned-info-empty__title){
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(236, 242, 255, 0.94);
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-empty__text, .channel-pinned-info-empty__text, .group-chat-description-empty__text, .group-chat-pinned-info-empty__text){
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(154, 171, 197, 0.82);
  max-width: 360px;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-content, .channel-pinned-info-content, .group-chat-description-content, .group-chat-pinned-info-content){
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(226, 235, 250, 0.94);
  white-space: pre-wrap;
  word-break: break-word;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-content, .channel-pinned-info-content, .group-chat-description-content, .group-chat-pinned-info-content).hidden{
  display: none !important;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-footer, .channel-pinned-info-footer, .group-chat-description-footer, .group-chat-pinned-info-footer){
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 22px 20px;
  flex: 0 0 auto;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-footer__btn, .channel-pinned-info-footer__btn, .group-chat-description-footer__btn, .group-chat-pinned-info-footer__btn){
  height: 42px;
  min-width: 108px;
  padding: 0 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(134, 164, 210, 0.18);
  color: rgba(226, 235, 250, 0.92);
  font-size: 15px;
  font-weight: 600;
}:is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-footer__btn, .channel-pinned-info-footer__btn, .group-chat-description-footer__btn, .group-chat-pinned-info-footer__btn):hover:not(:disabled){
  background: rgba(255, 255, 255, 0.055);
}@media (max-width: 520px){
  :is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) .gcs-modal:is(:is(.channel-description-modal, .channel-pinned-info-modal, .group-chat-description-modal, .group-chat-pinned-info-modal)) {
    width: calc(100vw - 24px);
    min-height: 260px;
  }

  :is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-header, .channel-pinned-info-header, .group-chat-description-header, .group-chat-pinned-info-header),
  :is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-body, .channel-pinned-info-body, .group-chat-description-body, .group-chat-pinned-info-body),
  :is(#channelDescriptionModal, #channelPinnedInfoModal, #groupChatDescriptionModal, #groupChatPinnedInfoModal) :is(.channel-description-footer, .channel-pinned-info-footer, .group-chat-description-footer, .group-chat-pinned-info-footer) {
    padding-left: 16px;
    padding-right: 16px;
  }
}#groupChatProfileModal .gcs-sidebar__avatar-inner .chat-icon-host,
#groupChatProfileModal .group-chat-profile-sidebar__avatar{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}#groupChatProfileModal .gcs-sidebar__avatar-inner .chat-icon-host .chat-icon,
#groupChatProfileModal .gcs-sidebar__avatar-inner .chat-icon-host img.chat-icon,
#groupChatProfileModal .gcs-sidebar__avatar-inner .chat-icon-host .chat-icon--svg-fallback{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}#groupChatProfileModal .gcs-sidebar__avatar-inner .rail-avatar-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}@media (max-width: 767px){
  #groupChatProfileModal.gcs-modal-backdrop {
    padding: 10px;
    align-items: stretch;
  }
}#groupChatProfileModal .group-chat-profile-media__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}#groupChatProfileModal .group-chat-profile-media__item{
  height: 96px;
  min-height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}#groupChatProfileModal .group-chat-profile-media__item img,
#groupChatProfileModal .group-chat-profile-media__item video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}@media (max-width: 767px){
  #groupChatProfileModal.gcs-modal-backdrop {
    padding: 10px;
    align-items: stretch;
  }
}/* GROUP CHAT PROFILE — MEMBERS POLISH V5 */

#groupChatProfileModal .group-chat-profile-invites-panel{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(132, 170, 224, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 34, 58, 0.58), rgba(8, 22, 42, 0.42)),
    rgba(14, 27, 47, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}#groupChatProfileModal .group-chat-profile-members-panel,
#groupChatSettingsModal .group-chat-profile-members-panel{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(132, 170, 224, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 137, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(17, 32, 56, 0.64), rgba(8, 22, 42, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 52px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}#groupChatProfileModal .group-chat-profile-sheet[data-gcp-sheet-panel="members"].is-active,
#groupChatProfileModal .group-chat-profile-sheet[data-gcp-sheet-panel="invites"].is-active{
  overflow: hidden;
}#groupChatProfileModal .group-chat-profile-panel-title,
#groupChatProfileModal .group-chat-profile-members-title,
#groupChatSettingsModal .group-chat-profile-members-title{
  margin: 0 0 14px;
  color: #f4f8ff;
  font-size: 22px;
  line-height: 26px;
  font-weight: 850;
  letter-spacing: -0.02em;
}#groupChatProfileModal .group-chat-profile-search,
#groupChatSettingsModal .group-chat-profile-search{
  height: 42px;
  margin: 0 0 14px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(132, 170, 224, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 28, 50, 0.72), rgba(8, 20, 38, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  flex: 0 0 auto;
}#groupChatProfileModal .group-chat-profile-search svg,
#groupChatSettingsModal .group-chat-profile-search svg{
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(190, 205, 230, 0.82);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}#groupChatProfileModal .group-chat-profile-search input,
#groupChatSettingsModal .group-chat-profile-search input{
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #edf5ff;
  font: 700 14px/1 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}#groupChatProfileModal .group-chat-profile-search input::placeholder,
#groupChatSettingsModal .group-chat-profile-search input::placeholder{
  color: rgba(171, 187, 213, 0.76);
}#groupChatProfileModal .group-chat-profile-hint,
#groupChatSettingsModal .group-chat-profile-hint{
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(179, 194, 219, 0.84);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  flex: 0 0 auto;
}#groupChatProfileModal .group-chat-profile-hint svg,
#groupChatSettingsModal .group-chat-profile-hint svg{
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(154, 183, 226, 0.88);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}#groupChatProfileModal .group-chat-profile-members-scroll,
#groupChatSettingsModal .group-chat-profile-members-scroll{
  flex: 1 1 auto;
  min-height: 0;
  max-height: 332px;
  padding-right: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 170, 224, 0.22) transparent;
}#groupChatProfileModal .group-chat-profile-members-scroll::-webkit-scrollbar,
#groupChatSettingsModal .group-chat-profile-members-scroll::-webkit-scrollbar{
  width: 6px;
}#groupChatProfileModal .group-chat-profile-members-scroll::-webkit-scrollbar-track,
#groupChatSettingsModal .group-chat-profile-members-scroll::-webkit-scrollbar-track{
  background: transparent;
}#groupChatProfileModal .group-chat-profile-members-scroll::-webkit-scrollbar-thumb,
#groupChatSettingsModal .group-chat-profile-members-scroll::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(132, 170, 224, 0.22);
}#groupChatProfileModal .group-chat-profile-member-section,
#groupChatSettingsModal .group-chat-profile-member-section{
  margin: 0 0 16px;
}#groupChatProfileModal .group-chat-profile-member-section:last-child,
#groupChatSettingsModal .group-chat-profile-member-section:last-child{
  margin-bottom: 0;
}#groupChatProfileModal .group-chat-profile-section-label,
#groupChatSettingsModal .group-chat-profile-section-label{
  margin: 0 0 8px;
  color: rgba(214, 224, 242, 0.94);
  font-size: 14px;
  line-height: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
}#groupChatProfileModal .group-chat-profile-member-row,
#groupChatSettingsModal .group-chat-profile-member-row{
  position: relative;
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 38px;
  align-items: center;
  column-gap: 12px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(132, 170, 224, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 34, 58, 0.54), rgba(10, 24, 44, 0.42));
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}#groupChatProfileModal .group-chat-profile-member-row:first-of-type,
#groupChatSettingsModal .group-chat-profile-member-row:first-of-type{
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}#groupChatProfileModal .group-chat-profile-member-row:last-of-type,
#groupChatSettingsModal .group-chat-profile-member-row:last-of-type{
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}#groupChatProfileModal .group-chat-profile-member-row + .group-chat-profile-member-row,
#groupChatSettingsModal .group-chat-profile-member-row + .group-chat-profile-member-row{
  border-top: 0;
}#groupChatProfileModal .group-chat-profile-member-row:hover,
#groupChatSettingsModal .group-chat-profile-member-row:hover{
  background:
    linear-gradient(180deg, rgba(23, 43, 72, 0.68), rgba(13, 29, 52, 0.52));
  border-color: rgba(132, 170, 224, 0.22);
}#groupChatProfileModal .group-chat-profile-member-avatar,
#groupChatProfileModal .group-chat-profile-member-avatar-img,
#groupChatProfileModal .group-chat-profile-member-fallback,
#groupChatSettingsModal .group-chat-profile-member-avatar,
#groupChatSettingsModal .group-chat-profile-member-avatar-img,
#groupChatSettingsModal .group-chat-profile-member-fallback{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
}#groupChatProfileModal .group-chat-profile-member-avatar,
#groupChatSettingsModal .group-chat-profile-member-avatar{
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(111, 158, 232, 0.32);
  background:
    radial-gradient(circle at 35% 22%, rgba(86, 170, 255, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(16, 34, 62, 0.96), rgba(7, 18, 34, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(67, 120, 230, 0.06);
}#groupChatProfileModal .group-chat-profile-member-avatar img,
#groupChatProfileModal .group-chat-profile-member-avatar-img,
#groupChatSettingsModal .group-chat-profile-member-avatar img,
#groupChatSettingsModal .group-chat-profile-member-avatar-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  border-radius: 50%;
}#groupChatProfileModal .group-chat-profile-member-fallback svg,
#groupChatProfileModal .group-chat-profile-member-avatar svg,
#groupChatSettingsModal .group-chat-profile-member-fallback svg,
#groupChatSettingsModal .group-chat-profile-member-avatar svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(155, 191, 245, 0.96);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(80, 150, 255, 0.22));
}#groupChatProfileModal .group-chat-profile-member-info,
#groupChatSettingsModal .group-chat-profile-member-info{
  min-width: 0;
  display: grid;
  gap: 3px;
}#groupChatProfileModal .group-chat-profile-member-name,
#groupChatProfileModal .group-chat-profile-member-info strong,
#groupChatSettingsModal .group-chat-profile-member-name,
#groupChatSettingsModal .group-chat-profile-member-info strong{
  min-width: 0;
  color: #f3f7ff;
  font-size: 15px;
  line-height: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}#groupChatProfileModal .group-chat-profile-member-handle,
#groupChatProfileModal .group-chat-profile-member-info span,
#groupChatSettingsModal .group-chat-profile-member-handle,
#groupChatSettingsModal .group-chat-profile-member-info span{
  min-width: 0;
  color: rgba(162, 181, 211, 0.86);
  font-size: 13px;
  line-height: 15px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}#groupChatProfileModal .group-chat-profile-member-role,
#groupChatSettingsModal .group-chat-profile-member-role{
  justify-self: end;
  max-width: 132px;
  min-height: 26px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}#groupChatProfileModal .group-chat-profile-member-role--owner,
#groupChatSettingsModal .group-chat-profile-member-role--owner{
  color: #c6b0ff;
  border: 1px solid rgba(138, 112, 255, 0.34);
  background: rgba(104, 78, 242, 0.19);
}#groupChatProfileModal .group-chat-profile-member-role--admin,
#groupChatSettingsModal .group-chat-profile-member-role--admin{
  color: #69b9ff;
  border: 1px solid rgba(65, 151, 255, 0.3);
  background: rgba(44, 132, 255, 0.14);
}#groupChatProfileModal .group-chat-profile-member-role--moderator,
#groupChatSettingsModal .group-chat-profile-member-role--moderator{
  color: #4fe2d0;
  border: 1px solid rgba(56, 211, 195, 0.28);
  background: rgba(36, 176, 166, 0.14);
}#groupChatProfileModal .group-chat-profile-member-role--member,
#groupChatSettingsModal .group-chat-profile-member-role--member{
  color: rgba(194, 208, 229, 0.86);
  border: 1px solid rgba(132, 170, 224, 0.12);
  background: rgba(132, 170, 224, 0.055);
}#groupChatProfileModal .group-chat-profile-member-menu-spacer,
#groupChatSettingsModal .group-chat-profile-member-menu-spacer{
  width: 34px;
  height: 34px;
  display: block;
}#groupChatProfileModal .group-chat-profile-member-menu-btn,
#groupChatSettingsModal .group-chat-profile-member-menu-btn{
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(132, 170, 224, 0.2);
  background:
    linear-gradient(180deg, rgba(28, 47, 78, 0.74), rgba(15, 30, 53, 0.68));
  color: rgba(218, 229, 248, 0.9);
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}#groupChatProfileModal .group-chat-profile-member-menu-btn:hover,
#groupChatProfileModal .group-chat-profile-member-menu-btn.is-open,
#groupChatSettingsModal .group-chat-profile-member-menu-btn:hover,
#groupChatSettingsModal .group-chat-profile-member-menu-btn.is-open{
  border-color: rgba(149, 181, 242, 0.38);
  background:
    linear-gradient(180deg, rgba(39, 61, 97, 0.86), rgba(20, 39, 68, 0.78));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}#groupChatProfileModal .group-chat-profile-member-menu-btn svg,
#groupChatSettingsModal .group-chat-profile-member-menu-btn svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}#groupChatProfileMemberMenu,
#groupChatProfileModal .group-chat-profile-member-menu{
  position: fixed;
  width: 252px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(132, 170, 224, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(89, 144, 255, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(20, 38, 65, 0.98), rgba(10, 24, 45, 0.98));
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  z-index: 1305;
}#groupChatProfileMemberMenu[hidden],
#groupChatProfileModal .group-chat-profile-member-menu[hidden]{
  display: none !important;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-section,
#groupChatProfileModal .group-chat-profile-member-menu-section{
  display: grid;
  gap: 2px;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-section + .group-chat-profile-member-menu-section,
#groupChatProfileModal .group-chat-profile-member-menu-section + .group-chat-profile-member-menu-section{
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(132, 170, 224, 0.15);
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item,
#groupChatProfileModal .group-chat-profile-member-menu-item{
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ecf4ff;
  cursor: pointer;
  text-align: left;
  font: 800 13px/16px Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  transition:
    background 0.14s ease,
    color 0.14s ease;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item:hover,
#groupChatProfileModal .group-chat-profile-member-menu-item:hover{
  background: rgba(132, 170, 224, 0.1);
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item svg,
#groupChatProfileModal .group-chat-profile-member-menu-item svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(216, 228, 248, 0.92);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--profile svg{
  stroke: #dce8ff;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--kick svg{
  stroke: #ff7b86;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--mute svg{
  stroke: #ffbd55;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--ban{
  color: #ffecef;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--ban svg{
  stroke: #ff6674;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--role svg{
  stroke: #a9c8ff;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--promote svg{
  stroke: #72e2d3;
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-item--danger:hover{
  background: rgba(255, 93, 108, 0.105);
}#groupChatProfileMemberMenu .group-chat-profile-member-menu-label{
  min-width: 0;
  display: block;
  white-space: normal;
}#groupChatProfileModal .group-chat-profile-invite-card{
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(132, 170, 224, 0.16);
  background: rgba(16, 31, 53, 0.52);
  margin-bottom: 18px;
}#groupChatProfileModal .group-chat-profile-invite-card__label{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(196, 209, 231, 0.88);
}#groupChatProfileModal .group-chat-profile-invite-card__url{
  display: block;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(11, 24, 44, 0.54);
  border: 1px solid rgba(132, 170, 224, 0.18);
  color: rgba(226, 235, 250, 0.94);
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
}#groupChatProfileModal .group-chat-profile-invite-card__copy{
  width: 100%;
}#groupChatProfileModal .group-chat-profile-invites-list{
  display: grid;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(132, 170, 224, 0.13);
}#groupChatProfileModal .group-chat-profile-invite-row{
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: rgba(16, 31, 53, 0.52);
  border-bottom: 1px solid rgba(132, 170, 224, 0.1);
}#groupChatProfileModal .group-chat-profile-invite-row:last-child{
  border-bottom: 0;
}#groupChatProfileModal .group-chat-profile-invite-row__handle{
  min-width: 0;
  font-size: 15px;
  font-weight: 750;
  color: #f3f7ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}#groupChatProfileModal .group-chat-profile-invite-status{
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 750;
}#groupChatProfileModal .group-chat-profile-invite-status--sent{
  color: #21e39b;
}#groupChatProfileModal .group-chat-profile-invite-status--pending{
  color: #ffb13d;
}#groupChatProfileModal .group-chat-profile-invite-status--expired{
  color: rgba(255, 93, 108, 0.78);
}#groupChatProfileModal .group-chat-profile-invites-empty,
#groupChatProfileModal .group-chat-profile-members-empty,
#groupChatSettingsModal .group-chat-profile-members-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  gap: 8px;
}#groupChatProfileModal .group-chat-profile-invites-empty.hidden,
#groupChatProfileModal .group-chat-profile-members-empty.hidden,
#groupChatSettingsModal .group-chat-profile-members-empty.hidden{
  display: none;
}#groupChatProfileModal .group-chat-profile-invites-empty__icon,
#groupChatProfileModal .group-chat-profile-members-empty__icon,
#groupChatSettingsModal .group-chat-profile-members-empty__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(164, 191, 232, 0.88);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
}#groupChatProfileModal .group-chat-profile-invites-empty__icon svg,
#groupChatProfileModal .group-chat-profile-members-empty__icon svg,
#groupChatSettingsModal .group-chat-profile-members-empty__icon svg{
  width: 22px;
  height: 22px;
}#groupChatProfileModal .group-chat-profile-invites-empty__title,
#groupChatProfileModal .group-chat-profile-members-empty__title,
#groupChatSettingsModal .group-chat-profile-members-empty__title{
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: rgba(226, 235, 250, 0.94);
}#groupChatProfileModal .group-chat-profile-invites-empty__text,
#groupChatProfileModal .group-chat-profile-members-empty__text,
#groupChatSettingsModal .group-chat-profile-members-empty__text{
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: rgba(168, 187, 218, 0.82);
  max-width: 280px;
}@media (max-width: 767px){
  #groupChatProfileModal .group-chat-profile-members-panel {
    max-width: 100%;
    min-height: auto;
  }

  #groupChatProfileModal .group-chat-profile-members-scroll {
    max-height: none;
  }

  #groupChatProfileModal .group-chat-profile-member-row {
    grid-template-columns: 44px minmax(0, 1fr) 34px;
  }

  #groupChatProfileModal .group-chat-profile-member-role {
    display: none;
  }

  #groupChatProfileMemberMenu {
    width: min(252px, calc(100vw - 28px));
  }
}/* ── Blacklist sheet ─────────────────────────────────────────────────────── */

#groupChatProfileModal .group-chat-profile-blacklist-panel,
#groupChatSettingsModal .group-chat-profile-blacklist-panel{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 100%;
}#groupChatProfileModal .group-chat-profile-blacklist-scroll,
#groupChatSettingsModal .group-chat-profile-blacklist-scroll{
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}#groupChatProfileModal .group-chat-profile-blacklist-row,
#groupChatSettingsModal .group-chat-profile-blacklist-row{
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(28, 47, 78, 0.62), rgba(15, 30, 53, 0.56));
  border: 1px solid rgba(132, 170, 224, 0.14);
}#groupChatProfileModal .group-chat-profile-blacklist-info,
#groupChatSettingsModal .group-chat-profile-blacklist-info{
  min-width: 0;
}#groupChatProfileModal .group-chat-profile-blacklist-date,
#groupChatSettingsModal .group-chat-profile-blacklist-date{
  font-size: 12px;
  font-weight: 650;
  color: rgba(168, 187, 218, 0.72);
  white-space: nowrap;
}#groupChatProfileModal .group-chat-profile-blacklist-unban-btn,
#groupChatSettingsModal .group-chat-profile-blacklist-unban-btn{
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(56, 211, 195, 0.32);
  background: linear-gradient(180deg, rgba(36, 176, 166, 0.22), rgba(24, 132, 126, 0.18));
  color: #8ef0e4;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}#groupChatProfileModal .group-chat-profile-blacklist-unban-btn:hover{
  border-color: rgba(79, 226, 208, 0.48);
  background: linear-gradient(180deg, rgba(46, 196, 184, 0.3), rgba(28, 152, 144, 0.24));
}#groupChatProfileModal .group-chat-profile-blacklist-empty,
#groupChatSettingsModal .group-chat-profile-blacklist-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 20px;
  text-align: center;
}#groupChatProfileModal .group-chat-profile-blacklist-empty__icon,
#groupChatSettingsModal .group-chat-profile-blacklist-empty__icon{
  width: 48px;
  height: 48px;
  color: rgba(149, 181, 242, 0.55);
}#groupChatProfileModal .group-chat-profile-blacklist-empty__title,
#groupChatSettingsModal .group-chat-profile-blacklist-empty__title{
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  color: rgba(218, 229, 248, 0.92);
}#groupChatProfileModal .group-chat-profile-blacklist-empty__text,
#groupChatSettingsModal .group-chat-profile-blacklist-empty__text{
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: rgba(168, 187, 218, 0.82);
  max-width: 280px;
}@media (max-width: 767px){
  #groupChatProfileModal .group-chat-profile-blacklist-row,
#groupChatSettingsModal .group-chat-profile-blacklist-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }

  #groupChatProfileModal .group-chat-profile-blacklist-date,
#groupChatSettingsModal .group-chat-profile-blacklist-date {
    grid-column: 2;
    grid-row: 2;
  }

  #groupChatProfileModal .group-chat-profile-blacklist-unban-btn,
#groupChatSettingsModal .group-chat-profile-blacklist-unban-btn {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
