:root {
  color-scheme: dark;
  font: 13px/1.4 system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #05080d;
  color: #fff;
}
#stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
video, #youtube-container, iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
video {
  display: block;
  object-fit: contain;
}
#toolbar {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #0c1521e8;
  opacity: 0;
  box-shadow: 2px 2px 5px #00000073;
}
#stage:hover #toolbar, #toolbar:focus-within, #stage:not(.started) #toolbar {
  opacity: 1;
}
#toolbar select {
  font: inherit;
  padding: 3px;
  background: #1c2c40;
  color: #fff;
  border: 1px solid #536782;
  border-radius: 4px;
}
#status {
  position: absolute;
  left: 12px;
  top: 8px;
  max-width: 60%;
  background: #0c1521e8;
  padding: 5px 8px;
  border-radius: 5px;
  margin: 0;
  pointer-events: none;
}
#status:empty {
  display: none;
}
#external {
  position: absolute;
  left: 12px;
  bottom: 50px;
  background: #162f48;
  color: #fff;
  padding: 12px;
}
[hidden] {
  display: none !important;
}
@media (hover: none) {
  #toolbar {
    opacity: 1;
  }
}
