/* E-08 KASSETTENARCHIV — dunkler Raum, cleanes Chrome */

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

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

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

canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
  cursor: grab;
}

canvas.is-dragging { cursor: grabbing; }
canvas.is-hot { cursor: pointer; }

.fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050505;
  color: rgba(255, 255, 255, 0.55);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2rem;
  text-align: center;
  z-index: 5;
}

.fallback[hidden] {
  display: none !important;
  pointer-events: 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;
  max-width: min(52ch, 90vw);
}

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

.sr-works {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
