/* LEONIDA — Vice Run 3D · tambahan khusus halaman 3D (di atas style.css) */

/* Tombol kamera 3 mode: di tumpukan kiri, di atas tombol Karakter (284px) */
#cam-fab {
  position: absolute; left: 12px; bottom: 416px; z-index: 6;
  background: linear-gradient(90deg, #a9a9a9, #b1b1b1); color: #1d1d1d; border: none;
  border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 800;
  cursor: pointer; box-shadow: 0 0 16px rgba(169, 169, 169, .5);}

#stage.menu-folded #cam-fab { display: none !important;} 

/* Tombol pandangan PUBG (TPP/FPP): di bawah tombol kamera preset */
#view-fab {
  position: absolute; left: 12px; bottom: 372px; z-index: 6;
  background: linear-gradient(90deg, #d3d3d3, #8b8b8b); color: #181818; border: none;
  border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 800;
  cursor: pointer; box-shadow: 0 0 16px rgba(211, 211, 211, .5);}

#stage.menu-folded #view-fab { display: none !important;} 

/* Kanvas WebGL mengisi stage persis seperti kanvas 2D */
#game { background: #262626;} 

/* Fallback WebGL tidak tersedia */
#gl-fallback {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(6, 6, 6, .88); display: flex;
  align-items: center; justify-content: center; padding: 16px;}

#gl-fallback.hidden { display: none;} 
.gl-fallback-box {
  width: min(420px, 94vw); text-align: center;
  background: linear-gradient(180deg, #1e1e1e, #101010);
  border: 2px solid #848484; border-radius: 18px; padding: 22px 20px;
  box-shadow: 0 0 34px rgba(132, 132, 132, .35);}

.gl-fallback-box h2 { font-size: 19px; margin-bottom: 10px; color: #d3d3d3;} 
.gl-fallback-box p { font-size: 13.5px; line-height: 1.5; opacity: .9;} 
.gl-fallback-box a.action {
  display: block; text-decoration: none; text-align: center; margin-top: 14px;}


/* Pratinjau karakter 3D: portrait badan-penuh, bisa diseret-putar */
#char-preview { width: 150px; height: 190px; cursor: grab;} 

/* GABUNG-PRODUKSI: panggung slot/mancing 3D */
#slot3d-stage { width: 100%; height: 320px;} 
#slot3d-stage canvas { width: 100%; height: 100%; display: block;} 
#slot-overlay.slot3d-on .slot-reels { display: none;} 
#fish3d-stage { width: 100%; height: 300px;} 
#fish3d-stage canvas { width: 100%; height: 100%; display: block; 
}