html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#111;font-family:Arial,Helvetica,sans-serif;touch-action:none}#game{display:block;width:100vw;height:100vh;background:#111}#boot{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#0b0d10;color:#ffd91a;z-index:5;transition:.4s opacity}.logo{font-size:42px;font-weight:900;font-style:italic;text-shadow:4px 4px #000,0 0 18px #ffb300}.bar{width:320px;height:14px;border:2px solid #ffca23;border-radius:12px;overflow:hidden;background:#111;margin:18px}.bar i{display:block;width:40%;height:100%;background:linear-gradient(90deg,#ffb300,#fff36a);animation:load 1s infinite alternate}.small{color:#fff;font-size:14px;opacity:.8}@keyframes load{to{width:100%}}#touch{position:fixed;left:12px;right:12px;bottom:12px;display:flex;justify-content:space-between;pointer-events:none;z-index:4}#touch button{pointer-events:auto;width:74px;height:64px;border-radius:18px;border:2px solid rgba(255,255,255,.55);background:rgba(0,0,0,.45);color:white;font-size:30px;font-weight:800;backdrop-filter:blur(4px)}@media (min-width:900px){#touch{display:none}}


#enterpriseBadge{
  position:fixed;
  right:12px;
  bottom:10px;
  z-index:20;
  color:rgba(255,255,255,.72);
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  padding:6px 10px;
  font:700 12px Arial, sans-serif;
  pointer-events:none;
}
#boot{
  backdrop-filter: blur(8px);
}


/* V55 enterprise menu polish */
canvas#game{
  image-rendering:auto;
}


/* V57 shop / enterprise polish */
#touch button{
  touch-action: manipulation;
}


/* V59: remove any page-level/legacy background exposure behind the canvas */
html, body {
  background: #060b12 !important;
  overflow: hidden;
}
canvas#game {
  background: #060b12 !important;
}


/* V72 clickable menu and UI polish */
canvas#game {
  cursor: default;
}


/* V74 UI polish */
#enterpriseBadge{
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}


/* V76 live ops polish */
#enterpriseBadge{
  letter-spacing:.02em;
}


/* V79: hide legacy DOM mobile buttons and keep overlays from blocking canvas menu */
#touch {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
#boot {
  pointer-events: none !important;
  z-index: 0 !important;
}
#enterpriseBadge {
  pointer-events: none !important;
  z-index: 1 !important;
}
canvas#game {
  position: relative;
  z-index: 2;
}


/* V79.2 loader fail-safe: the game must never remain stuck behind Loading HD assets. */
#boot {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
body.game-ready #boot {
  display: none !important;
}
