:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #05070a;
  color: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.player-shell {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #05070a;
}

.player-stage,
.player-frame,
.web-stage,
.media-stage {
  width: 100%;
  height: 100%;
}

.player-stage {
  position: relative;
}

.player-frame {
  background: #05070a;
}

.web-stage {
  display: block;
  border: 0;
}

.media-stage {
  display: block;
  object-fit: contain;
  background: #000;
}

.message-stage,
.input-stage {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 6vw;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
  background:
    linear-gradient(135deg, rgba(45, 112, 255, 0.28), transparent 42%),
    linear-gradient(315deg, rgba(0, 176, 130, 0.22), transparent 46%),
    #111820;
}

.message-stage {
  font-size: clamp(42px, 7vw, 116px);
}

.input-stage,
.external-stage {
  font-size: clamp(38px, 6vw, 96px);
}

.external-stage {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 100%;
  padding: 6vw;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(45, 112, 255, 0.28), transparent 42%),
    linear-gradient(315deg, rgba(0, 176, 130, 0.22), transparent 46%),
    #111820;
}

.external-stage h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 112px);
}

.external-stage p {
  margin: 0;
  max-width: 900px;
  color: #c7d1dd;
  font-size: clamp(22px, 2.4vw, 38px);
}

.stage-hint,
.player-status {
  position: absolute;
  z-index: 5;
}

.stage-hint {
  left: 24px;
  bottom: 72px;
  max-width: 760px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #101317;
  background: #ffd166;
}

.player-status {
  display: none;
}
