.rekt-market-scene{position:fixed!important;inset:0!important;z-index:4000;background:#050911;display:grid;place-items:center;isolation:isolate}
.rekt-market-stage{position:relative;width:min(100vw,177.68dvh);height:min(56.28vw,100dvh);background:url('../assets/market/market-entry.webp') center/100% 100% no-repeat}
.rekt-market-stage .market-hotspot{position:absolute!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important;border-radius:18px!important;padding:0!important;min-height:44px;transition:box-shadow .18s,background .18s;cursor:pointer}
.market-hotspot span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.rekt-market-stage .market-buy{inset:18% 65% 5% 2%}.rekt-market-stage .market-sell{inset:19% 2% 5% 66%}.rekt-market-stage .market-back{inset:1% 84% 88% 1%}
.rekt-market-stage .market-hotspot:hover,.rekt-market-stage .market-hotspot:focus-visible{background:#65e5ff13!important;box-shadow:inset 0 0 30px #79e5ff70,0 0 20px #79e5ff50!important;outline:2px solid #7ae4ed!important}
.rekt-market-stage .market-sell:hover,.rekt-market-stage .market-sell:focus-visible{background:#e655f215!important;box-shadow:inset 0 0 30px #de70ef80,0 0 20px #de70ef50!important;outline-color:#e18ff5!important}
.market-window-shade{position:absolute;inset:0;background:#02060dc9;display:grid;place-items:center;padding:3vh 3vw;backdrop-filter:blur(3px)}
.market-window{position:relative;box-sizing:border-box;width:min(1200px,94vw);max-height:94dvh;background:#071220;border:22px solid transparent;border-image:url('../assets/ui-flow/panel_frame.webp') 58 60 fill/22px stretch;padding:48px 14px 16px;display:flex;flex-direction:column;min-height:260px}
.market-close{position:absolute;right:16px;top:8px;z-index:3}.market-window-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px}
.market-window-body .cab-pantalla{display:none!important}.market-window-body .mercado{background:transparent!important;padding:0!important;border:0!important}.market-window-body .mer-cuerpo{overflow:visible!important;max-height:none!important}
.market-window :is(button,.caja-modal button){min-height:44px}.market-window .caja-modal{border:20px solid transparent!important;border-image:url('../assets/ui-flow/panel_frame.webp') 58 60 fill/20px stretch!important;background:#081323!important;border-radius:0!important;max-height:90dvh;overflow:auto}
.market-window :is(.mer-carta,.mer-modal,.mer-desglose){background-color:#0b1926}.market-window :is(.market-close,.fila-botones button,.mer-tabs button){background:#152b3e url('../assets/ui-flow/button_clean_01942.webp') center/100% 100%!important;border:0!important;padding:12px 24px!important}
@media(max-aspect-ratio:1/1){.rekt-market-stage{width:100vw;height:80dvh;background-size:auto 100%;background-position:center}.rekt-market-stage .market-buy{inset:48% 51% 8% 3%}.rekt-market-stage .market-sell{inset:48% 3% 8% 51%}.rekt-market-stage .market-back{inset:2% auto auto 3%;width:100px;height:48px;background:#132b3e!important}.market-hotspot span{position:static;width:auto;height:auto;clip-path:none;display:block;font-size:18px;text-shadow:0 2px #000;background:#081727c9;padding:10px}.market-window{width:96vw;padding:48px 4px 8px;border-width:14px}.market-window-shade{padding:1vh 2vw}.market-window .mer-tabs{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.market-hotspot{transition:none!important}}
/* Keep native screen transitions from flashing the old environment. */
body.fx-world-panel[data-rekt-screen="mercado"] #principal{animation:none!important;transform:none!important;opacity:1!important;background:#050911!important;border:0!important;padding:0!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important}
.rekt-market-scene .market-window>.market-close{position:absolute!important;inset:8px 16px auto auto!important;width:140px!important;height:44px!important;padding:8px 18px!important}
body:has(.market-window) #rekt-online-entry{display:none!important}
@media(max-width:600px){.market-window .mer-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.market-window .mer-tabs button{width:100%!important;min-width:0!important;padding:12px 8px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:12px!important}.market-window-body{overflow-x:hidden}.market-window-body p{overflow-wrap:anywhere}.market-window .mer-filtros{grid-template-columns:1fr!important}}
