/* portões: trava, escurece em volta do alvo e mostra o aviso */
html.pt-travado, html.pt-travado body { overflow: hidden; overscroll-behavior: none; }
.pt-veu {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: radial-gradient(circle var(--r, 90px) at var(--x, 50%) var(--y, 50%), transparent 0, transparent 70%, rgba(4, 3, 6, 0.82) 100%);
  opacity: 0; transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pt-veu.on { opacity: 1; }
.pt-aviso {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 34px); z-index: 61;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px; border-radius: 999px;
  background: rgba(30, 20, 24, 0.78); border: 1px solid rgba(255, 214, 160, 0.45);
  color: #ffe9c8; font-family: 'Caveat', cursive; font-size: 24px; line-height: 1; white-space: nowrap;
  transform: translate3d(-50%, 30px, 0); opacity: 0; pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1), transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pt-aviso.on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.pt-mao { position: relative; width: 26px; height: 26px; }
.pt-mao i, .pt-mao::after {
  position: absolute; inset: 0; border-radius: 50%; content: '';
  background: #ffd28a;
}
.pt-mao::after { background: none; border: 2px solid #ffd28a; animation: pt-onda 1.4s ease-out infinite; }
.pt-mao i { transform: scale(0.45); animation: pt-bate 1.4s ease-in-out infinite; }
@keyframes pt-onda { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes pt-bate { 0%, 100% { transform: scale(0.45); } 20% { transform: scale(0.62); } }
.pt-pular {
  display: none; margin-left: 4px; padding: 4px 10px; border-radius: 999px;
  font: 13px/1 -apple-system, system-ui, sans-serif; color: rgba(255, 233, 200, 0.7);
  background: none; border: 1px solid rgba(255, 233, 200, 0.3); pointer-events: auto;
}
.pt-aviso.pode-pular .pt-pular { display: inline-block; }
.pt-aviso.on.pode-pular { pointer-events: auto; }
/* o alvo não recebe estilo próprio: o buraco de luz do véu já mostra onde tocar */
@media (prefers-reduced-motion: reduce) {
  .pt-mao i, .pt-mao::after { animation: none; }
}

/* toques opcionais mais na cara: anel dourado mais forte + a palavra "toque" */
.vv-dica, .tq-anel, .pulsa {
  border-width: 2px !important;
  border-color: rgba(255, 214, 140, 0.95) !important;
  box-shadow: 0 0 14px rgba(255, 200, 120, 0.45);
}
.vx-dica::after { border-width: 2px !important; border-color: rgba(255, 214, 140, 0.95) !important; box-shadow: 0 0 14px rgba(255, 200, 120, 0.45); }
.vv-dica::after, .tq-anel::after, .pulsa::after {
  content: 'toque';
  position: absolute; left: 50%; top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(20, 12, 16, 0.55);
  font: italic 600 14px/1 'Cormorant Garamond', serif; letter-spacing: 0.1em;
  color: #ffe0ad; white-space: nowrap; pointer-events: none;
}
