/* Home público móvil sin login, 2026.
   Muestra solo el hero orbital + el footer global existente.
   NO afecta dashboard autenticado, home público desktop, header o footer. */
.epqa-landing--guest > .epqa-guest-mobile {display:none;}
@media screen and (max-width:767.98px) {
  body.page-home.stem-playground .epqa-landing--guest {
    width:min(100% - 22px,490px)!important;
    max-width:490px;
    min-width:0;
    padding:12px 0 16px!important;
    margin-inline:auto;
  }
  body.page-home.stem-playground .epqa-landing--guest > section:not(.epqa-guest-mobile){
    display:none!important;
  }
  body.page-home.stem-playground .epqa-landing--guest > .epqa-guest-mobile{
    --guest-ink:#f6faff;
    --guest-muted:#bcd4fa;
    --guest-border:#2876bb;
    display:block!important;
    isolation:isolate;
    position:relative;
    width:100%;
    box-sizing:border-box;
    border:1px solid var(--guest-border);
    border-radius:24px;
    padding:16px 13px 14px;
    overflow:hidden;
    background:
      radial-gradient(circle at 51% 50%,rgba(22,126,250,.32),transparent 46%),
      radial-gradient(circle at 91% 24%,rgba(49,16,154,.25),transparent 29%),
      linear-gradient(165deg,#061a3c 0%,#062b62 63%,#071c46 100%)!important;
    box-shadow:0 15px 36px rgba(3,21,60,.16);
    color:var(--guest-ink)!important;
    -webkit-text-fill-color:var(--guest-ink);
    font-family:"Nunito",system-ui,sans-serif;
  }
  body.page-home.stem-playground .epqa-guest-mobile::before{
    content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    background-image:
      linear-gradient(rgba(76,162,243,.06) 1px,transparent 1px),
      linear-gradient(90deg,rgba(76,162,243,.06) 1px,transparent 1px);
    background-size:28px 28px;
  }
  body.page-home.stem-playground .epqa-guest-mobile__intro{
    display:flex;flex-direction:column;align-items:center;
    gap:5px;text-align:center;position:relative;z-index:2;
  }
  body.page-home.stem-playground .epqa-guest-mobile__kicker{
    display:inline-flex;align-items:center;justify-content:center;gap:6px;
    padding:5px 12px;border-radius:100px;
    border:1px solid #00bcea;background:rgba(4,36,83,.88);
    font-size:.65rem;letter-spacing:.025em;font-weight:950;
    color:#d4edff!important;-webkit-text-fill-color:#d4edff!important;
  }
  body.page-home.stem-playground .epqa-guest-mobile__kicker img{display:block;filter:brightness(0) invert(1);width:16px;height:16px;}
  body.page-home.stem-playground .epqa-guest-mobile__intro h1{
    font:900 clamp(1.36rem,6.35vw,2.14rem)/1.1 "Poppins","Nunito",sans-serif!important;
    letter-spacing:-.035em;
    margin:2px 0 0!important;
    text-align:center;
    text-wrap:balance;
    color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
  body.page-home.stem-playground .epqa-guest-mobile__intro h1 span{
    display:block;color:#3ddeff!important;-webkit-text-fill-color:#3ddeff!important;
    background:none!important;
  }
  body.page-home.stem-playground .epqa-guest-mobile__intro p{
    max-width:320px;margin:3px 0 0!important;
    font:.76rem/1.35 "Nunito",sans-serif;
    color:var(--guest-muted)!important;-webkit-text-fill-color:var(--guest-muted)!important;
  }
  body.page-home.stem-playground .epqa-guest-orbit{
    position:relative;
    height:clamp(306px,91vw,377px);
    margin:4px auto 0;
    width:100%;
    max-width:405px;
    overflow:hidden;
    -webkit-text-fill-color:initial;
  }
  body.page-home.stem-playground .epqa-guest-orbit__circuits{
    position:absolute;inset:0;width:100%;height:100%;
    pointer-events:none;
    overflow:visible;
    filter:drop-shadow(0 0 5px rgba(0,184,255,.42));
  }
  body.page-home.stem-playground .epqa-guest-orbit__spinning-ring{
    transform-origin:170px 173px;
    animation:epqa-orbit-ring-turn 44s linear infinite;
  }
  @keyframes epqa-orbit-ring-turn {to{transform:rotate(360deg);}}
  body.page-home.stem-playground .epqa-guest-orbit__character{
    position:absolute;z-index:2;left:22%;width:56%;height:75%;
    top:17%;display:flex;align-items:flex-end;justify-content:center;
    pointer-events:none;
  }
  body.page-home.stem-playground .epqa-guest-orbit__character img{
    display:block;width:100%;height:100%;
    object-fit:contain;object-position:center bottom;
    filter:drop-shadow(0 11px 12px rgba(0,4,25,.62));
  }
  body.page-home.stem-playground .epqa-guest-orbit__tool {
    position:absolute;z-index:3;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    width:clamp(58px,17.9vw,77px);
    min-height:clamp(62px,18.6vw,79px);
    padding:4px 2px 5px;
    box-sizing:border-box;
    border:1px solid rgba(65,204,255,.7);
    border-radius:13px;
    background:linear-gradient(150deg,rgba(14,62,133,.94),rgba(8,30,82,.92));
    box-shadow:0 0 10px rgba(27,151,252,.32),inset 0 1px rgba(255,255,255,.2);
    text-align:center;
    pointer-events:none;
    animation:epqa-orbit-tool-bob 4s ease-in-out infinite alternate;
  }
  body.page-home.stem-playground .epqa-guest-orbit__tool:nth-of-type(3n){border-color:#aa6bff;animation-delay:-1.2s;}
  body.page-home.stem-playground .epqa-guest-orbit__tool:nth-of-type(4n){border-color:#00dcd6;animation-delay:-2.2s;}
  @keyframes epqa-orbit-tool-bob{to{translate:0 -5px;}}
  body.page-home.stem-playground .epqa-guest-orbit__tool img{
    display:block;max-width:100%;
    width:clamp(37px,11.7vw,52px);
    height:clamp(37px,11.7vw,52px);
    object-fit:contain;
    image-rendering:auto;
  }
  body.page-home.stem-playground .epqa-guest-orbit__tool small{
    font:900 clamp(.51rem,2.12vw,.66rem)/1.06 "Nunito",sans-serif;
    letter-spacing:-.015em;
    color:#fff!important;-webkit-text-fill-color:#fff!important;
    max-width:100%;overflow-wrap:anywhere;
  }
  body.page-home.stem-playground .epqa-guest-orbit__tool--1{left:2%;top:10%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--2{right:1%;top:10%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--3{left:0;top:33%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--4{right:0;top:33%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--5{left:1%;top:57%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--6{right:1%;top:57%}
  body.page-home.stem-playground .epqa-guest-orbit__tool--7{left:9%;bottom:0}
  body.page-home.stem-playground .epqa-guest-orbit__tool--8{right:9%;bottom:0}
  body.page-home.stem-playground .epqa-guest-orbit__tool--9{left:39%;top:0}
  body.page-home.stem-playground .epqa-guest-orbit__tool--10{left:39%;bottom:0}
  body.page-home.stem-playground .epqa-guest-mobile__actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin:10px 0 4px!important;
    position:relative;z-index:2;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta{
    box-sizing:border-box;
    min-width:0;
    min-height:65px;
    display:flex!important;align-items:center;justify-content:center;gap:7px;
    padding:9px 7px!important;
    border-radius:15px;
    font:900 clamp(.69rem,3vw,.9rem)/1.18 "Nunito",sans-serif!important;
    text-align:left;text-decoration:none!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;
    box-shadow:0 5px 15px rgba(1,12,47,.24)!important;
    transition:transform .18s ease,filter .18s ease;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta--resources{
    background:linear-gradient(110deg,#00b8f7,#1477f3)!important;
    border:1px solid #69e8ff!important;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta--ai{
    background:linear-gradient(110deg,#9251ec,#672cd3)!important;
    border:1px solid #d3a2ff!important;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta > img{
    width:28px!important;height:28px!important;
    flex:none;object-fit:contain;filter:brightness(0) invert(1);
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta-arrow{
    font-size:1.2rem;line-height:1;flex:none;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta:is(:hover,:focus-visible){
    transform:translateY(-2px);filter:brightness(1.09);
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta:focus-visible{
    outline:3px solid #d6ffff!important;outline-offset:3px;
  }
  body.page-home.stem-playground .epqa-guest-mobile__sign-in-note{
    color:#c0d5f4!important;-webkit-text-fill-color:#c0d5f4!important;
    font:.67rem/1.35 "Nunito",sans-serif;
    text-align:center;
    margin:8px 0 0!important;
  }
  /* Ambos modos utilizan los mismos recursos visuales.
     Ajustar borde y acentos sin crear un segundo diseño inconsistente. */
  html:not([data-theme="dark"]) body.page-home.stem-playground .epqa-landing--guest > .epqa-guest-mobile{
    border-color:#b0d0f1;
    box-shadow:0 8px 24px rgba(7,73,153,.12);
    background:
      radial-gradient(circle at 51% 50%,rgba(40,143,252,.25),transparent 46%),
      linear-gradient(155deg,#093373,#063c82 58%,#08214b)!important;
  }
  html[data-theme="dark"] body.page-home.stem-playground .epqa-landing--guest > .epqa-guest-mobile {
    border-color:#3989c8;
  }
}
@media screen and (max-width:359.98px){
  body.page-home.stem-playground .epqa-landing--guest > .epqa-guest-mobile{padding-inline:8px;}
  body.page-home.stem-playground .epqa-guest-orbit__tool{
    width:56px;min-height:60px;padding:3px 1px;
  }
  body.page-home.stem-playground .epqa-guest-mobile__cta{gap:5px;}
  body.page-home.stem-playground .epqa-guest-mobile__cta > img{width:23px!important;height:23px!important;}
  body.page-home.stem-playground .epqa-guest-mobile__cta-arrow{font-size:1rem;}
}
@media(prefers-reduced-motion:reduce) {
  body.page-home.stem-playground .epqa-guest-orbit__tool,
  body.page-home.stem-playground .epqa-guest-orbit__spinning-ring{animation:none!important;}
  body.page-home.stem-playground .epqa-guest-mobile__cta{transition:none!important;}
}
