body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#phone {
  width: 100%;
  max-width: 500px;
  height: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
}

#scrollArea {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

#scrollArea img {
  width: 100%;
  display: block;
}

/* BOTÕES INVISÍVEIS */
.invisible-btn {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  /* background: rgba(255,0,0,0.2); /* Debug */
}

/* OVERLAYS */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
}

.overlayImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closeBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 110;
}

.hidden {
  display: none !important;
}

/* PLAYER GLOBAL (PG) */
#pg-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pg-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#pg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#pg-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 5px 15px;
  border-radius: 50%;
  cursor: pointer;
}

.pg-hidden {
  display: none !important;
}

/* TOAST */
#toast {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 10000;
  transition: opacity 0.3s;
  opacity: 0;
}
/* =========================================
   REMOVE FLASH AZUL / HIGHLIGHT MOBILE
   ========================================= */
.invisible-btn,
button,
a,
div {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* remove seleção azul ao segurar */
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
#startHint{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:#fff;
  font-size:22px;
  font-weight:bold;
  text-align:center;
  letter-spacing:2px;
  text-shadow:
    0 0 6px #fff,
    0 0 12px #00ffff,
    0 0 24px #00ffff;

  animation:pulseHint 1.6s infinite;
  pointer-events:none;
  z-index:10000;
}

@keyframes pulseHint{

  0%{
    opacity:0.5;
    transform:translate(-50%,-50%) scale(0.95);
  }

  50%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.05);
  }

  100%{
    opacity:0.5;
    transform:translate(-50%,-50%) scale(0.95);
  }

}
