.camera-tile {
  height: 166px;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 17px;
  background: #f3f3f3;
}

.camera-tile #camera-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fafafa;
  color: #999;
}

.camera-tile #camera-button .camera-icon {
  width: 22px;
  height: 22px;
}

.camera-tile #camera-button.connecting {
  opacity: .55;
}

.camera-tile #camera-button[aria-pressed="false"] .camera-icon-on,
.camera-tile #camera-button[aria-pressed="true"] .camera-icon-off {
  display: none;
}

.camera-tile #self-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.camera-tile.camera-live {
  height: 166px;
  background: #111;
}

.camera-tile.camera-live #camera-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: auto;
  transform: none;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(24, 24, 24, .72);
  color: #fff;
  backdrop-filter: blur(10px);
}

@media (min-width: 1500px) {
  .camera-tile,
  .camera-tile.camera-live {
    height: 190px;
    min-height: 190px;
  }
}
