.container {
  height: 100%;
  display: flex;
  align-items: center;
  --side-box-width: 30rem;
  --border-radius: 0.625rem;
  --sider-width: 18.75rem;
  .content {
    height: 100%;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    .wrap {
      height: 30rem; // TODO: 修正这里的高度，或者说修正全局的高度设置。高度不应该超过100%
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }
  .sider {
    position: relative;
    width: var(--sider-width);
    flex: 0 0 18.75rem;
    height: 100%;
    background-color: hsla(0, 0%, 100%, 0.05);
    transition: transform 0.3s;
    backdrop-filter: blur(0.3rem);
    z-index: 1;
  }
}

.both-side-container {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
  margin-top: 5rem;
  .side-box {
    height: 6.25rem;
    width: var(--side-box-width);
    border-radius: var(--border-radius);
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(0.625rem);
    overflow: hidden;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    .inner {
      position: absolute;
      left: 0;
      width: 9.4rem;
      height: 4.375rem;
      filter: blur(7.5rem);
      transition: 0.3s;
    }
    &.ready .inner {
      width: 15.6rem;
      height: 6.25rem;
      filter: blur(6.25rem) brightness(1.2) saturate(1.2);
    }
    &.me {
      box-shadow: -0.3rem 0 1.25rem 0 rgba(0, 115, 255, 0.15);
      .inner {
        background: linear-gradient(to right, blue, rgb(0, 149, 255));
      }
      z-index: 1;
    }
    &.op {
      box-shadow: 0.3rem 0 1.25rem 0 rgba(255, 0, 81, 0.1);
      .inner {
        background: linear-gradient(to right, rgb(255, 0, 106), rgb(255, 0, 0));
      }
    }
    .name {
      font-size: 1.2rem;
      color: white;
      z-index: 1;
    }
  }
}

.check {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 99;
  color: greenyellow;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}

.uncheck {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 99;
  color: red;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}

.btn-join {
  margin-left: auto;
}

.avatars-watch {
  padding-left: 0.5rem;
}

.btns-side {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: 0.3s;
  .btn {
    width: 2rem;
    background: hsla(0, 0%, 100%, 0.1);
    justify-content: start;
    padding: 0 0.5rem;
    overflow: hidden;
    .btn-icon {
      display: flex;
      align-items: center;
      // gap: 4px;
      .btn-text {
        width: 0;
        line-height: 0;
      }
    }
    &:hover {
      width: 6.25rem;
    }
  }
}

.collapsed {
  .sider {
    transform: translateX(calc(-1 * var(--sider-width)));
  }
  .content {
    transform: translateX(calc(-1 * var(--sider-width) / 2));
  }
  .btns-side {
    transform: translateX(calc(-1 * var(--sider-width) / 2));
  }
}

.fake-btn-large {
  min-width: 5.5rem;
  height: 2.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 1rem;
  gap: 0.5rem;
  cursor: not-allowed;
  transition: 0.2s;
  position: relative;
  & > * {
    transition: 0.2s;
  }
  &:hover > * {
    opacity: 0.8;
  }
  &:active > * {
    opacity: 0.6;
  }
  overflow: hidden;
}

.btns-action {
  margin-top: auto;
}
