/* v0.5：所有界面都画在画布里（像素字体），这里只负责居中、补边和保存小票的弹层 */
html, body { margin: 0; height: 100%; background: #14161c; overflow: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
#app { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
#game { display: block; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: none; }
.hidden { display: none !important; }
#save-layer { position: fixed; inset: 0; z-index: 10; background: rgba(14, 15, 18, .94); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 16px; box-sizing: border-box; }
#save-img { max-width: 100%; max-height: calc(100% - 48px); image-rendering: pixelated; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
#save-hint { height: 30px; image-rendering: pixelated; }
