/* Photocall (colores y letras del restaurante, ver js/marca.js) */

body.photocall {
  background: var(--fondo-suave);
  color: var(--texto);
  min-height: 100vh;
  min-height: 100dvh;
}

.pc-cabecera {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 14px;
}
.pc-titulo { font-size: 28px; margin-top: 2px; }

.pc-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

/* ---------- Escenario 3:4 ---------- */
.escenario {
  position: relative;
  width: 100%;
  max-width: min(480px, calc((100vh - 260px) * 0.75));
  max-width: min(480px, calc((100dvh - 260px) * 0.75));
  min-width: 240px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--fondo-suave);
  box-shadow: 0 10px 30px var(--linea);
}
.escenario video,
.escenario img,
.escenario canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.escenario video.espejo { transform: scaleX(-1); }   /* solo en pantalla, la foto sale al derecho */
.escenario img { z-index: 2; }
.escenario canvas { z-index: 1; pointer-events: none; }
.escenario__aviso {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  top: 12px;
  background: var(--fondo);
}
.flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--fondo);
  opacity: 0;
  pointer-events: none;
}
.flash.activo { animation: flash 0.35s ease-out; }
@keyframes flash { from { opacity: 0.9; } to { opacity: 0; } }

/* ---------- Controles ---------- */
.controles {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
.controles .boton { min-width: 200px; }
.controles--camara {
  flex-direction: row;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 24px;
}
.fila-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.fila-botones .boton { min-width: 140px; }

.disparador {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 5px solid var(--fondo);
  background: var(--principal);
  box-shadow: 0 0 0 3px var(--principal);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.disparador:active { transform: scale(0.94); }

.redondo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  background: var(--fondo);
  color: var(--texto);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.redondo svg { width: 22px; height: 22px; }
.redondo--vacio { border-color: transparent; background: transparent; cursor: default; }
.redondo.invisible { visibility: hidden; }   /* sin segunda cámara: ocupa su sitio pero no se ve */

.pc-nota {
  margin: 0;
  max-width: 340px;
  text-align: center;
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.pc-error {
  margin: 0;
  max-width: 380px;
  text-align: center;
  color: var(--texto);
  font-size: 17px;
}

/* ---------- Ventana del email ---------- */
.ventana {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--velo);
}
.ventana__caja {
  width: 100%;
  max-width: 400px;
  background: var(--fondo);
  color: var(--texto);
  border-radius: 18px;
  padding: 24px 20px;
}
.ventana .titulo { font-size: 26px; }
.ventana__texto { margin: 14px 0 12px; }
.campo {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--texto-suave);
  border-radius: 10px;
  font-family: var(--f-ui);
  font-size: 16px;
  color: var(--texto);
  background: var(--fondo);
}
.campo:focus { outline: 2px solid var(--principal); border-color: var(--principal); }
.casilla {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.45;
}
.casilla input { margin-top: 2px; accent-color: var(--principal); width: 18px; height: 18px; flex: none; }
