/* MOBILE REFINEMENT V14 · Estación Unwritten · visual only, desktop kept as-built */
@media(max-width:1024px){
 html{scroll-padding-top:110px;}
 body.eu-mobile-dock-active{padding-bottom:0!important;}
 #eu-mobile-dock,.eu-mobile-dock{display:none!important;}
 .site-hdr.eu-smart-header{
  position:sticky!important;top:0;z-index:1000!important;
  transform:translate3d(0,0,0);transition:transform .31s cubic-bezier(.22,1,.36,1);
  will-change:transform;overflow:visible!important;
 }
 .site-hdr.eu-smart-header.eu-header-hidden{transform:translate3d(0,-120%,0)!important;pointer-events:none;}
 .site-hdr,.site-hdr-in,.site-actions,.eu-currency-widget,.eu-currency-combo{overflow:visible!important;}
 /* Divisas: always right aligned and inside the viewport, even on 320px screens. */
 .eu-currency-widget{position:relative;z-index:1100;}
 #eu-currency-options,.eu-currency-options,.eu-currency-menu{
  left:auto!important;right:0!important;max-width:min(300px,calc(100vw - 20px))!important;
  z-index:2100!important;transform-origin:top right!important;
 }
 #eu-currency-options[hidden]{display:none!important;}
 .site-hdr:has(.eu-currency-widget[data-menu-open="true"]){z-index:2500!important;}
 :where(.site-main,.tx2-main,.eu-shell,.holo-page,.cold-page,.ty3-page) section{scroll-margin-top:calc(90px + env(safe-area-inset-top,0px));}
 :where(.site-main,.tx2-main) :where(.site-sec,.nb-section,.tx2-section){min-height:unset;}
 /* Don't collapse meaningful story scenes; eliminate empty separation created by desktop min-height. */
 .site-main--cinematic :where(.uni-catalog,.uni-vectors,.uni-orbital,.nb-faq){min-height:auto!important;}
 .site-main--cinematic :where(.nb-intro,.nb-hero,.nb-closing){min-height:unset;}
 .site-main--cinematic :where(.nb-section-head){margin-bottom:clamp(13px,3vw,26px);}
 /* Motion doesn't force waiting for an offscreen scene on mobile. */
 .tx2-section.eu-tx-enter-ready,.tx2-closing.eu-tx-enter-ready{
  opacity:0;transform:translate3d(0,22px,0);
  transition:opacity .62s cubic-bezier(.22,1,.36,1) var(--eu-tx-delay,0ms),
             transform .72s cubic-bezier(.22,1,.36,1) var(--eu-tx-delay,0ms);
 }
 .tx2-section.eu-tx-entered,.tx2-closing.eu-tx-entered{opacity:1;transform:none;}
 .tx2-closing{min-height:auto!important;height:auto!important;padding-bottom:clamp(24px,5vw,48px)!important;}
 .tx2-closing__media{min-height:clamp(260px,43vw,480px);background-size:cover!important;background-position:center!important;}
 .tx2-closing__copy{padding-bottom:clamp(20px,5vw,46px)!important;}
 .tx2-closing__copy :is(h2,p){max-width:100%!important;}
 /* Home footer exact design, projected into public pages below. */
 .eu-unified-footer{
  display:block!important;box-sizing:border-box;
  --soft:#c5bcd9;--text:#f3edff;--display:Orbitron,"Arial Black",system-ui,sans-serif;
  background:#020308;color:var(--soft);
 }
 [data-eu-original-footer="1"]{display:none!important;}
}
@media(max-width:720px){
 .site-hdr .site-hdr-in{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  align-items:center!important;min-height:112px!important;height:auto!important;
  padding:8px 7px 7px!important;gap:4px!important;
 }
 .site-hdr .site-brand{min-width:0!important;flex:none!important;max-width:clamp(152px,48vw,194px)!important;display:flex;justify-content:center;align-items:center;}
 .site-hdr .site-brand img{height:37px!important;max-width:100%!important;width:auto!important;object-fit:contain!important;}
 .site-hdr .site-actions{
  display:flex!important;flex:none!important;flex-wrap:nowrap!important;
  width:100%!important;justify-content:center!important;align-items:center!important;
  gap:clamp(4px,2vw,10px)!important;margin:0!important;
 }
 .site-hdr .site-actions > *{flex-shrink:0!important;}
 .site-hdr :is(.site-icon-btn,.site-menu-btn,.act-profile,.act-cart){
  width:clamp(43px,12vw,50px)!important;height:46px!important;min-width:43px!important;min-height:46px!important;
  display:inline-grid!important;place-items:center!important;
 }
 .site-hdr .site-actions svg{width:23px!important;height:23px!important;max-height:24px;}
 .site-hdr :is(.site-btn,.act-join){
  min-height:44px!important;padding:0 14px!important;
  font-size:clamp(11px,2.5vw,13px)!important;letter-spacing:.05em!important;
 }
 .site-hdr .eu-currency-widget{max-width:clamp(58px,17vw,79px)!important;}
 .site-hdr .eu-currency-trigger{min-height:44px!important;max-width:100%!important;}
 .site-hdr #eu-currency-options{right:0!important;left:auto!important;top:calc(100% + 6px)!important;}
 .site-hdr .site-menu-panel{max-height:min(80dvh,720px);overflow-y:auto!important;}
 /* Nóvula: immediate response between credential choice and ship preview */
 .nov-boarding .nb-hero{min-height:clamp(450px,118svh,690px)!important;padding-top:0!important;}
 .nov-boarding .nb-hero__art{inset:0!important;}
 .nov-boarding .nb-intro{padding-top:clamp(25px,5vw,40px)!important;padding-bottom:clamp(24px,5vw,50px)!important;}
 .nc-experience .nc-panel{margin-top:10px!important;overflow:visible!important;}
 .nc-experience .nc-panel .nc-credentials{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;max-width:100%;margin:10px 0!important;padding:0!important;
 }
 .nc-experience .nc-panel .nc-credential{
  min-width:0!important;width:100%!important;min-height:108px!important;
  transform:none!important;margin:0!important;padding:9px 6px!important;border-radius:13px!important;
 }
 .nc-experience .nc-panel .nc-credential .nc-credential__name{
  font-size:clamp(10px,2.9vw,13px)!important;line-height:1.25!important;word-break:break-word;
 }
 .nc-experience .nc-panel .nc-credential :is(.nc-credential__short,.nc-credential__bottom small){font-size:9px!important;}
 .nc-experience .nc-panel .nc-credential .nc-credential__top{margin-bottom:7px!important;}
 .nc-experience .nc-panel .nc-credential .nc-credential__choose{font-size:9px!important;}
 .nc-experience .nc-panel .nc-panel__summary{margin:12px 0 4px!important;padding:5px!important;}
 .nc-experience .nc-panel .nc-panel__main{display:flex!important;flex-direction:column!important;gap:12px!important;}
 .nc-experience .nc-panel .nc-panel__media{
  position:relative;min-height:clamp(200px,55vw,300px)!important;touch-action:pan-y;
  margin-top:4px!important;overflow:visible!important;
 }
 .nc-experience .nc-panel .nc-panel__media img{
  width:100%;height:auto;max-height:clamp(240px,65vw,340px);object-fit:contain;
 }
 .nc-experience .nc-panel .nc-panel__features{min-height:0!important;}
 .eu-nc-tactile-hint{text-align:center;margin:14px 0 0;color:#8df6e2;font:700 10px/1.4 Orbitron,system-ui,sans-serif;letter-spacing:.04em;}
 .eu-nc-swipe-dots{display:flex;gap:10px;align-items:center;justify-content:center;margin:4px auto 12px;position:relative;z-index:8;}
 .eu-nc-swipe-dots button{
  min-width:38px;min-height:36px;padding:0;background:transparent;border:0;display:grid;place-items:center;
 }
 .eu-nc-swipe-dots button:before{
  content:"";width:10px;height:10px;background:#8894ad;border-radius:100%;
  border:1px solid #9de9ed;transition:background .2s,transform .2s,box-shadow .2s;
 }
 .eu-nc-swipe-dots button[aria-pressed="true"]:before{
  background:#84ffe8;transform:scale(1.28);box-shadow:0 0 13px #87ffe2;
 }
 .nov-boarding .nb-pricing{padding-bottom:35px!important;}
 .nov-boarding .nb-closing{min-height:0!important;padding-bottom:clamp(23px,6vw,44px)!important;}
 .nov-boarding .nb-closing__art{min-height:0!important;background-size:cover!important;}
 .eu-compare-box{padding:20px 8px;margin:18px auto 12px;text-align:center;border:1px solid #52d3d877;border-radius:18px;background:linear-gradient(135deg,#0d2432,#151634)}
 .eu-compare-box p{color:#9afbea;letter-spacing:.1em;font:700 10px Orbitron,system-ui,sans-serif;margin:0 0 12px;}
 .eu-compare-open{min-height:50px;max-width:100%;border-radius:11px;background:#8cf4e2;color:#071a23;border:0;font-weight:800;font-size:12px;padding:10px 16px;}
 .eu-compare-dialog{border:1px solid #73eedb;border-radius:17px;background:#0b1428;color:white;width:min(98vw,850px);max-width:98vw;max-height:88dvh;padding:12px;overflow:auto;box-shadow:0 14px 70px #000d;}
 .eu-compare-dialog::backdrop{background:#01050ed9;backdrop-filter:blur(5px);}
 .eu-compare-head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-12px;background:#0b1428;padding:10px 0;z-index:2;}
 .eu-compare-head h2{font-size:clamp(15px,4vw,22px);margin:0;line-height:1.2;}
 .eu-compare-close{flex:none;min-width:44px;min-height:44px;font-size:26px;border-radius:9px;border:1px solid #7de3e0;background:#131f39;color:white;}
 .eu-compare-content{max-width:100%;overflow-x:auto;}
 .eu-compare-table{border-collapse:separate;border-spacing:0;width:100%;min-width:370px;font-size:11px;line-height:1.5;}
 .eu-compare-table :is(td,th){border-bottom:1px solid #4467805c;padding:12px 6px;text-align:left;vertical-align:top;min-width:70px;}
 .eu-compare-table thead th{color:#8feeda;background:#17283b;position:sticky;top:55px;}
 .eu-compare-table tbody th{width:80px;color:#becddd;}
 .eu-compare-disclaimer{font-size:10px;color:#a6bdc9;}
 /* Tienda sections: reduced dead space, compact universe shelf */
 .site-main--store :is(.site-hero,.av-hero){min-height:0!important;padding-bottom:clamp(22px,5vw,40px)!important;}
 .site-main--store .av-universes{padding-top:clamp(24px,5vw,36px)!important;padding-bottom:clamp(18px,5vw,30px)!important;}
 .site-main--store .av-world-grid{
  display:flex!important;flex-wrap:nowrap;gap:12px;overflow-x:auto!important;scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;align-items:stretch;padding:8px 2px 13px!important;
 }
 .site-main--store .av-world{
  flex:0 0 clamp(126px,37vw,170px)!important;width:clamp(126px,37vw,170px)!important;
  aspect-ratio:1/1!important;max-height:180px!important;min-height:130px!important;
  scroll-snap-align:start;border-radius:16px!important;overflow:hidden;
 }
 .site-main--store .av-world__body{min-height:0!important;padding:6px!important;gap:4px!important;}
 .site-main--store .av-world__body :is(p,.av-world__top,.av-world__bottom span){display:none!important;}
 .site-main--store .av-world__body h3{font-size:clamp(10px,3vw,13px);text-align:center;margin:0;}
 .site-main--store .av-world .av-btn{font-size:10px!important;padding:6px 5px!important;min-height:36px!important;line-height:1.2!important;}
 .site-main--store .av-world__art{min-height:65px;height:65px;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
 .site-main--store .av-intents,.site-main--store .av-catalog{padding-top:clamp(24px,5vw,45px)!important;}
 .site-main--store .av-trust-strip,.site-main--store .av-catalog__head{display:none!important;}
 .site-main--store .av-world-banner,.site-main--store .av-world-indicator{display:none!important;}
 .site-main--store .av-world.is-active{border:2px solid #86ffe5!important;box-shadow:0 0 22px #72f6e85c,inset 0 0 12px #62eedb44;}
 .site-main--store .av-world__body{justify-content:flex-end!important;}
 .site-main--store .av-hero__breadcrumbs{margin-top:15px!important;}
}
@media(min-width:721px) and (max-width:1024px){
 .site-hdr .site-hdr-in{min-height:75px!important;max-width:100%;padding:6px 10px!important;}
 .site-hdr .site-brand img{height:38px!important;max-width:170px!important;}
 .site-hdr .site-actions{display:flex;gap:5px!important;}
 .site-hdr .site-icon-btn{min-width:44px;min-height:44px;}
 .eu-compare-box{margin-top:16px;}
 .eu-compare-open{min-height:48px;padding:12px 18px;border:1px solid #69e4d7;background:#133c46;color:#c0fff3;border-radius:10px;}
}
@media(prefers-reduced-motion:reduce){
 .site-hdr.eu-smart-header,.eu-tx-enter-ready,.eu-tx-entered{transition:none!important;animation:none!important;}
 .eu-tx-enter-ready{opacity:1!important;transform:none!important;}
 .eu-nc-swipe-dots button:before{transition:none!important;}
}

/* HUNTIFY: strong, deliberate press/drag illumination with guided gesture. */
@media(max-width:1024px){
 body[data-page="universos"] [data-uni-flashlight]{
  position:relative;touch-action:pan-y;overscroll-behavior:contain;
 }
 body[data-page="universos"] .uni-card-v2__flash-lit{
  opacity:0;
  -webkit-mask-image:radial-gradient(circle var(--flash-radius,160px) at var(--flash-x,50%) var(--flash-y,50%),#000 0%,#000 35%,transparent 79%)!important;
  mask-image:radial-gradient(circle var(--flash-radius,160px) at var(--flash-x,50%) var(--flash-y,50%),#000 0%,#000 35%,transparent 79%)!important;
  filter:brightness(2.45) contrast(1.42) saturate(1.38) drop-shadow(0 0 16px #f5d4fbb0);
  transition:opacity .13s ease;
 }
 body[data-page="universos"] [data-uni-flashlight].is-flash-active .uni-card-v2__flash-lit{opacity:1!important;}
 body[data-page="universos"] [data-uni-flashlight].is-flash-active .uni-card-v2__flash-base{filter:brightness(.84) contrast(1.09)!important;}
 body[data-page="universos"] .eu-flash-instruction{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;position:absolute;z-index:10;
  left:6px;right:6px;bottom:16px;text-align:center;pointer-events:none;
  border:1px solid #ad75e377;background:linear-gradient(100deg,#0d1030d9,#291031e3);
  border-radius:11px;padding:11px 9px;color:#ffe1f6;
  font:800 clamp(10px,2.8vw,13px)/1.4 Orbitron,system-ui,sans-serif;letter-spacing:.04em;
  text-shadow:0 0 12px #ff6fdbb9;box-shadow:0 0 15px #e12b8d42;
  animation:eu-flash-hint-pulse 2.5s ease-in-out infinite;
 }
 body[data-page="universos"] .eu-flash-hand{font-size:22px;animation:eu-flash-hint-hand 2.5s ease-in-out infinite;}
 body[data-page="universos"] [data-uni-flashlight].is-flash-active .eu-flash-instruction{opacity:0;transition:opacity .18s;}
 @keyframes eu-flash-hint-pulse{0%,100%{box-shadow:0 0 8px #de36bb34}50%{box-shadow:0 0 18px #ff58d576}}
 @keyframes eu-flash-hint-hand{0%,100%{transform:translateX(-7px)}55%{transform:translateX(11px)}}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="universos"] .eu-flash-instruction,
 body[data-page="universos"] .eu-flash-hand{animation:none!important;}
}

@media(max-width:720px){
 /* Remove the empty cinematic lead-in above Nóvula's first heading, without cropping artwork. */
 .nov-boarding .nb-hero{min-height:clamp(465px,110vw,570px)!important;height:auto!important;align-items:flex-end!important;}
 .nov-boarding .nb-hero__content{padding-top:clamp(22px,6vw,42px)!important;padding-bottom:clamp(23px,6vw,34px)!important;}
 .nov-boarding .nb-hero__actions{margin-top:clamp(15px,3vw,24px)!important;}
 .nov-boarding .nb-hero__lead{margin-top:clamp(12px,3vw,20px)!important;}
 .nov-boarding .nb-closing{min-height:0!important;padding-top:clamp(28px,6vw,48px)!important;padding-bottom:clamp(18px,5vw,30px)!important;}
 .nov-boarding .nb-closing__copy{padding-bottom:0!important;}
}

/* Visual quality after device screenshot review */
@media(max-width:1024px){
 .site-main--store .av-world__art::before,
 .site-main--store .av-world__art::after{display:none!important;content:none!important;}
 .site-main--store .av-world__art .eu-world-mark{opacity:1!important;mix-blend-mode:normal;}
 .site-main--store .av-world:has(.eu-world-mark--huntify){background:#000!important;}
 .site-main--store .av-world:has(.eu-world-mark--huntify) .av-world__art{background:#000!important;}
 .site-main--store .av-world:has(.eu-world-mark--huntify) .eu-world-mark--huntify{
  mix-blend-mode:screen!important;filter:brightness(1.35) contrast(1.16) drop-shadow(0 0 12px #ff41b1a8)!important;
 }
 .site-main--store .av-world:has(.eu-world-mark--holo) .eu-world-mark,
 .site-main--store .av-world:not(:has(.eu-world-mark--huntify)) .eu-world-mark{
  filter:brightness(1.75) saturate(1.36) contrast(1.04) drop-shadow(0 0 13px #62f3db80)!important;
 }
 .tx2-closing.eu-tx-enter-ready{opacity:1!important;transform:none!important;}
 .tx2-closing__media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 48%!important;filter:brightness(1.22) saturate(1.08)!important;}
 .tx2-closing__media::after{background:linear-gradient(100deg,rgba(3,7,20,.82),rgba(3,7,20,.42))!important;}
}
@media(max-width:720px){
 .nc-experience .nc-panel.nb-reveal{opacity:1!important;transform:none!important;}
 .nc-experience .nc-panel__media img{filter:brightness(1.13) saturate(1.17);transition:filter .35s ease;}
 .nc-experience .nc-panel[data-current-level="1"] .nc-panel__media img{filter:brightness(1.18) saturate(1.24) hue-rotate(-7deg);}
 .nc-experience .nc-panel[data-current-level="2"] .nc-panel__media img{filter:brightness(1.22) saturate(1.31) sepia(.05);}
}

/* The four editorial information pages now mount the exact shared navigation. */
@media(max-width:1024px){
 body:has(#eu-v14-shared-header .site-hdr) header.eu-top{display:none!important;}
 #eu-v14-shared-header{position:relative;z-index:900;min-width:0;}
 #eu-v14-shared-header .site-hdr{width:100%!important;}
}

/* Ensure shared headers in standalone routes remain sticky for the entire page. */
@media(max-width:1024px){
 #eu-v14-shared-header,#eu-product-nav{position:sticky!important;top:0!important;z-index:1450!important;display:block;transform:translateZ(0);}
 #eu-v14-shared-header .site-hdr.eu-smart-header,
 #eu-product-nav .site-hdr.eu-smart-header{position:relative!important;top:auto!important;}
}
@media(max-width:720px){
 .site-hdr.eu-smart-header{height:auto!important;min-height:112px!important;max-height:none!important;}
 #eu-v14-shared-header .site-hdr.eu-smart-header,
 #eu-product-nav .site-hdr.eu-smart-header{height:auto!important;min-height:112px!important;max-height:none!important;}
 #eu-v14-shared-header .site-hdr-in,
 #eu-product-nav .site-hdr-in{height:auto!important;min-height:112px!important;}
}

/* Funnels can rerender their own footers; never show a second footer behind the shared Home one. */
@media(max-width:1024px){
 body:has(.eu-unified-footer) footer.ty3-footer,
 body:has(.eu-unified-footer) footer.cold-footer,
 body:has(.eu-unified-footer) footer.site-ftr,
 body:has(.eu-unified-footer) footer.tx2-footer,
 body:has(.eu-unified-footer) footer.eu-footer{display:none!important;}
 body:has(.eu-unified-footer) > .eu-unified-footer,
 body:has(.eu-unified-footer) .eu-unified-footer{display:block!important;visibility:visible!important;}
}

/* Reveal each closing message without reintroducing empty black space. */
@media(max-width:1024px) and (prefers-reduced-motion:no-preference){
 .tx2-closing.eu-tx-enter-ready .tx2-closing__copy > *{
  opacity:0;transform:translate3d(0,17px,0);
  transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1);
 }
 .tx2-closing.eu-tx-entered .tx2-closing__copy > *{opacity:1;transform:none;}
 .tx2-closing.eu-tx-enter-ready .tx2-closing__copy > :nth-child(2){transition-delay:.08s;}
 .tx2-closing.eu-tx-enter-ready .tx2-closing__copy > :nth-child(3){transition-delay:.16s;}
 .tx2-closing.eu-tx-enter-ready .tx2-closing__copy > :nth-child(4){transition-delay:.24s;}
}

@media(max-width:720px){header.eu-top{min-height:113px}}
