/* ==========================================================
   LUMENDOR — CSS base
   ========================================================== */

#lumendor-root{
  max-width: 980px;
  margin: 0 auto;
  padding: 12px;
}

#lumendor-root .game-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  max-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1020; /* fundo padrão caso nada desenhe */
}

#lumendor-root canvas#game{
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none; /* evita scroll/zoom acidental */
}

#lumendor-root .audio-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:3;

  padding:8px 12px;
  border-radius:12px;
  border:none;

  background:rgba(0,0,0,0.55);
  color:white;
  font-weight:600;

  cursor:pointer;
  backdrop-filter: blur(6px);
}

#lumendor-root .debug{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:3;

  max-width: calc(100% - 20px);
  padding:8px 10px;
  border-radius:12px;

  background:rgba(0,0,0,0.55);
  color:#fff;
  font:12px/1.35 system-ui;
  white-space:pre-wrap;
}
