#app {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #000;
}

.channel_view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  overflow: hidden;
}

.sub_channel-list {
  position: fixed;
  top: 0;
  right: 0;
  /* width: 20%; */
  height: auto;
  border: 1px solid #ccc;
}

.sub_channel-list .sub_channel-box {
  position: relative;
  border-top: 1px solid #ccc;
  background-color: #000;
}

.sub_channel-list .sub_channel-box:first-child {
  border-top: unset;
}

.sub_channel-list canvas {
  width: 100%;
  height: 100%;
  /* transform: scaleY(-1); */
}

.hide-icon,
.swap-icon {
  position: absolute;
  top: 0;
  width: 30px;
  height: 24px;
  text-align: center;
  background: #bbb;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  user-select: none;
}

.swap-icon {
  line-height: 18px;
  font-size: 28px;
}

.hide-icon {
  line-height: 14px;
  font-size: 48px;
}

.hide-icon:hover,
.swap-icon:hover {
  /* color: #bbb; */
  background-color: #666;
}

.sub_channel-list.align-left {
  right: unset;
  left: 0;
}

.sub_channel-list.align-right {
  left: unset;
  right: 0;
}

.sub_channel-list.fit-center {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.full-screen-camera-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_channel-list.align-left .swap-icon {
  left: unset;
  right: 0;
}

.sub_channel-list.align-right .swap-icon {
  right: unset;
  left: 0;
}

.sub_channel-list.align-left .hide-icon {
  left: 0;
  right: unset;
}

.sub_channel-list.align-right .hide-icon {
  right: 0;
  left: unset;
}

.muteIcon {
  position: fixed;
  bottom: 1%;
  right: 1%;
  width: 40px;
  height: 40px;
  background-color: #f1f1f1;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: #31313191 2px 2px 10px 0px;
}

.muteIcon.muted {
  background-color: #ccc;
}

/* 在宽度小于等于 1920px 时应用的样式 */
@media (max-width: 1920px) {
  .sub_channel-list {
    /* width: 360px; */
  }
}

/* 在宽度小于等于 1366px 时应用的样式 */
@media (max-width: 1366px) {
  .sub_channel-list {
    /* width: 320px; */
  }
}

/* 在宽度小于等于 1024px 时应用的样式 */
@media (max-width: 1024px) {
  .sub_channel-list {
    /* width: 230px; */
  }
}

/* 在宽度小于等于 768px 时应用的样式 */
@media (max-width: 768px) {
  .sub_channel-list {
    /* width: 180px; */
  }
}
