/* ????????? ?????? ? ??????????? ????? OLONE ? premium voice UI */

.gc-topic-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gc-topic-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 118px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(120, 160, 255, 0.18);
  background: rgba(18, 27, 45, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.gc-topic-type-card:hover {
  border-color: rgba(120, 160, 255, 0.38);
  box-shadow: 0 0 18px rgba(80, 130, 255, 0.14);
  transform: translateY(-1px);
}

.gc-topic-type-card.is-active {
  border-color: transparent;
  background:
    linear-gradient(rgba(18, 27, 45, 0.82), rgba(18, 27, 45, 0.82)) padding-box,
    linear-gradient(135deg, rgba(59, 130, 246, 0.65), rgba(139, 92, 246, 0.55)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 22px rgba(80, 130, 255, 0.22), inset 0 1px 0 rgba(160, 200, 255, 0.08);
}

.gc-topic-type-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(80, 130, 255, 0.12);
  color: rgba(140, 180, 255, 0.95);
}

.gc-topic-type-card__icon svg {
  width: 20px;
  height: 20px;
}

.gc-topic-type-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding-right: 22px;
}

.gc-topic-type-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.gc-topic-type-card__desc {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(180, 200, 230, 0.72);
}

.gc-topic-type-card__radio {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(120, 160, 255, 0.35);
  background: transparent;
}

.gc-topic-type-card.is-active .gc-topic-type-card__radio {
  border-color: rgba(100, 160, 255, 0.9);
  background: radial-gradient(circle at center, #5b9dff 38%, transparent 40%);
  box-shadow: 0 0 10px rgba(80, 140, 255, 0.45);
}

#gcTopicCreateModal .gc-topic-icon-name {
  display: flex;
}

#gcTopicCreateModal .gc-topic-emoji-btn--voice-fixed {
  pointer-events: none;
  cursor: default;
  opacity: 0.95;
}

/* Legacy voice topic row (pre?glass .topic-item). Skipped when .topic-item cards are used. */
.gc-topic-item--voice:not(.topic-item) {
  position: relative;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  box-sizing: border-box;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.gc-topic-item--voice:not(.topic-item) .gc-topic-item__icon {
  font-size: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(80, 130, 255, 0.16);
  border: 1px solid rgba(120, 160, 255, 0.28);
  color: rgba(150, 190, 255, 0.95);
  flex-shrink: 0;
}

.gc-topic-item--voice:not(.topic-item) .gc-topic-item__icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -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%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E") center/contain no-repeat;
  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%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E") center/contain no-repeat;
}

.gc-topic-item--voice:not(.topic-item).gc-topic-item--active {
  border-color: rgba(90, 140, 255, 0.6);
  background: rgba(75, 110, 255, 0.16);
  box-shadow:
    0 0 24px rgba(80, 120, 255, 0.35),
    0 0 0 1px rgba(90, 140, 255, 0.22),
    inset 0 1px 0 rgba(180, 210, 255, 0.12);
}

.gc-topic-item--voice:not(.topic-item):hover {
  border-color: rgba(100, 155, 255, 0.48);
  background: rgba(75, 110, 255, 0.12);
  box-shadow:
    0 0 18px rgba(80, 140, 255, 0.32),
    0 0 0 1px rgba(100, 150, 255, 0.2);
}

.gc-topic-item--voice:not(.topic-item).gc-topic-item--active:hover {
  border-color: rgba(100, 155, 255, 0.68);
  box-shadow:
    0 0 28px rgba(80, 130, 255, 0.42),
    0 0 0 1px rgba(100, 155, 255, 0.28),
    inset 0 1px 0 rgba(180, 210, 255, 0.14);
}

.gc-topic-item__voice-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  padding-right: 2px;
}

.gc-topic-item__voice-wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: #6ea8ff;
  animation: gc-topic-voice-bars 0.9s ease-in-out infinite;
}

.gc-topic-item--voice.gc-topic-item--active .gc-topic-item__voice-wave i {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.45);
}

.gc-topic-item__voice-wave i:nth-child(1) { height: 5px; }
.gc-topic-item__voice-wave i:nth-child(2) { height: 11px; animation-delay: 0.12s; }
.gc-topic-item__voice-wave i:nth-child(3) { height: 7px; animation-delay: 0.24s; }
.gc-topic-item__voice-wave i:nth-child(4) { height: 14px; animation-delay: 0.08s; }

.gc-topic-item--voice:not(.gc-topic-item--active) .gc-topic-item__voice-wave {
  opacity: 0.35;
}

.gc-topic-item--voice:not(.gc-topic-item--active) .gc-topic-item__voice-wave i {
  animation: none;
}

@keyframes gc-topic-voice-bars {
  0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Live audio bars in topics list ? state-driven (off / speaking / muted) */
.voice-level-bars,
.gc-topic-item__voice-wave.voice-level-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 22px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 0;
  opacity: 1;
}

.voice-level-bars i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: #536b9d;
  transform-origin: center bottom;
  animation: none !important;
  opacity: 1;
  box-shadow: none;
}

.voice-level-bars i:nth-child(1) { height: 6px; }
.voice-level-bars i:nth-child(2) { height: 12px; }
.voice-level-bars i:nth-child(3) { height: 18px; }

.voice-level-bars--off i {
  background: #536b9d;
  animation: none !important;
  opacity: 1;
}

.voice-level-bars--muted i {
  background: #536b9d;
  animation: none !important;
  opacity: 0.4;
}

.voice-level-bars--speaking i {
  background: #38d996;
  opacity: 1;
  animation: voicePulse 0.9s ease-in-out infinite !important;
}

.voice-level-bars--speaking i:nth-child(2) { animation-delay: 0.12s !important; }
.voice-level-bars--speaking i:nth-child(3) { animation-delay: 0.24s !important; }

@keyframes voicePulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

.gc-topic-item__trailing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.gc-topic-item__preview--voice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.gc-topic-item__members-ico {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.85;
}

.gc-topic-item__members-ico svg {
  display: block;
  width: 14px;
  height: 14px;
}

.gc-topic-item--text .gc-topic-item__icon {
  font-size: 0;
}

.gc-topic-item--text .gc-topic-item__icon::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Topics list scroll: chrome fixed; body scrolls as a unit (list + create).
   Glass layout (.col-dialogs--gc-topics) owns flex sizing ? do not flex:1 the list. */
.gc-topics-rail {
  min-height: 0;
}

.gc-topics-rail-body {
  min-height: 0;
}

.gc-topics-list {
  min-height: 0;
}

.col-dialogs--gc-topics .dialogs-scroll-strip {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.col-dialogs--gc-topics #groupChatsRailWrap.group-chats-rail-wrap--topics {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* ??? Voice channel shell ??? */
.chat-messages-stack--voice-active #messages,
.chat-messages-stack--voice-active #chatScrollBottomBtn,
.chat-messages-stack--voice-active #pinnedMessagesBar {
  display: none !important;
}

/* Fixed-height voice window: full width + full height of right chat column.
   Header top / scrollable members / dock pinned to bottom.
   Use flex (not grid): hidden header/composer must not leave an empty 1fr track. */
body.gc-voice-mode .chat-main.chat-main--voice-active,
.chat-main.chat-main--voice-active.is-voice-topic,
.chat-main.chat-main--voice-active {
  display: flex !important;
  flex-direction: column !important;
  align-content: stretch !important;
  align-self: stretch !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] .chat-main.chat-main--voice-active,
[data-theme="light"] .chat-main.chat-main--voice-active {
  background: transparent !important;
}

body.gc-voice-mode .chat-main.chat-main--voice-active #chatMessagesStack,
.chat-main.chat-main--voice-active #chatMessagesStack,
.chat-messages-stack--voice-active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

body.gc-voice-mode .chat-main.chat-main--voice-active #gcVoiceChannelView,
.chat-main.chat-main--voice-active #gcVoiceChannelView,
.chat-messages-stack--voice-active .gc-voice-channel {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

.chat-main--voice-active .gc-voice-channel__header {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.chat-main--voice-active .gc-voice-channel__workspace {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  justify-content: flex-start !important;
}

.chat-main--voice-active .gc-voice-channel__glass,
.chat-main--voice-active .gc-voice-channel__controls {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.chat-main--voice-active .gc-voice-channel__controls {
  flex: 0 0 88px !important;
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;
  margin-top: 10px !important;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.chat-main--voice-active .composer,
.chat-main--voice-active .composer-row,
.chat-main--voice-active #messages,
.chat-main--voice-active .empty-chat,
.chat-messages-stack--voice-active #messages,
.chat-messages-stack--voice-active .empty-chat {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

/* Global chat header replaced by premium voice header */
.chat-main--voice-active > #chatHeader,
.chat-main--voice-active > .olone-chat-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ??? Workspace + glass sections ??? */
.gc-voice-channel {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: none;
  position: relative;
  overflow: hidden;
  gap: 16px;
  padding: 20px 24px 20px;
  box-sizing: border-box;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(55, 90, 170, 0.16), transparent 55%),
    linear-gradient(180deg, #080f1d 0%, #070b14 100%);
}

.gc-voice-channel__workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}

.gc-voice-channel__glass {
  flex: 0 0 auto;
  min-height: 0;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(110, 150, 255, 0.18);
  background: rgba(20, 30, 55, 0.75);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(170, 200, 255, 0.08),
    inset 0 0 40px rgba(60, 100, 200, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gc-voice-channel__glass--members {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.gc-voice-channel__glass--members .gc-voice-channel__members {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow-y: visible;
}

.gc-voice-channel__glass--listeners {
  flex: 0 0 auto;
}

.gc-voice-channel__section-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(175, 195, 230, 0.78);
}

.gc-voice-channel__section-title--afk {
  color: rgba(160, 185, 225, 0.7);
}

.gc-voice-channel__members {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gc-voice-member {
  display: flex;
  align-items: center;
  gap: 14px;
  height: auto;
  min-height: 82px;
  max-height: none;
  box-sizing: border-box;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-radius: 18px;
  border: 1px solid rgba(110, 150, 230, 0.14);
  background: rgba(14, 22, 38, 0.88);
  box-shadow: inset 0 1px 0 rgba(150, 180, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gc-voice-member:last-child {
  margin-bottom: 0;
}

.gc-voice-member:hover {
  border-color: rgba(120, 165, 255, 0.28);
  background: rgba(18, 28, 48, 0.95);
}

.gc-voice-member--listener {
  opacity: 0.92;
}

.gc-voice-member--speaking {
  border-color: rgba(50, 255, 150, 0.55);
  box-shadow:
    0 0 0 1px rgba(50, 255, 150, 0.2),
    0 0 24px rgba(50, 255, 150, 0.35),
    inset 0 0 22px rgba(50, 255, 150, 0.06);
}

.gc-voice-member__avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(80, 130, 255, 0.14);
  border: 1px solid rgba(120, 160, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbe7ff;
}

.gc-voice-member__avatar img,
.gc-voice-member__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gc-voice-member__avatar-img--placeholder {
  object-fit: cover;
  opacity: 0.92;
}

.gc-voice-member--speaking .gc-voice-member__avatar {
  box-shadow: 0 0 0 2px rgba(50, 255, 150, 0.75), 0 0 16px rgba(50, 255, 150, 0.35);
}

.gc-voice-member--speaking .gc-voice-member__avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(50, 255, 150, 0.4);
  animation: gc-voice-ring 1.5s ease-out infinite;
  pointer-events: none;
}

@keyframes gc-voice-ring {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.2); opacity: 0; }
}

.gc-voice-member__info {
  flex: 1 1 auto;
  min-width: 0;
}

.gc-voice-member__name-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-wrap: nowrap;
  min-width: 0;
}

.gc-voice-member__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f2f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-voice-member__crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 22px;
  padding: 6px 10px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0;
  line-height: 1;
  flex-shrink: 0;
  color: #ffe9a8;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.32), rgba(180, 120, 40, 0.24));
  border: 1px solid rgba(250, 204, 21, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 180, 0.22),
    0 0 10px rgba(250, 204, 21, 0.12);
  filter: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gc-voice-member__crown::after {
  content: "👑 Владелец";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}

.gc-voice-member__role-badge,
.gc-voice-member__mod-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 6px 10px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ece4ff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.48), rgba(99, 70, 210, 0.36));
  border: 1px solid rgba(180, 150, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(220, 200, 255, 0.14),
    0 0 10px rgba(120, 90, 220, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gc-voice-member__role-badge--admin::after {
  content: "🛡 Администратор";
  font-size: 12px;
  line-height: 1;
}

.gc-voice-member__role-badge--mod::after,
.gc-voice-member__mod-badge::after {
  content: "🔧 Модератор";
  font-size: 12px;
  line-height: 1;
}

.gc-voice-member__role-badge--admin {
  color: #e8f0ff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.48), rgba(37, 99, 235, 0.34));
  border-color: rgba(120, 170, 255, 0.4);
}

.gc-voice-member__role {
  display: none;
}

.gc-voice-member__status {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(170, 190, 225, 0.72);
}

.gc-voice-member--speaking .gc-voice-member__status {
  color: #32ff96;
  font-weight: 600;
}

.gc-voice-member--muted .gc-voice-member__status,
.gc-voice-member--deafened .gc-voice-member__status {
  color: rgba(248, 180, 190, 0.82);
}

.gc-voice-channel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  min-height: 56px;
  padding: 0;
  border-bottom: none;
  background: transparent;
}

.gc-voice-channel__header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gc-voice-channel__topic-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(155deg, #5b8cff 0%, #7460ff 40%, #a855f7 100%);
  border: 1px solid rgba(220, 230, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(120, 150, 255, 0.2),
    0 14px 34px rgba(90, 110, 255, 0.48),
    0 0 42px rgba(150, 90, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -12px 22px rgba(40, 20, 90, 0.28),
    inset 0 0 18px rgba(180, 200, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gc-voice-channel__topic-avatar svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 8px rgba(20, 30, 80, 0.4));
}

.gc-voice-channel__title {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #f4f7ff;
}

.gc-voice-channel__slug {
  margin: 3px 0 0;
  font-size: 13px;
  color: rgba(170, 190, 230, 0.72);
}

.gc-voice-channel__header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gc-voice-channel__status-card,
.gc-voice-channel__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 14px 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 230, 0.2);
  background: rgba(16, 24, 42, 0.72);
  box-shadow: inset 0 1px 0 rgba(160, 190, 255, 0.06);
  color: #dce7ff;
}

.gc-voice-channel__status-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.gc-voice-channel__status-label {
  font-size: 13px;
  font-weight: 650;
  color: #e8f0ff;
}

.gc-voice-channel__member-count {
  font-size: 12px;
  color: rgba(170, 195, 235, 0.78);
}

.gc-voice-channel__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}

.gc-voice-channel__status-card--off,
.gc-voice-channel__status-pill--off {
  color: rgba(180, 200, 230, 0.75);
}

.gc-voice-channel__status-card--off .gc-voice-channel__status-dot,
.gc-voice-channel__status-pill--off .gc-voice-channel__status-dot {
  background: #64748b;
  box-shadow: none;
}

.gc-voice-channel__status-card--connecting .gc-voice-channel__status-dot,
.gc-voice-channel__status-pill--connecting .gc-voice-channel__status-dot {
  background: #eab308;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.55);
}

.gc-voice-channel__status-card--error,
.gc-voice-channel__status-pill--error {
  border-color: rgba(239, 68, 68, 0.4);
}

.gc-voice-channel__status-card--error .gc-voice-channel__status-dot,
.gc-voice-channel__status-pill--error .gc-voice-channel__status-dot {
  background: #ef4444;
}

.gc-voice-channel__duration {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gc-voice-channel__header-actions {
  display: flex;
  gap: 8px;
}

.gc-voice-channel__action-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 230, 0.2);
  background: rgba(16, 24, 42, 0.72);
  color: rgba(180, 205, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gc-voice-channel__action-btn:hover {
  border-color: rgba(130, 170, 255, 0.4);
  background: rgba(28, 40, 68, 0.85);
  box-shadow: 0 0 16px rgba(80, 130, 255, 0.14);
}

.gc-voice-channel__action-btn svg {
  width: 18px;
  height: 18px;
}

.gc-voice-channel__action-count {
  position: absolute;
  right: 5px;
  bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(190, 210, 255, 0.95);
}

.gc-voice-member__level {
  display: none !important;
}

.gc-voice-member__level-bar {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.5px;
  color: #86efac;
}

.gc-voice-member__quality {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(200, 214, 255, 0.78);
  white-space: nowrap;
}

.gc-voice-member__quality--excellent { color: #4ade80; }
.gc-voice-member__quality--medium { color: #fbbf24; }
.gc-voice-member__quality--poor { color: #f87171; }

.gc-voice-member__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: center;
}

.gc-voice-member__state-icon {
  width: 20px;
  height: 20px;
  color: rgba(190, 220, 255, 0.92);
  flex-shrink: 0;
}

.gc-voice-member__state-icon--off {
  color: rgba(255, 110, 130, 0.95);
}

.gc-voice-member__wave {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 32px;
  margin-right: 8px;
}

.gc-voice-member__wave::before,
.gc-voice-member__wave::after {
  content: "";
  display: block;
  width: 3.5px;
  border-radius: 2px;
  background: #3dff9a;
  box-shadow: 0 0 12px rgba(50, 255, 150, 0.35);
  transform-origin: bottom center;
  animation: gc-voice-wave 1.05s ease-in-out infinite;
}

.gc-voice-member__wave::before {
  height: 11px;
  animation-delay: 0.04s;
}

.gc-voice-member__wave::after {
  height: 19px;
  animation-delay: 0.26s;
}

.gc-voice-member__wave span {
  display: block;
  width: 3.5px;
  border-radius: 2px;
  background: #3dff9a;
  box-shadow: 0 0 12px rgba(50, 255, 150, 0.35);
  transform-origin: bottom center;
  animation: gc-voice-wave 1.05s ease-in-out infinite;
}

.gc-voice-member__wave span:nth-child(1) { height: 8px; }
.gc-voice-member__wave span:nth-child(2) { height: 18px; animation-delay: 0.12s; }
.gc-voice-member__wave span:nth-child(3) { height: 12px; animation-delay: 0.22s; }
.gc-voice-member__wave span:nth-child(4) { height: 24px; animation-delay: 0.08s; }
.gc-voice-member__wave span:nth-child(5) { height: 14px; animation-delay: 0.18s; }

@keyframes gc-voice-wave {
  0%, 100% { transform: scaleY(0.32); opacity: 0.45; }
  35% { transform: scaleY(0.82); opacity: 0.85; }
  50% { transform: scaleY(1); opacity: 1; }
  70% { transform: scaleY(0.55); opacity: 0.65; }
}

.gc-voice-member__more {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(160, 185, 230, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gc-voice-member__more:hover {
  color: #e2eaff;
  background: rgba(80, 120, 200, 0.14);
}

.gc-voice-member__more svg {
  width: 16px;
  height: 16px;
}

/* ??? Events (secondary / collapsed) ??? */
.gc-voice-events {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0.58;
  min-height: 0;
}

.gc-voice-events > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.gc-voice-events > summary::-webkit-details-marker {
  display: none;
}

.gc-voice-events__summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(150, 170, 210, 0.72);
  line-height: 1.15;
  min-height: 0;
}

.gc-voice-events__summary::before {
  content: none;
  display: none;
}

.gc-voice-events[open] .gc-voice-events__summary::before {
  content: none;
}

.gc-voice-events__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 6px 8px;
  max-height: 48px;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(110, 150, 255, 0.1);
  background: rgba(10, 16, 28, 0.4);
}

.gc-voice-events:not([open]) .gc-voice-events__list {
  display: none;
}

.gc-voice-events__list li {
  font-size: 12px;
  color: rgba(170, 190, 225, 0.7);
  padding: 2px 0;
}

/* ??? Bottom dock (flex sibling, NOT overlay) ??? */
.gc-voice-channel__controls {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  margin-top: 0;
  flex: 0 0 88px;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 24px;
  border: 1px solid rgba(120, 160, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(20, 30, 52, 0.92), rgba(12, 18, 34, 0.94));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(170, 200, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.gc-voice-controls__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gc-voice-controls__device-heading {
  font-size: 11px;
  font-weight: 650;
  color: rgba(170, 190, 230, 0.75);
  margin-bottom: 4px;
}

.gc-voice-controls__device-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gc-voice-controls__device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 140px;
  flex: 1 1 auto;
  max-width: 280px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(110, 150, 230, 0.2);
  background: rgba(12, 20, 36, 0.72);
  box-sizing: border-box;
  overflow: hidden;
}

.gc-voice-controls__device {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gc-voice-controls__device--primary {
  flex: 1 1 auto;
  min-width: 0;
}

.gc-voice-controls__device--secondary {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gc-voice-controls__device-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(170, 190, 230, 0.7);
  text-transform: none;
  line-height: 1.2;
}

.gc-voice-controls__device-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 28px;
  padding: 0 22px 0 0;
  border: none;
  border-radius: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%9ab0d8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    right 0 center / 12px no-repeat;
  color: rgba(220, 230, 255, 0.92);
  font-size: 13px;
  font-weight: 550;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.gc-voice-controls__device-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gc-voice-controls__test-sound {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gc-voice-controls__device-settings,
.gc-voice-controls__round-btn--settings {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(110, 150, 255, 0.28);
  background: rgba(12, 20, 36, 0.82);
  color: rgba(190, 215, 255, 0.95);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.gc-voice-controls__device-settings:hover,
.gc-voice-controls__round-btn--settings:hover {
  border-color: rgba(130, 170, 255, 0.45);
  background: rgba(18, 28, 48, 0.92);
  transform: scale(1.05);
}

.gc-voice-controls__device-settings svg,
.gc-voice-controls__round-btn--settings svg {
  width: 20px;
  height: 20px;
}

.gc-voice-controls__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
}

.gc-voice-controls__center--solo {
  width: auto;
  margin: 0 auto;
}

.gc-voice-controls__round-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(120, 170, 255, 0.35);
  background: linear-gradient(160deg, #3d7dff 0%, #2f5fd4 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(70, 130, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gc-voice-controls__round-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(80, 140, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.gc-voice-controls__round-btn:active {
  box-shadow: 0 0 18px rgba(70, 130, 255, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.gc-voice-controls__round-btn svg {
  width: 22px;
  height: 22px;
}

.gc-voice-controls__round-btn--settings,
.gc-voice-controls__round-btn--webcam.is-off,
.gc-voice-controls__round-btn--screen.is-off {
  background: rgba(12, 20, 36, 0.82);
  border-color: rgba(110, 150, 255, 0.28);
  color: rgba(190, 215, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(170, 200, 255, 0.08);
}

.gc-voice-controls__round-btn--webcam.is-on {
  background: linear-gradient(160deg, #3d7dff 0%, #2f5fd4 100%);
  border-color: rgba(120, 170, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 22px rgba(70, 130, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gc-voice-controls__round-btn--screen.is-on {
  background: linear-gradient(160deg, #22c55e 0%, #16a34a 55%, #2f5fd4 100%);
  border-color: rgba(80, 200, 140, 0.55);
  color: #fff;
  box-shadow: 0 0 22px rgba(50, 200, 130, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gc-voice-controls__round-btn--webcam.is-off {
  color: rgba(255, 140, 150, 0.95);
}

.gc-voice-controls__round-btn--mic.is-off,
.gc-voice-controls__round-btn--headphones.is-off,
.gc-voice-controls__round-btn--deafened {
  background: linear-gradient(160deg, #4b5568 0%, #374151 100%);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
  color: rgba(255, 140, 150, 0.95);
}

.gc-voice-controls__disconnect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 136px;
  min-width: 136px;
  height: 50px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 130, 0.35);
  background: linear-gradient(160deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.35);
  box-sizing: border-box;
}

.gc-voice-controls__disconnect svg {
  width: 18px;
  height: 18px;
}

.gc-voice-controls__disconnect:hover {
  filter: brightness(1.05);
}

.gc-voice-controls__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gc-voice-controls__mic-mode {
  border: 1px solid rgba(110, 150, 230, 0.2);
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(12, 20, 36, 0.72);
  width: 100%;
  max-width: 240px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.gc-voice-controls__activity-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(190, 210, 245, 0.88);
  padding: 0;
}

.gc-voice-controls__activity-wave {
  width: 14px;
  height: 12px;
  flex-shrink: 0;
  background:
    linear-gradient(#6ea8ff, #6ea8ff) 0 8px / 2px 4px no-repeat,
    linear-gradient(#6ea8ff, #6ea8ff) 4px 4px / 2px 8px no-repeat,
    linear-gradient(#6ea8ff, #6ea8ff) 8px 6px / 2px 6px no-repeat,
    linear-gradient(#6ea8ff, #6ea8ff) 12px 2px / 2px 10px no-repeat;
}

.gc-voice-controls__activity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gc-voice-controls__activity-value {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.gc-voice-controls__radio {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(200, 214, 255, 0.88);
  cursor: pointer;
  line-height: 1.25;
}

.gc-voice-controls__radio:has(input:checked) {
  display: flex;
}

.gc-voice-controls__radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.gc-voice-controls__activity-chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%9ab0d8' stroke-width='2.4'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

/* Expand activity options on hover/focus so PTT remains reachable without overlay */
.gc-voice-controls__mic-mode:hover .gc-voice-controls__radio,
.gc-voice-controls__mic-mode:focus-within .gc-voice-controls__radio {
  display: flex;
}

.gc-voice-controls__mic-mode:hover .gc-voice-controls__activity-value,
.gc-voice-controls__mic-mode:focus-within .gc-voice-controls__activity-value {
  gap: 4px;
}

.gc-voice-ptt-hint {
  position: absolute;
  left: 50%;
  bottom: 128px;
  transform: translateX(-50%);
  z-index: 4;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(120, 160, 255, 0.28);
  color: #e2e8f0;
  font-size: 13px;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.gc-voice-ptt-hint.is-held {
  border-color: rgba(74, 222, 128, 0.55);
  color: #bbf7d0;
}

/* Member menu */
.gc-voice-member-menu {
  position: fixed;
  z-index: 80;
  min-width: 220px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(120, 160, 255, 0.22);
  background: rgba(14, 22, 38, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.gc-voice-member-menu.hidden {
  display: none;
}

.gc-voice-member-menu__item {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(220, 230, 255, 0.92);
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

.gc-voice-member-menu__item:hover {
  background: rgba(80, 120, 200, 0.16);
}

.gc-voice-member-menu__item--danger {
  color: #fca5a5;
}

.gc-voice-member-menu__item--danger:hover {
  background: rgba(239, 68, 68, 0.14);
}

.gc-voice-member-menu__sep {
  height: 1px;
  margin: 4px 6px;
  background: rgba(120, 160, 255, 0.14);
}

.gc-voice-member-menu__volume {
  padding: 8px 12px 10px;
}

.gc-voice-member-menu__volume-label {
  display: block;
  font-size: 12px;
  color: rgba(200, 214, 255, 0.75);
  margin-bottom: 6px;
}

.gc-voice-member-menu__volume-slider {
  width: 100%;
  accent-color: #60a5fa;
}

@media (max-width: 980px) {
  .gc-voice-channel {
    padding: 16px;
    gap: 14px;
  }
  .gc-voice-channel__controls {
    height: 88px;
    min-height: 88px;
    max-height: 88px;
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
  }
  .gc-voice-controls__left,
  .gc-voice-controls__right {
    display: none;
  }
  .gc-voice-controls__center {
    order: 0;
    width: auto;
  }
}

@media (max-width: 720px) {
  .gc-topic-type-grid { grid-template-columns: 1fr; }
  .gc-voice-member { height: auto; min-height: 74px; max-height: none; padding: 12px 14px; }
  .gc-voice-member__avatar { width: 46px; height: 46px; }
  .gc-voice-member__name { font-size: 16px; }
  .gc-voice-controls__round-btn { width: 48px; height: 48px; }
  .gc-voice-controls__disconnect { width: 148px; min-width: 148px; height: 48px; }
}

/* ??? Final pixel polish vs approved generation (v7) ??? */

/* Left profile: premium avatar placeholder with cyan glow ring */
.col-user .col-user-profile-v37 .profile-modal__avatar-ring {
  width: 120px !important;
  height: 120px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.col-user .col-user-profile-v37 .profile-modal__avatar-wrap {
  margin-bottom: 4px;
  position: relative;
  filter: none;
}
.col-user .col-user-profile-v37 .profile-modal__avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(0, 233, 255, 0.28) 0%, rgba(0, 180, 255, 0.1) 42%, transparent 68%);
  filter: blur(2px);
}
.col-user .col-user-profile-v37 .profile-modal__avatar-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(120, 210, 255, 0.45), transparent 46%),
    radial-gradient(circle at 70% 75%, rgba(80, 120, 255, 0.28), transparent 50%),
    linear-gradient(165deg, #2a4068 0%, #1a2b4a 38%, #0f1a30 72%, #0a1222 100%);
  box-shadow:
    0 0 0 2.5px rgba(0, 236, 255, 0.7),
    0 0 0 7px rgba(0, 200, 255, 0.12),
    0 0 32px rgba(0, 230, 255, 0.42),
    0 0 48px rgba(60, 140, 255, 0.22),
    inset 0 1px 0 rgba(200, 235, 255, 0.28),
    inset 0 -14px 28px rgba(10, 20, 40, 0.45);
}
.col-user .col-user-profile-v37 .profile-modal__avatar-inner .profile-nitro-avatar-fallback,
.col-user .col-user-profile-v37 .profile-modal__avatar-inner .profile-v37-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 40% 32%, rgba(140, 200, 255, 0.22), transparent 58%);
  color: rgba(210, 230, 255, 0.95);
  font-size: 44px;
  font-weight: 750;
  text-shadow: 0 4px 16px rgba(40, 100, 200, 0.35);
}
.col-user .col-user-profile-v37 .profile-modal__avatar-inner img.olone-user-avatar-fallback-active {
  width: 56% !important;
  height: 56% !important;
  max-width: 56% !important;
  max-height: 56% !important;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(60, 140, 255, 0.35));
}
.col-user .col-user-profile-v37 .profile-modal__nickname {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.2;
}
.col-user .col-user-profile-v37 .profile-modal__premium {
  margin-top: 2px;
  margin-bottom: 8px;
}
.col-user .col-user-profile-v37 > img.rail-avatar-img,
.col-user .col-user-profile-v37 > .rail-avatar--img-wrap > img.rail-avatar-img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  box-shadow:
    0 0 0 2.5px rgba(0, 236, 255, 0.7),
    0 0 32px rgba(0, 230, 255, 0.4);
}

.gc-voice-channel {
  gap: 10px;
  padding: 14px 18px 10px;
  height: 100%;
  max-height: none;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: flex-start;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(55, 90, 170, 0.16), transparent 55%),
    linear-gradient(180deg, #080f1d 0%, #070b14 100%);
}

.gc-voice-channel__header {
  min-height: 56px;
  gap: 18px;
  margin-bottom: 0;
  flex: 0 0 auto;
  align-items: center;
}

.gc-voice-channel__header-left {
  gap: 20px;
  align-items: center;
}

.gc-voice-channel__header-titles {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gc-voice-channel__topic-avatar {
  width: 56px;
  height: 56px;
  box-shadow:
    0 0 0 1px rgba(120, 150, 255, 0.22),
    0 14px 34px rgba(90, 110, 255, 0.48),
    0 0 42px rgba(150, 90, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -12px 22px rgba(40, 20, 90, 0.28),
    inset 0 0 18px rgba(180, 200, 255, 0.14);
}

.gc-voice-channel__title {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.15;
}

.gc-voice-channel__slug {
  margin-top: 0;
  font-size: 13px;
  color: rgba(165, 185, 225, 0.7);
  line-height: 1.2;
}

.gc-voice-channel__header-right {
  gap: 10px;
}

.gc-voice-channel__status-card,
.gc-voice-channel__status-pill {
  min-height: 56px;
  height: 56px;
  padding: 0 14px 0 12px;
  border-radius: 16px;
  border-color: rgba(110, 150, 255, 0.2);
  background: rgba(14, 22, 40, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 10px;
}

.gc-voice-channel__status-text {
  gap: 0;
  line-height: 1.12;
}

.gc-voice-channel__status-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}

.gc-voice-channel__member-count {
  font-size: 11px;
  line-height: 1.15;
}

.gc-voice-channel__action-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.gc-voice-channel__workspace {
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: flex-start;
  margin-bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.gc-voice-channel__glass {
  padding: 14px 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(110, 150, 255, 0.18);
  background: rgba(20, 30, 55, 0.75);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(170, 200, 255, 0.1),
    inset 0 0 40px rgba(70, 110, 210, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gc-voice-channel__glass--members {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  justify-content: flex-start;
  overflow: visible;
}

.gc-voice-channel__glass--members .gc-voice-channel__members {
  flex: 0 0 auto;
  height: auto;
  max-height: none;
  overflow: visible;
}

.gc-voice-channel__glass--listeners {
  flex: 0 0 auto;
  min-height: 0;
}

.gc-voice-channel__section-title {
  margin: 0 0 10px;
  color: rgba(168, 188, 222, 0.76);
}

.gc-voice-member {
  height: 82px;
  min-height: 82px;
  max-height: 82px;
  padding: 10px 18px;
  margin-bottom: 8px;
  border-radius: 18px;
  gap: 14px;
  flex: 0 0 82px;
  border-color: rgba(110, 150, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 28, 48, 0.95), rgba(12, 20, 36, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(150, 180, 255, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.18);
}

.gc-voice-member:last-child {
  margin-bottom: 0;
}

.gc-voice-member__avatar {
  width: 48px;
  height: 48px;
}

.gc-voice-member__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.gc-voice-member__name-row {
  gap: 3px;
  flex-direction: column;
  align-items: flex-start;
}

.gc-voice-member__status {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(168, 186, 220, 0.72);
  line-height: 1.2;
}

.gc-voice-member--speaking {
  border-color: rgba(50, 255, 150, 0.55);
  box-shadow:
    0 0 0 1px rgba(50, 255, 150, 0.2),
    0 0 24px rgba(50, 255, 150, 0.35),
    inset 0 0 22px rgba(50, 255, 150, 0.06);
}

.gc-voice-member--speaking .gc-voice-member__status {
  color: #3dff9a;
  font-weight: 650;
}

.gc-voice-member--afk .gc-voice-member__status,
.gc-voice-member--listener .gc-voice-member__status {
  color: rgba(250, 204, 21, 0.88);
}

.gc-voice-member--muted .gc-voice-member__status {
  color: rgba(255, 120, 140, 0.9);
}

.gc-voice-member__icons {
  gap: 12px;
  flex-shrink: 0;
}

.gc-voice-member__wave {
  margin-right: 8px;
  height: 32px;
  gap: 3.5px;
}

.gc-voice-member__wave span {
  width: 3.5px;
  background: #3dff9a;
  box-shadow: 0 0 12px rgba(50, 255, 150, 0.35);
}

.gc-voice-member__state-icon--off {
  color: rgba(255, 110, 130, 0.95);
  filter: none;
}

.gc-topic-item--voice:not(.topic-item) {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
}

.gc-topic-item--voice:not(.topic-item).gc-topic-item--active {
  border-color: rgba(90, 140, 255, 0.6);
  background: rgba(75, 110, 255, 0.16);
  box-shadow:
    0 0 24px rgba(80, 120, 255, 0.35),
    0 0 0 1px rgba(90, 140, 255, 0.22),
    inset 0 1px 0 rgba(180, 210, 255, 0.12);
}

.gc-voice-channel__controls {
  flex: 0 0 88px;
  min-height: 88px;
  max-height: 88px;
  height: 88px;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 14px 18px;
  border-radius: 22px;
  gap: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(110, 150, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(20, 30, 55, 0.92), rgba(12, 18, 34, 0.96));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(170, 200, 255, 0.1);
}

.gc-voice-controls__left,
.gc-voice-controls__right {
  display: none;
}

.gc-voice-controls__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
}

.gc-voice-controls__center--solo {
  width: auto;
  margin: 0 auto;
}

.gc-voice-controls__device-card {
  min-width: 0;
  max-width: 240px;
  width: 100%;
  min-height: 80px;
  height: 80px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 255, 0.2);
  background: rgba(12, 20, 36, 0.82);
  justify-content: center;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(160, 190, 255, 0.08);
}

.gc-voice-controls__device-heading {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 4px;
  color: rgba(190, 210, 245, 0.88);
}

.gc-voice-controls__device-label {
  font-size: 11px;
  opacity: 0.9;
}

.gc-voice-controls__device-select {
  height: 26px;
  font-size: 13px;
}

.gc-voice-controls__test-sound {
  height: 1px;
  padding: 0;
}

.gc-voice-controls__device-settings {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 150, 255, 0.2);
  background: rgba(12, 20, 36, 0.78);
  color: rgba(180, 205, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gc-voice-controls__round-btn {
  width: 52px;
  height: 52px;
}

.gc-voice-controls__disconnect {
  width: 152px;
  min-width: 152px;
  height: 52px;
  border-radius: 999px;
}

.gc-voice-controls__mic-mode {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  min-height: 80px;
  height: 80px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 255, 0.2);
  background: rgba(12, 20, 36, 0.82);
  justify-content: center;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(160, 190, 255, 0.08);
}

.gc-voice-controls__activity-label {
  font-size: 12px;
}

.gc-voice-controls__radio {
  font-size: 13px;
}

.gc-voice-events {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0.55;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  line-height: 1.15;
}

.gc-voice-events:not([open]) {
  min-height: 0;
  height: auto;
}

.gc-voice-events__summary {
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0;
  line-height: 1.15;
  min-height: 0;
}

.gc-voice-events__list {
  max-height: 40px;
}

.gc-voice-ptt-hint {
  bottom: 108px;
}

/* ??? Voice settings modal (premium glass) ??? */
.gc-voice-settings-modal {
  width: min(460px, calc(100vw - 24px));
  max-width: 100%;
  max-height: min(88vh, 720px);
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 22px;
  border: 1px solid rgba(120, 160, 255, 0.28);
  background:
    linear-gradient(165deg, rgba(22, 32, 56, 0.94), rgba(10, 16, 30, 0.96));
  color: #e8eefc;
  box-shadow:
    0 0 0 1px rgba(140, 180, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(60, 110, 255, 0.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gc-voice-settings-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(120, 160, 255, 0.16);
  background: rgba(14, 22, 40, 0.55);
}

.gc-voice-settings-modal__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gc-voice-settings-modal__head-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(190, 215, 255, 0.95);
  background: rgba(70, 120, 255, 0.18);
  border: 1px solid rgba(120, 160, 255, 0.22);
}

.gc-voice-settings-modal__head-icon svg {
  width: 18px;
  height: 18px;
}

.gc-voice-settings-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #eef3ff;
  line-height: 1.25;
}

.gc-voice-settings-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(120, 160, 255, 0.2);
  background: rgba(12, 20, 36, 0.72);
  color: rgba(200, 215, 245, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gc-voice-settings-modal__close:hover {
  border-color: rgba(140, 180, 255, 0.4);
  background: rgba(22, 34, 56, 0.9);
}

.gc-voice-settings-modal__close svg {
  width: 16px;
  height: 16px;
}

.gc-voice-settings-modal__scroll {
  padding: 18px 20px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gc-voice-settings-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gc-voice-settings-section__title {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(170, 195, 240, 0.78);
}

.gc-voice-settings-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 255, 0.22);
  background: rgba(12, 20, 36, 0.72);
  box-shadow: inset 0 1px 0 rgba(160, 190, 255, 0.06);
}

.gc-voice-settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-voice-settings-field--actions {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.gc-voice-settings-field__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(190, 210, 245, 0.88);
}

.gc-voice-settings-field__select {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(110, 150, 255, 0.28);
  background: rgba(10, 16, 30, 0.78);
  color: #e8eefc;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}

.gc-voice-settings-field__select:focus {
  border-color: rgba(120, 170, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(80, 130, 255, 0.18);
}

.gc-voice-settings-activity {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: none;
  box-shadow: none;
}

.gc-voice-settings-activity__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gc-voice-settings-option {
  display: block;
  cursor: pointer;
  margin: 0;
}

.gc-voice-settings-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-voice-settings-option__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 255, 0.22);
  background: rgba(12, 20, 36, 0.72);
  box-shadow: inset 0 1px 0 rgba(160, 190, 255, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gc-voice-settings-option:hover .gc-voice-settings-option__card {
  border-color: rgba(130, 170, 255, 0.4);
  background: rgba(18, 28, 48, 0.85);
}

.gc-voice-settings-option:has(input:checked) .gc-voice-settings-option__card {
  border-color: rgba(90, 140, 255, 0.6);
  background: rgba(75, 110, 255, 0.16);
  box-shadow:
    0 0 24px rgba(80, 120, 255, 0.28),
    0 0 0 1px rgba(90, 140, 255, 0.22),
    inset 0 1px 0 rgba(180, 210, 255, 0.12);
}

.gc-voice-settings-option__icon {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
}

.gc-voice-settings-option__title {
  font-size: 14px;
  font-weight: 650;
  color: #eef3ff;
}

.gc-voice-settings-option__desc {
  font-size: 12px;
  color: rgba(170, 190, 230, 0.72);
  line-height: 1.35;
}

.gc-voice-settings-ptt-key {
  margin-top: 2px;
}

.gc-voice-settings-ptt-key__row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gc-voice-settings-ptt-key__row .gc-voice-settings-field__select {
  flex: 1 1 auto;
}

.gc-voice-settings-ptt-key__capture {
  height: 40px;
  border-radius: 12px;
  padding: 0 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gc-voice-settings-ptt-key__capture.is-listening {
  border-color: rgba(90, 140, 255, 0.55);
  color: #dbe7ff;
}

.gc-voice-settings-ptt-key__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(170, 190, 230, 0.72);
}

.gc-voice-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gc-voice-settings-test-btn,
.gc-voice-settings-refresh-btn {
  height: 36px;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
}

.gc-voice-settings-toggle-list {
  display: none;
}

@media (max-width: 520px) {
  .gc-voice-settings-modal {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    border-radius: 20px;
  }

  .gc-voice-settings-modal__title {
    font-size: 15px;
  }

  .gc-voice-settings-modal__scroll {
    padding: 14px 14px 18px;
    gap: 16px;
  }
}

/* ??? Screen stage + fullscreen overlay (Stage 4) ??? */
.gc-voice-screen-stage {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: clamp(260px, 32vh, 360px);
  margin-bottom: 12px;
  flex: 0 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #030814;
  border: 1px solid rgba(90, 140, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(170, 200, 255, 0.06);
}

.gc-voice-screen-stage.hidden {
  display: none;
}

.gc-voice-screen-stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(20, 30, 55, 0.72);
  border-bottom: 1px solid rgba(90, 140, 255, 0.18);
  flex: 0 0 auto;
}

.gc-voice-screen-stage__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(190, 215, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-voice-screen-stage__expand {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(90, 140, 255, 0.35);
  background: rgba(20, 30, 55, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e8efff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.gc-voice-screen-stage__expand:hover {
  transform: scale(1.05);
  border-color: rgba(90, 140, 255, 0.55);
  box-shadow: 0 0 18px rgba(70, 130, 255, 0.35);
}

.gc-voice-screen-stage__expand svg {
  width: 18px;
  height: 18px;
}

.gc-voice-screen-stage__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020712;
}

.gc-voice-screen-stage__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020712;
  display: block;
}

.gc-voice-member__screen-badge {
  display: inline-flex;
  align-items: center;
  max-width: 140px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.gc-voice-fullscreen-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  background: #020712;
  color: #e8efff;
}

.gc-voice-fullscreen-viewer.hidden,
.gc-voice-fullscreen-viewer[hidden] {
  display: none !important;
}

.gc-voice-fullscreen-viewer__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020712;
}

.gc-voice-fullscreen-viewer__video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  background: #000;
}

.gc-voice-fullscreen-exit--top {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(90, 140, 255, 0.35);
  background: rgba(20, 30, 55, 0.82);
  backdrop-filter: blur(16px);
  color: #e8efff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.gc-voice-fullscreen-viewer--controls-visible .gc-voice-fullscreen-exit--top {
  opacity: 1;
  pointer-events: auto;
}

.gc-voice-fullscreen-exit--top svg {
  width: 20px;
  height: 20px;
}

.gc-voice-fullscreen-dock {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(90, 140, 255, 0.28);
  background: rgba(20, 30, 55, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 3;
}

.gc-voice-fullscreen-viewer--controls-visible .gc-voice-fullscreen-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gc-voice-fullscreen-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(110, 150, 255, 0.35);
  background: rgba(12, 20, 36, 0.9);
  color: #e8efff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.gc-voice-fullscreen-exit:hover {
  border-color: rgba(90, 140, 255, 0.55);
  box-shadow: 0 0 18px rgba(70, 130, 255, 0.3);
}

.gc-voice-fullscreen-exit svg {
  width: 18px;
  height: 18px;
}

body.gc-voice-fullscreen-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .gc-voice-screen-stage {
    height: clamp(200px, 28vh, 280px);
    border-radius: 16px;
  }

  .gc-voice-fullscreen-exit span {
    display: none;
  }

  .gc-voice-fullscreen-exit:not(.gc-voice-fullscreen-exit--top) {
    width: 52px;
    padding: 0;
  }
}

/* --- Webcam video stage (Stage 4) --- */
.gc-voice-video-stage {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(90, 140, 255, 0.24);
  background: rgba(20, 30, 55, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex: 0 0 auto;
}

.gc-voice-video-stage.hidden {
  display: none;
}

.gc-voice-video-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.gc-voice-video-grid.is-single {
  grid-template-columns: minmax(260px, min(520px, 100%));
  justify-content: center;
}

.gc-voice-video-grid.is-duo {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.gc-voice-video-grid.is-quad {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.gc-voice-video-grid.is-multi {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gc-voice-video-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  background: #030814;
  border: 1px solid rgba(90, 140, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(170, 200, 255, 0.06);
}

.gc-voice-video-tile.is-speaking {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.28), 0 0 22px rgba(34, 197, 94, 0.28);
}

.gc-voice-video-tile__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #030814;
}

.gc-voice-video-tile__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 7, 18, 0.82) 100%);
}

.gc-voice-video-tile__name {
  font-size: 12px;
  font-weight: 650;
  color: #eef3ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-voice-video-tile__status {
  font-size: 12px;
  color: rgba(190, 215, 255, 0.9);
  flex-shrink: 0;
}

.gc-voice-member__camera-badge {
  display: inline-flex;
  align-items: center;
  max-width: 140px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.gc-voice-member-menu__quality {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(190, 210, 245, 0.88);
  white-space: pre-line;
  border-top: 1px solid rgba(90, 140, 255, 0.16);
}

@media (max-width: 720px) {
  .gc-voice-video-grid.is-duo,
  .gc-voice-video-grid.is-quad,
  .gc-voice-video-grid.is-multi {
    grid-template-columns: 1fr;
  }

  .gc-voice-video-tile {
    min-height: 160px;
  }
}

/* ============================================================
   HOTFIX gc_topics_glass_v4 — cascade isolation for topics rail
   Must load AFTER olone-app.css (and after gc-topics-glass.css).
   Isolates .topic-item from global .avatar / .dialog-item geometry.
   ============================================================ */

.col-dialogs--gc-topics .topic-item .avatar,
.col-dialogs--gc-topics .topic-item .user-avatar,
.col-dialogs--gc-topics .topic-item .dialog-avatar,
.col-dialogs--gc-topics .topic-item .dialog-avatar-wrap,
.col-dialogs--gc-topics .topic-item .chat-avatar,
.col-dialogs--gc-topics .topic-item .profile-avatar,
.col-dialogs--gc-topics .topic-item .member-avatar,
.col-dialogs--gc-topics .topic-item .rail-avatar,
.col-dialogs--gc-topics .topic-item .dialog-row,
.col-dialogs--gc-topics .topic-item .dialog-item-body,
.col-dialogs--gc-topics .gc-topics-list .dialog-item,
.col-dialogs--gc-topics .gc-topics-list .dialog-row,
.col-dialogs--gc-topics .gc-topics-list .chat-list-item {
  display: none;
}

.col-dialogs--gc-topics .topic-item,
.col-dialogs--gc-topics button.topic-item,
.col-dialogs--gc-topics .gc-topic-item.topic-item {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  height: 74px;
  min-height: 74px;
  max-height: 74px;
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 39, 58, 0.48), rgba(18, 25, 38, 0.34));
  border: 1px solid rgba(130, 160, 220, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.col-dialogs--gc-topics .topic-item:hover,
.col-dialogs--gc-topics .gc-topic-item.topic-item:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(38, 49, 72, 0.58), rgba(20, 28, 43, 0.46));
  border-color: rgba(110, 150, 230, 0.16);
}

.col-dialogs--gc-topics .topic-item--voice,
.col-dialogs--gc-topics .gc-topic-item--voice.topic-item--voice {
  height: 76px;
  min-height: 76px;
  max-height: 76px;
}

.col-dialogs--gc-topics .topic-item--text.topic-item--active,
.col-dialogs--gc-topics .gc-topic-item--text.topic-item--active {
  background: linear-gradient(135deg, rgba(43, 67, 116, 0.5), rgba(28, 43, 73, 0.58));
  border: 1px solid rgba(91, 145, 255, 0.7);
  box-shadow: 0 0 16px rgba(50, 105, 225, 0.18);
}

.col-dialogs--gc-topics .topic-item--voice.topic-item--active,
.col-dialogs--gc-topics .gc-topic-item--voice.topic-item--active {
  background: linear-gradient(135deg, rgba(43, 76, 151, 0.54), rgba(24, 40, 83, 0.7));
  border: 1px solid rgba(72, 130, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(52, 110, 235, 0.15),
    0 0 24px rgba(48, 112, 255, 0.33),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.col-dialogs--gc-topics .topic-item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 40px;
  border-radius: 3px;
  background: #68a0ff;
}

.col-dialogs--gc-topics .topic-item__icon {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 box-sizing: border-box;
 overflow: hidden;
}

.col-dialogs--gc-topics .topic-item__icon--text {
 width: 44px;
 height: 44px;
 border-radius: 14px;
 background: linear-gradient(145deg, rgba(76, 93, 137, 0.3), rgba(38, 48, 75, 0.24));
 border: 1px solid rgba(130, 160, 230, 0.18);
 color: #e6eaff;
}

.col-dialogs--gc-topics .topic-item__icon--voice {
 width: 48px;
 height: 48px;
 border-radius: 15px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(145deg, rgba(37, 74, 154, 0.38), rgba(23, 45, 98, 0.24));
 border: 1px solid rgba(77, 128, 235, 0.34);
 color: #82aaff;
}

/* Ban 48px SVG fill on the whole voice card */
.col-dialogs--gc-topics .topic-item--voice > svg,
.col-dialogs--gc-topics .topic-item--voice svg {
 width: auto;
 height: auto;
}

.col-dialogs--gc-topics .topic-item__icon--text svg {
 display: block;
 width: 21px;
 height: 21px;
 stroke: #e6eaff;
 stroke-width: 1.8;
 flex-shrink: 0;
}

.col-dialogs--gc-topics .topic-item__icon--voice svg {
 display: block;
 width: 22px;
 height: 22px;
 stroke: #82aaff;
 stroke-width: 1.85;
 flex-shrink: 0;
}

.col-dialogs--gc-topics .topic-item__content {
 min-width: 0;
 display: flex;
 flex-direction: column;
 justify-content: center;
}

.col-dialogs--gc-topics .topic-item__title {
 font-size: 15px;
 font-weight: 750;
 line-height: 19px;
 color: #f8faff;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.col-dialogs--gc-topics .topic-item__subtitle {
 margin-top: 3px;
 font-size: 13px;
 font-weight: 500;
 line-height: 17px;
 color: #91a0bb;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.col-dialogs--gc-topics .topic-item__voice-meta {
 display: flex;
 align-items: center;
 gap: 6px;
 margin-top: 4px;
 font-size: 13px;
 font-weight: 500;
 color: #8fa1c1;
 min-width: 0;
}

.col-dialogs--gc-topics .topic-item__voice-meta svg {
 display: block;
 width: 13px;
 height: 13px;
 flex-shrink: 0;
 stroke: #8fa1c1;
}

.col-dialogs--gc-topics .topic-item__voice-actions {
 width: 46px;
 min-width: 28px;
 height: 48px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 7px;
 flex-shrink: 0;
}

.col-dialogs--gc-topics .topic-item__trailing {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 6px;
 flex-shrink: 0;
 min-width: 26px;
}

.col-dialogs--gc-topics .topic-item__settings {
 all: unset;
 box-sizing: border-box;
 width: 26px;
 height: 26px;
 padding: 0;
 border: 0;
 border-radius: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: transparent;
 opacity: 0.62;
 color: #8994aa;
 cursor: pointer;
 -webkit-appearance: none;
 appearance: none;
}

.col-dialogs--gc-topics .topic-item__settings svg {
 display: block;
 width: 17px;
 height: 17px;
 stroke: #8994aa;
 flex-shrink: 0;
}

.col-dialogs--gc-topics .topic-item__settings:hover {
 opacity: 1;
 background: rgba(255, 255, 255, 0.05);
}

.col-dialogs--gc-topics .voice-connection-bars,
.col-dialogs--gc-topics .voice-level-bars.voice-connection-bars {
 width: 22px;
 height: 18px;
 display: flex;
 align-items: flex-end;
 justify-content: center;
 gap: 3px;
 flex: 0 0 auto;
}

.col-dialogs--gc-topics .voice-connection-bars__bar {
 width: 3px;
 border-radius: 999px;
 background: rgba(100, 115, 145, 0.26);
 box-shadow: none;
 transition:
  height 0.2s ease,
  background-color 0.2s ease,
  opacity 0.2s ease,
  box-shadow 0.2s ease;
}

.col-dialogs--gc-topics .voice-connection-bars__bar:nth-child(1) { height: 6px; }
.col-dialogs--gc-topics .voice-connection-bars__bar:nth-child(2) { height: 11px; }
.col-dialogs--gc-topics .voice-connection-bars__bar:nth-child(3) { height: 17px; }

.col-dialogs--gc-topics .voice-connection-bars--poor .voice-connection-bars__bar:nth-child(1) {
 background: #ff5f67;
 opacity: 1;
 box-shadow: 0 0 7px rgba(255, 95, 103, 0.38);
}

.col-dialogs--gc-topics .voice-connection-bars--poor .voice-connection-bars__bar:nth-child(2),
.col-dialogs--gc-topics .voice-connection-bars--poor .voice-connection-bars__bar:nth-child(3) {
 background: rgba(255, 95, 103, 0.18);
 opacity: 0.42;
 box-shadow: none;
}

.col-dialogs--gc-topics .voice-connection-bars--medium .voice-connection-bars__bar:nth-child(1),
.col-dialogs--gc-topics .voice-connection-bars--medium .voice-connection-bars__bar:nth-child(2) {
 background: #f6c453;
 opacity: 1;
 box-shadow: 0 0 7px rgba(246, 196, 83, 0.34);
}

.col-dialogs--gc-topics .voice-connection-bars--medium .voice-connection-bars__bar:nth-child(3) {
 background: rgba(246, 196, 83, 0.2);
 opacity: 0.42;
 box-shadow: none;
}

.col-dialogs--gc-topics .voice-connection-bars--good .voice-connection-bars__bar {
 background: #38d996;
 opacity: 1;
 box-shadow: 0 0 7px rgba(56, 217, 150, 0.34);
}

.col-dialogs--gc-topics .voice-connection-bars--offline .voice-connection-bars__bar {
 background: rgba(126, 137, 160, 0.24);
 opacity: 0.38;
 box-shadow: none;
}

.col-dialogs--gc-topics .voice-connection-bars--offline .voice-connection-bars__bar:first-child {
 background: rgba(255, 95, 103, 0.52);
 opacity: 0.72;
}

.col-dialogs--gc-topics .voice-connection-bars--checking {
 opacity: 0.58;
 animation: voiceConnectionChecking 1.6s ease-in-out infinite;
}

.col-dialogs--gc-topics .voice-connection-bars--checking .voice-connection-bars__bar {
 background: rgba(100, 115, 145, 0.26);
 opacity: 0.55;
 box-shadow: none;
}

.col-dialogs--gc-topics .voice-connection-bars--hidden {
 visibility: hidden;
 opacity: 0;
 pointer-events: none;
 animation: none;
}

@keyframes voiceConnectionChecking {
 0%,
 100% { opacity: 0.42; }
 50% { opacity: 0.76; }
}

.col-dialogs--gc-topics .gc-topics-list {
 flex: 1 1 auto;
 min-height: 0;
 display: flex;
 flex-direction: column;
 gap: 10px;
 overflow-x: hidden;
 overflow-y: auto;
}

.col-dialogs--gc-topics .gc-topics-rail-body {
 overflow: hidden;
}

.col-dialogs--gc-topics .gc-topics-add-btn {
 flex: 0 0 auto;
 margin: 12px 0 0;
 position: static;
}

/* ============================================================
   HOTFIX gc_topics_mode_scope_v1 — hide topics chrome outside topics mode
   ============================================================ */
.col-dialogs:not(.col-dialogs--gc-topics) #gcTopicsRail,
.col-dialogs:not(.col-dialogs--gc-topics) .gc-topics-rail,
.col-dialogs:not(.col-dialogs--gc-topics) .gc-topics-back-btn,
.col-dialogs:not(.col-dialogs--gc-topics) .gc-topics-search,
.col-dialogs:not(.col-dialogs--gc-topics) .gc-topics-list,
.col-dialogs:not(.col-dialogs--gc-topics) .gc-topics-add-btn,
.gc-topics-rail.hidden,
#gcTopicsRail.hidden,
#gcTopicsRail[hidden] {
  display: none !important;
}

.col-dialogs--gc-topics .gc-topics-rail:not(.hidden):not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.col-dialogs--gc-topics .gc-topics-back-btn {
  display: flex;
}

.col-dialogs--gc-topics .gc-topics-search {
  display: block;
}

.col-dialogs--gc-topics .gc-topics-list {
  display: flex;
}

.col-dialogs--gc-topics .gc-topics-add-btn:not(.hidden) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Audio autoplay resume (does not alter voice layout chrome) */
#voiceRemoteAudioHost {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.gc-voice-audio-resume-btn {
  position: absolute;
  right: 18px;
  bottom: 92px;
  z-index: 6;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(120, 160, 255, 0.35);
  background: rgba(28, 42, 72, 0.92);
  color: #dce7ff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.gc-voice-audio-resume-btn.hidden {
  display: none !important;
}

.gc-voice-channel {
  position: relative;
}

/* ============================================================
   HOTFIX gc_topics_minimal_header_v1 — minimal header in topics mode
   ============================================================ */
.col-dialogs--gc-topics #profileTabsWrap,
.col-dialogs--gc-topics .profile-tabs-wrap,
.col-dialogs--gc-topics .profile-tabs,
.col-dialogs--gc-topics .dialogs-filter-pills,
.col-dialogs--gc-topics #dialogsRailSearchWrap,
.col-dialogs--gc-topics .dialogs-rail-search-wrap,
.col-dialogs--gc-topics .profile-tab-panels--aux,
.col-dialogs--gc-topics #oloneMobileFabGroupChat,
.col-dialogs--gc-topics #oloneMobileFabChannel {
  display: none !important;
}

.col-dialogs--gc-topics .dialogs-nav-sticky {
  min-height: auto;
  padding-bottom: 0;
  margin-bottom: 0;
  gap: 0;
}

.col-dialogs--gc-topics .dialogs-scroll-strip {
  padding-top: 0;
  margin-top: 0;
}

.col-dialogs--gc-topics .dialogs-nav-sticky::after,
.col-dialogs--gc-topics .dialogs-col-title::before,
.col-dialogs--gc-topics .dialogs-col-title::after {
  content: none !important;
  display: none !important;
}

.col-dialogs--gc-topics .dialogs-col-title,
.col-dialogs--gc-topics .dialogs-col-title--gc-topics,
.col-dialogs--gc-topics .panel-head.dialogs-col-title {
  width: 100%;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 12px 0 0;
  padding-right: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.col-dialogs--gc-topics #gcTopicsRail,
.col-dialogs--gc-topics .gc-topics-rail {
  margin-top: 0;
  padding-top: 0;
}
