/* site-gate.css — หน้า "แตะเพื่อเริ่ม" ตอนเข้าเกมจากหน้าเว็บหลัก (คู่กับ site-gate.js)
   z-index ต่ำกว่าหน้าบอกให้หมุนเครื่อง (#rotHint 99999 ใน landscape.css) เพราะบนมือถือแนวตั้งต้องหมุนก่อน */
#siteTap {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4vh;
  padding: 24px;
  background: radial-gradient(ellipse at center, #221e38 0%, #0f0d18 75%);
  color: #f4eee3;
  font-family: Sarabun, sans-serif;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#siteTap img {
  width: min(46vh, 70vw);
  height: auto;
  filter: drop-shadow(0 1vh 2.4vh #0009);
}

#siteTap .st-btn {
  padding: 1.6vh 5vh;
  border-radius: 999px;
  background: #f0c35a;
  color: #2b1a03;
  box-shadow: 0 0.5vh 0 #c8922c;
  font-family: Mali, Sarabun, sans-serif;
  font-size: max(18px, 3.6vh);
  font-weight: 700;
  animation: st-pulse 1.6s ease-in-out infinite;
}

#siteTap small {
  color: #b8afc8;
  font-size: max(12px, 1.8vh);
}

#siteTap:focus-visible .st-btn {
  outline: 3px solid #f5b3c6;
  outline-offset: 4px;
}

@keyframes st-pulse {
  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  #siteTap .st-btn {
    animation: none;
  }
}

/* จอสัมผัสไม่มีปุ่ม Esc — ซ่อนคำแนะนำนั้น */
@media (pointer: coarse) {
  #siteTap small {
    display: none;
  }
}
