html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.presentation-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.deck-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform;
  pointer-events: none;
}

.deck-frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.deck-frame.is-inactive {
  z-index: 1;
  opacity: 0;
  transform: scale(0.995);
}

.deck-frame.is-transitioning-in {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
}

.combined-hud {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9999;
  font: 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
}

.hud-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.hud-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  cursor: pointer;
}

.hud-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hud-label {
  margin-left: 6px;
}

.hud-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
}

.hud-status {
  margin-left: 6px;
  opacity: 0.75;
}

.hud-hint {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.75);
  display: inline-block;
}

body.is-fullscreen .combined-hud {
  display: none;
}
