* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: #1a120c;
  color: #fff7ea;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #2a1a10;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
  user-select: none;
}
.play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 1;
}
.hud {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(10px + env(safe-area-inset-top));
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 22px;
  background: rgba(42, 22, 10, 0.78);
  color: #fff4e0;
  font-size: 15px;
  border: 0;
}
.chip b { color: #FF8A3D; font-size: 18px; }
.chip .mp-icon { width: 18px; height: 18px; }
.btn { pointer-events: auto; cursor: pointer; }
.pad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 5;
  pointer-events: none;
}
.pad-btn {
  pointer-events: auto;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 42px;
  background: rgba(42, 22, 10, 0.72);
  color: #fff4e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 13px;
}
.pad-btn .mp-icon { width: 36px; height: 36px; }
.pad-btn.on { background: #FF8A3D; color: #2a1408; }
.mask {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 6, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.mask.hidden { display: none; }
.panel {
  width: min(300px, 84vw);
  padding: 22px 18px 18px;
  border-radius: 16px;
  background: rgba(48, 26, 14, 0.94);
  text-align: center;
}
.panel h2 { margin: 0; font-size: 22px; font-weight: 700; }
.panel p { margin: 8px 0 16px; color: #f3d7b0; font-size: 15px; line-height: 1.45; }
.go {
  min-width: 160px;
  min-height: 52px;
  border: 0;
  border-radius: 26px;
  background: #FF8A3D;
  color: #2a1408;
  font-size: 18px;
  font-weight: 700;
}
