.streamActions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 7px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.streamTile:hover .streamActions,
.streamTile:focus-within .streamActions,
.streamTile.focused .streamActions {
  opacity: 1;
  transform: none;
}

.tileAction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #ffffff38;
  border-radius: 8px;
  background: #07110de6;
  color: #fff;
  box-shadow: 0 7px 18px #0006;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
}

.tileAction.expandAction {
  min-height: 29px;
  padding: 0 9px;
  gap: 6px;
  font-size: 8px;
}

.soundNote {
  color: #526442 !important;
  font-weight: 700;
}

.soundStatus {
  padding: 6px 9px;
  border-radius: 999px;
  background: #493c24;
  color: #ffe7ab;
  font-size: 9px;
  white-space: nowrap;
}

.soundStatus[data-active="true"] {
  background: #29462e;
  color: #cfff46;
}

.tileAction:hover,
.tileAction:focus-visible {
  border-color: var(--lime);
  outline: none;
  background: var(--lime);
  color: var(--ink);
}

.roomView.streamFocused .roomLayout {
  grid-template-columns: 1fr;
}

.roomView.streamFocused .sidebar {
  display: none;
}

.streams.focusMode {
  grid-template-columns: 1fr;
  align-content: stretch;
}

.streams.focusMode .streamTile:not(.focused) {
  display: none;
}

.streams.focusMode .streamTile.focused {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 230px);
  aspect-ratio: auto;
}

.streamTile:fullscreen,
.streamTile:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background: #000;
}

.streamTile:fullscreen video,
.streamTile:-webkit-full-screen video {
  object-fit: contain;
}

.streamTile:fullscreen .streamActions,
.streamTile:-webkit-full-screen .streamActions {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .streamActions {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .streamActions {
    top: 8px;
    right: 8px;
  }

  .tileAction {
    min-height: 34px;
    padding: 0 10px;
  }

  .tileAction .actionText {
    display: none;
  }

  .streams.focusMode .streamTile.focused {
    min-height: calc(100vh - 175px);
  }
}
