.screen[data-screen="play"] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.screen[data-screen="play"].active {
  display: block;
}

#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.touch-steer-bar {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
  z-index: 10;
}

.steer-btn {
  position: relative;
  pointer-events: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 2px solid rgba(56, 189, 248, 0.5);
  color: #38BDF8;
  font-size: 32px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), 0 8px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.08s ease, background 0.08s ease, border-color 0.08s ease;
}

.key-badge {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.steer-btn:hover {
  border-color: #38BDF8;
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.steer-btn:active,
.steer-btn.active {
  transform: scale(0.92);
  background: rgba(56, 189, 248, 0.25);
  border-color: #FDE047;
  color: #FDE047;
}

.hint {
  position: absolute;
  top: 136px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #E2E8F0;
  white-space: nowrap;
  pointer-events: none;
  z-index: 45;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

@media (max-height: 600px) {
  .steer-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    bottom: 12px;
  }
  .key-badge {
    display: none;
  }
  .hint {
    top: 118px;
    font-size: 12px;
    padding: 6px 14px;
  }
}
