* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  background: #04070f;
  overflow: hidden;
  font-family: system-ui, "PingFang SC", sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
}
canvas#cv {
  display: block;
  touch-action: none;
  max-width: 100%;
  max-height: 100%;
}

/* 冲刺道具落底部右下拇指区，与顶部被动信息分离 */
.gf-item-bar {
  top: auto;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
}
.gf-item-btn {
  min-width: 54px;
  max-width: 72px;
  padding: 6px 8px 8px;
  border-radius: 16px;
  background: rgba(4, 7, 15, 0.92);
  box-shadow:
    inset 0 0 0 1.5px rgba(29, 233, 182, 0.65),
    inset 0 0 12px rgba(29, 233, 182, 0.12),
    0 0 16px rgba(20, 224, 255, 0.22),
    0 4px 0 rgba(0, 0, 0, 0.35);
  border: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.gf-item-btn:active { transform: translateY(2px) scale(0.96); }
.gf-item-btn.is-active {
  box-shadow:
    inset 0 0 0 2px rgba(255, 46, 136, 0.95),
    0 0 20px rgba(255, 46, 136, 0.35),
    0 4px 0 rgba(0, 0, 0, 0.35);
}
.gf-item-btn .gf-item-icon { width: 32px; height: 32px; }
.gf-item-btn .gf-item-icon img {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 5px rgba(29, 233, 182, 0.7));
}
.gf-item-btn .gf-item-label { color: #1de9b6; text-shadow: 0 0 6px rgba(29, 233, 182, 0.55); }
