/* Estación Unwritten · 2026-11-10 · five requested mobile refinements */
@media(max-width:1024px){
 /* Expanded navigation must open BELOW the controls and never cover its own toggle. */
 .site-hdr.eu-smart-header{overflow:visible!important;isolation:isolate;}
 .site-hdr .site-hdr-in{position:relative!important;z-index:3!important;overflow:visible!important;}
 .site-hdr .site-menu-btn{position:relative!important;z-index:6!important;touch-action:manipulation;}
 .site-hdr .site-menu-panel{position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:2!important;max-height:calc(100dvh - 85px)!important;overflow-y:auto!important;}
 .site-hdr .site-menu-panel[hidden]{display:none!important;}
 .site-hdr .site-menu-btn[aria-expanded="true"]{color:#9effe7!important;border-color:#72fbe5!important;box-shadow:0 0 15px #4beccd55!important;}
 /* Same Home footer for every public page, centered even at 320px. */
 .eu-unified-footer.ftr{display:block!important;max-width:100%!important;padding:32px 14px 27px!important;text-align:center!important;overflow-wrap:break-word!important;}
 .eu-unified-footer .ftr-brand{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important;margin:0 auto!important;}
 .eu-unified-footer .ftr-brand .logo-img{display:block!important;margin:0 auto!important;width:auto!important;height:clamp(30px,5vw,41px)!important;max-width:min(220px,75vw)!important;}
 .eu-unified-footer .ftr-social{display:flex!important;justify-content:center!important;align-items:center!important;}
 .eu-unified-footer .copyright{display:block!important;text-align:center!important;font-size:clamp(9px,2.4vw,11px)!important;line-height:1.65!important;font-weight:400!important;letter-spacing:0!important;max-width:min(100%,600px)!important;margin:18px auto 0!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:0 6px!important;}
}
@media(max-width:720px){
 /* Principal site header: true SINGLE horizontal navigation line. */
 .site-hdr.eu-smart-header{min-height:0!important;height:auto!important;max-height:none!important;}
 .site-hdr .site-hdr-in{
  display:flex!important;flex-direction:row!important;justify-content:space-between!important;
  align-items:center!important;flex-wrap:nowrap!important;gap:clamp(3px,1.5vw,8px)!important;
  width:100%!important;min-height:66px!important;height:66px!important;
  padding:5px clamp(6px,2.4vw,12px)!important;
 }
 .site-hdr .site-brand{display:flex!important;justify-content:flex-start!important;align-items:center!important;flex:0 1 auto!important;
  width:auto!important;min-width:0!important;max-width:clamp(88px,30vw,143px)!important;}
 .site-hdr .site-brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:39px!important;object-fit:contain!important;}
 .site-hdr .site-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;
  width:auto!important;max-width:100%!important;gap:clamp(3px,1.2vw,7px)!important;margin:0!important;}
 .site-hdr .site-actions :is(.site-icon-btn,.site-menu-btn,.act-profile,.act-cart){
  width:clamp(36px,10vw,44px)!important;min-width:clamp(36px,10vw,44px)!important;height:44px!important;min-height:44px!important;
  padding:7px!important;flex:0 0 auto!important;display:inline-grid!important;place-items:center!important;
 }
 .site-hdr .site-actions :is(.site-icon-btn,.site-menu-btn) svg{width:22px!important;height:22px!important;}
 .site-hdr .site-actions :is(.site-btn,.act-join){flex:0 0 auto!important;height:44px!important;min-height:44px!important;
  min-width:0!important;padding:0 clamp(7px,2.3vw,12px)!important;font-size:clamp(10px,2.65vw,12px)!important;}
 .site-hdr .site-menu-panel{max-height:calc(100dvh - 70px)!important;}
 /* Currency pages only: logo is centered, a full-size horizontal action bar underneath. */
 body:has(.eu-currency-widget) .site-hdr .site-hdr-in{
  flex-direction:column!important;justify-content:center!important;height:108px!important;min-height:108px!important;
  gap:3px!important;padding-top:6px!important;padding-bottom:7px!important;}
 body:has(.eu-currency-widget) .site-hdr .site-brand{width:auto!important;max-width:clamp(136px,38vw,184px)!important;justify-content:center!important;flex:0 0 auto!important;}
 body:has(.eu-currency-widget) .site-hdr .site-brand img{height:35px!important;width:auto!important;max-width:100%!important;}
 body:has(.eu-currency-widget) .site-hdr .site-actions{justify-content:center!important;flex:0 0 100%!important;width:100%!important;
  max-width:100%!important;gap:clamp(4px,2vw,10px)!important;}
 body:has(.eu-currency-widget) .site-hdr .eu-currency-widget{max-width:clamp(59px,16vw,72px)!important;min-width:0!important;flex:0 0 auto!important;}
 body:has(.eu-currency-widget) .site-hdr .eu-currency-trigger{width:100%!important;max-width:100%!important;}
}
@media(max-width:350px){
 .site-hdr .site-hdr-in{padding-inline:5px!important;gap:3px!important;}
 .site-hdr .site-brand{max-width:90px!important;}
 .site-hdr .site-actions{gap:3px!important;}
 .site-hdr .site-actions :is(.site-icon-btn,.site-menu-btn){width:35px!important;min-width:35px!important;padding:6px!important;}
 .site-hdr .site-actions :is(.site-btn,.act-join){font-size:10px!important;padding-inline:6px!important;}
 body:has(.eu-currency-widget) .site-hdr .site-brand{max-width:150px!important;}
}
@media(min-width:721px) and (max-width:1024px){
 .site-hdr .site-hdr-in{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;min-height:74px!important;height:74px!important;}
 .site-hdr .site-brand{flex:0 0 auto!important;max-width:180px!important;}
 .site-hdr .site-actions{display:flex!important;flex:0 0 auto!important;width:auto!important;gap:8px!important;}
}

/* HUNTIFY: contextual instructions only, never a permanently pulsing overlay. */
@media(max-width:1024px){
 body[data-page="universos"] .eu-flash-instruction{
  opacity:0!important;visibility:hidden!important;transform:translateY(9px)!important;
  animation:none!important;transition:opacity .23s ease,transform .23s ease,visibility 0s linear .23s!important;
  pointer-events:none!important;
 }
 body[data-page="universos"] .eu-flash-instruction.eu-flash-instruction--visible{
  opacity:1!important;visibility:visible!important;transform:none!important;
  transition:opacity .23s ease,transform .23s ease!important;
  animation:eu-flash-hint-pulse 2.5s ease-in-out infinite!important;
 }
 body[data-page="universos"] [data-uni-flashlight].is-flash-active .eu-flash-instruction{opacity:0!important;visibility:hidden!important;}
 body[data-page="universos"] [data-uni-flashlight] img{-webkit-touch-callout:none!important;user-select:none!important;-webkit-user-drag:none!important;}
 /* Keep ONLY the original top credit selectors, even while swiping the ship. */
 .eu-nc-swipe-dots{display:none!important;}
 .nc-experience .nc-panel__hologram i{display:none!important;}
 .nc-experience .nc-panel__media img{backface-visibility:hidden;transform:translateZ(0);will-change:opacity,transform;}
 /* Full-screen, three-column plan comparison */
 .eu-compare-dialog{
  width:min(100vw,960px)!important;max-width:min(100vw,960px)!important;
  max-height:98dvh!important;height:min(96dvh,960px)!important;
  padding:0 0 20px!important;background:#070e22!important;border:1px solid #85f3e277!important;
  border-radius:clamp(0px,3vw,16px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 }
 .eu-compare-head{top:0!important;margin:0!important;padding:18px clamp(12px,3vw,26px)!important;background:#09162a!important;box-shadow:0 8px 24px #0009!important;}
 .eu-compare-content{overflow-x:hidden!important;padding:12px clamp(7px,2.4vw,18px)!important;}
 .eu-compare-table--visual{border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;
  width:100%!important;min-width:0!important;font-size:clamp(10px,1.8vw,14px)!important;line-height:1.35!important;}
 .eu-compare-table--visual thead th{position:sticky!important;top:70px!important;z-index:1!important;}
 .eu-compare-table--visual th:first-child{width:clamp(96px,30%,210px)!important;text-align:left!important;padding:11px 6px!important;}
 .eu-compare-table--visual :is(th,td){min-width:0!important;padding:11px clamp(3px,1vw,12px)!important;overflow-wrap:anywhere!important;word-break:normal!important;}
 .eu-compare-table--visual thead th:first-child{background:#14223a!important;color:#c8dfef!important;}
 .eu-compare-table--visual thead .eu-compare-tier{vertical-align:middle!important;text-align:center!important;border-top:3px solid currentColor!important;}
 .eu-compare-tier-name{display:block!important;font-size:clamp(9px,2.2vw,14px)!important;line-height:1.3!important;font-weight:900!important;letter-spacing:0!important;}
 .eu-compare-tier-price{display:block!important;margin:8px auto 0!important;font-size:clamp(9px,2vw,13px)!important;color:#edf7ff!important;font-weight:700!important;line-height:1.4!important;}
 .eu-compare-tier--cyan{background:#0b3b49!important;color:#8bfbea!important;border-color:#53ecd7!important;}
 .eu-compare-tier--violet{background:#312153!important;color:#d3b2ff!important;border-color:#b878f7!important;}
 .eu-compare-tier--gold{background:#493614!important;color:#ffe5a1!important;border-color:#efc671!important;}
 .eu-compare-table--visual tbody th{font-size:clamp(10px,2.3vw,13px)!important;line-height:1.42!important;color:#dfebf6!important;background:#0e192e!important;font-weight:600!important;}
 .eu-compare-check{font-family:system-ui,sans-serif!important;text-align:center!important;font-size:clamp(16px,4.5vw,23px)!important;font-weight:900!important;}
 .eu-compare-check:not(.is-included){color:#6c7891!important;background:#0e1528!important;font-weight:400!important;}
 .eu-compare-check--cyan.is-included{background:#103b3c!important;color:#86ffdd!important;}
 .eu-compare-check--violet.is-included{background:#29213f!important;color:#d7b4ff!important;}
 .eu-compare-check--gold.is-included{background:#372d1c!important;color:#ffdc89!important;}
 .eu-compare-disclaimer{padding:0 16px;font-size:11px!important;color:#afc1d0!important;}
}
@media(max-width:350px){
 .eu-compare-table--visual th:first-child{width:93px!important;}
 .eu-compare-table--visual :is(th,td){padding-inline:3px!important;}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="universos"] .eu-flash-instruction{animation:none!important;transition:none!important;}
}
