.director #stage {
  position: absolute;
  inset: 64px 0 0;
  background: #152024;
}
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s ease;
  background: #152024;
}
.shot.on-air {
  opacity: 1;
  z-index: 2;
}
.director #standby {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, #314747, transparent 65%);
  z-index: 1;
}
#standby p {
  color: #b7c4c2;
  line-height: 1.6;
}
#standby a {
  color: #b8f1c3;
  margin-top: 12px;
}
#live {
  font-size: 14px;
  white-space: nowrap;
}
#live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #b8f1c3;
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 14px #b8f1c360;
}
#onlineCount {
  color: #afbfbc;
  font-size: 13px;
  white-space: nowrap;
}
.nav-button {
  color: #eaf0ed;
  text-decoration: none;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  white-space: nowrap;
}
#lowerThird {
  position: absolute;
  left: 28px;
  bottom: 148px;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
  text-shadow: 0 2px 8px #000;
  background: #152024bb;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  padding: 12px 18px;
  backdrop-filter: blur(12px);
  max-width: calc(100% - 48px);
}
.live-tag {
  font-size: 10px;
  color: #142225;
  background: #b8f1c3;
  font-weight: 800;
  border-radius: 4px;
  padding: 4px 5px;
  letter-spacing: 0.1em;
}
#onAirName {
  display: block;
  font-size: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#onAirDetail {
  display: block;
  font-size: 12px;
  color: #c0d1c8;
  margin-top: 4px;
}
#directorControls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 5;
  border: 1px solid #ffffff30;
  border-radius: 16px;
  background: #142225eb;
  backdrop-filter: blur(16px);
  padding: 12px 16px;
  width: min(820px, calc(100% - 32px));
}
.control-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.control-row label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #afc5b9;
  white-space: nowrap;
}
select {
  font: inherit;
  color: #ecf4ee;
  background: #25383a;
  border: 1px solid #ffffff30;
  border-radius: 9px;
  min-height: 40px;
  padding: 8px;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  cursor: pointer;
}
.control-row button {
  font-size: 13px;
  white-space: nowrap;
}
#directorStatus {
  color: #adbbb6;
  font-size: 12px;
  margin: 9px 0 0;
  line-height: 1.5;
}
#restore {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  opacity: 0.3;
}
#restore:hover,
#restore:focus {
  opacity: 1;
}
.clean header,
.clean #directorControls {
  display: none;
}
.clean #stage {
  inset: 0;
}
.clean #lowerThird {
  bottom: 28px;
}
@media (max-width: 650px) {
  .director header {
    gap: 10px;
  }
  .director .brand {
    display: none;
  }
  #lowerThird {
    left: 16px;
    bottom: 218px;
    padding: 10px 14px;
  }
  #onAirName {
    font-size: 18px;
  }
  .control-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .control-row label {
    flex-basis: 28%;
  }
  .control-row button {
    flex: 1;
  }
  #directorControls {
    padding: 10px 12px;
    bottom: 16px;
  }
  #directorStatus {
    font-size: 11px;
  }
  #onlineCount {
    font-size: 12px;
  }
  .director .nav-button {
    font-size: 12px;
    padding: 8px;
  }
  .clean #lowerThird {
    bottom: 20px;
  }
}
