/* Seccion 04 (El agente): en ESCRITORIO el chat vive en la mano del landing de Black Friday
   (hero-mano-base.webp + pantalla-mask.png; geometria del hueco medida en black-friday-2026/landing/index.html).
   En MOVIL (<1024 px) no va la mano (Alex, 2026-11-29): se reconstruye el celular original de Manus. */

/* ---------- escritorio: la mano ---------- */
@media (min-width:1024px){
  .mano-agente-card{max-width:none!important}
  .mano-agente{position:relative;width:min(118%,700px);margin:-4% -24% -8% 0;aspect-ratio:929/1139;isolation:isolate;
    -webkit-mask-image:linear-gradient(#000 86%,transparent 99%);mask-image:linear-gradient(#000 86%,transparent 99%)}
  .mano-agente::before{content:"";position:absolute;z-index:0;left:4%;top:4%;width:62%;height:86%;border-radius:999px;
    background:rgba(200,255,46,.22);filter:blur(70px);pointer-events:none}
  .mano-agente-img{position:relative;z-index:2;display:block;width:100%;height:auto;pointer-events:none}
  .mano-agente-pantalla{position:absolute;z-index:1;left:11.087%;top:2.019%;width:52.853%;height:87.621%;overflow:hidden;background:#0b0d10;
    -webkit-mask:url(/img/pantalla-mask.png) 0 0/100% 100% no-repeat;mask:url(/img/pantalla-mask.png) 0 0/100% 100% no-repeat}
  .mano-agente-screen{height:100%;padding:0 3% 0 .5%}
  /* la barra de estado esquiva la esquina redondeada de la pantalla real */
  .mano-agente-screen>div:first-child{padding:1.1rem 2.1rem 0 1.5rem}
}

/* ---------- movil y tablet: el celular original, sin mano ---------- */
@media (max-width:1023px){
  .mano-agente-card{max-width:380px}
  .mano-agente-img{display:none}
  .mano-agente{position:relative;border-radius:3rem;border:1px solid rgba(255,255,255,.15);padding:12px;
    background:linear-gradient(to bottom,#16191e,#07080a);box-shadow:0 40px 120px -30px rgba(200,255,46,.35)}
  .mano-agente-pantalla{overflow:hidden;border-radius:2.4rem;background:#0b0d10}
  .mano-agente-screen{height:auto}
  .mano-agente-screen>div:nth-child(3){height:440px;flex:none}
  /* la pastilla negra de la barra de estado vuelve, porque aqui no hay Dynamic Island de foto */
  .mano-agente-screen>div:first-child>span:nth-child(2){background:#000}
}
