/* E-01 SENDESCHLUSS — dunkler Raum, cleanes Chrome */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #030303;
  color: #b0b0b0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  cursor: crosshair;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
}

#screen {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.hud-top {
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  left: clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-label {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.36);
}

.hud-work {
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.74);
  max-width: 42ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.2em;
}

.hud-hint {
  position: absolute;
  bottom: clamp(16px, 3vh, 28px);
  left: clamp(16px, 3vw, 28px);
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1.7;
}

.osd {
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  right: clamp(16px, 3vw, 28px);
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.14em;
  color: rgba(220, 220, 220, 0.9);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 70ms steps(2);
}

.osd.visible {
  opacity: 1;
}

.telemetry {
  position: absolute;
  bottom: clamp(16px, 3vh, 28px);
  right: clamp(16px, 3vw, 28px);
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.16);
  text-align: right;
}

.sr-works {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-works a {
  color: inherit;
}

body.on-air {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .osd { transition: none; }
}
