/*
 * Voice room layout: equal cards in a grid, pages of participants, a strip under a shared screen.
 * Loaded after gc-voice-channel.css and overrides its look, hence the long selectors.
 */
html body #messengerShell #chatView #gcVoiceChannelView {
  --room-bg: #0d1014;
  --room-btn: #232a34;
  --room-btn-hover: #2d3642;
  --room-avatar: #2a323d;
  --room-text: #e6eaf0;
  --room-muted: #9ca6b4;
  --room-speaking: #23a55a;
  --room-danger: #da373c;
  --room-danger-hover: #a12828;
  --room-tile-s: 28%;
  --room-tile-l: 20%;
  background: var(--room-bg) !important;
  background-image: none !important;
  border: 0 !important;
  padding: 0 !important;
}
html[data-theme="light"] body #messengerShell #chatView #gcVoiceChannelView {
  --room-bg: #eef2f6;
  --room-btn: #ffffff;
  --room-btn-hover: #e4e9f0;
  --room-avatar: #d7dde6;
  --room-text: #384252;
  --room-muted: #6b7686;
  --room-tile-s: 45%;
  --room-tile-l: 88%;
}
html body #messengerShell #chatView #gcVoiceChannelView,
html body #messengerShell #chatView #gcVoiceChannelView * {
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView::before,
html body #messengerShell #chatView #gcVoiceChannelView::after,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__workspace::before,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__workspace::after,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList::before,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList::after,
html body #messengerShell #chatView #gcVoiceChannelView article.voice-participant-tile::before,
html body #messengerShell #chatView #gcVoiceChannelView article.voice-participant-tile::after,
html body #messengerShell #chatView #gcVoiceChannelView .voice-participant-avatar-wrap::before,
html body #messengerShell #chatView #gcVoiceChannelView .voice-participant-avatar-wrap::after {
  display: none !important;
}

/* Header */
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__header {
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  background: var(--room-bg) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__topic-avatar {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  color: var(--room-muted) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__title {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__slug {
  margin: 0 !important;
  color: var(--room-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__status-card {
  padding: 0 6px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__status-label {
  color: var(--room-text) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__member-count,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__duration {
  color: var(--room-muted) !important;
  font-size: 12px !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__action-btn {
  width: 34px !important;
  height: 34px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--room-muted) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__action-btn:hover {
  background: var(--room-btn) !important;
  color: var(--room-text) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__action-count {
  background: transparent !important;
  border: 0 !important;
  color: var(--room-muted) !important;
}

/* Workspace: the stage above, the pager below */
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__workspace {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 16px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMiniSourcesToggle {
  display: none !important;
}

/* Cards */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList.voice-participant-stage {
  position: static !important;
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  transform: none !important;
  /* Older rules made the stage click-through, which also killed the right-click menu. */
  pointer-events: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-grid #gcVoiceMembersList.voice-participant-stage {
  flex: 1 1 auto !important;
  grid-template-columns: repeat(var(--room-cols, 2), minmax(0, 1fr)) !important;
  grid-template-rows: repeat(var(--room-rows, 1), minmax(0, 1fr)) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList.voice-participant-stage {
  flex: 0 0 96px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  order: 0 !important;
  aspect-ratio: auto !important;
  background: hsl(var(--tile-hue, 215) var(--room-tile-s) var(--room-tile-l)) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  outline: 2px solid transparent !important;
  outline-offset: -2px !important;
  pointer-events: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile.is-offpage {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile--speaking {
  outline-color: var(--room-speaking) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-media {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: inherit !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-avatar-state.hidden,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-avatar-state[hidden] {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-avatar-state:not(.hidden):not([hidden]) {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-avatar-wrap {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  aspect-ratio: 1 / 1 !important;
  flex: none !important;
  box-sizing: border-box !important;
  width: var(--room-avatar-size, 88px) !important;
  height: var(--room-avatar-size, 88px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--room-avatar) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  outline: 0 !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList article.voice-participant-tile .voice-participant-avatar-wrap {
  width: 40px !important;
  height: 40px !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile img.voice-participant-avatar {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile img.voice-participant-avatar.is-avatar-placeholder {
  padding: 24% !important;
  background: transparent !important;
  background-image: none !important;
  object-fit: contain !important;
}
/* The camera takes the card as it is: the card never changes size when video starts. */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  background: #000 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-identity {
  position: absolute !important;
  left: 8px !important;
  right: auto !important;
  top: auto !important;
  bottom: 8px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  max-width: calc(100% - 16px) !important;
  height: 24px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList article.voice-participant-tile .voice-participant-name {
  overflow: hidden !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList article.voice-participant-tile .voice-participant-identity {
  left: 4px !important;
  bottom: 4px !important;
  height: 20px !important;
  padding: 0 6px !important;
}

/* Shared screen */
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceScreenStage {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__body {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  background: #000 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: inherit !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__video {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #000 !important;
  border: 0 !important;
  border-radius: inherit !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head {
  position: absolute !important;
  inset: 8px 8px auto 8px !important;
  z-index: 3 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  pointer-events: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head button {
  pointer-events: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__label {
  max-width: 55% !important;
  padding: 3px 8px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__expand {
  background: rgba(0, 0, 0, 0.65) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__footer {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  height: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head > * {
  position: static !important;
  inset: auto !important;
  flex: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head .gc-voice-screen-stage__label {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  margin-right: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__head .gc-voice-screen-stage__expand {
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  padding: 7px !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__back {
  padding: 7px 12px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceScreenStage .gc-voice-screen-stage__back:hover {
  background: rgba(0, 0, 0, 0.85) !important;
}

/* A share is a card of its own. */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  border: 0 !important;
  border-radius: 8px !important;
  outline: 2px solid transparent !important;
  outline-offset: -2px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile:hover,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile:focus-visible {
  outline-color: var(--accent, #6b9df5) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-offpage,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-focused-share {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__video {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #000 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__wait,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__watch {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__wait {
  display: none !important;
  color: var(--room-muted) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-waiting .voice-screen-tile__wait {
  display: block !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__watch {
  display: none !important;
  background: rgba(0, 0, 0, 0.7) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile:not(.is-waiting):hover .voice-screen-tile__watch {
  display: block !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__name {
  position: absolute !important;
  left: 8px !important;
  bottom: 8px !important;
  max-width: calc(100% - 16px) !important;
  overflow: hidden !important;
  padding: 4px 8px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList .voice-screen-tile__name {
  left: 4px !important;
  bottom: 4px !important;
  padding: 2px 6px !important;
}

/* Pages of participants */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceStagePager {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--room-muted);
  font-size: 12px;
  font-weight: 500;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceStagePager.hidden {
  display: none !important;
}
#gcVoiceStagePager .gc-voice-pager__speaker {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  overflow: hidden;
  padding: 2px 4px;
  background: transparent;
  border: 0;
  color: var(--room-text);
  font: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
#gcVoiceStagePager .gc-voice-pager__speaker.hidden {
  visibility: hidden;
}
#gcVoiceStagePager .gc-voice-pager__speaker::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--room-speaking);
}
#gcVoiceStagePager .gc-voice-pager__nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--room-text);
}
#gcVoiceStagePager .gc-voice-pager__btn {
  width: 28px;
  height: 28px;
  padding: 0;
  background: var(--room-btn);
  border: 0;
  border-radius: 8px;
  color: var(--room-text);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
#gcVoiceStagePager .gc-voice-pager__btn:hover:not(:disabled) {
  background: var(--room-btn-hover);
}
#gcVoiceStagePager .gc-voice-pager__btn:disabled {
  color: var(--room-muted);
  cursor: default;
}
#gcVoiceStagePager .gc-voice-pager__total {
  justify-self: end;
}

/* Controls */
html body #messengerShell #chatView footer#gcVoiceControls.gc-voice-channel__controls {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 16px 16px !important;
  background: var(--room-bg) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__center {
  gap: 8px !important;
  background: transparent !important;
  border: 0 !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn.is-on,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn.is-off {
  width: 56px !important;
  height: 44px !important;
  background: var(--room-btn) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--room-text) !important;
  filter: none !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn:hover {
  background: var(--room-btn-hover) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--webcam.is-off,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--screen.is-off {
  color: var(--room-muted) !important;
}
/* Camera or screen on: green, so it is clear you are being seen. */
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--webcam.is-on,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--screen.is-on {
  background: var(--room-speaking) !important;
  color: #fff !important;
}
/* Muted mic or headphones: the one state to notice. */
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--mic.is-off,
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn--headphones.is-off {
  background: var(--room-btn) !important;
  color: var(--room-danger) !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__disconnect {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: 64px !important;
  min-width: 0 !important;
  max-width: 64px !important;
  height: 44px !important;
  margin-left: 8px !important;
  padding: 0 !important;
  background: var(--room-danger) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  filter: none !important;
  transform: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__disconnect span {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__disconnect:hover {
  background: var(--room-danger-hover) !important;
}

/* Phones */
@media (max-width: 700px) {
  html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-channel__workspace {
    padding: 0 8px !important;
  }
  html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList.voice-participant-stage {
    flex-basis: 76px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn,
  html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn.is-on,
  html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__round-btn.is-off {
    width: 48px !important;
  }
  html body #messengerShell #chatView #gcVoiceChannelView .gc-voice-controls__disconnect {
    width: 56px !important;
    max-width: 56px !important;
    margin-left: 4px !important;
  }
  #gcVoiceStagePager .gc-voice-pager__total {
    display: none;
  }
}

/* Two or more shares: a share nobody picked yet is a closed card with «Смотреть демонстрацию». */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__choose {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched {
  background: linear-gradient(160deg, rgba(91, 141, 239, 0.22), rgba(139, 92, 246, 0.2)), #0b0f1c !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__video,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__watch,
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__wait {
  display: none !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__choose {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  transition: background 0.15s ease !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile.is-unwatched:hover .voice-screen-tile__choose {
  background: rgba(91, 141, 239, 0.55) !important;
}
/* In the small strip under a share being watched, the closed card shows only the picture. */
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__choose {
  top: 42% !important;
  padding: 6px !important;
}
html body #messengerShell #chatView #gcVoiceChannelView .voice-room-share #gcVoiceMembersList .voice-screen-tile.is-unwatched .voice-screen-tile__choose > span {
  display: none !important;
}

/* «Смотрят: N» on a screen share card: an eye and the number, top right; names on hover. */
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__viewers {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  pointer-events: auto !important;
}
html body #messengerShell #chatView #gcVoiceChannelView #gcVoiceMembersList .voice-screen-tile__viewers.hidden {
  display: none !important;
}
