/* 《测线》 —— 只放版面必需的样式。所有画面在 canvas 里，CSS 只管「不滚、不缩、不白屏」。 */
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #F3EDE2;            /* 纸：首帧之前就是纸色，不存在白屏 */
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  touch-action: none;              /* Telegram WebView 里不许下拉/缩放/双击放大 */
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  box-sizing: border-box;
}
#boot {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 9; background: #F3EDE2;
  transition: none;
}
#game { position: fixed; inset: 0; z-index: 1; }
#game canvas { display: block; width: 100%; height: 100%; }
/* 引擎起来之前若被点开，避免 iOS 上的白闪 */
#boot.on { opacity: 1; }
