.container {
  height: calc(100% - var(--header-height));
  display: flex;
  --side-box-width: 400px;
  --battle-icon-width: 50px;
  --gap-between-side-and-battle: 30px;
  --border-radius: 10px;
  --sider-width: 300px;
  .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5%;
    transition: transform 0.3s;
  }
  .sider {
    position: relative;
    width: var(--sider-width);
    flex: 0 0 300px;
    height: 100%;
    background-color: hsla(0, 0%, 100%, 0.05);
    transition: transform 0.3s;
  }
}

.both-side-container {
  display: flex;
  gap: var(--gap-between-side-and-battle);
  align-items: center;
  margin-top: 80px;
  .battle {
    height: var(--battle-icon-width);
    width: var(--battle-icon-width);
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
  }
  .side-box {
    height: 120px;
    width: var(--side-box-width);
    border-radius: var(--border-radius);
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    .inner {
      position: absolute;
      left: 0;
      width: 250px;
      height: 100px;
      filter: blur(120px);
    }
    &.me {
      box-shadow: -5px 0 20px 0 rgba(0, 115, 255, 0.15);
      .inner {
        background: linear-gradient(to right, blue, rgb(0, 149, 255));
      }
    }
    &.op {
      box-shadow: 5px 0 20px 0 rgba(255, 0, 81, 0.1);
      .inner {
        background: linear-gradient(to right, rgb(255, 0, 106), rgb(255, 0, 0));
      }
    }
    .name {
      font-size: 14px;
      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);
}

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

.watch {
  min-width: 100px;
  height: 40px;
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  gap: 12px;
  cursor: pointer;
  transition: 0.2s;
  .btn-watch {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .avatars-watch {
    height: 100%;
    padding: 0 8px;
    place-items: center;
  }
  & > * {
    transition: 0.2s;
  }
  &:hover > * {
    opacity: 0.8;
  }
  &:active > * {
    opacity: 0.6;
  }
}

.btn-sider {
  --length: 30px;
  width: var(--length);
  height: var(--length);
  background: hsla(0, 0%, 100%, 0.1);
  position: absolute;
  right: calc(-1 * var(--length) - 10px);
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.2s;
}

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