/* subo.ar/probar — el "modo celular": la app de verdad adentro de un teléfono, para verla desde la compu. */
.pagina-probar {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(47, 107, 255, 0.28), transparent 70%),
    radial-gradient(30% 40% at 90% 90%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--bg);
}
.pagina-probar::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 150, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 150, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent);
}
.pr-barra {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  padding: 0 24px;
}
.pr-titulo {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-2);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--borde);
}
.pr-barra .boton-chico {
  margin-left: auto;
}
.pr-estudio {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 230px;
  gap: 28px;
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  padding: 0 24px 24px;
}
.pr-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  overflow-y: auto;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--borde);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}
.pr-grupo h2 {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-3);
}
.pr-opciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pr-opciones button {
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-2);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--borde);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s var(--suave);
}
.pr-opciones button:hover {
  transform: translateY(-2px);
}
.pr-opciones button small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--texto-3);
}
.pr-opciones button.activo {
  color: #05070d;
  background: #fff;
}
.pr-opciones button.activo small {
  color: #4b5260;
}
.pr-opciones.chicas {
  grid-template-columns: repeat(3, 1fr);
}
.pr-opciones.chicas button {
  padding: 9px 6px;
  text-align: center;
  font-size: 13.5px;
}
.pr-grupo .segmentado {
  display: flex;
}
.pr-grupo .segmentado button {
  flex: 1;
}
.pr-ayuda {
  margin-top: 8px;
  font-size: 13px;
  color: var(--texto-3);
}
.pr-ayuda code {
  font-size: 12px;
  color: var(--texto-2);
}
.pr-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.pr-acciones .boton {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}
.pr-centro {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.pr-medida {
  font-size: 13px;
  color: var(--texto-3);
  font-variant-numeric: tabular-nums;
}

/* El teléfono: se arma en su tamaño real y se escala para que entre (--s). */
.pr-equipo {
  position: relative;
  flex: none;
}
.pr-marco {
  --bisel: 12px;
  position: absolute;
  left: 0;
  top: 0;
  padding: var(--bisel);
  border-radius: 56px;
  background: linear-gradient(145deg, #3a4256, #10141f 40%, #2a3142 70%, #0c0f18);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 60px 120px -40px rgba(0, 0, 0, 0.95),
    0 30px 90px -40px rgba(47, 107, 255, 0.6);
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
  transition: border-radius 0.4s ease;
}
.pr-pantalla {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  background: #f6f7f9;
  isolation: isolate;
}
.pr-estado {
  position: relative;
  z-index: 2;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 30px 0 40px;
  font: 600 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #15181d;
  background: #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
.pr-camara {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 122px;
  height: 36px;
  margin-left: -61px;
  border-radius: 20px;
  background: #000;
}
.pr-iconos {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pr-iconos svg {
  height: 12px;
  width: auto;
  fill: currentColor;
}
.pr-pantalla iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #f6f7f9;
}
.pr-cargando {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  font-weight: 600;
  color: #4b5260;
  background: #f6f7f9;
  transition: opacity 0.4s ease;
}
.pr-cargando .logo {
  width: 64px;
  height: 64px;
  animation: flotar 2s ease-in-out infinite;
}
.pr-cargando.listo {
  opacity: 0;
  pointer-events: none;
}
.pr-boton-inicio {
  display: none;
}
/* Modo oscuro: la barra de estado, como la cabecera de la app. */
.pr-equipo.oscuro .pr-estado,
.pr-equipo.oscuro .pr-cargando {
  color: #e8eaee;
  background: #181c22;
}
.pr-equipo.oscuro .pr-pantalla iframe {
  background: #0f1216;
}
/* iPhone SE: bordes anchos arriba y abajo, botón de inicio, pantalla recta. */
.pr-equipo.se .pr-marco {
  border-radius: 54px;
  padding: 72px 14px 84px;
}
.pr-equipo.se .pr-pantalla {
  border-radius: 4px;
}
.pr-equipo.se .pr-estado {
  height: 20px;
  padding: 0 8px;
  font-size: 12px;
}
.pr-equipo.se .pr-camara {
  display: none;
}
.pr-equipo.se .pr-boton-inicio {
  display: block;
  position: absolute;
  left: 50%;
  bottom: calc(18px * var(--s, 1));
  width: calc(56px * var(--s, 1));
  height: calc(56px * var(--s, 1));
  margin-left: calc(-28px * var(--s, 1));
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
/* Android: cámara en un agujerito, la hora a la izquierda. */
.pr-equipo.android .pr-marco {
  --bisel: 10px;
  border-radius: 42px;
}
.pr-equipo.android .pr-pantalla {
  border-radius: 32px;
}
.pr-equipo.android .pr-estado {
  height: 34px;
  padding: 0 22px;
  font-size: 14px;
}
.pr-equipo.android .pr-camara {
  top: 9px;
  width: 15px;
  height: 15px;
  margin-left: -7.5px;
}
.pr-lado {
  align-self: center;
  display: grid;
  gap: 14px;
  justify-items: start;
  font-size: 14.5px;
  color: var(--texto-2);
}
.pr-lado b {
  display: block;
  color: var(--texto);
}
.pr-qr {
  width: 170px;
  height: 170px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
}
.pr-qr svg {
  width: 100%;
  height: 100%;
}
.pr-movil {
  display: none;
}
.copiado {
  background: rgba(46, 229, 157, 0.18) !important;
}

@media (max-width: 1100px) {
  .pr-estudio {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .pr-lado {
    display: none;
  }
}
/* En un celular no tiene sentido un celular adentro: se ofrece abrirla. */
@media (max-width: 760px) {
  .pr-estudio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
  }
  .pr-panel,
  .pr-centro,
  .pr-lado,
  .pr-barra .boton-chico {
    display: none;
  }
  .pr-movil {
    display: grid;
    justify-items: start;
    gap: 6px;
    width: min(100%, 460px);
  }
  .pr-movil .logo {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
  }
  .pr-movil .boton {
    margin-top: 26px;
  }
}
