html, body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #08121c;
  color: #e8f4f4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.webgl-content, #gameContainer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  background: #08121c;
}
canvas.emscripten {
  border: 0 none;
  background-color: #000;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#status {
  position: fixed;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffd166;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  pointer-events: none;
}
.progress {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(320px, 72vw);
  height: 10px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  overflow: hidden;
  z-index: 20;
}
.progress .full {
  height: 100%;
  background: linear-gradient(90deg, #0e7c86, #ffd166);
  width: 0%;
  transition: width 0.15s ease;
}
.progress .empty { display: none; }
.text {
  position: fixed;
  left: 50%;
  top: calc(52% + 22px);
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: #b8d8e0;
  z-index: 20;
}
.keyboard {
  position: absolute;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.01);
  color: transparent;
  caret-color: transparent;
  border: 2px solid rgba(255, 209, 102, 0.65);
  border-radius: 6px;
  outline: none;
  z-index: 100;
  display: none;
  font-size: 16px;
  text-align: left;
}
