/* León al Toque 2.9.1 */

.lat-world{
 --ink:#112a56;--pink:#ff248d;--orange:#ff6b18;--yellow:#ffe13b;--cyan:#00d9ff;--green:#1fd47b;--purple:#6f3cff;
 max-width:1160px;margin:24px auto;padding:20px;border-radius:32px;color:var(--ink);
 background:
  radial-gradient(circle at 8% 2%,rgba(255,255,255,.95),transparent 24%),
  radial-gradient(circle at 92% 8%,rgba(255,225,59,.8),transparent 20%),
  linear-gradient(135deg,#ffef6b 0%,#7cecff 45%,#ff80bd 100%);
 box-shadow:0 22px 65px rgba(17,42,86,.24);
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.lat-world *{box-sizing:border-box}
.lat-world-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:6px 10px 18px}
.lat-kicker{font-size:12px;font-weight:950;letter-spacing:.14em;color:#d81172}
.lat-world h2{font-size:clamp(30px,4vw,50px);line-height:1;margin:5px 0;text-shadow:0 3px 0 rgba(255,255,255,.65)}
.lat-world-header p{margin:8px 0 0;font-weight:700}
.lat-icon-btn{border:3px solid #fff;width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#fff,#eaf4ff);font-size:22px;cursor:pointer;box-shadow:0 8px 0 rgba(17,42,86,.14)}
.lat-hero-card{display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#112a56,#5d2be8);color:#fff;border-radius:30px;padding:22px;margin-bottom:18px;overflow:hidden;position:relative}
.lat-hero-card:after{content:"";position:absolute;right:-40px;top:-55px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
.lat-hero-orbit{position:relative;width:120px;height:100px;display:grid;place-items:center;flex:0 0 auto}
.lat-hero-orbit>span{position:absolute;font-size:24px;animation:latFloat 2.5s ease-in-out infinite}
.lat-hero-orbit>span:nth-child(1){left:0;top:4px}.lat-hero-orbit>span:nth-child(2){right:2px;top:18px;animation-delay:.5s}.lat-hero-orbit>span:nth-child(3){left:18px;bottom:0;animation-delay:1s}
.lat-hero-lion{font-size:76px;filter:drop-shadow(0 10px 5px rgba(0,0,0,.25))}
@keyframes latFloat{50%{transform:translateY(-8px) rotate(8deg)}}
.lat-hero-card h3{font-size:clamp(27px,4vw,44px);margin:5px 0}.lat-hero-card p{margin:7px 0;font-weight:650}
.lat-badge{display:inline-block;background:#ffe13b;color:#112a56;padding:6px 11px;border-radius:999px;font-weight:950;font-size:11px}
.lat-game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lat-game-card{min-height:275px;border:4px solid rgba(255,255,255,.78);border-radius:28px;padding:19px;text-align:left;color:var(--ink);box-shadow:0 14px 0 rgba(17,42,86,.12);transition:.2s;position:relative;overflow:hidden}
button.lat-game-card{cursor:pointer}
button.lat-game-card:hover{transform:translateY(-5px);box-shadow:0 19px 0 rgba(17,42,86,.1)}
.lat-river-card{background:linear-gradient(145deg,#bcf8ff,#00cbea)}
.lat-memory-card{background:linear-gradient(145deg,#fff1a7,#ff8a3d)}
.lat-coming-card{background:linear-gradient(145deg,#e7d8ff,#a887ff);opacity:.82}
.lat-game-art{display:block;font-size:55px;min-height:80px;filter:drop-shadow(0 5px 0 rgba(255,255,255,.45))}
.lat-game-tag{display:inline-block;background:#112a56;color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:950;letter-spacing:.08em}
.lat-game-card strong{display:block;font-size:26px;margin:10px 0 6px}.lat-game-card small{display:block;font-size:14px;font-weight:700;line-height:1.45}
.lat-play-pill{display:inline-block;margin-top:17px;background:#fff;padding:10px 14px;border-radius:999px;font-weight:950;box-shadow:0 5px 0 rgba(17,42,86,.12)}
.lat-global-scores{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:17px}
.lat-global-scores div{background:rgba(255,255,255,.88);padding:13px;border:3px solid #fff;border-radius:19px;text-align:center}
.lat-global-scores span{display:block;font-size:11px;text-transform:uppercase;font-weight:900}.lat-global-scores strong{font-size:27px}
.lat-game-screen{position:relative}.lat-back-btn{border:0;background:#112a56;color:#fff;padding:11px 16px;border-radius:999px;font-weight:900;cursor:pointer;margin-bottom:13px}
.lat-game-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.lat-game-title-row h3{font-size:36px;margin:5px 0}
.lat-mission-bar{display:grid;grid-template-columns:minmax(220px,350px) 1fr;gap:15px;align-items:center;background:#112a56;color:#fff;border-radius:19px;padding:11px 15px;margin-bottom:10px}
.lat-mission-bar div:first-child{display:flex;align-items:center;gap:10px}.lat-mission-bar div:first-child span{background:#ffe13b;color:#112a56;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:950}
.lat-progress{height:14px;background:rgba(255,255,255,.2);border-radius:999px;overflow:hidden}.lat-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#1fd47b,#ffe13b);transition:.2s}
.lat-hud{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:10px}.lat-hud div{display:flex;flex-direction:column;text-align:center;background:#fff;border:3px solid #fff;border-radius:18px;padding:8px;font-weight:850;box-shadow:0 6px 0 rgba(17,42,86,.1)}
.lat-hud span{font-size:10px;text-transform:uppercase;opacity:.65}.lat-hud strong{font-size:20px}
.lat-stage-wrap{position:relative;overflow:hidden;border:6px solid #fff;border-radius:26px;background:#69dcff;box-shadow:0 14px 0 rgba(17,42,86,.12)}
.lat-stage{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}
.lat-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:rgba(17,42,86,.34);backdrop-filter:blur(5px);padding:18px}
.lat-overlay[hidden],.lat-toast[hidden],[hidden]{display:none!important}
.lat-modal{max-width:580px;background:rgba(255,255,255,.98);padding:25px;border:5px solid #fff;border-radius:30px;text-align:center;box-shadow:0 18px 0 rgba(17,42,86,.17)}
.lat-modal h3{font-size:clamp(29px,4vw,46px);margin:7px 0}.lat-modal p{font-weight:700;font-size:17px}.lat-mascot{font-size:70px}
.lat-primary,.lat-secondary{border:0;border-radius:999px;padding:14px 25px;font-size:17px;font-weight:950;cursor:pointer}
.lat-primary{background:linear-gradient(135deg,#ff248d,#ff6b18);color:#fff;box-shadow:0 8px 0 #bd225d}.lat-secondary{background:#eaf0ff;color:#112a56}
.lat-help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:15px 0}.lat-help-grid span{background:#f1f6ff;padding:9px;border-radius:14px;font-weight:850}
.lat-lesson{background:#e8fff0;border:2px dashed #25b766;border-radius:16px;padding:12px;margin:14px 0;font-weight:750}
.lat-toast{position:absolute;z-index:9;left:50%;top:14%;transform:translateX(-50%);background:#112a56;color:#fff;padding:11px 17px;border-radius:999px;font-weight:950}
.lat-memory-game{position:relative}
.lat-memory-level-banner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:linear-gradient(135deg,#5f37e8,#ff248d);color:#fff;padding:13px 16px;border-radius:20px;margin-bottom:12px}
.lat-memory-level-banner>div:first-child{background:#fff;color:#112a56;padding:8px 13px;border-radius:16px;text-align:center}.lat-memory-level-banner span{display:block;font-size:10px;font-weight:900}.lat-memory-level-banner strong{font-size:25px}.lat-memory-level-banner p{margin:0;font-weight:800}
.lat-memory-level-dots{display:flex;gap:6px}.lat-memory-level-dots span{width:13px;height:13px;border-radius:50%;background:rgba(255,255,255,.35)}.lat-memory-level-dots span.is-active{background:#ffe13b;box-shadow:0 0 0 3px rgba(255,225,59,.25)}
.lat-memory-hud{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.lat-memory-hud div{background:#fff;border:3px solid #fff;border-radius:17px;padding:12px;text-align:center;font-weight:850;box-shadow:0 6px 0 rgba(17,42,86,.1)}
.lat-memory-board{display:grid;grid-template-columns:repeat(var(--memory-cols,4),1fr);gap:12px;background:linear-gradient(145deg,#3c20b8,#7d4dff 50%,#ff248d);padding:18px;border:5px solid #fff;border-radius:27px;box-shadow:0 12px 0 rgba(17,42,86,.14)}
.lat-memory-card-item{aspect-ratio:1/1;border:4px solid rgba(255,255,255,.8);border-radius:20px;background:linear-gradient(145deg,#fff,#e9f8ff);font-size:clamp(27px,5vw,46px);cursor:pointer;box-shadow:0 7px 0 rgba(17,42,86,.2);transition:transform .22s,background .22s}
.lat-memory-card-item:hover{transform:translateY(-3px)}
.lat-memory-card-item:not(.is-open):not(.is-matched){font-size:0;background:linear-gradient(145deg,#ffe13b,#ff6b18)}
.lat-memory-card-item:not(.is-open):not(.is-matched)::after{content:"🦁";font-size:clamp(26px,4vw,40px);filter:drop-shadow(0 3px 0 rgba(255,255,255,.45))}
.lat-memory-card-item.is-open{transform:rotateY(180deg);background:linear-gradient(145deg,#fff,#d9f8ff)}
.lat-memory-card-item.is-matched{background:linear-gradient(145deg,#dbffe7,#8dffba);box-shadow:0 7px 0 #32a965;animation:latMatch .45s ease}
@keyframes latMatch{50%{transform:scale(1.12) rotate(3deg)}}
.lat-memory-message{display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;border:3px solid #fff;border-radius:18px;padding:14px;margin-top:13px;text-align:center;box-shadow:0 6px 0 rgba(17,42,86,.1)}.lat-tip-icon{font-size:24px}
.lat-memory-actions{text-align:center;margin-top:13px}.lat-level-modal{background:linear-gradient(145deg,#fff,#fff6c5)}
.lat-world-footer{text-align:center;font-size:12px;opacity:.75;margin-top:14px}
@media(max-width:780px){
 .lat-world{padding:10px;margin:10px auto;border-radius:20px}
 .lat-game-grid,.lat-global-scores{grid-template-columns:1fr}
 .lat-hud{grid-template-columns:repeat(3,1fr)}
 .lat-mission-bar{grid-template-columns:1fr}
 .lat-memory-board{gap:7px;padding:9px;border-width:4px}
 .lat-memory-card-item{border-radius:13px;border-width:3px}
 .lat-hero-card{align-items:flex-start}.lat-hero-orbit{width:90px}.lat-hero-lion{font-size:58px}
 .lat-memory-level-banner{grid-template-columns:auto 1fr}.lat-memory-level-dots{grid-column:1/-1;justify-content:center}
}


/* v0.5: iconos SVG y carrera */
.lat-game-grid{grid-template-columns:repeat(3,1fr)}
.lat-global-scores{grid-template-columns:repeat(4,1fr)}
.lat-race-card{background:linear-gradient(145deg,#fff087,#ff3f95 55%,#7b37ff);color:#112a56}
.lat-memory-card-item{padding:10px;overflow:hidden}
.lat-memory-card-item .lat-svg-icon{width:78%;height:78%;display:block;margin:auto;filter:drop-shadow(0 5px 4px rgba(17,42,86,.18))}
.lat-memory-card-item:not(.is-open):not(.is-matched) .lat-svg-icon{display:none}
.lat-memory-card-item:not(.is-open):not(.is-matched)::after{content:"";display:block;width:72%;height:72%;margin:auto;background:
 radial-gradient(circle at 50% 37%,#f8b52c 0 22%,transparent 23%),
 radial-gradient(circle at 50% 50%,#8a431b 0 38%,transparent 39%),
 linear-gradient(135deg,#fff6a0,#ff7b16);
 border-radius:50%;box-shadow:inset 0 0 0 4px rgba(255,255,255,.55)}
.lat-race-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}
.lat-race-hud div{background:#fff;border:3px solid #fff;border-radius:18px;padding:11px;text-align:center;font-weight:900;box-shadow:0 6px 0 rgba(17,42,86,.1)}
.lat-race-stage{position:relative;border:6px solid #fff;border-radius:27px;overflow:hidden;background:#2dcbff;box-shadow:0 14px 0 rgba(17,42,86,.12)}
.lat-race-canvas{display:block;width:100%;height:auto;touch-action:none}
.lat-race-controls{display:flex;justify-content:center;gap:18px;padding:12px;background:rgba(17,42,86,.9)}
.lat-race-controls button{width:74px;height:52px;border:0;border-radius:18px;background:#fff;font-size:27px;font-weight:950;box-shadow:0 6px 0 rgba(0,0,0,.2);cursor:pointer}
@media(max-width:780px){
 .lat-game-grid,.lat-global-scores{grid-template-columns:1fr}
 .lat-race-hud{grid-template-columns:repeat(2,1fr)}
 .lat-memory-card-item{padding:5px}
 .lat-memory-card-item .lat-svg-icon{width:88%;height:88%}
}

/* v0.6: fotografías y dorso oficial */
.lat-memory-card-item .lat-real-photo{
 width:100%;height:100%;display:block;object-fit:cover;border-radius:13px;
}
.lat-memory-card-item:not(.is-open):not(.is-matched) .lat-real-photo{display:none}
.lat-memory-card-item.has-custom-back:not(.is-open):not(.is-matched)::after{display:none}
.lat-memory-card-item .lat-card-back{
 display:none;width:100%;height:100%;object-fit:contain;padding:6px;border-radius:12px;
}
.lat-memory-card-item.has-custom-back:not(.is-open):not(.is-matched) .lat-card-back{display:block}
.lat-memory-card-item.is-open .lat-card-back,.lat-memory-card-item.is-matched .lat-card-back{display:none}

/* v0.7: tablero inspirado en la referencia aprobada */
.lat-memory-game{background:linear-gradient(145deg,#07176d,#4c1393 56%,#ff278e);border:5px solid #7926c8;border-radius:30px;padding:14px;color:#fff}
.lat-memory-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px}
.lat-memory-main{min-width:0}
.lat-memory-brand{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.lat-memory-brand-lion{font-size:48px}
.lat-memory-brand strong{display:block;font-size:28px;color:#ffd550;text-shadow:0 3px 0 #7b3517}
.lat-memory-brand span{font-size:11px;font-weight:950;letter-spacing:.12em}
.lat-memory-hud{grid-template-columns:repeat(3,1fr);margin-bottom:12px}
.lat-memory-hud div{background:rgba(27,21,86,.88);color:#fff;border-color:#6533a8;box-shadow:none}
.lat-memory-hud div span:first-child{display:block;font-size:11px;opacity:.9}.lat-memory-hud strong{font-size:23px}
.lat-memory-board{background:linear-gradient(145deg,#4d217d,#8139a0);border-color:#aa5ce9;box-shadow:none;padding:14px}
.lat-memory-card-item{border-color:#fff;background:#fff;padding:5px;box-shadow:0 6px 0 rgba(0,0,0,.22)}
.lat-memory-card-item .lat-real-photo{border-radius:14px;object-fit:cover}
.lat-memory-card-item.has-custom-back:not(.is-open):not(.is-matched),
.lat-memory-card-item:not(.is-open):not(.is-matched){
 background:linear-gradient(145deg,#ffd332,#ff861b)
}
.lat-memory-card-item.has-custom-back:not(.is-open):not(.is-matched)::before,
.lat-memory-card-item:not(.is-open):not(.is-matched)::before{
 content:"";position:absolute;inset:8px;border-radius:14px;background:radial-gradient(circle at 20% 25%,rgba(255,255,255,.22) 0 3px,transparent 4px);background-size:26px 26px
}
.lat-memory-card-item{position:relative}
.lat-memory-card-item .lat-card-back{position:relative;z-index:2;padding:0;object-fit:cover;border-radius:13px}
.lat-memory-card-item:not(.is-open):not(.is-matched)::after{display:none}
.lat-memory-footer-strip{display:flex;justify-content:space-around;gap:8px;flex-wrap:wrap;padding:11px 8px 2px;font-size:12px;font-weight:900}
.lat-memory-sidebar{background:rgba(11,17,78,.94);border:3px solid #692aba;border-radius:24px;padding:14px;display:flex;flex-direction:column;gap:13px}
.lat-memory-level-card{background:linear-gradient(135deg,#f40b8b,#ff335f);border-radius:18px;padding:12px;text-align:center}
.lat-memory-level-card span{display:block;font-weight:950}.lat-memory-level-card strong{font-size:43px;line-height:1}.lat-memory-level-card b{display:block;color:#ffe33b;font-size:18px}
.lat-memory-stars,.lat-memory-tip-card,.lat-memory-level-selector{background:rgba(86,39,145,.65);border:2px solid rgba(183,107,255,.45);border-radius:18px;padding:14px;text-align:center}
.lat-memory-stars>div:first-child{font-size:34px}.lat-side-progress{height:11px;background:#1a154f;border:2px solid #bc79ff;border-radius:999px;overflow:hidden;margin:10px 0}.lat-side-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffe13b,#ff9a15)}
.lat-memory-tip-card{text-align:left;position:relative;min-height:150px}.lat-memory-tip-card h4{color:#ffe13b;margin:0 0 8px}.lat-memory-tip-card p{font-size:14px;font-weight:700;max-width:82%}.lat-tip-lion{position:absolute;right:9px;bottom:4px;font-size:54px}
.lat-memory-level-selector h4{margin:0 0 10px}.lat-memory-level-selector>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.lat-memory-level-selector button{border:2px solid #7c46c5;background:#22145c;color:#fff;border-radius:16px;padding:8px 3px;cursor:pointer}.lat-memory-level-selector button.is-active{background:linear-gradient(145deg,#ffd32d,#ff8218);border-color:#fff}.lat-memory-level-selector b{display:block;font-size:22px}.lat-memory-level-selector span{font-size:9px}
.lat-memory-new{width:100%}
@media(max-width:920px){.lat-memory-shell{grid-template-columns:1fr}.lat-memory-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}.lat-memory-new{grid-column:1/-1}}
@media(max-width:580px){.lat-memory-sidebar{grid-template-columns:1fr}.lat-memory-brand strong{font-size:22px}.lat-memory-card-item{padding:3px}.lat-memory-board{padding:7px;gap:6px}}


/* v0.8 — Integración de ancho completo
   Solo modifica el contenedor exterior y las restricciones del tema.
   No cambia el diseño interno ni el funcionamiento de los juegos. */

body:has(.lat-world) .site-content .ast-container,
body:has(.lat-world) .site-content > .ast-container,
body:has(.lat-world) #primary,
body:has(.lat-world) .content-area,
body:has(.lat-world) article.page,
body:has(.lat-world) .entry-content,
body:has(.lat-world) .wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
}

body:has(.lat-world) #primary,
body:has(.lat-world) .content-area {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body:has(.lat-world) .site-content .ast-container {
    padding-left: clamp(10px, 2vw, 34px) !important;
    padding-right: clamp(10px, 2vw, 34px) !important;
}

body:has(.lat-world) article.page .entry-header,
body:has(.lat-world) .entry-title {
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
}

.lat-world {
    width: calc(100vw - clamp(20px, 4vw, 68px));
    max-width: 1760px;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

@supports not selector(body:has(.lat-world)) {
    .lat-world {
        width: min(1760px, calc(100vw - 24px));
    }
}

@media (max-width: 780px) {
    .lat-world {
        width: calc(100vw - 12px);
        margin-left: 50%;
        margin-right: 0;
        transform: translateX(-50%);
    }
}


/* v0.8.1 — Corrección de alineación y ancho real
   La clase se agrega por JavaScript al body para evitar depender de :has().
   No altera el diseño interno de los juegos. */

body.lat-games-page .site-content,
body.lat-games-page .site-content > .ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #content,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page .site-main,
body.lat-games-page article.page,
body.lat-games-page article.page .entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-group,
body.lat-games-page .wp-block-shortcode {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.lat-games-page .site-content > .ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page .site-main,
body.lat-games-page article.page,
body.lat-games-page article.page .entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

body.lat-games-page .site-content > .ast-container,
body.lat-games-page .site-content .ast-container {
    padding-left: clamp(10px, 1.8vw, 32px) !important;
    padding-right: clamp(10px, 1.8vw, 32px) !important;
}

body.lat-games-page article.page,
body.lat-games-page article.page .entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode {
    overflow: visible !important;
}

body.lat-games-page .entry-header,
body.lat-games-page .entry-title {
    width: 100% !important;
    max-width: 1760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.lat-games-page .lat-world {
    width: 100% !important;
    max-width: 1760px !important;
    margin: 20px auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
}

@media (max-width: 780px) {
    body.lat-games-page .site-content > .ast-container,
    body.lat-games-page .site-content .ast-container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    body.lat-games-page .lat-world {
        width: 100% !important;
        margin: 8px auto !important;
        transform: none !important;
    }
}

/* ==========================================================
   v0.9.0 — Página pública, ancho real y tarjetas consistentes
   ========================================================== */

/* Quita el título de página de Astra/Elementor únicamente donde está el juego. */
body.lat-games-page .entry-header,
body.lat-games-page header.entry-header,
body.lat-games-page .entry-title,
body.lat-games-page h1.entry-title,
body.lat-games-page .page-title,
body.lat-games-page .elementor-page-title,
body.lat-games-page .ast-archive-description {
  display:none!important;
}

/* Libera todos los contenedores habituales del tema y del editor. */
body.lat-games-page #page,
body.lat-games-page .site,
body.lat-games-page #content,
body.lat-games-page .site-content,
body.lat-games-page .site-content>.ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page main.site-main,
body.lat-games-page article.page,
body.lat-games-page article.page>.entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode,
body.lat-games-page .elementor,
body.lat-games-page .elementor-section,
body.lat-games-page .elementor-container,
body.lat-games-page .elementor-column,
body.lat-games-page .elementor-widget-wrap,
body.lat-games-page .elementor-widget-shortcode,
body.lat-games-page .elementor-widget-container {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
}

body.lat-games-page .site-content>.ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page main.site-main,
body.lat-games-page article.page,
body.lat-games-page article.page>.entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode,
body.lat-games-page .elementor-widget-shortcode>.elementor-widget-container {
  padding-left:0!important;
  padding-right:0!important;
}

body.lat-games-page article.page,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode,
body.lat-games-page .elementor-widget-container {
  overflow:visible!important;
}

body.lat-games-page .lat-world {
  width:min(1760px,calc(100vw - 32px))!important;
  max-width:1760px!important;
  margin:22px auto 36px!important;
  padding:clamp(14px,2vw,26px)!important;
  transform:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
}

/* Cabecera y portada más ordenadas. */
body.lat-games-page .lat-world-header{
  padding:8px 12px 20px;
}
body.lat-games-page .lat-world-header>div{min-width:0}
body.lat-games-page .lat-world h2{overflow-wrap:anywhere}
body.lat-games-page .lat-hero-card>div:last-child{min-width:0;position:relative;z-index:1}
body.lat-games-page .lat-hero-card h3{line-height:1.08;overflow-wrap:anywhere}

/* Las tres tarjetas mantienen la misma altura y el botón queda siempre abajo. */
body.lat-games-page .lat-game-grid{
  align-items:stretch;
}
body.lat-games-page button.lat-game-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  width:100%!important;
  min-width:0!important;
  min-height:310px!important;
  height:100%!important;
  font-family:inherit!important;
  line-height:normal!important;
  white-space:normal!important;
}
body.lat-games-page .lat-game-card .lat-game-art{
  flex:0 0 auto;
}
body.lat-games-page .lat-game-card strong{
  width:100%;
  line-height:1.02!important;
  overflow-wrap:anywhere;
}
body.lat-games-page .lat-game-card small{
  width:100%;
  line-height:1.42!important;
  overflow-wrap:anywhere;
}
body.lat-games-page .lat-game-card .lat-play-pill{
  margin-top:auto!important;
  padding-top:11px;
  padding-bottom:11px;
}

/* Panel de marcadores. */
body.lat-games-page .lat-global-scores{
  align-items:stretch;
}
body.lat-games-page .lat-global-scores div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:88px;
}

/* Tablet: dos tarjetas y la tercera ocupa la fila completa. */
@media (min-width:641px) and (max-width:980px){
  body.lat-games-page .lat-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.lat-games-page .lat-game-grid .lat-game-card:last-child{grid-column:1/-1}
  body.lat-games-page .lat-global-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Celular: una columna, texto proporcionado y controles táctiles cómodos. */
@media (max-width:640px){
  body.lat-games-page .lat-world{
    width:calc(100vw - 12px)!important;
    margin:6px auto 22px!important;
    padding:9px!important;
    border-radius:20px!important;
  }
  body.lat-games-page .lat-world-header{
    align-items:flex-start;
    padding:7px 7px 14px;
  }
  body.lat-games-page .lat-world h2{
    font-size:clamp(28px,9vw,40px)!important;
  }
  body.lat-games-page .lat-icon-btn{
    flex:0 0 46px;
    width:46px;
    height:46px;
  }
  body.lat-games-page .lat-hero-card{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    gap:10px!important;
    padding:16px!important;
    border-radius:22px!important;
  }
  body.lat-games-page .lat-hero-orbit{
    width:70px!important;
    height:84px!important;
  }
  body.lat-games-page .lat-hero-lion{font-size:52px!important}
  body.lat-games-page .lat-hero-card h3{
    font-size:clamp(24px,7.4vw,34px)!important;
    margin:7px 0!important;
  }
  body.lat-games-page .lat-game-grid,
  body.lat-games-page .lat-global-scores{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.lat-games-page button.lat-game-card{
    min-height:270px!important;
    padding:17px!important;
    border-radius:23px!important;
  }
  body.lat-games-page .lat-game-art{
    min-height:65px!important;
    font-size:45px!important;
  }
  body.lat-games-page .lat-game-card strong{
    font-size:clamp(23px,7vw,30px)!important;
  }
  body.lat-games-page .lat-game-card small{
    font-size:14px!important;
  }
  body.lat-games-page .lat-play-pill{
    width:100%;
    text-align:center;
  }
  body.lat-games-page .lat-game-title-row h3{font-size:clamp(27px,8vw,36px)!important}
  body.lat-games-page .lat-overlay{padding:8px!important}
  body.lat-games-page .lat-modal{padding:17px!important;border-radius:22px!important}
  body.lat-games-page .lat-race-controls button{width:86px;height:58px}
}


/* v0.9.1: controles táctiles estables para Río y Carrera */
.lat-stage,.lat-race-canvas,.lat-race-stage,.lat-race-controls,.lat-race-controls button{
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-tap-highlight-color:transparent;
}
.lat-race-controls button{overscroll-behavior:contain}
@media(max-width:640px){
  body.lat-games-page .lat-race-controls{position:sticky;bottom:0;z-index:20;padding:14px 10px calc(14px + env(safe-area-inset-bottom))!important}
  body.lat-games-page .lat-race-controls button{width:min(38vw,140px)!important;height:64px!important;font-size:30px!important}
  body.lat-games-page .lat-stage,body.lat-games-page .lat-race-canvas{width:100%!important;max-width:100%!important}
}

/* v0.9.2: orientación móvil y controles de carrera robustos */
.lat-mobile-orientation-hint{
  margin:0 0 10px;
  padding:10px 14px;
  border-radius:14px;
  background:#fff8cf;
  border:2px solid #ffe13b;
  color:#112a56;
  font-weight:900;
  text-align:center;
}
.lat-race-orientation{z-index:40!important;background:rgba(17,42,86,.92)!important}
.lat-orientation-modal strong{display:block;margin-top:10px;color:#6f3cff}
.lat-race-needs-landscape .lat-race-controls{pointer-events:none;opacity:.35}
.lat-race-controls button{
  -webkit-touch-callout:none!important;
  touch-action:none!important;
}
.lat-race-controls button:active{transform:translateY(3px);box-shadow:0 3px 0 rgba(0,0,0,.2)!important}
@media (pointer:coarse) and (orientation:landscape){
  body.lat-games-page .lat-race-game .lat-game-title-row{margin-bottom:6px!important}
  body.lat-games-page .lat-race-hud{grid-template-columns:repeat(4,1fr)!important;gap:5px!important;margin-bottom:6px!important}
  body.lat-games-page .lat-race-hud div{padding:6px!important;font-size:12px!important}
  body.lat-games-page .lat-race-stage{max-width:min(100%,980px);margin:auto}
  body.lat-games-page .lat-race-controls{position:relative!important;bottom:auto!important;padding:8px!important}
  body.lat-games-page .lat-race-controls button{height:54px!important}
}


/* v0.9.3: inicio de Carrera visible en celular horizontal */
@media (pointer:coarse) and (orientation:landscape) and (max-height:700px){
  body.lat-games-page .lat-race-game{
    padding-bottom:4px!important;
  }
  body.lat-games-page .lat-race-game .lat-game-title-row{
    display:none!important;
  }
  body.lat-games-page .lat-race-hud{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    margin-bottom:4px!important;
  }
  body.lat-games-page .lat-race-hud div{
    padding:3px 5px!important;
    border-width:2px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1.15!important;
    box-shadow:none!important;
  }
  body.lat-games-page .lat-race-stage{
    width:min(100%,calc((100dvh - 88px) * 1.846))!important;
    max-width:100%!important;
    max-height:calc(100dvh - 88px)!important;
    margin:0 auto!important;
    border-width:3px!important;
    border-radius:16px!important;
  }
  body.lat-games-page .lat-race-canvas{
    width:100%!important;
    height:auto!important;
  }
  body.lat-games-page .lat-race-start,
  body.lat-games-page .lat-race-orientation,
  body.lat-games-page .lat-race-end{
    padding:4px!important;
    overflow:hidden!important;
  }
  body.lat-games-page .lat-race-start .lat-modal,
  body.lat-games-page .lat-race-orientation .lat-modal,
  body.lat-games-page .lat-race-end .lat-modal{
    width:min(92%,720px)!important;
    max-height:calc(100% - 8px)!important;
    padding:8px 12px!important;
    border-radius:15px!important;
    overflow:auto!important;
  }
  body.lat-games-page .lat-race-start .lat-mascot{
    display:none!important;
  }
  body.lat-games-page .lat-race-start h3{
    margin:0 0 3px!important;
    font-size:clamp(20px,5.2vh,30px)!important;
    line-height:1.05!important;
  }
  body.lat-games-page .lat-race-start p{
    margin:0 0 5px!important;
    font-size:clamp(12px,2.7vh,16px)!important;
    line-height:1.2!important;
  }
  body.lat-games-page .lat-race-start .lat-help-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    margin:4px 0 7px!important;
  }
  body.lat-games-page .lat-race-start .lat-help-grid span{
    padding:4px 3px!important;
    border-radius:9px!important;
    font-size:clamp(10px,2.25vh,13px)!important;
    line-height:1.1!important;
  }
  body.lat-games-page .lat-race-start [data-race-start]{
    display:block!important;
    width:min(88%,360px)!important;
    min-height:38px!important;
    margin:3px auto 0!important;
    padding:7px 18px!important;
    font-size:clamp(15px,3.2vh,20px)!important;
    line-height:1.1!important;
    position:relative!important;
    z-index:5!important;
  }
  body.lat-games-page .lat-race-controls{
    padding:4px!important;
  }
  body.lat-games-page .lat-race-controls button{
    height:42px!important;
    width:min(30vw,125px)!important;
    font-size:24px!important;
  }
}

/* v0.9.4: Río Limpio usable en celular vertical */
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  body.lat-games-page .lat-river-game .lat-game-title-row h3{
    font-size:clamp(27px,8vw,34px)!important;
    line-height:1.05!important;
  }
  body.lat-games-page .lat-river-game .lat-mission-bar{
    gap:7px!important;
    padding:9px 12px!important;
    margin-bottom:8px!important;
  }
  body.lat-games-page .lat-river-game .lat-hud{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin-bottom:8px!important;
  }
  body.lat-games-page .lat-river-game .lat-hud div{
    min-width:0!important;
    padding:7px 3px!important;
    border-radius:15px!important;
  }
  body.lat-games-page .lat-river-game .lat-hud strong{
    font-size:20px!important;
  }
  body.lat-games-page .lat-river-orientation-hint{
    margin-bottom:8px!important;
    padding:8px 10px!important;
    font-size:14px!important;
    line-height:1.25!important;
  }
  body.lat-games-page .lat-river-game .lat-stage-wrap{
    min-height:0!important;
    border-width:4px!important;
    border-radius:20px!important;
  }
  body.lat-games-page .lat-river-start,
  body.lat-games-page .lat-river-help,
  body.lat-games-page .lat-river-end{
    padding:6px!important;
    overflow:hidden!important;
  }
  body.lat-games-page .lat-river-start .lat-modal,
  body.lat-games-page .lat-river-help .lat-modal,
  body.lat-games-page .lat-river-end .lat-modal{
    width:calc(100% - 8px)!important;
    max-width:520px!important;
    max-height:calc(100% - 8px)!important;
    padding:10px 12px!important;
    border-width:3px!important;
    border-radius:18px!important;
    box-shadow:0 8px 0 rgba(17,42,86,.15)!important;
    overflow:auto!important;
  }
  body.lat-games-page .lat-river-start .lat-mascot{
    display:none!important;
  }
  body.lat-games-page .lat-river-start h3{
    margin:0 0 4px!important;
    font-size:clamp(20px,6vw,27px)!important;
    line-height:1.05!important;
  }
  body.lat-games-page .lat-river-start p{
    margin:0 0 8px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  body.lat-games-page .lat-river-start [data-river-start]{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:11px 14px!important;
    font-size:16px!important;
    line-height:1.1!important;
  }
}

/* v0.9.5: modo de juego a pantalla completa en móviles */
.lat-game-fullscreen-bar{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 position:sticky;top:0;z-index:100;background:rgba(17,42,86,.96);color:#fff;
 padding:8px 10px;margin:0 0 10px;border-radius:16px;box-shadow:0 5px 0 rgba(17,42,86,.16)
}
.lat-fullscreen-exit,.lat-fullscreen-retry{
 border:2px solid rgba(255,255,255,.72);background:#fff;color:#112a56;
 border-radius:999px;padding:9px 13px;font-weight:950;white-space:nowrap;cursor:pointer
}
.lat-fullscreen-orientation{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;font-size:13px;line-height:1.15}
.lat-orientation-icon{display:inline-block;font-size:20px;transition:transform .25s}
.lat-world.lat-orientation-landscape .lat-orientation-icon{transform:rotate(90deg)}
body.lat-game-open{overflow:hidden!important;overscroll-behavior:none!important}
.lat-world.lat-game-mode,
.lat-world:fullscreen,
.lat-world:-webkit-full-screen{
 position:fixed!important;inset:0!important;z-index:2147483000!important;
 width:100vw!important;height:100dvh!important;max-width:none!important;
 margin:0!important;padding:8px!important;border-radius:0!important;
 overflow:hidden!important;box-shadow:none!important;background:linear-gradient(135deg,#ffef6b 0%,#7cecff 45%,#ff80bd 100%)!important
}
.lat-world.lat-game-mode>.lat-world-header,
.lat-world:fullscreen>.lat-world-header,
.lat-world:-webkit-full-screen>.lat-world-header{display:none!important}
.lat-world.lat-game-mode .lat-game-screen,
.lat-world:fullscreen .lat-game-screen,
.lat-world:-webkit-full-screen .lat-game-screen{
 display:block!important;width:100%!important;height:calc(100dvh - 16px)!important;
 overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch
}
.lat-world.lat-game-mode .lat-game-screen>[data-game]:not([hidden]),
.lat-world:fullscreen .lat-game-screen>[data-game]:not([hidden]),
.lat-world:-webkit-full-screen .lat-game-screen>[data-game]:not([hidden]){min-height:calc(100dvh - 72px)}

@media (pointer:coarse) and (max-width:780px){
 .lat-world.lat-game-mode .lat-game-fullscreen-bar,
 .lat-world:fullscreen .lat-game-fullscreen-bar,
 .lat-world:-webkit-full-screen .lat-game-fullscreen-bar{margin-bottom:6px;padding:6px 7px;border-radius:12px}
 .lat-fullscreen-exit,.lat-fullscreen-retry{padding:8px 10px;font-size:12px}
 .lat-fullscreen-orientation{font-size:12px}
 .lat-world.lat-game-mode .lat-game-title-row,
 .lat-world:fullscreen .lat-game-title-row,
 .lat-world:-webkit-full-screen .lat-game-title-row{margin-top:0}
}
@media (pointer:coarse) and (orientation:landscape){
 .lat-world.lat-game-mode,
 .lat-world:fullscreen,
 .lat-world:-webkit-full-screen{padding:4px!important}
 .lat-world.lat-game-mode .lat-game-screen,
 .lat-world:fullscreen .lat-game-screen,
 .lat-world:-webkit-full-screen .lat-game-screen{height:calc(100dvh - 8px)!important}
 .lat-game-fullscreen-bar{min-height:36px;margin-bottom:3px!important;padding:3px 7px!important}
 .lat-fullscreen-exit,.lat-fullscreen-retry{padding:5px 9px!important;font-size:11px!important}
 .lat-fullscreen-orientation{font-size:11px!important}
 .lat-orientation-icon{font-size:16px!important}
}

/* v1.0.0 — estabilidad adaptable basada en espacio disponible */
.lat-world,.lat-game-screen,[data-game]{container-type:inline-size;min-width:0}
.lat-game-screen{--lat-vh:100dvh}
@supports not (height:100dvh){.lat-game-screen{--lat-vh:100vh}}
.lat-world.lat-game-mode,.lat-world:fullscreen,.lat-world:-webkit-full-screen{
 inset:0!important;width:100%!important;height:var(--lat-vh)!important;
 padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important
}
.lat-stage-wrap,.lat-race-stage{max-width:100%;margin-inline:auto}
.lat-stage,.lat-race-canvas{display:block;width:100%;height:auto;max-height:calc(var(--lat-vh) - 190px);object-fit:contain}
.lat-race-controls{gap:clamp(12px,4vw,28px);padding-bottom:max(12px,env(safe-area-inset-bottom))}
.lat-race-controls button,.lat-icon-btn,.lat-primary,.lat-secondary,.lat-fullscreen-exit,.lat-fullscreen-retry{min-width:44px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lat-memory-board{grid-template-columns:repeat(var(--memory-cols,4),minmax(0,1fr));align-content:start}
.lat-memory-card-item{min-width:0;min-height:44px;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.lat-stage,.lat-race-canvas,.lat-race-controls{user-select:none;-webkit-user-select:none;overscroll-behavior:contain}
.lat-race-orientation{display:none!important}
@media (max-height:700px){
 .lat-game-title-row{margin-bottom:6px!important}.lat-hud,.lat-race-hud,.lat-memory-hud{margin-bottom:6px!important}
 .lat-game-title-row h3{font-size:clamp(18px,3vh,26px)!important}.lat-mission-bar{padding:7px 10px!important;margin-bottom:6px!important}
 .lat-stage,.lat-race-canvas{max-height:calc(var(--lat-vh) - 145px)}
 .lat-race-controls{padding-block:6px!important}.lat-race-controls button{height:48px!important;min-height:44px!important}
}
@media (orientation:portrait) and (max-width:520px){
 .lat-memory-shell{gap:8px}.lat-memory-board{gap:clamp(4px,1.5vw,7px);padding:clamp(5px,1.8vw,8px)}
 .lat-memory-card-item{border-radius:clamp(9px,3vw,14px)}
 .lat-stage,.lat-race-canvas{max-height:calc(var(--lat-vh) - 210px)}
}
@media (orientation:landscape) and (max-height:600px){
 .lat-game-fullscreen-bar{min-height:44px!important}.lat-mobile-orientation-hint{display:none!important}
 .lat-stage-wrap,.lat-race-stage{width:min(100%,calc((var(--lat-vh) - 125px) * 1.78))!important}
 .lat-stage,.lat-race-canvas{max-height:calc(var(--lat-vh) - 125px)!important}
}
@container (min-width:700px){.lat-memory-board{gap:clamp(8px,1.2cqw,14px)}}

/* ==========================================================
   MUNDO LEÓN 2.0 — EXPERIENCIA INMERSIVA MULTIDISPOSITIVO
   ========================================================== */
html.lat-game-open,body.lat-game-open{overflow:hidden!important;overscroll-behavior:none!important}
body.lat-game-open{touch-action:none}

.lat-world.lat-game-mode,
.lat-world:fullscreen,
.lat-world:-webkit-full-screen{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:var(--lat-app-width,100vw)!important;
  height:var(--lat-app-height,100dvh)!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#d8fbff 0%,#efe8ff 48%,#ffe5f4 100%)!important;
}
.lat-world.lat-game-mode>.lat-world-footer,
.lat-world:fullscreen>.lat-world-footer,
.lat-world:-webkit-full-screen>.lat-world-footer{display:none!important}

.lat-world.lat-game-mode .lat-game-screen,
.lat-world:fullscreen .lat-game-screen,
.lat-world:-webkit-full-screen .lat-game-screen{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  padding:0!important;
}
.lat-world.lat-game-mode .lat-game-fullscreen-bar,
.lat-world:fullscreen .lat-game-fullscreen-bar,
.lat-world:-webkit-full-screen .lat-game-fullscreen-bar{
  flex:0 0 auto;
  min-height:46px;
  margin:0 0 6px!important;
  border-radius:14px;
  padding:5px 8px!important;
  box-shadow:0 4px 16px rgba(17,42,86,.12);
}
.lat-world.lat-game-mode .lat-game-screen>[data-game]:not([hidden]),
.lat-world:fullscreen .lat-game-screen>[data-game]:not([hidden]),
.lat-world:-webkit-full-screen .lat-game-screen>[data-game]:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
}

/* Río: encabezado compacto y escenario centrado en el espacio disponible */
.lat-world.lat-active-river .lat-game-title-row{flex:0 0 auto;margin:0 0 4px!important}
.lat-world.lat-active-river .lat-mission-bar{flex:0 0 auto;margin-bottom:5px!important;padding:7px 11px!important}
.lat-world.lat-active-river .lat-hud{flex:0 0 auto;margin-bottom:5px!important;gap:5px!important}
.lat-world.lat-active-river .lat-hud>div{padding:6px 7px!important;min-height:58px!important}
.lat-world.lat-active-river .lat-mobile-orientation-hint{flex:0 0 auto;margin:0 0 5px!important;padding:5px 8px!important;font-size:12px!important}
.lat-world.lat-active-river .lat-stage-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  width:min(100%,calc((100% - 0px)))!important;
  max-height:100%!important;
  aspect-ratio:16/9;
  align-self:center;
  border-width:4px!important;
  border-radius:18px!important;
}
.lat-world.lat-active-river .lat-stage{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}

/* Carrera: pista y controles integrados dentro del alto real */
.lat-world.lat-active-race .lat-game-title-row{flex:0 0 auto;margin:0 0 4px!important}
.lat-world.lat-active-race .lat-race-hud{flex:0 0 auto;margin-bottom:5px!important;gap:5px!important}
.lat-world.lat-active-race .lat-race-hud>div{padding:6px 9px!important}
.lat-world.lat-active-race .lat-race-stage{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  width:min(100%,1100px)!important;
  max-height:100%!important;
  align-self:center;
  border-width:4px!important;
  border-radius:18px!important;
}
.lat-world.lat-active-race .lat-race-canvas{flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.lat-world.lat-active-race .lat-race-controls{position:absolute!important;left:0;right:0;bottom:max(7px,env(safe-area-inset-bottom));z-index:22;display:flex!important;justify-content:space-between!important;padding:0 10px!important;pointer-events:none}
.lat-world.lat-active-race .lat-race-controls button{pointer-events:auto;min-width:64px!important;min-height:54px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(6px)}

/* Memoria: utiliza todo el lienzo, sin scroll de página */
.lat-world.lat-active-memory .lat-memory-shell{
  flex:1 1 auto!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
  grid-template-columns:minmax(0,1fr) clamp(220px,25vw,310px)!important;
  gap:8px!important;
}
.lat-world.lat-active-memory .lat-memory-main,
.lat-world.lat-active-memory .lat-memory-sidebar{min-height:0!important;overflow:hidden!important}
.lat-world.lat-active-memory .lat-memory-main{display:flex!important;flex-direction:column!important}
.lat-world.lat-active-memory .lat-memory-board{flex:1 1 auto!important;min-height:0!important;align-content:center!important}
.lat-world.lat-active-memory .lat-memory-sidebar{display:flex!important;flex-direction:column!important;gap:7px!important}
.lat-world.lat-active-memory .lat-memory-tip-card{flex:1 1 auto!important;min-height:0!important}

/* Tablets y pantallas táctiles: controles cómodos, sin desperdiciar espacio */
@media (pointer:coarse){
  .lat-game-fullscreen-bar{min-height:44px!important}
  .lat-fullscreen-exit,.lat-fullscreen-retry{min-height:40px!important;padding:6px 10px!important}
  .lat-fullscreen-orientation{font-size:clamp(11px,2.2vw,14px)!important}
}

/* Vertical estrecho */
@media (orientation:portrait) and (max-width:700px){
  .lat-world.lat-game-mode,.lat-world:fullscreen,.lat-world:-webkit-full-screen{padding:4px!important}
  .lat-game-fullscreen-bar{margin-bottom:4px!important}
  .lat-fullscreen-orientation strong{font-size:11px}
  .lat-world.lat-active-river .lat-game-title-row,
  .lat-world.lat-active-race .lat-game-title-row{display:none!important}
  .lat-world.lat-active-river .lat-hud{grid-template-columns:repeat(5,1fr)!important}
  .lat-world.lat-active-river .lat-hud>div{min-width:0!important;min-height:48px!important;padding:4px 2px!important;font-size:16px!important}
  .lat-world.lat-active-river .lat-hud span{font-size:8px!important}
  .lat-world.lat-active-river .lat-mission-bar{padding:5px 8px!important}
  .lat-world.lat-active-river .lat-stage-wrap{aspect-ratio:auto!important;height:100%!important}
  .lat-world.lat-active-memory .lat-memory-shell{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important}
  .lat-world.lat-active-memory .lat-memory-sidebar{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important}
  .lat-world.lat-active-memory .lat-memory-tip-card,.lat-world.lat-active-memory .lat-memory-level-selector{display:none!important}
  .lat-world.lat-active-memory .lat-memory-new{grid-column:auto!important}
  .lat-world.lat-active-race .lat-race-hud{grid-template-columns:repeat(2,1fr)!important;font-size:11px!important}
}

/* Horizontal de poca altura: máxima superficie de juego */
@media (orientation:landscape) and (max-height:720px){
  .lat-world.lat-game-mode,.lat-world:fullscreen,.lat-world:-webkit-full-screen{padding:3px!important}
  .lat-game-fullscreen-bar{min-height:34px!important;margin-bottom:3px!important;padding:2px 5px!important}
  .lat-fullscreen-exit,.lat-fullscreen-retry{min-height:30px!important;padding:3px 7px!important;font-size:11px!important}
  .lat-fullscreen-orientation{font-size:10px!important}.lat-orientation-icon{font-size:14px!important}
  .lat-world.lat-active-river .lat-game-title-row,
  .lat-world.lat-active-race .lat-game-title-row,
  .lat-world.lat-active-river .lat-mobile-orientation-hint{display:none!important}
  .lat-world.lat-active-river .lat-mission-bar{padding:4px 8px!important;margin-bottom:3px!important}
  .lat-world.lat-active-river .lat-hud{position:absolute;z-index:12;top:42px;left:7px;right:7px;pointer-events:none;opacity:.94}
  .lat-world.lat-active-river .lat-hud>div{min-height:38px!important;padding:2px 4px!important}
  .lat-world.lat-active-river .lat-stage-wrap{height:100%!important;aspect-ratio:16/9!important}
  .lat-world.lat-active-race .lat-race-hud{position:absolute;z-index:12;top:42px;left:8px;right:8px;pointer-events:none;opacity:.94}
  .lat-world.lat-active-race .lat-race-stage{height:100%!important}
  .lat-world.lat-active-memory .lat-memory-brand{display:none!important}
  .lat-world.lat-active-memory .lat-memory-hud{padding:4px!important;margin-bottom:4px!important}
  .lat-world.lat-active-memory .lat-memory-footer-strip{display:none!important}
}

/* Escritorio: pantalla completa real con área de juego contenida */
@media (min-width:1100px) and (min-height:760px){
  .lat-world.lat-active-river .lat-stage-wrap{width:min(100%,calc((var(--lat-app-height,100vh) - 235px) * 1.7778))!important}
  .lat-world.lat-active-race .lat-race-stage{width:min(100%,calc((var(--lat-app-height,100vh) - 165px) * 1.846))!important}
}


/* =========================================================
   v2.1.0 — Motor de layout: prioridad al área jugable
   ========================================================= */
.lat-world.lat-game-mode .lat-game-screen>[data-game]:not([hidden]){
  container-type:size;
}

/* Memoria: la grilla calcula tarjeta por ancho Y alto. Nunca superpone filas. */
.lat-world.lat-active-memory .lat-memory-board{
  display:grid!important;
  grid-template-columns:repeat(var(--memory-cols,4),var(--memory-card-size,minmax(44px,1fr)))!important;
  grid-template-rows:repeat(var(--memory-rows,3),var(--memory-card-size,auto))!important;
  justify-content:center!important;
  align-content:center!important;
  overflow:hidden!important;
}
.lat-world.lat-active-memory .lat-memory-card-item{
  width:var(--memory-card-size,auto)!important;
  height:var(--memory-card-size,auto)!important;
  aspect-ratio:1/1!important;
  align-self:center!important;
  justify-self:center!important;
}

/* Río: el HUD nunca debe flotar sobre el escenario. */
.lat-world.lat-active-river .lat-river-game{
  position:relative!important;
}
.lat-world.lat-active-river .lat-hud{
  position:static!important;
  inset:auto!important;
  opacity:1!important;
  pointer-events:auto!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  flex:0 0 auto!important;
}
.lat-world.lat-active-river .lat-stage-wrap{
  flex:1 1 0!important;
  min-height:0!important;
  max-width:100%!important;
  width:auto!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  margin:auto!important;
}
.lat-world.lat-active-river .lat-stage{
  display:block!important;
  width:100%!important;
  height:100%!important;
}

/* Celular horizontal: barra HUD compacta y 100% del resto para jugar. */
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-game-title-row,
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mobile-orientation-hint{
  display:none!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mission-bar{
  min-height:28px!important;
  padding:3px 8px!important;
  margin:0 0 3px!important;
  border-radius:10px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mission-bar>div:first-child{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mission-bar span,
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mission-bar strong{
  font-size:10px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-progress{
  height:5px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-hud{
  gap:3px!important;
  margin:0 0 3px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-hud>div{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  column-gap:3px!important;
  min-height:34px!important;
  padding:2px 4px!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-size:12px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-hud>div>span{
  font-size:7px!important;
  line-height:1!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-hud>div>strong{
  font-size:14px!important;
  line-height:1!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage-wrap{
  width:min(100%,calc((var(--lat-app-height) - 82px) * 1.77778))!important;
  max-height:calc(100% - 0px)!important;
}

/* Memoria en horizontal bajo: tablero protagonista, panel lateral mínimo. */
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-shell{
  grid-template-columns:minmax(0,1fr) minmax(130px,18vw)!important;
  grid-template-rows:1fr!important;
  gap:5px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-main{
  min-width:0!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-hud{
  min-height:32px!important;
  gap:4px!important;
  margin:0 0 4px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-hud>div{
  padding:2px 4px!important;
  min-height:30px!important;
  border-width:1px!important;
  border-radius:8px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-hud span,
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-hud strong{
  font-size:9px!important;
  line-height:1.05!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-board{
  padding:5px!important;
  gap:4px!important;
  border-width:2px!important;
  border-radius:12px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-sidebar{
  padding:5px!important;
  gap:4px!important;
  border-width:2px!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-level-card,
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-stars{
  padding:5px!important;
  border-radius:9px!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-level-card strong{font-size:22px!important}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-level-card b{font-size:9px!important}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-stars>div:first-child{font-size:16px!important}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-tip-card,
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-level-selector,
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-footer-strip,
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-brand{
  display:none!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-memory .lat-memory-new{
  min-height:32px!important;
  padding:4px 6px!important;
  font-size:10px!important;
}

/* Tablet: mantener paneles legibles sin sacrificar el tablero. */
.lat-world[data-lat-layout="tablet"].lat-active-memory .lat-memory-shell{
  grid-template-columns:minmax(0,1fr) clamp(190px,24vw,250px)!important;
}
.lat-world[data-lat-layout="tablet"].lat-active-memory .lat-memory-tip-card{min-height:90px!important}

/* Evitar que reglas antiguas vuelvan a forzar anchos calculados. */
@media (min-width:1100px) and (min-height:760px){
  .lat-world.lat-active-river .lat-stage-wrap{width:auto!important;max-width:calc((100% - 0px))!important}
}

/* =========================================================
   v2.1.1 — Corrección Río Limpio en celular horizontal
   El escenario usa siempre el espacio restante y no colapsa.
   ========================================================= */
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-river-game{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-mission-bar{
  flex:0 0 auto!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-hud{
  flex:0 0 auto!important;
  position:static!important;
  inset:auto!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage-wrap{
  display:block!important;
  flex:1 1 0!important;
  min-height:120px!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  align-self:stretch!important;
  margin:0!important;
  overflow:hidden!important;
}
.lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:120px!important;
  object-fit:fill!important;
}

/* En horizontales extremadamente bajas, se simplifica aún más el HUD. */
@media (orientation:landscape) and (max-height:480px){
  .lat-world.lat-active-river .lat-mission-bar{display:none!important}
  .lat-world.lat-active-river .lat-hud{margin-bottom:2px!important}
  .lat-world.lat-active-river .lat-hud>div{min-height:28px!important;padding:1px 3px!important}
  .lat-world.lat-active-river .lat-hud>div>span{font-size:6px!important}
  .lat-world.lat-active-river .lat-hud>div>strong{font-size:12px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage-wrap,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage{min-height:100px!important}
}

/* ==========================================================
   v2.2.0 — Memoria infantil profesional
   ========================================================== */
.lat-memory-board .lat-memory-card-item{
  isolation:isolate;
  overflow:hidden;
  transform-style:preserve-3d;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
  -webkit-tap-highlight-color:transparent;
}
.lat-memory-board .lat-memory-card-item:hover{
  transform:translateY(-2px);
  box-shadow:0 9px 0 rgba(0,0,0,.20),0 12px 24px rgba(20,8,60,.25);
}
.lat-memory-board .lat-memory-card-item:focus-visible{
  outline:4px solid #fff;
  outline-offset:3px;
}
.lat-memory-board .lat-memory-card-item .lat-svg-icon{
  width:91%;
  height:91%;
  display:none;
  filter:drop-shadow(0 5px 5px rgba(20,18,55,.18));
  animation:latMemoryReveal .26s cubic-bezier(.2,.8,.25,1.25) both;
}
.lat-memory-board .lat-memory-card-item.is-open .lat-svg-icon,
.lat-memory-board .lat-memory-card-item.is-matched .lat-svg-icon{
  display:block;
}
.lat-memory-board .lat-memory-card-item.is-open{
  transform:rotateY(0) scale(1.02);
  background:linear-gradient(145deg,#fff,#f4fbff);
}
.lat-memory-board .lat-memory-card-item.is-matched{
  background:linear-gradient(145deg,#fff8c7,#fff);
  border-color:#ffe44d;
  animation:latMemoryMatch .52s cubic-bezier(.2,.8,.25,1.35) both;
}
.lat-memory-board .lat-memory-card-item.is-matched::before{
  content:"✓";
  position:absolute;
  z-index:5;
  top:5px;
  right:7px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#06d6a0;
  color:#fff;
  font-size:15px;
  font-weight:950;
  box-shadow:0 3px 0 rgba(0,0,0,.16);
}
@keyframes latMemoryReveal{
  from{opacity:0;transform:scale(.55) rotate(-8deg)}
  to{opacity:1;transform:scale(1) rotate(0)}
}
@keyframes latMemoryMatch{
  0%,100%{transform:scale(1)}
  45%{transform:scale(1.1) rotate(2deg)}
  70%{transform:scale(.97) rotate(-1deg)}
}
@media (prefers-reduced-motion:reduce){
  .lat-memory-board .lat-memory-card-item,
  .lat-memory-board .lat-memory-card-item .lat-svg-icon{
    transition:none!important;
    animation:none!important;
  }
}

/* ==========================================================
   v2.2.1 — Memoria fotográfica + Río horizontal móvil
   ========================================================== */
.lat-memory-board .lat-memory-card-item .lat-real-photo{
  display:none;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  position:absolute;
  inset:0;
  z-index:2;
}
.lat-memory-board .lat-memory-card-item.is-open .lat-real-photo,
.lat-memory-board .lat-memory-card-item.is-matched .lat-real-photo{
  display:block;
  animation:latMemoryReveal .24s ease both;
}
.lat-memory-board .lat-memory-card-item .lat-card-back{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  z-index:3;
}
.lat-memory-board .lat-memory-card-item.is-open .lat-card-back,
.lat-memory-board .lat-memory-card-item.is-matched .lat-card-back{display:none!important}
.lat-memory-board .lat-memory-card-item .lat-photo-fallback{
  display:none;
  padding:8px;
  text-align:center;
  font-weight:800;
}
.lat-memory-board .lat-memory-card-item.is-open .lat-photo-fallback,
.lat-memory-board .lat-memory-card-item.is-matched .lat-photo-fallback{display:grid;place-items:center}

.lat-world[data-lat-layout="phone-portrait"].lat-active-memory .lat-memory-shell{
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) auto!important;
}
.lat-world[data-lat-layout="phone-portrait"].lat-active-memory .lat-memory-board{
  width:100%!important;
  padding:4px!important;
  gap:5px!important;
}
.lat-world[data-lat-layout="phone-portrait"].lat-active-memory .lat-memory-sidebar{
  display:none!important;
}
.lat-world[data-lat-layout="phone-portrait"].lat-active-memory .lat-memory-card-item{
  min-width:68px!important;
  min-height:68px!important;
}

/* Río: usar la orientación real del dispositivo y reservar todo el alto disponible. */
@media (orientation:landscape) and (pointer:coarse){
  .lat-world.lat-active-river .lat-river-game{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .lat-world.lat-active-river .lat-game-title-row,
  .lat-world.lat-active-river .lat-mobile-orientation-hint{display:none!important}
  .lat-world.lat-active-river .lat-mission-bar{display:none!important}
  .lat-world.lat-active-river .lat-hud{
    flex:0 0 auto!important;
    margin:0 0 2px!important;
    gap:2px!important;
  }
  .lat-world.lat-active-river .lat-hud>div{
    min-height:28px!important;
    padding:1px 3px!important;
    border-radius:7px!important;
  }
  .lat-world.lat-active-river .lat-hud>div>span{font-size:7px!important}
  .lat-world.lat-active-river .lat-hud>div>strong{font-size:13px!important}
  .lat-world.lat-active-river .lat-stage-wrap{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    height:100%!important;
    min-height:120px!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .lat-world.lat-active-river .lat-stage{
    width:100%!important;
    height:100%!important;
    min-height:120px!important;
    object-fit:fill!important;
    touch-action:none!important;
  }
}


/* v2.3.0 — Paquetes al Toque */
.lat-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.lat-global-scores{grid-template-columns:repeat(5,minmax(0,1fr))}
.lat-packages-card{background:linear-gradient(145deg,#ffd36b,#ff8b36 52%,#5d3cc7);color:#112a56}
.lat-packages-game{background:linear-gradient(145deg,#0d2342,#21446b);border:5px solid #ffc04d;border-radius:30px;padding:14px;color:#fff}
.lat-packages-layout{display:grid;grid-template-columns:minmax(300px,1fr) 280px;gap:16px;max-width:760px;margin:auto}
.lat-packages-main{min-width:0}.lat-packages-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.lat-packages-hud div{background:#fff;color:#172b46;border-radius:15px;padding:9px;text-align:center;font-size:12px;font-weight:900}.lat-packages-hud strong{display:block;font-size:21px}
.lat-packages-stage{position:relative;width:min(100%,300px);margin:auto;border:6px solid #fff;border-radius:20px;overflow:hidden;background:#0b1c34;box-shadow:0 10px 0 rgba(0,0,0,.2)}.lat-packages-canvas{display:block;width:100%;height:auto;touch-action:none}
.lat-packages-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:11px auto 0;max-width:360px}.lat-packages-controls button{border:0;border-radius:14px;background:#fff;min-height:48px;font-size:22px;font-weight:950;box-shadow:0 5px 0 rgba(0,0,0,.2);cursor:pointer}.lat-packages-controls button:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.2)}
.lat-packages-sidebar{display:flex;flex-direction:column;gap:12px}.lat-packages-next,.lat-packages-info,.lat-packages-keys{background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.25);border-radius:18px;padding:13px}.lat-packages-sidebar h4{margin:0 0 9px;color:#ffd45c}.lat-packages-next canvas{display:block;width:100%;height:auto;border-radius:12px}.lat-packages-info p{font-size:14px}.lat-packages-info span,.lat-packages-keys span{display:block;font-size:13px;font-weight:800;margin-top:7px}.lat-packages-keys{display:grid;grid-template-columns:1fr 1fr;gap:5px}.lat-packages-keys strong{grid-column:1/-1;color:#ffd45c}
@media(max-width:1100px){.lat-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lat-global-scores{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.lat-packages-layout{grid-template-columns:1fr}.lat-packages-sidebar{display:grid;grid-template-columns:1fr 1fr}.lat-packages-info{grid-row:span 2}.lat-packages-hud{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.lat-game-grid,.lat-global-scores{grid-template-columns:1fr}.lat-packages-sidebar{grid-template-columns:1fr}.lat-packages-info{grid-row:auto}.lat-packages-game{padding:8px}.lat-packages-controls button{min-height:44px}}


/* v2.3.1 — Corrección de inicio y adaptación del juego Paquetes al Toque */
.lat-packages-stage .lat-overlay{
  padding:8px;
  cursor:pointer;
}
.lat-packages-stage .lat-modal{
  width:calc(100% - 12px);
  max-width:270px;
  max-height:calc(100% - 12px);
  overflow:auto;
  padding:14px 10px;
  border-width:3px;
  border-radius:20px;
  color:#172b46;
}
.lat-packages-stage .lat-modal .lat-mascot{font-size:46px;line-height:1}
.lat-packages-stage .lat-modal h3{
  margin:7px 0;
  font-size:clamp(22px,7vw,30px);
  line-height:1.12;
  color:#172b46;
}
.lat-packages-stage .lat-modal p{
  margin:7px 0 12px;
  font-size:13px;
  line-height:1.35;
  color:#31435d;
}
.lat-packages-stage .lat-modal .lat-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:42px;
  padding:10px 16px;
  font-size:14px;
  position:relative;
  z-index:2;
}
.lat-packages-controls button:last-child{font-size:20px}
@media(max-width:520px){
  .lat-packages-game .lat-game-title-row{margin-bottom:6px}
  .lat-packages-game .lat-game-title-row h3{font-size:28px;margin:5px 0 8px}
  .lat-packages-hud{gap:7px;margin-bottom:8px}
  .lat-packages-hud div{padding:8px 5px;font-size:12px}
  .lat-packages-hud strong{font-size:20px}
  .lat-packages-stage{width:min(100%,270px)}
  .lat-packages-controls{margin-top:8px;gap:5px}
  .lat-packages-controls button{min-height:42px;font-size:19px}
  .lat-packages-stage .lat-modal{max-width:238px;padding:11px 8px}
  .lat-packages-stage .lat-modal .lat-mascot{font-size:40px}
  .lat-packages-stage .lat-modal h3{font-size:24px}
  .lat-packages-stage .lat-modal p{font-size:12px}
}


/* v2.3.2 — Inicio confiable, controles táctiles y vista móvil completa */
.lat-packages-controls,
.lat-packages-controls button,
.lat-packages-stage .lat-primary{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  -webkit-user-select:none;
}
.lat-packages-controls button{position:relative;z-index:8}
.lat-packages-stage .lat-overlay{z-index:12}
.lat-packages-stage .lat-primary{pointer-events:auto;cursor:pointer}

@media(max-width:760px){
  .lat-packages-game{min-height:0!important;height:auto!important;overflow:visible!important}
  .lat-packages-layout{display:block;max-width:430px;margin:0 auto}
  .lat-packages-main{display:flex;flex-direction:column;min-height:0}
  .lat-packages-sidebar{display:none!important}
  .lat-packages-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:6px}
  .lat-packages-hud div{padding:6px 2px;font-size:10px;border-radius:11px}
  .lat-packages-hud strong{font-size:17px}
  .lat-packages-stage{
    width:auto!important;
    height:min(62dvh,600px);
    aspect-ratio:1/2;
    max-width:calc((min(62dvh,600px))/2);
    margin:0 auto;
  }
  .lat-packages-canvas{width:100%;height:100%;object-fit:contain}
  .lat-packages-controls{max-width:330px;width:100%;margin:7px auto 0;gap:5px}
  .lat-packages-controls button{min-height:46px;font-size:20px;border-radius:12px}
}
@media(max-width:520px){
  .lat-packages-game{padding:6px}
  .lat-packages-game .lat-game-title-row h3{font-size:22px;margin:2px 0 5px}
  .lat-packages-game .lat-game-tag{font-size:9px}
  .lat-packages-stage{height:min(58dvh,560px);max-width:calc((min(58dvh,560px))/2)}
  .lat-packages-controls button{min-height:44px;font-size:18px}
  .lat-packages-stage .lat-modal{max-width:230px;max-height:88%;overflow:hidden}
  .lat-packages-stage .lat-modal .lat-mascot{font-size:34px}
  .lat-packages-stage .lat-modal h3{font-size:22px}
  .lat-packages-stage .lat-modal p{font-size:11px;margin-bottom:8px}
  .lat-packages-stage .lat-modal .lat-primary{min-height:40px;padding:8px 12px;font-size:13px}
}
@media(max-width:380px){
  .lat-packages-stage{height:min(54dvh,520px);max-width:calc((min(54dvh,520px))/2)}
  .lat-packages-hud div{font-size:9px}.lat-packages-hud strong{font-size:15px}
  .lat-packages-controls button{min-height:40px;font-size:17px}
}


/* v2.3.5 — Inicio de Paquetes al Toque en escritorio */
.lat-packages-stage .lat-packages-start,
.lat-packages-stage .lat-packages-start .lat-modal,
.lat-packages-stage .lat-packages-start [data-packages-start]{
  pointer-events:auto!important;
}
.lat-packages-stage .lat-packages-start{z-index:30!important}
.lat-packages-stage .lat-packages-start [data-packages-start]{position:relative;z-index:31!important}


/* v2.5.0 — Rescate Jurásico */
.lat-game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.lat-global-scores{grid-template-columns:repeat(6,minmax(0,1fr))}
.lat-dino-card{background:linear-gradient(145deg,#a7ef6e,#35ad68 50%,#773db5);color:#102e31}
.lat-dino-game{background:linear-gradient(145deg,#173d2a,#3d6b38 55%,#713526);border:5px solid #e5d657;border-radius:30px;padding:14px;color:#fff}
.lat-dino-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:15px;max-width:1180px;margin:auto}
.lat-dino-main{min-width:0}.lat-dino-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.lat-dino-hud div{background:#fff;color:#18372b;border-radius:15px;padding:9px;text-align:center;font-size:12px;font-weight:900}.lat-dino-hud strong{display:block;font-size:21px}
.lat-dino-stage{position:relative;width:100%;border:6px solid #fff;border-radius:22px;overflow:hidden;background:#214f34;box-shadow:0 10px 0 rgba(0,0,0,.18)}.lat-dino-canvas{display:block;width:100%;height:auto;aspect-ratio:900/520;touch-action:none}
.lat-dino-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:380px;margin:11px auto 0}.lat-dino-controls button{min-height:52px;border:0;border-radius:15px;background:#fff;font-size:25px;font-weight:950;box-shadow:0 5px 0 rgba(0,0,0,.22);cursor:pointer;touch-action:manipulation}.lat-dino-controls button:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.2)}
.lat-dino-sidebar{display:flex;flex-direction:column;gap:12px}.lat-dino-mission,.lat-dino-info{background:rgba(255,255,255,.11);border:2px solid rgba(255,255,255,.25);border-radius:18px;padding:14px}.lat-dino-sidebar h4{margin:0 0 9px;color:#fff06a}.lat-dino-sidebar p{font-size:14px}.lat-dino-sidebar span{display:block;font-size:13px;font-weight:800;margin-top:8px}
.lat-dino-stage .lat-overlay{z-index:20}.lat-dino-stage .lat-modal{max-width:430px;color:#18372b}.lat-dino-stage .lat-modal h3{color:#18372b}.lat-dino-stage .lat-modal p{color:#345746}
@media(max-width:1100px){.lat-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lat-global-scores{grid-template-columns:repeat(3,minmax(0,1fr))}.lat-dino-layout{grid-template-columns:1fr}.lat-dino-sidebar{display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.lat-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lat-dino-game{padding:7px}.lat-dino-sidebar{display:none}.lat-dino-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:6px}.lat-dino-hud div{padding:6px 2px;font-size:10px;border-radius:10px}.lat-dino-hud strong{font-size:17px}.lat-dino-stage{border-width:4px}.lat-dino-controls{margin-top:7px;gap:6px}.lat-dino-controls button{min-height:48px;font-size:22px}.lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-canvas{height:min(58dvh,540px);aspect-ratio:auto;object-fit:fill}}
@media(max-width:520px){.lat-game-grid,.lat-global-scores{grid-template-columns:1fr}.lat-dino-game .lat-game-title-row h3{font-size:23px;margin:3px 0}.lat-dino-stage .lat-modal{max-width:280px;padding:13px}.lat-dino-stage .lat-modal h3{font-size:24px}.lat-dino-stage .lat-modal p{font-size:12px}.lat-dino-controls button{min-height:44px;font-size:20px}}


/* v2.6.0 — Rescate Jurásico con gráficos mejorados */
.lat-dino-card{background:linear-gradient(145deg,#d9f7a1,#53be6f 48%,#f0a547);color:#102e31}
.lat-dino-game{background:linear-gradient(145deg,#173d2a,#28533f 55%,#5a3022);border:5px solid #f2d468}
.lat-dino-stage{background:#173627}
.lat-dino-stage .lat-modal{max-width:460px}
.lat-dino-mascot-image{font-size:0;line-height:1}
.lat-dino-mascot-image img{display:block;width:92px;max-width:38vw;height:auto;margin:0 auto 8px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.18))}
.lat-dino-info span{line-height:1.35}
@media(max-width:520px){.lat-dino-mascot-image img{width:78px}}


/* v2.6.1 — Rescate Jurásico animado */
.lat-dino-stage{box-shadow:0 16px 34px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.08);position:relative}
.lat-dino-stage::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 18%, rgba(255,255,255,.12), transparent 42%), linear-gradient(to bottom, rgba(255,255,255,.06), transparent 22%, transparent 76%, rgba(0,0,0,.18));pointer-events:none;z-index:1}
.lat-dino-canvas{position:relative;z-index:0}
.lat-dino-stage .lat-overlay{backdrop-filter:blur(3px);background:rgba(7,18,12,.18)}
.lat-dino-stage .lat-modal{border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.lat-dino-stage .lat-primary{box-shadow:0 8px 18px rgba(255,96,72,.32);animation:latDinoPulse 2.2s ease-in-out infinite}
.lat-dino-hud div{box-shadow:0 6px 14px rgba(0,0,0,.12)}
.lat-dino-sidebar > *{box-shadow:0 10px 20px rgba(0,0,0,.14)}
@keyframes latDinoPulse{0%,100%{transform:translateY(0);box-shadow:0 8px 18px rgba(255,96,72,.32)}50%{transform:translateY(-2px);box-shadow:0 12px 24px rgba(255,96,72,.42)}}
@media(max-width:760px){.lat-dino-stage::before{background:linear-gradient(to bottom, rgba(255,255,255,.05), transparent 26%, transparent 76%, rgba(0,0,0,.16))}}


/* v2.7.0 — Misión SaleAlToque */
.lat-mission-world{margin:18px 0 24px;padding:16px;border-radius:26px;background:linear-gradient(145deg,#102d55,#174e70 55%,#236b63);color:#fff;border:3px solid rgba(255,214,91,.86);box-shadow:0 14px 30px rgba(12,35,64,.18)}
.lat-mission-profile{display:grid;grid-template-columns:82px 1fr auto;align-items:center;gap:14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:12px}
.lat-mission-avatar{width:76px;height:76px;border-radius:50%;background:#fff3c8;overflow:hidden;border:3px solid #ffd75f}.lat-mission-avatar img{width:100%;height:100%;object-fit:contain;object-position:center 24%}
.lat-mission-profile h3{margin:4px 0 3px;font-size:24px;color:#fff}.lat-mission-profile p{margin:0;font-size:13px}.lat-mission-xp{height:10px;margin-top:8px;border-radius:999px;background:rgba(0,0,0,.3);overflow:hidden}.lat-mission-xp span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffe36b,#ff9e45);border-radius:inherit;transition:width .5s ease}
.lat-mission-level{min-width:74px;text-align:center;background:#fff;color:#143451;border-radius:17px;padding:8px}.lat-mission-level span{display:block;font-size:10px;font-weight:900}.lat-mission-level strong{font-size:30px}
.lat-mission-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:13px 0}.lat-mission-map button{border:1px solid rgba(255,255,255,.24);border-radius:17px;padding:10px 5px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;transition:transform .18s ease,background .18s ease}.lat-mission-map button:hover{transform:translateY(-3px);background:rgba(255,255,255,.18)}.lat-mission-map span{display:block;font-size:28px}.lat-mission-map strong{display:block;font-size:12px}.lat-mission-map small{display:block;margin-top:4px;color:#ffe16a;font-size:16px;letter-spacing:1px}
.lat-mission-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.lat-mission-list article{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;background:rgba(5,20,38,.35);border:1px solid rgba(255,255,255,.15);border-radius:15px;padding:9px}.lat-mission-list article>span{font-size:25px}.lat-mission-list strong,.lat-mission-list small{display:block}.lat-mission-list strong{font-size:12px}.lat-mission-list small{font-size:10px;color:#d7eef6}.lat-mission-list b{font-size:12px;color:#ffe16a}.lat-mission-list article.is-complete{background:rgba(56,188,116,.3);border-color:rgba(153,255,198,.58)}.lat-mission-list article.is-complete b{font-size:0}.lat-mission-list article.is-complete b::after{content:'✓';font-size:18px;color:#baffcf}
.lat-mission-unlock{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:999999;background:#102d55;color:#fff;border:3px solid #ffd75f;border-radius:999px;padding:12px 20px;font-weight:900;box-shadow:0 10px 25px rgba(0,0,0,.28)}
@media(max-width:900px){.lat-mission-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.lat-mission-world{padding:9px;border-radius:19px}.lat-mission-profile{grid-template-columns:60px 1fr auto;gap:8px}.lat-mission-avatar{width:56px;height:56px}.lat-mission-profile h3{font-size:17px}.lat-mission-level{min-width:52px;padding:6px}.lat-mission-level strong{font-size:23px}.lat-mission-map{grid-template-columns:repeat(5,1fr);gap:4px}.lat-mission-map button{padding:7px 2px}.lat-mission-map span{font-size:21px}.lat-mission-map strong{font-size:8px}.lat-mission-map small{font-size:12px}.lat-mission-list{grid-template-columns:1fr}.lat-mission-list article:nth-child(n+3){display:none}}


/* v2.8.0 — El León Constructor */
.lat-game-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.lat-global-scores{grid-template-columns:repeat(7,minmax(0,1fr))}
.lat-constructor-card{background:linear-gradient(145deg,#ffe89a,#f6b04a 48%,#4c90be);color:#17324a}
.lat-constructor-game{background:linear-gradient(145deg,#17445d,#286d82 52%,#d58a39);border:5px solid #ffd36a;border-radius:30px;padding:14px;color:#fff}
.lat-constructor-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:15px;max-width:1180px;margin:auto}
.lat-constructor-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.lat-constructor-hud div{background:#fff;color:#17324a;border-radius:15px;padding:9px;text-align:center;font-size:12px;font-weight:900}.lat-constructor-hud strong{display:block;font-size:21px}
.lat-constructor-stage{position:relative;border:6px solid #fff;border-radius:22px;overflow:hidden;background:#8ed6ff;box-shadow:0 12px 24px rgba(0,0,0,.2)}.lat-constructor-canvas{display:block;width:100%;height:auto;aspect-ratio:900/520;touch-action:none}
.lat-constructor-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:380px;margin:11px auto 0}.lat-constructor-controls button{min-height:52px;border:0;border-radius:15px;background:#fff;font-size:25px;font-weight:950;box-shadow:0 5px 0 rgba(0,0,0,.22);cursor:pointer;touch-action:manipulation}.lat-constructor-controls button:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.2)}
.lat-constructor-sidebar{display:flex;flex-direction:column;gap:12px}.lat-constructor-sidebar>div{background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.24);border-radius:18px;padding:14px}.lat-constructor-sidebar h4{margin:0 0 9px;color:#ffe06b}.lat-constructor-sidebar span{display:block;font-size:13px;font-weight:800;margin-top:8px}
.lat-constructor-stage .lat-overlay{z-index:20}.lat-constructor-stage .lat-modal{max-width:450px;color:#17324a}.lat-constructor-stage .lat-modal h3{color:#17324a}.lat-constructor-stage .lat-modal p{color:#36586b}
.lat-mission-map{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1100px){.lat-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lat-global-scores{grid-template-columns:repeat(4,minmax(0,1fr))}.lat-constructor-layout{grid-template-columns:1fr}.lat-constructor-sidebar{display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.lat-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lat-constructor-game{padding:7px}.lat-constructor-sidebar{display:none}.lat-constructor-hud{gap:5px;margin-bottom:6px}.lat-constructor-hud div{padding:6px 2px;font-size:10px}.lat-constructor-hud strong{font-size:16px}.lat-constructor-stage{border-width:4px}.lat-constructor-controls{margin-top:7px;gap:6px}.lat-constructor-controls button{min-height:48px;font-size:22px}.lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-canvas{height:min(58dvh,540px);aspect-ratio:auto}}
@media(max-width:520px){.lat-game-grid,.lat-global-scores{grid-template-columns:1fr}.lat-mission-map{grid-template-columns:repeat(3,1fr)}.lat-constructor-stage .lat-modal{max-width:285px;padding:13px}.lat-constructor-stage .lat-modal h3{font-size:24px}.lat-constructor-stage .lat-modal p{font-size:12px}}


/* v2.8.1 — Constructor con gráficos más realistas */
.lat-constructor-card{background:linear-gradient(145deg,#ffe9a5,#f2b85e 48%,#63a0c3);color:#17324a}
.lat-constructor-game{background:linear-gradient(145deg,#17445d,#286d82 52%,#d58a39);border:5px solid #ffd36a;box-shadow:0 18px 38px rgba(0,0,0,.18)}
.lat-constructor-stage{background:#9dd7ff;box-shadow:0 14px 30px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.08)}
.lat-constructor-stage::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 14%, rgba(255,255,255,.18), transparent 42%), linear-gradient(to bottom, rgba(255,255,255,.06), transparent 26%, transparent 78%, rgba(0,0,0,.16));pointer-events:none;z-index:1}
.lat-constructor-canvas{position:relative;z-index:0}
.lat-constructor-stage .lat-overlay{backdrop-filter:blur(3px);background:rgba(7,18,12,.14);z-index:20}
.lat-constructor-stage .lat-modal{border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.lat-constructor-stage .lat-primary{box-shadow:0 8px 18px rgba(255,96,72,.32)}
.lat-constructor-hud div,.lat-constructor-sidebar>div{box-shadow:0 8px 18px rgba(0,0,0,.12)}
@media(max-width:760px){.lat-constructor-stage::before{background:linear-gradient(to bottom, rgba(255,255,255,.05), transparent 26%, transparent 76%, rgba(0,0,0,.14))}}


/* v2.8.2 — Constructor animado premium */
.lat-constructor-stage{position:relative;overflow:hidden}
.lat-constructor-stage::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 12%, rgba(255,255,255,.16), transparent 26%), radial-gradient(circle at 84% 10%, rgba(255,223,153,.18), transparent 24%);pointer-events:none;z-index:1;animation:latConstructorSky 7s ease-in-out infinite}
.lat-constructor-canvas{position:relative;z-index:0}
.lat-constructor-hud div strong{transition:transform .2s ease}
.lat-constructor-stage .lat-primary{animation:latConstructorPulse 2.2s ease-in-out infinite}
.lat-constructor-stage .lat-modal{animation:latConstructorFloat 4s ease-in-out infinite}
@keyframes latConstructorPulse{0%,100%{transform:translateY(0);box-shadow:0 8px 18px rgba(255,96,72,.32)}50%{transform:translateY(-2px);box-shadow:0 12px 24px rgba(255,96,72,.42)}}
@keyframes latConstructorFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes latConstructorSky{0%,100%{opacity:1;transform:translateX(0)}50%{opacity:.9;transform:translateX(4px)}}
@media(max-width:760px){.lat-constructor-stage::after{background:linear-gradient(to bottom, rgba(255,255,255,.05), transparent 26%, transparent 76%, rgba(0,0,0,.12))}}


/* v2.9.0 — Fútbol al Toque */
.lat-football-card{background:linear-gradient(145deg,#b8ffcf,#45d56a 45%,#4dc8ff);color:#112a56}
.lat-football-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}
.lat-football-hud div{background:#fff;border:3px solid #fff;border-radius:18px;padding:11px;text-align:center;font-weight:900;box-shadow:0 6px 0 rgba(17,42,86,.1)}
.lat-football-stage{position:relative;border:6px solid #fff;border-radius:27px;overflow:hidden;background:#85d7ff;box-shadow:0 14px 0 rgba(17,42,86,.12)}
.lat-football-canvas{display:block;width:100%;height:auto;touch-action:none}
.lat-football-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.lat-football-controls button{border:0;border-radius:20px;background:#fff;padding:14px 10px;font-size:26px;font-weight:950;box-shadow:0 6px 0 rgba(17,42,86,.14);cursor:pointer}
.lat-football-controls button:active{transform:translateY(2px)}
@media(max-width:860px){.lat-football-hud{grid-template-columns:repeat(2,1fr)}.lat-football-controls{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.lat-game-grid{grid-template-columns:1fr}.lat-global-scores{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1180px){.lat-game-grid{grid-template-columns:repeat(4,1fr)}.lat-global-scores{grid-template-columns:repeat(4,1fr)}}


/* v2.9.2 — Fútbol: cancha completa y mejor presencia visual */
.lat-world.lat-active-football .lat-football-game{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important}
.lat-world.lat-active-football .lat-game-title-row{flex:0 0 auto!important;margin:0 0 6px!important}
.lat-world.lat-active-football .lat-football-hud{flex:0 0 auto!important;margin-bottom:6px!important;gap:6px!important}
.lat-world.lat-active-football .lat-football-hud>div{padding:8px 10px!important}
.lat-world.lat-active-football .lat-football-stage{display:flex!important;flex:1 1 auto!important;min-height:0!important;width:min(100%,calc((var(--lat-app-height,100vh) - 215px) * 1.7778))!important;max-height:100%!important;align-self:center!important;border-width:4px!important;border-radius:18px!important}
.lat-world.lat-active-football .lat-football-canvas{flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.lat-world.lat-active-football .lat-football-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
.lat-world.lat-active-football .lat-football-controls button{min-height:46px!important;padding:8px 10px!important;font-size:24px!important}
@media (orientation:landscape) and (max-height:720px){
  .lat-world.lat-active-football .lat-game-title-row{display:none!important}
  .lat-world.lat-active-football .lat-football-hud{margin-bottom:4px!important}
  .lat-world.lat-active-football .lat-football-hud>div{padding:6px 8px!important}
  .lat-world.lat-active-football .lat-football-stage{width:min(100%,calc((var(--lat-app-height,100vh) - 140px) * 1.7778))!important}
  .lat-world.lat-active-football .lat-football-controls{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin-top:4px!important}
  .lat-world.lat-active-football .lat-football-controls button{min-height:38px!important;padding:4px 6px!important;font-size:20px!important}
}
@media (orientation:portrait) and (max-width:700px){
  .lat-world.lat-active-football .lat-football-hud{grid-template-columns:repeat(2,1fr)!important}
  .lat-world.lat-active-football .lat-football-stage{width:100%!important}
}


/* v2.9.3 — corrección definitiva de encuadre del fútbol */
.lat-world.lat-active-football .lat-football-game{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.lat-world.lat-active-football .lat-football-stage{
  position:relative!important;
  display:block!important;
  flex:1 1 0!important;
  min-height:0!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:16/9!important;
  align-self:center!important;
  overflow:hidden!important;
}
.lat-world.lat-active-football .lat-football-canvas{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
}
.lat-world.lat-active-football .lat-football-controls{
  flex:0 0 auto!important;
}
@media (orientation:landscape){
  .lat-world.lat-active-football .lat-football-stage{
    width:min(100%,calc((var(--lat-app-height,100vh) - 175px) * 1.7777778))!important;
    height:auto!important;
  }
}
@media (orientation:landscape) and (max-height:720px){
  .lat-world.lat-active-football .lat-football-stage{
    width:min(100%,calc((var(--lat-app-height,100vh) - 105px) * 1.7777778))!important;
  }
}


/* v2.9.6 — Fútbol con gráficos mejorados */
.lat-football-card{background:linear-gradient(145deg,#d9ffb8,#53d96f 46%,#55cfff)!important;color:#10274c!important;box-shadow:0 14px 26px rgba(22,92,54,.16)}
.lat-football-game{background:linear-gradient(145deg,#19406d,#237e90 52%,#58c95c)!important;border:5px solid #ffe37a;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.lat-football-hud div{background:linear-gradient(180deg,#ffffff,#eef7ff)!important;border-color:rgba(255,255,255,.9)!important;box-shadow:0 8px 18px rgba(17,42,86,.14)!important}
.lat-football-stage{border:5px solid #fff2aa!important;border-radius:28px!important;background:#9de1ff!important;box-shadow:0 18px 36px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.2)!important}
.lat-football-stage::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom, rgba(255,255,255,.1), transparent 22%, transparent 75%, rgba(0,0,0,.08));pointer-events:none;z-index:1}
.lat-football-canvas{position:relative;z-index:0}
.lat-football-controls button{background:linear-gradient(180deg,#ffffff,#e9f5ff)!important;color:#12335c;border:1px solid rgba(17,42,86,.08);box-shadow:0 8px 18px rgba(17,42,86,.14)!important}
.lat-football-controls button:active{transform:translateY(2px) scale(.99)}
.lat-football-stage .lat-overlay{backdrop-filter:blur(3px);background:rgba(9,29,60,.18)}
.lat-football-stage .lat-modal{border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.lat-football-stage .lat-primary{box-shadow:0 10px 22px rgba(255,96,72,.32);animation:latFootballPulse 2.2s ease-in-out infinite}
@keyframes latFootballPulse{0%,100%{transform:translateY(0);box-shadow:0 10px 22px rgba(255,96,72,.32)}50%{transform:translateY(-2px);box-shadow:0 14px 28px rgba(255,96,72,.42)}}


/* v2.9.7 — fútbol premium */
.lat-football-game{position:relative;overflow:hidden}
.lat-football-game::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 15% 8%, rgba(255,255,255,.16), transparent 24%),radial-gradient(circle at 85% 12%, rgba(255,243,166,.18), transparent 22%);pointer-events:none;opacity:.95}
.lat-football-hud>div{position:relative;overflow:hidden}
.lat-football-hud>div::after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 35%,rgba(255,255,255,.45) 50%,transparent 65% 100%);transform:translateX(-120%);animation:latFootballShine 5s linear infinite}
.lat-football-stage{position:relative}
.lat-football-mascot-image{font-size:0;line-height:1}
.lat-football-mascot-image img{display:block;width:112px;max-width:40vw;height:auto;margin:0 auto 10px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.18))}
.lat-football-stage .lat-modal h3{letter-spacing:.2px}
.lat-football-stage .lat-lesson{background:rgba(255,255,255,.72);border:1px solid rgba(17,42,86,.08);border-radius:16px;padding:10px 12px;color:#173253}
.lat-football-controls button{font-size:24px!important;font-weight:900;transition:transform .15s ease, box-shadow .15s ease}
.lat-football-controls button:hover{transform:translateY(-2px);box-shadow:0 12px 22px rgba(17,42,86,.18)!important}
@keyframes latFootballShine{0%{transform:translateX(-120%)}18%,100%{transform:translateX(140%)}}
@media(max-width:520px){.lat-football-mascot-image img{width:88px}}


/* v3.0.0 — Fútbol móvil jugable */
.lat-football-stage .lat-overlay{align-content:center;overflow:auto;-webkit-overflow-scrolling:touch}
.lat-football-stage .lat-modal{width:min(92%,560px);max-height:calc(100% - 14px);overflow:auto}
.lat-football-stage .lat-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}
.lat-football-stage .lat-help-grid span{background:rgba(255,255,255,.72);border:1px solid rgba(17,42,86,.08);border-radius:14px;padding:8px 10px;font-weight:800;font-size:14px;line-height:1.15;color:#173253}
.lat-football-stage [data-football-start],.lat-football-stage [data-football-restart]{display:block;width:min(100%,320px);margin:0 auto}
@media (pointer:coarse) and (max-width:780px){
  .lat-world.lat-active-football .lat-game-title-row{margin-bottom:8px!important}
  .lat-world.lat-active-football .lat-football-hud{gap:8px!important;margin-bottom:10px!important}
  .lat-world.lat-active-football .lat-football-hud>div{padding:9px 6px!important;font-size:13px!important;border-radius:16px!important}
  .lat-world.lat-active-football .lat-football-stage{width:100%!important;border-width:4px!important;border-radius:22px!important}
  .lat-world.lat-active-football .lat-football-controls{grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin-top:10px!important}
  .lat-world.lat-active-football .lat-football-controls button{min-height:54px!important;border-radius:999px!important;font-size:28px!important}
}
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  .lat-world.lat-active-football .lat-football-stage{aspect-ratio:1/1.02!important}
  .lat-world.lat-active-football .lat-football-start,
  .lat-world.lat-active-football .lat-football-end{padding:6px!important;align-content:start!important}
  .lat-world.lat-active-football .lat-football-start .lat-modal,
  .lat-world.lat-active-football .lat-football-end .lat-modal{width:calc(100% - 4px)!important;max-width:420px!important;max-height:calc(100% - 4px)!important;padding:12px 12px 14px!important;border-width:3px!important;border-radius:20px!important;box-shadow:0 8px 0 rgba(17,42,86,.12)!important}
  .lat-world.lat-active-football .lat-football-start .lat-mascot{margin-bottom:4px!important}
  .lat-world.lat-active-football .lat-football-start .lat-mascot img{width:84px!important;margin-bottom:2px!important}
  .lat-world.lat-active-football .lat-football-start h3{margin:0 0 6px!important;font-size:clamp(22px,9vw,34px)!important;line-height:1.02!important}
  .lat-world.lat-active-football .lat-football-start p{margin:0 0 8px!important;font-size:13px!important;line-height:1.22!important}
  .lat-world.lat-active-football .lat-football-start .lat-help-grid{grid-template-columns:1fr!important;gap:5px!important;margin:7px 0 9px!important}
  .lat-world.lat-active-football .lat-football-start .lat-help-grid span{padding:6px 8px!important;border-radius:11px!important;font-size:11px!important;line-height:1.15!important}
  .lat-world.lat-active-football .lat-football-start [data-football-start]{min-height:44px!important;padding:10px 14px!important;font-size:16px!important;line-height:1.1!important}
  .lat-world.lat-active-football .lat-football-end h3{margin:0 0 6px!important;font-size:clamp(22px,8vw,30px)!important}
  .lat-world.lat-active-football .lat-football-end p{font-size:13px!important;line-height:1.2!important}
  .lat-world.lat-active-football .lat-football-end .lat-lesson{padding:8px 10px!important;font-size:12px!important;line-height:1.15!important;margin:6px 0 9px!important}
  .lat-world.lat-active-football .lat-football-end [data-football-restart]{min-height:42px!important;padding:10px 12px!important;font-size:15px!important}
}
@media (max-height:760px){
  .lat-world.lat-active-football .lat-football-start .lat-modal,
  .lat-world.lat-active-football .lat-football-end .lat-modal{padding:14px!important;max-height:calc(100% - 8px)!important}
  .lat-world.lat-active-football .lat-football-start .lat-mascot img{width:76px!important}
  .lat-world.lat-active-football .lat-football-start h3{font-size:clamp(20px,5vh,30px)!important}
  .lat-world.lat-active-football .lat-football-start p{font-size:12px!important;line-height:1.18!important}
  .lat-world.lat-active-football .lat-football-start .lat-help-grid{gap:5px!important;margin:6px 0 8px!important}
  .lat-world.lat-active-football .lat-football-start .lat-help-grid span{font-size:11px!important;padding:6px 8px!important}
  .lat-world.lat-active-football .lat-football-start [data-football-start]{min-height:40px!important;font-size:15px!important}
}


/* v3.0.1 — Fútbol móvil más grande */
.lat-world.lat-active-football .lat-football-canvas{object-fit:fill!important}
@media (pointer:coarse) and (max-width:780px){
  .lat-world.lat-active-football .lat-football-stage{
    aspect-ratio:16/9!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    min-height:0!important;
  }
  .lat-world.lat-active-football .lat-football-canvas{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:fill!important;
  }
}
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  .lat-world.lat-active-football .lat-football-stage{
    aspect-ratio:16/9!important;
    width:100%!important;
  }
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:760px){
  .lat-world.lat-active-football .lat-game-title-row{display:none!important}
  .lat-world.lat-active-football .lat-football-hud{margin-bottom:6px!important}
  .lat-world.lat-active-football .lat-football-stage{
    width:100%!important;
    aspect-ratio:16/9!important;
  }
  .lat-world.lat-active-football .lat-football-controls button{min-height:48px!important;font-size:24px!important}
}


/* v3.1.0 — Ajedrez al Toque */
.lat-active-chess .lat-game-screen{background:linear-gradient(180deg,#eef4ff 0%,#efeaf8 100%)}
.lat-game-card.lat-chess-card{background:linear-gradient(135deg,#fff8ef 0%,#f2e6d2 45%,#d9c5a4 100%);color:#33220f}
.lat-game-card.lat-chess-card .lat-play-pill{background:#33220f;color:#fff2dc}
.lat-chess-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.lat-chess-board-wrap{display:flex;flex-direction:column;gap:14px}
.lat-chess-hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lat-chess-hud>div,.lat-chess-side-card{background:rgba(255,255,255,.88);border:1px solid rgba(72,48,22,.1);border-radius:20px;box-shadow:0 14px 34px rgba(40,30,20,.08);padding:14px 16px;font-weight:800;color:#2e405f}
.lat-chess-hud strong{display:block;font-size:1.5rem;color:#1c2f57}
.lat-chess-board-shell{position:relative;border-radius:28px;padding:16px;background:linear-gradient(135deg,#7a532b,#d3b27d 52%,#7a532b);box-shadow:0 24px 54px rgba(48,28,8,.18)}
.lat-chess-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;border:8px solid rgba(57,34,15,.86);border-radius:18px;overflow:hidden;background:#8a6a44}
.lat-chess-square{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:0;padding:0;cursor:pointer;transition:transform .12s ease, box-shadow .12s ease}
.lat-chess-square.is-light{background:#f6e4c8}
.lat-chess-square.is-dark{background:#7f5a36}
.lat-chess-square.is-selected{box-shadow:inset 0 0 0 5px #ffd35a}
.lat-chess-square.is-legal::after,.lat-chess-square.is-capture::after{content:'';position:absolute;border-radius:999px;pointer-events:none}
.lat-chess-square.is-legal::after{width:18%;height:18%;background:rgba(28,151,85,.78)}
.lat-chess-square.is-capture::after{inset:10%;border:4px solid rgba(219,53,69,.78)}
.lat-chess-square:hover{transform:translateY(-1px)}
.lat-chess-piece{font-size:clamp(28px,5.7vw,52px);line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.22))}
.lat-chess-piece.is-white{color:#fffdf7;text-shadow:0 1px 0 rgba(0,0,0,.25),0 0 10px rgba(255,255,255,.18)}
.lat-chess-piece.is-black{color:#1f140c;text-shadow:0 1px 0 rgba(255,255,255,.08)}
.lat-chess-coord{position:absolute;left:6px;bottom:4px;font-style:normal;font-size:10px;font-weight:800;color:rgba(0,0,0,.35);pointer-events:none}
.lat-chess-sidebar{display:flex;flex-direction:column;gap:12px}
.lat-side-kicker{display:inline-block;margin-bottom:8px;padding:4px 10px;border-radius:999px;background:#213d74;color:#fff;font-size:.73rem;font-weight:900;letter-spacing:.05em}
.lat-chess-side-card h4{margin:0 0 6px;color:#1c2f57;font-size:1.25rem}
.lat-chess-side-card p{margin:0;color:#4a5974;line-height:1.45}
.lat-chess-captures{min-height:28px;font-size:1.8rem;line-height:1.1}
.lat-chess-hero{margin-bottom:10px;border-radius:18px;overflow:hidden;box-shadow:0 12px 24px rgba(0,0,0,.12)}
.lat-chess-hero img{display:block;width:100%;height:168px;object-fit:cover}
.lat-chess-start .lat-modal,.lat-chess-end .lat-modal{width:min(92%,560px)}
@media (max-width:1100px){.lat-chess-layout{grid-template-columns:1fr}.lat-chess-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.lat-chess-hud{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.lat-chess-board-shell{padding:10px;border-radius:22px}.lat-chess-board{border-width:6px;border-radius:14px}.lat-chess-hud>div,.lat-chess-side-card{padding:12px}.lat-chess-sidebar{grid-template-columns:1fr}.lat-chess-piece{font-size:clamp(26px,9vw,42px)}.lat-chess-hero img{height:130px}.lat-chess-start .lat-modal,.lat-chess-end .lat-modal{width:calc(100% - 10px);padding:14px}}


/* v3.1.1 — Ajedrez corregido */
.lat-world.lat-active-chess .lat-game-screen{overflow:auto}
.lat-chess-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
.lat-chess-board-wrap{min-width:0}
.lat-chess-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lat-chess-hud>div{min-height:86px}
.lat-chess-board-shell{width:min(100%,860px);margin:0 auto;padding:12px;border-radius:24px}
.lat-chess-board{width:100%;max-width:836px;margin:0 auto}
.lat-chess-start{display:none!important}
.lat-chess-end{align-content:center;overflow:auto;-webkit-overflow-scrolling:touch}
.lat-chess-end .lat-modal{width:min(92%,460px);max-height:calc(100% - 12px);overflow:auto}
.lat-chess-hero img{height:122px;object-fit:cover}
@media (max-width:1320px){.lat-chess-layout{grid-template-columns:minmax(0,1fr) 230px}}
@media (max-width:1100px){.lat-chess-layout{grid-template-columns:1fr}.lat-chess-board-shell{width:min(100%,760px)}.lat-chess-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media (max-width:780px){
  .lat-chess-hud{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .lat-chess-hud>div{min-height:78px}
  .lat-chess-hud strong{font-size:1.15rem}
  .lat-chess-board-shell{width:100%;padding:8px;border-radius:18px}
  .lat-chess-board{border-width:4px;border-radius:12px}
  .lat-chess-piece{font-size:clamp(22px,7.2vw,36px)}
  .lat-chess-sidebar{grid-template-columns:1fr}
  .lat-chess-side-card{padding:10px 12px}
}


/* v3.1.2 — Ajedrez pro + instrucciones */
.lat-active-chess .lat-game-screen{
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.72),transparent 24%),
    radial-gradient(circle at 86% 24%,rgba(255,227,176,.4),transparent 20%),
    linear-gradient(180deg,#edf2ff 0%,#f3ebf8 48%,#e9edf8 100%);
}
.lat-chess-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}
.lat-chess-hud>div,.lat-chess-side-card{
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,248,255,.88));
  border:1px solid rgba(43,66,118,.12);
  box-shadow:0 18px 34px rgba(31,44,78,.09), inset 0 1px 0 rgba(255,255,255,.95);
}
.lat-chess-hud>div{position:relative;overflow:hidden}
.lat-chess-hud>div::after,.lat-chess-side-card::after{content:'';position:absolute;inset:auto -18% 62% auto;width:120px;height:120px;background:radial-gradient(circle,rgba(255,255,255,.58),transparent 68%);pointer-events:none}
.lat-chess-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lat-chess-help-btn,.lat-chess-tip-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:10px 16px;font-weight:900}
.lat-chess-help-btn{border:0;background:linear-gradient(135deg,#213d74,#365d9f);color:#fff;box-shadow:0 12px 22px rgba(33,61,116,.24);cursor:pointer}
.lat-chess-help-btn:hover{transform:translateY(-1px)}
.lat-chess-tip-pill{background:rgba(255,255,255,.78);border:1px solid rgba(33,61,116,.1);color:#2d456c}
.lat-chess-board-shell{
  background:linear-gradient(135deg,#593616 0%,#7a4f28 18%,#d8b67a 50%,#7b5128 82%,#593616 100%);
  box-shadow:0 26px 60px rgba(62,39,18,.24), inset 0 2px 0 rgba(255,242,214,.42), inset 0 -2px 0 rgba(74,44,20,.32);
}
.lat-chess-board-shell::before{content:'';position:absolute;inset:10px;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,236,199,.25), inset 0 16px 26px rgba(255,245,225,.12), inset 0 -12px 24px rgba(30,16,8,.14);pointer-events:none}
.lat-chess-board{background:#4c3421;box-shadow:0 20px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12)}
.lat-chess-square.is-light{background:linear-gradient(135deg,#fbf0da 0%,#f1dfbf 100%)}
.lat-chess-square.is-dark{background:linear-gradient(135deg,#826040 0%,#6c4e33 100%)}
.lat-chess-square::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 45%,rgba(0,0,0,.06));pointer-events:none}
.lat-chess-square:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 2px rgba(255,255,255,.16)}
.lat-chess-piece{font-size:clamp(30px,6vw,56px);filter:drop-shadow(0 3px 2px rgba(0,0,0,.25)) drop-shadow(0 8px 10px rgba(0,0,0,.12))}
.lat-chess-piece.is-white{color:#fffdf7;text-shadow:0 1px 0 rgba(0,0,0,.32),0 0 10px rgba(255,255,255,.2),0 2px 8px rgba(0,0,0,.12)}
.lat-chess-piece.is-black{color:#24160e;text-shadow:0 1px 0 rgba(255,255,255,.08),0 2px 8px rgba(0,0,0,.18)}
.lat-chess-square.is-selected{box-shadow:inset 0 0 0 5px #ffd35a,0 0 0 2px rgba(255,224,138,.25)}
.lat-chess-square.is-legal::after{width:22%;height:22%;background:radial-gradient(circle,#59d58e 0%,#1c9755 75%);box-shadow:0 0 0 4px rgba(89,213,142,.15)}
.lat-chess-square.is-capture::after{inset:9%;border:4px solid rgba(219,53,69,.88);box-shadow:inset 0 0 0 2px rgba(255,255,255,.16)}
.lat-chess-mini-guide{margin:0;padding-left:18px;color:#40516d;line-height:1.55;font-weight:700}
.lat-chess-mini-guide li+li{margin-top:6px}
.lat-chess-piece-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;color:#304567;font-weight:800}
.lat-chess-piece-legend span{display:flex;align-items:center;gap:8px;padding:8px 10px;background:rgba(243,246,255,.78);border:1px solid rgba(43,66,118,.08);border-radius:14px}
.lat-chess-captures{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.lat-chess-captures:not(:empty){font-size:1.65rem}
.lat-chess-strategy-card p{font-size:1rem}
.lat-chess-help .lat-modal,.lat-chess-end .lat-modal{width:min(94%,620px);max-height:calc(100% - 18px);overflow:auto;border:1px solid rgba(56,38,21,.12);box-shadow:0 24px 50px rgba(32,20,10,.24)}
.lat-chess-help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.lat-chess-help-grid span{background:rgba(247,249,255,.92);border:1px solid rgba(33,61,116,.08);border-radius:16px;padding:10px 12px;color:#304567;font-weight:800;line-height:1.3}
.lat-chess-rules-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.lat-chess-rules-mini div{background:linear-gradient(180deg,#fffdf7,#f6efe0);border:1px solid rgba(88,55,22,.08);border-radius:16px;padding:10px 12px;text-align:left}
.lat-chess-rules-mini b{display:block;color:#2f2418;margin-bottom:4px}
.lat-chess-rules-mini span{display:block;color:#5a6478;font-size:14px;line-height:1.35}
@media (max-width:1200px){.lat-chess-layout{grid-template-columns:1fr}.lat-chess-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media (max-width:780px){
  .lat-chess-toolbar{align-items:stretch}
  .lat-chess-help-btn,.lat-chess-tip-pill{width:100%;justify-content:center}
  .lat-chess-sidebar{grid-template-columns:1fr}
  .lat-chess-piece-legend,.lat-chess-rules-mini,.lat-chess-help-grid{grid-template-columns:1fr}
  .lat-chess-help .lat-modal,.lat-chess-end .lat-modal{width:calc(100% - 10px);padding:14px;border-radius:20px}
  .lat-chess-piece{font-size:clamp(24px,7.8vw,40px)}
}


/* v3.1.3 — tablero garantizado */
.lat-chess-board:empty::before{content:'Cargando tablero…';grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:360px;color:#f6e4c8;font-weight:900;font-size:20px}
.lat-chess-board[data-chess-ready="1"]:empty::before{display:none}


/* v3.1.4 — piezas más realistas + tablero mejor ajustado */
.lat-chess-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}
.lat-chess-board-wrap{min-width:0}
.lat-chess-board-shell{width:min(100%,640px)!important;margin:0 auto;padding:12px 12px 10px;border-radius:26px}
.lat-chess-board{width:100%;max-width:616px;margin:0 auto}
.lat-chess-square{display:flex;align-items:center;justify-content:center;overflow:hidden}
.lat-chess-piece{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:5%;font-size:0;line-height:0;pointer-events:none}
.lat-chess-piece-img{width:82%;height:82%;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.22)) drop-shadow(0 8px 10px rgba(0,0,0,.10));transform:translateY(1px);user-select:none;-webkit-user-drag:none}
.lat-chess-square:hover .lat-chess-piece-img{transform:translateY(0) scale(1.02)}
.lat-chess-square.is-selected .lat-chess-piece-img{filter:drop-shadow(0 0 0 rgba(0,0,0,0)) drop-shadow(0 0 12px rgba(255,216,92,.35))}
.lat-chess-piece-legend span{display:flex;align-items:center;gap:10px}
.lat-chess-piece-legend img{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.16))}
.lat-chess-piece-legend em{font-style:normal}
.lat-chess-captures{min-height:28px}
.lat-chess-capture-icon{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}
@media (max-width:1200px){.lat-chess-layout{grid-template-columns:1fr}.lat-chess-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lat-chess-board-shell{width:min(100%,700px)!important}}
@media (max-width:780px){.lat-chess-board-shell{width:100%!important;padding:8px 8px 6px;border-radius:20px}.lat-chess-board{max-width:none}.lat-chess-piece-img{width:84%;height:84%}.lat-chess-piece-legend img{width:24px;height:24px}}


/* v3.1.5 — móvil sin recortes + piezas más presentes */
.lat-world.lat-active-chess .lat-game-screen{overflow:auto!important;-webkit-overflow-scrolling:touch}
.lat-world.lat-active-chess .lat-game-screen>[data-game]:not([hidden]){overflow:auto!important;-webkit-overflow-scrolling:touch;padding-bottom:18px}
.lat-chess-game{padding-bottom:18px}
.lat-chess-board-shell{width:min(100%,660px)!important}
.lat-chess-board{max-width:636px!important}
.lat-chess-piece-img{width:86%;height:86%}
.lat-chess-capture-icon{width:26px;height:26px}
@media (max-width:780px){
  .lat-chess-game{padding-bottom:28px}
  .lat-game-title-row{margin-bottom:8px!important}
  .lat-game-title-row h3{font-size:clamp(28px,8vw,44px)!important;margin:4px 0 6px!important;line-height:1.02!important}
  .lat-chess-hud{gap:10px!important}
  .lat-chess-hud>div{min-height:66px!important;padding:10px 12px!important;border-radius:18px!important}
  .lat-chess-hud strong{font-size:1.05rem!important}
  .lat-chess-toolbar{gap:8px!important;margin-bottom:10px!important}
  .lat-chess-help-btn,.lat-chess-tip-pill{padding:10px 14px!important;font-size:14px!important}
  .lat-chess-board-shell{width:100%!important;max-width:none!important;padding:8px!important;border-radius:18px!important;margin-bottom:10px!important}
  .lat-chess-board{width:100%!important;max-width:none!important;border-width:4px!important;border-radius:12px!important}
  .lat-chess-piece-img{width:88%;height:88%}
  .lat-chess-sidebar{grid-template-columns:1fr!important}
  .lat-chess-side-card{padding:12px 14px!important;border-radius:18px!important}
}


/* v3.1.6 — niveles de dificultad + piezas lujo */
.lat-chess-difficulty{display:inline-flex;gap:5px;padding:5px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(33,61,116,.12);box-shadow:0 10px 22px rgba(31,44,78,.08)}
.lat-chess-difficulty button{border:0;border-radius:999px;padding:9px 15px;background:transparent;color:#304567;font-weight:900;cursor:pointer;transition:.18s}
.lat-chess-difficulty button:hover{background:rgba(33,61,116,.08)}
.lat-chess-difficulty button.is-active{background:linear-gradient(135deg,#203b70,#4169ad);color:#fff;box-shadow:0 7px 16px rgba(33,61,116,.24)}
.lat-chess-piece-img{width:90%;height:90%;filter:drop-shadow(0 4px 4px rgba(0,0,0,.25)) drop-shadow(0 12px 12px rgba(0,0,0,.14));transition:transform .16s ease,filter .16s ease}
.lat-chess-square:hover .lat-chess-piece-img{transform:translateY(-2px) scale(1.045);filter:drop-shadow(0 5px 5px rgba(0,0,0,.28)) drop-shadow(0 15px 14px rgba(0,0,0,.16))}
@media(max-width:780px){.lat-chess-difficulty{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.lat-chess-difficulty button{padding:10px 6px;font-size:13px}.lat-chess-piece-img{width:91%;height:91%}}

/* v3.2.0 — Emprendedor Al Toque */
.lat-economy-card{background:linear-gradient(145deg,#fff8d8,#dff8e8)!important}.lat-economy-card .lat-game-art{filter:drop-shadow(0 12px 18px rgba(40,95,62,.18))}
.lat-world.lat-active-economy .lat-game-screen{overflow:auto!important;-webkit-overflow-scrolling:touch}.lat-economy-game{position:relative;padding-bottom:28px;color:#24354a}
.lat-economy-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:14px;margin-bottom:14px}.lat-economy-business{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lat-economy-shop,.lat-economy-lion{min-height:135px;border-radius:24px;padding:18px;background:linear-gradient(145deg,#fff5cf,#ffe3a6);box-shadow:0 14px 35px rgba(62,47,20,.1);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.lat-economy-shop>span{font-size:54px}.lat-economy-shop strong{font-size:21px}.lat-economy-shop small{color:#765e36}.lat-economy-lion{background:linear-gradient(145deg,#e6fff0,#c8f3da);font-size:48px}.lat-economy-lion p{font-size:14px;font-weight:800;line-height:1.35;margin:6px 0 0;color:#315345}.lat-economy-hud{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lat-economy-hud>div{background:#fff;border:1px solid rgba(36,53,74,.08);box-shadow:0 12px 30px rgba(31,48,72,.08);border-radius:20px;padding:15px;display:flex;flex-direction:column;justify-content:center}.lat-economy-hud span{font-size:13px;color:#60708a;font-weight:800}.lat-economy-hud strong{font-size:22px;color:#183b2c}
.lat-economy-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:16px}.lat-economy-panel,.lat-economy-card{background:rgba(255,255,255,.94);border:1px solid rgba(35,57,86,.09);border-radius:24px;box-shadow:0 16px 38px rgba(31,49,75,.08)}.lat-economy-panel{padding:18px}.lat-economy-section-title{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:14px}.lat-economy-section-title span,.lat-side-kicker{font-size:11px;letter-spacing:.12em;color:#22835a;font-weight:950}.lat-economy-section-title h4,.lat-economy-card h4{font-size:22px;margin:2px 0}.lat-economy-section-title small{color:#6a778a;max-width:280px;text-align:right}.lat-economy-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lat-economy-product{padding:14px;border-radius:20px;background:linear-gradient(180deg,#f8fbff,#f1f8f4);border:1px solid rgba(38,76,62,.08)}.lat-economy-product-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.lat-economy-product-head>span{font-size:34px}.lat-economy-product-head strong{display:block}.lat-economy-product-head small{display:block;color:#6a778a;font-size:12px}.lat-economy-product label{display:grid;grid-template-columns:1fr 126px;align-items:center;gap:8px;font-size:13px;font-weight:850;margin-top:8px}.lat-economy-product input{width:100%;border:1px solid rgba(37,63,89,.18);border-radius:12px;padding:9px;background:#fff;font-weight:900;color:#24354a}.lat-stepper{display:grid;grid-template-columns:34px 1fr 34px;gap:4px}.lat-stepper button{border:0;border-radius:10px;background:#214f3d;color:#fff;font-size:19px;font-weight:900}.lat-stepper input{text-align:center;padding:8px 2px}.lat-economy-margin{margin-top:10px;padding:7px 9px;border-radius:10px;background:#e2f7ea;color:#216142;font-size:12px;font-weight:900}.lat-economy-side{display:flex;flex-direction:column;gap:12px}.lat-economy-card{padding:16px}.lat-economy-ads{display:grid;gap:7px}.lat-economy-ads button{border:1px solid rgba(35,57,86,.12);background:#f6f8fb;border-radius:14px;padding:10px 12px;display:flex;justify-content:space-between;font-weight:900;color:#34445c}.lat-economy-ads button.is-active{background:linear-gradient(135deg,#1d7b52,#35a870);color:#fff;box-shadow:0 9px 18px rgba(29,123,82,.22)}.lat-economy-ads small{font-weight:900}.lat-economy-summary>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px dashed rgba(40,58,80,.12);font-size:13px}.lat-economy-summary .lat-economy-available{font-size:15px;color:#174a35;border:0}.lat-economy-summary .lat-primary{width:100%;margin-top:10px}.lat-economy-summary .lat-primary:disabled{opacity:.45;cursor:not-allowed}.lat-economy-card p{font-size:14px;line-height:1.45;margin:8px 0 0}.lat-economy-modal{width:min(94%,650px)!important}.lat-economy-result-icon{font-size:58px}.lat-economy-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:14px 0}.lat-economy-result-grid div{background:#f4f7fb;border-radius:15px;padding:11px}.lat-economy-result-grid span{display:block;font-size:11px;color:#6b788b;font-weight:800}.lat-economy-result-grid strong{display:block;font-size:18px;color:#1b6848}.lat-economy-result-grid strong.is-loss{color:#bb3b3b}.lat-economy-final-score{display:flex;flex-direction:column;padding:16px;border-radius:18px;background:linear-gradient(135deg,#fff3b9,#dff7e7);margin:12px 0}.lat-economy-final-score strong{font-size:34px;color:#1d6948}
@media(max-width:980px){.lat-economy-top,.lat-economy-layout{grid-template-columns:1fr}.lat-economy-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lat-economy-side .lat-economy-summary{grid-row:span 2}}
@media(max-width:700px){.lat-economy-game{padding-bottom:38px}.lat-economy-top,.lat-economy-business{grid-template-columns:1fr}.lat-economy-shop,.lat-economy-lion{min-height:108px}.lat-economy-products,.lat-economy-side{grid-template-columns:1fr}.lat-economy-side .lat-economy-summary{grid-row:auto}.lat-economy-section-title{display:block}.lat-economy-section-title small{display:block;text-align:left;margin-top:4px}.lat-economy-product label{grid-template-columns:1fr 118px}.lat-economy-result-grid{grid-template-columns:repeat(2,1fr)}.lat-economy-hud{grid-template-columns:repeat(2,1fr)}.lat-economy-hud strong{font-size:18px}}

/* Emprendedor v3.2.2: correcciones de render y uso táctil */
.lat-world.lat-active-economy,.lat-world.lat-active-economy .lat-game-screen,.lat-world.lat-active-economy [data-game="economy"]{touch-action:pan-y!important;overscroll-behavior-y:contain!important}
.lat-world.lat-active-economy .lat-game-screen{overflow-y:auto!important;overflow-x:hidden!important;height:calc(100dvh - 8px)!important;max-height:none!important}
.lat-world.lat-active-economy [data-game="economy"]{display:block!important;overflow:visible!important;min-height:max-content!important}
.lat-economy-products{min-height:120px!important}
.lat-economy-product{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important}
.lat-economy-ads button,.lat-economy-summary button,.lat-stepper button,.lat-economy-product input{pointer-events:auto!important;touch-action:manipulation!important}
@media(max-width:700px){
 .lat-world.lat-active-economy .lat-game-screen{padding-bottom:90px!important;-webkit-overflow-scrolling:touch!important}
 .lat-economy-game{height:auto!important;min-height:calc(100dvh - 20px)!important;padding-bottom:120px!important}
 .lat-economy-layout{display:flex!important;flex-direction:column!important}
 .lat-economy-panel{order:1!important}.lat-economy-side{order:2!important;display:flex!important;flex-direction:column!important}
 .lat-economy-products{display:grid!important;grid-template-columns:1fr!important}
}

/* Emprendedor 3.2.3: carga segura y controles táctiles */
.lat-economy-load-error{grid-column:1/-1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;border:2px dashed #e45d5d;border-radius:18px;background:#fff5f5;color:#7d2525}
.lat-economy-load-error strong{font-size:20px}.lat-economy-load-error span{font-size:14px}.lat-economy-load-error button{border:0;border-radius:999px;padding:11px 22px;background:#1f7a52;color:#fff;font-weight:900;cursor:pointer}
.lat-world.lat-active-economy .lat-game-screen,.lat-world.lat-active-economy [data-game="economy"]{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}
.lat-world.lat-active-economy button,.lat-world.lat-active-economy input{pointer-events:auto!important;touch-action:manipulation!important}
@media(max-width:700px){.lat-world.lat-active-economy [data-game="economy"]{height:auto!important;min-height:100dvh!important;max-height:none!important;padding-bottom:90px!important}.lat-economy-layout{overflow:visible!important}.lat-economy-panel{min-height:0!important}.lat-economy-products{min-height:0!important}}


/* v3.2.5 — recorrido guiado y pantalla completa sin cortes */
.lat-economy-guide{position:sticky;top:54px;z-index:35;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;margin:0 0 14px;padding:12px 14px;border:2px solid rgba(33,79,61,.14);border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(28,48,72,.12);backdrop-filter:blur(8px)}
.lat-economy-guide-head{display:flex;align-items:center;gap:10px;min-width:0}.lat-economy-guide-head>span{font-size:34px}.lat-economy-guide-head strong,.lat-economy-guide-head small{display:block}.lat-economy-guide-head small{margin-top:2px;color:#617086;font-size:12px;line-height:1.3}
.lat-economy-steps{display:flex;gap:6px}.lat-economy-steps button{display:flex;align-items:center;gap:5px;border:1px solid rgba(30,58,84,.14);border-radius:999px;background:#f3f6fa;color:#536278;padding:7px 9px;font-weight:900;cursor:pointer}.lat-economy-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dfe5ec}.lat-economy-steps button.is-active{background:#fff1b9;color:#684800;border-color:#f4c73a}.lat-economy-steps button.is-complete{background:#dff7e8;color:#17623f;border-color:#83d4a5}.lat-economy-steps button.is-complete b{background:#27a365;color:#fff}
.lat-economy-demo{border:0;border-radius:999px;padding:10px 13px;background:#214f3d;color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.lat-economy-demo:hover{transform:translateY(-1px)}
[data-economy-zone].is-guided{animation:latEconomyGuidePulse .9s ease}@keyframes latEconomyGuidePulse{0%,100%{box-shadow:0 16px 38px rgba(31,49,75,.08)}50%{box-shadow:0 0 0 6px rgba(255,197,45,.34),0 18px 42px rgba(31,49,75,.13)}}
.lat-economy-product{transition:transform .18s ease,box-shadow .18s ease}.lat-economy-product:focus-within,.lat-economy-product:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(31,49,75,.10)}
.lat-world.lat-active-economy .lat-game-screen{height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:max(140px,env(safe-area-inset-bottom))!important;scroll-padding-top:120px!important}
.lat-world.lat-active-economy [data-game="economy"]{height:auto!important;max-height:none!important;min-height:calc(100dvh - 20px)!important;overflow:visible!important;padding-bottom:160px!important}
.lat-world.lat-active-economy .lat-economy-layout,.lat-world.lat-active-economy .lat-economy-panel,.lat-world.lat-active-economy .lat-economy-side{overflow:visible!important;max-height:none!important}
@media(max-width:1100px){.lat-economy-guide{grid-template-columns:1fr}.lat-economy-steps{overflow-x:auto;padding-bottom:2px}.lat-economy-demo{justify-self:start}}
@media(max-width:700px){.lat-economy-guide{top:48px;padding:10px;border-radius:16px}.lat-economy-guide-head>span{font-size:28px}.lat-economy-guide-head strong{font-size:15px}.lat-economy-steps{width:100%}.lat-economy-steps button{flex:1;justify-content:center;padding:7px 5px}.lat-economy-steps button span{font-size:11px}.lat-economy-demo{width:100%;white-space:normal}.lat-economy-top{gap:8px}.lat-economy-shop,.lat-economy-lion{min-height:94px;padding:12px}.lat-economy-shop>span,.lat-economy-lion{font-size:38px}.lat-economy-layout{gap:10px}.lat-economy-panel,.lat-economy-card{border-radius:18px}.lat-economy-panel{padding:12px}.lat-world.lat-active-economy .lat-game-screen{padding-bottom:180px!important}.lat-world.lat-active-economy [data-game="economy"]{padding-bottom:200px!important}}

/* Economía 3.3.0 — tienda visual e interacción mejorada */
.lat-economy-game{background:radial-gradient(circle at 10% 0,#fff8d7 0,transparent 30%),radial-gradient(circle at 90% 8%,#dff8eb 0,transparent 31%),linear-gradient(180deg,#f7fbff,#eef7f1);border-radius:28px;padding:16px 16px 160px!important}
.lat-economy-top{align-items:stretch}.lat-economy-business{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}
.lat-economy-shop{position:relative;overflow:hidden;background:linear-gradient(180deg,#bde7ff 0 50%,#d6efc2 50% 100%);border:1px solid rgba(30,86,111,.12);justify-content:flex-end;padding-top:148px}
.lat-shop-scene{position:absolute;inset:8px 10px 42px;border-radius:18px;background:linear-gradient(#d6f2ff 0 52%,#91c77f 52%);overflow:hidden}.lat-shop-scene:before{content:"";position:absolute;left:12%;right:12%;bottom:5px;height:84px;background:#fff4d8;border:4px solid #513a31;border-radius:10px 10px 2px 2px;box-shadow:0 8px 0 rgba(70,49,42,.12)}
.lat-shop-awning{position:absolute;z-index:2;left:8%;right:8%;bottom:76px;height:27px;background:repeating-linear-gradient(90deg,#f55353 0 28px,#fff4df 28px 56px);border-radius:10px 10px 5px 5px;box-shadow:0 5px 0 rgba(74,47,40,.18)}
.lat-shop-sign{position:absolute;z-index:3;left:50%;bottom:109px;transform:translateX(-50%);padding:4px 13px;border-radius:8px;background:#234c3c;color:#fff7c7;font-size:10px;font-weight:950;letter-spacing:.08em;white-space:nowrap}
.lat-shop-window{position:absolute;z-index:3;left:18%;bottom:20px;width:44%;height:46px;display:flex;align-items:center;justify-content:space-evenly;background:#bce9ff;border:3px solid #513a31;border-radius:4px;font-size:21px}.lat-shop-door{position:absolute;z-index:3;right:18%;bottom:5px;width:24%;height:62px;background:#6fb2d8;border:3px solid #513a31;border-radius:5px 5px 0 0}.lat-shop-door:after{content:"";position:absolute;right:5px;top:29px;width:5px;height:5px;border-radius:50%;background:#ffe568}
.lat-shop-customers{position:absolute;z-index:5;left:4%;right:4%;bottom:0;display:flex;justify-content:center;gap:1px;font-size:19px}.lat-shop-customers span,.lat-result-people span{animation:latCustomerIn .5s both;animation-delay:var(--delay)}@keyframes latCustomerIn{from{opacity:0;transform:translateY(14px) scale(.6)}to{opacity:1;transform:none}}
.lat-economy-lion{flex-direction:row;text-align:left;gap:14px;background:linear-gradient(145deg,#fff1ab,#ffd26f);border:1px solid rgba(125,82,20,.12)}.lat-lion-coach{position:relative;font-size:72px;filter:drop-shadow(0 9px 8px rgba(91,55,20,.16));animation:latLionFloat 2.4s ease-in-out infinite}.lat-lion-spark{position:absolute;right:-4px;top:-6px;font-size:22px;color:#fff;animation:latSpark 1.5s ease-in-out infinite}.lat-economy-lion b{display:block;color:#6b430b;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.lat-economy-lion p{text-align:left;color:#4e3c22}@keyframes latLionFloat{50%{transform:translateY(-5px) rotate(-2deg)}}@keyframes latSpark{50%{transform:scale(1.35) rotate(35deg);opacity:.55}}
.lat-economy-marketbar{display:grid;grid-template-columns:180px minmax(140px,1fr) minmax(220px,auto);align-items:center;gap:14px;margin:0 0 14px;padding:12px 16px;border-radius:18px;background:#193e31;color:#fff;box-shadow:0 12px 25px rgba(22,58,45,.18)}.lat-economy-marketbar span,.lat-economy-marketbar small{display:block;color:#c8e8d9;font-size:11px}.lat-economy-marketbar strong{font-size:17px}.lat-market-meter{height:13px;padding:3px;border-radius:99px;background:rgba(255,255,255,.14)}.lat-market-meter i{display:block;width:50%;height:100%;border-radius:99px;background:linear-gradient(90deg,#ffd75e,#6df0a8);transition:width .45s ease}
.lat-economy-product{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f5faf7);border:1px solid rgba(38,76,62,.1);box-shadow:0 9px 20px rgba(31,49,75,.07)}.lat-economy-product:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--product-accent,#58b88a)}.lat-product-mint{--product-accent:#3bbf8a}.lat-product-blue{--product-accent:#4d8fe5}.lat-product-coral{--product-accent:#ef7568}.lat-product-yellow{--product-accent:#e5b52d}.lat-product-purple{--product-accent:#9b76db}
.lat-economy-product-head{align-items:flex-start}.lat-product-visual{position:relative;display:grid!important;place-items:center;flex:0 0 72px;height:72px;border-radius:20px;background:linear-gradient(145deg,color-mix(in srgb,var(--product-accent) 20%,white),#fff);font-size:38px!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--product-accent) 25%,transparent)}.lat-product-visual i{position:absolute;inset:auto 10px 6px;height:10px;border-radius:50%;background:rgba(25,37,49,.12);filter:blur(2px)}.lat-product-visual b{position:relative;transition:transform .2s}.lat-economy-product:hover .lat-product-visual b{transform:scale(1.12) rotate(-5deg)}
.lat-economy-product-head>div{min-width:0;flex:1}.lat-economy-product-head small{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.lat-economy-product-head small span{padding:3px 7px;border-radius:99px;background:#edf2f6;color:#526173}.lat-demand{margin-top:7px}.lat-demand>span{font-size:10px;font-weight:900;color:#5a6979}.lat-demand>i{display:block;height:6px;margin-top:3px;border-radius:99px;background:#e6ebef;overflow:hidden}.lat-demand b{display:block;height:100%;border-radius:99px;background:var(--product-accent)}
.lat-price-presets{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:5px}.lat-price-presets button{border:1px solid rgba(33,64,84,.12);border-radius:8px;padding:5px 3px;background:#f4f7f9;color:#506071;font-size:9px;font-weight:900}.lat-price-presets button:hover,.lat-price-presets button.is-active{background:var(--product-accent);color:#fff;border-color:transparent}.lat-economy-margin{position:relative;overflow:hidden}.lat-economy-margin:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--buy-level);background:var(--product-accent);transition:width .25s}.lat-economy-margin.is-low{background:#fff0ed;color:#a33e31}.lat-economy-margin.is-high{background:#ddf7e8;color:#17623f}
.lat-stepper button{transition:transform .12s,filter .12s}.lat-stepper button:active{transform:scale(.88)}.lat-economy-ads button{position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s}.lat-economy-ads button:hover{transform:translateX(3px)}
.lat-economy-result-scene{position:relative;height:105px;margin:10px 0;border-radius:18px;overflow:hidden;background:linear-gradient(#ccecff 0 62%,#b8dc9d 62%)}.lat-result-store{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);font-size:66px;filter:drop-shadow(0 8px 5px rgba(26,50,42,.18))}.lat-result-people{position:absolute;left:4%;right:4%;bottom:2px;display:flex;justify-content:center;font-size:23px}.lat-economy-result-grid div{transition:transform .2s}.lat-economy-result-grid div:hover{transform:translateY(-3px)}
@media(max-width:900px){.lat-economy-marketbar{grid-template-columns:1fr}.lat-economy-marketbar small{display:none}.lat-economy-business{grid-template-columns:1fr}.lat-economy-shop{min-height:220px}.lat-economy-lion{min-height:110px}}
@media(max-width:700px){.lat-economy-game{padding:9px 8px 140px!important;border-radius:18px}.lat-economy-shop{padding-top:155px!important}.lat-shop-scene{inset:7px 7px 48px}.lat-economy-lion{flex-direction:row!important;align-items:center!important}.lat-lion-coach{font-size:55px}.lat-economy-marketbar{padding:10px 12px;gap:7px}.lat-product-visual{flex-basis:60px;height:60px;font-size:32px!important}.lat-price-presets{grid-template-columns:1fr}.lat-price-presets button{font-size:10px;padding:6px}.lat-economy-product label{grid-template-columns:1fr 124px}.lat-economy-product label:has(.lat-price-presets){grid-template-columns:1fr 124px}.lat-economy-result-scene{height:90px}}


/* v3.3.1 — Emprendedor más compacto, completo y visible */
.lat-world.lat-active-economy .lat-game-screen{padding:10px 14px 120px!important;scroll-padding-top:96px!important}
.lat-economy-top{gap:10px!important;margin-bottom:10px!important;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)!important}
.lat-economy-business{gap:10px!important}.lat-economy-shop,.lat-economy-lion{border-radius:20px!important;padding:14px 16px!important;min-height:112px!important}
.lat-economy-shop{padding-top:124px!important}.lat-shop-scene{inset:8px 8px 38px!important}.lat-shop-awning{bottom:68px;height:22px}.lat-shop-sign{bottom:97px}.lat-shop-window{height:40px;font-size:18px}.lat-shop-door{height:56px}.lat-shop-customers{font-size:17px}
.lat-economy-lion{gap:12px!important}.lat-lion-coach{font-size:64px!important}.lat-economy-lion p{font-size:13px!important;line-height:1.3!important}
.lat-economy-hud{gap:8px!important}.lat-economy-hud>div{padding:12px!important;min-height:82px!important}.lat-economy-hud strong{font-size:20px!important}
.lat-economy-guide{top:50px!important;margin-bottom:10px!important;padding:10px 12px!important;gap:10px!important}.lat-economy-guide-head>span{font-size:28px!important}.lat-economy-guide-head small{font-size:11px!important}.lat-economy-steps button{padding:6px 8px!important}.lat-economy-demo{padding:9px 11px!important}
.lat-economy-marketbar{margin-bottom:10px!important;padding:10px 14px!important;grid-template-columns:170px minmax(140px,1fr) minmax(220px,auto)!important}
.lat-economy-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:12px!important}.lat-economy-panel,.lat-economy-card{border-radius:20px!important}.lat-economy-panel{padding:14px!important}.lat-economy-card{padding:14px!important}.lat-economy-section-title{margin-bottom:10px!important}.lat-economy-section-title h4,.lat-economy-card h4{font-size:20px!important}
.lat-economy-products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.lat-economy-product{padding:12px!important;border-radius:18px!important}.lat-economy-product-head{margin-bottom:8px!important}.lat-product-visual{flex-basis:60px!important;height:60px!important;font-size:30px!important;border-radius:16px!important}.lat-economy-product-head strong{font-size:17px}.lat-economy-product-head small span{font-size:11px}.lat-demand{margin-top:5px!important}.lat-economy-product label{margin-top:7px!important;font-size:12px!important;grid-template-columns:1fr 118px!important}.lat-stepper{grid-template-columns:30px 1fr 30px!important}.lat-stepper button{font-size:17px!important}.lat-economy-product input{padding:7px 8px!important}.lat-price-presets button{padding:4px 3px!important;font-size:8.5px!important}.lat-economy-margin{margin-top:8px!important;padding:6px 8px!important;font-size:11px!important}
.lat-economy-side{gap:10px!important}.lat-economy-summary{position:sticky;top:124px}
@media(max-width:1450px){.lat-economy-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lat-economy-layout{grid-template-columns:minmax(0,1fr) 270px!important}.lat-economy-top{grid-template-columns:1fr 320px!important}}
@media(max-width:1100px){.lat-economy-top,.lat-economy-layout{grid-template-columns:1fr!important}.lat-economy-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lat-economy-side{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start}.lat-economy-summary{position:static}.lat-economy-side>*{min-width:0}}
@media(max-width:820px){.lat-economy-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lat-economy-summary{grid-column:1/-1}.lat-economy-products{grid-template-columns:1fr!important}}
@media(max-width:700px){.lat-world.lat-active-economy .lat-game-screen{padding:8px 8px 170px!important}.lat-economy-guide{top:42px!important}.lat-economy-top{gap:8px!important}.lat-economy-shop{padding-top:148px!important}.lat-economy-panel{padding:12px!important}.lat-economy-card{padding:12px!important}.lat-economy-hud>div{min-height:74px!important}}


/* v3.3.2 — Emprendedor sin recortes, scroll real en modo juego */
.lat-world.lat-game-mode.lat-active-economy .lat-game-screen,
.lat-world:fullscreen.lat-active-economy .lat-game-screen,
.lat-world:-webkit-full-screen.lat-active-economy .lat-game-screen{
  display:block!important;
  height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  padding:0 0 max(140px,env(safe-area-inset-bottom)) 0!important;
}
.lat-world.lat-game-mode.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]),
.lat-world:fullscreen.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]),
.lat-world:-webkit-full-screen.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]){
  display:block!important;
  flex:none!important;
  height:auto!important;
  min-height:max-content!important;
  overflow:visible!important;
  padding-bottom:240px!important;
}
.lat-world.lat-game-mode.lat-active-economy .lat-economy-game,
.lat-world:fullscreen.lat-active-economy .lat-economy-game,
.lat-world:-webkit-full-screen.lat-active-economy .lat-economy-game{
  min-height:max-content!important;
  height:auto!important;
  overflow:visible!important;
}
@media(max-height:820px){
  .lat-world.lat-game-mode.lat-active-economy .lat-game-screen,
  .lat-world:fullscreen.lat-active-economy .lat-game-screen,
  .lat-world:-webkit-full-screen.lat-active-economy .lat-game-screen{padding-bottom:220px!important}
  .lat-world.lat-game-mode.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]),
  .lat-world:fullscreen.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]),
  .lat-world:-webkit-full-screen.lat-active-economy .lat-game-screen>[data-game="economy"]:not([hidden]){padding-bottom:280px!important}
}


/* v3.4.0 — economía más intuitiva */
.lat-economy-mini-help{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.78);border:1px dashed rgba(35,76,60,.18)}
.lat-economy-mini-help strong{color:#234c3c;font-size:12px;margin-right:4px}.lat-economy-mini-help span{padding:6px 10px;border-radius:999px;background:#edf7f1;color:#37594a;font-size:11px;font-weight:800}
.lat-economy-unit-profit{display:flex;justify-content:space-between;align-items:center;margin-top:6px;padding:7px 9px;border-radius:12px;background:#f7fbf7;color:#2d5542;font-size:12px;font-weight:800}.lat-economy-unit-profit strong{font-size:14px}
.lat-economy-inline-tip{margin-top:6px;padding:8px 10px;border-radius:12px;background:#fff8de;color:#6f5720;font-size:11px;font-weight:700;line-height:1.35}
.lat-economy-checklist{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 8px}.lat-economy-checklist span{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.lat-economy-checklist .is-ok{background:#dff7e9;color:#1d6a44}.lat-economy-checklist .is-pending{background:#eef2f4;color:#667587}
.lat-economy-next-tip{margin-bottom:10px;padding:10px 12px;border-radius:14px;background:#f6f8ea;color:#38522f;font-size:12px;font-weight:800;line-height:1.4}
.lat-help-example{margin-top:12px;padding:12px 14px;border-radius:16px;background:#fff8de;border:1px solid rgba(166,131,36,.18);color:#59491b}.lat-help-example strong{display:block;margin-bottom:4px}
.lat-economy-product label{align-items:start}.lat-price-presets button{font-size:9px!important}
@media(max-width:900px){.lat-economy-mini-help{gap:5px}.lat-economy-mini-help span{font-size:10px;padding:5px 8px}}


/* v3.5.0 — economía más viva y realista */
.lat-economy-live-modal{max-width:860px!important;background:linear-gradient(180deg,#fffef9,#eef8f0)!important}.lat-live-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.lat-live-head h3{margin:2px 0 0}.lat-live-market{padding:8px 12px;border-radius:999px;background:#e9f8ee;color:#1f6d46;font-size:12px;font-weight:900}
.lat-live-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.lat-live-stats>div{padding:12px;border-radius:16px;background:#fff;border:1px solid rgba(30,70,52,.08)}.lat-live-stats span{display:block;font-size:11px;color:#6b7a83;font-weight:800}.lat-live-stats strong{display:block;margin-top:3px;font-size:21px;color:#173f2e}
.lat-live-scene{position:relative;height:220px;border-radius:22px;overflow:hidden;background:linear-gradient(#d3efff 0 54%,#97cc7a 54% 100%);margin-bottom:12px}.lat-live-storefront{position:absolute;right:8%;bottom:18px;font-size:110px;filter:drop-shadow(0 10px 8px rgba(23,57,44,.18))}.lat-live-lane{position:absolute;left:0;right:0;bottom:28px;height:86px;display:flex;align-items:flex-end;justify-content:flex-start;padding-left:22px}.lat-live-customer{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:18px;background:rgba(255,255,255,.93);box-shadow:0 10px 25px rgba(19,52,41,.16);animation:latLiveWalk .58s ease-out both}.lat-live-customer span{font-size:34px}.lat-live-customer b{font-size:28px}.lat-live-bubble{position:absolute;left:22px;top:18px;max-width:58%;padding:12px 14px;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(21,50,42,.14);font-weight:800;color:#284639;line-height:1.35}.lat-live-bubble:after{content:"";position:absolute;left:18px;bottom:-10px;border-width:10px 10px 0 0;border-style:solid;border-color:#fff transparent transparent transparent}
.lat-live-progress{height:12px;padding:2px;border-radius:999px;background:#e3ece6;margin-bottom:10px}.lat-live-progress i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#1fd47b,#ffe13b);transition:width .45s ease}
.lat-live-feed{display:grid;gap:8px}.lat-live-feed-item{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;padding:9px 10px;border-radius:14px;background:#fff;border:1px solid rgba(32,68,57,.08);animation:latFadeIn .35s ease}.lat-live-feed-item strong{display:block;color:#193e31}.lat-live-feed-item small{display:block;color:#6f7c86;font-size:11px;font-weight:700}.lat-live-feed-item b{color:#1f6d46;font-size:13px}.lat-live-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf8f0;font-size:20px}.lat-live-feed-item.is-first{box-shadow:0 12px 24px rgba(22,63,47,.12)}
@keyframes latLiveWalk{from{opacity:0;transform:translateX(-140px) translateY(10px) scale(.9)}to{opacity:1;transform:none}}@keyframes latFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:900px){.lat-live-stats{grid-template-columns:1fr}.lat-live-bubble{max-width:74%}.lat-live-storefront{font-size:88px;right:4%}.lat-live-scene{height:200px}}


/* v3.6.0 — economía estilo videojuego */
.lat-live-stats{grid-template-columns:repeat(4,1fr)!important}.lat-live-scene{position:relative;height:340px!important;border-radius:26px;overflow:hidden;background:linear-gradient(#d6efff 0 44%,#7cc46f 44% 100%);margin-bottom:12px}.lat-live-sky{position:absolute;inset:0 0 56% 0;background:radial-gradient(circle at 18% 22%,rgba(255,255,255,.92) 0 20px,transparent 22px),radial-gradient(circle at 78% 18%,rgba(255,255,255,.92) 0 16px,transparent 18px)}
.lat-live-shopfront{position:absolute;right:48px;bottom:38px;width:320px;height:180px;border-radius:22px 22px 12px 12px;background:linear-gradient(#fff7db 0 24%,#f2ede2 24% 100%);border:5px solid #7a5f31;box-shadow:0 16px 28px rgba(25,57,46,.16)}.lat-live-sign{position:absolute;left:50%;top:14px;transform:translateX(-50%);padding:6px 14px;border-radius:999px;background:#204e3f;color:#fff;font-size:12px;font-weight:900;letter-spacing:.08em}.lat-live-shelf{position:absolute;left:16px;right:16px;top:50px;padding:8px 10px;border-radius:14px;background:#fff;border:1px solid rgba(31,69,53,.1);font-size:12px;font-weight:900;color:#315644}
.lat-live-counter{position:absolute;left:16px;right:16px;bottom:16px;height:78px;border-radius:18px;background:linear-gradient(180deg,#7aa4d2,#4e7fae);border:3px solid rgba(32,57,78,.18)}.lat-live-lion{position:absolute;left:22px;bottom:42px;display:flex;flex-direction:column;align-items:center;gap:4px;transition:transform .25s ease}.lat-live-lion span{font-size:58px;filter:drop-shadow(0 6px 4px rgba(18,52,39,.18))}.lat-live-lion small{padding:4px 8px;border-radius:999px;background:#fff;color:#234637;font-size:10px;font-weight:900}.lat-live-lion[data-state="serving"]{transform:translateX(10px) scale(1.04)}.lat-live-lion[data-state="working"] span{animation:latLionBounce .6s infinite alternate}.lat-live-lion[data-state="happy"] span{transform:scale(1.07)}
.lat-live-cash-pop{position:absolute;right:22px;top:-18px;padding:8px 12px;border-radius:999px;background:#18b76a;color:#fff;font-weight:900;box-shadow:0 12px 22px rgba(24,183,106,.24);opacity:0;transform:translateY(10px) scale(.92);transition:.24s}.lat-live-cash-pop.is-visible{opacity:1;transform:translateY(-6px) scale(1)}
.lat-live-supplier-truck{position:absolute;left:22px;bottom:124px;font-size:54px;filter:drop-shadow(0 8px 6px rgba(23,46,39,.15));transition:transform .5s ease}.lat-live-supplier-truck.is-leaving{transform:translateX(28px)}
.lat-live-lane{position:absolute;left:20px;right:392px;bottom:54px;height:96px;display:flex;align-items:flex-end}.lat-live-customer.current,.lat-live-delivery{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.95);box-shadow:0 12px 24px rgba(19,52,41,.16);animation:latLiveWalk .55s ease}.lat-live-customer.current span{font-size:34px}.lat-live-customer.current b,.lat-live-delivery span{font-size:30px}.lat-live-customer.current small,.lat-live-delivery small{display:block;color:#687985;font-size:11px;font-weight:800}.lat-live-delivery b{color:#1d5b44;font-size:13px}
.lat-live-queue{position:absolute;left:22px;right:24px;bottom:8px;display:flex;gap:8px;align-items:flex-end}.lat-live-queue-item,.lat-live-queue-empty{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:14px;background:rgba(255,255,255,.88);backdrop-filter:blur(5px);font-weight:800;color:#28433a}.lat-live-queue-item span{font-size:20px}.lat-live-queue-item b{font-size:18px}.lat-live-queue-item small{font-size:10px}.lat-live-queue-item.is-next{background:#fff4c8}.lat-live-queue-empty{font-size:11px}
.lat-live-bubble{max-width:56%!important}.lat-live-feed-item b{color:#0e8d51!important}.lat-economy-product-head small{display:flex;flex-wrap:wrap;gap:6px 10px}.lat-economy-product-head small span:nth-child(3){color:#425f50;font-weight:800}
@keyframes latLionBounce{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@media(max-width:980px){.lat-live-stats{grid-template-columns:repeat(2,1fr)!important}.lat-live-scene{height:380px!important}.lat-live-shopfront{right:18px;left:18px;bottom:104px;width:auto}.lat-live-lane{left:18px;right:18px;bottom:208px}.lat-live-queue{flex-wrap:wrap}.lat-live-bubble{max-width:72%!important}}


/* v4.0.0 — Emprendedor convertido en videojuego jugable */
.lat-store-game-modal{width:min(96%,1100px)!important;max-height:96vh!important;overflow:auto!important;background:linear-gradient(180deg,#fffdf4,#e9f7ee)!important;padding:16px!important}
.lat-store-game-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.lat-store-game-head h3{margin:2px 0 0;font-size:25px}.lat-store-clock{display:flex;align-items:center;gap:9px;padding:8px 14px;border-radius:18px;background:#173f31;color:#fff}.lat-store-clock span{font-size:11px;font-weight:800}.lat-store-clock strong{font-size:25px;color:#ffe36e}
.lat-store-game-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:10px}.lat-store-game-hud>div{padding:10px 12px;border-radius:15px;background:#fff;border:1px solid rgba(29,67,52,.09);box-shadow:0 7px 18px rgba(22,54,42,.06)}.lat-store-game-hud span{display:block;color:#66766e;font-size:11px;font-weight:800}.lat-store-game-hud strong{display:block;margin-top:2px;color:#173f31;font-size:20px}
.lat-store-game-scene{position:relative;height:500px;border-radius:25px;overflow:hidden;background:linear-gradient(#cdeeff 0 38%,#91cc75 38% 72%,#d8c9a7 72%);border:4px solid #fff;box-shadow:0 15px 35px rgba(22,57,43,.15)}
.lat-store-road{position:absolute;left:0;right:0;bottom:0;height:28%;background:linear-gradient(#d8c9a7,#b9aa8b)}.lat-store-road:after{content:"";position:absolute;left:0;right:0;top:42%;height:5px;background:repeating-linear-gradient(90deg,#fff 0 35px,transparent 35px 65px)}
.lat-store-building{position:absolute;right:4%;top:8%;width:56%;height:66%;border:6px solid #654a2e;border-radius:20px 20px 10px 10px;background:linear-gradient(#fff0bd 0 18%,#f8f3e7 18%);box-shadow:0 18px 0 rgba(79,57,35,.13)}.lat-store-sign{position:absolute;left:50%;top:12px;transform:translateX(-50%);padding:7px 22px;border-radius:999px;background:#214f3d;color:#fff8ca;font-size:14px;font-weight:950;letter-spacing:.12em}
.lat-store-shelves{position:absolute;left:18px;right:18px;top:72px;display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.lat-store-shelf-item{position:relative;min-height:105px;padding:9px 5px 24px;border-radius:13px;background:linear-gradient(#fff,#ece8dc);border:3px solid #9a7a52;text-align:center;transition:.2s}.lat-store-shelf-item span{display:block;font-size:35px}.lat-store-shelf-item b{display:block;font-size:10px;line-height:1.1;color:#3c4d44}.lat-store-shelf-item small{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#214f3d;color:#fff;font-weight:900}.lat-store-shelf-item.is-picked{transform:scale(1.08);box-shadow:0 0 0 5px rgba(255,210,52,.45)}
.lat-store-counter{position:absolute;left:8%;right:8%;bottom:18px;height:105px;border-radius:18px;background:linear-gradient(#6ea5d3,#3f719e);border:5px solid #345875}.lat-store-register{position:absolute;right:22px;top:17px;font-size:42px}.lat-store-lion{position:absolute;left:24px;bottom:39px;display:flex;flex-direction:column;align-items:center;transition:transform .55s ease}.lat-store-lion span{font-size:72px;filter:drop-shadow(0 7px 5px rgba(28,46,37,.2))}.lat-store-lion small{padding:3px 8px;border-radius:999px;background:#fff;color:#26473a;font-size:10px;font-weight:900}.lat-store-lion.is-moving{transform:translateX(var(--target-x,80px)) scale(.95)}.lat-store-lion.is-cashing span{animation:latCashLion .25s 2 alternate}.lat-store-sale-pop{position:absolute;right:60px;top:-20px;padding:8px 13px;border-radius:999px;background:#17ae62;color:#fff;font-weight:950;opacity:0;transform:translateY(10px);transition:.2s}.lat-store-sale-pop.is-visible{opacity:1;transform:translateY(-4px)}
.lat-store-door{position:absolute;right:1.5%;bottom:23%;font-size:58px;z-index:4}.lat-store-truck{position:absolute;left:-130px;bottom:24%;display:flex;flex-direction:column;align-items:center;z-index:5;transition:transform 1.1s ease}.lat-store-truck span{font-size:75px}.lat-store-truck small{padding:4px 9px;border-radius:999px;background:#fff;font-weight:900}.lat-store-truck.is-arriving{transform:translateX(190px)}.lat-store-truck.is-leaving{transform:translateX(760px)}
.lat-store-customers{position:absolute;left:2%;right:42%;bottom:7%;display:flex;align-items:flex-end;gap:9px;z-index:7}.lat-store-customer{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:100px;padding:8px;border:0;border-radius:17px;background:rgba(255,255,255,.95);box-shadow:0 10px 24px rgba(26,55,44,.18);cursor:pointer;animation:latCustomerEnter .45s ease both;transition:.2s}.lat-store-customer:hover{transform:translateY(-5px) scale(1.03)}.lat-store-person{font-size:42px}.lat-store-request{display:flex;align-items:center;gap:5px}.lat-store-request b{font-size:22px}.lat-store-request small{max-width:70px;color:#314a3f;font-size:9px;font-weight:850;line-height:1.1}.lat-store-customer>i{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#39b96f;color:#fff;font-style:normal;font-weight:950}.lat-store-customer.is-waiting{box-shadow:0 0 0 4px rgba(255,190,45,.5)}.lat-store-customer.is-waiting>i{background:#e8a72a}.lat-store-customer.is-angry{animation:latCustomerAngry .28s infinite alternate}.lat-store-customer.is-angry>i{background:#dd4e4e}.lat-store-customer.is-serving{pointer-events:none;transform:translateX(170px) scale(.95)}.lat-store-customer.is-served{opacity:0;transform:translateX(330px) scale(.7)}.lat-store-customer.is-leaving{opacity:0;transform:translateX(-130px) scale(.8)}
.lat-store-message{position:absolute;left:18px;top:18px;max-width:38%;padding:11px 14px;border-radius:17px;background:rgba(255,255,255,.95);box-shadow:0 10px 23px rgba(21,53,41,.14);color:#29483b;font-size:13px;font-weight:850;line-height:1.35}.lat-store-message:after{content:"";position:absolute;left:24px;bottom:-11px;border:11px solid transparent;border-top-color:#fff}.lat-store-instructions{margin:10px 0 8px;padding:10px 13px;border-radius:14px;background:#fff6c8;color:#5d4a13;font-size:12px;font-weight:850;text-align:center}.lat-store-progress{height:12px;padding:2px;border-radius:999px;background:#dce8df}.lat-store-progress i{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#29b96c,#ffe03f);transition:width .4s}
@keyframes latCustomerEnter{from{opacity:0;transform:translateX(-80px)}to{opacity:1;transform:none}}@keyframes latCustomerAngry{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}@keyframes latCashLion{from{transform:scale(1)}to{transform:scale(1.1) rotate(-3deg)}}
@media(max-width:900px){.lat-store-game-hud{grid-template-columns:repeat(2,1fr)}.lat-store-game-scene{height:560px}.lat-store-building{left:3%;right:3%;width:auto;height:58%}.lat-store-shelves{grid-template-columns:repeat(5,1fr)}.lat-store-customers{left:2%;right:2%;bottom:4%;overflow-x:auto;padding-bottom:5px}.lat-store-message{max-width:58%}.lat-store-truck.is-leaving{transform:translateX(1050px)}}
@media(max-width:600px){.lat-store-game-modal{padding:9px!important}.lat-store-game-head h3{font-size:19px}.lat-store-game-scene{height:610px}.lat-store-building{height:54%}.lat-store-shelves{grid-template-columns:repeat(3,1fr);top:62px}.lat-store-shelf-item{min-height:78px}.lat-store-shelf-item span{font-size:27px}.lat-store-shelf-item:nth-child(n+4){display:none}.lat-store-counter{height:88px}.lat-store-lion span{font-size:58px}.lat-store-customers{bottom:3%}.lat-store-customer{min-width:88px}.lat-store-message{max-width:72%;font-size:11px}}


/* v4.0.1 — entrada claramente visible al modo videojuego */
.lat-store-entry-preview{display:grid;grid-template-columns:minmax(420px,1.35fr) minmax(300px,.65fr);gap:18px;align-items:stretch;margin:0 0 18px;padding:16px;border-radius:26px;background:linear-gradient(135deg,#163f31,#2a7655);box-shadow:0 18px 40px rgba(18,54,42,.2);color:#fff}
.lat-store-entry-scene{position:relative;min-height:300px;border-radius:22px;overflow:hidden;background:linear-gradient(#bfeaff 0 48%,#8dca73 48% 72%,#d3bd8f 72%);border:4px solid rgba(255,255,255,.8)}
.lat-entry-sun{position:absolute;right:24px;top:18px;font-size:42px}
.lat-entry-truck{position:absolute;left:24px;bottom:58px;display:flex;flex-direction:column;align-items:center;font-size:64px;animation:latEntryTruck 2.2s ease-in-out infinite alternate}
.lat-entry-truck small{margin-top:-5px;padding:4px 8px;border-radius:999px;background:#fff;color:#23483a;font-size:9px;font-weight:950}
.lat-entry-shop{position:absolute;right:25px;bottom:34px;width:55%;height:205px;border:5px solid #684d2f;border-radius:18px 18px 8px 8px;background:#fff0c2;box-shadow:0 14px 0 rgba(67,48,29,.12)}
.lat-entry-sign{position:absolute;left:50%;top:12px;transform:translateX(-50%);padding:6px 13px;border-radius:999px;background:#214f3d;color:#fff6bf;font-size:11px;font-weight:950;white-space:nowrap}
.lat-entry-window{position:absolute;left:18px;right:18px;top:58px;height:60px;display:flex;align-items:center;justify-content:space-around;border:4px solid #775b38;border-radius:10px;background:#c9efff;font-size:28px}
.lat-entry-counter{position:absolute;left:20px;right:20px;bottom:13px;height:60px;border-radius:14px;background:#5d91be;border:4px solid #3c6485}
.lat-entry-lion{position:absolute;left:18px;bottom:24px;font-size:54px;animation:latEntryLion .55s ease-in-out infinite alternate}
.lat-entry-register{position:absolute;right:18px;top:6px;font-size:36px}
.lat-entry-clients{position:absolute;left:28%;bottom:22px;display:flex;gap:2px;font-size:40px;animation:latEntryClients 1.8s ease-in-out infinite alternate}
.lat-store-entry-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px}
.lat-store-entry-copy h4{margin:8px 0;font-size:clamp(25px,3vw,40px);line-height:1.02;color:#fff}
.lat-store-entry-copy p{margin:0 0 14px;color:#dcefe6;font-weight:700;line-height:1.45}
.lat-store-entry-features{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.lat-store-entry-features span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-size:11px;font-weight:900}
.lat-store-entry-start{width:100%;background:#ffe053!important;color:#3c3310!important;font-size:14px!important}
@keyframes latEntryTruck{from{transform:translateX(-8px)}to{transform:translateX(12px)}}
@keyframes latEntryLion{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes latEntryClients{from{transform:translateX(-5px)}to{transform:translateX(10px)}}
@media(max-width:900px){.lat-store-entry-preview{grid-template-columns:1fr}.lat-store-entry-scene{min-height:280px}.lat-store-entry-copy{padding:4px 2px 8px}}
@media(max-width:600px){.lat-store-entry-preview{padding:10px;border-radius:20px}.lat-store-entry-scene{min-height:250px}.lat-entry-shop{width:63%;right:10px;height:175px}.lat-entry-window{font-size:22px}.lat-entry-truck{left:8px;font-size:52px}.lat-entry-clients{left:13%;font-size:31px}.lat-store-entry-copy h4{font-size:28px}}


/* v4.1.0 — proveedor real y objetivo de jornada */
.lat-supplier-select{margin:0 0 14px;padding:14px;border-radius:22px;background:#fff;border:1px solid rgba(31,69,53,.1);box-shadow:0 10px 24px rgba(27,65,50,.08)}
.lat-supplier-title{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:10px}.lat-supplier-title span{font-size:10px;font-weight:950;color:#1f6d46}.lat-supplier-title h4{margin:2px 0 0}.lat-supplier-title small{font-weight:700;color:#75827c}
.lat-supplier-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lat-supplier-options button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:2px 9px;text-align:left;padding:12px;border-radius:17px;border:2px solid #e4ece7;background:#f8fbf9;cursor:pointer}.lat-supplier-options button>span{grid-row:1/3;font-size:30px}.lat-supplier-options button strong{font-size:13px;color:#244b3a}.lat-supplier-options button small{font-size:10px;color:#718078;font-weight:700}.lat-supplier-options button.is-active{border-color:#1fbd70;background:#e8f9ef;box-shadow:0 8px 18px rgba(31,189,112,.12)}
.lat-store-game-hud{grid-template-columns:repeat(5,1fr)!important}.lat-store-game-hud>div:last-child{background:#fff7cd!important}.lat-store-game-hud>div:last-child strong{color:#7d6213!important}
@media(max-width:900px){.lat-supplier-options{grid-template-columns:1fr}.lat-supplier-title{align-items:start;flex-direction:column}.lat-store-game-hud{grid-template-columns:repeat(2,1fr)!important}}

/* v4.2.0 — La Tienda del León: videojuego directo */
.lat-shop-sim{--shop-green:#1d6b4b;--shop-dark:#173c30}.lat-shopbar{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;margin-bottom:10px}.lat-shopbar h3{margin:5px 0 0;font-size:clamp(25px,3vw,38px)}.lat-shopbar-stats{display:flex;gap:8px}.lat-shopbar-stats>div{min-width:110px;padding:9px 12px;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(18,54,42,.09)}.lat-shopbar-stats span{display:block;font-size:10px;font-weight:800;color:#697984}.lat-shopbar-stats strong{font-size:17px;color:#183e31}.lat-shopgame-wrap{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;min-height:650px}.lat-shopgame-stage{position:relative;min-height:650px;border:6px solid #fff;border-radius:25px;overflow:hidden;background:#d7edf4;box-shadow:0 14px 35px rgba(26,62,48,.16)}.lat-shopgame-wall{position:absolute;inset:0 0 auto;height:110px;background:linear-gradient(#fff1b7,#efd38a);border-bottom:6px solid #94743f}.lat-shopgame-sign{position:absolute;left:50%;top:22px;transform:translateX(-50%);padding:9px 20px;border-radius:999px;background:#21513d;color:#fff4b8;font-weight:950;letter-spacing:.06em}.lat-shopgame-clock{position:absolute;right:22px;top:27px;padding:9px 13px;border-radius:13px;background:#fff;font-weight:900}.lat-shopgame-floor{position:absolute;inset:110px 0 0;background:linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),#c89f70;background-size:58px 58px}.lat-shopgame-door{position:absolute;left:20px;top:140px;width:105px;height:150px;border-radius:12px 12px 0 0;background:#79b9df;border:8px solid #5a4735;display:grid;place-items:end center;padding-bottom:10px;color:#fff;font-size:10px;font-weight:950}.lat-shopgame-shelf{position:absolute;width:170px;height:115px;border-radius:16px;background:linear-gradient(#f7f0dc 0 25%,#97704b 25% 32%,#e9d6b8 32% 67%,#97704b 67% 74%,#d8bc91 74%);border:5px solid #6e5037;box-shadow:0 10px 0 rgba(77,53,34,.13);display:grid;grid-template-columns:1fr auto;align-items:center;padding:15px}.lat-shopgame-shelf b{font-size:42px}.lat-shopgame-shelf span{position:absolute;left:12px;bottom:6px;font-size:10px;font-weight:950}.lat-shopgame-shelf small{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1c704d;color:#fff;font-size:14px;font-weight:950}.shelf-a{left:24%;top:160px}.shelf-b{left:51%;top:160px}.shelf-c{left:38%;top:330px}.lat-shopgame-counter{position:absolute;right:28px;bottom:28px;width:250px;height:105px;border-radius:20px;background:linear-gradient(#5f97c4,#3d6e96);border:6px solid #315671;box-shadow:0 12px 0 rgba(35,63,83,.18)}.lat-shopgame-counter>span{position:absolute;right:20px;bottom:10px;color:#e8f7ff;font-weight:950}.lat-shopgame-counter>b{position:absolute;right:28px;top:12px;font-size:35px}.lat-shopgame-lion{position:absolute;right:155px;bottom:105px;z-index:8;display:flex;flex-direction:column;align-items:center;transition:transform .45s ease}.lat-shopgame-lion span{font-size:68px;filter:drop-shadow(0 8px 5px rgba(34,53,42,.18))}.lat-shopgame-lion small{padding:4px 8px;border-radius:999px;background:#fff;color:#23483a;font-size:9px;font-weight:950}.lat-shopgame-truck{position:absolute;left:-140px;bottom:20px;display:flex;flex-direction:column;align-items:center;transition:transform .7s ease;z-index:7}.lat-shopgame-truck span{font-size:70px}.lat-shopgame-truck small{padding:4px 8px;border-radius:999px;background:#fff;font-size:9px;font-weight:950}.lat-shopgame-truck.is-arriving{transform:translateX(220px)}.lat-shopgame-truck.is-leaving{transform:translateX(1100px)}.lat-shopgame-clients{position:absolute;inset:0;z-index:9}.lat-shop-customer{position:absolute;left:35px;top:300px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;cursor:pointer;animation:shopCustomerIn .55s ease both}.lat-shop-customer[style*="--lane: 1"]{left:175px;top:390px}.lat-shop-customer[style*="--lane: 2"]{left:310px;top:455px}.lat-shop-customer[style*="--lane: 3"]{left:455px;top:390px}.lat-shop-customer .face{font-size:52px}.lat-shop-customer .wish{position:absolute;left:40px;top:-12px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;font-size:23px;box-shadow:0 7px 18px rgba(24,55,43,.18)}.lat-shop-customer small{width:64px;height:8px;padding:2px;border-radius:999px;background:#fff}.lat-shop-customer small i{display:block;width:var(--patience,100%);height:100%;border-radius:999px;background:linear-gradient(90deg,#ff4d5d,#ffd43b,#20c878)}.lat-shop-customer.is-serving{transform:scale(1.08)}.lat-shop-customer.is-bought{animation:shopCustomerOut .45s ease forwards}.lat-shop-customer.is-leaving{filter:grayscale(.6);animation:shopLeave .45s ease forwards}.lat-shopgame-toast{position:absolute;left:50%;bottom:22px;transform:translate(-50%,18px);padding:11px 16px;border-radius:999px;background:rgba(23,60,48,.94);color:#fff;font-weight:900;opacity:.88;z-index:20;transition:.25s}.lat-shopgame-toast.is-show{transform:translate(-50%,0);background:#173c30}.lat-shopgame-panel{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:24px;background:#f8fbf8;border:1px solid rgba(29,78,58,.1);overflow:auto}.lat-shop-phase{padding:12px;border-radius:16px;background:#1d6b4b;color:#fff}.lat-shop-phase span,.lat-shop-phase small{display:block;font-size:10px;font-weight:800}.lat-shop-phase strong{display:block;font-size:18px;margin:3px 0}.lat-shop-supplier-buttons{display:grid;gap:6px}.lat-shop-supplier-buttons button{display:flex;justify-content:space-between;gap:5px;padding:9px;border:1px solid #dbe6df;border-radius:12px;background:#fff;text-align:left}.lat-shop-supplier-buttons button.is-active{border-color:#24ad70;background:#eaf9f1}.lat-shop-supplier-buttons b{font-size:11px}.lat-shop-supplier-buttons small{font-size:9px}.lat-shop-orders{display:grid;gap:7px}.lat-shop-order-row{display:grid;grid-template-columns:1fr auto;gap:2px;padding:8px;border-radius:13px;background:#fff;border:1px solid #e2ebe5}.lat-shop-order-row>span{font-weight:900}.lat-shop-order-row>small{font-size:9px}.lat-shop-order-row>div{grid-column:1/-1;display:grid;grid-template-columns:36px 1fr 36px;gap:5px;align-items:center}.lat-shop-order-row button{height:30px;border:0;border-radius:9px;background:#1d6b4b;color:#fff;font-size:18px}.lat-shop-order-row strong{text-align:center}.lat-shop-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.lat-shop-prices>span{grid-column:1/-1}.lat-shop-prices label{display:flex;gap:4px;align-items:center}.lat-shop-prices input{width:100%;min-width:0;padding:7px;border:1px solid #d7e2db;border-radius:9px}.lat-shop-budget{display:grid;grid-template-columns:1fr auto;gap:5px;padding:10px;border-radius:14px;background:#eef5ef}.lat-shop-live-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.lat-shop-live-stats>div{padding:8px;border-radius:12px;background:#fff;text-align:center}.lat-shop-live-stats span{display:block;font-size:9px}.lat-shop-live-stats strong{font-size:15px}.lat-shop-open{background:linear-gradient(90deg,#ffcb32,#ff6b35)!important}.lat-store-sale-pop{position:absolute;right:40px;bottom:130px;z-index:12;padding:8px 12px;border-radius:999px;background:#18b76a;color:#fff;font-weight:950;opacity:0;transform:translateY(10px);transition:.25s}.lat-store-sale-pop.is-visible{opacity:1;transform:translateY(-8px)}.lat-shop-result-modal{max-width:720px!important}.is-loss{color:#d63246!important}
@keyframes shopCustomerIn{from{opacity:0;transform:translateX(-100px)}to{opacity:1;transform:none}}@keyframes shopCustomerOut{to{opacity:0;transform:translateX(180px) scale(.9)}}@keyframes shopLeave{to{opacity:0;transform:translateX(-150px)}}
@media(max-width:1050px){.lat-shopgame-wrap{grid-template-columns:1fr}.lat-shopgame-panel{max-height:none}.lat-shopgame-stage{min-height:600px}.lat-shopbar{grid-template-columns:1fr auto}.lat-shopbar-stats{grid-column:1/-1}.lat-shopbar>.lat-icon-btn{position:absolute;right:12px;top:12px}}@media(max-width:700px){.lat-shopbar-stats{display:grid;grid-template-columns:repeat(3,1fr)}.lat-shopbar-stats>div{min-width:0}.lat-shopgame-stage{min-height:560px}.lat-shopgame-shelf{width:130px}.shelf-a{left:19%}.shelf-b{left:55%}.shelf-c{left:37%;top:315px}.lat-shopgame-counter{width:210px}.lat-shop-customer[style*="--lane: 1"]{left:90px}.lat-shop-customer[style*="--lane: 2"]{left:210px}.lat-shop-customer[style*="--lane: 3"]{left:330px}}


/* v4.2.1 - personajes mejorados y entrega de mercadería clara */
.lat-shopgame-stage{background:linear-gradient(#dbeff6,#d7edf4)!important}
.lat-shopgame-shelf.is-stocked{box-shadow:0 0 0 6px rgba(30,195,110,.25),0 10px 0 rgba(77,53,34,.13);transform:scale(1.03)}
.lat-shopgame-lion{right:160px;bottom:98px}.lat-shopgame-lion.is-serving .lat-lion-avatar{transform:scale(1.05)}
.lat-lion-avatar{position:relative;display:block;width:82px;height:92px}.lat-lion-avatar .mane{position:absolute;inset:3px 2px 20px;border-radius:48% 48% 44% 44%;background:radial-gradient(circle at 50% 45%,#f7d46c 0 24%,#b26f24 25% 58%,#874c18 59%);box-shadow:0 8px 12px rgba(46,39,18,.15)}.lat-lion-avatar .head{position:absolute;left:20px;top:18px;width:42px;height:42px;border-radius:48%;background:linear-gradient(#fbe8a5,#efbf56)}.lat-lion-avatar .snout{position:absolute;left:27px;top:37px;width:28px;height:18px;border-radius:12px;background:#f8f0cf;box-shadow:0 -10px 0 -8px #2f2417}.lat-lion-avatar .snout:before,.lat-lion-avatar .snout:after{content:"";position:absolute;top:-10px;width:8px;height:8px;border-radius:50%;background:#2b2116}.lat-lion-avatar .snout:before{left:3px}.lat-lion-avatar .snout:after{right:3px}.lat-lion-avatar .body{position:absolute;left:23px;bottom:3px;width:36px;height:24px;border-radius:14px 14px 10px 10px;background:linear-gradient(#f1bf53,#d69131)}
.lat-shop-customer{width:82px}.lat-shop-customer .face{position:relative;display:block;width:54px;height:74px}.lat-shop-customer .face .head{position:absolute;left:14px;top:4px;width:28px;height:28px;border-radius:50%;background:#f2c7a5;z-index:2;box-shadow:inset 0 -2px 0 rgba(121,73,43,.12)}.lat-shop-customer .face .head:before,.lat-shop-customer .face .head:after{content:"";position:absolute;top:11px;width:4px;height:4px;border-radius:50%;background:#37271d}.lat-shop-customer .face .head:before{left:7px}.lat-shop-customer .face .head:after{right:7px}.lat-shop-customer .face .body{position:absolute;left:9px;top:28px;width:36px;height:38px;border-radius:18px 18px 12px 12px;background:#79b3e2}.lat-shop-customer .face .hair{position:absolute;left:10px;top:0;width:34px;height:20px;border-radius:18px 18px 12px 12px;background:#513528;z-index:3}.lat-shop-customer .face.avatar-b .body{background:#f0866f}.lat-shop-customer .face.avatar-b .hair{background:#2b1d15}.lat-shop-customer .face.avatar-c .body{background:#78c19a}.lat-shop-customer .face.avatar-c .hair{background:#915329}.lat-shop-customer .face.avatar-d .body{background:#b59ae5}.lat-shop-customer .face.avatar-d .hair{background:#5b402a}.lat-shop-customer .face.avatar-e .body{background:#edcf62}.lat-shop-customer .face.avatar-e .hair{background:#3c281c}.lat-shop-customer .face.avatar-f .body{background:#63b0c1}.lat-shop-customer .face.avatar-f .hair{background:#87572a}.lat-shop-customer .wish{left:36px!important;top:-4px!important}
.lat-shopgame-delivery{position:absolute;left:26px;bottom:32px;display:flex;gap:14px;z-index:12}.lat-delivery-crate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:120px;height:94px;border:0;border-radius:18px;background:linear-gradient(#c58c52,#a96534);box-shadow:0 12px 0 rgba(96,56,24,.22),0 6px 18px rgba(25,36,29,.15);color:#fff;cursor:pointer}.lat-delivery-crate b{font-size:30px}.lat-delivery-crate span{font-size:12px;font-weight:950}.lat-delivery-crate small{font-size:9px;font-weight:800;opacity:.92}.lat-delivery-crate:hover{transform:translateY(-2px)}
.lat-shopgame-truck.is-arriving{transform:translateX(220px)!important}.lat-shopgame-truck.is-leaving{transform:translateX(960px)!important}
.lat-shop-phase{background:linear-gradient(135deg,#1d6b4b,#2e8862)!important}.lat-shop-phase strong{font-size:19px}
.lat-shopgame-toast{max-width:min(88%,640px);text-align:center;line-height:1.25}
@media(max-width:700px){.lat-shopgame-delivery{left:14px;right:14px;gap:8px}.lat-delivery-crate{width:31%;min-width:92px;height:84px}.lat-delivery-crate b{font-size:24px}.lat-shop-customer{width:66px}.lat-shop-customer .face{transform:scale(.88);transform-origin:center top}}


/* v4.3.0 — atención animada, guía visual y personajes mejorados */
.lat-shop-action{position:absolute;left:22px;top:122px;z-index:25;max-width:360px;padding:11px 14px;border-radius:16px;background:rgba(20,57,45,.94);color:#fff;box-shadow:0 10px 24px rgba(12,38,29,.22);pointer-events:none}.lat-shop-action b{display:block;font-size:12px;letter-spacing:.04em;color:#ffe265}.lat-shop-action span{display:block;margin-top:3px;font-size:11px;font-weight:750;line-height:1.3}
.lat-truck-vehicle{position:relative;display:block;width:112px;height:62px}.lat-truck-vehicle .truck-box{position:absolute;left:0;top:2px;width:68px;height:43px;border-radius:8px 4px 4px 8px;background:linear-gradient(135deg,#f5b840,#dc7e26);border:3px solid #8a4d1f}.lat-truck-vehicle .truck-cab{position:absolute;right:4px;top:13px;width:42px;height:34px;border-radius:7px 12px 5px 5px;background:linear-gradient(#f05d4e,#c83d35);border:3px solid #7c2a26}.lat-truck-vehicle .truck-window{position:absolute;right:12px;top:18px;width:20px;height:13px;border-radius:4px;background:#bde9f7;border:2px solid #6b9ead}.lat-truck-vehicle .wheel{position:absolute;bottom:0;width:19px;height:19px;border-radius:50%;background:#2d3335;border:4px solid #596164}.lat-truck-vehicle .wheel-a{left:16px}.lat-truck-vehicle .wheel-b{right:12px}.lat-provider-person{position:absolute;right:-28px;bottom:23px;width:34px;height:56px}.lat-provider-person .head{position:absolute;left:8px;top:0;width:20px;height:20px;border-radius:50%;background:#e5b18e}.lat-provider-person .body{position:absolute;left:3px;top:19px;width:30px;height:34px;border-radius:12px 12px 8px 8px;background:#2c78a8}.lat-shopgame-truck.is-unloading .lat-provider-person{animation:providerUnload .65s infinite alternate}.lat-shopgame-truck>small{margin-top:3px}
.lat-shopgame-lion{transition:transform .42s cubic-bezier(.2,.75,.28,1)!important}.lat-shopgame-lion.is-walking .lat-lion-avatar{animation:lionWalk .22s infinite alternate}.lat-shopgame-lion.is-carrying:after{content:attr(data-carry);position:absolute;left:54px;top:14px;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(19,50,39,.2);font-size:23px}.lat-shopgame-lion.is-cashing .lat-lion-avatar{animation:lionCash .2s 3 alternate}
.lat-shop-customer{padding:4px;border-radius:18px!important;transition:.2s}.lat-shop-customer:hover,.lat-shop-customer:focus{background:rgba(255,255,255,.5)!important;transform:scale(1.05)}.lat-shop-customer .wish{left:38px!important;top:-26px!important;width:66px!important;height:48px!important;display:flex!important;flex-direction:column!important;gap:0!important}.lat-shop-customer .wish b{font-size:22px;line-height:1}.lat-shop-customer .wish em{font-style:normal;font-size:7px;font-weight:950;color:#345244}.lat-shop-customer .tap-hint{margin-top:-3px;padding:4px 7px;border-radius:999px;background:#fff35b;color:#4a3f0b;font-size:7px;font-weight:950;white-space:nowrap;box-shadow:0 5px 12px rgba(60,50,10,.16);animation:tapPulse .75s infinite alternate}.lat-shop-customer.is-serving .tap-hint{display:none}.lat-shop-customer small{margin-top:3px}
.lat-delivery-crate{position:relative;animation:cratePulse .7s infinite alternate}.lat-delivery-crate:before{content:"TOCAR";position:absolute;right:-6px;top:-9px;padding:4px 7px;border-radius:999px;background:#fff35b;color:#443900;font-size:8px;font-weight:950}.lat-delivery-crate.is-moving{animation:crateFly .55s ease both;pointer-events:none}
@keyframes lionWalk{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-4px) rotate(1deg)}}@keyframes lionCash{from{transform:scale(1)}to{transform:scale(1.06)}}@keyframes tapPulse{from{transform:scale(.96)}to{transform:scale(1.06)}}@keyframes cratePulse{from{transform:translateY(0)}to{transform:translateY(-5px)}}@keyframes crateFly{to{opacity:.15;transform:translate(180px,-110px) scale(.65)}}@keyframes providerUnload{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@media(max-width:700px){.lat-shop-action{left:10px;right:10px;top:116px;max-width:none}.lat-shop-customer .tap-hint{font-size:6px}.lat-shop-customer .wish{left:29px!important}.lat-truck-vehicle{transform:scale(.82);transform-origin:left bottom}}


/* v4.3.1 — visual renovado: clientes, león y estanterías más trabajados */
.lat-shopgame-stage{background:linear-gradient(180deg,#f2f8fb 0,#dff1fa 16%,#d0e5ee 17%,#d7b07c 17%,#c89f70 100%)!important}
.lat-shopgame-wall{background:linear-gradient(180deg,#fff5ce,#f0d48e 72%,#cf9b54)!important;box-shadow:inset 0 -8px 0 rgba(120,84,39,.18)}
.lat-shopgame-floor{background:
  linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px),
  linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),
  linear-gradient(180deg,#d4ac79,#c29564)!important;
  background-size:58px 58px,58px 58px,100% 100%!important}
.lat-shopgame-shelf{width:200px!important;height:130px!important;padding:0!important;border-radius:22px!important;background:linear-gradient(180deg,#8b623e,#755236 100%)!important;border:4px solid #6a472d!important;box-shadow:0 16px 0 rgba(92,63,36,.16),0 18px 28px rgba(31,44,36,.12)!important;overflow:hidden}
.lat-shopgame-shelf .lat-shelf-back{position:absolute;inset:10px 10px 12px;border-radius:16px;background:linear-gradient(180deg,#fff7e8,#edd7b6);box-shadow:inset 0 0 0 2px rgba(130,94,52,.24)}
.lat-shopgame-shelf .lat-shelf-decor{position:absolute;left:12px;right:12px;height:8px;border-radius:999px;background:linear-gradient(90deg,#9c6f45,#bf8f61 60%,#8d613b);box-shadow:0 2px 0 rgba(84,57,31,.2)}
.lat-shopgame-shelf .lat-shelf-decor.top{top:38px}.lat-shopgame-shelf .lat-shelf-decor.bottom{top:86px}
.lat-shopgame-shelf b{position:absolute;left:18px;top:46px;font-size:42px;z-index:3;filter:drop-shadow(0 4px 3px rgba(43,37,20,.18))}
.lat-shopgame-shelf span{left:16px!important;bottom:12px!important;font-size:13px!important;color:#413123;letter-spacing:.02em;z-index:3}
.lat-shopgame-shelf small{width:38px!important;height:38px!important;position:absolute;right:14px;top:48px;background:linear-gradient(180deg,#2aa36f,#176749)!important;box-shadow:0 6px 12px rgba(19,81,57,.2)}
.lat-shopgame-shelf:before,.lat-shopgame-shelf:after{content:"";position:absolute;top:47px;left:74px;width:46px;height:14px;border-radius:10px;background:rgba(255,255,255,.7);box-shadow:62px 0 0 rgba(255,255,255,.5),-2px 38px 0 rgba(255,255,255,.45),62px 38px 0 rgba(255,255,255,.35)}
.shelf-a{left:24%;top:154px}.shelf-b{left:51%;top:154px}.shelf-c{left:38%;top:330px}

.lat-shopgame-counter{background:linear-gradient(180deg,#76acd9,#4f80a7)!important;border:6px solid #385f7b!important;box-shadow:0 14px 0 rgba(42,72,95,.18),0 16px 28px rgba(35,63,83,.14)!important}
.lat-shopgame-counter:before{content:"";position:absolute;left:18px;right:18px;top:14px;height:10px;border-radius:999px;background:rgba(255,255,255,.18)}

.lat-shopgame-lion{right:168px!important;bottom:103px!important}
.lat-lion-avatar{position:relative;display:block;width:92px;height:106px;filter:drop-shadow(0 9px 7px rgba(34,53,42,.18))}
.lat-lion-avatar .mane{position:absolute;left:8px;top:4px;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#ffc44d 0 24%,#d98a2e 25% 54%,#9c5a22 55%);box-shadow:0 6px 10px rgba(77,46,19,.16)}
.lat-lion-avatar .ear{position:absolute;top:10px;width:18px;height:18px;border-radius:50%;background:#9c5b21;z-index:0}.lat-lion-avatar .ear:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#f7c88a}.lat-lion-avatar .ear-l{left:8px}.lat-lion-avatar .ear-r{right:8px}
.lat-lion-avatar .head{position:absolute;left:24px;top:20px;width:42px;height:40px;border-radius:42% 42% 46% 46%;background:linear-gradient(180deg,#ffe7a3,#f0b857);z-index:2}
.lat-lion-avatar .eye{position:absolute;top:35px;width:6px;height:8px;border-radius:4px;background:#2f2417;z-index:3}.lat-lion-avatar .eye-l{left:35px}.lat-lion-avatar .eye-r{right:35px}
.lat-lion-avatar .snout{position:absolute;left:31px;top:44px;width:28px;height:18px;border-radius:12px;background:#fff2d4;z-index:3;box-shadow:inset 0 -2px 0 rgba(176,132,65,.12)}
.lat-lion-avatar .snout:before{content:"";position:absolute;left:11px;top:2px;width:6px;height:5px;border-radius:50% 50% 60% 60%;background:#3a2817}.lat-lion-avatar .snout:after{content:"";position:absolute;left:12px;top:8px;width:4px;height:6px;border-radius:0 0 3px 3px;background:#3a2817;box-shadow:-7px 2px 0 -2px rgba(58,40,23,.85),7px 2px 0 -2px rgba(58,40,23,.85)}
.lat-lion-avatar .body{position:absolute;left:28px;bottom:12px;width:36px;height:30px;border-radius:16px 16px 12px 12px;background:linear-gradient(180deg,#ffce64,#e09a32);z-index:1}
.lat-lion-avatar .paw{position:absolute;bottom:8px;width:12px;height:12px;border-radius:50%;background:#f0b14b;z-index:2}.lat-lion-avatar .paw-l{left:29px}.lat-lion-avatar .paw-r{right:29px}
.lat-lion-avatar .tail{position:absolute;right:17px;bottom:18px;width:20px;height:20px;border-right:4px solid #c37c2c;border-bottom:4px solid #c37c2c;border-radius:0 0 18px 0;transform:rotate(-20deg)}
.lat-shopgame-lion small{font-size:10px!important;padding:5px 10px!important;letter-spacing:.04em;box-shadow:0 6px 10px rgba(18,54,42,.08)}
.lat-shopgame-lion.is-walking .lat-lion-avatar{animation:lionWalk2 .26s infinite alternate}.lat-shopgame-lion.is-cashing .lat-lion-avatar{animation:lionCash2 .18s 4 alternate}

.lat-shopgame-truck{left:-170px!important;bottom:26px!important}.lat-truck-vehicle{width:138px!important;height:78px!important}.lat-truck-vehicle .truck-box{width:84px!important;height:50px!important;border-radius:12px 8px 8px 12px!important;background:linear-gradient(135deg,#f7ca56,#e18826)!important}.lat-truck-vehicle .truck-cab{right:4px!important;top:18px!important;width:50px!important;height:38px!important;border-radius:10px 16px 6px 6px!important}.lat-provider-person{right:-34px!important;bottom:24px!important;width:42px!important;height:68px!important}.lat-provider-person .head{left:10px!important;top:0!important;width:22px!important;height:22px!important}.lat-provider-person .body{left:5px!important;top:20px!important;width:32px!important;height:40px!important;border-radius:14px 14px 10px 10px!important}

.lat-shopgame-clients{inset:0;pointer-events:none}.lat-shop-customer{pointer-events:auto;width:95px!important;display:flex;flex-direction:column;align-items:center;padding:6px 4px 0!important;border-radius:20px!important;animation:shopCustomerIn .55s ease both, customerFloat 1.7s ease-in-out infinite alternate;animation-delay:0s,var(--floatDelay,0s)}
.lat-shop-customer[style*="--lane: 1"]{left:160px!important;top:384px!important}.lat-shop-customer[style*="--lane: 2"]{left:318px!important;top:454px!important}.lat-shop-customer[style*="--lane: 3"]{left:492px!important;top:382px!important}
.lat-shop-customer .face{position:relative;display:block;width:66px!important;height:94px!important}
.lat-shop-customer .face .head{position:absolute;left:17px;top:7px;width:32px;height:34px;border-radius:46% 46% 48% 48%;background:linear-gradient(180deg,#f5cfb2,#e3ab7d);z-index:4;box-shadow:inset 0 -3px 0 rgba(149,91,55,.12)}
.lat-shop-customer .face .head:before,.lat-shop-customer .face .head:after{content:"";position:absolute;top:13px;width:4px;height:5px;border-radius:50%;background:#3d2a1f}.lat-shop-customer .face .head:before{left:8px}.lat-shop-customer .face .head:after{right:8px}
.lat-shop-customer .face .head{background:linear-gradient(180deg,#f5cfb2,#e0ae85)}
.lat-shop-customer .face .hair{position:absolute;left:14px;top:0;width:38px;height:22px;border-radius:20px 20px 10px 10px;background:#4a3125;z-index:5}
.lat-shop-customer .face .body{position:absolute;left:13px;top:37px;width:40px;height:38px;border-radius:17px 17px 14px 14px;background:#6fb2dd;z-index:2;box-shadow:inset 0 -3px 0 rgba(27,68,90,.14)}
.lat-shop-customer .face .arm{position:absolute;top:42px;width:11px;height:30px;border-radius:10px;background:#e2ae86;z-index:1}.lat-shop-customer .face .arm-l{left:9px;transform:rotate(12deg)}.lat-shop-customer .face .arm-r{right:9px;transform:rotate(-12deg)}
.lat-shop-customer .face .leg{position:absolute;top:68px;width:10px;height:26px;border-radius:10px;background:#2b5169;z-index:1}.lat-shop-customer .face .leg-l{left:22px}.lat-shop-customer .face .leg-r{right:22px}
.lat-shop-customer .wish{left:40px!important;top:-24px!important;width:76px!important;height:54px!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff,#eef8f2)!important;box-shadow:0 10px 20px rgba(24,55,43,.18)!important}
.lat-shop-customer .wish:after{content:"";position:absolute;left:10px;bottom:-8px;border-width:8px 8px 0 0;border-style:solid;border-color:#fff transparent transparent transparent}
.lat-shop-customer .wish b{font-size:26px!important}.lat-shop-customer .wish em{font-size:8px!important;color:#355445!important}
.lat-shop-customer .tap-hint{font-size:8px!important;padding:5px 9px!important;box-shadow:0 6px 14px rgba(60,50,10,.18)!important}
.lat-shop-customer small{width:74px!important;height:10px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 6px 14px rgba(24,55,43,.1)}
.lat-shop-customer:hover,.lat-shop-customer:focus{background:rgba(255,255,255,.55)!important;transform:scale(1.06)!important}
.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}
.lat-shop-customer.is-bought{animation:shopCustomerOut .45s ease forwards!important}.lat-shop-customer.is-leaving{animation:shopLeave .5s ease forwards!important}
.lat-shop-customer .face.avatar-b .hair{background:#2e2119}.lat-shop-customer .face.avatar-b .body{background:#e6806a}.lat-shop-customer .face.avatar-b .leg{background:#6d2f2a}
.lat-shop-customer .face.avatar-c .hair{background:#8a5428}.lat-shop-customer .face.avatar-c .body{background:#72bf9b}.lat-shop-customer .face.avatar-c .leg{background:#355b47}
.lat-shop-customer .face.avatar-d .hair{background:#64462e}.lat-shop-customer .face.avatar-d .body{background:#b999ea}.lat-shop-customer .face.avatar-d .leg{background:#56467d}
.lat-shop-customer .face.avatar-e .hair{background:#2b2220}.lat-shop-customer .face.avatar-e .body{background:#edcf62}.lat-shop-customer .face.avatar-e .leg{background:#5f4b1f}
.lat-shop-customer .face.avatar-f .hair{background:#996231}.lat-shop-customer .face.avatar-f .body{background:#6fc0cf}.lat-shop-customer .face.avatar-f .leg{background:#315f67}
.lat-shop-customer .face.avatar-g .hair{background:#9d1f34}.lat-shop-customer .face.avatar-g .body{background:#7ec987}.lat-shop-customer .face.avatar-g .leg{background:#365f3d}
.lat-shop-customer .face.avatar-h .hair{background:#3a2d27}.lat-shop-customer .face.avatar-h .body{background:#f1a886}.lat-shop-customer .face.avatar-h .leg{background:#7e5340}

.lat-shop-action{background:linear-gradient(180deg,#1f5c49,#143f31)!important;box-shadow:0 12px 24px rgba(22,63,48,.16)!important}
.lat-shopgame-toast{padding:12px 18px!important;border-radius:18px!important;box-shadow:0 10px 22px rgba(22,63,48,.22)}
.lat-delivery-crate{border-radius:22px!important;background:linear-gradient(180deg,#d6a36d,#ae6f39)!important;box-shadow:0 14px 0 rgba(96,56,24,.24),0 12px 22px rgba(25,36,29,.16)!important}
.lat-delivery-crate:before{content:"";position:absolute;left:10px;right:10px;top:32px;height:4px;border-radius:999px;background:rgba(107,60,28,.55)}

@keyframes customerFloat{from{transform:translateY(0)}to{transform:translateY(-8px)}}
@keyframes lionWalk2{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}
@keyframes lionCash2{from{transform:translateY(0) scale(1)}to{transform:translateY(-4px) scale(1.03)}}

@media(max-width:1050px){
  .lat-shopgame-shelf{width:176px!important;height:122px!important}
  .shelf-a{left:19%!important}.shelf-b{left:56%!important}.shelf-c{left:37%!important}
  .lat-shop-customer[style*="--lane: 1"]{left:92px!important}.lat-shop-customer[style*="--lane: 2"]{left:228px!important}.lat-shop-customer[style*="--lane: 3"]{left:362px!important}
}
@media(max-width:700px){
  .lat-shopgame-stage{min-height:610px!important}
  .lat-shopgame-shelf{width:134px!important;height:108px!important}
  .lat-shopgame-shelf b{font-size:34px!important;left:12px!important;top:42px!important}
  .lat-shopgame-shelf span{font-size:10px!important}.lat-shopgame-shelf small{width:32px!important;height:32px!important;right:10px!important;top:46px!important}
  .shelf-a{left:17%!important}.shelf-b{left:57%!important}.shelf-c{left:36%!important;top:308px!important}
  .lat-shop-customer{width:74px!important}.lat-shop-customer .face{width:56px!important;height:84px!important}.lat-shop-customer .wish{left:28px!important;width:62px!important;height:48px!important}.lat-shop-customer .tap-hint{font-size:7px!important}
  .lat-shopgame-lion{right:136px!important;bottom:98px!important}.lat-lion-avatar{transform:scale(.92);transform-origin:center bottom}
}


/* v4.4.0 — escenario más trabajado y ambientación visual reforzada */
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 310px!important;gap:14px!important}
.lat-shopgame-stage{min-height:700px!important;background:
 radial-gradient(circle at 18% 8%,rgba(255,255,255,.55),transparent 12%),
 linear-gradient(180deg,#f8fbfd 0,#e7f1f8 14%,#d4e1df 15%,#d1a875 15%,#c89964 100%)!important}
.lat-shopgame-wall{height:120px!important;background:linear-gradient(180deg,#fff7d7,#f5dc98 78%,#c08d48)!important;border-bottom:7px solid #946431!important}
.lat-shopgame-window-strip{position:absolute;left:110px;right:150px;top:58px;height:30px;display:flex;gap:14px;justify-content:center}
.lat-shopgame-window-strip .pane{flex:1;max-width:180px;border-radius:12px;background:linear-gradient(180deg,#d8f4ff,#9fd2ef);border:4px solid #c58b47;box-shadow:inset 0 10px 18px rgba(255,255,255,.35)}
.lat-shopgame-lamps{position:absolute;left:0;right:0;top:104px;display:flex;justify-content:space-around;pointer-events:none}.lat-shopgame-lamps i{width:14px;height:14px;border-radius:50%;background:#ffef97;box-shadow:0 0 0 8px rgba(255,239,151,.16),0 0 30px rgba(255,239,151,.55)}
.lat-shopgame-posters{position:absolute;right:82px;top:18px;display:flex;gap:12px}.lat-shopgame-posters .poster{padding:10px 14px;border-radius:14px;background:#fff;box-shadow:0 8px 18px rgba(44,57,40,.12);font-size:10px;font-weight:950;color:#244634;letter-spacing:.08em}.lat-shopgame-posters .offer{background:linear-gradient(135deg,#ffea75,#ffb54b)}.lat-shopgame-posters .service{background:linear-gradient(135deg,#bdf4d8,#72c6b7)}
.lat-shopgame-floor{inset:120px 0 0!important;background:
 linear-gradient(90deg,rgba(255,255,255,.17) 1px,transparent 1px),
 linear-gradient(rgba(255,255,255,.17) 1px,transparent 1px),
 linear-gradient(180deg,#d4ac79,#c69561)!important;background-size:56px 46px,56px 46px,100% 100%!important}
.lat-shopgame-rug{position:absolute;left:72px;top:330px;width:120px;height:76px;border-radius:14px;background:linear-gradient(180deg,#36777c,#2b5658);box-shadow:0 8px 16px rgba(32,55,45,.18);display:grid;place-items:center;color:#e8fff6;font-weight:900;font-size:9px;letter-spacing:.05em}
.lat-shopgame-door{left:30px!important;top:150px!important;width:110px!important;height:160px!important;background:linear-gradient(180deg,#83c0e5,#5c9dcc)!important;border-color:#554334!important;box-shadow:0 8px 16px rgba(36,53,44,.14)}
.lat-shopgame-door:before{content:"";position:absolute;right:16px;top:70px;width:10px;height:10px;border-radius:50%;background:#f1c151}.lat-shopgame-door:after{content:"";position:absolute;left:-8px;right:-8px;bottom:-10px;height:14px;border-radius:999px;background:rgba(0,0,0,.08)}
.lat-shopgame-plant{position:absolute;bottom:138px;width:64px;height:92px;z-index:2}.lat-shopgame-plant:before{content:"";position:absolute;left:16px;right:16px;bottom:0;height:26px;border-radius:0 0 16px 16px;background:linear-gradient(180deg,#b87039,#915827)}.lat-shopgame-plant:after{content:"";position:absolute;left:5px;right:5px;bottom:20px;height:62px;background:radial-gradient(circle at 30% 80%,#75c973 0 18px,transparent 19px),radial-gradient(circle at 70% 72%,#4fae61 0 16px,transparent 17px),radial-gradient(circle at 50% 40%,#82d37c 0 20px,transparent 21px),radial-gradient(circle at 28% 40%,#4a9c59 0 14px,transparent 15px),radial-gradient(circle at 76% 30%,#71c46d 0 14px,transparent 15px)}.plant-a{left:155px}.plant-b{right:310px}

.lat-shopgame-shelf{width:214px!important;height:144px!important;border-radius:22px!important;background:linear-gradient(180deg,#8b623e,#6f4d30)!important;border:5px solid #64442b!important;box-shadow:0 14px 0 rgba(92,63,36,.16),0 18px 30px rgba(31,44,36,.16)!important;padding:0!important;overflow:visible}
.lat-shopgame-shelf .lat-shelf-back{position:absolute;left:10px;right:10px;top:10px;bottom:10px;border-radius:16px;background:linear-gradient(180deg,#fff8e9,#f0debf);box-shadow:inset 0 0 0 3px rgba(130,94,52,.2)}
.lat-shopgame-shelf .lat-shelf-decor{display:none!important}
.lat-shopgame-shelf .lat-shelf-products{position:absolute;left:18px;right:18px;top:28px;height:70px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2}
.lat-shopgame-shelf .lat-shelf-products i{width:46px;height:46px;border-radius:12px;background:#fff;box-shadow:0 6px 12px rgba(33,45,36,.14);border:2px solid rgba(117,86,55,.18)}
.shelf-a .lat-shelf-products i{background:
 radial-gradient(circle at 50% 30%,#94c46d 0 4px,transparent 5px),
 linear-gradient(180deg,#e7d7c3 0 35%,#a56038 36% 100%)}
.shelf-b .lat-shelf-products i{background-image:url('../images/headphones.jpg');background-size:cover;background-position:center}
.shelf-c .lat-shelf-products i{background-image:url('../images/toy.jpg');background-size:cover;background-position:center}
.lat-shopgame-shelf b{position:absolute;left:18px;top:82px;font-size:28px!important;z-index:3;filter:drop-shadow(0 3px 2px rgba(43,37,20,.16))}
.lat-shopgame-shelf span{left:48px!important;bottom:12px!important;font-size:14px!important;font-weight:900;color:#3c2d22;z-index:3}.lat-shopgame-shelf small{width:38px!important;height:38px!important;right:16px!important;top:86px!important;font-size:15px!important;z-index:3;background:linear-gradient(180deg,#28ae7b,#17654a)!important;box-shadow:0 6px 14px rgba(19,81,57,.2)}
.shelf-a{left:24%!important;top:182px!important}.shelf-b{left:54%!important;top:182px!important}.shelf-c{left:39%!important;top:380px!important}

.lat-shopgame-counter{right:34px!important;bottom:28px!important;width:300px!important;height:122px!important;border-radius:24px!important;background:linear-gradient(180deg,#74addf,#4876a0)!important;border:6px solid #345b77!important;box-shadow:0 16px 0 rgba(35,63,83,.18),0 18px 30px rgba(35,63,83,.12)!important}
.lat-counter-top{position:absolute;left:18px;right:18px;top:14px;height:10px;border-radius:999px;background:rgba(255,255,255,.24)}
.lat-counter-screen{position:absolute;left:24px;top:36px;width:56px;height:34px;border-radius:10px;background:linear-gradient(180deg,#7be2d8,#3aa3a0);box-shadow:inset 0 -4px 0 rgba(16,68,70,.15)}
.lat-shopgame-counter>span{font-size:15px!important;letter-spacing:.04em}.lat-shopgame-counter>b{font-size:34px!important}

.lat-shopgame-lion{right:190px!important;bottom:116px!important;z-index:11!important}.lat-lion-avatar.pro{display:block;width:126px;height:152px;background:url('../images/dino-lion.png') center bottom/contain no-repeat;filter:drop-shadow(0 14px 10px rgba(31,44,36,.18))}.lat-shopgame-lion.is-walking .lat-lion-avatar.pro{animation:lionProWalk .24s infinite alternate}.lat-shopgame-lion.is-carrying .lat-lion-avatar.pro:after{content:attr(data-carry);display:none}.lat-shopgame-lion:before{content:attr(data-carry);position:absolute;left:88px;top:40px;width:34px;height:34px;border-radius:12px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(33,45,36,.18);opacity:0;transform:scale(.7);transition:.2s;z-index:12}.lat-shopgame-lion.is-carrying:before{opacity:1;transform:scale(1)}
.lat-shopgame-lion small{margin-top:-12px!important;padding:6px 12px!important;border-radius:999px;background:#fff;color:#1f4738;font-size:10px!important;font-weight:950;box-shadow:0 8px 14px rgba(18,54,42,.08)}

.lat-shopgame-clients{inset:0;pointer-events:none}.lat-shop-customer{pointer-events:auto;width:112px!important;padding:8px 6px 0!important;border-radius:22px!important;display:flex;flex-direction:column;align-items:center;animation:shopEnterQueue .7s cubic-bezier(.2,.8,.2,1) both, customerFloat2 1.9s ease-in-out infinite alternate!important;animation-delay:0s,var(--floatDelay,0s);background:transparent}
.lat-shop-customer[style*="--lane: 1"]{left:164px!important;top:404px!important}.lat-shop-customer[style*="--lane: 2"]{left:344px!important;top:492px!important}.lat-shop-customer[style*="--lane: 3"]{left:526px!important;top:404px!important}
.lat-shop-customer .face{position:relative;display:block;width:78px!important;height:112px!important}
.lat-shop-customer .face .hair{left:17px!important;top:2px!important;width:46px!important;height:25px!important;border-radius:24px 24px 10px 10px!important;z-index:5;box-shadow:0 4px 0 rgba(0,0,0,.06)}
.lat-shop-customer .face .head{left:21px!important;top:12px!important;width:36px!important;height:38px!important;border-radius:48% 48% 44% 44%!important;background:linear-gradient(180deg,#f6d4b8,#e6b089)!important;z-index:4}
.lat-shop-customer .face .head:before,.lat-shop-customer .face .head:after{top:15px!important;width:4px!important;height:5px!important}.lat-shop-customer .face .head:before{left:9px!important}.lat-shop-customer .face .head:after{right:9px!important}
.lat-shop-customer .face .body{left:16px!important;top:44px!important;width:46px!important;height:42px!important;border-radius:18px 18px 14px 14px!important;z-index:2}
.lat-shop-customer .face .arm{top:49px!important;width:11px!important;height:32px!important;background:#e7b68f!important}.lat-shop-customer .face .arm-l{left:10px!important;animation:armSwingL .7s infinite alternate}.lat-shop-customer .face .arm-r{right:10px!important;animation:armSwingR .7s infinite alternate}
.lat-shop-customer .face .leg{top:79px!important;width:11px!important;height:32px!important;border-radius:11px!important}.lat-shop-customer .face .leg-l{left:24px!important;animation:legWalkL .55s infinite alternate}.lat-shop-customer .face .leg-r{right:24px!important;animation:legWalkR .55s infinite alternate}
.lat-shop-customer .wish{left:46px!important;top:-18px!important;width:88px!important;height:56px!important;border-radius:18px!important;background:linear-gradient(180deg,#ffffff,#eefaf1)!important;box-shadow:0 12px 22px rgba(24,55,43,.18)!important}.lat-shop-customer .wish b{font-size:28px!important}.lat-shop-customer .wish em{font-size:8px!important}.lat-shop-customer .tap-hint{margin-top:-2px;padding:5px 10px!important;font-size:8px!important;border-radius:999px;background:#fff474!important;color:#544507!important;box-shadow:0 8px 16px rgba(91,77,18,.18)!important}.lat-shop-customer small{width:82px!important;height:10px!important;margin-top:4px!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{background:rgba(255,255,255,.36)!important;transform:scale(1.05)!important}.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}.lat-shop-customer.is-leaving{animation:shopLeave2 .5s ease forwards!important}.lat-shop-customer.is-bought{animation:shopBought2 .45s ease forwards!important}
.lat-shop-customer .face.avatar-g .body{background:#7ec987!important}.lat-shop-customer .face.avatar-h .body{background:#f1a886!important}
.lat-shop-customer .face.avatar-a .body{background:#6fb2dd!important}.lat-shop-customer .face.avatar-b .body{background:#e6806a!important}.lat-shop-customer .face.avatar-c .body{background:#72bf9b!important}.lat-shop-customer .face.avatar-d .body{background:#b999ea!important}.lat-shop-customer .face.avatar-e .body{background:#edcf62!important}.lat-shop-customer .face.avatar-f .body{background:#6fc0cf!important}

.lat-shop-action{top:140px!important;left:18px!important;max-width:300px!important;padding:14px 16px!important;border-radius:18px!important;background:linear-gradient(180deg,#1f614d,#12392d)!important;box-shadow:0 16px 24px rgba(22,63,48,.18)!important}
.lat-shopgame-toast{bottom:18px!important;padding:13px 20px!important;border-radius:20px!important;background:rgba(23,60,48,.96)!important;box-shadow:0 12px 24px rgba(22,63,48,.22)!important}
.lat-shopgame-panel{background:linear-gradient(180deg,#ffffff,#f6fbf7)!important;border:1px solid rgba(29,78,58,.08)!important;box-shadow:0 14px 28px rgba(26,62,48,.08)!important}
.lat-shop-phase{border-radius:18px!important;box-shadow:0 10px 18px rgba(29,107,75,.14)!important}
.lat-shop-order-row,.lat-shop-budget,.lat-shop-live-stats>div,.lat-shop-supplier-buttons button{box-shadow:0 6px 14px rgba(26,62,48,.06)}

@keyframes shopEnterQueue{from{opacity:0;transform:translate(-130px,-26px) scale(.82)}to{opacity:1;transform:none}}
@keyframes customerFloat2{from{transform:translateY(0)}to{transform:translateY(-6px)}}
@keyframes armSwingL{from{transform:rotate(12deg)}to{transform:rotate(22deg)}}
@keyframes armSwingR{from{transform:rotate(-12deg)}to{transform:rotate(-22deg)}}
@keyframes legWalkL{from{transform:rotate(5deg)}to{transform:rotate(-6deg)}}
@keyframes legWalkR{from{transform:rotate(-5deg)}to{transform:rotate(6deg)}}
@keyframes lionProWalk{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes shopLeave2{to{opacity:0;transform:translateX(80px) translateY(-10px) scale(.85)}}
@keyframes shopBought2{to{opacity:0;transform:translateY(-50px) scale(1.1)}}

@media(max-width:1200px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-panel{max-height:none!important}
}
@media(max-width:900px){
 .lat-shopgame-stage{min-height:640px!important}
 .lat-shopgame-posters{display:none}
 .lat-shopgame-rug{left:24px!important;top:330px!important;transform:scale(.9);transform-origin:left top}
 .lat-shopgame-shelf{width:176px!important;height:132px!important}
 .shelf-a{left:19%!important}.shelf-b{left:56%!important}.shelf-c{left:38%!important;top:370px!important}
 .lat-shopgame-counter{width:250px!important}
 .plant-b{right:252px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:84px!important}.lat-shop-customer[style*="--lane: 2"]{left:222px!important}.lat-shop-customer[style*="--lane: 3"]{left:360px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-window-strip{left:96px;right:74px;gap:8px}
 .lat-shopgame-shelf{width:136px!important;height:108px!important}
 .lat-shopgame-shelf .lat-shelf-products{top:20px;height:52px}.lat-shopgame-shelf .lat-shelf-products i{width:32px;height:32px}
 .lat-shopgame-shelf b{top:64px!important;font-size:22px!important}.lat-shopgame-shelf span{font-size:11px!important;left:40px!important}.lat-shopgame-shelf small{top:64px!important;right:10px!important;width:30px!important;height:30px!important}
 .shelf-a{left:18%!important;top:180px!important}.shelf-b{left:56%!important;top:180px!important}.shelf-c{left:38%!important;top:336px!important}
 .lat-shopgame-counter{width:222px!important;height:106px!important;right:18px!important}.lat-shopgame-lion{right:133px!important;bottom:102px!important}.lat-lion-avatar.pro{width:98px;height:126px}
 .lat-shopgame-plant,.lat-shopgame-rug,.lat-shopgame-posters{display:none}
 .lat-shop-customer{width:80px!important}.lat-shop-customer .face{width:58px!important;height:88px!important}.lat-shop-customer .wish{left:30px!important;width:70px!important;height:50px!important}.lat-shop-customer .tap-hint{font-size:7px!important}.lat-shop-customer small{width:66px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:88px!important;top:396px!important}.lat-shop-customer[style*="--lane: 2"]{left:204px!important;top:458px!important}.lat-shop-customer[style*="--lane: 3"]{left:318px!important;top:396px!important}
}


/* v4.5.0 — personajes y góndolas con sprites gráficos */
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 290px!important;gap:12px!important}
.lat-shopgame-stage{min-height:720px!important;background:
 radial-gradient(circle at 12% 6%,rgba(255,255,255,.6),transparent 12%),
 linear-gradient(180deg,#f7fbfc 0,#e7f1f7 14%,#dbe4df 15%,#d3aa77 15%,#ca9b67 100%)!important}
.lat-shopgame-floor{background:
 linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px),
 linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
 linear-gradient(180deg,#d7b07f,#ca9b67)!important;background-size:58px 46px,58px 46px,100% 100%!important}
/* queue markers */
.lat-shopgame-stage:before,.lat-shopgame-stage:after{content:"";position:absolute;right:255px;bottom:168px;width:18px;height:18px;border-radius:50%;border:3px dashed rgba(35,91,119,.45);box-shadow:-118px -52px 0 0 rgba(35,91,119,.35),-232px 28px 0 0 rgba(35,91,119,.28)}
.lat-shopgame-stage:after{right:328px;bottom:114px;opacity:.5}

/* better gondolas */
.lat-shopgame-shelf{width:252px!important;height:242px!important;padding:0!important;border:none!important;border-radius:0!important;background:url('../images/shop-gondola.png') center/contain no-repeat!important;box-shadow:none!important;overflow:visible!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor{display:none!important}
.lat-shopgame-shelf .lat-shelf-products{position:absolute;left:38px;right:34px;top:28px;height:122px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2}
.lat-shopgame-shelf .lat-shelf-products i{width:48px;height:48px;border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(28,40,34,.18);border:2px solid rgba(117,86,55,.15)}
.shelf-a .lat-shelf-products i{background:
 radial-gradient(circle at 50% 26%,#88bb64 0 4px,transparent 5px),
 linear-gradient(180deg,#e9dcc9 0 34%,#a56038 35% 100%)}
.shelf-b .lat-shelf-products i{background-image:url('../images/headphones.jpg');background-size:cover;background-position:center}
.shelf-c .lat-shelf-products i{background-image:url('../images/toy.jpg');background-size:cover;background-position:center}
.lat-shopgame-shelf b{position:absolute;left:34px;top:144px;font-size:24px!important;z-index:4}
.lat-shopgame-shelf span{left:62px!important;bottom:56px!important;font-size:15px!important;color:#3f3125;z-index:4;font-weight:900}
.lat-shopgame-shelf small{top:136px!important;right:30px!important;width:40px!important;height:40px!important;z-index:4;font-size:15px!important}
.shelf-a{left:22%!important;top:160px!important}.shelf-b{left:54%!important;top:160px!important}.shelf-c{left:38%!important;top:400px!important}
.lat-shopgame-shelf.is-stocked{transform:translateY(-2px)!important;filter:drop-shadow(0 14px 12px rgba(17,95,59,.18))}

/* lion sprite */
.lat-shopgame-lion{right:188px!important;bottom:118px!important;z-index:12!important}
.lat-lion-avatar.pro{display:block;width:156px;height:190px;background:url('../images/constructor-lion.png') center bottom/contain no-repeat;filter:drop-shadow(0 16px 12px rgba(31,44,36,.2))}
.lat-shopgame-lion small{margin-top:-16px!important;padding:6px 12px!important;background:#fff!important;color:#163e31!important}
.lat-shopgame-lion:before{left:98px!important;top:34px!important}
.lat-shopgame-lion.is-walking .lat-lion-avatar.pro{animation:lionSpriteWalk .22s infinite alternate}
.lat-shopgame-lion.is-cashing .lat-lion-avatar.pro{animation:lionSpriteCash .16s 5 alternate}

/* customer sprites */
.lat-shop-customer{width:108px!important;padding:0!important;background:transparent!important;animation:shopEnterQueue .75s cubic-bezier(.2,.8,.2,1) both, customerFloat3 1.9s ease-in-out infinite alternate!important;animation-delay:0s,var(--floatDelay,0s)}
.lat-shop-customer[style*="--lane: 1"]{left:120px!important;top:454px!important}
.lat-shop-customer[style*="--lane: 2"]{left:268px!important;top:524px!important}
.lat-shop-customer[style*="--lane: 3"]{left:438px!important;top:456px!important}
.lat-shop-customer .face{position:relative;display:block;width:84px!important;height:130px!important;background-position:center bottom;background-repeat:no-repeat;background-size:contain!important;filter:drop-shadow(0 12px 10px rgba(31,44,36,.15))}
.lat-shop-customer .face i{display:none!important}
.lat-shop-customer .face:after{content:"";position:absolute;left:14px;right:14px;bottom:-6px;height:12px;border-radius:50%;background:rgba(0,0,0,.16);filter:blur(4px);z-index:-1}
.lat-shop-customer .face.avatar-a{background-image:url('../images/shop-customer-a.png')}
.lat-shop-customer .face.avatar-b{background-image:url('../images/shop-customer-b.png')}
.lat-shop-customer .face.avatar-c{background-image:url('../images/shop-customer-c.png')}
.lat-shop-customer .face.avatar-d{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .face.avatar-e{background-image:url('../images/shop-customer-a.png')}
.lat-shop-customer .face.avatar-f{background-image:url('../images/shop-customer-b.png')}
.lat-shop-customer .face.avatar-g{background-image:url('../images/shop-customer-c.png')}
.lat-shop-customer .face.avatar-h{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .wish{left:42px!important;top:-18px!important;width:90px!important;height:58px!important;border-radius:18px!important}
.lat-shop-customer .tap-hint{margin-top:4px!important;padding:5px 10px!important;font-size:8px!important;background:#fff17a!important;color:#4e4207!important}
.lat-shop-customer small{width:84px!important;height:10px!important;margin-top:4px!important;background:rgba(255,255,255,.96)!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{transform:scale(1.04)!important}
.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}

/* stage extras */
.lat-shopgame-rug{left:38px!important;top:470px!important;width:148px!important;height:70px!important;font-size:10px!important}
.plant-a{left:142px!important;bottom:112px!important}.plant-b{right:296px!important;bottom:118px!important}
.lat-shopgame-posters{right:128px!important}.lat-shopgame-window-strip{left:210px!important;right:260px!important}
.lat-shopgame-lamps i{box-shadow:0 0 0 8px rgba(255,239,151,.16),0 0 42px rgba(255,239,151,.52)!important}
.lat-counter-screen{left:26px!important;top:38px!important;width:64px!important;height:36px!important}
.lat-shopgame-counter{width:306px!important;height:126px!important}

@keyframes customerFloat3{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes lionSpriteWalk{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes lionSpriteCash{from{transform:translateY(0) scale(1)}to{transform:translateY(-6px) scale(1.02)}}

@media(max-width:1100px){
  .lat-shopgame-wrap{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  .lat-shopgame-stage{min-height:650px!important}
  .lat-shopgame-window-strip{left:126px!important;right:124px!important}
  .lat-shopgame-shelf{width:198px!important;height:190px!important}
  .lat-shopgame-shelf .lat-shelf-products{left:30px;right:26px;top:25px;height:94px}.lat-shopgame-shelf .lat-shelf-products i{width:36px;height:36px}
  .lat-shopgame-shelf b{top:118px!important;font-size:20px!important}.lat-shopgame-shelf span{bottom:44px!important;font-size:13px!important;left:54px!important}.lat-shopgame-shelf small{top:114px!important;right:24px!important;width:34px!important;height:34px!important}
  .shelf-a{left:16%!important}.shelf-b{left:56%!important}.shelf-c{left:37%!important;top:362px!important}
  .lat-shopgame-counter{width:260px!important;height:112px!important}.lat-counter-screen{width:54px!important;height:30px!important}.lat-shopgame-lion{right:154px!important;bottom:105px!important}.lat-lion-avatar.pro{width:124px;height:154px}
  .lat-shop-customer[style*="--lane: 1"]{left:82px!important;top:420px!important}.lat-shop-customer[style*="--lane: 2"]{left:216px!important;top:474px!important}.lat-shop-customer[style*="--lane: 3"]{left:354px!important;top:422px!important}
  .plant-b{right:252px!important}.lat-shopgame-posters{display:none!important}
}
@media(max-width:700px){
  .lat-shopgame-stage{min-height:600px!important}
  .lat-shopgame-shelf{width:148px!important;height:144px!important}
  .lat-shopgame-shelf .lat-shelf-products{left:22px;right:18px;top:18px;height:68px}.lat-shopgame-shelf .lat-shelf-products i{width:28px;height:28px}
  .lat-shopgame-shelf b{top:90px!important;font-size:18px!important;left:20px!important}.lat-shopgame-shelf span{bottom:32px!important;font-size:11px!important;left:44px!important}.lat-shopgame-shelf small{top:88px!important;right:16px!important;width:28px!important;height:28px!important;font-size:12px!important}
  .shelf-a{left:16%!important;top:170px!important}.shelf-b{left:56%!important;top:170px!important}.shelf-c{left:36%!important;top:322px!important}
  .lat-shopgame-counter{width:222px!important;height:96px!important}.lat-shopgame-lion{right:126px!important;bottom:96px!important}.lat-lion-avatar.pro{width:98px!important;height:128px!important}
  .lat-shop-customer{width:78px!important}.lat-shop-customer .face{width:62px!important;height:102px!important}.lat-shop-customer .wish{left:28px!important;width:68px!important;height:50px!important}
  .lat-shop-customer[style*="--lane: 1"]{left:88px!important;top:396px!important}.lat-shop-customer[style*="--lane: 2"]{left:196px!important;top:444px!important}.lat-shop-customer[style*="--lane: 3"]{left:300px!important;top:396px!important}
  .lat-shopgame-rug,.plant-a,.plant-b,.lat-shopgame-posters{display:none!important}
}


/* v4.6.0 — reconstrucción visual más tipo videojuego casual */
.lat-shop-sim{--shop-green:#1d6b4b;--shop-dark:#173c30}
.lat-shopbar{margin-bottom:12px!important}
.lat-shopbar-stats>div{min-width:90px!important;padding:8px 10px!important;border-radius:14px!important}
.lat-shopbar-stats strong{font-size:16px!important}
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 255px!important;gap:10px!important;align-items:start}
.lat-shopgame-stage{min-height:760px!important;border-radius:26px!important;background:linear-gradient(180deg,#f7fbfc 0,#e6eff5 14%,#dbe7df 15%,#d3aa77 15%,#ca9b67 100%)!important;box-shadow:0 18px 38px rgba(26,62,48,.14)!important}
.lat-shopgame-wall{height:124px!important;background:linear-gradient(180deg,#fff6d7,#f5dc98 80%,#bf8d4a)!important;border-bottom:8px solid #9a6b35!important}
.lat-shopgame-floor{inset:124px 0 0!important;background:linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(180deg,#d6ae7c,#c99864)!important;background-size:58px 46px,58px 46px,100% 100%!important}
.lat-shopgame-floor:before{content:"";position:absolute;left:70px;top:120px;width:630px;height:118px;border-radius:80px;background:linear-gradient(180deg,#f1deb9,#e1c38e);box-shadow:inset 0 0 0 4px rgba(166,119,64,.28),0 10px 18px rgba(105,79,45,.10)}
.lat-shopgame-floor:after{content:"";position:absolute;right:110px;bottom:112px;width:260px;height:170px;border-radius:26px;background:linear-gradient(180deg,#d4e8ee,#b0d5de);box-shadow:inset 0 0 0 4px rgba(71,108,118,.18)}
.lat-shopgame-stage:before{content:"CAJA / FILA";position:absolute;right:160px;bottom:266px;padding:6px 14px;border-radius:999px;background:#1d6b4b;color:#fff;font-size:11px;font-weight:950;letter-spacing:.08em;z-index:4}
.lat-shopgame-stage:after{content:"";position:absolute;right:132px;bottom:138px;width:150px;height:122px;border-radius:18px;border:4px dashed rgba(54,106,121,.35);z-index:3}
.lat-shopgame-rug{left:70px!important;top:405px!important;width:180px!important;height:76px!important;background:linear-gradient(180deg,#2f7b84,#224f54)!important;font-size:11px!important}
.lat-shopgame-door{left:24px!important;top:150px!important;width:112px!important;height:168px!important}
.plant-a{left:278px!important;bottom:116px!important}.plant-b{right:338px!important;bottom:122px!important}
.lat-shopgame-posters{right:118px!important;top:16px!important}.lat-shopgame-window-strip{left:250px!important;right:286px!important}

/* shelves arranged like store aisles */
.lat-shopgame-shelf{width:236px!important;height:230px!important;background:url('../images/shop-gondola.png') center/contain no-repeat!important}
.lat-shopgame-shelf .lat-shelf-products{left:37px!important;right:34px!important;top:28px!important;height:118px!important}
.lat-shopgame-shelf .lat-shelf-products i{width:46px!important;height:46px!important;border-radius:12px!important}
.lat-shopgame-shelf b{left:30px!important;top:142px!important;font-size:22px!important}
.lat-shopgame-shelf span{left:58px!important;bottom:57px!important;font-size:15px!important}
.lat-shopgame-shelf small{top:136px!important;right:28px!important;width:42px!important;height:42px!important;font-size:15px!important}
.shelf-a{left:18%!important;top:188px!important;transform:rotate(-1deg)}
.shelf-b{left:48%!important;top:188px!important;transform:rotate(1deg)}
.shelf-c{left:33%!important;top:426px!important;transform:rotate(-0.5deg)}
.lat-shopgame-shelf.is-stocked{filter:drop-shadow(0 18px 12px rgba(21,115,67,.18))!important}

/* checkout and lion */
.lat-shopgame-counter{right:26px!important;bottom:26px!important;width:272px!important;height:128px!important;border-radius:24px!important;background:linear-gradient(180deg,#74addf,#4876a0)!important;border:6px solid #345b77!important;box-shadow:0 16px 0 rgba(35,63,83,.18),0 18px 30px rgba(35,63,83,.12)!important}
.lat-counter-screen{left:26px!important;top:40px!important;width:68px!important;height:38px!important}
.lat-shopgame-counter:after{content:"PAGO";position:absolute;left:112px;top:16px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.2);color:#e9f9ff;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-lion{right:155px!important;bottom:120px!important;z-index:12!important}
.lat-lion-avatar.pro{width:176px!important;height:208px!important;background:url('../images/constructor-lion.png') center bottom/contain no-repeat!important;filter:drop-shadow(0 16px 12px rgba(31,44,36,.20))}
.lat-shopgame-lion small{margin-top:-10px!important;padding:6px 12px!important;font-size:10px!important}
.lat-shopgame-lion:before{left:114px!important;top:48px!important;width:36px!important;height:36px!important;font-size:20px!important}

/* customers closer to checkout, clearer queue */
.lat-shopgame-clients{z-index:10!important}
.lat-shop-customer{width:118px!important;padding:0!important;background:transparent!important;transition:transform .22s ease}
.lat-shop-customer[style*="--lane: 1"]{left:840px!important;top:468px!important}
.lat-shop-customer[style*="--lane: 2"]{left:756px!important;top:552px!important}
.lat-shop-customer[style*="--lane: 3"]{left:672px!important;top:466px!important}
.lat-shop-customer.is-entering{transform:translate(-620px,-220px) scale(.88)!important;opacity:.12}
.lat-shop-customer .face{width:94px!important;height:142px!important}
.lat-shop-customer .face:after{left:10px!important;right:10px!important;bottom:-8px!important;height:14px!important}
.lat-shop-customer .wish{left:-2px!important;top:-14px!important;width:92px!important;height:58px!important}
.lat-shop-customer .tap-hint{margin-top:0!important;padding:6px 11px!important;font-size:8px!important}
.lat-shop-customer small{width:86px!important;height:10px!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{transform:scale(1.04)!important}
.lat-shop-customer.is-serving{transform:scale(1.08)!important}

/* truck and delivery zone */
.lat-shopgame-truck{left:-160px!important;bottom:40px!important}.lat-truck-vehicle{width:138px!important;height:78px!important}.lat-provider-person{transform:scale(1.04)}
.lat-shopgame-delivery{left:34px!important;bottom:30px!important;gap:16px!important}
.lat-delivery-crate{width:128px!important;height:98px!important}

/* compact HUD panel */
.lat-shopgame-panel{padding:10px!important;border-radius:22px!important;background:linear-gradient(180deg,#ffffff,#f6fbf7)!important;box-shadow:0 14px 28px rgba(26,62,48,.08)!important;gap:8px!important}
.lat-shop-phase{padding:10px!important;border-radius:16px!important}.lat-shop-phase strong{font-size:15px!important}.lat-shop-phase span,.lat-shop-phase small{font-size:9px!important}
.lat-shop-supplier-buttons{gap:5px!important}.lat-shop-supplier-buttons button{padding:7px 8px!important;border-radius:10px!important}
.lat-shop-supplier-buttons b{font-size:10px!important}.lat-shop-supplier-buttons small{font-size:8px!important}
.lat-shop-orders{gap:6px!important}.lat-shop-order-row{padding:7px!important;border-radius:12px!important}.lat-shop-order-row>span{font-size:12px!important}.lat-shop-order-row>small{font-size:8px!important}.lat-shop-order-row button{height:28px!important}
.lat-shop-prices{gap:5px!important}.lat-shop-prices input{padding:6px 7px!important;font-size:12px!important}
.lat-shop-budget{padding:8px 9px!important;border-radius:12px!important;font-size:12px!important}.lat-shop-budget strong{font-size:12px!important}
.lat-shop-open,.lat-shop-deliver{font-size:12px!important;padding:10px 12px!important;border-radius:999px!important}
.lat-shop-live-stats>div{padding:6px!important}.lat-shop-live-stats strong{font-size:14px!important}

/* action bubble / toast smaller */
.lat-shop-action{top:148px!important;left:22px!important;max-width:240px!important;padding:12px 14px!important;border-radius:18px!important}
.lat-shop-action b{font-size:11px!important}.lat-shop-action span{font-size:10px!important;line-height:1.35!important}
.lat-shopgame-toast{bottom:18px!important;max-width:540px!important;padding:12px 18px!important;border-radius:18px!important;font-size:13px!important}

@media(max-width:1300px){
 .lat-shopgame-wrap{grid-template-columns:1fr 240px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:750px!important}.lat-shop-customer[style*="--lane: 2"]{left:670px!important}.lat-shop-customer[style*="--lane: 3"]{left:592px!important}
}
@media(max-width:1100px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-stage{min-height:690px!important}
 .lat-shopgame-window-strip{left:150px!important;right:152px!important}
 .shelf-a{left:14%!important}.shelf-b{left:53%!important}.shelf-c{left:34%!important;top:394px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:640px!important}.lat-shop-customer[style*="--lane: 2"]{left:562px!important}.lat-shop-customer[style*="--lane: 3"]{left:486px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:610px!important}
 .lat-shopgame-floor:before{left:20px!important;top:110px!important;width:330px!important;height:80px!important}
 .lat-shopgame-floor:after,.lat-shopgame-stage:after,.lat-shopgame-stage:before,.plant-a,.plant-b,.lat-shopgame-posters{display:none!important}
 .lat-shopgame-rug{display:none!important}
 .lat-shopgame-shelf{width:156px!important;height:150px!important}
 .lat-shopgame-shelf .lat-shelf-products{left:24px!important;right:20px!important;top:18px!important;height:72px!important}.lat-shopgame-shelf .lat-shelf-products i{width:30px!important;height:30px!important}
 .lat-shopgame-shelf b{top:94px!important;font-size:18px!important;left:20px!important}.lat-shopgame-shelf span{bottom:34px!important;font-size:11px!important;left:44px!important}.lat-shopgame-shelf small{top:90px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}
 .shelf-a{left:14%!important;top:176px!important}.shelf-b{left:56%!important;top:176px!important}.shelf-c{left:36%!important;top:330px!important}
 .lat-shopgame-counter{width:222px!important;height:102px!important;right:18px!important}.lat-counter-screen{width:55px!important;height:30px!important}.lat-shopgame-lion{right:112px!important;bottom:96px!important}.lat-lion-avatar.pro{width:110px!important;height:128px!important}
 .lat-shop-customer{width:82px!important}.lat-shop-customer .face{width:66px!important;height:104px!important}.lat-shop-customer .wish{left:4px!important;width:66px!important;height:46px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:294px!important;top:394px!important}.lat-shop-customer[style*="--lane: 2"]{left:228px!important;top:446px!important}.lat-shop-customer[style*="--lane: 3"]{left:162px!important;top:394px!important}
 .lat-shop-customer.is-entering{transform:translate(-120px,-180px) scale(.88)!important}
}


/* v4.7.0 — rediseño casual premium más limpio y coherente */
.lat-shop-sim{--shop-green:#205d49;--shop-dark:#123b30;--shop-accent:#2f7cb4;--shop-panel:#f8fbf7;--shop-card:#ffffff;--shop-floor:#d8b283;--shop-floor-2:#cf9d69}
.lat-shopbar{padding:0 2px;margin-bottom:12px!important}
.lat-shopbar .lat-chip{font-size:13px!important;padding:9px 14px!important;border-radius:999px!important;background:#103e71!important;color:#fff}
.lat-shopbar-stats{gap:10px!important}.lat-shopbar-stats>div{min-width:92px!important;padding:10px 12px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 20px rgba(17,43,34,.08)!important}.lat-shopbar-stats span{font-size:10px!important}.lat-shopbar-stats strong{font-size:18px!important;color:#113a2f!important}

.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 248px!important;gap:12px!important;align-items:start}
.lat-shopgame-stage{min-height:735px!important;position:relative;overflow:hidden;border-radius:26px!important;border:6px solid #fff!important;background:linear-gradient(180deg,#eff7fb 0,#dfeef6 14%,#e9dbc0 14%,#e8d8b8 20%,#d9b385 20%,#cf9d69 100%)!important;box-shadow:0 18px 42px rgba(17,43,34,.12)!important}
.lat-shopgame-wall{height:112px!important;background:linear-gradient(180deg,#fff9e9,#f8e2a8 76%,#c4904e)!important;border-bottom:7px solid #9a6936!important}
.lat-shopgame-sign{top:18px!important;left:50%!important;transform:translateX(-50%)!important;padding:12px 26px!important;border-radius:18px!important;background:linear-gradient(180deg,#1f6a52,#194a3b)!important;color:#fff!important;font-size:18px!important;letter-spacing:.06em;box-shadow:0 10px 18px rgba(20,71,56,.16)}
.lat-shopgame-clock{top:16px!important;right:18px!important;padding:10px 14px!important;border-radius:16px!important;background:#fff!important;color:#173f33!important;font-size:18px!important;box-shadow:0 10px 20px rgba(17,43,34,.09)!important}
.lat-shopgame-window-strip{left:300px!important;right:210px!important;top:46px!important;gap:18px!important}.lat-shopgame-window-strip .pane{border-radius:14px!important;border:4px solid #c08035!important;background:linear-gradient(180deg,#def6ff,#9ecfe8)!important;box-shadow:inset 0 12px 18px rgba(255,255,255,.35)}
.lat-shopgame-lamps{top:106px!important;justify-content:space-evenly!important}.lat-shopgame-lamps i{width:14px!important;height:14px!important;background:#ffee88!important;box-shadow:0 0 0 8px rgba(255,238,136,.18),0 0 40px rgba(255,238,136,.45)!important}
.lat-shopgame-posters{display:flex!important;right:98px!important;top:18px!important;gap:10px!important}.lat-shopgame-posters .poster{padding:10px 14px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 18px rgba(17,43,34,.08)!important;font-size:11px!important}.lat-shopgame-posters .offer{background:linear-gradient(135deg,#ffe77a,#ffc345)!important}.lat-shopgame-posters .service{background:linear-gradient(135deg,#c6f0db,#84d6c0)!important}

.lat-shopgame-floor{inset:112px 0 0!important;background:linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(180deg,var(--shop-floor),var(--shop-floor-2))!important;background-size:54px 46px,54px 46px,100% 100%!important}
/* aisle */
.lat-shopgame-floor:before{content:"";position:absolute;left:64px;top:114px;width:655px;height:112px;border-radius:72px;background:linear-gradient(180deg,#eed8b2,#e4c892);box-shadow:inset 0 0 0 4px rgba(161,112,56,.24),0 10px 20px rgba(91,64,39,.08)}
/* checkout area */
.lat-shopgame-floor:after{content:"";position:absolute;right:38px;bottom:92px;width:260px;height:210px;border-radius:30px;background:linear-gradient(180deg,#d8edf2,#bddde4);box-shadow:inset 0 0 0 4px rgba(90,133,144,.18)}
/* queue boxes */
.lat-shopgame-stage:before{content:"";position:absolute;right:180px;bottom:154px;width:22px;height:22px;border-radius:8px;border:3px dashed rgba(66,115,127,.36);box-shadow:-88px -36px 0 0 rgba(66,115,127,.34),-176px 40px 0 0 rgba(66,115,127,.32);z-index:3}
.lat-shopgame-stage:after{content:"FILA / COBRO";position:absolute;right:92px;bottom:295px;padding:7px 12px;border-radius:999px;background:#205d49;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;z-index:4}

.lat-shopgame-rug{left:84px!important;top:412px!important;width:156px!important;height:68px!important;border-radius:18px!important;background:linear-gradient(180deg,#2f7a84,#1f5056)!important;color:#ecfffc!important;font-size:10px!important;box-shadow:0 10px 20px rgba(19,57,46,.12)!important}
.lat-shopgame-door{left:24px!important;top:152px!important;width:92px!important;height:152px!important;border-width:5px!important;border-radius:10px!important;background:linear-gradient(180deg,#85c3e8,#5d9dcc)!important;box-shadow:0 10px 20px rgba(17,43,34,.1)!important}.lat-shopgame-door:before{content:"";position:absolute;right:12px;top:66px;width:8px;height:8px;border-radius:50%;background:#f7d56a}.lat-shopgame-door:after{content:"ENTRADA";position:absolute;left:50%;bottom:10px;transform:translateX(-50%);color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-door span{display:none!important}
.lat-shopgame-plant{width:66px!important;height:94px!important}.plant-a{left:64px!important;bottom:92px!important}.plant-b{right:318px!important;bottom:98px!important}

/* clean shelves */
.lat-shopgame-shelf{width:232px!important;height:224px!important;padding:0!important;border:none!important;background:url('../images/shop-gondola.png') center/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 16px 12px rgba(25,45,35,.14))}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor{display:none!important}
.lat-shopgame-shelf .lat-shelf-products{left:37px!important;right:34px!important;top:28px!important;height:116px!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important}
.lat-shopgame-shelf .lat-shelf-products i{width:46px!important;height:46px!important;border-radius:12px!important;box-shadow:0 6px 16px rgba(25,45,35,.16)!important;border:2px solid rgba(150,150,150,.12)!important;background:#fff!important}
.shelf-a .lat-shelf-products i{background:radial-gradient(circle at 50% 24%,#8fc76b 0 4px,transparent 5px),linear-gradient(180deg,#eadcca 0 34%,#a66238 35% 100%)!important}
.shelf-b .lat-shelf-products i{background:url('../images/headphones.jpg') center/cover no-repeat!important}
.shelf-c .lat-shelf-products i{background:url('../images/toy.jpg') center/cover no-repeat!important}
.lat-shopgame-shelf b{left:28px!important;top:140px!important;font-size:21px!important;z-index:4}.lat-shopgame-shelf span{left:56px!important;bottom:56px!important;font-size:15px!important;color:#3d3124!important;z-index:4;font-weight:900}.lat-shopgame-shelf small{top:133px!important;right:28px!important;width:42px!important;height:42px!important;font-size:15px!important;z-index:4;background:linear-gradient(180deg,#2faf7d,#1e7a5b)!important;box-shadow:0 8px 14px rgba(27,112,74,.2)!important}
.shelf-a{left:18%!important;top:192px!important}.shelf-b{left:49%!important;top:192px!important}.shelf-c{left:34%!important;top:424px!important}

/* checkout & lion */
.lat-shopgame-counter{right:22px!important;bottom:22px!important;width:220px!important;height:104px!important;border-radius:22px!important;background:linear-gradient(180deg,#74addf,#4876a0)!important;border:6px solid #345b77!important;box-shadow:0 16px 0 rgba(35,63,83,.18),0 18px 30px rgba(35,63,83,.12)!important}
.lat-counter-top{left:16px!important;right:16px!important;top:12px!important;height:9px!important}.lat-counter-screen{left:24px!important;top:36px!important;width:58px!important;height:32px!important;border-radius:10px!important;background:linear-gradient(180deg,#7ee0d8,#46b5a7)!important}
.lat-shopgame-counter>span{font-size:15px!important;letter-spacing:.06em!important}.lat-shopgame-counter>b{font-size:28px!important}
.lat-shopgame-counter:after{content:"PAGO";position:absolute;left:98px;top:14px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.2);color:#edf8fd;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-lion{right:134px!important;bottom:108px!important;z-index:12!important}
.lat-lion-avatar.pro{width:142px!important;height:182px!important;background:url('../images/constructor-lion.png') center bottom/contain no-repeat!important;filter:drop-shadow(0 14px 10px rgba(25,45,35,.18))!important}
.lat-shopgame-lion small{margin-top:-18px!important;padding:6px 12px!important;border-radius:999px!important;background:#fff!important;color:#1e4f40!important;font-size:10px!important;box-shadow:0 8px 14px rgba(17,43,34,.08)!important}
.lat-shopgame-lion:before{left:92px!important;top:34px!important;width:34px!important;height:34px!important;font-size:20px!important}
.lat-shopgame-lion.is-walking .lat-lion-avatar.pro{animation:lionWalkClean .22s infinite alternate}.lat-shopgame-lion.is-cashing .lat-lion-avatar.pro{animation:lionCashClean .16s 5 alternate}

/* clients in queue near checkout */
.lat-shopgame-clients{z-index:10!important;inset:0!important;pointer-events:none!important}
.lat-shop-customer{pointer-events:auto!important;width:96px!important;padding:0!important;background:transparent!important;transition:transform .22s ease!important;animation:customerHoverClean 1.8s ease-in-out infinite alternate!important;animation-delay:var(--floatDelay,0s)!important}
.lat-shop-customer.is-entering{opacity:.12!important;transform:translate(-720px,-240px) scale(.88)!important}
.lat-shop-customer[style*="--lane: 1"]{left:784px!important;top:468px!important}
.lat-shop-customer[style*="--lane: 2"]{left:698px!important;top:556px!important}
.lat-shop-customer[style*="--lane: 3"]{left:612px!important;top:468px!important}
.lat-shop-customer .face{width:84px!important;height:130px!important;background-position:center bottom!important;background-size:contain!important;filter:drop-shadow(0 12px 10px rgba(25,45,35,.14))!important}
.lat-shop-customer .face i{display:none!important}
.lat-shop-customer .face:after{content:"";position:absolute;left:14px;right:14px;bottom:-6px;height:12px;border-radius:50%;background:rgba(0,0,0,.16);filter:blur(4px);z-index:-1}
.lat-shop-customer .face.avatar-a{background-image:url('../images/shop-customer-a.png')}
.lat-shop-customer .face.avatar-b{background-image:url('../images/shop-customer-b.png')}
.lat-shop-customer .face.avatar-c{background-image:url('../images/shop-customer-c.png')}
.lat-shop-customer .face.avatar-d{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .face.avatar-e{background-image:url('../images/shop-customer-a.png')}
.lat-shop-customer .face.avatar-f{background-image:url('../images/shop-customer-b.png')}
.lat-shop-customer .face.avatar-g{background-image:url('../images/shop-customer-c.png')}
.lat-shop-customer .face.avatar-h{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .wish{left:-2px!important;top:-12px!important;width:86px!important;height:54px!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff,#effbf3)!important;box-shadow:0 10px 18px rgba(17,43,34,.12)!important}.lat-shop-customer .wish b{font-size:26px!important}.lat-shop-customer .wish em{font-size:8px!important;color:#395748!important}
.lat-shop-customer .tap-hint{margin-top:0!important;padding:5px 10px!important;font-size:8px!important;border-radius:999px!important;background:#fff17a!important;color:#4d4306!important;box-shadow:0 8px 14px rgba(91,77,18,.15)!important}
.lat-shop-customer small{width:74px!important;height:10px!important;margin-top:4px!important;background:rgba(255,255,255,.96)!important;border-radius:999px!important;box-shadow:0 6px 12px rgba(17,43,34,.08)!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{transform:scale(1.05)!important}.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}.lat-shop-customer.is-bought{animation:shopCustomerExit .45s ease forwards!important}.lat-shop-customer.is-leaving{animation:shopCustomerLeave .45s ease forwards!important}

/* delivery area */
.lat-shopgame-truck{left:-162px!important;bottom:26px!important}.lat-truck-vehicle{width:136px!important;height:78px!important}.lat-provider-person{transform:scale(1.04)!important}.lat-shopgame-delivery{left:22px!important;bottom:22px!important;gap:14px!important}.lat-delivery-crate{width:120px!important;height:92px!important;border-radius:20px!important;background:linear-gradient(180deg,#d6a36d,#ac6a37)!important;box-shadow:0 14px 0 rgba(96,56,24,.22),0 12px 22px rgba(25,36,29,.14)!important}

/* action and toast */
.lat-shop-action{top:138px!important;left:18px!important;max-width:220px!important;padding:12px 14px!important;border-radius:18px!important;background:linear-gradient(180deg,#1f634e,#143d31)!important;box-shadow:0 16px 24px rgba(17,43,34,.16)!important}.lat-shop-action b{font-size:11px!important}.lat-shop-action span{font-size:10px!important;line-height:1.35!important}
.lat-shopgame-toast{bottom:16px!important;max-width:420px!important;padding:12px 18px!important;border-radius:18px!important;background:rgba(23,60,48,.96)!important;box-shadow:0 12px 24px rgba(17,43,34,.2)!important;font-size:13px!important}

/* right HUD compact */
.lat-shopgame-panel{padding:9px!important;border-radius:22px!important;background:linear-gradient(180deg,#ffffff,#f6fbf7)!important;border:1px solid rgba(29,78,58,.08)!important;box-shadow:0 14px 28px rgba(17,43,34,.08)!important;gap:8px!important;max-height:702px!important;overflow:auto!important}
.lat-shop-phase{padding:11px 12px!important;border-radius:16px!important;background:linear-gradient(180deg,#2b8b5d,#1d6b4b)!important;color:#fff!important;box-shadow:0 10px 18px rgba(29,107,75,.14)!important}.lat-shop-phase span{font-size:9px!important;color:#d8ffef!important;letter-spacing:.08em!important}.lat-shop-phase strong{font-size:15px!important;color:#fff!important}.lat-shop-phase small{font-size:9px!important;color:#eefdf7!important;line-height:1.35!important}
.lat-side-kicker{font-size:10px!important;letter-spacing:.1em!important;color:#1d6b4b!important;padding:0 4px!important}
.lat-shop-supplier-buttons{gap:6px!important}.lat-shop-supplier-buttons button{padding:7px 8px!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 14px rgba(17,43,34,.06)!important;border:1px solid rgba(29,78,58,.1)!important}.lat-shop-supplier-buttons button.is-active{background:#effaf4!important;border-color:#7bcc9c!important}.lat-shop-supplier-buttons b{font-size:10px!important}.lat-shop-supplier-buttons small{font-size:8px!important}
.lat-shop-order-row{padding:7px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 14px rgba(17,43,34,.06)!important}.lat-shop-order-row>span{font-size:12px!important}.lat-shop-order-row>small{font-size:8px!important}.lat-shop-order-row div{gap:6px!important}.lat-shop-order-row button{height:28px!important;width:28px!important;border-radius:8px!important}.lat-shop-order-row strong{font-size:16px!important}
.lat-shop-prices{gap:6px!important}.lat-shop-prices label{padding:0 3px!important;font-size:12px!important}.lat-shop-prices input{padding:7px!important;border-radius:10px!important}
.lat-shop-budget{padding:10px!important;border-radius:14px!important;background:#edf7f1!important;font-size:12px!important}.lat-shop-budget strong{font-size:12px!important;color:#113a2f!important}
.lat-shop-deliver,.lat-shop-open{padding:12px 14px!important;border-radius:999px!important;font-size:12px!important;letter-spacing:.03em!important;box-shadow:0 10px 20px rgba(17,43,34,.08)!important}
.lat-shop-live-stats{grid-template-columns:1fr!important;gap:6px!important}.lat-shop-live-stats>div{padding:8px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 14px rgba(17,43,34,.06)!important}.lat-shop-live-stats span{font-size:9px!important}.lat-shop-live-stats strong{font-size:15px!important}

@keyframes lionWalkClean{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes lionCashClean{from{transform:translateY(0) scale(1)}to{transform:translateY(-6px) scale(1.03)}}
@keyframes customerHoverClean{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes shopCustomerExit{to{opacity:0;transform:translateY(-36px) scale(1.08)}}
@keyframes shopCustomerLeave{to{opacity:0;transform:translateX(56px) translateY(-10px) scale(.9)}}

@media(max-width:1280px){
 .lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 228px!important}
 .lat-shopgame-window-strip{left:220px!important;right:185px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:706px!important}.lat-shop-customer[style*="--lane: 2"]{left:624px!important}.lat-shop-customer[style*="--lane: 3"]{left:544px!important}
}
@media(max-width:1100px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-stage{min-height:680px!important}
 .lat-shopgame-window-strip{left:120px!important;right:120px!important}
 .lat-shopgame-posters{display:none!important}
 .shelf-a{left:14%!important}.shelf-b{left:54%!important}.shelf-c{left:35%!important;top:398px!important}
 .lat-shopgame-floor:before{width:470px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:660px!important}.lat-shop-customer[style*="--lane: 2"]{left:582px!important}.lat-shop-customer[style*="--lane: 3"]{left:504px!important}
}
@media(max-width:700px){
 .lat-shopbar{margin-bottom:10px!important}.lat-shopbar-stats{gap:6px!important}.lat-shopbar-stats>div{min-width:76px!important;padding:8px 9px!important}.lat-shopbar-stats strong{font-size:15px!important}
 .lat-shopgame-stage{min-height:600px!important}
 .lat-shopgame-window-strip,.lat-shopgame-lamps,.lat-shopgame-posters,.plant-a,.plant-b,.lat-shopgame-floor:after,.lat-shopgame-stage:before,.lat-shopgame-stage:after{display:none!important}
 .lat-shopgame-floor:before{left:20px!important;top:112px!important;width:320px!important;height:78px!important}
 .lat-shopgame-door{width:72px!important;height:124px!important}.lat-shopgame-rug{display:none!important}
 .lat-shopgame-shelf{width:150px!important;height:146px!important}.lat-shopgame-shelf .lat-shelf-products{left:24px!important;right:20px!important;top:18px!important;height:72px!important}.lat-shopgame-shelf .lat-shelf-products i{width:30px!important;height:30px!important}.lat-shopgame-shelf b{top:92px!important;font-size:18px!important;left:20px!important}.lat-shopgame-shelf span{bottom:34px!important;font-size:11px!important;left:44px!important}.lat-shopgame-shelf small{top:90px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}
 .shelf-a{left:14%!important;top:176px!important}.shelf-b{left:56%!important;top:176px!important}.shelf-c{left:36%!important;top:330px!important}
 .lat-shopgame-counter{width:208px!important;height:94px!important;right:14px!important}.lat-counter-screen{width:50px!important;height:28px!important}.lat-shopgame-lion{right:108px!important;bottom:88px!important}.lat-lion-avatar.pro{width:104px!important;height:132px!important}
 .lat-shop-customer{width:74px!important}.lat-shop-customer .face{width:62px!important;height:98px!important}.lat-shop-customer .wish{left:2px!important;top:-10px!important;width:62px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:292px!important;top:390px!important}.lat-shop-customer[style*="--lane: 2"]{left:226px!important;top:442px!important}.lat-shop-customer[style*="--lane: 3"]{left:160px!important;top:390px!important}.lat-shop-customer.is-entering{transform:translate(-180px,-160px) scale(.88)!important}
 .lat-shopgame-panel{padding:8px!important;border-radius:18px!important}
}


/* v4.7.1 — correcciones de composición y panel */
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 310px!important;gap:14px!important}
.lat-shopgame-stage{min-width:0!important}
.lat-shopgame-sign{top:16px!important;z-index:8!important;white-space:nowrap!important}
.lat-shopgame-window-strip{top:66px!important;left:330px!important;right:330px!important;z-index:3!important}
.lat-shopgame-posters{z-index:7!important}
.lat-shopgame-clock{z-index:8!important}
/* eliminar círculos grandes y etiqueta invasiva */
.lat-shopgame-stage:before,.lat-shopgame-stage:after{display:none!important;content:none!important}
/* zona de fila sutil */
.lat-shopgame-counter:before{content:""!important;position:absolute!important;left:-210px!important;bottom:10px!important;width:180px!important;height:108px!important;border-radius:24px!important;border:3px dashed rgba(57,108,123,.28)!important;background:rgba(194,224,231,.35)!important;box-shadow:none!important}
.lat-shopgame-counter:after{content:"PAGO"!important;left:96px!important;top:14px!important}
.lat-shopgame-panel{max-height:720px!important;overflow-y:auto!important;overflow-x:hidden!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
.lat-shopgame-panel *{box-sizing:border-box!important}
.lat-shop-orders,.lat-shop-prices,.lat-shop-supplier{min-width:0!important}
.lat-shop-order-row{grid-template-columns:minmax(0,1fr) auto!important}
.lat-shop-order-row>div{grid-template-columns:34px minmax(34px,1fr) 34px!important;min-width:0!important}
.lat-shop-order-row button{min-width:0!important;width:34px!important}
.lat-shop-prices{grid-template-columns:1fr!important}
.lat-shop-prices>span{grid-column:auto!important}
.lat-shop-prices label{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;width:100%!important}
.lat-shop-prices input{width:100%!important;min-width:0!important}
.lat-shop-budget{grid-template-columns:minmax(0,1fr) auto!important}
.lat-shop-deliver,.lat-shop-open{width:100%!important;white-space:normal!important;line-height:1.15!important}
.lat-shop-supplier-buttons button{width:100%!important;min-width:0!important}
.lat-shop-supplier-buttons b,.lat-shop-supplier-buttons small{white-space:normal!important}
.lat-shopgame-lion{right:138px!important;bottom:108px!important}
.lat-shopgame-counter{right:24px!important}
@media(max-width:1280px){
 .lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 290px!important}
 .lat-shopgame-window-strip{left:260px!important;right:270px!important}
}
@media(max-width:1100px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-panel{max-height:none!important;overflow:visible!important}
 .lat-shopgame-window-strip{left:130px!important;right:130px!important}
}
@media(max-width:700px){
 .lat-shopgame-window-strip{display:none!important}
 .lat-shopgame-panel{overflow:visible!important}
}


/* v5.0.0 — tienda realista animada */
.lat-shop-sim{--shop-green:#215d48;--shop-dark:#163a31;--shop-panel:#f8fbf7;--shop-accent:#2d89c8;--shop-shadow:0 18px 38px rgba(20,47,38,.12)}
.lat-shopbar{grid-template-columns:1fr auto!important;gap:12px!important;margin-bottom:14px!important}.lat-shopbar h3{font-size:clamp(28px,3vw,42px)!important}
.lat-shopbar-stats{gap:10px!important}.lat-shopbar-stats>div{padding:10px 12px!important;min-width:104px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 22px rgba(20,47,38,.08)!important}
.lat-shopbar-stats strong{font-size:18px!important}

.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 310px!important;gap:14px!important;align-items:start!important}
.lat-shopgame-stage{min-height:770px!important;border-radius:28px!important;border:6px solid #fff!important;background:linear-gradient(180deg,#ecf5f7 0,#dcedf4 14%,#f4ead3 14%,#eedfc2 18%,#d8b282 18%,#d0a06a 100%)!important;box-shadow:var(--shop-shadow)!important;overflow:hidden!important;position:relative!important}
.lat-shopgame-wall{height:122px!important;background:linear-gradient(180deg,#fff7df,#f5dca2 78%,#bc8849)!important;border-bottom:7px solid #916232!important}
.lat-shopgame-sign{top:18px!important;left:50%!important;transform:translateX(-50%)!important;padding:12px 26px!important;border-radius:18px!important;background:linear-gradient(180deg,#1f6d55,#174838)!important;color:#fff!important;font-size:20px!important;letter-spacing:.06em!important;box-shadow:0 10px 18px rgba(20,71,56,.16)!important;z-index:4!important}
.lat-shopgame-clock{right:20px!important;top:18px!important;padding:10px 14px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 18px rgba(20,47,38,.08)!important;color:#173f33!important}
.lat-shopgame-window-strip{left:300px!important;right:210px!important;top:48px!important;display:flex!important;gap:16px!important}.lat-shopgame-window-strip .pane{border-radius:14px!important;border:4px solid #c27d30!important;background:linear-gradient(180deg,#def5ff,#a1d4ed)!important;box-shadow:inset 0 14px 18px rgba(255,255,255,.35)!important}
.lat-shopgame-lamps{top:108px!important;display:flex!important;justify-content:space-evenly!important}.lat-shopgame-lamps i{width:14px!important;height:14px!important;border-radius:50%!important;background:#ffee8d!important;box-shadow:0 0 0 8px rgba(255,238,141,.18),0 0 36px rgba(255,238,141,.45)!important}
.lat-shopgame-posters{display:flex!important;right:98px!important;top:18px!important;gap:10px!important}.lat-shopgame-posters .poster{padding:10px 14px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 18px rgba(20,47,38,.08)!important;font-size:11px!important;font-weight:950!important;color:#1f483a!important}.lat-shopgame-posters .offer{background:linear-gradient(135deg,#ffe87f,#ffca56)!important}.lat-shopgame-posters .service{background:linear-gradient(135deg,#c5f2dd,#88d8be)!important}

.lat-shopgame-floor{inset:122px 0 0!important;background:linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),linear-gradient(180deg,#d9b487,#d1a06a)!important;background-size:56px 46px,56px 46px,100% 100%!important}
/* store aisle + checkout zone */
.lat-shopgame-floor:before{content:"";position:absolute;left:68px;top:122px;width:640px;height:110px;border-radius:70px;background:linear-gradient(180deg,#edd9b3,#e4c892);box-shadow:inset 0 0 0 4px rgba(161,112,56,.24),0 10px 20px rgba(91,64,39,.08)}
.lat-shopgame-floor:after{content:"";position:absolute;right:36px;bottom:84px;width:280px;height:235px;border-radius:28px;background:linear-gradient(180deg,#d9eef3,#c0dfe7);box-shadow:inset 0 0 0 4px rgba(90,133,144,.18)}
.lat-shopgame-stage:before{content:""!important;position:absolute!important;right:188px!important;bottom:160px!important;width:22px!important;height:22px!important;border-radius:8px!important;border:3px dashed rgba(66,115,127,.36)!important;box-shadow:-92px -38px 0 0 rgba(66,115,127,.34),-184px 42px 0 0 rgba(66,115,127,.32)!important;z-index:3!important;background:none!important}
.lat-shopgame-stage:after{content:"FILA / COBRO"!important;position:absolute!important;right:96px!important;bottom:304px!important;padding:7px 12px!important;border-radius:999px!important;background:#205d49!important;color:#fff!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;z-index:4!important;box-shadow:none!important}

.lat-shopgame-door{left:22px!important;top:150px!important;width:92px!important;height:154px!important;border-radius:10px!important;background:linear-gradient(180deg,#82c4ea,#5c9dcc)!important;border:6px solid #554234!important;box-shadow:0 10px 20px rgba(20,47,38,.08)!important;display:block!important}.lat-shopgame-door span{display:none!important}.lat-shopgame-door:before{content:"";position:absolute;right:12px;top:68px;width:8px;height:8px;border-radius:50%;background:#f1cb67}.lat-shopgame-door:after{content:"ENTRADA";position:absolute;left:50%;bottom:10px;transform:translateX(-50%);color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-rug{left:74px!important;top:420px!important;width:158px!important;height:68px!important;border-radius:18px!important;background:linear-gradient(180deg,#2c7982,#224e53)!important;color:#effffb!important;font-size:10px!important;display:grid!important;place-items:center!important;box-shadow:0 10px 20px rgba(20,47,38,.12)!important}
.lat-shopgame-plant{width:72px!important;height:102px!important}.plant-a{left:76px!important;bottom:92px!important}.plant-b{right:334px!important;bottom:98px!important}

/* shelves */
.lat-shopgame-shelf{width:244px!important;height:232px!important;background:url('../images/shop-gondola.png') center/contain no-repeat!important;border:none!important;box-shadow:none!important;filter:drop-shadow(0 18px 14px rgba(25,45,35,.16))!important;padding:0!important;overflow:visible!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor{display:none!important}
.lat-shopgame-shelf .lat-shelf-products{position:absolute!important;left:37px!important;right:34px!important;top:28px!important;height:118px!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important}
.lat-shopgame-shelf .lat-shelf-products i{width:48px!important;height:48px!important;border-radius:12px!important;box-shadow:0 6px 16px rgba(25,45,35,.16)!important;border:2px solid rgba(150,150,150,.14)!important;background:#fff!important}
.shelf-a .lat-shelf-products i{background:radial-gradient(circle at 50% 24%,#8fc76b 0 4px,transparent 5px),linear-gradient(180deg,#eadcca 0 34%,#a66238 35% 100%)!important}
.shelf-b .lat-shelf-products i{background:url('../images/headphones.jpg') center/cover no-repeat!important}
.shelf-c .lat-shelf-products i{background:url('../images/toy.jpg') center/cover no-repeat!important}
.lat-shopgame-shelf b{left:30px!important;top:142px!important;font-size:22px!important;z-index:4!important}.lat-shopgame-shelf span{left:58px!important;bottom:56px!important;font-size:15px!important;color:#3f3024!important;z-index:4!important;font-weight:900!important}.lat-shopgame-shelf small{top:134px!important;right:28px!important;width:42px!important;height:42px!important;font-size:15px!important;z-index:4!important;background:linear-gradient(180deg,#2faf7d,#1e7a5b)!important;box-shadow:0 8px 14px rgba(27,112,74,.2)!important}
.shelf-a{left:18%!important;top:192px!important}.shelf-b{left:49%!important;top:192px!important}.shelf-c{left:34%!important;top:425px!important}
.lat-shopgame-shelf.is-stocked{filter:drop-shadow(0 18px 14px rgba(25,45,35,.16)) drop-shadow(0 0 0 rgba(30,195,110,.0))!important;transform:translateY(-2px) scale(1.01)!important}

/* checkout & lion */
.lat-shopgame-counter{right:22px!important;bottom:22px!important;width:230px!important;height:106px!important;border-radius:22px!important;background:linear-gradient(180deg,#74addf,#4876a0)!important;border:6px solid #345b77!important;box-shadow:0 16px 0 rgba(35,63,83,.18),0 18px 30px rgba(35,63,83,.12)!important}
.lat-counter-top{left:16px!important;right:16px!important;top:12px!important;height:9px!important}.lat-counter-screen{left:24px!important;top:36px!important;width:60px!important;height:32px!important;border-radius:10px!important;background:linear-gradient(180deg,#7ee0d8,#46b5a7)!important}
.lat-shopgame-counter>span{position:absolute!important;right:20px!important;bottom:10px!important;color:#ebfbff!important;font-size:15px!important;font-weight:950!important}.lat-shopgame-counter>b{right:24px!important;top:10px!important;font-size:28px!important}.lat-shopgame-counter:after{content:"PAGO";position:absolute;left:100px;top:14px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.22);color:#ecf9fd;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-lion{right:136px!important;bottom:108px!important;z-index:12!important;display:flex!important;flex-direction:column!important;align-items:center!important}
.lat-lion-avatar.pro{display:block!important;width:142px!important;height:188px!important;background:url('../images/constructor-lion.png') center bottom/contain no-repeat!important;filter:drop-shadow(0 14px 10px rgba(25,45,35,.18))!important}
.lat-shopgame-lion small{margin-top:-18px!important;padding:6px 12px!important;border-radius:999px!important;background:#fff!important;color:#1e4f40!important;font-size:10px!important;box-shadow:0 8px 14px rgba(20,47,38,.08)!important}
.lat-shopgame-lion:before{content:attr(data-carry)!important;position:absolute!important;left:94px!important;top:34px!important;width:34px!important;height:34px!important;border-radius:12px!important;background:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 8px 18px rgba(33,45,36,.18)!important;opacity:0!important;transform:scale(.7)!important;transition:.2s!important;z-index:12!important}.lat-shopgame-lion.is-carrying:before{opacity:1!important;transform:scale(1)!important}
.lat-shopgame-lion.is-walking .lat-lion-avatar.pro{animation:lionWalkReal .22s infinite alternate!important}.lat-shopgame-lion.is-cashing .lat-lion-avatar.pro{animation:lionCashReal .16s 5 alternate!important}

/* realistic truck and provider */
.lat-shopgame-truck{left:-210px!important;bottom:18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;transition:transform .9s ease!important;z-index:11!important}
.lat-shopgame-truck.is-arriving{transform:translateX(250px)!important}.lat-shopgame-truck.is-leaving{transform:translateX(1300px)!important}
.lat-truck-vehicle{position:relative!important;display:block!important;width:230px!important;height:126px!important;background:url('../images/shop-truck-real.png') center/contain no-repeat!important}.lat-truck-vehicle i{display:none!important}
.lat-provider-person{position:absolute!important;left:186px!important;bottom:10px!important;display:block!important;width:78px!important;height:108px!important;background:url('../images/shop-provider-real.png') center bottom/contain no-repeat!important}.lat-provider-person i{display:none!important}
.lat-shopgame-truck small{margin-top:6px!important;padding:5px 10px!important;border-radius:999px!important;background:#fff!important;font-size:10px!important;font-weight:900!important;box-shadow:0 8px 14px rgba(20,47,38,.08)!important}
.lat-shopgame-delivery{left:28px!important;bottom:22px!important;display:flex!important;gap:14px!important;z-index:12!important}.lat-delivery-crate{width:126px!important;height:98px!important;border-radius:18px!important;background:linear-gradient(180deg,#d6a36d,#ac6a37)!important;box-shadow:0 14px 0 rgba(96,56,24,.22),0 12px 22px rgba(25,36,29,.14)!important}

/* realistic people queue */
.lat-shopgame-clients{position:absolute!important;inset:0!important;z-index:10!important;pointer-events:none!important}
.lat-shop-customer{pointer-events:auto!important;width:108px!important;display:flex!important;flex-direction:column!important;align-items:center!important;background:transparent!important;border:0!important;cursor:pointer!important;transition:transform .25s ease!important;animation:customerHoverReal 1.8s ease-in-out infinite alternate!important;animation-delay:var(--floatDelay,0s)!important}
.lat-shop-customer.is-entering{opacity:.12!important;transform:translate(-720px,-250px) scale(.86)!important}
.lat-shop-customer[style*="--lane: 1"]{left:806px!important;top:470px!important}
.lat-shop-customer[style*="--lane: 2"]{left:718px!important;top:560px!important}
.lat-shop-customer[style*="--lane: 3"]{left:630px!important;top:470px!important}
.lat-shop-customer .face{position:relative!important;display:block!important;width:94px!important;height:144px!important;background-position:center bottom!important;background-repeat:no-repeat!important;background-size:contain!important;filter:drop-shadow(0 12px 10px rgba(25,45,35,.15))!important}
.lat-shop-customer .face i{display:none!important}.lat-shop-customer .face:after{content:"";position:absolute;left:12px;right:12px;bottom:-6px;height:12px;border-radius:50%;background:rgba(0,0,0,.16);filter:blur(4px);z-index:-1}
.lat-shop-customer .face.avatar-a{background-image:url('../images/shop-customer-a.png')}.lat-shop-customer .face.avatar-b{background-image:url('../images/shop-customer-b.png')}.lat-shop-customer .face.avatar-c{background-image:url('../images/shop-customer-c.png')}.lat-shop-customer .face.avatar-d{background-image:url('../images/shop-customer-d.png')}.lat-shop-customer .face.avatar-e{background-image:url('../images/shop-customer-a.png')}.lat-shop-customer .face.avatar-f{background-image:url('../images/shop-customer-b.png')}.lat-shop-customer .face.avatar-g{background-image:url('../images/shop-customer-c.png')}.lat-shop-customer .face.avatar-h{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .wish{position:absolute!important;left:-2px!important;top:-12px!important;display:grid!important;place-items:center!important;width:90px!important;height:56px!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff,#effbf3)!important;box-shadow:0 10px 18px rgba(20,47,38,.12)!important}.lat-shop-customer .wish b{font-size:26px!important}.lat-shop-customer .wish em{font-size:8px!important;color:#395748!important}
.lat-shop-customer .tap-hint{margin-top:2px!important;padding:5px 10px!important;font-size:8px!important;border-radius:999px!important;background:#fff17a!important;color:#4d4306!important;box-shadow:0 8px 14px rgba(91,77,18,.15)!important}
.lat-shop-customer small{width:78px!important;height:10px!important;margin-top:4px!important;padding:2px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 6px 12px rgba(20,47,38,.08)!important}.lat-shop-customer small i{display:block!important;width:var(--patience,100%)!important;height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#ff4d5d,#ffd43b,#20c878)!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{transform:scale(1.05)!important}.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}.lat-shop-customer.is-bought{animation:shopCustomerBoughtReal .45s ease forwards!important}.lat-shop-customer.is-leaving{animation:shopCustomerLeaveReal .45s ease forwards!important}

/* instructions and toast */
.lat-shop-action{top:138px!important;left:18px!important;max-width:230px!important;padding:12px 14px!important;border-radius:18px!important;background:linear-gradient(180deg,#1f634e,#143d31)!important;box-shadow:0 16px 24px rgba(20,47,38,.16)!important}.lat-shop-action b{font-size:11px!important}.lat-shop-action span{font-size:10px!important;line-height:1.35!important}
.lat-shopgame-toast{left:50%!important;bottom:18px!important;transform:translate(-50%,0)!important;max-width:440px!important;padding:12px 18px!important;border-radius:18px!important;background:rgba(23,60,48,.96)!important;color:#fff!important;box-shadow:0 12px 24px rgba(20,47,38,.18)!important;z-index:20!important}

/* hud panel */
.lat-shopgame-panel{padding:12px!important;border-radius:24px!important;background:linear-gradient(180deg,#ffffff,#f7fbf8)!important;border:1px solid rgba(29,78,58,.08)!important;box-shadow:var(--shop-shadow)!important;display:flex!important;flex-direction:column!important;gap:10px!important;max-height:770px!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important}
.lat-shopgame-panel *{box-sizing:border-box!important}
.lat-shop-phase{padding:12px!important;border-radius:18px!important;background:linear-gradient(180deg,#2b8b5d,#1d6b4b)!important;color:#fff!important;box-shadow:0 10px 18px rgba(29,107,75,.14)!important}.lat-shop-phase span{font-size:10px!important;letter-spacing:.08em!important;color:#d8ffef!important}.lat-shop-phase strong{display:block!important;font-size:18px!important;margin:4px 0!important}.lat-shop-phase small{font-size:10px!important;color:#eefdf7!important;line-height:1.35!important}
.lat-side-kicker{font-size:10px!important;letter-spacing:.1em!important;color:#1d6b4b!important;padding:0 4px!important;font-weight:950!important}
.lat-shop-supplier-buttons{gap:6px!important}.lat-shop-supplier-buttons button{display:flex!important;justify-content:space-between!important;gap:5px!important;padding:8px 10px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 14px rgba(20,47,38,.06)!important;border:1px solid rgba(29,78,58,.1)!important}.lat-shop-supplier-buttons button.is-active{background:#effaf4!important;border-color:#7bcc9c!important}.lat-shop-supplier-buttons b{font-size:11px!important}.lat-shop-supplier-buttons small{font-size:9px!important}
.lat-shop-orders{gap:8px!important;display:grid!important}.lat-shop-order-row{padding:8px!important;border-radius:13px!important;background:#fff!important;box-shadow:0 6px 14px rgba(20,47,38,.06)!important;border:1px solid rgba(29,78,58,.06)!important;display:grid!important;grid-template-columns:1fr auto!important;gap:2px!important}.lat-shop-order-row>span{font-size:13px!important;font-weight:900!important}.lat-shop-order-row>small{font-size:9px!important}.lat-shop-order-row>div{grid-column:1/-1!important;display:grid!important;grid-template-columns:32px 1fr 32px!important;gap:6px!important;align-items:center!important}.lat-shop-order-row button{height:30px!important;border-radius:9px!important;background:#1d6b4b!important;color:#fff!important;border:0!important;font-size:18px!important}.lat-shop-order-row strong{text-align:center!important;font-size:16px!important}
.lat-shop-prices{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.lat-shop-prices>span{grid-column:1/-1!important}.lat-shop-prices label{display:flex!important;gap:4px!important;align-items:center!important;font-size:12px!important}.lat-shop-prices input{width:100%!important;min-width:0!important;padding:7px!important;border:1px solid #d7e2db!important;border-radius:9px!important}
.lat-shop-budget{display:grid!important;grid-template-columns:1fr auto!important;gap:5px!important;padding:10px!important;border-radius:14px!important;background:#eef5ef!important}.lat-shop-budget strong{font-size:13px!important;color:#113a2f!important}
.lat-shop-deliver,.lat-shop-open{padding:12px 14px!important;border-radius:999px!important;font-size:13px!important;letter-spacing:.03em!important;box-shadow:0 10px 20px rgba(20,47,38,.08)!important}.lat-shop-open{background:linear-gradient(90deg,#ffcb32,#ff6b35)!important}
.lat-shop-live-stats{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.lat-shop-live-stats>div{padding:8px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 14px rgba(20,47,38,.06)!important;text-align:center!important}.lat-shop-live-stats span{display:block!important;font-size:9px!important}.lat-shop-live-stats strong{font-size:15px!important}

@keyframes lionWalkReal{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes lionCashReal{from{transform:translateY(0) scale(1)}to{transform:translateY(-5px) scale(1.03)}}
@keyframes customerHoverReal{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes shopCustomerBoughtReal{to{opacity:0;transform:translateY(-36px) scale(1.08)}}
@keyframes shopCustomerLeaveReal{to{opacity:0;transform:translateX(56px) translateY(-10px) scale(.9)}}

@media(max-width:1280px){
 .lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 280px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:732px!important}.lat-shop-customer[style*="--lane: 2"]{left:646px!important}.lat-shop-customer[style*="--lane: 3"]{left:560px!important}
 .lat-shopgame-window-strip{left:250px!important;right:180px!important}
}
@media(max-width:1100px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-stage{min-height:690px!important}
 .lat-shopgame-window-strip{left:130px!important;right:130px!important}
 .lat-shopgame-posters{display:none!important}
 .lat-shopgame-floor:before{width:460px!important}
 .shelf-a{left:14%!important}.shelf-b{left:54%!important}.shelf-c{left:35%!important;top:398px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:654px!important}.lat-shop-customer[style*="--lane: 2"]{left:574px!important}.lat-shop-customer[style*="--lane: 3"]{left:494px!important}
 .lat-shopgame-panel{max-height:none!important}
}
@media(max-width:700px){
 .lat-shopbar{grid-template-columns:1fr!important}.lat-shopbar-stats{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important}
 .lat-shopbar-stats>div{min-width:0!important;padding:8px 9px!important}.lat-shopbar-stats strong{font-size:15px!important}
 .lat-shopgame-stage{min-height:610px!important}
 .lat-shopgame-window-strip,.lat-shopgame-lamps,.lat-shopgame-posters,.plant-a,.plant-b,.lat-shopgame-floor:after,.lat-shopgame-stage:before,.lat-shopgame-stage:after{display:none!important}
 .lat-shopgame-floor:before{left:20px!important;top:116px!important;width:320px!important;height:74px!important}
 .lat-shopgame-door{width:72px!important;height:124px!important}.lat-shopgame-rug{display:none!important}
 .lat-shopgame-shelf{width:152px!important;height:148px!important}.lat-shopgame-shelf .lat-shelf-products{left:24px!important;right:20px!important;top:18px!important;height:72px!important}.lat-shopgame-shelf .lat-shelf-products i{width:30px!important;height:30px!important}.lat-shopgame-shelf b{top:92px!important;font-size:18px!important;left:20px!important}.lat-shopgame-shelf span{bottom:34px!important;font-size:11px!important;left:44px!important}.lat-shopgame-shelf small{top:90px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}
 .shelf-a{left:14%!important;top:176px!important}.shelf-b{left:56%!important;top:176px!important}.shelf-c{left:36%!important;top:330px!important}
 .lat-shopgame-counter{width:208px!important;height:94px!important;right:14px!important}.lat-counter-screen{width:50px!important;height:28px!important}.lat-shopgame-lion{right:108px!important;bottom:88px!important}.lat-lion-avatar.pro{width:104px!important;height:132px!important}
 .lat-shop-customer{width:74px!important}.lat-shop-customer .face{width:62px!important;height:98px!important}.lat-shop-customer .wish{left:2px!important;top:-10px!important;width:62px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:292px!important;top:390px!important}.lat-shop-customer[style*="--lane: 2"]{left:226px!important;top:442px!important}.lat-shop-customer[style*="--lane: 3"]{left:160px!important;top:390px!important}.lat-shop-customer.is-entering{transform:translate(-180px,-160px) scale(.86)!important}
 .lat-shopgame-truck{left:-120px!important}.lat-truck-vehicle{width:150px!important;height:82px!important}.lat-provider-person{left:120px!important;width:58px!important;height:82px!important}
}


/* v5.1.0 — ajuste final visual realista */
.lat-shop-sim[data-phase='setup'] .lat-shopgame-truck,
.lat-shop-sim[data-phase='delivery'] .lat-shopgame-truck,
.lat-shop-sim[data-phase='unpacking'] .lat-shopgame-truck,
.lat-shop-sim[data-phase='delivered'] .lat-shopgame-truck{opacity:1}
.lat-shop-sim[data-phase='open'] .lat-shopgame-truck,
.lat-shop-sim[data-phase='result'] .lat-shopgame-truck{opacity:.16;transform:translateX(-40px) scale(.94)}

.lat-shopbar{align-items:start!important}
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 300px!important;gap:16px!important}
.lat-shopgame-stage{min-height:790px!important;border-radius:30px!important}
.lat-shopgame-wall{height:124px!important}
.lat-shopgame-window-strip{left:270px!important;right:185px!important;top:50px!important}
.lat-shopgame-sign{top:20px!important;font-size:22px!important;padding:13px 30px!important}
.lat-shopgame-posters{right:86px!important}
.lat-shopgame-clock{right:18px!important;top:18px!important}
.lat-shopgame-floor:before{left:56px!important;top:128px!important;width:690px!important;height:112px!important}
.lat-shopgame-floor:after{right:36px!important;bottom:80px!important;width:300px!important;height:250px!important}
.lat-shopgame-door{left:24px!important;top:164px!important;width:96px!important;height:164px!important}
.lat-shopgame-rug{left:86px!important;top:444px!important}
.plant-a{left:92px!important;bottom:86px!important}.plant-b{right:360px!important;bottom:92px!important}

.lat-shopgame-shelf{width:256px!important;height:242px!important}
.lat-shopgame-shelf .lat-shelf-products{left:39px!important;right:36px!important;top:29px!important;height:122px!important}
.lat-shopgame-shelf .lat-shelf-products i{width:50px!important;height:50px!important}
.lat-shopgame-shelf b{top:149px!important;font-size:23px!important}.lat-shopgame-shelf span{bottom:58px!important}.lat-shopgame-shelf small{top:140px!important;width:44px!important;height:44px!important}
.shelf-a{left:16%!important;top:208px!important}.shelf-b{left:48%!important;top:208px!important}.shelf-c{left:31%!important;top:458px!important}

.lat-shopgame-counter{right:24px!important;bottom:24px!important;width:246px!important;height:112px!important}
.lat-shopgame-counter:after{left:106px!important}
.lat-shopgame-lion{right:146px!important;bottom:118px!important}
.lat-lion-avatar.pro{width:160px!important;height:204px!important}

.lat-shopgame-truck{left:-168px!important;bottom:26px!important;transition:transform .9s ease, opacity .35s ease!important}
.lat-truck-vehicle{width:260px!important;height:142px!important}
.lat-provider-person{left:210px!important;bottom:6px!important;width:84px!important;height:116px!important}
.lat-shopgame-delivery{left:34px!important;bottom:28px!important;gap:16px!important}
.lat-delivery-crate{width:138px!important;height:104px!important}

.lat-shopgame-clients{z-index:12!important}
.lat-shop-customer{width:118px!important}
.lat-shop-customer .face{width:102px!important;height:156px!important}
.lat-shop-customer .wish{width:94px!important;height:58px!important;top:-14px!important}
.lat-shop-customer .tap-hint{font-size:8px!important;padding:6px 11px!important}
.lat-shop-customer small{width:82px!important}
.lat-shop-customer[style*="--lane: 1"]{left:820px!important;top:488px!important}
.lat-shop-customer[style*="--lane: 2"]{left:730px!important;top:586px!important}
.lat-shop-customer[style*="--lane: 3"]{left:640px!important;top:488px!important}
.lat-shop-customer.is-entering{opacity:.1!important;transform:translate(-760px,-270px) scale(.84)!important}
.lat-shop-customer .face.avatar-a{background-image:url('../images/shop-customer-a.png')}
.lat-shop-customer .face.avatar-b{background-image:url('../images/shop-customer-b.png')}
.lat-shop-customer .face.avatar-c{background-image:url('../images/shop-customer-c.png')}
.lat-shop-customer .face.avatar-d{background-image:url('../images/shop-customer-d.png')}
.lat-shop-customer .face.avatar-e{background-image:url('../images/shop-customer-e.png')}
.lat-shop-customer .face.avatar-f{background-image:url('../images/shop-customer-f.png')}
.lat-shop-customer .face.avatar-g{background-image:url('../images/shop-customer-g.png')}
.lat-shop-customer .face.avatar-h{background-image:url('../images/shop-customer-h.png')}

.lat-shop-action{top:152px!important;left:18px!important;max-width:240px!important}
.lat-shopgame-toast{bottom:20px!important;max-width:520px!important}

.lat-shopgame-panel{padding:12px!important;max-height:790px!important}
.lat-shop-supplier-buttons button{padding:9px 10px!important}
.lat-shop-order-row{padding:9px!important}
.lat-shop-prices input{padding:8px!important}
.lat-shop-live-stats{grid-template-columns:repeat(3,1fr)!important}

@media(max-width:1280px){
 .lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 280px!important}
 .lat-shopgame-window-strip{left:220px!important;right:165px!important}
 .lat-shopgame-floor:before{width:560px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:730px!important}.lat-shop-customer[style*="--lane: 2"]{left:644px!important}.lat-shop-customer[style*="--lane: 3"]{left:558px!important}
}
@media(max-width:1100px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important}
 .lat-shopgame-stage{min-height:710px!important}
 .lat-shopgame-window-strip{left:120px!important;right:120px!important}
 .lat-shopgame-floor:before{left:28px!important;width:460px!important}
 .shelf-a{left:12%!important}.shelf-b{left:53%!important}.shelf-c{left:34%!important;top:414px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:654px!important}.lat-shop-customer[style*="--lane: 2"]{left:574px!important}.lat-shop-customer[style*="--lane: 3"]{left:494px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:620px!important}
 .lat-shopgame-floor:before{left:18px!important;top:120px!important;width:310px!important;height:74px!important}
 .lat-shopgame-shelf{width:156px!important;height:150px!important}.lat-shopgame-shelf .lat-shelf-products{left:24px!important;right:20px!important;top:18px!important;height:72px!important}.lat-shopgame-shelf .lat-shelf-products i{width:30px!important;height:30px!important}.lat-shopgame-shelf b{top:93px!important;font-size:18px!important}.lat-shopgame-shelf span{bottom:34px!important;font-size:11px!important;left:44px!important}.lat-shopgame-shelf small{top:92px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}
 .lat-shopgame-counter{width:214px!important;height:98px!important}.lat-shopgame-lion{right:112px!important;bottom:92px!important}.lat-lion-avatar.pro{width:108px!important;height:138px!important}
 .lat-shop-customer{width:78px!important}.lat-shop-customer .face{width:64px!important;height:102px!important}.lat-shop-customer .wish{width:64px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:292px!important;top:398px!important}.lat-shop-customer[style*="--lane: 2"]{left:224px!important;top:448px!important}.lat-shop-customer[style*="--lane: 3"]{left:158px!important;top:398px!important}.lat-shop-customer.is-entering{transform:translate(-180px,-160px) scale(.84)!important}
 .lat-truck-vehicle{width:156px!important;height:84px!important}.lat-provider-person{left:124px!important;width:60px!important;height:84px!important}
}

/* v5.2.0 realismo reforzado */
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 300px!important;gap:16px!important}
.lat-shopgame-stage{min-height:812px!important;background:linear-gradient(180deg,#edf6f8 0,#dff0f6 14%,#f5ead4 14%,#eddcc0 18%,#d7b07f 18%,#cf9c67 100%)!important}
.lat-shopgame-wall{height:126px!important;background:linear-gradient(180deg,#fff8e4,#f4dba2 78%,#be8a49)!important}
.lat-shopgame-window-strip{left:260px!important;right:180px!important;top:52px!important}
.lat-shopgame-floor:before{left:52px!important;top:128px!important;width:720px!important;height:118px!important}
.lat-shopgame-floor:after{right:34px!important;bottom:70px!important;width:310px!important;height:265px!important}
.lat-shopgame-door{top:170px!important;height:170px!important}
.lat-shopgame-rug{top:468px!important;left:84px!important;width:170px!important}
.plant-b{right:392px!important}
.lat-shopgame-shelf{width:296px!important;height:276px!important;background:url('../images/shop-gondola-real.png') center/contain no-repeat!important;filter:drop-shadow(0 20px 16px rgba(25,45,35,.18))!important}
.lat-shopgame-shelf .lat-shelf-products{left:44px!important;right:42px!important;top:30px!important;height:125px!important}
.lat-shopgame-shelf .lat-shelf-products i{width:54px!important;height:54px!important;border-radius:14px!important;box-shadow:0 8px 18px rgba(25,45,35,.16)!important}
.lat-shopgame-shelf b{left:36px!important;top:170px!important;font-size:25px!important}.lat-shopgame-shelf span{left:72px!important;bottom:64px!important;font-size:17px!important}.lat-shopgame-shelf small{top:162px!important;right:34px!important;width:48px!important;height:48px!important;font-size:17px!important}
.shelf-a{left:14%!important;top:206px!important}.shelf-b{left:47%!important;top:206px!important}.shelf-c{left:30%!important;top:486px!important}
.lat-shopgame-counter{width:250px!important;height:114px!important;right:24px!important;bottom:24px!important}
.lat-shopgame-lion{right:145px!important;bottom:122px!important}.lat-lion-avatar.pro{width:166px!important;height:212px!important}
.lat-shopgame-truck{left:-132px!important;bottom:18px!important;z-index:13!important;opacity:1!important}
.lat-truck-vehicle{width:340px!important;height:162px!important;background:url('../images/shop-truck-real.png') center/contain no-repeat!important}
.lat-provider-person{left:258px!important;bottom:0!important;width:96px!important;height:132px!important;background:url('../images/shop-provider-real.png') center bottom/contain no-repeat!important}
.lat-shopgame-truck small{font-size:11px!important;padding:6px 12px!important}
.lat-shopgame-delivery{left:40px!important;bottom:32px!important}.lat-delivery-crate{width:144px!important;height:108px!important}
.lat-shop-customer{width:132px!important}
.lat-shop-customer .face{width:116px!important;height:184px!important;filter:drop-shadow(0 14px 12px rgba(25,45,35,.16))!important}
.lat-shop-customer .wish{width:98px!important;height:60px!important;top:-16px!important}
.lat-shop-customer .tap-hint{padding:6px 12px!important}
.lat-shop-customer small{width:88px!important}
.lat-shop-customer[style*='--lane: 1']{left:834px!important;top:492px!important}
.lat-shop-customer[style*='--lane: 2']{left:738px!important;top:600px!important}
.lat-shop-customer[style*='--lane: 3']{left:642px!important;top:492px!important}
.lat-shop-customer.is-entering{transform:translate(-780px,-280px) scale(.82)!important}
.lat-shopgame-panel{max-height:812px!important}
.lat-shop-live-stats{grid-template-columns:repeat(3,1fr)!important}
@media(max-width:1280px){.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 280px!important}.lat-shopgame-floor:before{width:590px!important}.lat-shopgame-window-strip{left:205px!important;right:170px!important}.lat-shop-customer[style*='--lane: 1']{left:720px!important}.lat-shop-customer[style*='--lane: 2']{left:632px!important}.lat-shop-customer[style*='--lane: 3']{left:546px!important}.lat-shopgame-truck{left:-120px!important}.lat-truck-vehicle{width:300px!important;height:144px!important}.lat-provider-person{left:230px!important;width:88px!important;height:120px!important}}
@media(max-width:1100px){.lat-shopgame-wrap{grid-template-columns:1fr!important}.lat-shopgame-stage{min-height:730px!important}.lat-shopgame-floor:before{left:28px!important;width:470px!important}.shelf-a{left:11%!important}.shelf-b{left:53%!important}.shelf-c{left:33%!important;top:430px!important}.lat-shop-customer[style*='--lane: 1']{left:652px!important}.lat-shop-customer[style*='--lane: 2']{left:572px!important}.lat-shop-customer[style*='--lane: 3']{left:494px!important}}
@media(max-width:700px){.lat-shopgame-stage{min-height:620px!important}.lat-shopgame-floor:before{left:18px!important;top:122px!important;width:316px!important;height:74px!important}.lat-shopgame-window-strip,.lat-shopgame-posters,.lat-shopgame-lamps,.plant-a,.plant-b,.lat-shopgame-floor:after,.lat-shopgame-stage:before,.lat-shopgame-stage:after{display:none!important}.lat-shopgame-shelf{width:162px!important;height:150px!important}.lat-shopgame-shelf .lat-shelf-products{left:25px!important;right:21px!important;top:18px!important;height:72px!important}.lat-shopgame-shelf .lat-shelf-products i{width:32px!important;height:32px!important}.lat-shopgame-shelf b{left:20px!important;top:94px!important;font-size:18px!important}.lat-shopgame-shelf span{left:44px!important;bottom:34px!important;font-size:11px!important}.lat-shopgame-shelf small{top:92px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}.lat-shopgame-counter{width:214px!important;height:98px!important}.lat-shopgame-lion{right:112px!important;bottom:92px!important}.lat-lion-avatar.pro{width:108px!important;height:138px!important}.lat-shop-customer{width:78px!important}.lat-shop-customer .face{width:64px!important;height:102px!important}.lat-shop-customer .wish{width:64px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}.lat-shop-customer[style*='--lane: 1']{left:292px!important;top:398px!important}.lat-shop-customer[style*='--lane: 2']{left:224px!important;top:448px!important}.lat-shop-customer[style*='--lane: 3']{left:158px!important;top:398px!important}.lat-shop-customer.is-entering{transform:translate(-180px,-160px) scale(.82)!important}.lat-truck-vehicle{width:160px!important;height:84px!important}.lat-provider-person{left:126px!important;width:60px!important;height:82px!important}}


/* =====================
   v5.3.0 SUPER PRO PASS
   ===================== */
.lat-shopbar{margin-bottom:14px!important;grid-template-columns:1fr auto auto!important;align-items:start!important}
.lat-shopbar h3{font-size:clamp(28px,3.2vw,44px)!important;letter-spacing:-.03em!important;color:#12231d!important}
.lat-shopbar-stats{gap:12px!important}
.lat-shopbar-stats>div{min-width:118px!important;padding:12px 14px!important;border-radius:18px!important;background:linear-gradient(180deg,#ffffff,#f5fbf7)!important;border:1px solid rgba(26,83,61,.08)!important;box-shadow:0 12px 30px rgba(18,54,42,.09)!important}
.lat-shopbar-stats span{font-size:10px!important;letter-spacing:.02em!important;color:#668276!important}
.lat-shopbar-stats strong{font-size:18px!important;color:#133628!important}
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 312px!important;gap:18px!important;align-items:start!important}
.lat-shopgame-stage{min-height:840px!important;position:relative!important;overflow:hidden!important;border-radius:30px!important;border:6px solid rgba(255,255,255,.95)!important;background:linear-gradient(180deg,#eef6fa 0,#dcecf4 11%,#f0e2c5 11%,#ead7b2 18%,#d5ab7c 18%,#cb9662 100%)!important;box-shadow:0 22px 50px rgba(17,43,34,.14)!important}
.lat-shopgame-stage:before{content:"";position:absolute;left:0;right:0;top:132px;height:26px;background:linear-gradient(180deg,rgba(120,77,28,.22),rgba(120,77,28,0));z-index:1}
.lat-shopgame-stage:after{content:"ATENCIÓN AL CLIENTE";position:absolute;right:106px;bottom:308px;padding:8px 14px;border-radius:999px;background:#1d6b4b;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;z-index:6;box-shadow:0 10px 18px rgba(20,65,48,.16)}
.lat-shopgame-wall{height:132px!important;background:linear-gradient(180deg,#fff8e8 0,#f8ebc2 72%,#e5bd71 100%)!important;border-bottom:7px solid #b17f40!important}
.lat-shopgame-sign{top:20px!important;padding:14px 30px!important;border-radius:18px!important;background:linear-gradient(180deg,#1b7b5a,#11533c)!important;color:#fff8de!important;font-size:18px!important;font-weight:1000!important;box-shadow:0 12px 24px rgba(17,63,46,.2)!important}
.lat-shopgame-clock{right:22px!important;top:20px!important;padding:10px 16px!important;border-radius:16px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 10px 24px rgba(17,43,34,.12)!important;color:#173c30!important}
.lat-shopgame-floor{inset:132px 0 0!important;background:
linear-gradient(90deg,rgba(255,255,255,.11) 1px,transparent 1px),
linear-gradient(rgba(255,255,255,.11) 1px,transparent 1px),
linear-gradient(180deg,#d4a06c 0,#cf9a66 100%)!important;background-size:56px 56px,56px 56px,100% 100%!important}
.lat-shopgame-floor:before{content:""!important;position:absolute!important;left:44px!important;top:128px!important;width:760px!important;height:126px!important;border-radius:999px!important;background:linear-gradient(180deg,#eadbb9,#dcc491)!important;box-shadow:inset 0 0 0 4px rgba(156,117,64,.08),0 12px 18px rgba(112,77,34,.08)!important;z-index:1!important}
.lat-shopgame-floor:after{content:""!important;position:absolute!important;right:36px!important;bottom:64px!important;width:330px!important;height:282px!important;border-radius:26px!important;background:linear-gradient(180deg,#cfe0e8,#bed5de)!important;box-shadow:inset 0 0 0 3px rgba(122,148,159,.35)!important;z-index:1!important}
.lat-shopgame-door{left:24px!important;top:174px!important;width:110px!important;height:176px!important;border-radius:14px 14px 8px 8px!important;background:linear-gradient(180deg,#90c7ec,#6fa8d3)!important;border:8px solid #5d4a36!important;box-shadow:0 10px 0 rgba(62,45,30,.12)!important}
.lat-shopgame-door:before{content:"";position:absolute;top:38px;right:14px;width:10px;height:10px;border-radius:50%;background:#f3cd4b;box-shadow:0 0 0 2px rgba(255,255,255,.45)}
.lat-shopgame-rug{left:84px!important;top:490px!important;width:176px!important;padding:16px 18px!important;border-radius:18px!important;background:linear-gradient(180deg,#1d8491,#196775)!important;box-shadow:0 12px 22px rgba(21,84,90,.18)!important}
.lat-shopgame-rug strong,.lat-shopgame-rug span{font-size:12px!important}
.lat-shopgame-shelf{width:286px!important;height:276px!important;padding:0!important;border:none!important;background:url('../images/shop-gondola-real.png') center/contain no-repeat!important;filter:drop-shadow(0 18px 16px rgba(25,45,35,.18))!important;box-shadow:none!important}
.lat-shopgame-shelf .lat-shelf-products{left:46px!important;right:42px!important;top:26px!important;height:126px!important}
.lat-shopgame-shelf .lat-shelf-products i{width:56px!important;height:56px!important;border-radius:14px!important;box-shadow:0 10px 20px rgba(25,45,35,.2)!important;border:2px solid rgba(255,255,255,.85)!important}
.lat-shopgame-shelf b{left:34px!important;top:170px!important;font-size:29px!important;color:#2f261d!important;z-index:5!important}
.lat-shopgame-shelf span{left:74px!important;bottom:60px!important;font-size:17px!important;color:#433325!important;z-index:5!important;font-weight:950!important}
.lat-shopgame-shelf small{top:162px!important;right:32px!important;width:50px!important;height:50px!important;font-size:18px!important;background:linear-gradient(180deg,#2db885,#1c7a5b)!important;box-shadow:0 10px 18px rgba(27,112,74,.22)!important;z-index:5!important}
.shelf-a{left:12%!important;top:212px!important}.shelf-b{left:46%!important;top:212px!important}.shelf-c{left:29%!important;top:498px!important}
.lat-shopgame-counter{right:22px!important;bottom:22px!important;width:242px!important;height:114px!important;border-radius:24px!important;background:linear-gradient(180deg,#79b4e4,#426e96)!important;border:6px solid #31546d!important;box-shadow:0 18px 0 rgba(35,63,83,.18),0 20px 34px rgba(35,63,83,.16)!important}
.lat-shopgame-counter:before{content:"";position:absolute;left:18px;top:30px;width:62px;height:34px;border-radius:12px;background:linear-gradient(180deg,#75e2c6,#50bfa4);box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}
.lat-shopgame-counter:after{content:"PAGO";position:absolute;left:103px;top:14px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.22);color:#edf8fd;font-size:10px;font-weight:900;letter-spacing:.08em}
.lat-shopgame-counter>span{right:18px!important;bottom:10px!important;font-size:24px!important;letter-spacing:.04em!important}
.lat-shopgame-lion{right:132px!important;bottom:136px!important;z-index:11!important}
.lat-lion-avatar.pro{display:block!important;width:188px!important;height:208px!important;background:url('../images/store-lion-pro.png') center bottom/contain no-repeat!important;filter:drop-shadow(0 18px 14px rgba(31,44,36,.22))!important}
.lat-shopgame-lion small{padding:5px 10px!important;border-radius:999px!important;background:#fff!important;color:#23483a!important;box-shadow:0 8px 16px rgba(23,60,48,.12)!important}
.lat-shopgame-lion:before{left:118px!important;top:56px!important;width:42px!important;height:42px!important;font-size:26px!important}
.lat-shopgame-truck{left:-158px!important;bottom:26px!important;z-index:12!important}
.lat-truck-vehicle{width:348px!important;height:188px!important;background:url('../images/shop-truck-pro.png') center/contain no-repeat!important}
.lat-truck-vehicle *{display:none!important}
.lat-provider-person{left:248px!important;bottom:4px!important;width:108px!important;height:142px!important;background:url('../images/shop-provider-pro.png') center bottom/contain no-repeat!important;transform:none!important}
.lat-provider-person *{display:none!important}
.lat-shopgame-delivery{left:32px!important;bottom:22px!important;gap:16px!important}
.lat-delivery-crate{width:136px!important;height:102px!important;border-radius:20px!important;background:linear-gradient(180deg,#d8a770,#b06d3a)!important;box-shadow:0 16px 0 rgba(96,56,24,.22),0 14px 24px rgba(25,36,29,.14)!important}
.lat-shop-customer{width:112px!important;padding:0!important;background:transparent!important;animation:customerFloatPro 2s ease-in-out infinite alternate!important;animation-delay:var(--floatDelay,0s)!important}
@keyframes customerFloatPro{from{transform:translateY(0)}to{transform:translateY(-4px)}}
.lat-shop-customer.is-entering{opacity:.08!important;transform:translate(-760px,-260px) scale(.86)!important}
.lat-shop-customer[style*='--lane: 1']{left:824px!important;top:474px!important}
.lat-shop-customer[style*='--lane: 2']{left:730px!important;top:584px!important}
.lat-shop-customer[style*='--lane: 3']{left:636px!important;top:474px!important}
.lat-shop-customer .face{width:100px!important;height:156px!important;background-position:center bottom!important;background-size:contain!important;filter:drop-shadow(0 14px 12px rgba(25,45,35,.16))!important}
.lat-shop-customer .face i{display:none!important}
.lat-shop-customer .face:after{content:"";position:absolute;left:16px;right:16px;bottom:-8px;height:14px;border-radius:50%;background:rgba(0,0,0,.15);filter:blur(5px);z-index:-1}
.lat-shop-customer .face.avatar-a{background-image:url('../images/shop-customer-pro-a.png')!important}
.lat-shop-customer .face.avatar-b{background-image:url('../images/shop-customer-pro-b.png')!important}
.lat-shop-customer .face.avatar-c{background-image:url('../images/shop-customer-pro-c.png')!important}
.lat-shop-customer .face.avatar-d{background-image:url('../images/shop-customer-pro-d.png')!important}
.lat-shop-customer .face.avatar-e{background-image:url('../images/shop-customer-pro-e.png')!important}
.lat-shop-customer .face.avatar-f{background-image:url('../images/shop-customer-pro-f.png')!important}
.lat-shop-customer .face.avatar-g{background-image:url('../images/shop-customer-pro-g.png')!important}
.lat-shop-customer .face.avatar-h{background-image:url('../images/shop-customer-pro-h.png')!important}
.lat-shop-customer .wish{left:-8px!important;top:-12px!important;width:96px!important;height:58px!important;border-radius:18px!important;background:linear-gradient(180deg,#ffffff,#eefaf4)!important;box-shadow:0 12px 18px rgba(17,43,34,.12)!important}
.lat-shop-customer .wish b{font-size:28px!important}.lat-shop-customer .wish em{font-size:8px!important;color:#395748!important}
.lat-shop-customer .tap-hint{padding:6px 11px!important;font-size:8px!important;border-radius:999px!important;background:#fff17a!important;color:#4d4306!important;box-shadow:0 8px 14px rgba(91,77,18,.15)!important}
.lat-shop-customer small{width:82px!important;height:10px!important;margin-top:4px!important;background:rgba(255,255,255,.97)!important;border-radius:999px!important;box-shadow:0 6px 12px rgba(17,43,34,.08)!important}
.lat-shop-customer:hover,.lat-shop-customer:focus{transform:scale(1.05)!important}.lat-shop-customer.is-serving{animation:none!important;transform:scale(1.08)!important}
.lat-shop-action{top:120px!important;left:18px!important;max-width:310px!important;padding:14px 16px!important;border-radius:18px!important;background:linear-gradient(180deg,#165f45,#0f4534)!important;box-shadow:0 14px 26px rgba(15,69,52,.2)!important}
.lat-shop-action strong{font-size:17px!important}.lat-shop-action span{font-size:12px!important;line-height:1.3!important}
.lat-shopgame-toast{bottom:20px!important;padding:13px 18px!important;border-radius:999px!important;background:rgba(19,54,43,.96)!important;box-shadow:0 14px 22px rgba(19,54,43,.18)!important}
.lat-store-sale-pop{right:42px!important;bottom:154px!important;padding:10px 16px!important;font-size:16px!important;border-radius:999px!important;background:linear-gradient(180deg,#2bd882,#14ab60)!important;box-shadow:0 12px 22px rgba(24,183,106,.2)!important}
.lat-shopgame-panel{padding:14px!important;border-radius:26px!important;background:linear-gradient(180deg,#ffffff,#f4faf6)!important;border:1px solid rgba(29,78,58,.08)!important;box-shadow:0 16px 32px rgba(17,43,34,.08)!important;gap:10px!important;max-height:840px!important;overflow:auto!important}
.lat-shop-phase{padding:16px!important;border-radius:18px!important;background:linear-gradient(180deg,#22895f,#166347)!important;box-shadow:0 12px 20px rgba(21,84,61,.16)!important}
.lat-shop-phase span,.lat-shop-phase small{font-size:10px!important;letter-spacing:.02em!important}.lat-shop-phase strong{font-size:16px!important;line-height:1.25!important;margin:2px 0 4px!important}
.lat-shop-supplier-buttons{gap:8px!important}.lat-shop-supplier-buttons button{padding:10px 11px!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 10px rgba(17,43,34,.05)!important}.lat-shop-supplier-buttons button.is-active{background:#eaf9f1!important;border-color:#24ad70!important;box-shadow:0 0 0 3px rgba(36,173,112,.12)!important}
.lat-shop-order-row{padding:10px!important;border-radius:14px!important}.lat-shop-order-row button{height:32px!important;border-radius:10px!important;background:linear-gradient(180deg,#22895f,#166347)!important}
.lat-shop-prices label{padding:8px 10px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e1ebe5!important}
.lat-shop-prices input{padding:8px!important;border-radius:10px!important;border:1px solid #d6e2da!important}
.lat-shop-budget{padding:12px!important;border-radius:16px!important;background:linear-gradient(180deg,#eef8f1,#e6f2ea)!important}
.lat-shop-live-stats{gap:7px!important}.lat-shop-live-stats>div{padding:10px 8px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 10px rgba(17,43,34,.05)!important}
.lat-shop-open,.lat-shop-deliver,.lat-shopgame-panel [data-shop-deliver],.lat-shopgame-panel [data-shop-open]{border:0!important;border-radius:16px!important;box-shadow:0 12px 24px rgba(255,107,53,.18)!important}
.lat-shop-open{background:linear-gradient(90deg,#ff4b7a,#ff8e2f)!important;color:#fff!important;font-weight:1000!important}
.lat-shopgame-panel [data-shop-open]{background:linear-gradient(90deg,#ffb11b,#ff6d2c)!important;color:#fff!important;font-weight:1000!important}
.lat-shopgame-panel [data-shop-deliver]{background:linear-gradient(90deg,#ff4b7a,#ff8e2f)!important;color:#fff!important;font-weight:1000!important}
.lat-shop-result-modal{max-width:760px!important}
@media(max-width:1340px){.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 286px!important}.lat-shopgame-floor:before{width:620px!important}.lat-shop-customer[style*='--lane: 1']{left:728px!important}.lat-shop-customer[style*='--lane: 2']{left:642px!important}.lat-shop-customer[style*='--lane: 3']{left:556px!important}.lat-truck-vehicle{width:310px!important;height:168px!important}.lat-provider-person{left:220px!important;width:94px!important;height:126px!important}}
@media(max-width:1100px){.lat-shopgame-wrap{grid-template-columns:1fr!important}.lat-shopgame-panel{max-height:none!important}.lat-shopgame-stage{min-height:760px!important}.lat-shopgame-floor:before{width:500px!important}.shelf-a{left:10%!important}.shelf-b{left:54%!important}.shelf-c{left:32%!important;top:470px!important}.lat-shop-customer[style*='--lane: 1']{left:662px!important}.lat-shop-customer[style*='--lane: 2']{left:580px!important}.lat-shop-customer[style*='--lane: 3']{left:500px!important}}
@media(max-width:700px){.lat-shopbar-stats{display:grid!important;grid-template-columns:repeat(3,1fr)!important}.lat-shopgame-stage{min-height:640px!important}.lat-shopgame-stage:after,.lat-shopgame-floor:after,.lat-shopgame-floor:before,.plant-a,.plant-b,.lat-shopgame-posters,.lat-shopgame-window-strip,.lat-shopgame-lamps{display:none!important}.lat-shopgame-shelf{width:164px!important;height:156px!important}.lat-shopgame-shelf .lat-shelf-products{left:26px!important;right:22px!important;top:18px!important;height:76px!important}.lat-shopgame-shelf .lat-shelf-products i{width:32px!important;height:32px!important}.lat-shopgame-shelf b{left:20px!important;top:96px!important;font-size:18px!important}.lat-shopgame-shelf span{left:44px!important;bottom:36px!important;font-size:11px!important}.lat-shopgame-shelf small{top:94px!important;right:16px!important;width:30px!important;height:30px!important;font-size:12px!important}.lat-shopgame-counter{width:214px!important;height:100px!important}.lat-shopgame-lion{right:112px!important;bottom:92px!important}.lat-lion-avatar.pro{width:108px!important;height:126px!important}.lat-shop-customer{width:82px!important}.lat-shop-customer .face{width:68px!important;height:110px!important}.lat-shop-customer .wish{width:68px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}.lat-shop-customer[style*='--lane: 1']{left:294px!important;top:400px!important}.lat-shop-customer[style*='--lane: 2']{left:228px!important;top:452px!important}.lat-shop-customer[style*='--lane: 3']{left:162px!important;top:400px!important}.lat-shop-customer.is-entering{transform:translate(-180px,-160px) scale(.82)!important}.lat-truck-vehicle{width:160px!important;height:86px!important}.lat-provider-person{left:126px!important;width:60px!important;height:84px!important}}


/* v5.4.0 — flujo animado completo */
.lat-shop-customer{transition:left .72s cubic-bezier(.2,.75,.22,1),top .72s cubic-bezier(.2,.75,.22,1),transform .35s ease,opacity .3s ease!important}
.lat-shop-customer.is-entering{left:58px!important;top:272px!important;opacity:.25!important;transform:scale(.8)!important;animation:customerWalkIn .42s infinite alternate!important}
.lat-shop-customer.is-browsing{opacity:1!important;animation:customerBrowse 1.2s ease-in-out infinite alternate!important}
.lat-shop-customer.is-browsing[data-wanted='mate']{left:238px!important;top:338px!important}
.lat-shop-customer.is-browsing[data-wanted='auris']{left:620px!important;top:338px!important}
.lat-shop-customer.is-browsing[data-wanted='juguete']{left:438px!important;top:590px!important}
.lat-shop-customer.is-queue-ready{opacity:1!important;animation:customerFloatPro 2s ease-in-out infinite alternate!important}
.lat-shop-customer:disabled{cursor:default!important;pointer-events:none!important}
.lat-shop-customer.has-product .wish{background:linear-gradient(180deg,#e8fff1,#c9f8da)!important;box-shadow:0 0 0 4px rgba(39,193,108,.18),0 12px 18px rgba(17,43,34,.12)!important}
.lat-shop-customer.has-product .wish em{color:#187647!important}
.lat-shopgame-lion[data-state='greeting'] .lat-lion-avatar.pro{animation:lionGreeting .25s 4 alternate!important}
.lat-shopgame-lion[data-state='searching'] .lat-lion-avatar.pro,.lat-shopgame-lion[data-state='delivering'] .lat-lion-avatar.pro{animation:lionFastWalk .2s infinite alternate!important}
.lat-shopgame-lion[data-state='cashing'] .lat-lion-avatar.pro{animation:lionCashPro .16s 5 alternate!important}
.lat-shopgame-truck.is-arriving .lat-truck-vehicle{animation:truckDrive .18s infinite alternate!important}
.lat-shopgame-truck.is-unloading .lat-provider-person{animation:providerUnloadPro .5s infinite alternate!important}
.lat-shopgame-truck.is-unloading:after{content:'DESCARGANDO';position:absolute;left:76px;top:-8px;padding:7px 12px;border-radius:999px;background:#fff;color:#235342;font-size:10px;font-weight:950;letter-spacing:.08em;box-shadow:0 10px 18px rgba(20,47,38,.12)}
.lat-delivery-crate.is-moving{animation:cratePulse .35s infinite alternate!important;box-shadow:0 0 0 6px rgba(255,213,76,.25),0 16px 0 rgba(96,56,24,.22),0 14px 24px rgba(25,36,29,.14)!important}
.lat-store-sale-pop.is-visible{animation:salePopPro .7s ease both!important}
@keyframes customerWalkIn{from{transform:translateY(0) scale(.8)}to{transform:translateY(-7px) scale(.8)}}
@keyframes customerBrowse{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-4px) rotate(1deg)}}
@keyframes lionGreeting{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-5px) rotate(2deg)}}
@keyframes lionFastWalk{from{transform:translateY(0) rotate(-1.5deg)}to{transform:translateY(-6px) rotate(1.5deg)}}
@keyframes lionCashPro{from{transform:scale(1)}to{transform:scale(1.05) translateY(-4px)}}
@keyframes truckDrive{from{transform:translateY(0)}to{transform:translateY(-3px)}}
@keyframes providerUnloadPro{from{transform:translateX(0)}to{transform:translateX(10px)}}
@keyframes cratePulse{from{transform:translateY(0)}to{transform:translateY(-6px)}}
@keyframes salePopPro{0%{opacity:0;transform:translateY(18px) scale(.75)}30%{opacity:1;transform:translateY(0) scale(1.08)}100%{opacity:0;transform:translateY(-36px) scale(1)}}
@media(max-width:1100px){.lat-shop-customer.is-browsing[data-wanted='mate']{left:190px!important;top:330px!important}.lat-shop-customer.is-browsing[data-wanted='auris']{left:540px!important;top:330px!important}.lat-shop-customer.is-browsing[data-wanted='juguete']{left:360px!important;top:540px!important}}
@media(max-width:700px){.lat-shop-customer.is-entering{left:46px!important;top:250px!important}.lat-shop-customer.is-browsing[data-wanted='mate']{left:110px!important;top:300px!important}.lat-shop-customer.is-browsing[data-wanted='auris']{left:250px!important;top:300px!important}.lat-shop-customer.is-browsing[data-wanted='juguete']{left:182px!important;top:410px!important}}

/* v5.4.1 — corrección de composición y animación */
.lat-shopgame-floor:before{display:none!important;content:none!important}
.lat-shopgame-floor:after{right:24px!important;bottom:18px!important;width:286px!important;height:248px!important;border-radius:28px!important;opacity:.72!important}
.lat-shopgame-stage:after{right:86px!important;bottom:298px!important}
.lat-shopgame-stage{min-height:850px!important}
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 330px!important;gap:18px!important}
.lat-shopgame-panel{max-height:850px!important;overflow-y:auto!important;overflow-x:hidden!important}
.shelf-a{left:14%!important;top:216px!important}.shelf-b{left:48%!important;top:216px!important}.shelf-c{left:31%!important;top:520px!important}
.lat-shop-customer.is-entering{left:74px!important;top:500px!important;opacity:.38!important;transform:scale(.82)!important}
.lat-shop-customer.is-browsing[data-wanted='mate']{left:330px!important;top:490px!important}
.lat-shop-customer.is-browsing[data-wanted='auris']{left:690px!important;top:490px!important}
.lat-shop-customer.is-browsing[data-wanted='juguete']{left:520px!important;top:700px!important}
.lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:850px!important;top:500px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:765px!important;top:610px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:680px!important;top:500px!important}
.lat-shop-customer{z-index:14!important}.lat-shop-customer .face{width:112px!important;height:176px!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center bottom!important}.lat-shop-customer .wish{top:-12px!important;left:4px!important}
.lat-shopgame-lion{right:158px!important;bottom:128px!important;z-index:16!important}.lat-lion-avatar.pro{width:198px!important;height:238px!important;background-size:contain!important;background-position:center bottom!important;background-repeat:no-repeat!important}
.lat-shopgame-counter{right:26px!important;bottom:26px!important;z-index:12!important}
.lat-shopgame-truck{left:-40px!important;bottom:24px!important;z-index:18!important}.lat-truck-vehicle{width:360px!important;height:196px!important;background-size:contain!important;background-position:center bottom!important;background-repeat:no-repeat!important}.lat-provider-person{left:276px!important;bottom:10px!important;width:112px!important;height:154px!important;background-size:contain!important;background-position:center bottom!important;background-repeat:no-repeat!important}.lat-shopgame-truck.is-arriving{transform:translateX(110px)!important}.lat-shopgame-truck.is-leaving{transform:translateX(1350px)!important}
.lat-shop-action{max-width:250px!important;top:150px!important}.lat-shopgame-toast{max-width:460px!important}
.lat-shop-sim[data-phase='open'] .lat-shopgame-truck{opacity:0!important;pointer-events:none!important}
.lat-shop-prices{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lat-shop-prices label,.lat-shop-prices input{min-width:0!important;width:100%!important}.lat-shopgame-panel button{max-width:100%!important}
@media(max-width:1300px){.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 300px!important}.lat-shop-customer.is-browsing[data-wanted='mate']{left:280px!important}.lat-shop-customer.is-browsing[data-wanted='auris']{left:600px!important}.lat-shop-customer.is-browsing[data-wanted='juguete']{left:445px!important;top:660px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:744px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:662px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:580px!important}}
@media(max-width:1100px){.lat-shopgame-wrap{grid-template-columns:1fr!important}.lat-shopgame-panel{max-height:none!important}.lat-shopgame-stage{min-height:760px!important}.lat-shop-customer.is-browsing[data-wanted='mate']{left:230px!important;top:460px!important}.lat-shop-customer.is-browsing[data-wanted='auris']{left:520px!important;top:460px!important}.lat-shop-customer.is-browsing[data-wanted='juguete']{left:370px!important;top:610px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:650px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:570px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:490px!important}}
@media(max-width:700px){.lat-shopgame-stage{min-height:650px!important}.lat-shopgame-floor:after,.lat-shopgame-stage:after{display:none!important}.lat-shop-customer.is-entering{left:50px!important;top:360px!important}.lat-shop-customer.is-browsing[data-wanted='mate']{left:120px!important;top:350px!important}.lat-shop-customer.is-browsing[data-wanted='auris']{left:258px!important;top:350px!important}.lat-shop-customer.is-browsing[data-wanted='juguete']{left:190px!important;top:470px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:302px!important;top:420px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:232px!important;top:476px!important}.lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:162px!important;top:420px!important}.lat-shop-customer .face{width:70px!important;height:112px!important}.lat-lion-avatar.pro{width:112px!important;height:138px!important}.lat-shopgame-truck{left:-54px!important}.lat-truck-vehicle{width:170px!important;height:96px!important}.lat-provider-person{left:130px!important;width:64px!important;height:88px!important}}


/* v5.4.2 — góndola super pro aprobada */
.lat-shopgame-stage{min-height:820px!important}
.lat-shopgame-shelf{filter:none!important;box-shadow:none!important;border:0!important;background:none!important;padding:0!important;overflow:visible!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
/* Góndola principal, exactamente la aprobada */
.lat-shopgame-shelf.shelf-a{left:23%!important;top:205px!important;width:620px!important;height:414px!important;background:url('../images/shop-shelf-approved.png') center/contain no-repeat!important;filter:drop-shadow(0 20px 18px rgba(28,37,31,.22))!important;z-index:4!important;pointer-events:auto!important}
/* Zonas invisibles de interacción sobre la misma góndola */
.lat-shopgame-shelf.shelf-b{left:49%!important;top:215px!important;width:260px!important;height:210px!important;background:none!important;z-index:7!important;pointer-events:auto!important}
.lat-shopgame-shelf.shelf-c{left:27%!important;top:430px!important;width:530px!important;height:180px!important;background:none!important;z-index:7!important;pointer-events:auto!important}
/* Contadores de stock por sector */
.lat-shopgame-shelf small{display:grid!important;place-items:center!important;position:absolute!important;width:48px!important;height:48px!important;border-radius:50%!important;background:linear-gradient(180deg,#28bd84,#147657)!important;color:#fff!important;font-size:17px!important;font-weight:1000!important;box-shadow:0 10px 18px rgba(15,102,72,.25)!important;border:3px solid rgba(255,255,255,.92)!important;z-index:12!important}
.lat-shopgame-shelf.shelf-a small{left:92px!important;right:auto!important;top:120px!important}
.lat-shopgame-shelf.shelf-b small{right:25px!important;top:88px!important}
.lat-shopgame-shelf.shelf-c small{right:24px!important;bottom:28px!important;top:auto!important}
.lat-shopgame-shelf.is-stocked{transform:none!important;filter:none!important}
.lat-shopgame-shelf.shelf-a.is-stocked{filter:drop-shadow(0 20px 18px rgba(28,37,31,.22)) drop-shadow(0 0 16px rgba(34,197,122,.18))!important}
/* Más espacio para la góndola */
.lat-shopgame-floor:before{display:none!important}
.lat-shopgame-door{left:22px!important;top:178px!important}
.lat-shopgame-rug{left:72px!important;top:500px!important}
.lat-shopgame-lion{right:135px!important;bottom:132px!important}
.lat-shopgame-counter{right:22px!important;bottom:22px!important}
.lat-shopgame-truck{left:-155px!important;bottom:22px!important}
/* Ajuste de guía para no tapar la góndola */
.lat-shop-action{top:120px!important;left:18px!important;max-width:265px!important}
@media(max-width:1280px){
 .lat-shopgame-shelf.shelf-a{left:17%!important;width:560px!important;height:374px!important}
 .lat-shopgame-shelf.shelf-b{left:47%!important;top:215px!important;width:230px!important;height:190px!important}
 .lat-shopgame-shelf.shelf-c{left:23%!important;top:414px!important;width:480px!important;height:170px!important}
 .lat-shopgame-shelf.shelf-a small{left:82px!important;top:108px!important}
}
@media(max-width:1100px){
 .lat-shopgame-shelf.shelf-a{left:19%!important;top:205px!important;width:520px!important;height:348px!important}
 .lat-shopgame-shelf.shelf-b{left:50%!important;top:215px!important;width:205px!important;height:175px!important}
 .lat-shopgame-shelf.shelf-c{left:27%!important;top:397px!important;width:430px!important;height:150px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:620px!important}
 .lat-shopgame-shelf.shelf-a{left:8%!important;top:175px!important;width:355px!important;height:238px!important}
 .lat-shopgame-shelf.shelf-b{left:49%!important;top:185px!important;width:138px!important;height:110px!important}
 .lat-shopgame-shelf.shelf-c{left:20%!important;top:305px!important;width:285px!important;height:100px!important}
 .lat-shopgame-shelf small{width:32px!important;height:32px!important;font-size:12px!important;border-width:2px!important}
 .lat-shopgame-shelf.shelf-a small{left:50px!important;top:65px!important}
 .lat-shopgame-shelf.shelf-b small{right:10px!important;top:48px!important}
 .lat-shopgame-shelf.shelf-c small{right:10px!important;bottom:12px!important}
}


/* v5.4.3 - góndola mural completa */
.lat-shopgame-stage{min-height:760px!important}
.lat-shopgame-floor:after{right:32px!important;bottom:52px!important;width:250px!important;height:220px!important}
/* make the main approved shelf occupy the whole back wall */
.lat-shopgame-shelf.shelf-a{
  left:9%!important;
  top:158px!important;
  width:960px!important;
  height:640px!important;
  background:url('../images/shop-shelf-approved.png') center/contain no-repeat!important;
  filter:drop-shadow(0 26px 24px rgba(28,37,31,.24))!important;
  z-index:4!important;
}
/* keep product hotspots but anchor them on the single mural shelf */
.lat-shopgame-shelf.shelf-b,
.lat-shopgame-shelf.shelf-c{
  background:none!important;
  z-index:7!important;
  pointer-events:auto!important;
}
/* stock badges aligned with Mate / Audio / Juguetes areas of the single shelf */
.lat-shopgame-shelf.shelf-a small{
  left:170px!important;
  top:154px!important;
  right:auto!important;
  width:56px!important;
  height:56px!important;
  font-size:20px!important;
}
.lat-shopgame-shelf.shelf-b{
  left:41%!important;
  top:198px!important;
  width:180px!important;
  height:160px!important;
}
.lat-shopgame-shelf.shelf-b small{
  left:50%!important;
  transform:translateX(-50%)!important;
  top:104px!important;
  right:auto!important;
  width:56px!important;
  height:56px!important;
  font-size:20px!important;
}
.lat-shopgame-shelf.shelf-c{
  left:63.5%!important;
  top:198px!important;
  width:180px!important;
  height:160px!important;
}
.lat-shopgame-shelf.shelf-c small{
  left:50%!important;
  transform:translateX(-50%)!important;
  top:104px!important;
  right:auto!important;
  bottom:auto!important;
  width:56px!important;
  height:56px!important;
  font-size:20px!important;
}
/* keep only badges for overlay hotspots */
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
/* stage balance after shelf enlargement */
.lat-shopgame-door{top:176px!important}
.lat-shopgame-rug{top:520px!important;left:68px!important}
.lat-shopgame-truck{left:-130px!important;bottom:28px!important}
.lat-shopgame-counter{right:28px!important;bottom:22px!important;width:230px!important;height:104px!important}
.lat-shopgame-lion{right:138px!important;bottom:108px!important}
.lat-lion-avatar.pro{width:126px!important;height:150px!important}
/* responsive */
@media(max-width:1280px){
 .lat-shopgame-shelf.shelf-a{left:8%!important;top:168px!important;width:820px!important;height:546px!important}
 .lat-shopgame-shelf.shelf-a small{left:144px!important;top:132px!important;width:50px!important;height:50px!important;font-size:18px!important}
 .lat-shopgame-shelf.shelf-b{left:42%!important;top:194px!important;width:160px!important;height:140px!important}
 .lat-shopgame-shelf.shelf-b small{top:92px!important;width:50px!important;height:50px!important;font-size:18px!important}
 .lat-shopgame-shelf.shelf-c{left:64.5%!important;top:194px!important;width:160px!important;height:140px!important}
 .lat-shopgame-shelf.shelf-c small{top:92px!important;width:50px!important;height:50px!important;font-size:18px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:700px!important}
 .lat-shopgame-shelf.shelf-a{left:8%!important;top:170px!important;width:700px!important;height:466px!important}
 .lat-shopgame-shelf.shelf-a small{left:122px!important;top:112px!important;width:46px!important;height:46px!important;font-size:17px!important}
 .lat-shopgame-shelf.shelf-b{left:43%!important;top:194px!important;width:140px!important;height:120px!important}
 .lat-shopgame-shelf.shelf-b small{top:80px!important;width:46px!important;height:46px!important;font-size:17px!important}
 .lat-shopgame-shelf.shelf-c{left:65.5%!important;top:194px!important;width:140px!important;height:120px!important}
 .lat-shopgame-shelf.shelf-c small{top:80px!important;width:46px!important;height:46px!important;font-size:17px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:600px!important}
 .lat-shopgame-shelf.shelf-a{left:8%!important;top:164px!important;width:360px!important;height:240px!important}
 .lat-shopgame-shelf.shelf-a small{left:58px!important;top:52px!important;width:28px!important;height:28px!important;font-size:11px!important}
 .lat-shopgame-shelf.shelf-b{left:43%!important;top:176px!important;width:74px!important;height:60px!important}
 .lat-shopgame-shelf.shelf-b small{top:38px!important;width:28px!important;height:28px!important;font-size:11px!important}
 .lat-shopgame-shelf.shelf-c{left:66%!important;top:176px!important;width:74px!important;height:60px!important}
 .lat-shopgame-shelf.shelf-c small{top:38px!important;width:28px!important;height:28px!important;font-size:11px!important}
 .lat-shopgame-counter{width:210px!important;height:96px!important}
 .lat-shopgame-lion{right:110px!important;bottom:86px!important}
 .lat-lion-avatar.pro{width:94px!important;height:112px!important}
}


/* v5.4.4 - pared completa con góndolas tipo tienda */
.lat-shopgame-stage{min-height:760px!important}
.lat-shopgame-wall{height:104px!important}
.lat-shopgame-floor{inset:104px 0 0!important;background:
linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px),
linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
linear-gradient(180deg,#d3a06d 0,#cc9563 100%)!important;background-size:64px 64px,64px 64px,100% 100%!important}
/* Full store wall impression */
.lat-shopgame-floor:before{content:""!important;position:absolute!important;left:3%!important;right:3%!important;top:34px!important;height:430px!important;z-index:2!important;
background-image:url('../images/shop-shelf-approved.png'),url('../images/shop-shelf-approved.png'),url('../images/shop-shelf-approved.png');
background-repeat:no-repeat,no-repeat,no-repeat;
background-size:31.2% auto,31.2% auto,31.2% auto;
background-position:left top,center top,right top;
filter:drop-shadow(0 18px 16px rgba(22,34,28,.18))!important}
/* subtle lower depth like a shop aisle */
.lat-shopgame-floor:after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:190px!important;z-index:1!important;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.04))!important}
/* hide large single-shelf render and use invisible interaction zones */
.lat-shopgame-shelf{background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;padding:0!important;z-index:8!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
.lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:150px!important;height:360px!important;width:28%!important}
.lat-shopgame-shelf.shelf-a{left:4%!important}
.lat-shopgame-shelf.shelf-b{left:36%!important}
.lat-shopgame-shelf.shelf-c{left:68%!important}
/* stock counters anchored over each wall gondola */
.lat-shopgame-shelf small{display:grid!important;place-items:center!important;position:absolute!important;width:56px!important;height:56px!important;border-radius:50%!important;background:linear-gradient(180deg,#2abf85,#16785a)!important;color:#fff!important;font-size:20px!important;font-weight:1000!important;box-shadow:0 10px 18px rgba(15,102,72,.25)!important;border:3px solid rgba(255,255,255,.92)!important;z-index:12!important}
.lat-shopgame-shelf.shelf-a small{left:12px!important;top:150px!important}
.lat-shopgame-shelf.shelf-b small{left:50%!important;top:140px!important;transform:translateX(-50%)!important}
.lat-shopgame-shelf.shelf-c small{right:12px!important;top:150px!important}
/* store layout balance */
.lat-shopgame-door{top:170px!important;left:20px!important;z-index:9!important}
.lat-shopgame-rug{left:58px!important;top:510px!important;z-index:9!important}
.lat-shopgame-truck{left:-118px!important;bottom:24px!important;z-index:10!important}
.lat-shopgame-counter{right:22px!important;bottom:18px!important;width:238px!important;height:106px!important;z-index:10!important}
.lat-shopgame-lion{right:140px!important;bottom:112px!important;z-index:11!important}.lat-lion-avatar.pro{width:128px!important;height:150px!important}
.lat-shopgame-toast{z-index:30!important}
/* customers should appear in front area, not over the back wall */
.lat-shop-customer[style*='--lane: 1']{left:58%!important;top:470px!important}
.lat-shop-customer[style*='--lane: 2']{left:50%!important;top:555px!important}
.lat-shop-customer[style*='--lane: 3']{left:42%!important;top:470px!important}
/* responsive adjustments */
@media(max-width:1300px){
 .lat-shopgame-floor:before{height:380px!important;background-size:31% auto,31% auto,31% auto}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:150px!important;height:320px!important}
 .lat-shopgame-shelf small{width:50px!important;height:50px!important;font-size:18px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:680px!important}
 .lat-shopgame-floor:before{top:42px!important;height:305px!important;background-size:31% auto,31% auto,31% auto}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:150px!important;height:255px!important}
 .lat-shopgame-shelf small{width:44px!important;height:44px!important;font-size:16px!important}
 .lat-shop-customer[style*='--lane: 1']{left:54%!important;top:428px!important}
 .lat-shop-customer[style*='--lane: 2']{left:47%!important;top:492px!important}
 .lat-shop-customer[style*='--lane: 3']{left:40%!important;top:428px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-floor:before{left:4%!important;right:4%!important;top:48px!important;height:164px!important;background-size:31% auto,31% auto,31% auto}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:146px!important;height:120px!important}
 .lat-shopgame-shelf small{width:30px!important;height:30px!important;font-size:12px!important;border-width:2px!important}
 .lat-shopgame-shelf.shelf-a small{left:4px!important;top:64px!important}
 .lat-shopgame-shelf.shelf-b small{top:58px!important}
 .lat-shopgame-shelf.shelf-c small{right:4px!important;top:64px!important}
 .lat-shopgame-counter{width:205px!important;height:92px!important}
 .lat-shopgame-lion{right:110px!important;bottom:82px!important}.lat-lion-avatar.pro{width:96px!important;height:114px!important}
 .lat-shop-customer[style*='--lane: 1']{left:57%!important;top:360px!important}
 .lat-shop-customer[style*='--lane: 2']{left:48%!important;top:408px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:360px!important}
}


/* v5.4.5 - tienda real con pared completa de góndolas */
.lat-shopgame-stage{min-height:760px!important}
.lat-shopgame-floor:before,.lat-shopgame-floor:after{content:none!important;display:none!important}
.lat-shopgame-shelf:before,.lat-shopgame-shelf:after{content:none!important;display:none!important}
.lat-shopgame-shelf{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:7!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
/* three real gondolas across the whole back wall */
.lat-shopgame-shelf.shelf-a,
.lat-shopgame-shelf.shelf-b,
.lat-shopgame-shelf.shelf-c{
  top:150px!important;
  width:25.5%!important;
  height:430px!important;
  background:url('../images/shop-shelf-approved.png') center bottom/contain no-repeat!important;
  filter:drop-shadow(0 18px 18px rgba(23,33,28,.18))!important;
}
.lat-shopgame-shelf.shelf-a{left:9%!important}
.lat-shopgame-shelf.shelf-b{left:37.2%!important}
.lat-shopgame-shelf.shelf-c{left:65.4%!important}
/* badges centered on each gondola */
.lat-shopgame-shelf small{
  display:grid!important;place-items:center!important;
  position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
  top:152px!important;right:auto!important;bottom:auto!important;
  width:54px!important;height:54px!important;border-radius:50%!important;
  background:linear-gradient(180deg,#2abf85,#16785a)!important;color:#fff!important;
  border:3px solid rgba(255,255,255,.94)!important;
  box-shadow:0 10px 18px rgba(15,102,72,.25)!important;
  font-size:20px!important;font-weight:1000!important;z-index:12!important;
}
/* composition */
.lat-shopgame-door{left:22px!important;top:170px!important;z-index:9!important}
.lat-shopgame-rug{left:58px!important;top:520px!important;z-index:9!important}
.lat-shopgame-truck{left:-126px!important;bottom:20px!important;z-index:10!important}
.lat-shopgame-counter{right:24px!important;bottom:18px!important;width:236px!important;height:106px!important;z-index:10!important}
.lat-shopgame-lion{right:144px!important;bottom:110px!important;z-index:11!important}
.lat-lion-avatar.pro{width:126px!important;height:150px!important}
/* customers in shopping area */
.lat-shop-customer[style*='--lane: 1']{left:55%!important;top:500px!important}
.lat-shop-customer[style*='--lane: 2']{left:47%!important;top:570px!important}
.lat-shop-customer[style*='--lane: 3']{left:39%!important;top:500px!important}
/* keep provider away from wall */
.lat-provider-person{left:118px!important;bottom:24px!important}
.lat-truck-vehicle{width:184px!important;height:104px!important}
@media(max-width:1280px){
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:160px!important;height:380px!important;width:25.2%!important}
 .lat-shopgame-shelf small{top:135px!important;width:48px!important;height:48px!important;font-size:18px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:700px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:166px!important;height:315px!important;width:24.8%!important}
 .lat-shopgame-shelf.shelf-a{left:10%!important}.lat-shopgame-shelf.shelf-b{left:38%!important}.lat-shopgame-shelf.shelf-c{left:66%!important}
 .lat-shopgame-shelf small{top:112px!important;width:44px!important;height:44px!important;font-size:16px!important}
 .lat-shop-customer[style*='--lane: 1']{left:54%!important;top:430px!important}
 .lat-shop-customer[style*='--lane: 2']{left:46%!important;top:488px!important}
 .lat-shop-customer[style*='--lane: 3']{left:38%!important;top:430px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:158px!important;height:152px!important;width:24.5%!important}
 .lat-shopgame-shelf.shelf-a{left:8%!important}.lat-shopgame-shelf.shelf-b{left:37.5%!important}.lat-shopgame-shelf.shelf-c{left:67%!important}
 .lat-shopgame-shelf small{top:52px!important;width:28px!important;height:28px!important;font-size:11px!important;border-width:2px!important}
 .lat-shopgame-counter{width:205px!important;height:92px!important}
 .lat-shopgame-lion{right:110px!important;bottom:82px!important}.lat-lion-avatar.pro{width:96px!important;height:114px!important}
 .lat-shop-customer[style*='--lane: 1']{left:57%!important;top:360px!important}
 .lat-shop-customer[style*='--lane: 2']{left:48%!important;top:408px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:360px!important}
}


/* v5.4.6 - pared completa con góndolas de tienda, bien diseñada */
.lat-shopgame-stage{min-height:760px!important}
.lat-shopgame-wall{height:106px!important}
.lat-shopgame-floor{inset:106px 0 0!important;background:
linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px),
linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),
linear-gradient(180deg,#d7a26e 0,#ce9864 100%)!important;background-size:64px 64px,64px 64px,100% 100%!important}
/* remove prior experiments */
.lat-shopgame-floor:after{content:none!important;display:none!important}
.lat-shopgame-floor:before{
  content:""!important;display:block!important;position:absolute!important;
  left:2.8%!important;right:2.8%!important;top:34px!important;height:460px!important;
  background:url('../images/shop-wall-gondolas.png') center top/100% auto no-repeat!important;
  z-index:3!important;filter:drop-shadow(0 18px 18px rgba(22,34,28,.18))!important;
}
.lat-shopgame-shelf,
.lat-shopgame-shelf.shelf-a,
.lat-shopgame-shelf.shelf-b,
.lat-shopgame-shelf.shelf-c{
  background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:8!important;
}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
/* Invisible interactive sectors aligned with the wall of gondolas */
.lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:156px!important;height:355px!important;width:28.5%!important}
.lat-shopgame-shelf.shelf-a{left:4.6%!important}
.lat-shopgame-shelf.shelf-b{left:35.8%!important}
.lat-shopgame-shelf.shelf-c{left:67%!important}
/* discreet stock badges, one per sector */
.lat-shopgame-shelf small{
  display:grid!important;place-items:center!important;
  position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
  top:175px!important;right:auto!important;bottom:auto!important;
  width:50px!important;height:50px!important;border-radius:50%!important;
  background:linear-gradient(180deg,#21b97e,#166f54)!important;color:#fff!important;
  border:3px solid rgba(255,255,255,.96)!important;box-shadow:0 10px 18px rgba(15,102,72,.22)!important;
  font-size:18px!important;font-weight:1000!important;z-index:12!important;
}
/* composition around the shop */
.lat-shopgame-door{left:20px!important;top:168px!important;z-index:9!important}
.lat-shopgame-rug{left:66px!important;top:510px!important;z-index:9!important}
.lat-shopgame-truck{left:-126px!important;bottom:18px!important;z-index:10!important}
.lat-provider-person{left:120px!important;bottom:18px!important;z-index:10!important}
.lat-shopgame-counter{right:24px!important;bottom:16px!important;width:238px!important;height:108px!important;z-index:10!important}
.lat-shopgame-lion{right:146px!important;bottom:112px!important;z-index:11!important}
.lat-lion-avatar.pro{width:126px!important;height:152px!important}
.lat-shopgame-toast{z-index:30!important}
/* customer area in front of gondolas */
.lat-shop-customer[style*='--lane: 1']{left:58%!important;top:525px!important}
.lat-shop-customer[style*='--lane: 2']{left:50%!important;top:586px!important}
.lat-shop-customer[style*='--lane: 3']{left:42%!important;top:525px!important}
/* responsive */
@media(max-width:1300px){
 .lat-shopgame-floor:before{top:44px!important;height:392px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:160px!important;height:300px!important}
 .lat-shopgame-shelf small{top:146px!important;width:46px!important;height:46px!important;font-size:17px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:700px!important}
 .lat-shopgame-floor:before{left:3.2%!important;right:3.2%!important;top:52px!important;height:322px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:162px!important;height:248px!important}
 .lat-shopgame-shelf.shelf-a{left:5%!important}.lat-shopgame-shelf.shelf-b{left:36.1%!important}.lat-shopgame-shelf.shelf-c{left:67.2%!important}
 .lat-shopgame-shelf small{top:118px!important;width:42px!important;height:42px!important;font-size:15px!important}
 .lat-shop-customer[style*='--lane: 1']{left:55%!important;top:440px!important}
 .lat-shop-customer[style*='--lane: 2']{left:47%!important;top:496px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:440px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-floor:before{left:4%!important;right:4%!important;top:58px!important;height:165px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:154px!important;height:116px!important;width:28%!important}
 .lat-shopgame-shelf.shelf-a{left:5%!important}.lat-shopgame-shelf.shelf-b{left:36.5%!important}.lat-shopgame-shelf.shelf-c{left:68%!important}
 .lat-shopgame-shelf small{top:48px!important;width:28px!important;height:28px!important;font-size:11px!important;border-width:2px!important}
 .lat-shopgame-counter{width:205px!important;height:92px!important}
 .lat-shopgame-lion{right:110px!important;bottom:82px!important}.lat-lion-avatar.pro{width:96px!important;height:114px!important}
 .lat-shop-customer[style*='--lane: 1']{left:57%!important;top:360px!important}
 .lat-shop-customer[style*='--lane: 2']{left:48%!important;top:408px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:360px!important}
}


/* v5.4.7 - pared de tienda real, bien resuelta */
.lat-shopgame-stage{min-height:760px!important}
.lat-shopgame-wall{height:108px!important}
.lat-shopgame-floor{inset:108px 0 0!important;background:
linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px),
linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),
linear-gradient(180deg,#d7a26e 0,#ce9965 100%)!important;background-size:64px 64px,64px 64px,100% 100%!important}
/* kill all prior wall/gondola experiments */
.lat-shopgame-floor:after{content:none!important;display:none!important}
.lat-shopgame-floor:before{
  content:""!important;display:block!important;position:absolute!important;
  left:5.5%!important;right:3.5%!important;top:40px!important;height:430px!important;
  background:url('../images/shop-wall-gondolas-tight.png') left top/100% 100% no-repeat!important;
  z-index:3!important;filter:drop-shadow(0 20px 18px rgba(20,33,28,.18))!important;
}
/* keep interaction areas invisible; visual wall comes from pseudo background */
.lat-shopgame-shelf,.lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:8!important}
.lat-shopgame-shelf .lat-shelf-back,.lat-shopgame-shelf .lat-shelf-decor,.lat-shopgame-shelf .lat-shelf-products,.lat-shopgame-shelf>b,.lat-shopgame-shelf>span{display:none!important}
.lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:160px!important;height:330px!important;width:24.5%!important}
.lat-shopgame-shelf.shelf-a{left:7%!important}
.lat-shopgame-shelf.shelf-b{left:37.8%!important}
.lat-shopgame-shelf.shelf-c{left:68.6%!important}
.lat-shopgame-shelf small{display:grid!important;place-items:center!important;position:absolute!important;left:50%!important;transform:translateX(-50%)!important;top:164px!important;right:auto!important;bottom:auto!important;width:48px!important;height:48px!important;border-radius:50%!important;background:linear-gradient(180deg,#24bd82,#166f54)!important;color:#fff!important;border:3px solid rgba(255,255,255,.96)!important;box-shadow:0 10px 18px rgba(15,102,72,.22)!important;font-size:17px!important;font-weight:1000!important;z-index:12!important}
/* make the scene read as a store */
.lat-shopgame-door{left:20px!important;top:170px!important;z-index:9!important}
.lat-shopgame-rug{left:64px!important;top:518px!important;z-index:9!important}
.lat-shopgame-truck{left:-120px!important;bottom:20px!important;z-index:10!important}
.lat-provider-person{left:118px!important;bottom:18px!important;z-index:10!important}
.lat-shopgame-counter{right:24px!important;bottom:18px!important;width:238px!important;height:108px!important;z-index:10!important}
.lat-shopgame-lion{right:146px!important;bottom:112px!important;z-index:11!important}.lat-lion-avatar.pro{width:126px!important;height:152px!important}
.lat-shop-customer[style*='--lane: 1']{left:58%!important;top:522px!important}
.lat-shop-customer[style*='--lane: 2']{left:50%!important;top:584px!important}
.lat-shop-customer[style*='--lane: 3']{left:42%!important;top:522px!important}
@media(max-width:1300px){
 .lat-shopgame-floor:before{left:5.2%!important;right:3.2%!important;top:48px!important;height:366px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:164px!important;height:286px!important}
 .lat-shopgame-shelf small{top:140px!important;width:44px!important;height:44px!important;font-size:16px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:700px!important}
 .lat-shopgame-floor:before{left:5%!important;right:3%!important;top:54px!important;height:300px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:166px!important;height:240px!important;width:24%!important}
 .lat-shopgame-shelf.shelf-a{left:7%!important}.lat-shopgame-shelf.shelf-b{left:38%!important}.lat-shopgame-shelf.shelf-c{left:69%!important}
 .lat-shopgame-shelf small{top:116px!important;width:40px!important;height:40px!important;font-size:14px!important}
 .lat-shop-customer[style*='--lane: 1']{left:55%!important;top:440px!important}
 .lat-shop-customer[style*='--lane: 2']{left:47%!important;top:494px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:440px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-floor:before{left:5%!important;right:4%!important;top:60px!important;height:154px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:156px!important;height:112px!important;width:24%!important}
 .lat-shopgame-shelf.shelf-a{left:7%!important}.lat-shopgame-shelf.shelf-b{left:38%!important}.lat-shopgame-shelf.shelf-c{left:69%!important}
 .lat-shopgame-shelf small{top:46px!important;width:26px!important;height:26px!important;font-size:10px!important;border-width:2px!important}
 .lat-shopgame-counter{width:205px!important;height:92px!important}
 .lat-shopgame-lion{right:110px!important;bottom:82px!important}.lat-lion-avatar.pro{width:96px!important;height:114px!important}
 .lat-shop-customer[style*='--lane: 1']{left:57%!important;top:360px!important}
 .lat-shop-customer[style*='--lane: 2']{left:48%!important;top:408px!important}
 .lat-shop-customer[style*='--lane: 3']{left:39%!important;top:360px!important}
}


/* v5.5.0 - tienda realista integral */
.lat-shopgame-stage{
  min-height:760px!important;
  background:url('../images/shop-store-real-bg.png') center top/cover no-repeat!important;
}
.lat-shopgame-wall{
  height:100px!important;
  background:linear-gradient(180deg,rgba(245,247,240,.88),rgba(245,247,240,.55))!important;
  border-bottom:1px solid rgba(120,90,52,.18)!important;
  backdrop-filter: blur(1px);
}
.lat-shopgame-floor{
  inset:100px 0 0!important;
  background:transparent!important;
}
.lat-shopgame-floor:before,.lat-shopgame-floor:after,
.lat-shopgame-stage:before,.lat-shopgame-stage:after{content:none!important;display:none!important}
/* hide flat decorative elements; background already contains real store */
.lat-shopgame-door,.lat-shopgame-rug{
  opacity:0!important;pointer-events:none!important;display:none!important;
}
/* shelf zones become invisible hit areas only */
.lat-shopgame-shelf,
.lat-shopgame-shelf.shelf-a,
.lat-shopgame-shelf.shelf-b,
.lat-shopgame-shelf.shelf-c{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:8!important;
}
.lat-shopgame-shelf b,
.lat-shopgame-shelf span,
.lat-shopgame-shelf .lat-shelf-back,
.lat-shopgame-shelf .lat-shelf-decor,
.lat-shopgame-shelf .lat-shelf-products{display:none!important}
.lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{
  top:170px!important;height:410px!important;width:23%!important;
}
.lat-shopgame-shelf.shelf-a{left:9%!important}
.lat-shopgame-shelf.shelf-b{left:38.7%!important}
.lat-shopgame-shelf.shelf-c{left:68.5%!important}
.lat-shopgame-shelf small{
  display:grid!important;place-items:center!important;position:absolute!important;
  right:10px!important;top:28px!important;bottom:auto!important;left:auto!important;transform:none!important;
  width:54px!important;height:54px!important;border-radius:50%!important;
  background:linear-gradient(180deg,#26bf84,#147354)!important;color:#fff!important;
  border:3px solid rgba(255,255,255,.96)!important;box-shadow:0 10px 22px rgba(14,82,59,.23)!important;
  font-size:19px!important;font-weight:1000!important;z-index:15!important;
}
/* counter, lion and provider placed over the realistic scene */
.lat-shopgame-counter{
  right:24px!important;bottom:18px!important;width:228px!important;height:102px!important;z-index:10!important;
  background:linear-gradient(180deg,#5f97c4,#3d6e96)!important;border:6px solid #315671!important;
}
.lat-shopgame-lion{right:150px!important;bottom:108px!important;z-index:11!important}
.lat-lion-avatar.pro{width:118px!important;height:142px!important}
.lat-shopgame-truck{left:-98px!important;bottom:22px!important;z-index:10!important}
.lat-provider-person{left:105px!important;bottom:18px!important;z-index:10!important}
/* customers aligned in open floor zone */
.lat-shop-customer[style*="--lane: 1"]{left:48%!important;top:485px!important}
.lat-shop-customer[style*="--lane: 2"]{left:56%!important;top:548px!important}
.lat-shop-customer[style*="--lane: 3"]{left:64%!important;top:485px!important}
.lat-shop-customer .wish{left:46px!important;top:-8px!important}
/* readable toast and action areas */
.lat-shopgame-toast{bottom:18px!important;z-index:30!important}
@media(max-width:1300px){
 .lat-shopgame-stage{min-height:700px!important;background-position:center top!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:162px!important;height:360px!important}
 .lat-shopgame-shelf small{width:48px!important;height:48px!important;font-size:17px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:46%!important;top:448px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:54%!important;top:505px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:62%!important;top:448px!important}
}
@media(max-width:1050px){
 .lat-shopgame-stage{min-height:650px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:154px!important;height:295px!important}
 .lat-shopgame-shelf.shelf-a{left:8%!important}.lat-shopgame-shelf.shelf-b{left:38%!important}.lat-shopgame-shelf.shelf-c{left:68%!important}
 .lat-shopgame-shelf small{right:6px!important;top:18px!important;width:42px!important;height:42px!important;font-size:15px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:44%!important;top:400px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:52%!important;top:452px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:60%!important;top:400px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:560px!important}
 .lat-shopgame-wall{height:88px!important}
 .lat-shopgame-floor{inset:88px 0 0!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:136px!important;height:175px!important;width:24%!important}
 .lat-shopgame-shelf.shelf-a{left:7%!important}.lat-shopgame-shelf.shelf-b{left:38%!important}.lat-shopgame-shelf.shelf-c{left:69%!important}
 .lat-shopgame-shelf small{width:28px!important;height:28px!important;font-size:11px!important;border-width:2px!important;right:2px!important;top:10px!important}
 .lat-shopgame-counter{width:205px!important;height:92px!important;right:14px!important}
 .lat-shopgame-lion{right:108px!important;bottom:84px!important}.lat-lion-avatar.pro{width:92px!important;height:112px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:43%!important;top:338px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:52%!important;top:380px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:61%!important;top:338px!important}
}


/* v5.5.1 - tienda 100% realista */
.lat-shopgame-stage{
  min-height:820px!important;
  background:url('../images/shop-store-real-bg.png') center center/cover no-repeat!important;
  border-radius:28px!important;
  box-shadow:0 18px 40px rgba(27,49,39,.18)!important;
}
/* remove cartoon/storefront layers; use full realistic scene */
.lat-shopgame-wall,
.lat-shopgame-floor{
  background:transparent!important;
}
.lat-shopgame-floor:before,
.lat-shopgame-floor:after,
.lat-shopgame-stage:before,
.lat-shopgame-stage:after,
.lat-shopgame-wall:before,
.lat-shopgame-wall:after,
.lat-shopgame-window-strip,
.lat-shopgame-lamps,
.lat-shopgame-posters,
.plant-a,
.plant-b,
.lat-shopgame-door,
.lat-shopgame-rug{
  display:none!important;
  content:none!important;
}
/* interactive zones only, visually invisible over realistic gondolas */
.lat-shopgame-shelf,
.lat-shopgame-shelf.shelf-a,
.lat-shopgame-shelf.shelf-b,
.lat-shopgame-shelf.shelf-c{
  position:absolute!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:visible!important;
  z-index:8!important;
}
.lat-shopgame-shelf b,
.lat-shopgame-shelf span,
.lat-shopgame-shelf .lat-shelf-back,
.lat-shopgame-shelf .lat-shelf-decor,
.lat-shopgame-shelf .lat-shelf-products{display:none!important}
/* aligned to the real shelves in background */
.lat-shopgame-shelf.shelf-a{left:7.5%!important;top:162px!important;width:23%!important;height:452px!important}
.lat-shopgame-shelf.shelf-b{left:37.2%!important;top:162px!important;width:24%!important;height:452px!important}
.lat-shopgame-shelf.shelf-c{left:67.1%!important;top:162px!important;width:24%!important;height:452px!important}
.lat-shopgame-shelf small{
  display:grid!important;place-items:center!important;
  position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
  top:252px!important;right:auto!important;bottom:auto!important;
  width:52px!important;height:52px!important;border-radius:50%!important;
  background:linear-gradient(180deg,#27bb83,#176f54)!important;color:#fff!important;
  border:3px solid rgba(255,255,255,.96)!important;
  box-shadow:0 10px 22px rgba(10,64,48,.22)!important;
  font-size:18px!important;font-weight:1000!important;z-index:20!important;
}
/* left supplier area kept compact */
.lat-shopgame-truck{left:-102px!important;bottom:26px!important;z-index:11!important}
.lat-provider-person{left:106px!important;bottom:20px!important;z-index:11!important}
.lat-truck-vehicle{width:170px!important;height:98px!important}
/* right checkout refined */
.lat-shopgame-counter{
  right:26px!important;bottom:20px!important;width:238px!important;height:108px!important;
  border-radius:22px!important;background:linear-gradient(180deg,#5f97c4,#3d6e96)!important;
  border:6px solid #315671!important;z-index:12!important;
}
.lat-counter-screen{width:54px!important;height:30px!important}
.lat-shopgame-counter:after{left:104px!important}
.lat-shopgame-lion{right:152px!important;bottom:108px!important;z-index:13!important}
.lat-lion-avatar.pro{width:116px!important;height:140px!important}
/* customers in realistic walking space */
.lat-shop-customer{
  width:118px!important;z-index:14!important;
}
.lat-shop-customer[style*="--lane: 1"]{left:52%!important;top:548px!important}
.lat-shop-customer[style*="--lane: 2"]{left:60%!important;top:618px!important}
.lat-shop-customer[style*="--lane: 3"]{left:68%!important;top:548px!important}
.lat-shop-customer.is-entering{opacity:.08!important;transform:translate(-720px,-220px) scale(.84)!important}
.lat-shop-customer .face{width:102px!important;height:158px!important;filter:drop-shadow(0 14px 12px rgba(25,45,35,.16))!important}
.lat-shop-customer .wish{left:-4px!important;top:-12px!important;width:96px!important;height:58px!important}
.lat-shop-customer .wish b{font-size:24px!important}
.lat-shop-customer small{width:82px!important}
.lat-shop-customer .tap-hint{padding:6px 12px!important}
/* helper toast */
.lat-shopgame-toast{bottom:20px!important;z-index:30!important}
/* mobile / smaller screens */
@media(max-width:1300px){
 .lat-shopgame-stage{min-height:740px!important;background-position:center center!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:154px!important;height:402px!important}
 .lat-shopgame-shelf small{top:218px!important;width:46px!important;height:46px!important;font-size:16px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:48%!important;top:500px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:56%!important;top:564px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:64%!important;top:500px!important}
}
@media(max-width:1050px){
 .lat-shopgame-stage{min-height:680px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:146px!important;height:332px!important}
 .lat-shopgame-shelf.shelf-a{left:7%!important}.lat-shopgame-shelf.shelf-b{left:36.7%!important}.lat-shopgame-shelf.shelf-c{left:66.5%!important}
 .lat-shopgame-shelf small{top:178px!important;width:42px!important;height:42px!important;font-size:14px!important}
 .lat-shopgame-counter{width:218px!important;height:100px!important}
 .lat-shopgame-lion{right:138px!important;bottom:98px!important}.lat-lion-avatar.pro{width:106px!important;height:128px!important}
 .lat-shop-customer{width:102px!important}.lat-shop-customer .face{width:88px!important;height:136px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:46%!important;top:446px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:54%!important;top:506px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:62%!important;top:446px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:590px!important}
 .lat-shopgame-shelf.shelf-a,.lat-shopgame-shelf.shelf-b,.lat-shopgame-shelf.shelf-c{top:120px!important;height:176px!important;width:24%!important}
 .lat-shopgame-shelf.shelf-a{left:7%!important}.lat-shopgame-shelf.shelf-b{left:37%!important}.lat-shopgame-shelf.shelf-c{left:67%!important}
 .lat-shopgame-shelf small{top:92px!important;width:28px!important;height:28px!important;font-size:10px!important;border-width:2px!important}
 .lat-shopgame-counter{width:206px!important;height:92px!important;right:14px!important;bottom:14px!important}
 .lat-shopgame-lion{right:110px!important;bottom:84px!important}.lat-lion-avatar.pro{width:92px!important;height:112px!important}
 .lat-shop-customer{width:78px!important}.lat-shop-customer .face{width:64px!important;height:102px!important}.lat-shop-customer .wish{width:64px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:41%!important;top:370px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:50%!important;top:418px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:59%!important;top:370px!important}
}


/* v5.5.2 - personajes más grandes */
.lat-shopgame-truck{left:-108px!important;bottom:20px!important}
.lat-truck-vehicle{width:190px!important;height:108px!important}
.lat-provider-person{left:122px!important;bottom:14px!important;width:122px!important;height:170px!important}

.lat-shopgame-lion{right:144px!important;bottom:112px!important;z-index:14!important}
.lat-lion-avatar.pro{width:142px!important;height:172px!important}

.lat-shop-customer{width:146px!important;z-index:14!important}
.lat-shop-customer .face{width:126px!important;height:196px!important;filter:drop-shadow(0 16px 14px rgba(25,45,35,.18))!important}
.lat-shop-customer .wish{left:-6px!important;top:-16px!important;width:106px!important;height:66px!important}
.lat-shop-customer .wish b{font-size:26px!important}
.lat-shop-customer small{width:90px!important;height:11px!important}
.lat-shop-customer .tap-hint{font-size:9px!important;padding:7px 13px!important}
.lat-shop-customer[style*="--lane: 1"]{left:50%!important;top:510px!important}
.lat-shop-customer[style*="--lane: 2"]{left:59%!important;top:585px!important}
.lat-shop-customer[style*="--lane: 3"]{left:68%!important;top:510px!important}
.lat-shop-customer.is-entering{opacity:.08!important;transform:translate(-760px,-240px) scale(.84)!important}

@media(max-width:1300px){
 .lat-truck-vehicle{width:176px!important;height:100px!important}
 .lat-provider-person{left:112px!important;width:108px!important;height:154px!important}
 .lat-lion-avatar.pro{width:130px!important;height:158px!important}
 .lat-shop-customer{width:130px!important}.lat-shop-customer .face{width:112px!important;height:174px!important}
 .lat-shop-customer .wish{width:96px!important;height:60px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:47%!important;top:472px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:56%!important;top:540px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:65%!important;top:472px!important}
}
@media(max-width:1050px){
 .lat-truck-vehicle{width:158px!important;height:92px!important}
 .lat-provider-person{left:100px!important;width:92px!important;height:132px!important}
 .lat-shopgame-lion{right:130px!important;bottom:96px!important}.lat-lion-avatar.pro{width:116px!important;height:142px!important}
 .lat-shop-customer{width:112px!important}.lat-shop-customer .face{width:96px!important;height:150px!important}.lat-shop-customer .wish{width:84px!important;height:54px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:45%!important;top:432px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:54%!important;top:492px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:63%!important;top:432px!important}
}
@media(max-width:700px){
 .lat-truck-vehicle{width:150px!important;height:84px!important}
 .lat-provider-person{left:96px!important;width:68px!important;height:98px!important}
 .lat-shopgame-lion{right:106px!important;bottom:84px!important}.lat-lion-avatar.pro{width:100px!important;height:122px!important}
 .lat-shop-customer{width:84px!important}.lat-shop-customer .face{width:70px!important;height:112px!important}.lat-shop-customer .wish{width:66px!important;height:46px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:40%!important;top:362px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:50%!important;top:410px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:60%!important;top:362px!important}
}


/* v5.5.3 - personajes a escala real del local */
.lat-shopgame-lion{
  right:148px!important;
  bottom:118px!important;
  z-index:16!important;
}
.lat-lion-avatar.pro{
  width:210px!important;
  height:252px!important;
  filter:drop-shadow(0 20px 16px rgba(25,45,35,.22))!important;
}
.lat-shopgame-lion small{
  font-size:11px!important;
  padding:6px 11px!important;
  margin-top:-28px!important;
}

.lat-provider-person{
  left:150px!important;
  bottom:18px!important;
  width:180px!important;
  height:252px!important;
  z-index:15!important;
  filter:drop-shadow(0 18px 14px rgba(25,45,35,.2))!important;
}
.lat-shopgame-truck{left:-76px!important;bottom:18px!important}
.lat-truck-vehicle{width:230px!important;height:132px!important}

.lat-shop-customer{width:176px!important;z-index:15!important}
.lat-shop-customer .face{
  width:154px!important;
  height:236px!important;
  filter:drop-shadow(0 18px 15px rgba(25,45,35,.2))!important;
}
.lat-shop-customer .wish{
  left:0!important;
  top:-18px!important;
  width:116px!important;
  height:70px!important;
}
.lat-shop-customer .wish b{font-size:30px!important}
.lat-shop-customer small{width:98px!important;height:12px!important}
.lat-shop-customer .tap-hint{font-size:10px!important;padding:8px 14px!important}
.lat-shop-customer[style*="--lane: 1"]{left:47%!important;top:480px!important}
.lat-shop-customer[style*="--lane: 2"]{left:57%!important;top:560px!important}
.lat-shop-customer[style*="--lane: 3"]{left:67%!important;top:480px!important}

@media(max-width:1300px){
 .lat-lion-avatar.pro{width:186px!important;height:224px!important}
 .lat-shopgame-lion{right:138px!important;bottom:110px!important}
 .lat-provider-person{left:136px!important;width:158px!important;height:224px!important}
 .lat-truck-vehicle{width:210px!important;height:120px!important}
 .lat-shop-customer{width:154px!important}.lat-shop-customer .face{width:134px!important;height:206px!important}
 .lat-shop-customer .wish{width:104px!important;height:64px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:45%!important;top:450px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:55%!important;top:522px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:65%!important;top:450px!important}
}
@media(max-width:1050px){
 .lat-lion-avatar.pro{width:156px!important;height:188px!important}
 .lat-shopgame-lion{right:126px!important;bottom:100px!important}
 .lat-provider-person{left:118px!important;width:132px!important;height:188px!important}
 .lat-truck-vehicle{width:184px!important;height:106px!important}
 .lat-shop-customer{width:132px!important}.lat-shop-customer .face{width:114px!important;height:176px!important}
 .lat-shop-customer .wish{width:92px!important;height:56px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:43%!important;top:410px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:53%!important;top:472px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:63%!important;top:410px!important}
}
@media(max-width:700px){
 .lat-lion-avatar.pro{width:112px!important;height:136px!important}
 .lat-shopgame-lion{right:104px!important;bottom:86px!important}
 .lat-provider-person{left:94px!important;width:82px!important;height:118px!important}
 .lat-truck-vehicle{width:152px!important;height:88px!important}
 .lat-shop-customer{width:92px!important}.lat-shop-customer .face{width:78px!important;height:122px!important}
 .lat-shop-customer .wish{width:70px!important;height:48px!important}.lat-shop-customer .wish b{font-size:19px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:39%!important;top:350px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:50%!important;top:398px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:61%!important;top:350px!important}
}


/* v5.5.4 - escala efectiva corregida */
/* The lion source is landscape; increasing width gives it true human-scale height. */
.lat-shopgame-lion{
  right:125px!important;
  bottom:112px!important;
  z-index:17!important;
}
.lat-lion-avatar.pro{
  width:310px!important;
  height:250px!important;
  background-size:contain!important;
  background-position:center bottom!important;
  filter:drop-shadow(0 20px 16px rgba(25,45,35,.24))!important;
}
.lat-shopgame-lion small{
  margin-top:-22px!important;
  font-size:11px!important;
  padding:6px 12px!important;
}
/* Provider uses a wide source too; correct its real visible scale. */
.lat-provider-person{
  left:156px!important;
  bottom:16px!important;
  width:275px!important;
  height:220px!important;
  background-size:contain!important;
  background-position:center bottom!important;
  filter:drop-shadow(0 19px 15px rgba(25,45,35,.22))!important;
}
.lat-shopgame-truck{left:-64px!important;bottom:18px!important}
.lat-truck-vehicle{width:245px!important;height:138px!important}
/* Customers remain at the approved scale, with cleaner spacing. */
.lat-shop-customer[style*="--lane: 1"]{left:46%!important;top:480px!important}
.lat-shop-customer[style*="--lane: 2"]{left:57%!important;top:558px!important}
.lat-shop-customer[style*="--lane: 3"]{left:68%!important;top:480px!important}
@media(max-width:1300px){
 .lat-shopgame-lion{right:118px!important;bottom:106px!important}
 .lat-lion-avatar.pro{width:276px!important;height:224px!important}
 .lat-provider-person{left:140px!important;width:238px!important;height:195px!important}
 .lat-truck-vehicle{width:220px!important;height:126px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:44%!important;top:448px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:55%!important;top:520px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:66%!important;top:448px!important}
}
@media(max-width:1050px){
 .lat-shopgame-lion{right:112px!important;bottom:96px!important}
 .lat-lion-avatar.pro{width:230px!important;height:188px!important}
 .lat-provider-person{left:118px!important;width:200px!important;height:164px!important}
 .lat-truck-vehicle{width:190px!important;height:108px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:42%!important;top:408px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:53%!important;top:470px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:64%!important;top:408px!important}
}
@media(max-width:700px){
 .lat-shopgame-lion{right:92px!important;bottom:80px!important}
 .lat-lion-avatar.pro{width:166px!important;height:136px!important}
 .lat-provider-person{left:84px!important;width:126px!important;height:106px!important}
 .lat-truck-vehicle{width:154px!important;height:88px!important}
 .lat-shop-customer[style*="--lane: 1"]{left:38%!important;top:348px!important}
 .lat-shop-customer[style*="--lane: 2"]{left:50%!important;top:396px!important}
 .lat-shop-customer[style*="--lane: 3"]{left:62%!important;top:348px!important}
}

/* =====================
   v5.5.5 claridad + escala + más productos
   ===================== */
.lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 368px!important;gap:18px!important;align-items:start!important}
.lat-shopgame-panel{padding:16px!important;border-radius:26px!important;background:linear-gradient(180deg,#ffffff 0%,#f7fcf8 100%)!important;border:1px solid rgba(21,78,54,.14)!important;box-shadow:0 22px 44px rgba(18,54,42,.14)!important;max-height:840px!important;overflow-y:auto!important}
.lat-shop-phase{padding:14px 15px!important;border-radius:18px!important;background:linear-gradient(180deg,#1d8a5c,#176847)!important;box-shadow:0 14px 26px rgba(20,79,56,.18)!important}
.lat-shop-phase span,.lat-shop-phase small{font-size:11px!important;letter-spacing:.04em!important}
.lat-shop-phase strong{font-size:20px!important}
.lat-side-kicker{font-size:11px!important;letter-spacing:.14em!important;color:#1f7d57!important;font-weight:950!important}
.lat-shop-supplier,.lat-shop-orders,.lat-shop-prices,.lat-shop-budget{background:rgba(246,251,247,.92)!important;border:1px solid rgba(26,82,58,.08)!important;border-radius:18px!important;padding:12px!important}
.lat-shop-supplier-buttons{gap:8px!important}
.lat-shop-supplier-buttons button{padding:11px 12px!important;border-radius:14px!important;box-shadow:0 6px 14px rgba(21,64,46,.06)!important}
.lat-shop-supplier-buttons b{font-size:12px!important}
.lat-shop-orders{display:grid!important;gap:8px!important}
.lat-shop-order-row{padding:10px 11px!important;border-radius:15px!important;background:#fff!important;border:1px solid #dae9de!important;box-shadow:0 8px 16px rgba(20,62,45,.06)!important}
.lat-shop-order-row>span{font-size:15px!important;font-weight:950!important;color:#173c30!important}
.lat-shop-order-row>small{font-size:11px!important;color:#57705f!important}
.lat-shop-order-row>div{gap:7px!important;grid-template-columns:38px 1fr 38px!important}
.lat-shop-order-row button{height:34px!important;border-radius:11px!important;font-size:20px!important;font-weight:900!important}
.lat-shop-order-row strong{font-size:18px!important;color:#173c30!important}
.lat-shop-prices{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.lat-shop-prices label{display:grid!important;grid-template-columns:minmax(0,1fr) 118px!important;align-items:center!important;gap:10px!important;padding:10px!important;border-radius:14px!important;background:#fff!important;border:1px solid #dae9de!important;box-shadow:0 8px 16px rgba(20,62,45,.05)!important}
.lat-shop-prices label span{font-weight:900!important;color:#173c30!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.lat-shop-prices input{padding:10px 10px!important;border-radius:11px!important;border:1px solid #cfddd3!important;font-size:14px!important;font-weight:900!important;color:#173c30!important;background:#fbfffc!important}
.lat-shop-budget{grid-template-columns:1fr auto!important;gap:8px 10px!important;align-items:center!important}
.lat-shop-budget span{font-size:13px!important;color:#4f6758!important;font-weight:850!important}
.lat-shop-budget strong{font-size:18px!important;color:#173c30!important}
[data-shop-deliver],[data-shop-open]{min-height:52px!important;font-size:18px!important;font-weight:950!important;border-radius:16px!important;box-shadow:0 12px 24px rgba(20,62,45,.12)!important}
.lat-shop-live-stats{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
.lat-shop-live-stats>div{padding:10px!important;border-radius:14px!important;box-shadow:0 8px 16px rgba(20,62,45,.06)!important}
.lat-shop-live-stats strong{font-size:17px!important}

/* personajes y escena más grandes */
.lat-shopgame-stage{min-height:840px!important}
.lat-shopgame-lion{right:126px!important;bottom:118px!important;z-index:14!important}
.lat-lion-avatar.pro{width:214px!important;height:272px!important;filter:drop-shadow(0 20px 16px rgba(31,44,36,.24))!important}
.lat-shopgame-counter{width:270px!important;height:122px!important;right:22px!important;bottom:22px!important}
.lat-shopgame-counter>span{font-size:26px!important}
.lat-shopgame-counter:after{left:114px!important}
.lat-shopgame-truck{left:-156px!important;bottom:8px!important;z-index:13!important}
.lat-truck-vehicle{width:402px!important;height:194px!important}
.lat-provider-person{left:274px!important;bottom:2px!important;width:122px!important;height:168px!important}
.lat-shopgame-delivery{left:26px!important;bottom:20px!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;max-width:430px!important}
.lat-delivery-crate{width:124px!important;height:94px!important}
.lat-shop-customer{width:150px!important}
.lat-shop-customer .face{width:130px!important;height:210px!important;filter:drop-shadow(0 16px 12px rgba(25,45,35,.18))!important}
.lat-shop-customer .wish{width:104px!important;height:64px!important;top:-18px!important}
.lat-shop-customer .tap-hint{padding:7px 12px!important;font-size:8px!important}
.lat-shop-customer small{width:94px!important}
.lat-shop-customer[style*='--lane: 1']{left:810px!important;top:476px!important}
.lat-shop-customer[style*='--lane: 2']{left:706px!important;top:594px!important}
.lat-shop-customer[style*='--lane: 3']{left:602px!important;top:476px!important}
.lat-shop-customer.is-entering{transform:translate(-760px,-260px) scale(.84)!important}

/* un poco más de producto visible en el local */
.lat-shopgame-stage:before{content:none!important;display:none!important}
.lat-shopgame-floor,.lat-shopgame-rug,.lat-shopgame-door,.lat-shopgame-plant,.lat-shopgame-counter,.lat-shopgame-lion,.lat-shopgame-truck,.lat-shopgame-delivery,.lat-shopgame-clients,.lat-shopgame-toast,.lat-shop-action,.lat-shopgame-wall,.lat-store-sale-pop{position:absolute!important;z-index:1}
.lat-shopgame-wall{z-index:2!important}.lat-shopgame-counter,.lat-shopgame-lion,.lat-shopgame-truck,.lat-shopgame-delivery,.lat-shopgame-clients,.lat-store-sale-pop,.lat-shopgame-toast,.lat-shop-action{z-index:14!important}
.lat-shopgame-shelf{display:none!important}

@media(max-width:1320px){
  .lat-shopgame-wrap{grid-template-columns:minmax(0,1fr) 332px!important}
  .lat-shop-prices label{grid-template-columns:minmax(0,1fr) 108px!important}
  .lat-shop-customer[style*='--lane: 1']{left:724px!important}
  .lat-shop-customer[style*='--lane: 2']{left:626px!important}
  .lat-shop-customer[style*='--lane: 3']{left:530px!important}
  .lat-truck-vehicle{width:350px!important;height:170px!important}
  .lat-provider-person{left:244px!important;width:108px!important;height:150px!important}
}
@media(max-width:1100px){
  .lat-shopgame-wrap{grid-template-columns:1fr!important}
  .lat-shopgame-panel{max-height:none!important}
  .lat-shopgame-stage{min-height:760px!important}
  .lat-shopgame-delivery{max-width:360px!important}
  .lat-shop-customer[style*='--lane: 1']{left:654px!important}
  .lat-shop-customer[style*='--lane: 2']{left:562px!important}
  .lat-shop-customer[style*='--lane: 3']{left:470px!important}
}
@media(max-width:700px){
  .lat-shopgame-stage{min-height:660px!important}
  .lat-shopgame-panel{padding:12px!important}
  .lat-shop-prices label{grid-template-columns:minmax(0,1fr) 96px!important;padding:8px!important}
  .lat-shop-order-row{padding:9px!important}
  [data-shop-deliver],[data-shop-open]{font-size:16px!important;min-height:48px!important}
  .lat-shopgame-counter{width:220px!important;height:102px!important}
  .lat-shopgame-lion{right:108px!important;bottom:92px!important}
  .lat-lion-avatar.pro{width:126px!important;height:160px!important}
  .lat-truck-vehicle{width:176px!important;height:92px!important}
  .lat-provider-person{left:132px!important;width:66px!important;height:92px!important}
  .lat-shopgame-delivery{left:14px!important;right:14px!important;max-width:none!important;gap:8px!important}
  .lat-delivery-crate{width:31%!important;min-width:92px!important;height:82px!important}
  .lat-shop-customer{width:86px!important}
  .lat-shop-customer .face{width:70px!important;height:112px!important}
  .lat-shop-customer .wish{width:66px!important;height:46px!important;top:-12px!important}
  .lat-shop-customer .wish b{font-size:18px!important}
  .lat-shop-customer[style*='--lane: 1']{left:296px!important;top:410px!important}
  .lat-shop-customer[style*='--lane: 2']{left:226px!important;top:462px!important}
  .lat-shop-customer[style*='--lane: 3']{left:158px!important;top:410px!important}
}


/* v5.5.6 - escala real de personajes y proveedor */
.lat-shopgame-stage{min-height:860px!important}

/* Camión grande y visible */
.lat-shopgame-truck{
  left:-82px!important;
  bottom:2px!important;
  width:560px!important;
  height:280px!important;
  z-index:16!important;
}
.lat-truck-vehicle{
  width:520px!important;
  height:250px!important;
  background-size:contain!important;
  filter:drop-shadow(0 18px 16px rgba(20,35,28,.22))!important;
}
.lat-provider-person{
  left:388px!important;
  bottom:8px!important;
  width:186px!important;
  height:258px!important;
  background-size:contain!important;
  filter:drop-shadow(0 16px 12px rgba(20,35,28,.2))!important;
}
.lat-shopgame-truck>small{
  left:382px!important;
  bottom:-2px!important;
  font-size:13px!important;
  padding:7px 13px!important;
}

/* León con proporción de personaje principal */
.lat-shopgame-lion{
  right:92px!important;
  bottom:122px!important;
  z-index:18!important;
}
.lat-lion-avatar.pro{
  width:248px!important;
  height:318px!important;
  background-size:contain!important;
  filter:drop-shadow(0 22px 18px rgba(25,40,32,.26))!important;
}
.lat-shopgame-lion small{
  font-size:13px!important;
  padding:7px 13px!important;
}

/* Clientes grandes para la etapa de venta */
.lat-shop-customer{width:184px!important;z-index:17!important}
.lat-shop-customer .face{
  width:160px!important;
  height:258px!important;
  background-size:contain!important;
  filter:drop-shadow(0 18px 15px rgba(25,45,35,.2))!important;
}
.lat-shop-customer .wish{
  width:118px!important;
  height:72px!important;
  top:-24px!important;
}
.lat-shop-customer .wish b{font-size:30px!important}
.lat-shop-customer .tap-hint{font-size:10px!important;padding:8px 14px!important}
.lat-shop-customer small{width:106px!important;height:12px!important}
.lat-shop-customer[style*='--lane: 1']{left:765px!important;top:440px!important}
.lat-shop-customer[style*='--lane: 2']{left:630px!important;top:560px!important}
.lat-shop-customer[style*='--lane: 3']{left:495px!important;top:440px!important}

/* Caja ligeramente mayor para acompañar la nueva escala */
.lat-shopgame-counter{
  width:292px!important;
  height:132px!important;
  right:18px!important;
  bottom:18px!important;
}
.lat-shopgame-counter>span{font-size:28px!important}

@media(max-width:1320px){
 .lat-shopgame-truck{left:-78px!important;width:480px!important;height:244px!important}
 .lat-truck-vehicle{width:448px!important;height:216px!important}
 .lat-provider-person{left:334px!important;width:158px!important;height:220px!important}
 .lat-shopgame-truck>small{left:330px!important}
 .lat-lion-avatar.pro{width:216px!important;height:276px!important}
 .lat-shopgame-lion{right:84px!important;bottom:114px!important}
 .lat-shop-customer{width:160px!important}.lat-shop-customer .face{width:140px!important;height:224px!important}
 .lat-shop-customer[style*='--lane: 1']{left:690px!important;top:430px!important}
 .lat-shop-customer[style*='--lane: 2']{left:570px!important;top:535px!important}
 .lat-shop-customer[style*='--lane: 3']{left:450px!important;top:430px!important}
}
@media(max-width:1100px){
 .lat-shopgame-stage{min-height:760px!important}
 .lat-shopgame-truck{left:-68px!important;width:390px!important;height:205px!important}
 .lat-truck-vehicle{width:360px!important;height:180px!important}
 .lat-provider-person{left:270px!important;width:126px!important;height:178px!important}
 .lat-shopgame-truck>small{left:266px!important;font-size:11px!important}
 .lat-lion-avatar.pro{width:180px!important;height:232px!important}
 .lat-shopgame-lion{right:74px!important;bottom:102px!important}
 .lat-shopgame-counter{width:255px!important;height:116px!important}
 .lat-shop-customer{width:132px!important}.lat-shop-customer .face{width:114px!important;height:184px!important}
 .lat-shop-customer[style*='--lane: 1']{left:590px!important;top:405px!important}
 .lat-shop-customer[style*='--lane: 2']{left:492px!important;top:495px!important}
 .lat-shop-customer[style*='--lane: 3']{left:394px!important;top:405px!important}
}
@media(max-width:700px){
 .lat-shopgame-stage{min-height:670px!important}
 .lat-shopgame-truck{left:-40px!important;width:235px!important;height:132px!important}
 .lat-truck-vehicle{width:220px!important;height:112px!important}
 .lat-provider-person{left:164px!important;width:76px!important;height:108px!important}
 .lat-shopgame-truck>small{left:160px!important;font-size:9px!important;padding:4px 8px!important}
 .lat-lion-avatar.pro{width:132px!important;height:170px!important}
 .lat-shopgame-lion{right:92px!important;bottom:92px!important}
 .lat-shopgame-counter{width:220px!important;height:102px!important}
 .lat-shop-customer{width:92px!important}.lat-shop-customer .face{width:76px!important;height:122px!important}
 .lat-shop-customer .wish{width:70px!important;height:48px!important;top:-12px!important}.lat-shop-customer .wish b{font-size:18px!important}
 .lat-shop-customer[style*='--lane: 1']{left:296px!important;top:410px!important}
 .lat-shop-customer[style*='--lane: 2']{left:220px!important;top:462px!important}
 .lat-shop-customer[style*='--lane: 3']{left:144px!important;top:410px!important}
}


/* v5.5.7 - escala más grande + descarga clara */
.lat-shopgame-delivery{left:26px!important;bottom:18px!important;z-index:20!important;display:grid!important;grid-template-columns:repeat(2,minmax(130px,1fr))!important;gap:12px!important;max-width:430px!important;padding:18px!important;border-radius:24px!important;background:rgba(255,250,242,.95)!important;box-shadow:0 18px 44px rgba(43,35,25,.18)!important;border:1px solid rgba(160,120,80,.22)!important}
.lat-shopgame-delivery.is-busy{opacity:.96!important}
.lat-delivery-crate{width:auto!important;min-width:0!important;height:92px!important;padding:12px 12px 10px!important;border-radius:18px!important;background:linear-gradient(180deg,#c98d56,#a96a39)!important;box-shadow:0 8px 18px rgba(80,52,25,.2)!important}
.lat-delivery-crate b{font-size:16px!important;line-height:1.05!important}
.lat-delivery-crate small{font-size:12px!important;line-height:1.2!important}
.lat-delivery-auto{grid-column:1/-1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:72px!important;border:0!important;border-radius:18px!important;background:linear-gradient(135deg,#1f8b5e,#2ba675)!important;color:#fff!important;box-shadow:0 12px 26px rgba(20,105,70,.25)!important;font-weight:800!important;padding:10px 14px!important}
.lat-delivery-auto b{font-size:18px!important}
.lat-delivery-auto small{font-size:12px!important;opacity:.95!important}
.lat-delivery-auto:disabled{opacity:.7!important}
.lat-shopgame-truck{left:-30px!important;bottom:14px!important;width:560px!important;height:286px!important;z-index:14!important}
.lat-truck-vehicle{width:520px!important;height:244px!important}
.lat-provider-person{left:382px!important;bottom:0!important;width:172px!important;height:236px!important;background-size:contain!important}
.lat-shopgame-truck>small{left:336px!important;bottom:184px!important;font-size:13px!important}
.lat-shopgame-counter{width:332px!important;height:154px!important}
.lat-shopgame-lion{right:44px!important;bottom:94px!important;z-index:16!important}
.lat-lion-avatar.pro{width:252px!important;height:324px!important}
.lat-shopgame-lion small{font-size:14px!important;padding:7px 12px!important}
.lat-shop-customer{width:164px!important;z-index:16!important}
.lat-shop-customer .face{width:144px!important;height:228px!important}
.lat-shop-customer .wish{width:108px!important;height:60px!important;top:-18px!important}
.lat-shop-customer .tap-hint{font-size:11px!important;padding:7px 12px!important}
.lat-shop-customer small{width:98px!important;height:10px!important}
.lat-shop-customer[style*='--lane: 1']{left:770px!important;top:466px!important}
.lat-shop-customer[style*='--lane: 2']{left:640px!important;top:582px!important}
.lat-shop-customer[style*='--lane: 3']{left:510px!important;top:466px!important}
@media(max-width:1280px){.lat-shopgame-truck{width:500px!important;height:256px!important}.lat-truck-vehicle{width:464px!important;height:214px!important}.lat-provider-person{left:344px!important;width:154px!important;height:210px!important}.lat-lion-avatar.pro{width:216px!important;height:280px!important}.lat-shopgame-lion{right:34px!important;bottom:92px!important}.lat-shop-customer{width:148px!important}.lat-shop-customer .face{width:130px!important;height:206px!important}.lat-shop-customer[style*='--lane: 1']{left:690px!important}.lat-shop-customer[style*='--lane: 2']{left:570px!important;top:560px!important}.lat-shop-customer[style*='--lane: 3']{left:450px!important}}
@media(max-width:700px){.lat-shopgame-delivery{grid-template-columns:1fr 1fr!important;max-width:300px!important;padding:12px!important}.lat-delivery-crate{height:82px!important}.lat-delivery-auto b{font-size:16px!important}.lat-shopgame-truck{width:240px!important;height:132px!important}.lat-truck-vehicle{width:220px!important;height:112px!important}.lat-provider-person{left:164px!important;width:76px!important;height:108px!important}.lat-lion-avatar.pro{width:136px!important;height:176px!important}.lat-shopgame-lion{right:86px!important;bottom:86px!important}.lat-shop-customer{width:96px!important}.lat-shop-customer .face{width:80px!important;height:126px!important}}


/* v5.5.8 - guía visual de mercadería */
.lat-shopgame-delivery[hidden]{display:none!important}
.lat-product-guide{position:absolute;left:50%;top:128px;transform:translateX(-50%);display:flex;flex-direction:column;gap:2px;min-width:250px;max-width:320px;padding:10px 14px;border-radius:16px;background:rgba(255,255,255,.96);border:1px solid rgba(24,102,73,.14);box-shadow:0 12px 30px rgba(26,40,31,.16);z-index:18;color:#173c30;text-align:center}
.lat-product-guide b{font-size:18px;line-height:1.1;font-weight:1000}.lat-product-guide span{font-size:12px;line-height:1.3;font-weight:700;color:#456256}.lat-product-guide:after{content:"";position:absolute;left:50%;transform:translateX(-50%);top:100%;border:10px solid transparent;border-top-color:rgba(255,255,255,.96)}
.lat-product-guide.is-mate{left:22%!important;top:132px!important;transform:translateX(-50%)}
.lat-product-guide.is-auris{left:50%!important;top:132px!important;transform:translateX(-50%)}
.lat-product-guide.is-juguete{left:78%!important;top:132px!important;transform:translateX(-50%)}
.lat-shopgame-shelf.is-focus{filter:drop-shadow(0 0 0 rgba(0,0,0,0)) drop-shadow(0 0 22px rgba(37,204,124,.58)) brightness(1.04)!important;animation:latShelfFocusPulse 1s ease-in-out infinite alternate!important;z-index:11!important}
.lat-shopgame-shelf.is-focus small{background:linear-gradient(180deg,#31d98f,#149160)!important;box-shadow:0 0 0 7px rgba(46,216,133,.18),0 10px 18px rgba(15,102,72,.25)!important}
@keyframes latShelfFocusPulse{from{transform:scale(1)}to{transform:scale(1.018)}}
@media(max-width:1280px){.lat-product-guide{min-width:220px;max-width:280px}.lat-product-guide.is-mate{left:23%!important}.lat-product-guide.is-juguete{left:77%!important}}
@media(max-width:700px){.lat-product-guide{top:120px!important;min-width:156px;max-width:175px;padding:8px 10px;border-radius:12px}.lat-product-guide b{font-size:13px}.lat-product-guide span{font-size:10px}.lat-product-guide.is-mate{left:24%!important}.lat-product-guide.is-auris{left:50%!important}.lat-product-guide.is-juguete{left:76%!important}}


/* v5.5.9 - mobile fit for shop game */
.lat-shopgame-stage{position:relative}
.lat-shopgame-scene-shell{position:absolute;inset:0;overflow:hidden}
.lat-shopgame-scene{position:relative;width:100%;height:100%}
@media(max-width:1100px){
  .lat-shopgame-wrap{grid-template-columns:1fr!important}
  .lat-shopgame-panel{max-height:none!important;overflow:visible!important}
}
@media(max-width:700px){
  .lat-shopgame-wrap{grid-template-columns:1fr!important;gap:12px!important}
  .lat-shopgame-stage{height:340px!important;min-height:340px!important;overflow:auto!important;border-width:4px!important;border-radius:20px!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important}
  .lat-shopgame-scene-shell{position:relative!important;width:100%!important;height:100%!important;overflow:visible!important}
  .lat-shopgame-scene{width:980px!important;height:760px!important;transform:scale(.365)!important;transform-origin:top left!important}
  .lat-shopgame-scene-shell{width:357.7px!important;height:277.4px!important}
  .lat-shopgame-toast{left:50%!important;right:auto!important;bottom:10px!important;transform:translateX(-50%)!important;max-width:86%!important;padding:8px 14px!important;font-size:12px!important;line-height:1.3!important;border-radius:14px!important;z-index:20!important}
  .lat-shop-action{left:10px!important;top:10px!important;right:auto!important;max-width:220px!important;padding:10px 12px!important;border-radius:14px!important;z-index:21!important}
  .lat-shop-action b{font-size:13px!important}.lat-shop-action span{font-size:11px!important;line-height:1.3!important}
  .lat-product-guide{top:88px!important;min-width:180px!important;max-width:210px!important;padding:8px 10px!important;z-index:22!important}
  .lat-shopbar{grid-template-columns:1fr!important;gap:10px!important}.lat-shopbar-stats{display:grid!important;grid-template-columns:repeat(3,1fr)!important}.lat-shopbar-stats>div{min-width:0!important;padding:8px 8px!important}.lat-shopbar h3{font-size:clamp(18px,7vw,28px)!important}
  .lat-shopgame-panel{padding:12px!important;border-radius:18px!important}
  .lat-shopgame-panel .lat-shop-phase{position:sticky!important;top:0!important;z-index:5!important}
}
@media(max-width:430px){
  .lat-shopgame-stage{height:320px!important;min-height:320px!important}
  .lat-shopgame-scene{transform:scale(.335)!important}
  .lat-shopgame-scene-shell{width:328.3px!important;height:254.6px!important}
  .lat-product-guide{top:82px!important;min-width:160px!important;max-width:190px!important}
}
@media(max-width:380px){
  .lat-shopgame-stage{height:300px!important;min-height:300px!important}
  .lat-shopgame-scene{transform:scale(.305)!important}
  .lat-shopgame-scene-shell{width:298.9px!important;height:231.8px!important}
  .lat-shop-action{max-width:190px!important;padding:8px 10px!important}.lat-shop-action b{font-size:12px!important}.lat-shop-action span{font-size:10px!important}
}


/* v5.6.0 - mobile fit + auto return to stage */
@media(max-width:700px){
  .lat-shopgame-stage{overflow:hidden!important}
  .lat-shopgame-scene-shell{position:relative!important;margin:0 auto!important;overflow:visible!important}
  .lat-shopgame-scene{will-change:transform}
  .lat-shopgame-panel{padding-bottom:130px!important}
  [data-shop-deliver],[data-shop-open]{position:sticky!important;z-index:15!important}
  [data-shop-deliver]{bottom:70px!important}
  [data-shop-open]{bottom:12px!important}
}


/* v5.6.1 - móvil firme + guía visible + escala más clara */
.lat-shopgame-panel{position:relative!important}
.lat-shopgame-delivery{background:rgba(255,255,255,.95)!important;border:1px solid rgba(26,98,71,.14)!important;border-radius:18px!important;box-shadow:0 14px 28px rgba(26,56,42,.14)!important;padding:12px!important;gap:10px!important;z-index:19!important}
.lat-delivery-crate{background:linear-gradient(180deg,#dba263,#b87738)!important;border:1px solid rgba(108,61,24,.16)!important;box-shadow:0 10px 18px rgba(97,61,24,.14)!important}
.lat-delivery-crate b,.lat-delivery-crate small{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.18)!important}
.lat-product-guide{background:rgba(255,255,255,.98)!important;border:2px solid rgba(34,136,95,.18)!important;box-shadow:0 18px 34px rgba(25,54,41,.20)!important;z-index:30!important}
.lat-shopgame-shelf.is-focus{box-shadow:0 0 0 4px rgba(54,214,145,.22)!important}
.lat-shopgame-lion{right:34px!important;bottom:74px!important;z-index:18!important}
.lat-lion-avatar.pro{width:238px!important;height:304px!important;filter:drop-shadow(0 20px 14px rgba(31,44,36,.24))!important}
.lat-shop-customer{width:148px!important}
.lat-shop-customer .face{width:126px!important;height:202px!important}
.lat-shop-customer .wish{width:112px!important;min-height:64px!important}
.lat-shop-customer .tap-hint{font-size:12px!important}
.lat-shopgame-truck{z-index:14!important}
.lat-truck-vehicle{width:510px!important;height:240px!important}
.lat-provider-person{left:370px!important;width:168px!important;height:230px!important}
.lat-shopgame-stage{scroll-margin-top:8px!important}
[data-shop-deliver],[data-shop-open]{scroll-margin-top:8px!important}

@media(max-width:1280px){
 .lat-lion-avatar.pro{width:208px!important;height:266px!important}
 .lat-shop-customer{width:136px!important}
 .lat-shop-customer .face{width:116px!important;height:186px!important}
 .lat-truck-vehicle{width:430px!important;height:210px!important}
 .lat-provider-person{left:310px!important;width:144px!important;height:200px!important}
}
@media(max-width:700px){
 .lat-shopgame-wrap{grid-template-columns:1fr!important;gap:12px!important}
 .lat-shopgame-stage{height:auto!important;min-height:0!important;overflow:hidden!important;border-width:4px!important;border-radius:20px!important}
 .lat-shopgame-panel{order:2!important}
 .lat-shopgame-delivery{left:8px!important;bottom:8px!important;max-width:calc(100% - 16px)!important;transform:scale(.95)!important;transform-origin:left bottom!important}
 .lat-product-guide{top:78px!important;min-width:170px!important;max-width:205px!important;padding:8px 10px!important}
 .lat-shopgame-lion{right:72px!important;bottom:80px!important}
 .lat-lion-avatar.pro{width:150px!important;height:194px!important}
 .lat-shop-customer{width:106px!important}
 .lat-shop-customer .face{width:88px!important;height:138px!important}
 .lat-shop-customer .wish{width:84px!important;min-height:52px!important}
 .lat-truck-vehicle{width:240px!important;height:118px!important}
 .lat-provider-person{left:176px!important;width:76px!important;height:108px!important}
 [data-shop-deliver],[data-shop-open]{position:sticky!important;z-index:25!important;box-shadow:0 10px 22px rgba(20,62,45,.16)!important}
 [data-shop-deliver]{bottom:66px!important}
 [data-shop-open]{bottom:8px!important}
}

/* ===== v5.6.2 mobile clean override ===== */
.lat-shop-sim .lat-shopgame-stage{scroll-margin-top:8px!important}
.lat-shop-sim .lat-shopgame-panel [data-shop-deliver],
.lat-shop-sim .lat-shopgame-panel [data-shop-open]{scroll-margin-top:8px!important}

@media (max-width:700px){
  .lat-shop-sim .lat-shopgame-wrap{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:0!important}
  .lat-shop-sim .lat-shopgame-stage{width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;overflow:hidden!important;border-width:4px!important;border-radius:20px!important}
  .lat-shop-sim .lat-shopgame-scene-shell{position:relative!important;inset:auto!important;margin:0 auto!important;overflow:visible!important;max-width:100%!important}
  .lat-shop-sim .lat-shopgame-scene{position:relative!important;will-change:transform!important}
  .lat-shop-sim .lat-shopgame-panel{width:100%!important;max-height:none!important;overflow:visible!important;padding:12px!important;border-radius:20px!important;gap:8px!important}
  .lat-shop-sim .lat-shop-phase{position:sticky!important;top:4px!important;z-index:7!important;box-shadow:0 8px 18px rgba(17,43,34,.12)!important}
  .lat-shop-sim .lat-shop-supplier,
  .lat-shop-sim .lat-shop-orders,
  .lat-shop-sim .lat-shop-prices,
  .lat-shop-sim .lat-shop-budget,
  .lat-shop-sim .lat-shop-live-stats{width:100%!important}
  .lat-shop-sim .lat-shop-order-row{padding:9px!important}
  .lat-shop-sim .lat-shop-order-row>div{grid-template-columns:42px 1fr 42px!important;gap:8px!important}
  .lat-shop-sim .lat-shop-order-row button{height:34px!important;font-size:20px!important}
  .lat-shop-sim .lat-shop-prices{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .lat-shop-sim .lat-shop-prices label{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:center!important}
  .lat-shop-sim .lat-shop-prices label span{font-size:14px!important;font-weight:800!important}
  .lat-shop-sim .lat-shop-prices input{min-width:92px!important}
  .lat-shop-sim [data-shop-deliver],
  .lat-shop-sim [data-shop-open]{position:sticky!important;bottom:0!important;z-index:6!important;margin-top:2px!important;box-shadow:0 10px 20px rgba(18,54,42,.14)!important}
  .lat-shop-sim .lat-shop-live-stats{grid-template-columns:repeat(3,1fr)!important}
  .lat-shop-sim .lat-shopbar{grid-template-columns:1fr!important;gap:8px!important}
  .lat-shop-sim .lat-shopbar h3{font-size:clamp(28px,7vw,44px)!important;line-height:1.05!important}
  .lat-shop-sim .lat-shopbar-stats{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important}
  .lat-shop-sim .lat-shopbar-stats>div{min-width:0!important;padding:8px!important}
  .lat-shop-sim .lat-icon-btn[data-shop-help]{position:absolute!important;right:8px!important;top:8px!important}

  /* Mobile character scale */
  .lat-shop-sim .lat-lion-avatar.pro{width:150px!important;height:194px!important}
  .lat-shop-sim .lat-shopgame-lion{right:94px!important;bottom:86px!important}
  .lat-shop-sim .lat-shop-customer{width:100px!important}
  .lat-shop-sim .lat-shop-customer .face{width:84px!important;height:132px!important}
  .lat-shop-sim .lat-shop-customer .wish{width:74px!important;height:48px!important}
  .lat-shop-sim .lat-truck-vehicle{width:228px!important;height:118px!important}
  .lat-shop-sim .lat-provider-person{left:170px!important;width:82px!important;height:110px!important}
  .lat-shop-sim .lat-shopgame-truck{left:-60px!important;bottom:12px!important}
  .lat-shop-sim .lat-shopgame-delivery{left:12px!important;bottom:12px!important;max-width:320px!important}
}


/* ===== v5.6.4 MOBILE REBUILD - overrides legacy !important rules ===== */
.lat-shop-sim.is-mobile-shop .lat-shopgame-wrap{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:0!important;align-items:stretch!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit{flex:none!important;box-sizing:border-box!important;border-width:4px!important;border-radius:18px!important;background:#d7edf4!important;box-shadow:0 10px 24px rgba(25,55,43,.15)!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-scene-shell{box-sizing:border-box!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-panel{order:3!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;padding:11px!important;border-radius:18px!important;gap:8px!important;box-sizing:border-box!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-panel *{box-sizing:border-box!important}
.lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{order:2!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;position:sticky!important;bottom:6px!important;z-index:60!important;padding:8px!important;border-radius:16px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 12px 30px rgba(18,54,42,.20)!important;backdrop-filter:blur(8px)!important}
.lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions[hidden]{display:none!important}
.lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button{min-height:48px!important;border:0!important;border-radius:13px!important;font-size:14px!important;font-weight:950!important;color:#fff!important;background:linear-gradient(135deg,#ff3f6c,#ff7738)!important;box-shadow:0 8px 16px rgba(218,77,66,.20)!important}
.lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button+button{background:linear-gradient(135deg,#ffc52e,#ff7835)!important}
.lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button:disabled{opacity:.42!important;filter:grayscale(.25)!important}
.lat-shop-sim.is-mobile-shop .lat-shopbar{grid-template-columns:1fr!important;gap:7px!important;margin-bottom:8px!important}
.lat-shop-sim.is-mobile-shop .lat-shopbar h3{font-size:clamp(25px,6vw,38px)!important;line-height:1!important;margin:5px 0 0!important}
.lat-shop-sim.is-mobile-shop .lat-shopbar-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:6px!important}
.lat-shop-sim.is-mobile-shop .lat-shopbar-stats>div{min-width:0!important;padding:7px!important;border-radius:12px!important}
.lat-shop-sim.is-mobile-shop .lat-icon-btn[data-shop-help]{position:absolute!important;right:6px!important;top:6px!important;z-index:5!important}
.lat-shop-sim.is-mobile-shop .lat-shop-phase{position:sticky!important;top:4px!important;z-index:7!important}
.lat-shop-sim.is-mobile-shop .lat-shop-orders{gap:6px!important}
.lat-shop-sim.is-mobile-shop .lat-shop-order-row{padding:8px!important}
.lat-shop-sim.is-mobile-shop .lat-shop-order-row>div{grid-template-columns:40px 1fr 40px!important;gap:7px!important}
.lat-shop-sim.is-mobile-shop .lat-shop-order-row button{height:34px!important}
.lat-shop-sim.is-mobile-shop .lat-shop-prices{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
.lat-shop-sim.is-mobile-shop .lat-shop-prices label{display:grid!important;grid-template-columns:1fr 100px!important;gap:8px!important;align-items:center!important}
.lat-shop-sim.is-mobile-shop .lat-shop-prices label span{font-size:13px!important;font-weight:900!important}
.lat-shop-sim.is-mobile-shop .lat-shop-prices input{width:100%!important;min-width:0!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer{z-index:30!important;width:150px!important;padding:8px!important;touch-action:manipulation!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .face{width:128px!important;height:200px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .wish{width:104px!important;height:62px!important;left:54px!important;top:-12px!important;background:rgba(255,255,255,.97)!important;border:2px solid #fff!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .tap-hint{font-size:12px!important;padding:8px 11px!important;background:#fff!important;border-radius:14px!important;box-shadow:0 6px 14px rgba(22,50,39,.14)!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer small{width:96px!important;height:12px!important;padding:3px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-lion-avatar.pro{width:230px!important;height:294px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-lion{right:48px!important;bottom:86px!important;z-index:28!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-truck-vehicle{width:430px!important;height:210px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-provider-person{left:315px!important;width:148px!important;height:202px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-truck{left:-72px!important;bottom:4px!important;z-index:25!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-delivery{left:18px!important;bottom:18px!important;max-width:390px!important;z-index:40!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-product-guide{z-index:50!important;top:84px!important}
/* stable positions inside the full 980x760 scene */
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-entering{left:70px!important;top:350px!important;transform:none!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='mate']{left:170px!important;top:300px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='auris'],
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='parlante']{left:455px!important;top:300px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='juguete'],
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='figura']{left:315px!important;top:480px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:690px!important;top:395px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:575px!important;top:515px!important}
.lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:465px!important;top:395px!important}
@media (orientation:portrait){
 .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{grid-template-columns:1fr!important}
 .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-lion-avatar.pro{width:208px!important;height:268px!important}
 .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-lion{right:68px!important;bottom:82px!important}
}
@media (orientation:landscape){
 .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{grid-template-columns:1fr 1fr!important}
 .lat-shop-sim.is-mobile-shop .lat-shopgame-panel{padding-bottom:18px!important}
}


/* ===== v5.6.5 MOBILE FINAL FRAMING ===== */
@media (max-width: 1100px){
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit{display:flex!important;justify-content:center!important;align-items:flex-start!important;overflow:hidden!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-scene-shell{margin:0 auto!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-toast{left:50%!important;right:auto!important;bottom:10px!important;transform:translateX(-50%)!important;max-width:min(72%,360px)!important;padding:10px 14px!important;font-size:11px!important;line-height:1.3!important;border-radius:16px!important;z-index:52!important;background:rgba(23,60,48,.92)!important;box-shadow:0 10px 18px rgba(16,42,33,.18)!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action{left:10px!important;top:10px!important;right:auto!important;max-width:min(205px,44%)!important;padding:11px 12px!important;border-radius:15px!important;z-index:53!important;box-shadow:0 12px 22px rgba(15,52,39,.16)!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action b{font-size:13px!important;line-height:1.15!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action span{font-size:11px!important;line-height:1.28!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide{left:50%!important;top:84px!important;transform:translateX(-50%)!important;min-width:170px!important;max-width:min(220px,42%)!important;padding:8px 10px!important;border-radius:14px!important;z-index:54!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide b{font-size:13px!important;line-height:1.15!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide span{font-size:10px!important;line-height:1.28!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide:after{border-width:8px!important}

  /* Stage actors */
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer{width:124px!important;padding:6px!important;z-index:32!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .face{width:102px!important;height:160px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .wish{width:90px!important;height:56px!important;left:46px!important;top:-10px!important;border-radius:20px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .tap-hint{font-size:11px!important;padding:7px 9px!important;border-radius:12px!important;max-width:108px!important;text-align:center!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer small{width:84px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-serving,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready{z-index:38!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing{z-index:26!important}

  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-lion-avatar.pro{width:178px!important;height:228px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-lion{right:30px!important;bottom:54px!important;z-index:33!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-counter{width:250px!important;height:118px!important;right:18px!important;bottom:14px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-counter>span{right:18px!important;bottom:8px!important;font-size:14px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-truck{left:-24px!important;bottom:8px!important;z-index:28!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-truck-vehicle{width:250px!important;height:122px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-provider-person{left:175px!important;width:88px!important;height:124px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-delivery{left:10px!important;bottom:10px!important;max-width:290px!important;transform:none!important;z-index:42!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-delivery-auto{font-size:12px!important}

  /* Clearer in-stage positions */
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-entering{left:62px!important;top:440px!important;transform:none!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='mate']{left:120px!important;top:286px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='auris'],
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='parlante']{left:402px!important;top:282px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='juguete'],
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='figura']{left:710px!important;top:286px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:610px!important;top:392px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:510px!important;top:490px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:412px!important;top:392px!important}
}

@media (max-width:1100px) and (orientation:portrait){
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer{width:116px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer .face{width:96px!important;height:150px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-lion{right:24px!important;bottom:52px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-lion-avatar.pro{width:162px!important;height:208px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-counter{width:230px!important;height:108px!important;right:14px!important;bottom:12px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-truck{left:-30px!important;bottom:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-truck-vehicle{width:232px!important;height:114px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-provider-person{left:162px!important;width:82px!important;height:118px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-delivery{max-width:262px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-entering{left:64px!important;top:448px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='mate']{left:104px!important;top:290px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='auris'],
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='parlante']{left:390px!important;top:288px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='juguete'],
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='figura']{left:682px!important;top:290px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:582px!important;top:394px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:488px!important;top:486px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:396px!important;top:394px!important}
}

@media (max-width:1100px) and (orientation:landscape){
  .lat-shop-sim.is-mobile-shop .lat-shopgame-panel{padding-bottom:12px!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{grid-template-columns:1fr 1fr!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-lion-avatar.pro{width:170px!important;height:218px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shopgame-lion{right:26px!important;bottom:50px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='juguete'],
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-browsing[data-wanted='figura']{left:700px!important;top:282px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:598px!important;top:386px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:500px!important;top:476px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:404px!important;top:386px!important}
}


/* ===== v5.6.6 - compartir cada juego ===== */
.lat-game-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:0;border-radius:999px;background:linear-gradient(135deg,#155f45,#218d63);color:#fff;font-size:12px;font-weight:950;letter-spacing:.02em;box-shadow:0 8px 18px rgba(18,79,56,.18);cursor:pointer;white-space:nowrap;position:relative;z-index:70}
.lat-game-share-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(18,79,56,.23)}
.lat-game-title-row>.lat-game-share-btn{margin-left:auto}
.lat-memory-brand .lat-game-share-btn{margin-left:auto}
.lat-shopbar>.lat-game-share-btn{align-self:center}
.lat-share-overlay{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;background:rgba(7,27,21,.62);backdrop-filter:blur(6px)}
.lat-share-overlay[hidden]{display:none!important}
.lat-share-card{width:min(460px,94vw);border-radius:26px;background:#fff;padding:22px;box-shadow:0 26px 70px rgba(0,0,0,.28);color:#173c30}
.lat-share-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:8px}
.lat-share-card-head h3{margin:0;font-size:25px;line-height:1.1;color:#173c30}
.lat-share-close{width:38px;height:38px;border:0;border-radius:50%;background:#edf5f0;color:#173c30;font-size:22px;font-weight:900;cursor:pointer}
.lat-share-card p{margin:8px 0 16px;color:#53665c;font-size:14px;line-height:1.45}
.lat-share-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lat-share-option{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:52px;padding:11px 14px;border:1px solid #dbe9e1;border-radius:16px;background:#f9fcfa;color:#173c30;font-size:14px;font-weight:900;cursor:pointer;text-align:left}
.lat-share-option span{font-size:22px;line-height:1}
.lat-share-option:hover{background:#eef8f2;border-color:#b8ddc9}
.lat-share-option.is-whatsapp{background:#eafff1;border-color:#b8e8c8}
.lat-share-option.is-native{grid-column:1/-1;background:linear-gradient(135deg,#155f45,#218d63);color:#fff;border:0;justify-content:center}
.lat-share-feedback{min-height:20px;margin-top:10px!important;font-size:12px!important;font-weight:800;color:#1f7c57!important;text-align:center}
@media(max-width:700px){
 .lat-game-share-btn{min-height:34px;padding:7px 11px;font-size:11px}
 .lat-game-title-row{flex-wrap:wrap!important}
 .lat-game-title-row>.lat-game-share-btn{margin-left:0}
 .lat-memory-brand{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
 .lat-memory-brand .lat-game-share-btn{margin-left:0!important}
 .lat-shopbar>.lat-game-share-btn{position:absolute;right:54px;top:8px;z-index:72}
 .lat-share-card{padding:18px;border-radius:22px}
 .lat-share-card-head h3{font-size:21px}
 .lat-share-grid{grid-template-columns:1fr}
 .lat-share-option.is-native{grid-column:auto}
}

/* ======================================================
   v5.6.7 — MOBILE DEDICADO: escena completa + panel plegable
   ====================================================== */
@media (max-width:1100px){
  .lat-shop-sim.is-mobile-shop .lat-shopgame-wrap{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:0!important;align-items:stretch!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage.is-mobile-fit{order:1!important;box-sizing:border-box!important;border:4px solid #fff!important;border-radius:20px!important;background:#dcecf0!important;box-shadow:0 12px 30px rgba(18,54,42,.16)!important;overflow:hidden!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-scene-shell{box-sizing:border-box!important;overflow:visible!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-scene{
    overflow:hidden!important;border-radius:15px!important;
    background-color:#e8d3b9!important;
    background-image:linear-gradient(to bottom,transparent 0 77%,rgba(235,219,199,.96) 77% 100%),url('../images/shop-store-real-bg.png')!important;
    background-position:center top!important;background-size:100% auto!important;background-repeat:no-repeat!important;
  }
  /* The realistic background now belongs to the scaled scene. */
  .lat-shop-sim.is-mobile-shop .lat-shopgame-stage{background:#dcecf0!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-wall{height:72px!important;background:transparent!important;border:0!important;backdrop-filter:none!important;z-index:12!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-window-strip,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-lamps,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-posters,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-floor,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-plant,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-door,
  .lat-shop-sim.is-mobile-shop .lat-shopgame-rug{display:none!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-sign{top:15px!important;font-size:15px!important;padding:8px 18px!important;z-index:15!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-clock{right:14px!important;top:14px!important;font-size:12px!important;padding:8px 10px!important;z-index:15!important}

  /* Compact instructions are inside the scaled scene. */
  .lat-shop-sim.is-mobile-shop .lat-shop-action{left:16px!important;top:78px!important;right:auto!important;max-width:230px!important;padding:10px 12px!important;border-radius:15px!important;z-index:52!important;box-shadow:0 10px 22px rgba(20,60,45,.18)!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action b{font-size:13px!important;line-height:1.15!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action span{font-size:10px!important;line-height:1.25!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide{left:auto!important;right:18px!important;top:78px!important;transform:none!important;min-width:0!important;width:250px!important;max-width:250px!important;padding:9px 11px!important;border-radius:15px!important;z-index:54!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide b{font-size:14px!important;line-height:1.1!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide span{font-size:10px!important;line-height:1.25!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide:after{display:none!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-toast{left:50%!important;right:auto!important;bottom:12px!important;transform:translateX(-50%)!important;max-width:340px!important;padding:9px 14px!important;font-size:11px!important;line-height:1.25!important;border-radius:16px!important;z-index:56!important;white-space:normal!important;text-align:center!important}

  /* Keep all interactive actors inside the mobile scene. */
  .lat-shop-sim.is-mobile-shop .lat-shopgame-shelf{display:block!important;pointer-events:none!important;z-index:18!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-shelf small{display:grid!important;width:42px!important;height:42px!important;font-size:14px!important;top:120px!important;right:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-shelf.shelf-a{left:6%!important;top:118px!important;width:27%!important;height:330px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-shelf.shelf-b{left:36.5%!important;top:118px!important;width:27%!important;height:330px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-shelf.shelf-c{left:67%!important;top:118px!important;width:27%!important;height:330px!important}

  .lat-shop-sim.is-mobile-shop .lat-shopgame-counter{right:18px!important;bottom:16px!important;width:245px!important;height:112px!important;z-index:30!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-lion{right:70px!important;bottom:105px!important;z-index:34!important}
  .lat-shop-sim.is-mobile-shop .lat-lion-avatar.pro{width:184px!important;height:236px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-truck{left:-22px!important;bottom:12px!important;z-index:30!important}
  .lat-shop-sim.is-mobile-shop .lat-truck-vehicle{width:270px!important;height:132px!important}
  .lat-shop-sim.is-mobile-shop .lat-provider-person{left:195px!important;bottom:0!important;width:96px!important;height:136px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-delivery{left:14px!important;bottom:14px!important;max-width:330px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;z-index:42!important;transform:none!important}
  .lat-shop-sim.is-mobile-shop .lat-delivery-crate{height:72px!important;padding:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-delivery-crate b{font-size:14px!important}.lat-shop-sim.is-mobile-shop .lat-delivery-crate small{font-size:10px!important}
  .lat-shop-sim.is-mobile-shop .lat-delivery-auto{min-height:54px!important;padding:8px!important}.lat-shop-sim.is-mobile-shop .lat-delivery-auto b{font-size:14px!important}.lat-shop-sim.is-mobile-shop .lat-delivery-auto small{font-size:10px!important}

  .lat-shop-sim.is-mobile-shop .lat-shop-customer{width:126px!important;padding:5px!important;z-index:35!important;touch-action:manipulation!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer .face{width:104px!important;height:164px!important;filter:drop-shadow(0 10px 10px rgba(20,45,34,.18))!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer .wish{left:47px!important;top:-7px!important;width:88px!important;height:54px!important;border-radius:18px!important;background:rgba(255,255,255,.97)!important;border:2px solid #fff!important;box-shadow:0 8px 18px rgba(24,55,43,.16)!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer .wish b{font-size:22px!important}.lat-shop-sim.is-mobile-shop .lat-shop-customer .wish em{font-size:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer .tap-hint{font-size:10px!important;padding:6px 8px!important;border-radius:11px!important;background:#fff!important;box-shadow:0 6px 12px rgba(24,55,43,.12)!important;white-space:nowrap!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer small{width:80px!important;height:10px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-entering{left:54px!important;top:430px!important;transform:none!important;opacity:.78!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='mate']{left:150px!important;top:286px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='auris'],
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='parlante']{left:438px!important;top:286px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='juguete'],
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='figura']{left:720px!important;top:286px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:610px!important;top:390px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:500px!important;top:485px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:390px!important;top:390px!important}

  /* Dedicated mobile action strip and collapsible admin panel. */
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{order:2!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;position:sticky!important;bottom:5px!important;z-index:80!important;padding:8px!important;border-radius:16px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 12px 30px rgba(18,54,42,.20)!important;backdrop-filter:blur(8px)!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions[hidden]{display:none!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button{min-height:45px!important;border:0!important;border-radius:13px!important;padding:8px 10px!important;font-size:13px!important;line-height:1.15!important;font-weight:950!important;color:#fff!important;background:linear-gradient(135deg,#ff3e70,#ff7939)!important;box-shadow:0 7px 14px rgba(194,73,65,.18)!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button[data-mobile-open]{background:linear-gradient(135deg,#ffc32b,#ff7835)!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button.is-panel{background:linear-gradient(135deg,#17694c,#22966a)!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button[hidden]{display:none!important}
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions button:disabled{opacity:.45!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-panel{order:3!important;display:none!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;padding:11px!important;border-radius:18px!important;gap:8px!important;box-sizing:border-box!important}
  .lat-shop-sim.is-mobile-shop.is-panel-open .lat-shopgame-panel{display:flex!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-phase{position:sticky!important;top:4px!important;z-index:10!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-orders{gap:6px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-order-row{padding:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-prices{grid-template-columns:1fr!important;gap:6px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-prices label{grid-template-columns:1fr 100px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopbar{grid-template-columns:1fr!important;gap:7px!important;margin-bottom:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopbar h3{font-size:clamp(25px,6vw,38px)!important;line-height:1!important;margin-top:5px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopbar-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:6px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopbar-stats>div{min-width:0!important;padding:7px!important;border-radius:12px!important}
  .lat-shop-sim.is-mobile-shop .lat-icon-btn[data-shop-help]{position:absolute!important;right:6px!important;top:6px!important;z-index:6!important}
  .lat-shop-sim.is-mobile-shop .lat-shopbar>.lat-game-share-btn{right:52px!important;top:8px!important}
}

/* Portrait: taller virtual floor, but entire store background remains visible. */
@media (max-width:1100px) and (orientation:portrait){
  .lat-shop-sim.is-mobile-shop .lat-mobile-shop-actions{grid-template-columns:1fr!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-scene{background-image:linear-gradient(to bottom,transparent 0 76%,rgba(235,219,199,.98) 76% 100%),url('../images/shop-store-real-bg.png')!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action{top:76px!important;max-width:215px!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide{top:76px!important;width:235px!important;max-width:235px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-counter{right:16px!important;bottom:16px!important;width:235px!important;height:108px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-lion{right:66px!important;bottom:106px!important}
  .lat-shop-sim.is-mobile-shop .lat-lion-avatar.pro{width:176px!important;height:226px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-entering{left:54px!important;top:515px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:612px!important;top:426px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:500px!important;top:530px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:388px!important;top:426px!important}
}

/* Landscape: shorter virtual scene, actors are kept above the fold. */
@media (max-width:1100px) and (orientation:landscape){
  .lat-shop-sim.is-mobile-shop .lat-shopgame-scene{background-image:linear-gradient(to bottom,transparent 0 86%,rgba(235,219,199,.97) 86% 100%),url('../images/shop-store-real-bg.png')!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-action{top:72px!important;left:14px!important;max-width:210px!important}
  .lat-shop-sim.is-mobile-shop .lat-product-guide{top:72px!important;right:14px!important;width:230px!important;max-width:230px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-counter{right:14px!important;bottom:12px!important;width:220px!important;height:100px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-lion{right:52px!important;bottom:88px!important}
  .lat-shop-sim.is-mobile-shop .lat-lion-avatar.pro{width:158px!important;height:202px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-truck{left:-18px!important;bottom:8px!important}
  .lat-shop-sim.is-mobile-shop .lat-truck-vehicle{width:235px!important;height:114px!important}
  .lat-shop-sim.is-mobile-shop .lat-provider-person{left:170px!important;width:82px!important;height:116px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer{width:112px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer .face{width:92px!important;height:145px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-entering{left:52px!important;top:352px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='mate']{left:145px!important;top:236px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='auris'],
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='parlante']{left:430px!important;top:236px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='juguete'],
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-browsing[data-wanted='figura']{left:710px!important;top:236px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 1']{left:606px!important;top:302px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 2']{left:500px!important;top:372px!important}
  .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-queue-ready[style*='--lane: 3']{left:394px!important;top:302px!important}
  .lat-shop-sim.is-mobile-shop .lat-shopgame-toast{bottom:7px!important}
}


/* ======================================================
   v5.6.8 — recorrido completo de atención y cobro
   ====================================================== */
.lat-shop-customer{transition:left .68s ease,top .68s ease,transform .45s ease,opacity .45s ease!important}
.lat-shop-customer.is-serving{filter:drop-shadow(0 0 12px rgba(255,202,66,.35))!important}
.lat-shop-customer.is-to-cash{z-index:42!important;transform:scale(1.04)!important}
.lat-shop-customer.is-paying{z-index:44!important;transform:scale(1.08)!important;filter:drop-shadow(0 0 16px rgba(42,191,125,.45))!important}
.lat-shop-customer.is-exiting{z-index:40!important;opacity:.96!important;transform:scale(.94)!important}
.lat-shop-customer.has-product .wish{background:linear-gradient(180deg,#f7fff9,#dbf7e7)!important;border-color:#43c981!important;box-shadow:0 0 0 5px rgba(67,201,129,.13),0 8px 18px rgba(24,55,43,.16)!important}
.lat-shop-customer.has-product .wish em{color:#177a50!important;font-weight:1000!important}
.lat-shopgame-counter.is-checkout-active{animation:latCheckoutPulse .55s ease-in-out infinite alternate!important;box-shadow:0 0 0 7px rgba(44,205,137,.14),0 16px 34px rgba(30,84,60,.24)!important}
.lat-shopgame-counter.is-checkout-active:before{content:'PAGANDO';position:absolute;left:50%;top:-38px;transform:translateX(-50%);padding:7px 12px;border-radius:999px;background:#1d8a5c;color:#fff;font-size:11px;font-weight:1000;letter-spacing:.08em;box-shadow:0 8px 16px rgba(25,85,60,.18);z-index:10}
.lat-shopgame-lion[data-state='cashing'] .lat-lion-avatar.pro{filter:drop-shadow(0 0 18px rgba(255,196,47,.28))!important}
@keyframes latCheckoutPulse{from{filter:brightness(1)}to{filter:brightness(1.08)}}

@media(max-width:1100px){
 .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-to-cash,
 .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-paying,
 .lat-shop-sim.is-mobile-shop .lat-shop-customer.is-exiting{z-index:60!important}
 .lat-shop-sim.is-mobile-shop .lat-shopgame-counter.is-checkout-active:before{top:-34px!important;font-size:10px!important;padding:6px 10px!important}
 .lat-shop-sim.is-mobile-shop .lat-shop-customer.has-product .tap-hint{background:#e9fff1!important;color:#176c4a!important}
}


/* ===== v5.6.9 - lectura rápida, prioridad de clientes y HUD ===== */
.lat-shop-live-hud{position:absolute;right:14px;top:14px;z-index:58;display:flex;align-items:center;gap:6px;padding:7px 8px;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 10px 22px rgba(20,52,40,.16);backdrop-filter:blur(7px);pointer-events:none}
.lat-shop-live-hud[hidden]{display:none!important}
.lat-shop-live-hud span{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:7px 9px;border-radius:11px;background:#eef7f2;color:#173c30;font-size:11px;font-weight:950;line-height:1;white-space:nowrap}
.lat-shop-live-hud.has-urgent{box-shadow:0 0 0 3px rgba(239,74,78,.18),0 12px 26px rgba(28,52,43,.18)}
.lat-shop-live-hud.has-urgent [data-hud-waiting]{background:#fff0f0;color:#b9282e;animation:latHudUrgent .75s ease-in-out infinite alternate}
@keyframes latHudUrgent{from{transform:scale(1)}to{transform:scale(1.06)}}
.lat-shop-customer.is-urgent .wish{box-shadow:0 0 0 4px rgba(240,68,73,.20),0 10px 22px rgba(24,55,43,.18)!important;animation:latCustomerUrgent .62s ease-in-out infinite alternate!important}
.lat-shop-customer.is-urgent .tap-hint{background:#e23c43!important;color:#fff!important;box-shadow:0 8px 18px rgba(177,42,48,.25)!important}
.lat-shop-customer.is-next{animation:latCustomerNext .35s ease-in-out 2 alternate!important;z-index:45!important}
@keyframes latCustomerUrgent{from{transform:translateY(0) scale(1)}to{transform:translateY(-4px) scale(1.04)}}
@keyframes latCustomerNext{from{transform:scale(1)}to{transform:scale(1.10)}}
.lat-shop-customer.is-queue-ready:not(.is-serving):not(.is-to-cash):not(.is-paying){filter:drop-shadow(0 8px 12px rgba(14,79,52,.18))}
.lat-shop-customer.is-queue-ready:not(.is-serving):not(.is-to-cash):not(.is-paying) .tap-hint{font-weight:1000!important}
@media(max-width:1100px){
 .lat-shop-sim.is-mobile-shop .lat-shop-live-hud{right:8px!important;top:8px!important;gap:4px!important;padding:5px!important;border-radius:13px!important}
 .lat-shop-sim.is-mobile-shop .lat-shop-live-hud span{min-width:48px!important;padding:6px 7px!important;border-radius:9px!important;font-size:9px!important}
}
@media(max-width:430px){
 .lat-shop-sim.is-mobile-shop .lat-shop-live-hud{top:auto!important;bottom:8px!important;right:8px!important}
 .lat-shop-sim.is-mobile-shop .lat-shop-live-hud span{min-width:45px!important;padding:6px!important;font-size:9px!important}
}


/* ===== v5.7.0 cierre general: resultados + links compartibles ===== */
.lat-result-best{margin:12px auto 0;display:flex;align-items:center;justify-content:center;min-height:38px;width:min(100%,340px);padding:8px 14px;border-radius:999px;background:#eef7f1;border:1px solid #d4e8dc;color:#1d5d45;font-size:12px;font-weight:950;text-align:center}
.lat-result-best.is-record{background:linear-gradient(135deg,#fff3ba,#ffe3a0);border-color:#f0c85c;color:#694b00;animation:latRecordPop .5s ease both;box-shadow:0 8px 20px rgba(199,151,30,.18)}
@keyframes latRecordPop{0%{transform:scale(.88);opacity:.3}70%{transform:scale(1.05)}100%{transform:scale(1);opacity:1}}
.lat-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:min(100%,430px);margin:10px auto 0}
.lat-result-actions button{min-height:44px;padding:9px 12px;border-radius:14px;font-size:12px;font-weight:950;cursor:pointer}
.lat-result-share{border:0;background:linear-gradient(135deg,#176a4c,#22946a);color:#fff;box-shadow:0 8px 16px rgba(24,104,75,.18)}
.lat-result-back{border:1px solid #d7e5dc;background:#fff;color:#244f40}
.lat-result-actions button:hover{transform:translateY(-1px)}
.lat-shared-game-invite{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:0 0 18px;padding:15px 17px;border-radius:22px;background:linear-gradient(135deg,#143f31,#1c7553);color:#fff;box-shadow:0 16px 34px rgba(16,70,50,.22);position:relative;overflow:hidden}
.lat-shared-game-invite:after{content:"";position:absolute;right:-35px;top:-55px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}
.lat-shared-game-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.13);font-size:27px}
.lat-shared-game-invite small,.lat-shared-game-invite strong,.lat-shared-game-invite span{display:block}
.lat-shared-game-invite small{font-size:9px;font-weight:950;letter-spacing:.12em;opacity:.78}
.lat-shared-game-invite strong{font-size:20px;line-height:1.1;margin:2px 0 3px}
.lat-shared-game-invite span{font-size:12px;line-height:1.3;opacity:.88}
.lat-shared-game-invite button{position:relative;z-index:1;min-height:44px;padding:9px 18px;border:0;border-radius:14px;background:linear-gradient(135deg,#ffd43b,#ff8b38);color:#553100;font-size:13px;font-weight:1000;box-shadow:0 8px 18px rgba(0,0,0,.14);cursor:pointer}
@media(max-width:700px){
 .lat-result-actions{grid-template-columns:1fr!important;gap:7px!important}
 .lat-result-actions button{min-height:42px!important}
 .lat-result-best{font-size:11px!important;min-height:34px!important;margin-top:9px!important}
 .lat-shared-game-invite{grid-template-columns:auto 1fr!important;gap:10px!important;padding:13px!important;border-radius:18px!important}
 .lat-shared-game-icon{width:44px!important;height:44px!important;border-radius:14px!important;font-size:22px!important}
 .lat-shared-game-invite strong{font-size:16px!important}
 .lat-shared-game-invite span{font-size:11px!important}
 .lat-shared-game-invite button{grid-column:1/-1!important;width:100%!important;min-height:42px!important}
}


/* ===== v5.7.1 ajustes móviles vertical/horizontal para todos los juegos ===== */
@media (pointer:coarse) and (max-width:1100px){
  .lat-world.lat-game-mode .lat-game-screen,
  .lat-world:fullscreen .lat-game-screen,
  .lat-world:-webkit-full-screen .lat-game-screen{padding:6px!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .lat-world.lat-game-mode .lat-game-screen>[data-game]:not([hidden]),
  .lat-world:fullscreen .lat-game-screen>[data-game]:not([hidden]),
  .lat-world:-webkit-full-screen .lat-game-screen>[data-game]:not([hidden]){display:flex!important;flex-direction:column!important;gap:6px!important;min-height:calc(var(--lat-app-height,100dvh) - 58px)!important;padding-bottom:12px!important;overflow:visible!important}
  .lat-game-title-row{margin:0 0 4px!important;align-items:center!important;gap:8px!important}
  .lat-game-title-row h3{font-size:clamp(22px,5.6vw,30px)!important;line-height:1.05!important}
  .lat-game-title-row .lat-game-share-btn{margin-left:auto!important;flex:0 0 auto!important}
  .lat-game-tag{font-size:9px!important;padding:4px 8px!important}
  .lat-hud,.lat-race-hud,.lat-memory-hud,.lat-packages-hud,.lat-dino-hud,.lat-constructor-hud,.lat-football-hud,.lat-chess-hud,.lat-shopbar-stats{gap:6px!important}
  .lat-hud>div,.lat-race-hud>div,.lat-memory-hud>div,.lat-packages-hud>div,.lat-dino-hud>div,.lat-constructor-hud>div,.lat-football-hud>div,.lat-shopbar-stats>div,.lat-chess-hud>div{padding:7px 6px!important;border-radius:14px!important;min-width:0!important}
  .lat-hud strong,.lat-race-hud strong,.lat-memory-hud strong,.lat-packages-hud strong,.lat-dino-hud strong,.lat-constructor-hud strong,.lat-football-hud strong,.lat-chess-hud strong,.lat-shopbar-stats strong{font-size:clamp(16px,4.1vw,20px)!important}
  .lat-memory-shell,.lat-packages-layout,.lat-dino-layout,.lat-constructor-layout,.lat-chess-layout{grid-template-columns:1fr!important;gap:8px!important}
  .lat-mobile-panel-toggle{display:flex!important;align-items:center;justify-content:center;gap:8px;border:0;border-radius:16px;background:#10284c;color:#fff;padding:12px 14px;font-weight:900;box-shadow:0 6px 14px rgba(17,42,86,.14);margin:4px 0 0!important;cursor:pointer}
  .lat-mobile-panel-toggle span{pointer-events:none}
  .lat-memory-game:not(.lat-mobile-panel-open) .lat-memory-sidebar,
  .lat-packages-game:not(.lat-mobile-panel-open) .lat-packages-sidebar,
  .lat-dino-game:not(.lat-mobile-panel-open) .lat-dino-sidebar,
  .lat-constructor-game:not(.lat-mobile-panel-open) .lat-constructor-sidebar,
  .lat-chess-game:not(.lat-mobile-panel-open) .lat-chess-sidebar,
  .lat-economy-game:not(.lat-mobile-panel-open) .lat-shopgame-panel{display:none!important}
  .lat-memory-game.lat-mobile-panel-open .lat-memory-sidebar,
  .lat-packages-game.lat-mobile-panel-open .lat-packages-sidebar,
  .lat-dino-game.lat-mobile-panel-open .lat-dino-sidebar,
  .lat-constructor-game.lat-mobile-panel-open .lat-constructor-sidebar,
  .lat-chess-game.lat-mobile-panel-open .lat-chess-sidebar,
  .lat-economy-game.lat-mobile-panel-open .lat-shopgame-panel{display:grid!important}
  .lat-memory-game .lat-memory-sidebar{display:grid;grid-template-columns:1fr;gap:10px}
  .lat-packages-game .lat-packages-sidebar,.lat-dino-game .lat-dino-sidebar,.lat-constructor-game .lat-constructor-sidebar,.lat-chess-game .lat-chess-sidebar{display:flex;flex-direction:column;gap:10px}

  .lat-stage-wrap,.lat-race-stage,.lat-dino-stage,.lat-constructor-stage,.lat-football-stage,.lat-chess-board-shell{width:100%!important;max-width:100%!important;align-self:center!important;margin:0 auto!important;border-radius:18px!important;overflow:hidden!important}
  .lat-stage,.lat-race-canvas,.lat-dino-canvas,.lat-constructor-canvas,.lat-football-canvas{display:block!important;width:100%!important;height:auto!important;max-width:100%!important}
  .lat-packages-stage{width:min(100%,340px)!important;max-width:100%!important;align-self:center!important;margin:0 auto!important}
  .lat-packages-canvas{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/2!important}
  .lat-packages-next canvas{max-width:160px!important;width:100%!important;height:auto!important}
  .lat-chess-board-wrap,.lat-chess-board-shell,.lat-chess-board{max-width:100%!important}
  .lat-chess-board{width:min(100%,560px)!important;margin:0 auto!important;aspect-ratio:1/1!important}
  .lat-football-controls,.lat-race-controls,.lat-dino-controls,.lat-constructor-controls,.lat-packages-controls{margin-top:8px!important}
  .lat-football-controls button,.lat-race-controls button,.lat-dino-controls button,.lat-constructor-controls button,.lat-packages-controls button{min-height:46px!important;font-size:22px!important;padding:8px 8px!important}

  .lat-memory-board{grid-template-columns:repeat(var(--memory-cols,4),minmax(0,1fr))!important;gap:clamp(6px,1.6vw,10px)!important;padding:clamp(8px,2vw,12px)!important}
  .lat-memory-card-item{min-height:56px!important}
  .lat-memory-footer-strip{padding:7px 4px 2px!important;font-size:10px!important}

  .lat-river-game .lat-mobile-orientation-hint,
  .lat-race-game .lat-overlay.lat-race-orientation{display:none!important}
}

@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  .lat-world[data-lat-layout="phone-portrait"] .lat-hud{grid-template-columns:repeat(3,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"] .lat-race-hud,
  .lat-world[data-lat-layout="phone-portrait"] .lat-packages-hud,
  .lat-world[data-lat-layout="phone-portrait"] .lat-dino-hud,
  .lat-world[data-lat-layout="phone-portrait"] .lat-constructor-hud,
  .lat-world[data-lat-layout="phone-portrait"] .lat-football-hud{grid-template-columns:repeat(2,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-river .lat-stage-wrap,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-race .lat-race-stage,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-stage,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-football .lat-football-stage{max-height:min(46dvh,390px)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-memory .lat-memory-board{max-width:100%!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-packages .lat-packages-stage{width:min(78vw,320px)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-chess .lat-chess-board{width:min(100%,92vw)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-football .lat-football-controls{grid-template-columns:repeat(2,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-race .lat-race-controls{grid-template-columns:repeat(2,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-packages .lat-packages-controls{grid-template-columns:repeat(3,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-controls,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-controls{grid-template-columns:repeat(3,1fr)!important}
  .lat-world[data-lat-layout="phone-portrait"] .lat-shopbar{grid-template-columns:1fr!important;gap:8px!important}
}

@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
  .lat-game-fullscreen-bar{padding:4px 6px!important;margin-bottom:4px!important;min-height:38px!important}
  .lat-game-fullscreen-bar .lat-fullscreen-orientation strong{font-size:11px!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-game-title-row{margin-bottom:2px!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-game-title-row h3{font-size:clamp(18px,3.4vw,24px)!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-race-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-memory-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-packages-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-dino-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-constructor-hud,
  .lat-world[data-lat-layout="phone-landscape"] .lat-football-hud{margin-bottom:4px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-river .lat-stage-wrap,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-stage,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-stage,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-stage{max-height:min(54dvh,370px)!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-layout{grid-template-columns:minmax(0,1fr) 220px!important;align-items:start!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-mobile-panel-toggle{grid-column:1/-1!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-stage{width:min(44vw,300px)!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-chess .lat-chess-board{width:min(56vh,440px)!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-football-controls{grid-template-columns:repeat(4,1fr)!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-race-controls{grid-template-columns:repeat(2,1fr)!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-packages-controls{grid-template-columns:repeat(5,1fr)!important}
  .lat-world[data-lat-layout="phone-landscape"] .lat-shopbar{grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important;align-items:start!important}
}


/* ===== v5.7.3 ajustes finos por juego para móvil vertical y horizontal ===== */
@media (pointer:coarse) and (max-width:1100px){
  /* CARRERA DE OFERTAS */
  .lat-world.lat-active-race .lat-race-game{padding:4px!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:visible!important}
  .lat-world.lat-active-race .lat-game-title-row{display:flex!important;margin:0 0 4px!important}
  .lat-world.lat-active-race .lat-race-hud{display:grid!important;position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 0 4px!important;opacity:1!important}
  .lat-world.lat-active-race .lat-race-stage{position:relative!important;display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;aspect-ratio:16/9!important;min-height:230px!important;max-height:none!important;height:auto!important;overflow:hidden!important}
  .lat-world.lat-active-race .lat-race-canvas{display:block!important;width:100%!important;height:100%!important}
  .lat-world.lat-active-race .lat-race-controls{position:relative!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:8px 0 calc(10px + env(safe-area-inset-bottom))!important;margin-top:6px!important;background:transparent!important}
  .lat-world.lat-active-race .lat-race-controls button{width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;border-radius:16px!important;font-size:23px!important}
  .lat-world.lat-active-race .lat-race-start,
  .lat-world.lat-active-race .lat-race-end,
  .lat-world.lat-active-race .lat-race-orientation{padding:6px!important;align-content:center!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .lat-world.lat-active-race .lat-race-start .lat-modal,
  .lat-world.lat-active-race .lat-race-end .lat-modal,
  .lat-world.lat-active-race .lat-race-orientation .lat-modal{width:calc(100% - 6px)!important;max-width:420px!important;max-height:calc(100% - 6px)!important;overflow:auto!important;padding:12px!important;border-radius:18px!important}
  .lat-world.lat-active-race .lat-race-start .lat-mascot{display:none!important}
  .lat-world.lat-active-race .lat-race-start h3{font-size:clamp(21px,6vw,30px)!important;line-height:1.05!important;margin:0 0 6px!important}
  .lat-world.lat-active-race .lat-race-start p{font-size:13px!important;line-height:1.2!important;margin:0 0 8px!important}
  .lat-world.lat-active-race .lat-race-start .lat-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:6px 0 8px!important}
  .lat-world.lat-active-race .lat-race-start .lat-help-grid span{font-size:11px!important;padding:6px!important;line-height:1.1!important}
  .lat-world.lat-active-race .lat-race-start [data-race-start],
  .lat-world.lat-active-race .lat-race-end [data-race-restart]{width:min(100%,280px)!important;min-height:42px!important;padding:10px 14px!important;font-size:15px!important}

  /* PAQUETES */
  .lat-world.lat-active-packages .lat-packages-game{padding:6px!important}
  .lat-world.lat-active-packages .lat-packages-layout{display:flex!important;flex-direction:column!important;gap:8px!important;max-width:100%!important}
  .lat-world.lat-active-packages .lat-packages-main{display:flex!important;flex-direction:column!important;align-items:center!important}
  .lat-world.lat-active-packages .lat-packages-hud{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:6px!important;width:100%!important}
  .lat-world.lat-active-packages .lat-packages-stage{width:auto!important;max-width:100%!important;align-self:center!important;margin:0 auto!important}
  .lat-world.lat-active-packages .lat-packages-controls{width:100%!important;max-width:420px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;margin-top:8px!important}
  .lat-world.lat-active-packages .lat-packages-controls button{min-height:44px!important;height:44px!important;font-size:18px!important;padding:4px!important}

  /* DINO */
  .lat-world.lat-active-dino .lat-dino-game{padding:6px!important}
  .lat-world.lat-active-dino .lat-dino-layout{display:flex!important;flex-direction:column!important;gap:8px!important}
  .lat-world.lat-active-dino .lat-dino-hud{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:6px!important}
  .lat-world.lat-active-dino .lat-dino-stage{position:relative!important;width:100%!important;max-width:100%!important;align-self:center!important;overflow:hidden!important;border-width:4px!important;border-radius:18px!important}
  .lat-world.lat-active-dino .lat-dino-canvas{display:block!important;width:100%!important;height:100%!important}
  .lat-world.lat-active-dino .lat-dino-controls{width:100%!important;max-width:420px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
  .lat-world.lat-active-dino .lat-dino-controls button{min-height:46px!important;height:46px!important;font-size:22px!important}
  .lat-world.lat-active-dino .lat-dino-start,
  .lat-world.lat-active-dino .lat-dino-level-up,
  .lat-world.lat-active-dino .lat-dino-end{padding:6px!important;align-content:center!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .lat-world.lat-active-dino .lat-dino-start .lat-modal,
  .lat-world.lat-active-dino .lat-dino-level-up .lat-modal,
  .lat-world.lat-active-dino .lat-dino-end .lat-modal{width:calc(100% - 8px)!important;max-width:390px!important;max-height:calc(100% - 8px)!important;overflow:auto!important;padding:12px!important;border-radius:18px!important}
  .lat-world.lat-active-dino .lat-dino-start .lat-dino-mascot-image img,
  .lat-world.lat-active-dino .lat-dino-end .lat-dino-mascot-image img{width:68px!important;margin-bottom:6px!important}
  .lat-world.lat-active-dino .lat-dino-start h3,
  .lat-world.lat-active-dino .lat-dino-end h3{font-size:clamp(21px,6vw,30px)!important;line-height:1.05!important;margin:0 0 6px!important}
  .lat-world.lat-active-dino .lat-dino-start p,
  .lat-world.lat-active-dino .lat-dino-end p{font-size:13px!important;line-height:1.2!important;margin:0 0 8px!important}
  .lat-world.lat-active-dino .lat-dino-start [data-dino-start],
  .lat-world.lat-active-dino .lat-dino-level-up [data-dino-next],
  .lat-world.lat-active-dino .lat-dino-end [data-dino-restart]{width:min(100%,280px)!important;min-height:42px!important;padding:10px 14px!important;font-size:15px!important}

  /* CONSTRUCTOR */
  .lat-world.lat-active-constructor .lat-constructor-game{padding:6px!important}
  .lat-world.lat-active-constructor .lat-constructor-layout{display:flex!important;flex-direction:column!important;gap:8px!important}
  .lat-world.lat-active-constructor .lat-constructor-hud{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:6px!important}
  .lat-world.lat-active-constructor .lat-constructor-stage{position:relative!important;width:100%!important;max-width:100%!important;align-self:center!important;overflow:hidden!important;border-width:4px!important;border-radius:18px!important}
  .lat-world.lat-active-constructor .lat-constructor-canvas{display:block!important;width:100%!important;height:100%!important}
  .lat-world.lat-active-constructor .lat-constructor-controls{width:100%!important;max-width:420px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
  .lat-world.lat-active-constructor .lat-constructor-controls button{min-height:46px!important;height:46px!important;font-size:22px!important}
  .lat-world.lat-active-constructor .lat-constructor-start,
  .lat-world.lat-active-constructor .lat-constructor-end{padding:6px!important;align-content:center!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .lat-world.lat-active-constructor .lat-constructor-start .lat-modal,
  .lat-world.lat-active-constructor .lat-constructor-end .lat-modal{width:calc(100% - 8px)!important;max-width:390px!important;max-height:calc(100% - 8px)!important;overflow:auto!important;padding:12px!important;border-radius:18px!important}
  .lat-world.lat-active-constructor .lat-constructor-start .lat-dino-mascot-image img{width:68px!important;margin-bottom:6px!important}
  .lat-world.lat-active-constructor .lat-constructor-start h3,
  .lat-world.lat-active-constructor .lat-constructor-end h3{font-size:clamp(21px,6vw,30px)!important;line-height:1.05!important;margin:0 0 6px!important}
  .lat-world.lat-active-constructor .lat-constructor-start p,
  .lat-world.lat-active-constructor .lat-constructor-end p{font-size:13px!important;line-height:1.2!important;margin:0 0 8px!important}
  .lat-world.lat-active-constructor .lat-constructor-start [data-constructor-start],
  .lat-world.lat-active-constructor .lat-constructor-end [data-constructor-restart]{width:min(100%,280px)!important;min-height:42px!important;padding:10px 14px!important;font-size:15px!important}

  /* FUTBOL */
  .lat-world.lat-active-football .lat-football-stage{aspect-ratio:16/9!important;max-width:100%!important;align-self:center!important;overflow:hidden!important}
  .lat-world.lat-active-football .lat-football-canvas{width:100%!important;height:100%!important;object-fit:contain!important}
}

@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  .lat-world[data-lat-layout="phone-portrait"].lat-active-race .lat-race-stage{aspect-ratio:4/5!important;min-height:290px!important;max-height:min(54dvh,430px)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-packages .lat-packages-stage{height:min(56dvh,520px)!important;aspect-ratio:1/2!important;max-width:260px!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-stage{aspect-ratio:4/5!important;min-height:290px!important;max-height:min(54dvh,430px)!important}
  .lat-world[data-lat-layout="phone-portrait"].lat-active-football .lat-football-stage{aspect-ratio:1/1.02!important;max-height:min(50dvh,420px)!important}
}

@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-game-title-row,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-game-title-row,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-game-title-row{display:none!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-hud,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-hud,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-hud{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin-bottom:4px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-hud>div,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-hud>div,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-hud>div{padding:4px 5px!important;font-size:10px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-stage{aspect-ratio:16/7.6!important;min-height:190px!important;max-height:min(52dvh,300px)!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-start .lat-help-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-race .lat-race-start .lat-modal{max-width:560px!important;padding:10px 12px!important}

  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:8px!important;align-items:start!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-mobile-panel-toggle{grid-column:1/-1!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-main{align-items:stretch!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-hud{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-hud div{padding:5px 4px!important;font-size:10px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-hud strong{font-size:16px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-stage{height:min(46dvh,310px)!important;aspect-ratio:1/2!important;max-width:155px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-controls{max-width:none!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-packages .lat-packages-controls button{min-height:40px!important;height:40px!important;font-size:17px!important}

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-stage{aspect-ratio:16/7.8!important;min-height:190px!important;max-height:min(52dvh,300px)!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start .lat-modal,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-end .lat-modal,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start .lat-modal,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-end .lat-modal{max-width:520px!important;padding:10px 12px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start p,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start p{font-size:12px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-controls button,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-controls button{min-height:42px!important;height:42px!important;font-size:20px!important}

  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-game{padding:4px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-game-title-row{display:none!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-hud{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin-bottom:4px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-hud>div{padding:5px 5px!important;font-size:10px!important;border-radius:12px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-stage{width:min(100%,calc((var(--lat-app-height,100vh) - 120px) * 1.7778))!important;max-height:min(48dvh,270px)!important;aspect-ratio:16/9!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:6px!important}
  .lat-world[data-lat-layout="phone-landscape"].lat-active-football .lat-football-controls button{min-height:40px!important;height:40px!important;font-size:20px!important;padding:4px!important}
}


/* ===== v5.7.4 RESCATE + CONSTRUCTOR: inicio siempre visible en móvil ===== */
@media (pointer:coarse) and (max-width:1100px){
  .lat-world.lat-active-dino .lat-dino-stage,
  .lat-world.lat-active-constructor .lat-constructor-stage{
    isolation:isolate!important;
  }

  .lat-world.lat-active-dino .lat-dino-start,
  .lat-world.lat-active-constructor .lat-constructor-start{
    display:grid!important;
    place-items:stretch!important;
    padding:7px!important;
    overflow:hidden!important;
    z-index:50!important;
  }

  .lat-world.lat-active-dino .lat-dino-start[hidden],
  .lat-world.lat-active-constructor .lat-constructor-start[hidden]{
    display:none!important;
  }

  .lat-world.lat-active-dino .lat-dino-start .lat-modal,
  .lat-world.lat-active-constructor .lat-constructor-start .lat-modal{
    position:relative!important;
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1fr) auto!important;
    align-content:stretch!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:8px 10px!important;
    border-width:2px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    animation:none!important;
    box-sizing:border-box!important;
  }

  .lat-world.lat-active-dino .lat-dino-start .lat-mascot,
  .lat-world.lat-active-constructor .lat-constructor-start .lat-mascot{
    margin:0!important;
    min-height:0!important;
    align-self:center!important;
  }

  .lat-world.lat-active-dino .lat-dino-start .lat-dino-mascot-image img,
  .lat-world.lat-active-constructor .lat-constructor-start .lat-dino-mascot-image img{
    width:58px!important;
    max-width:58px!important;
    max-height:58px!important;
    object-fit:contain!important;
    margin:0 auto 2px!important;
  }

  .lat-world.lat-active-dino .lat-dino-start h3,
  .lat-world.lat-active-constructor .lat-constructor-start h3{
    margin:1px 0 3px!important;
    font-size:clamp(18px,5vw,24px)!important;
    line-height:1.05!important;
  }

  .lat-world.lat-active-dino .lat-dino-start p,
  .lat-world.lat-active-constructor .lat-constructor-start p{
    min-height:0!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    margin:2px 0 5px!important;
    font-size:11px!important;
    line-height:1.18!important;
    padding:0 3px!important;
  }

  .lat-world.lat-active-dino .lat-dino-start [data-dino-start],
  .lat-world.lat-active-constructor .lat-constructor-start [data-constructor-start]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:290px!important;
    min-height:42px!important;
    height:42px!important;
    margin:4px auto 0!important;
    padding:8px 12px!important;
    position:relative!important;
    z-index:60!important;
    flex:0 0 auto!important;
    font-size:14px!important;
    line-height:1!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }

  .lat-world.lat-active-dino .lat-dino-controls,
  .lat-world.lat-active-constructor .lat-constructor-controls{
    position:relative!important;
    z-index:5!important;
  }
}

@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-stage{
    height:min(46dvh,360px)!important;
    min-height:300px!important;
    max-height:360px!important;
    aspect-ratio:auto!important;
  }

  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-canvas,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-canvas{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  .lat-world[data-lat-layout="phone-portrait"].lat-active-dino .lat-dino-start .lat-modal,
  .lat-world[data-lat-layout="phone-portrait"].lat-active-constructor .lat-constructor-start .lat-modal{
    padding:7px 9px!important;
  }
}

@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-stage{
    height:min(52dvh,285px)!important;
    min-height:205px!important;
    max-height:285px!important;
    aspect-ratio:auto!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-canvas,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-canvas{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start .lat-modal,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start .lat-modal{
    grid-template-columns:72px minmax(0,1fr) 190px!important;
    grid-template-rows:auto 1fr!important;
    column-gap:8px!important;
    row-gap:2px!important;
    align-items:center!important;
    padding:6px 8px!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start .lat-mascot,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start .lat-mascot{
    grid-column:1!important;
    grid-row:1/3!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start h3,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start h3{
    grid-column:2!important;
    grid-row:1!important;
    font-size:18px!important;
    text-align:left!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start p,
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start p{
    grid-column:2!important;
    grid-row:2!important;
    font-size:10px!important;
    text-align:left!important;
    margin:0!important;
  }

  .lat-world[data-lat-layout="phone-landscape"].lat-active-dino .lat-dino-start [data-dino-start],
  .lat-world[data-lat-layout="phone-landscape"].lat-active-constructor .lat-constructor-start [data-constructor-start]{
    grid-column:3!important;
    grid-row:1/3!important;
    width:100%!important;
    max-width:190px!important;
    height:44px!important;
    min-height:44px!important;
    margin:auto!important;
    font-size:13px!important;
  }
}


/* ===== v5.7.5 Damas Al Toque ===== */
.lat-checkers-card{background:linear-gradient(145deg,#fff2c7,#f3b66d 48%,#873f39);color:#3b241d}
.lat-checkers-game{position:relative;background:linear-gradient(145deg,#f7efe1,#ecd7b9 55%,#c99b68);border:5px solid #fff4d2;border-radius:30px;padding:14px;color:#3a281e;box-shadow:0 18px 38px rgba(65,39,25,.18)}
.lat-checkers-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:15px;max-width:1120px;margin:auto}
.lat-checkers-main{min-width:0}
.lat-checkers-hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:9px}
.lat-checkers-hud>div{background:rgba(255,255,255,.9);border:1px solid rgba(87,54,33,.12);border-radius:16px;padding:9px;text-align:center;font-size:12px;font-weight:900;box-shadow:0 6px 14px rgba(87,54,33,.09)}
.lat-checkers-hud strong{display:block;font-size:20px;color:#572e28}
.lat-checkers-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.lat-checkers-help-btn,.lat-checkers-new,.lat-checkers-difficulty button{border:0;border-radius:999px;padding:9px 12px;font-weight:900;cursor:pointer;touch-action:manipulation}
.lat-checkers-help-btn,.lat-checkers-new{background:#fff;color:#4b3025;box-shadow:0 4px 10px rgba(70,43,28,.1)}
.lat-checkers-difficulty{display:flex;gap:5px;background:rgba(83,48,32,.09);padding:4px;border-radius:999px}
.lat-checkers-difficulty button{background:transparent;color:#5b4034;padding:7px 10px}
.lat-checkers-difficulty button.is-active{background:#7d3d36;color:#fff;box-shadow:0 3px 8px rgba(91,42,37,.22)}
.lat-checkers-status{background:#fff7e8;border:1px solid rgba(105,66,39,.14);border-radius:14px;padding:9px 12px;margin-bottom:8px;font-size:13px;font-weight:800;text-align:center}
.lat-checkers-board-shell{position:relative;width:min(100%,680px);margin:auto;padding:12px;border-radius:24px;background:linear-gradient(145deg,#5a3325,#321d18);box-shadow:0 18px 34px rgba(55,31,23,.25)}
.lat-checkers-board{display:grid;grid-template-columns:repeat(8,1fr);width:100%;aspect-ratio:1/1;border:4px solid #2c1b16;border-radius:12px;overflow:hidden;background:#ead5ae}
.lat-checkers-square{position:relative;border:0;padding:0;margin:0;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lat-checkers-square.light{background:#f2dfba}.lat-checkers-square.dark{background:#7c4c37}
.lat-checkers-square::after{content:'';position:absolute;inset:9%;border-radius:12px;pointer-events:none}
.lat-checkers-square.is-selected::after{border:4px solid #ffe05a;background:rgba(255,224,90,.17)}
.lat-checkers-square.can-move::after{inset:34%;background:#9df0aa;box-shadow:0 0 0 3px rgba(255,255,255,.55)}
.lat-checkers-square.can-capture::after{inset:19%;border:5px solid #ffe05a;background:rgba(255,211,68,.22);animation:latCheckersPulse 1s ease-in-out infinite}
.lat-checkers-square.must-capture{box-shadow:inset 0 0 0 4px rgba(255,220,78,.55)}
.lat-checkers-piece{position:relative;z-index:2;width:72%;height:72%;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 7px 0 rgba(255,255,255,.18),inset 0 -8px 0 rgba(0,0,0,.18),0 6px 8px rgba(39,23,18,.28);border:3px solid rgba(255,255,255,.5)}
.lat-checkers-piece::after{content:'';width:68%;height:68%;border-radius:50%;border:3px solid rgba(255,255,255,.2);box-shadow:inset 0 0 0 2px rgba(0,0,0,.12)}
.lat-checkers-piece.player{background:linear-gradient(145deg,#e76051,#a82f29)}
.lat-checkers-piece.ai{background:linear-gradient(145deg,#5e8dcc,#244f86)}
.lat-checkers-piece.king::after{display:none}.lat-checkers-piece.king span{font-size:clamp(15px,3.2vw,30px);filter:drop-shadow(0 2px 1px rgba(0,0,0,.25))}
.lat-checkers-sidebar{display:flex;flex-direction:column;gap:10px}
.lat-checkers-side-card{background:rgba(255,255,255,.72);border:1px solid rgba(86,51,31,.12);border-radius:18px;padding:14px;box-shadow:0 8px 16px rgba(70,43,28,.08)}
.lat-checkers-side-card strong{display:block;font-size:17px;color:#5d312b;margin:5px 0}.lat-checkers-side-card p{font-size:13px;line-height:1.4;margin:6px 0}
.lat-checkers-legend{display:grid;grid-template-columns:38px 1fr;gap:8px;align-items:center;font-size:12px;font-weight:800}.lat-checkers-legend i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e76051,#a82f29);box-shadow:inset 0 4px 0 rgba(255,255,255,.18),0 3px 5px rgba(0,0,0,.18)}
.lat-checkers-legend i.king{font-style:normal;font-size:16px}
.lat-checkers-help-icon{font-size:54px}.lat-checkers-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:left;margin:12px 0}.lat-checkers-rules>div{background:#fff7e8;border:1px solid rgba(94,58,34,.1);border-radius:14px;padding:10px}.lat-checkers-rules b,.lat-checkers-rules span{display:block}.lat-checkers-rules span{font-size:12px;line-height:1.35;margin-top:3px}.lat-checkers-note{background:#fff3bd;border-radius:14px;padding:9px 11px;font-size:12px;font-weight:800;margin-bottom:12px}
.lat-checkers-board-shell .lat-overlay{z-index:30;border-radius:20px;padding:8px}.lat-checkers-board-shell .lat-modal{width:min(94%,620px);max-height:calc(100% - 12px);overflow:auto;padding:16px;border-radius:22px;color:#39271e}.lat-checkers-board-shell .lat-modal h3{font-size:clamp(24px,4vw,34px);margin:4px 0}.lat-checkers-board-shell .lat-modal p{font-size:14px;line-height:1.35}
@keyframes latCheckersPulse{0%,100%{transform:scale(.96);opacity:.7}50%{transform:scale(1.04);opacity:1}}

@media(max-width:900px){.lat-checkers-layout{grid-template-columns:1fr}.lat-checkers-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.lat-checkers-game{padding:7px}.lat-checkers-hud{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.lat-checkers-hud>div{padding:6px 4px;font-size:10px}.lat-checkers-hud strong{font-size:17px}.lat-checkers-toolbar{gap:5px}.lat-checkers-help-btn,.lat-checkers-new{padding:8px 10px;font-size:12px}.lat-checkers-difficulty button{padding:6px 8px;font-size:11px}.lat-checkers-status{padding:7px 8px;font-size:11px}.lat-checkers-board-shell{padding:7px;border-radius:18px}.lat-checkers-board{border-width:3px}.lat-checkers-sidebar{display:none}.lat-checkers-rules{grid-template-columns:1fr}.lat-checkers-board-shell .lat-modal{padding:12px}.lat-checkers-help-icon{font-size:42px}}

@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
 .lat-world[data-lat-layout="phone-portrait"].lat-active-checkers .lat-game-title-row{margin-bottom:4px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-checkers .lat-game-title-row h3{font-size:24px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-checkers .lat-checkers-board-shell{width:min(100%,92vw)!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-checkers .lat-checkers-piece{width:76%;height:76%}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-game{padding:4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-game-title-row{display:none!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:7px!important;align-items:start!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"hud hud" "status toolbar" "board board";gap:4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-hud{grid-area:hud;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0!important;gap:4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-hud>div{padding:4px!important;font-size:9px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-hud strong{font-size:14px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-status{grid-area:status;margin:0!important;padding:5px 8px!important;font-size:10px!important;align-self:center}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-toolbar{grid-area:toolbar;margin:0!important;justify-content:flex-end}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-toolbar .lat-checkers-new{display:none}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-difficulty button{padding:5px 7px!important;font-size:9px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-help-btn{padding:6px 8px!important;font-size:10px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-board-shell{grid-area:board;width:min(60vh,430px)!important;padding:5px!important;border-radius:15px!important;margin:0 auto!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-sidebar{display:flex!important;gap:6px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-side-card{padding:8px!important;border-radius:13px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-side-card p,.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-side-card{font-size:10px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-legend{font-size:9px!important;grid-template-columns:28px 1fr}.lat-world[data-lat-layout="phone-landscape"].lat-active-checkers .lat-checkers-legend i{width:24px;height:24px}
}

/* ===== v5.7.6 · La Aventura del León ===== */
.lat-platform-card{background:linear-gradient(145deg,#ffe684,#ff9d4d 46%,#43b7cf);color:#173253}
.lat-platform-game{position:relative;background:linear-gradient(145deg,#16375c,#237a91 55%,#60b963);border:5px solid #ffe47a;border-radius:30px;padding:14px;color:#fff;box-shadow:0 18px 38px rgba(16,47,78,.22)}
.lat-platform-game .lat-game-title-row{margin-bottom:8px}.lat-platform-game .lat-game-title-row h3{color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.14)}
.lat-platform-hud{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:9px}
.lat-platform-hud>div{background:linear-gradient(180deg,#fff,#eef8ff);color:#173253;border:2px solid rgba(255,255,255,.9);border-radius:16px;padding:8px 6px;text-align:center;font-size:11px;font-weight:900;box-shadow:0 6px 14px rgba(0,0,0,.12)}
.lat-platform-hud strong{display:block;font-size:19px;line-height:1.1;color:#173253}
.lat-platform-stage{position:relative;width:min(100%,1040px);aspect-ratio:16/9;margin:0 auto;border:5px solid #fff2a6;border-radius:24px;overflow:hidden;background:#78d9ff;box-shadow:0 16px 34px rgba(0,0,0,.22)}
.lat-platform-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none}
.lat-platform-stage .lat-overlay{z-index:25;padding:9px;background:rgba(8,35,67,.24);backdrop-filter:blur(3px);overflow:auto;-webkit-overflow-scrolling:touch}
.lat-platform-stage .lat-modal{width:min(94%,590px);max-height:calc(100% - 10px);overflow:auto;padding:16px 18px;border-width:3px;border-radius:22px;color:#173253;box-shadow:0 14px 32px rgba(0,0,0,.2)}
.lat-platform-stage .lat-modal h3{font-size:clamp(25px,4vw,38px);margin:2px 0 7px;color:#173253}.lat-platform-stage .lat-modal p{font-size:14px;line-height:1.3;margin:6px 0 10px}
.lat-platform-hero{font-size:54px;line-height:1;margin-bottom:5px}.lat-platform-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 11px}.lat-platform-start-grid span{font-size:12px;padding:8px}
.lat-platform-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:left;margin:10px 0 12px}.lat-platform-rules>div{background:#eff8ff;border:1px solid rgba(23,50,83,.1);border-radius:14px;padding:9px}.lat-platform-rules b,.lat-platform-rules span{display:block}.lat-platform-rules span{font-size:12px;line-height:1.3;margin-top:3px}
.lat-platform-controls{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px;width:min(100%,520px);margin:10px auto 0}
.lat-platform-controls button{border:0;border-radius:18px;min-height:54px;padding:8px 12px;background:linear-gradient(180deg,#fff,#eaf5ff);color:#173253;font-size:24px;font-weight:950;box-shadow:0 6px 0 rgba(0,0,0,.18);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lat-platform-controls [data-platform-jump]{font-size:16px;background:linear-gradient(180deg,#ffe96b,#ffb43f)}
.lat-platform-controls button:active{transform:translateY(3px);box-shadow:0 3px 0 rgba(0,0,0,.18)}

@media(max-width:900px){
 .lat-platform-hud{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
 .lat-platform-game{padding:7px;border-width:4px;border-radius:22px}
 .lat-platform-game .lat-game-title-row{margin-bottom:5px}.lat-platform-game .lat-game-title-row h3{font-size:25px!important}
 .lat-platform-hud{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:6px}
 .lat-platform-hud>div{padding:5px 3px;border-radius:12px;font-size:9px}.lat-platform-hud strong{font-size:15px}
 .lat-platform-controls{gap:7px;margin-top:7px}.lat-platform-controls button{min-height:48px;font-size:22px;border-radius:15px}.lat-platform-controls [data-platform-jump]{font-size:14px}
 .lat-platform-stage{border-width:4px;border-radius:18px}
 .lat-platform-stage .lat-modal{padding:12px 12px;border-radius:18px}.lat-platform-stage .lat-modal p{font-size:12px}.lat-platform-start-grid span{font-size:10px;padding:6px}.lat-platform-rules{grid-template-columns:1fr}
}

/* móvil vertical: área jugable alta y botón de inicio siempre visible */
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-game{display:flex!important;flex-direction:column!important;gap:5px!important;min-height:0!important;padding:6px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-game-title-row{display:flex!important;flex:0 0 auto!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-hud{flex:0 0 auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-stage{flex:0 0 auto!important;width:100%!important;height:min(48dvh,390px)!important;min-height:285px!important;aspect-ratio:auto!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-controls{flex:0 0 auto!important;grid-template-columns:1fr 1.25fr 1fr!important;width:100%!important;max-width:none!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start,
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-help,
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-level-up,
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-end{align-content:center!important;padding:5px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start .lat-modal{width:calc(100% - 4px)!important;max-height:calc(100% - 4px)!important;padding:10px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-hero{font-size:40px!important;margin:0 0 3px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start h3{font-size:24px!important;margin:0 0 4px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start p{font-size:11px!important;line-height:1.16!important;margin:0 0 6px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin:5px 0 7px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-start-grid span{font-size:9px!important;padding:5px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform [data-platform-start]{display:block!important;width:min(100%,280px)!important;min-height:42px!important;margin:0 auto!important;padding:9px 12px!important;font-size:15px!important}
}

/* móvil horizontal: cancha ancha, HUD compacto y controles visibles */
@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-game{display:flex!important;flex-direction:column!important;gap:4px!important;min-height:0!important;padding:4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-game-title-row{display:none!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-hud{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;margin:0 0 3px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-hud>div{padding:3px 3px!important;font-size:8px!important;border-radius:10px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-hud strong{font-size:13px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-stage{flex:1 1 auto!important;width:min(100%,calc((var(--lat-app-height,100vh) - 115px) * 1.82))!important;height:auto!important;min-height:180px!important;max-height:min(58dvh,315px)!important;aspect-ratio:16/9!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-controls{flex:0 0 auto!important;grid-template-columns:1fr 1.25fr 1fr!important;width:min(100%,520px)!important;gap:6px!important;margin-top:4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-controls button{height:40px!important;min-height:40px!important;font-size:19px!important;padding:3px 7px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-controls [data-platform-jump]{font-size:12px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start,
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-help,
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-level-up,
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-end{padding:3px!important;align-content:center!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start .lat-modal{width:min(96%,650px)!important;max-height:calc(100% - 4px)!important;padding:6px 10px!important;border-radius:14px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start .lat-platform-hero{display:none!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start h3{font-size:20px!important;margin:0 0 2px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start p{font-size:10px!important;line-height:1.12!important;margin:0 0 4px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;margin:3px 0 5px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-start-grid span{font-size:8px!important;padding:4px 2px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform [data-platform-start]{display:block!important;width:min(80%,270px)!important;min-height:34px!important;padding:6px 10px!important;margin:0 auto!important;font-size:13px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-help .lat-platform-rules{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:4px 0 6px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-help .lat-platform-rules>div{padding:5px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-help .lat-platform-rules span{font-size:9px!important}
}


/* v5.7.7 aventura más pro */
.lat-platform-stage{box-shadow:0 20px 44px rgba(0,0,0,.24), inset 0 0 0 2px rgba(255,255,255,.18)}
.lat-platform-controls button{transition:transform .12s ease, box-shadow .12s ease, filter .12s ease}
.lat-platform-controls button:hover{filter:brightness(1.03)}


/* ===== v5.7.8 Android: controles de Aventura sin selección/callout ===== */
.lat-platform-controls,
.lat-platform-controls button,
.lat-platform-controls button *,
.lat-platform-game [data-platform-left],
.lat-platform-game [data-platform-right],
.lat-platform-game [data-platform-jump]{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:none!important;
  caret-color:transparent!important;
}
.lat-platform-controls button{
  -webkit-user-drag:none!important;
}


/* ===== v5.7.9 Aventura del León: 7 niveles y nuevos elementos ===== */
.lat-platform-stage{background:linear-gradient(180deg,#77d9ff,#effcff);}
.lat-platform-game .lat-platform-hud>div{position:relative;overflow:hidden}
.lat-platform-game .lat-platform-hud>div::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 40%,rgba(255,255,255,.36) 50%,transparent 60% 100%);transform:translateX(-140%);animation:latPlatformHudShine 7s linear infinite;pointer-events:none}
@keyframes latPlatformHudShine{0%{transform:translateX(-140%)}16%,100%{transform:translateX(150%)}}
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
 .lat-world[data-lat-layout="phone-portrait"].lat-active-platform .lat-platform-stage{height:min(50dvh,405px)!important;min-height:295px!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
 .lat-world[data-lat-layout="phone-landscape"].lat-active-platform .lat-platform-stage{max-height:min(60dvh,325px)!important}
}


/* v5.8.0 — La Aventura del León: Uruguay realista */
.lat-platform-stage{background:#152a3d!important;border-color:#f1d77c!important;box-shadow:0 22px 48px rgba(0,0,0,.28),inset 0 0 0 2px rgba(255,255,255,.16)!important}
.lat-platform-game{background:linear-gradient(145deg,#153a5e,#1d6474 55%,#3c7654)!important}
.lat-platform-controls button{background:linear-gradient(180deg,#fff,#e5f1f7)!important;border:1px solid rgba(17,42,86,.10)!important}
.lat-platform-controls [data-platform-jump]{background:linear-gradient(180deg,#ffe676,#eeb33e)!important}

/* ===== v5.8.1 · El Detective del León ===== */
.lat-detective-card{background:linear-gradient(145deg,#fff6a8,#f4b954 45%,#327f91)!important;color:#173253!important}
.lat-detective-game{background:linear-gradient(145deg,#153a58,#1f6775 52%,#a86a37);border:5px solid #ffe67f;border-radius:30px;padding:14px;color:#fff;box-shadow:0 18px 38px rgba(0,0,0,.2)}
.lat-detective-game .lat-game-title-row h3{color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.14)}
.lat-detective-hud{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:10px}
.lat-detective-hud>div{background:linear-gradient(180deg,#fff,#edf8ff);color:#173253;border-radius:16px;padding:8px 5px;text-align:center;font-size:11px;font-weight:900;box-shadow:0 7px 16px rgba(0,0,0,.12)}
.lat-detective-hud strong{display:block;font-size:19px;line-height:1.1}
.lat-detective-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;max-width:1240px;margin:auto;align-items:start}
.lat-detective-main{min-width:0}
.lat-detective-stage{position:relative;width:100%;aspect-ratio:16/9;border:5px solid #fff2ab;border-radius:24px;overflow:hidden;background:#d6e8ef;box-shadow:0 16px 34px rgba(0,0,0,.23)}
.lat-detective-scene{position:absolute;inset:0;background-size:cover;background-position:center;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
.lat-detective-scene::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,.08),transparent 25%,transparent 75%,rgba(0,0,0,.08));z-index:2}
.lat-detective-object{position:absolute;z-index:4;display:grid;place-items:center;aspect-ratio:1/1;border:0;padding:0;background:transparent;border-radius:13px;overflow:hidden;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:filter .18s ease,opacity .18s ease,box-shadow .18s ease,transform .18s ease}
.lat-detective-object img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none;mix-blend-mode:multiply;filter:saturate(.85) contrast(.92);opacity:.82}
.lat-detective-object:hover{filter:brightness(1.06)}
.lat-detective-object.is-found{opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(1.55)!important}
.lat-detective-object.is-hint{z-index:9;box-shadow:0 0 0 5px #ffe43b,0 0 0 10px rgba(255,228,59,.3),0 0 30px #fff2a1;animation:latDetectiveHint .55s ease-in-out infinite alternate}
@keyframes latDetectiveHint{to{filter:brightness(1.35);transform:translate(-50%,-50%) scale(1.18)!important}}
.lat-detective-scene.is-miss::before{content:'✕';position:absolute;left:50%;top:50%;z-index:12;transform:translate(-50%,-50%);font:900 58px/1 system-ui;color:#ff5a62;text-shadow:0 3px 0 #fff;animation:latDetectiveMiss .42s ease both;pointer-events:none}
@keyframes latDetectiveMiss{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}
.lat-detective-sidebar{display:flex;flex-direction:column;gap:10px}
.lat-detective-case-card{background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.2);border-radius:18px;padding:13px;box-shadow:0 10px 20px rgba(0,0,0,.12)}
.lat-detective-case-card strong{display:block;font-size:17px;margin:5px 0;color:#fff}
.lat-detective-case-card p{margin:4px 0 0;font-size:12px;line-height:1.3;color:#eaf8ff}
.lat-detective-list{display:grid;gap:7px;margin-top:8px}
.lat-detective-list>div{display:grid;grid-template-columns:22px 1fr;gap:6px;align-items:center;background:rgba(0,0,0,.18);border-radius:12px;padding:8px 9px;font-size:13px}
.lat-detective-list>div span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.14);font-weight:950}
.lat-detective-list>div.is-found{background:rgba(71,197,119,.28);opacity:.72;text-decoration:line-through}
.lat-detective-list>div.is-found span{background:#42cf79;color:#103923}
.lat-detective-hint{border:0;border-radius:18px;padding:13px 12px;background:linear-gradient(180deg,#ffe878,#ffb941);color:#4e3610;font-weight:950;font-size:15px;box-shadow:0 6px 0 rgba(0,0,0,.17);cursor:pointer;touch-action:manipulation}
.lat-detective-hint small{display:block;font-size:10px;opacity:.72;margin-top:2px}
.lat-detective-hint:active{transform:translateY(3px);box-shadow:0 3px 0 rgba(0,0,0,.17)}
.lat-detective-stage .lat-overlay{z-index:20;padding:7px;background:rgba(8,28,48,.22);backdrop-filter:blur(2px);overflow:auto;-webkit-overflow-scrolling:touch}
.lat-detective-stage .lat-modal{width:min(94%,560px);max-height:calc(100% - 8px);overflow:auto;padding:15px;color:#173253}
.lat-detective-hero{font-size:48px;line-height:1;margin-bottom:5px}
.lat-detective-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0 11px}.lat-detective-start-grid span{font-size:12px;padding:8px}
.lat-detective-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;text-align:left;margin:10px 0 12px}
.lat-detective-rules>div{background:#eef8ff;border:1px solid rgba(23,50,83,.1);border-radius:13px;padding:9px}.lat-detective-rules b,.lat-detective-rules span{display:block}.lat-detective-rules span{font-size:11px;line-height:1.25;margin-top:3px}

@media(max-width:1000px){
 .lat-detective-layout{grid-template-columns:1fr}
 .lat-detective-sidebar{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch}
 .lat-detective-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.lat-detective-list>div{grid-template-columns:1fr;text-align:center;padding:6px 3px;font-size:10px}.lat-detective-list>div span{margin:auto}
}
@media (pointer:coarse) and (max-width:1100px){
 .lat-world.lat-active-detective .lat-detective-game{display:flex!important;flex-direction:column!important;gap:5px!important;padding:6px!important;min-height:0!important;overflow:visible!important}
 .lat-world.lat-active-detective .lat-detective-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-bottom:2px!important}
 .lat-world.lat-active-detective .lat-detective-hud>div{padding:5px 3px!important;font-size:9px!important;border-radius:11px!important}.lat-world.lat-active-detective .lat-detective-hud strong{font-size:15px!important}
 .lat-world.lat-active-detective .lat-detective-layout{display:flex!important;flex-direction:column!important;gap:6px!important;min-height:0!important}
 .lat-world.lat-active-detective .lat-detective-main{order:2;width:100%!important}
 .lat-world.lat-active-detective .lat-detective-sidebar{order:1;width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
 .lat-world.lat-active-detective .lat-detective-sidebar .lat-detective-case-card:last-child{display:none!important}
 .lat-world.lat-active-detective .lat-detective-case-card{padding:6px!important;border-radius:13px!important}
 .lat-world.lat-active-detective .lat-detective-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;margin-top:3px!important}
 .lat-world.lat-active-detective .lat-detective-list>div{grid-template-columns:1fr!important;gap:1px!important;text-align:center!important;padding:4px 2px!important;font-size:9px!important;border-radius:9px!important}
 .lat-world.lat-active-detective .lat-detective-list>div span{width:16px!important;height:16px!important;font-size:9px!important;margin:auto!important}
 .lat-world.lat-active-detective .lat-detective-hint{padding:7px 10px!important;min-width:105px!important;font-size:12px!important;border-radius:13px!important;box-shadow:0 4px 0 rgba(0,0,0,.17)!important}
 .lat-world.lat-active-detective .lat-detective-stage{width:100%!important;border-width:4px!important;border-radius:17px!important}
 .lat-world.lat-active-detective .lat-detective-object{min-width:30px!important;min-height:30px!important}
 .lat-world.lat-active-detective .lat-detective-start .lat-modal,.lat-world.lat-active-detective .lat-detective-help .lat-modal,.lat-world.lat-active-detective .lat-detective-level-up .lat-modal,.lat-world.lat-active-detective .lat-detective-end .lat-modal{width:calc(100% - 5px)!important;max-height:calc(100% - 5px)!important;padding:10px!important}
}
@media (pointer:coarse) and (orientation:portrait) and (max-width:780px){
 .lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-game-title-row{margin-bottom:2px!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-game-title-row h3{font-size:24px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-stage{height:min(53dvh,430px)!important;min-height:300px!important;aspect-ratio:4/5!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin:5px 0 7px!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-start-grid span{font-size:9px!important;padding:5px!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-hero{font-size:36px!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-modal h3{font-size:23px!important;margin:2px 0 5px!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-modal p{font-size:11px!important;line-height:1.18!important}
 .lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-rules{grid-template-columns:1fr!important;gap:4px!important;margin:6px 0!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-rules>div{padding:5px!important}.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-rules span{font-size:9px!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-game-title-row{display:none!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-hud{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;margin:0!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-hud>div{padding:3px 2px!important;font-size:8px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-hud strong{font-size:12px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 185px!important;gap:6px!important;align-items:start!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-main{order:1!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-sidebar{order:2!important;display:flex!important;flex-direction:column!important;width:auto!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:last-child{display:none!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-list{grid-template-columns:1fr!important;gap:3px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-list>div{grid-template-columns:17px 1fr!important;text-align:left!important;font-size:9px!important;padding:3px 5px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-stage{height:min(61dvh,310px)!important;min-height:185px!important;aspect-ratio:16/9!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-start-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;margin:3px 0 5px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-start-grid span{font-size:8px!important;padding:4px 2px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-start .lat-detective-hero{display:none!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-start h3{font-size:19px!important;margin:0 0 2px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-start p{font-size:9px!important;line-height:1.1!important;margin:0 0 3px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective [data-detective-start]{min-height:32px!important;padding:5px 10px!important;font-size:12px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-rules{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;margin:3px 0 5px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-rules>div{padding:4px!important}.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-rules span{font-size:8px!important}
}


/* ===== v5.8.2 · Detective: escena visible y aislada del tema ===== */
.lat-detective-layout{
  width:100%!important;
  max-width:1240px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 270px!important;
  align-items:start!important;
  margin:0 auto!important;
}
.lat-detective-main{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.lat-detective-stage{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:420px!important;
  aspect-ratio:16/9!important;
  visibility:visible!important;
  opacity:1!important;
}
.lat-detective-scene{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
}
.lat-detective-scene.is-bg-error::before{
  content:'Escena cargando…';
  position:absolute;inset:auto 12px 12px 12px;z-index:1;
  padding:8px 10px;border-radius:10px;background:rgba(17,42,86,.78);color:#fff;
  font:800 12px/1.2 system-ui;text-align:center;pointer-events:none;
}
.lat-detective-object{
  display:grid!important;
  visibility:visible!important;
  opacity:.9!important;
  min-width:34px!important;
  min-height:34px!important;
  border:2px solid rgba(255,255,255,.18)!important;
  box-shadow:0 3px 10px rgba(0,0,0,.18)!important;
}
.lat-detective-object.is-found{opacity:0!important}

@media(max-width:1000px){
 .lat-detective-layout{grid-template-columns:1fr!important}
}
@media (pointer:coarse) and (max-width:1100px){
 .lat-world.lat-active-detective .lat-detective-layout{display:flex!important;grid-template-columns:none!important}
 .lat-world.lat-active-detective .lat-detective-main{display:block!important;width:100%!important;min-height:0!important}
 .lat-world.lat-active-detective .lat-detective-stage{display:block!important;min-height:300px!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:780px){
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 185px!important}
 .lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-stage{min-height:185px!important}
}



/* ===== v5.8.4 Detective final: paisajes ilustrados + hotspots invisibles ===== */
.lat-world.lat-active-detective .lat-detective-stage{background:#172737!important}
.lat-world.lat-active-detective .lat-detective-scene{position:absolute!important;inset:0!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;overflow:hidden!important}
.lat-detective-decoy{display:none!important}
.lat-detective-object{position:absolute!important;z-index:6!important;min-width:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;display:grid!important;place-items:center!important;transform:translate(-50%,-50%) rotate(var(--obj-rot,0deg))!important;cursor:pointer!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;user-select:none!important;-webkit-user-select:none!important;border-radius:50%!important}
.lat-detective-target-icon{display:none!important}
.lat-detective-object::after{content:'';position:absolute;inset:0;border-radius:50%;background:transparent;box-shadow:none;pointer-events:none}
.lat-detective-object:hover::after{box-shadow:0 0 0 2px rgba(255,255,255,.18) inset}
.lat-detective-object.is-found{pointer-events:none!important;opacity:1!important}
.lat-detective-object.is-found::before{content:'✓';position:absolute;z-index:10;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#43d17a;color:#113d24;font-weight:950;font-size:18px;box-shadow:0 4px 12px rgba(0,0,0,.24)}
.lat-detective-object.is-hint::before{content:'';position:absolute;inset:-4px;border:3px solid #ffe65e;border-radius:50%;box-shadow:0 0 0 7px rgba(255,230,94,.25),0 0 24px rgba(255,230,94,.85);animation:latDetectiveHint583 .55s ease-in-out infinite alternate}
@keyframes latDetectiveHint583{to{transform:scale(1.18);opacity:.48}}
.lat-world.lat-active-detective .lat-detective-list>div{font-size:13px!important}
.lat-world.lat-active-detective .lat-detective-case-card:last-child p{font-size:12px!important;line-height:1.35!important}
.lat-world[data-lat-layout="phone-portrait"].lat-active-detective .lat-detective-stage{height:min(54dvh,430px)!important;min-height:310px!important;aspect-ratio:4/5!important}
.lat-world[data-lat-layout="phone-landscape"].lat-active-detective .lat-detective-stage{aspect-ratio:16/8.6!important;min-height:250px!important}

/* ==========================================================
   v5.8.5 — PC FULL WIDTH REAL
   Solo escritorio. No modifica phone-portrait/phone-landscape.
   ========================================================== */
@media (min-width:1100px){
  /* El modo de juego usa realmente todo el viewport en PC. */
  .lat-world.lat-game-mode,
  .lat-world:fullscreen,
  .lat-world:-webkit-full-screen{
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }
  .lat-world.lat-game-mode .lat-game-screen,
  .lat-world:fullscreen .lat-game-screen,
  .lat-world:-webkit-full-screen .lat-game-screen{
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    padding:4px 6px 12px!important;
    margin:0!important;
    overflow:auto!important;
  }
  .lat-world.lat-game-mode .lat-game-fullscreen-bar,
  .lat-world:fullscreen .lat-game-fullscreen-bar,
  .lat-world:-webkit-full-screen .lat-game-fullscreen-bar{
    width:100%!important;
    max-width:none!important;
    margin:0 0 5px!important;
    border-radius:0 0 14px 14px!important;
  }
  .lat-world.lat-game-mode .lat-game-screen>[data-game]:not([hidden]),
  .lat-world:fullscreen .lat-game-screen>[data-game]:not([hidden]),
  .lat-world:-webkit-full-screen .lat-game-screen>[data-game]:not([hidden]){
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    overflow:visible!important;
  }

  /* Río Limpio — escenario a todo el ancho. */
  .lat-world.lat-active-river .lat-stage-wrap{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    aspect-ratio:16/9!important;
    margin:0!important;
  }
  .lat-world.lat-active-river .lat-stage{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
  }

  /* Parejas — tablero y panel ocupan todo el espacio disponible. */
  .lat-world.lat-active-memory .lat-memory-shell{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) clamp(280px,20vw,360px)!important;
    gap:12px!important;
  }
  .lat-world.lat-active-memory .lat-memory-main,
  .lat-world.lat-active-memory .lat-memory-board{
    width:100%!important;
    max-width:none!important;
  }

  /* Carrera — elimina el viejo límite de 1100px. */
  .lat-world.lat-active-race .lat-race-stage{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    aspect-ratio:960/520!important;
    margin:0!important;
  }
  .lat-world.lat-active-race .lat-race-canvas{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
  }

  /* Paquetes — el juego es vertical, por eso se agranda sin deformarlo,
     mientras el layout completo aprovecha todo el ancho del PC. */
  .lat-world.lat-active-packages .lat-packages-layout{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(440px,44vw) minmax(320px,1fr)!important;
    gap:22px!important;
    align-items:start!important;
  }
  .lat-world.lat-active-packages .lat-packages-main{width:100%!important;max-width:none!important}
  .lat-world.lat-active-packages .lat-packages-stage{
    width:min(100%,430px)!important;
    max-width:430px!important;
    height:auto!important;
    aspect-ratio:1/2!important;
    margin:0 auto!important;
  }
  .lat-world.lat-active-packages .lat-packages-controls{width:min(100%,520px)!important;max-width:520px!important}
  .lat-world.lat-active-packages .lat-packages-sidebar{width:100%!important;max-width:none!important}

  /* Jurásico y Constructor — se quitó el max-width 1180px. */
  .lat-world.lat-active-dino .lat-dino-layout,
  .lat-world.lat-active-constructor .lat-constructor-layout{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) 320px!important;
    gap:18px!important;
    margin:0!important;
  }
  .lat-world.lat-active-dino .lat-dino-stage,
  .lat-world.lat-active-constructor .lat-constructor-stage{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    aspect-ratio:900/520!important;
  }
  .lat-world.lat-active-dino .lat-dino-canvas,
  .lat-world.lat-active-constructor .lat-constructor-canvas{
    width:100%!important;
    height:auto!important;
    max-width:none!important;
  }

  /* Fútbol — cancha de ancho completo, sin el límite calculado por altura. */
  .lat-world.lat-active-football .lat-football-game{overflow:visible!important}
  .lat-world.lat-active-football .lat-football-stage{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    aspect-ratio:16/9!important;
    margin:0!important;
  }
  .lat-world.lat-active-football .lat-football-canvas{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
  }

  /* Ajedrez — layout completo y tablero mucho más grande, sin deformar el cuadrado. */
  .lat-world.lat-active-chess .lat-chess-layout{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) clamp(300px,22vw,390px)!important;
    gap:20px!important;
    margin:0!important;
  }
  .lat-world.lat-active-chess .lat-chess-board-wrap{width:100%!important;max-width:none!important}
  .lat-world.lat-active-chess .lat-chess-board-shell{
    width:min(100%,calc(100dvh - 190px),900px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  .lat-world.lat-active-chess .lat-chess-board{width:100%!important;max-width:none!important}
  .lat-world.lat-active-chess .lat-chess-sidebar{width:100%!important;max-width:none!important}

  /* Damas — mismo criterio: tablero cuadrado maximizado por altura disponible. */
  .lat-world.lat-active-checkers .lat-checkers-layout{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) clamp(300px,22vw,390px)!important;
    gap:20px!important;
    margin:0!important;
  }
  .lat-world.lat-active-checkers .lat-checkers-main{width:100%!important;max-width:none!important}
  .lat-world.lat-active-checkers .lat-checkers-board-shell{
    width:min(100%,calc(100dvh - 205px),900px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  .lat-world.lat-active-checkers .lat-checkers-board{width:100%!important;max-width:none!important}
  .lat-world.lat-active-checkers .lat-checkers-sidebar{width:100%!important;max-width:none!important}

  /* Aventura — escenario a todo el ancho. */
  .lat-world.lat-active-platform .lat-platform-stage{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    aspect-ratio:16/9!important;
    margin:0!important;
  }
  .lat-world.lat-active-platform .lat-platform-canvas{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
  }
  .lat-world.lat-active-platform .lat-platform-controls{width:min(100%,720px)!important;max-width:720px!important}

  /* Detective — elimina el límite 1240px y amplía la escena. */
  .lat-world.lat-active-detective .lat-detective-layout{
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) clamp(280px,20vw,360px)!important;
    gap:18px!important;
    margin:0!important;
    align-items:start!important;
  }
  .lat-world.lat-active-detective .lat-detective-main{width:100%!important;max-width:none!important}
  .lat-world.lat-active-detective .lat-detective-stage{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    margin:0!important;
  }
  .lat-world.lat-active-detective .lat-detective-sidebar{width:100%!important;max-width:none!important}

  /* Emprendedor / Tienda del León — escena y panel usan el ancho completo. */
  .lat-world.lat-active-economy .lat-economy-game,
  .lat-world.lat-active-economy .lat-shop-sim{
    width:100%!important;
    max-width:none!important;
  }
  .lat-world.lat-active-economy .lat-shopgame-wrap{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) clamp(350px,22vw,410px)!important;
    gap:20px!important;
    margin:0!important;
  }
  .lat-world.lat-active-economy .lat-shopgame-stage{
    width:100%!important;
    max-width:none!important;
    min-height:840px!important;
  }
  .lat-world.lat-active-economy .lat-shopgame-panel{width:100%!important;max-width:none!important}
}

/* ==========================================================
   v5.8.6 — Corrección PC: Parejas visible + Paquetes centrado
   Solo escritorio. Móvil queda intacto.
   ========================================================== */
@media (min-width:1100px){
  /* Parejas: el contenedor activo debe conservar la altura flexible del modo juego. */
  .lat-world.lat-active-memory .lat-memory-game{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    overflow:hidden!important;
  }
  .lat-world.lat-active-memory .lat-memory-shell{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:0!important;
    align-items:stretch!important;
  }
  .lat-world.lat-active-memory .lat-memory-main{
    min-height:0!important;
    height:100%!important;
  }
  .lat-world.lat-active-memory .lat-memory-board{
    flex:1 1 auto!important;
    min-height:420px!important;
    height:auto!important;
    visibility:visible!important;
    opacity:1!important;
  }

  /* Los botones de panel son exclusivamente móviles. */
  .lat-world .lat-mobile-panel-toggle{
    display:none!important;
  }

  /* Paquetes: columna central fija para que el tablero quede realmente centrado
     respecto al viewport, con la ayuda en la columna derecha. */
  .lat-world.lat-active-packages .lat-packages-layout{
    display:grid!important;
    grid-template-columns:minmax(260px,1fr) minmax(440px,520px) minmax(260px,1fr)!important;
    width:100%!important;
    max-width:none!important;
    gap:18px!important;
    align-items:start!important;
    margin:0!important;
  }
  .lat-world.lat-active-packages .lat-packages-main{
    grid-column:2!important;
    width:100%!important;
    max-width:520px!important;
    justify-self:center!important;
    align-items:center!important;
  }
  .lat-world.lat-active-packages .lat-packages-hud{
    width:100%!important;
  }
  .lat-world.lat-active-packages .lat-packages-stage{
    width:min(100%,430px)!important;
    max-width:430px!important;
    margin:0 auto!important;
    align-self:center!important;
  }
  .lat-world.lat-active-packages .lat-packages-controls{
    width:min(100%,520px)!important;
    max-width:520px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .lat-world.lat-active-packages .lat-packages-sidebar{
    grid-column:3!important;
    width:min(100%,340px)!important;
    max-width:340px!important;
    justify-self:start!important;
  }
}

/* ==========================================================
   v5.8.7 — FIX DEFINITIVO PAREJAS EN PC
   Restaura altura real del juego anulada por el full-width genérico.
   Solo escritorio / layout desktop.
   ========================================================== */
@media (min-width:1100px){
  .lat-world[data-lat-layout="desktop"].lat-game-mode.lat-active-memory .lat-game-screen>[data-game="memory"]:not([hidden]),
  .lat-world[data-lat-layout="desktop"]:fullscreen.lat-active-memory .lat-game-screen>[data-game="memory"]:not([hidden]),
  .lat-world[data-lat-layout="desktop"]:-webkit-full-screen.lat-active-memory .lat-game-screen>[data-game="memory"]:not([hidden]){
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    width:100%!important;
    max-width:none!important;
    height:calc(var(--lat-app-height,100dvh) - 58px)!important;
    min-height:620px!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
  }

  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(280px,20vw,360px)!important;
    grid-template-rows:minmax(0,1fr)!important;
    flex:1 1 auto!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:560px!important;
    gap:14px!important;
    overflow:visible!important;
    align-items:stretch!important;
  }

  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-main{
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1fr) auto!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-brand,
  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-hud,
  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-footer-strip,
  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-sidebar{
    visibility:visible!important;
    opacity:1!important;
  }

  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-board{
    display:grid!important;
    width:100%!important;
    height:100%!important;
    min-height:420px!important;
    max-width:none!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
    align-self:stretch!important;
  }

  .lat-world[data-lat-layout="desktop"].lat-active-memory .lat-memory-sidebar{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:auto!important;
  }
}


/* ==========================================================
   v5.8.8 — Compatibilidad universal táctil: iOS / iPadOS / Android
   El layout se decide por espacio + tipo de entrada, no por modelo.
   ========================================================== */
body.lat-game-open{touch-action:manipulation!important}
.lat-world[data-lat-input="touch"] button,
.lat-world[data-lat-input="touch"] .lat-primary,
.lat-world[data-lat-input="touch"] .lat-secondary,
.lat-world[data-lat-input="touch"] .lat-icon-btn{
  -webkit-tap-highlight-color:transparent!important;
  -webkit-touch-callout:none!important;
  touch-action:manipulation!important;
}
.lat-world[data-lat-input="touch"] .lat-overlay{
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
}
.lat-world[data-lat-input="touch"] .lat-overlay .lat-modal{
  max-height:calc(var(--lat-app-height,100dvh) - 72px)!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
.lat-world[data-lat-input="touch"] .lat-overlay .lat-primary{
  position:relative!important;
  z-index:30!important;
  min-height:44px!important;
}

/* Toda pantalla táctil puede desplazarse si un modelo concreto tiene menos altura útil. */
@media (any-pointer:coarse){
  .lat-world.lat-game-mode .lat-game-screen,
  .lat-world:fullscreen .lat-game-screen,
  .lat-world:-webkit-full-screen .lat-game-screen{
    height:calc(var(--lat-app-height,100dvh) - 8px)!important;
    max-height:calc(var(--lat-app-height,100dvh) - 8px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-screen>[data-game]:not([hidden]){
    min-height:0!important;
    overflow:visible!important;
    padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
  }
}

/* Tablets en horizontal: nunca aplicar el layout gigante de PC y mantener controles a la vista. */
@media (any-pointer:coarse) and (orientation:landscape){
  .lat-world[data-lat-layout="tablet"]{
    padding:max(4px,env(safe-area-inset-top)) max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-game-fullscreen-bar{
    min-height:38px!important;
    padding:4px 8px!important;
    margin-bottom:4px!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-game-title-row{margin:0 0 4px!important}
  .lat-world[data-lat-layout="tablet"] .lat-game-title-row h3{font-size:clamp(20px,3vw,28px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-hud,
  .lat-world[data-lat-layout="tablet"] .lat-race-hud,
  .lat-world[data-lat-layout="tablet"] .lat-memory-hud,
  .lat-world[data-lat-layout="tablet"] .lat-packages-hud,
  .lat-world[data-lat-layout="tablet"] .lat-dino-hud,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-hud,
  .lat-world[data-lat-layout="tablet"] .lat-football-hud,
  .lat-world[data-lat-layout="tablet"] .lat-platform-hud,
  .lat-world[data-lat-layout="tablet"] .lat-detective-hud{
    gap:5px!important;
    margin-bottom:4px!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-race-stage,
  .lat-world[data-lat-layout="tablet"] .lat-dino-stage,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-stage,
  .lat-world[data-lat-layout="tablet"] .lat-football-stage,
  .lat-world[data-lat-layout="tablet"] .lat-platform-stage{
    width:min(100%,calc((var(--lat-app-height,100dvh) - 165px) * 1.78))!important;
    max-width:100%!important;
    max-height:calc(var(--lat-app-height,100dvh) - 165px)!important;
    min-height:220px!important;
    height:auto!important;
    margin-inline:auto!important;
    aspect-ratio:16/9!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-race-canvas,
  .lat-world[data-lat-layout="tablet"] .lat-dino-canvas,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-canvas,
  .lat-world[data-lat-layout="tablet"] .lat-football-canvas,
  .lat-world[data-lat-layout="tablet"] .lat-platform-canvas{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  }

  .lat-world[data-lat-layout="tablet"] .lat-race-controls,
  .lat-world[data-lat-layout="tablet"] .lat-packages-controls,
  .lat-world[data-lat-layout="tablet"] .lat-dino-controls,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-controls,
  .lat-world[data-lat-layout="tablet"] .lat-football-controls,
  .lat-world[data-lat-layout="tablet"] .lat-platform-controls{
    position:sticky!important;
    bottom:max(4px,env(safe-area-inset-bottom))!important;
    z-index:80!important;
    display:grid!important;
    margin:5px auto 0!important;
    padding:5px!important;
    border-radius:16px!important;
    background:rgba(238,247,255,.94)!important;
    box-shadow:0 -4px 18px rgba(10,35,65,.16)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-race-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(100%,520px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-packages-controls{grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(100%,720px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-dino-controls,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-controls,
  .lat-world[data-lat-layout="tablet"] .lat-platform-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:min(100%,620px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-football-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(100%,720px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-race-controls button,
  .lat-world[data-lat-layout="tablet"] .lat-packages-controls button,
  .lat-world[data-lat-layout="tablet"] .lat-dino-controls button,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-controls button,
  .lat-world[data-lat-layout="tablet"] .lat-football-controls button,
  .lat-world[data-lat-layout="tablet"] .lat-platform-controls button{
    min-height:46px!important;
    height:auto!important;
    padding:7px 9px!important;
  }

  /* Paquetes vuelve a una sola columna jugable en tablets; el panel se abre aparte. */
  .lat-world[data-lat-layout="tablet"].lat-active-packages .lat-packages-layout{
    display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:6px!important;width:100%!important;
  }
  .lat-world[data-lat-layout="tablet"].lat-active-packages .lat-packages-main{
    width:100%!important;max-width:none!important;align-items:center!important;
  }
  .lat-world[data-lat-layout="tablet"].lat-active-packages .lat-packages-stage{
    width:min(42dvh,360px)!important;max-width:360px!important;margin:0 auto!important;
  }
  .lat-world[data-lat-layout="tablet"] .lat-mobile-panel-toggle{display:flex!important}
  .lat-world[data-lat-layout="tablet"] .lat-memory-game:not(.lat-mobile-panel-open) .lat-memory-sidebar,
  .lat-world[data-lat-layout="tablet"] .lat-packages-game:not(.lat-mobile-panel-open) .lat-packages-sidebar,
  .lat-world[data-lat-layout="tablet"] .lat-dino-game:not(.lat-mobile-panel-open) .lat-dino-sidebar,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-game:not(.lat-mobile-panel-open) .lat-constructor-sidebar,
  .lat-world[data-lat-layout="tablet"] .lat-chess-game:not(.lat-mobile-panel-open) .lat-chess-sidebar,
  .lat-world[data-lat-layout="tablet"] .lat-economy-game:not(.lat-mobile-panel-open) .lat-shopgame-panel{display:none!important}

  /* En overlays de inicio el botón principal queda accesible aunque Safari reduzca el viewport. */
  .lat-world[data-lat-layout="tablet"] .lat-overlay .lat-modal{max-height:calc(var(--lat-app-height,100dvh) - 62px)!important}
  .lat-world[data-lat-layout="tablet"] .lat-overlay .lat-primary{
    position:sticky!important;bottom:0!important;width:min(100%,340px)!important;margin-inline:auto!important;
  }
}

/* Tablets verticales: evitar que reglas desktop por ancho vuelvan a agrandar escenas. */
@media (any-pointer:coarse) and (orientation:portrait) and (min-width:600px){
  .lat-world[data-lat-layout="tablet"] .lat-game-screen>[data-game]:not([hidden]){width:100%!important;max-width:none!important;min-height:0!important}
  .lat-world[data-lat-layout="tablet"] .lat-race-stage,
  .lat-world[data-lat-layout="tablet"] .lat-dino-stage,
  .lat-world[data-lat-layout="tablet"] .lat-constructor-stage,
  .lat-world[data-lat-layout="tablet"] .lat-football-stage,
  .lat-world[data-lat-layout="tablet"] .lat-platform-stage{width:100%!important;max-width:100%!important;max-height:52dvh!important;height:auto!important;aspect-ratio:16/9!important}
  .lat-world[data-lat-layout="tablet"] .lat-mobile-panel-toggle{display:flex!important}
}

/* iPhone / iPad Safari: el botón inicial de Aventura nunca queda tapado ni sin superficie táctil. */
.lat-world[data-lat-input="touch"].lat-active-platform [data-platform-start],
.lat-world[data-lat-input="touch"].lat-active-platform [data-platform-next],
.lat-world[data-lat-input="touch"].lat-active-platform [data-platform-restart]{
  display:block!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  min-height:44px!important;
  position:relative!important;
  z-index:80!important;
}


/* ==========================================================
   v5.8.9 — Detective móvil reconstruido
   Mantiene 16:9 real para que hotspots coincidan con objetos.
   La escena va primero y los controles/lista nunca se superponen.
   ========================================================== */
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  gap:6px!important;
  padding:6px!important;
  overflow:visible!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row{
  flex:0 0 auto!important;
  margin:0 0 3px!important;
  min-height:0!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row h3{
  font-size:clamp(21px,5vw,27px)!important;
  line-height:1.05!important;
  margin:0!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud{
  order:1!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
  margin:0!important;
  width:100%!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud>div{
  min-width:0!important;
  padding:4px 2px!important;
  border-radius:10px!important;
  font-size:8px!important;
  line-height:1.05!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud strong{
  font-size:14px!important;
  line-height:1!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-layout{
  order:2!important;
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  align-items:stretch!important;
  gap:6px!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{
  order:1!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:thin!important;
  padding-bottom:2px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
  position:relative!important;
  display:block!important;
  flex:none!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  margin:0 auto!important;
  border-width:3px!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-scene{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar{
  order:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  gap:5px!important;
  margin:0!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:first-child{
  display:block!important;
  min-width:0!important;
  padding:5px!important;
  border-radius:11px!important;
  overflow:hidden!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:last-child{
  display:none!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-game-tag{
  display:none!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list{
  display:flex!important;
  grid-template-columns:none!important;
  gap:4px!important;
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  padding:1px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{
  flex:0 0 auto!important;
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  gap:3px!important;
  min-width:max-content!important;
  padding:5px 7px!important;
  border-radius:9px!important;
  font-size:10px!important;
  line-height:1!important;
  text-align:left!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div span{
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  font-size:9px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint{
  align-self:stretch!important;
  min-width:104px!important;
  min-height:42px!important;
  padding:5px 8px!important;
  margin:0!important;
  border-radius:11px!important;
  font-size:11px!important;
  line-height:1.05!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint small{
  font-size:8px!important;
  margin-top:1px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  padding:5px!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay[hidden]{display:none!important}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-modal{
  width:min(94%,460px)!important;
  max-height:calc(100% - 8px)!important;
  overflow:auto!important;
  padding:9px!important;
  border-radius:13px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start .lat-detective-hero{
  display:none!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start h3{
  font-size:20px!important;
  line-height:1.05!important;
  margin:0 0 3px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start p{
  font-size:10px!important;
  line-height:1.15!important;
  margin:0 0 5px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
  margin:4px 0 6px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid span{
  font-size:9px!important;
  padding:4px!important;
}
.lat-world[data-lat-input="touch"].lat-active-detective [data-detective-start],
.lat-world[data-lat-input="touch"].lat-active-detective [data-detective-next],
.lat-world[data-lat-input="touch"].lat-active-detective [data-detective-restart],
.lat-world[data-lat-input="touch"].lat-active-detective [data-detective-help-close]{
  display:block!important;
  position:relative!important;
  z-index:50!important;
  width:min(100%,300px)!important;
  min-height:40px!important;
  margin:5px auto 0!important;
  padding:6px 10px!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}

/* Teléfono vertical: panorama desplazable para no recortar objetos. */
@media (any-pointer:coarse) and (orientation:portrait) and (max-width:599px){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{
    margin-inline:-2px!important;
    width:calc(100% + 4px)!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    width:max(660px,172vw)!important;
    max-width:none!important;
    min-width:660px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-object{
    min-width:38px!important;
    min-height:38px!important;
  }
}

/* Teléfono horizontal: escena completa arriba y barra compacta debajo. */
@media (any-pointer:coarse) and (orientation:landscape) and (max-height:600px){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:3px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud>div{
    padding:3px 2px!important;font-size:7px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud strong{font-size:11px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    width:min(100%,calc((var(--lat-app-height,100dvh) - 118px) * 1.7778))!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:auto!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar{
    grid-template-columns:minmax(0,1fr) 110px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{
    font-size:9px!important;padding:4px 6px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint{min-height:36px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-modal{
    width:min(92%,420px)!important;padding:6px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start h3{font-size:17px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start p{font-size:8px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid{display:none!important}
}

/* Tablets táctiles: misma lógica, sin el apilado antiguo. */
@media (any-pointer:coarse) and (min-width:600px){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    width:min(100%,980px)!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{overflow-x:hidden!important}
}

/* ==========================================================
   v5.8.10 — Detective móvil final limpio
   - escena 16:9 completa, sin panorama que desplace overlays
   - modal siempre dentro del viewport visible
   - lista y pista apiladas en vertical
   - hotspots táctiles amplios e invisibles
   ========================================================== */
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game,
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game *,
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game *::before,
.lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game *::after{
  box-sizing:border-box!important;
}

@media (any-pointer:coarse) and (orientation:portrait){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game{
    gap:5px!important;
    padding:5px!important;
    overflow:visible!important;
  }

  /* Cabecera compacta: título + ayuda + compartir sin superposición. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px 38px!important;
    align-items:center!important;
    column-gap:5px!important;
    row-gap:2px!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 3px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row>div:first-child{
    min-width:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row h3{
    font-size:clamp(20px,6.1vw,25px)!important;
    line-height:1.02!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row .lat-icon-btn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    font-size:20px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row .lat-game-share-btn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
    border-radius:50%!important;
    font-size:17px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row .lat-game-share-btn span{
    display:none!important;
  }

  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
    width:100%!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud>div{
    padding:4px 2px!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  /* Ya no hay panorama horizontal: la imagen completa entra en pantalla. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
    margin:0!important;
    border-width:3px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-scene{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    background-size:100% 100%!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-object{
    min-width:44px!important;
    min-height:44px!important;
  }

  /* Overlays centrados respecto del área visible real, nunca del panorama. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:6px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay[hidden]{
    display:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-modal{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    width:calc(100% - 16px)!important;
    max-width:315px!important;
    min-width:0!important;
    max-height:calc(100% - 10px)!important;
    margin:0 auto!important;
    padding:7px 9px!important;
    border-width:2px!important;
    border-radius:13px!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start .lat-detective-hero{
    display:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start h3{
    font-size:16px!important;
    line-height:1!important;
    margin:0 0 3px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start p{
    font-size:9px!important;
    line-height:1.08!important;
    margin:0 0 4px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid{
    display:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-start],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-next],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-restart],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-help-close]{
    width:100%!important;
    max-width:260px!important;
    min-height:36px!important;
    margin:4px auto 0!important;
    padding:5px 8px!important;
    font-size:12px!important;
    line-height:1!important;
  }

  /* En vertical: lista arriba y pista debajo. Nada lado a lado. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    width:100%!important;
    max-width:100%!important;
    gap:5px!important;
    margin:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:first-child{
    width:100%!important;
    max-width:100%!important;
    padding:5px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    gap:4px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    padding:1px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{
    flex:0 0 auto!important;
    min-width:max-content!important;
    padding:5px 7px!important;
    font-size:10px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:6px 10px!important;
    font-size:12px!important;
  }
}

/* Horizontal de teléfono: modal también queda dentro del stage visible. */
@media (any-pointer:coarse) and (orientation:landscape) and (max-height:650px){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage,
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    padding:4px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay[hidden]{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-modal{
    width:min(88%,360px)!important;
    max-height:calc(100% - 8px)!important;
    margin:auto!important;
    padding:5px 8px!important;
    border-width:2px!important;
    overflow:auto!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start h3{font-size:15px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start p{font-size:8px!important;margin:0 0 3px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-start]{min-height:32px!important;margin-top:3px!important}
}

/* ==========================================================
   v5.8.11 — Detective landscape touch final
   Mantiene la escena 16:9 completa y mueve objetivos/pista
   a una columna lateral en tablets y teléfonos horizontales.
   ========================================================== */
@media (any-pointer:coarse) and (orientation:landscape){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-screen{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:max-content!important;
    height:auto!important;
    overflow:visible!important;
    gap:5px!important;
    padding:5px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-game-title-row{
    display:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:4px!important;
    width:100%!important;
    margin:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud>div{
    min-width:0!important;
    padding:4px 2px!important;
    font-size:9px!important;
    line-height:1!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud strong{
    font-size:15px!important;
    line-height:1!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(210px,23vw,330px)!important;
    gap:8px!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-main{
    order:1!important;
    display:flex!important;
    justify-content:center!important;
    align-items:flex-start!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
    margin:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    display:block!important;
    width:min(100%,calc((100dvh - 150px) * 16 / 9))!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
    margin:0 auto!important;
    border-width:3px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    flex:none!important;
  }
  @supports (height:100svh){
    .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
      width:min(100%,calc((100svh - 150px) * 16 / 9))!important;
    }
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-scene{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    background-size:100% 100%!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-object{
    min-width:42px!important;
    min-height:42px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar{
    order:2!important;
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    width:100%!important;
    max-width:330px!important;
    min-width:0!important;
    gap:6px!important;
    margin:0!important;
    align-self:start!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:first-child{
    width:100%!important;
    max-width:100%!important;
    padding:6px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-sidebar .lat-detective-case-card:last-child{
    display:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    white-space:normal!important;
    margin-top:4px!important;
    padding:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{
    display:grid!important;
    grid-template-columns:17px minmax(0,1fr)!important;
    gap:3px!important;
    align-items:center!important;
    min-width:0!important;
    width:auto!important;
    padding:5px 4px!important;
    font-size:10px!important;
    line-height:1.05!important;
    text-align:left!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div strong{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    padding:7px 8px!important;
    font-size:12px!important;
    line-height:1.05!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:5px!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-overlay[hidden]{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage .lat-modal{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    width:min(92%,390px)!important;
    max-width:390px!important;
    min-width:0!important;
    max-height:calc(100% - 10px)!important;
    margin:auto!important;
    padding:6px 9px!important;
    border-width:2px!important;
    border-radius:13px!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start .lat-detective-hero{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start h3{font-size:16px!important;line-height:1!important;margin:0 0 3px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start p{font-size:9px!important;line-height:1.08!important;margin:0 0 4px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-start-grid{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-start],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-next],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-restart],
  .lat-world[data-lat-input="touch"].lat-active-detective [data-detective-help-close]{
    width:100%!important;
    max-width:280px!important;
    min-height:34px!important;
    margin:4px auto 0!important;
    padding:5px 8px!important;
    font-size:12px!important;
    line-height:1!important;
  }
}

/* Teléfonos horizontales muy bajos: priorizar la escena y compactar lateral. */
@media (any-pointer:coarse) and (orientation:landscape) and (max-height:430px){
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-layout{
    grid-template-columns:minmax(0,1fr) clamp(190px,24vw,235px)!important;
    gap:5px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
    width:min(100%,calc((100dvh - 128px) * 16 / 9))!important;
  }
  @supports (height:100svh){
    .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{
      width:min(100%,calc((100svh - 128px) * 16 / 9))!important;
    }
  }
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud>div{padding:2px!important;font-size:8px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hud strong{font-size:12px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{padding:3px!important;font-size:9px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-hint{min-height:38px!important;padding:4px 6px!important;font-size:10px!important}
}

/* ======================================================================
   v5.9.0 — RESPONSIVE MASTER TOUCH
   Objetivo: todos los juegos jugables en teléfono/tablet, vertical/horizontal,
   preservando proporciones nativas y manteniendo controles dentro del viewport.
   ====================================================================== */

@media (any-pointer:coarse){
  .lat-world[data-lat-input="touch"],
  .lat-world[data-lat-input="touch"] *{box-sizing:border-box}

  .lat-world[data-lat-input="touch"].lat-game-mode .lat-game-screen,
  .lat-world[data-lat-input="touch"]:fullscreen .lat-game-screen,
  .lat-world[data-lat-input="touch"]:-webkit-full-screen .lat-game-screen{
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    width:100%!important;
    height:var(--lat-app-height,100dvh)!important;
    max-height:var(--lat-app-height,100dvh)!important;
    min-height:0!important;
    padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))!important;
    overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-fullscreen-bar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:1000!important;
    width:100%!important;
    flex:0 0 auto!important;
    margin:0 0 5px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-screen>[data-game]:not([hidden]){
    grid-row:2!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-width:none!important;
    margin:0!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:max(6px,env(safe-area-inset-bottom))!important;
  }
  .lat-world[data-lat-input="touch"] button{
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
    -webkit-touch-callout:none!important;
    user-select:none!important;
    -webkit-user-select:none!important;
  }
  .lat-world[data-lat-input="touch"] canvas{
    display:block!important;
    max-width:100%!important;
    user-select:none!important;
    -webkit-user-select:none!important;
    -webkit-touch-callout:none!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-title-row{
    gap:7px!important;
    margin:0 0 5px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-title-row h3{
    font-size:clamp(21px,5.3vw,32px)!important;
    line-height:1.02!important;
    margin:2px 0!important;
  }
  .lat-world[data-lat-input="touch"] .lat-game-share-btn{
    min-height:38px!important;
    padding:6px 10px!important;
    font-size:11px!important;
    border-radius:999px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-mobile-panel-toggle{
    min-height:42px!important;
    padding:7px 10px!important;
    border-radius:13px!important;
    font-size:12px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-overlay .lat-modal{
    max-width:min(94%,520px)!important;
    max-height:calc(100% - 10px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* ---------- VERTICAL: teléfonos y tablets táctiles ---------- */
@media (any-pointer:coarse) and (orientation:portrait){
  .lat-world[data-lat-input="touch"] .lat-game-fullscreen-bar{
    min-height:50px!important;
    padding:6px 8px!important;
    border-radius:14px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-fullscreen-exit{
    min-height:42px!important;
    padding:7px 11px!important;
    font-size:12px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-fullscreen-orientation{
    font-size:11px!important;
    line-height:1.05!important;
  }

  /* Juegos canvas anchos: usar SIEMPRE su proporción real. */
  .lat-world[data-lat-input="touch"].lat-active-river .lat-stage-wrap,
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-stage,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-stage,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-stage,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-stage{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-inline:auto!important;
    flex:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-river .lat-stage-wrap{aspect-ratio:16/9!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-stage{aspect-ratio:960/520!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-stage{aspect-ratio:900/520!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-stage,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-stage{aspect-ratio:16/9!important}
  .lat-world[data-lat-input="touch"].lat-active-river .lat-stage,
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-canvas,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-canvas,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-canvas,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-canvas,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-canvas{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
  }

  /* Carrera */
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-game{padding:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-game-title-row h3{font-size:clamp(24px,7vw,34px)!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-hud{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    margin-bottom:6px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-hud>div{padding:7px 5px!important;font-size:11px!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls{
    position:static!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:7px!important;
    padding:0!important;
    pointer-events:auto!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls button{width:100%!important;min-height:50px!important}

  /* Paquetes: tablero vertical contenido + controles siempre visibles. */
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-game{padding:6px!important;overflow:auto!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-game-title-row{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-main{
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    align-items:start!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    margin:0 0 5px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud>div{padding:5px 2px!important;font-size:8px!important;border-radius:10px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud strong{font-size:14px!important;line-height:1!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-stage{
    width:min(48vw,235px)!important;
    height:auto!important;
    max-width:235px!important;
    max-height:none!important;
    aspect-ratio:1/2!important;
    margin:0 auto!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-canvas{width:100%!important;height:100%!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls{
    width:min(100%,430px)!important;
    max-width:430px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
    margin:7px auto 0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls button{min-height:44px!important;height:44px!important;font-size:17px!important;padding:3px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-mobile-panel-toggle{width:min(100%,430px)!important;margin:6px auto 0!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-sidebar{width:100%!important;max-width:520px!important;margin:6px auto 0!important}

  /* Jurásico / Constructor */
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-game,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-game{padding:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-layout,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;margin-bottom:6px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud>div{padding:6px 4px!important;font-size:10px!important;border-radius:12px!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud strong,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud strong{font-size:17px!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls{
    width:100%!important;max-width:500px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:7px auto 0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls button,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls button{min-height:48px!important;height:48px!important;font-size:21px!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-mobile-panel-toggle,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-mobile-panel-toggle{width:min(100%,500px)!important;margin:6px auto 0!important}

  /* Fútbol */
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-game{padding:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-hud{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin-bottom:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-hud>div{padding:7px 4px!important;font-size:11px!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:7px!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls button{min-height:48px!important;height:48px!important;font-size:21px!important;padding:4px!important}

  /* Ajedrez / Damas: tablero cuadrado, sin deformación. */
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-game,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-game{padding:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-layout,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud>div{min-height:0!important;padding:7px 5px!important;font-size:10px!important;border-radius:12px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud strong,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud strong{font-size:17px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-toolbar,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-toolbar{gap:5px!important;margin:6px 0!important;flex-wrap:wrap!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-tip-pill,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-status{font-size:11px!important;padding:7px 9px!important;margin:5px 0!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board-shell,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-board-shell{
    width:min(100%,560px)!important;
    max-width:560px!important;
    aspect-ratio:1!important;
    margin:7px auto 0!important;
    padding:7px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-board{width:100%!important;height:100%!important;aspect-ratio:1!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-mobile-panel-toggle{width:min(100%,560px)!important;margin:6px auto 0!important}

  /* Aventura: escena real 16:9 + controles visibles inmediatamente. */
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-game{padding:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-bottom:6px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud>div{padding:5px 2px!important;font-size:9px!important;border-radius:11px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud strong{font-size:14px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls{width:100%!important;max-width:520px!important;grid-template-columns:1fr 1.35fr 1fr!important;gap:6px!important;margin:7px auto 0!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls button{min-height:48px!important;height:48px!important;font-size:20px!important;padding:4px 6px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls [data-platform-jump]{font-size:13px!important}

  /* Detective: mantener la solución actual y evitar crecimiento vertical inútil. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-game{min-height:0!important;height:auto!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-stage{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important}

  /* Tienda: escena primero, panel sólo cuando el usuario lo pide. */
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-economy-game{padding:5px!important;overflow:auto!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopbar{padding:5px!important;gap:4px!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-wrap{display:block!important;width:100%!important;max-width:none!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-stage{width:100%!important;max-width:100%!important;margin:0 auto!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-mobile-panel-toggle{width:100%!important;margin:5px 0!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-panel{width:100%!important;max-width:none!important;margin:0!important}
}

/* Teléfonos verticales angostos: compactar todavía más sin sacrificar toque. */
@media (any-pointer:coarse) and (orientation:portrait) and (max-width:430px){
  .lat-world[data-lat-input="touch"] .lat-game-title-row h3{font-size:22px!important}
  .lat-world[data-lat-input="touch"] .lat-game-tag{font-size:8px!important;padding:4px 7px!important}
  .lat-world[data-lat-input="touch"] .lat-game-share-btn span{display:none!important}
  .lat-world[data-lat-input="touch"] .lat-game-share-btn{width:42px!important;min-width:42px!important;padding:4px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-stage{width:min(44vw,190px)!important;max-width:190px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls button{min-height:42px!important;height:42px!important;font-size:16px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board-shell,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-board-shell{padding:5px!important}
}

/* ---------- HORIZONTAL: teléfonos y tablets táctiles ---------- */
@media (any-pointer:coarse) and (orientation:landscape){
  .lat-world[data-lat-input="touch"] .lat-game-fullscreen-bar{
    min-height:42px!important;
    padding:3px 7px!important;
    margin-bottom:4px!important;
    border-radius:12px!important;
  }
  .lat-world[data-lat-input="touch"] .lat-fullscreen-exit{min-height:34px!important;padding:4px 9px!important;font-size:10px!important}
  .lat-world[data-lat-input="touch"] .lat-fullscreen-orientation{font-size:10px!important}
  .lat-world[data-lat-input="touch"] .lat-game-title-row{display:none!important}

  /* En horizontal los paneles secundarios no deben quitar espacio al juego. */
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-mobile-panel-toggle,
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-mobile-panel-toggle,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-mobile-panel-toggle,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-mobile-panel-toggle,
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-mobile-panel-toggle{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-sidebar,
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-sidebar,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-sidebar,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-sidebar,
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-sidebar{display:none!important}

  /* Memoria: tablero ocupa el alto útil, sin la gran barra lateral. */
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-game{padding:5px!important;overflow:hidden!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-shell{display:block!important;width:100%!important;height:100%!important;min-height:0!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-main{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-brand,
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-footer-strip{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0 0 4px!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-hud>div{min-height:32px!important;padding:3px!important;border-radius:9px!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-hud span,
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-hud strong{font-size:9px!important;line-height:1!important}
  .lat-world[data-lat-input="touch"].lat-active-memory .lat-memory-board{
    width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;max-height:none!important;
    padding:5px!important;gap:4px!important;border-width:3px!important;border-radius:13px!important;overflow:hidden!important;
  }

  /* Carrera y otros canvas anchos: HUD + escena + controles, todos dentro del alto. */
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-game,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-game,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-game,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-game,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-game{
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    width:100%!important;height:100%!important;min-height:0!important;
    padding:4px!important;gap:4px!important;overflow:hidden!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-hud,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-hud,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;margin:0!important;min-height:0!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud>div{
    min-height:32px!important;padding:3px 4px!important;font-size:9px!important;border-radius:10px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-stage,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-stage,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-stage,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-stage{
    justify-self:center!important;align-self:center!important;
    height:100%!important;width:auto!important;min-height:0!important;max-height:100%!important;max-width:100%!important;flex:none!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-stage{aspect-ratio:960/520!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-stage,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-stage{aspect-ratio:900/520!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-stage,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-stage{aspect-ratio:16/9!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-canvas,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-canvas,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-canvas,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-canvas,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-canvas{width:100%!important;height:100%!important;max-height:none!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls{
    position:static!important;left:auto!important;right:auto!important;bottom:auto!important;
    width:min(100%,720px)!important;max-width:720px!important;margin:0 auto!important;padding:0!important;gap:5px!important;pointer-events:auto!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;display:grid!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls button,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls button,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls button,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls button,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls button{height:38px!important;min-height:38px!important;padding:3px 6px!important;font-size:18px!important}
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls [data-platform-jump]{font-size:11px!important}

  /* DINO / Constructor layout no debe reservar sidebar oculto. */
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-layout,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-layout{display:contents!important}
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-main,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-main{display:contents!important}

  /* Paquetes horizontal: tablero vertical + controles al costado, sin estirarlo. */
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-game{padding:4px!important;overflow:hidden!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-layout{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(180px,.7fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:"hud hud hud" ". stage controls"!important;
    width:100%!important;height:100%!important;min-height:0!important;gap:5px 10px!important;align-items:center!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud{grid-area:hud!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud>div{padding:3px!important;font-size:8px!important;border-radius:9px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-hud strong{font-size:13px!important;line-height:1!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-stage{
    grid-area:stage!important;height:100%!important;width:auto!important;max-width:none!important;max-height:100%!important;aspect-ratio:1/2!important;margin:0!important;justify-self:center!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-canvas{width:100%!important;height:100%!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls{
    grid-area:controls!important;display:grid!important;grid-template-columns:repeat(2,minmax(64px,1fr))!important;gap:6px!important;width:min(100%,260px)!important;max-width:260px!important;margin:0!important;align-self:center!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls button{height:44px!important;min-height:44px!important;font-size:17px!important;padding:3px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls button:last-child{grid-column:1/-1!important}

  /* Ajedrez y Damas: tablero tan grande como permita el ALTO, sin enormes laterales vacíos. */
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-game,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-game{padding:4px!important;overflow:hidden!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-layout,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-layout{display:block!important;width:100%!important;height:100%!important;max-width:none!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board-wrap,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-main{
    display:grid!important;grid-template-rows:auto auto auto minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;gap:4px!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud>div{min-height:30px!important;padding:2px 4px!important;font-size:8px!important;border-radius:9px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-hud strong,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-hud strong{font-size:13px!important;line-height:1!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-toolbar,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-toolbar{display:flex!important;justify-content:center!important;gap:5px!important;margin:0!important;min-height:34px!important;flex-wrap:nowrap!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-tip-pill,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-status{margin:0!important;padding:4px 8px!important;font-size:9px!important;line-height:1.05!important;text-align:center!important;min-height:28px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board-shell,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-board-shell{
    height:100%!important;width:auto!important;max-height:100%!important;max-width:100%!important;aspect-ratio:1!important;margin:0 auto!important;padding:5px!important;align-self:center!important;
  }
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-board,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-board{width:100%!important;height:100%!important;aspect-ratio:1!important}
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-sidebar{display:none!important}

  /* Detective: dos columnas limpias, sin cortar palabras. */
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-layout{grid-template-columns:minmax(0,1fr) clamp(230px,25vw,350px)!important;gap:7px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div{grid-template-columns:18px minmax(0,1fr)!important;white-space:nowrap!important;font-size:10px!important}
  .lat-world[data-lat-input="touch"].lat-active-detective .lat-detective-list>div strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important}

  /* Tienda: escena ocupa el centro; panel se abre debajo, nunca encima. */
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-economy-game{padding:4px!important;overflow:auto!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopbar{display:none!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-wrap{display:block!important;width:100%!important;max-width:none!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-stage{width:min(100%,calc((var(--lat-app-height,100dvh) - 105px) * 1.72))!important;max-width:100%!important;margin:0 auto!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-mobile-panel-toggle{width:min(100%,560px)!important;margin:4px auto!important;min-height:36px!important}
  .lat-world[data-lat-input="touch"].lat-active-economy .lat-shopgame-panel{position:static!important;width:100%!important;max-width:none!important;margin:5px 0 0!important}
}

/* Horizontal MUY BAJO: teléfonos compactos, mantener controles y tablero. */
@media (any-pointer:coarse) and (orientation:landscape) and (max-height:430px){
  .lat-world[data-lat-input="touch"] .lat-game-fullscreen-bar{min-height:36px!important;margin-bottom:3px!important;padding:2px 6px!important}
  .lat-world[data-lat-input="touch"] .lat-fullscreen-exit{min-height:30px!important;padding:3px 8px!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-hud>div,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-hud>div{min-height:27px!important;padding:2px!important;font-size:8px!important}
  .lat-world[data-lat-input="touch"].lat-active-race .lat-race-controls button,
  .lat-world[data-lat-input="touch"].lat-active-dino .lat-dino-controls button,
  .lat-world[data-lat-input="touch"].lat-active-constructor .lat-constructor-controls button,
  .lat-world[data-lat-input="touch"].lat-active-football .lat-football-controls button,
  .lat-world[data-lat-input="touch"].lat-active-platform .lat-platform-controls button{height:34px!important;min-height:34px!important;font-size:16px!important}
  .lat-world[data-lat-input="touch"].lat-active-packages .lat-packages-controls button{height:38px!important;min-height:38px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-toolbar,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-toolbar{min-height:30px!important}
  .lat-world[data-lat-input="touch"].lat-active-chess .lat-chess-tip-pill,
  .lat-world[data-lat-input="touch"].lat-active-checkers .lat-checkers-status{display:none!important}
}
\n\n/* ==========================================================\n   v5.9.1 — ORIENTACIÓN ÓPTIMA POR JUEGO EN MÓVIL/TABLET\n   ========================================================== */\n.lat-orientation-gate[hidden]{display:none!important}\n.lat-orientation-gate{\n  grid-row:2!important;grid-column:1!important;align-self:stretch!important;justify-self:stretch!important;\n  position:relative!important;z-index:9000!important;display:grid!important;place-items:center!important;\n  width:100%!important;height:100%!important;min-height:0!important;overflow:auto!important;\n  padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;\n  background:linear-gradient(145deg,rgba(12,34,68,.96),rgba(27,91,116,.96) 58%,rgba(120,72,113,.96))!important;\n  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;\n}\n.lat-orientation-gate-card{\n  width:min(92%,480px)!important;max-width:480px!important;text-align:center!important;color:#173253!important;\n  background:linear-gradient(180deg,#fff,#f3f8ff)!important;border:4px solid #ffe16b!important;border-radius:30px!important;\n  padding:clamp(18px,4vw,30px)!important;box-shadow:0 22px 50px rgba(0,0,0,.34)!important;\n}\n.lat-orientation-gate-phone{display:inline-grid!important;place-items:center!important;width:96px!important;height:96px!important;margin:0 auto 8px!important;font-size:70px!important;line-height:1!important;transform-origin:center!important;transition:transform .28s ease!important}\n.lat-world[data-required-orientation="landscape"] .lat-orientation-gate-phone{transform:rotate(90deg)!important}\n.lat-world[data-required-orientation="portrait"] .lat-orientation-gate-phone{transform:rotate(0deg)!important}\n.lat-orientation-gate-tag{display:inline-block!important;background:#173b70!important;color:#fff!important;border-radius:999px!important;padding:7px 13px!important;font-size:11px!important;font-weight:950!important;letter-spacing:.08em!important}\n.lat-orientation-gate-card h3{margin:12px 0 8px!important;font-size:clamp(26px,6vw,38px)!important;line-height:1.04!important;color:#173253!important}\n.lat-orientation-gate-card p{margin:0 auto!important;max-width:390px!important;font-size:clamp(15px,3.8vw,19px)!important;line-height:1.35!important;font-weight:800!important;color:#40536c!important}\n.lat-orientation-gate-tip{margin:16px auto 0!important;background:#eaf5ff!important;border:2px solid #d6e9fb!important;border-radius:18px!important;padding:11px 12px!important;font-size:13px!important;line-height:1.3!important;font-weight:850!important;color:#27445f!important}\n.lat-world[data-lat-input="touch"].lat-orientation-blocked .lat-game-screen>[data-game]:not([hidden]){pointer-events:none!important;user-select:none!important;-webkit-user-select:none!important;overflow:hidden!important}\n.lat-world[data-lat-input="touch"].lat-orientation-blocked .lat-game-fullscreen-bar{z-index:9100!important}\n\n@media (any-pointer:coarse) and (orientation:landscape) and (max-height:500px){\n .lat-orientation-gate{padding:6px 12px!important}\n .lat-orientation-gate-card{width:min(94%,620px)!important;max-width:620px!important;display:grid!important;grid-template-columns:92px 1fr!important;grid-template-areas:'phone tag' 'phone title' 'phone copy' 'phone tip'!important;column-gap:18px!important;align-items:center!important;padding:12px 18px!important;border-radius:22px!important;text-align:left!important}\n .lat-orientation-gate-phone{grid-area:phone!important;width:82px!important;height:82px!important;font-size:60px!important;margin:0!important}\n .lat-orientation-gate-tag{grid-area:tag!important;justify-self:start!important;font-size:9px!important;padding:5px 9px!important}\n .lat-orientation-gate-card h3{grid-area:title!important;font-size:25px!important;margin:5px 0 2px!important}\n .lat-orientation-gate-card p{grid-area:copy!important;font-size:13px!important;margin:0!important}\n .lat-orientation-gate-tip{grid-area:tip!important;font-size:10px!important;padding:6px 8px!important;margin:5px 0 0!important}\n}\n
/* ==========================================================
   v5.9.2 — HUB COMPACTO / FULL WIDTH / SIN HUECO SUPERIOR
   Solo afecta la portada del Mundo León; no modifica juegos.
   ========================================================== */

/* El shortcode empieza inmediatamente debajo de la cabecera del sitio. */
body.lat-games-page #content,
body.lat-games-page .site-content,
body.lat-games-page .site-content>.ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page main.site-main,
body.lat-games-page article.page,
body.lat-games-page article.page>.entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode,
body.lat-games-page .elementor,
body.lat-games-page .elementor-section,
body.lat-games-page .elementor-container,
body.lat-games-page .elementor-column,
body.lat-games-page .elementor-widget-wrap,
body.lat-games-page .elementor-widget-shortcode,
body.lat-games-page .elementor-widget-container {
  margin-top:0!important;
  padding-top:0!important;
  min-height:0!important;
}

/* Espaciadores típicos que provocan el gran vacío en esta página. */
body.lat-games-page .wp-block-spacer,
body.lat-games-page .elementor-widget-spacer,
body.lat-games-page .elementor-spacer,
body.lat-games-page .entry-content>p:has(>br:only-child),
body.lat-games-page .wp-block-post-content>p:has(>br:only-child){
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Si el shortcode está dentro de un grupo/sección con altura mínima, liberarla. */
body.lat-games-page .wp-block-group:has(.lat-world),
body.lat-games-page .wp-block-columns:has(.lat-world),
body.lat-games-page .wp-block-column:has(.lat-world),
body.lat-games-page .elementor-section:has(.lat-world),
body.lat-games-page .elementor-container:has(.lat-world),
body.lat-games-page .elementor-column:has(.lat-world),
body.lat-games-page .elementor-element:has(.lat-world){
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* El hub usa prácticamente todo el ancho útil de la ventana. */
body.lat-games-page .lat-world:not(.lat-game-mode){
  width:min(1900px,calc(100vw - 18px))!important;
  max-width:1900px!important;
  margin:8px auto 26px!important;
  padding:clamp(12px,1.35vw,22px)!important;
  border-radius:28px!important;
}

/* Cabecera compacta: conserva identidad pero consume menos alto. */
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-header{
  padding:2px 8px 10px!important;
  gap:12px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-header h2{
  font-size:clamp(31px,2.65vw,48px)!important;
  margin:3px 0!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-header p{
  margin:4px 0 0!important;
  font-size:clamp(12px,.9vw,15px)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-header .lat-icon-btn{
  width:46px!important;height:46px!important;flex:0 0 46px!important;
}

/* Portada violeta más baja y mejor aprovechada. */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card{
  min-height:0!important;
  margin-bottom:10px!important;
  padding:13px 18px!important;
  gap:14px!important;
  border-radius:24px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-orbit{
  width:94px!important;height:72px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-lion{font-size:55px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-orbit>span{font-size:17px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card h3{
  font-size:clamp(24px,2.35vw,38px)!important;
  line-height:1.02!important;
  margin:3px 0!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card p{
  margin:4px 0!important;
  font-size:clamp(11px,.92vw,14px)!important;
  line-height:1.28!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-badge{
  padding:5px 9px!important;font-size:9px!important;
}

/* Progreso: misma información en bastante menos alto. */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-world{
  margin:10px 0 14px!important;
  padding:11px!important;
  border-radius:22px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile{
  grid-template-columns:62px minmax(0,1fr) auto!important;
  gap:10px!important;
  padding:9px 11px!important;
  border-radius:16px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-avatar{
  width:54px!important;height:54px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-avatar img{
  width:100%!important;height:100%!important;object-fit:contain!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile h3{
  font-size:20px!important;margin:2px 0!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile p{
  font-size:11px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-xp{
  height:7px!important;margin-top:5px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-level{
  min-width:58px!important;padding:7px!important;border-radius:14px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-level strong{font-size:25px!important}

/* En escritorio los doce accesos entran en una sola fila: el mapa se ve de inmediato. */
@media (min-width:1180px){
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map{
   grid-template-columns:repeat(12,minmax(0,1fr))!important;
   gap:6px!important;
   margin:9px 0!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map button{
   padding:7px 3px!important;border-radius:13px!important;min-width:0!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map span{font-size:20px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map strong{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map small{font-size:12px!important;margin-top:2px!important}
}

/* Misiones secundarias: compactas y sin empujar la grilla hacia abajo. */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list{
  gap:7px!important;margin-top:7px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article{
  min-height:0!important;padding:8px 10px!important;border-radius:14px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article>span{font-size:20px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article strong{font-size:11px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article small{font-size:9px!important}

/* Tarjetas: más cantidad visible en pantalla, pero manteniendo legibilidad. */
@media (min-width:1280px){
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{
   grid-template-columns:repeat(6,minmax(0,1fr))!important;
   gap:11px!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{
   min-height:225px!important;
   padding:13px!important;
   border-radius:20px!important;
   border-width:3px!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-art{
   font-size:38px!important;min-height:52px!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{
   font-size:19px!important;margin:7px 0 4px!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{
   font-size:11px!important;line-height:1.3!important;
 }
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-play-pill{
   margin-top:auto!important;padding:7px 10px!important;font-size:11px!important;
 }
}

/* Marcadores finales menos altos. */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores{
  gap:7px!important;margin-top:12px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores div{
  min-height:62px!important;padding:8px!important;border-radius:14px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores strong{font-size:21px!important}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-footer{margin-top:8px!important}

/* Tablet: compacta, pero conserva aire para tocar con comodidad. */
@media (min-width:641px) and (max-width:1179px){
 body.lat-games-page .lat-world:not(.lat-game-mode){width:calc(100vw - 14px)!important;margin-top:6px!important;padding:12px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card{padding:12px 14px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-world{margin:8px 0 12px!important;padding:9px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Teléfono: elimina huecos del tema sin comprimir de más la portada. */
@media (max-width:640px){
 body.lat-games-page .lat-world:not(.lat-game-mode){margin-top:4px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-header{padding:3px 5px 9px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card{padding:11px!important;gap:8px!important;margin-bottom:8px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-orbit{width:66px!important;height:62px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-lion{font-size:45px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card h3{font-size:22px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-world{margin:8px 0 10px!important;padding:8px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile{grid-template-columns:48px minmax(0,1fr) auto!important;padding:8px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-avatar{width:44px!important;height:44px!important}
}

/* ==========================================================
   v5.9.5 — PORTADA PREMIUM / MUNDO LEÓN INMERSIVO
   Solo portada. No modifica la lógica interna de los juegos.
   ========================================================== */
body.lat-games-page,
body.lat-games-page #page,
body.lat-games-page .site,
body.lat-games-page #content,
body.lat-games-page .site-content{
  background:#071a3f!important;
}
body.lat-games-page .site-content,
body.lat-games-page .site-content>.ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page main.site-main,
body.lat-games-page article.page,
body.lat-games-page article.page>.entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode,
body.lat-games-page .elementor,
body.lat-games-page .elementor-section,
body.lat-games-page .elementor-container,
body.lat-games-page .elementor-column,
body.lat-games-page .elementor-widget-wrap,
body.lat-games-page .elementor-widget-shortcode,
body.lat-games-page .elementor-widget-container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.lat-games-page .entry-header,
body.lat-games-page .entry-title{display:none!important}

body.lat-games-page .lat-world:not(.lat-game-mode){
  --pro-navy:#061a42;
  --pro-blue:#073c8f;
  --pro-cyan:#22d8ff;
  --pro-purple:#6a2df2;
  --pro-yellow:#ffd62d;
  width:100vw!important;
  max-width:none!important;
  margin:0 0 34px 50%!important;
  transform:translateX(-50%)!important;
  padding:0 18px 34px!important;
  border-radius:0!important;
  color:#fff!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(31,218,255,.18),transparent 25%),
    radial-gradient(circle at 18% 24%,rgba(106,45,242,.22),transparent 28%),
    linear-gradient(180deg,#06173c 0%,#07265c 42%,#061a42 100%)!important;
  box-shadow:none!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode)::before{
  content:"";
  position:absolute;inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 12% 6%,rgba(255,255,255,.9) 0 1px,transparent 2px),
    radial-gradient(circle at 22% 14%,rgba(255,230,87,.8) 0 1.4px,transparent 2.3px),
    radial-gradient(circle at 36% 5%,rgba(255,255,255,.72) 0 1px,transparent 2px),
    radial-gradient(circle at 53% 11%,rgba(122,220,255,.9) 0 1.2px,transparent 2.2px),
    radial-gradient(circle at 70% 5%,rgba(255,255,255,.8) 0 1px,transparent 2px),
    radial-gradient(circle at 91% 18%,rgba(255,219,69,.85) 0 1.2px,transparent 2.1px);
  opacity:.85;
}

/* HERO */
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{
  position:relative!important;
  min-height:560px!important;
  width:calc(100% + 36px)!important;
  margin:0 -18px 18px!important;
  padding:clamp(44px,5vw,82px) clamp(28px,6vw,108px)!important;
  display:grid!important;
  grid-template-columns:minmax(400px,.9fr) minmax(460px,1.1fr)!important;
  align-items:center!important;
  gap:clamp(18px,3vw,58px)!important;
  overflow:hidden!important;
  isolation:isolate;
  border-radius:0 0 34px 34px!important;
  background:
    linear-gradient(90deg,rgba(4,17,58,.92) 0%,rgba(4,24,70,.73) 44%,rgba(1,43,84,.28) 70%,rgba(0,0,0,.08) 100%),
    linear-gradient(180deg,rgba(6,24,74,.18),rgba(2,16,49,.86)),
    url('../images/dino-bg_valley.png') center 44%/cover no-repeat!important;
  box-shadow:0 28px 70px rgba(0,0,0,.28)!important;
}
body.lat-games-page .lat-pro-hero-bg{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(circle at 73% 52%,rgba(39,215,255,.20),transparent 18%),
    radial-gradient(circle at 55% 12%,rgba(255,214,45,.12),transparent 24%),
    linear-gradient(180deg,rgba(2,15,50,.03),rgba(4,14,42,.52));
}
body.lat-games-page .lat-pro-hero-copy{position:relative;z-index:5;max-width:760px}
body.lat-games-page .lat-pro-hero .lat-kicker{
  display:inline-block!important;
  color:#ffd83d!important;
  font-size:clamp(12px,1vw,15px)!important;
  letter-spacing:.15em!important;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
body.lat-games-page .lat-pro-hero h2{
  margin:12px 0 16px!important;
  max-width:780px;
  font-size:clamp(54px,6vw,98px)!important;
  line-height:.88!important;
  letter-spacing:-.045em!important;
  color:#fff!important;
  text-shadow:0 8px 28px rgba(0,0,0,.38)!important;
}
body.lat-games-page .lat-pro-hero h2 span{display:block;color:#fff}
body.lat-games-page .lat-pro-hero h2::first-letter{color:#fff}
body.lat-games-page .lat-pro-hero p{
  max-width:660px!important;
  margin:0!important;
  color:#eaf6ff!important;
  font-size:clamp(17px,1.5vw,23px)!important;
  line-height:1.45!important;
  font-weight:750!important;
  text-shadow:0 2px 12px rgba(0,0,0,.32);
}
body.lat-games-page .lat-pro-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 20px}
body.lat-games-page .lat-pro-cta{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:58px;padding:0 24px;border-radius:18px;
  text-decoration:none!important;font-size:15px;font-weight:950;text-transform:uppercase;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body.lat-games-page .lat-pro-cta:hover{transform:translateY(-3px);filter:brightness(1.04)}
body.lat-games-page .lat-pro-cta-main{
  color:#0a2454!important;background:linear-gradient(135deg,#ffe64f,#ffb916)!important;
  box-shadow:0 10px 0 #c88405,0 18px 34px rgba(255,195,20,.24);
}
body.lat-games-page .lat-pro-cta-alt{
  color:#fff!important;background:rgba(8,35,92,.66)!important;
  border:1px solid rgba(117,196,255,.42);box-shadow:0 14px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
}
body.lat-games-page .lat-pro-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:610px}
body.lat-games-page .lat-pro-hero-stats span{
  display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:5px;
  min-height:72px;padding:11px 14px;border-radius:16px;
  color:#fff;background:rgba(4,31,82,.68);border:1px solid rgba(103,187,255,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(8px)
}
body.lat-games-page .lat-pro-hero-stats strong{font-size:28px;color:#fff}
body.lat-games-page .lat-pro-hero-stats small{display:block;grid-column:2/-1;margin-top:-8px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#a6c9ff;font-weight:900}
body.lat-games-page .lat-pro-sound{position:absolute!important;right:28px;top:28px;z-index:12!important;width:52px!important;height:52px!important}
body.lat-games-page .lat-pro-hero-visual{position:relative;align-self:stretch;min-height:470px;z-index:2}
body.lat-games-page .lat-pro-hero-lion{
  position:absolute;z-index:6;right:23%;bottom:-18px;width:min(43vw,470px);max-height:520px;object-fit:contain;
  filter:drop-shadow(0 26px 24px rgba(0,0,0,.38));
  transform:scale(1.12);
}
body.lat-games-page .lat-pro-castle{position:absolute;z-index:2;right:1%;bottom:22px;width:46%;height:72%;filter:drop-shadow(0 20px 24px rgba(0,0,0,.32))}
body.lat-games-page .lat-castle-body{position:absolute;left:16%;right:16%;bottom:0;height:74%;border-radius:22px 22px 8px 8px;background:linear-gradient(90deg,#173d68,#2b6595 45%,#16375e);border:4px solid rgba(119,186,238,.42);box-shadow:inset 0 0 0 7px rgba(4,20,53,.20)}
body.lat-games-page .lat-tower{position:absolute;bottom:0;width:28%;height:88%;border-radius:32px 32px 8px 8px;background:linear-gradient(90deg,#143760,#2a5f8f,#14355b);border:4px solid rgba(119,186,238,.40)}
body.lat-games-page .lat-tower::before{content:"";position:absolute;left:12%;right:12%;top:-10px;height:24px;border-radius:8px;background:repeating-linear-gradient(90deg,#254e7c 0 18%,#112f56 18% 30%)}
body.lat-games-page .lat-tower-left{left:0}.lat-tower-right{right:0}
body.lat-games-page .lat-portal-ring{
  position:absolute;z-index:4;left:50%;bottom:9%;width:48%;aspect-ratio:1;border-radius:50%;transform:translateX(-50%);
  border:14px solid #38cfff;background:radial-gradient(circle,#e9fdff 0 8%,#66e6ff 9% 18%,#128fff 27%,#1630a8 48%,#020d37 66%);
  box-shadow:0 0 18px #8ff4ff,0 0 46px #19bfff,0 0 90px rgba(78,54,255,.72),inset 0 0 34px #fff;
  animation:latPortalPulse 2.7s ease-in-out infinite;
}
@keyframes latPortalPulse{50%{filter:brightness(1.18);transform:translateX(-50%) scale(1.035)}}
body.lat-games-page .lat-pro-spark{position:absolute;z-index:8;color:#ffe85e;text-shadow:0 0 12px #fff,0 0 28px #ffd43b;animation:latSpark 2.2s ease-in-out infinite}
body.lat-games-page .lat-pro-spark-a{right:46%;top:18%;font-size:30px}.lat-pro-spark-b{right:9%;top:25%;font-size:22px;animation-delay:.8s}.lat-pro-spark-c{right:18%;bottom:19%;font-size:18px;animation-delay:1.4s}
@keyframes latSpark{50%{transform:scale(1.35) rotate(18deg);opacity:.48}}

/* HUB / MISIÓN */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hub{position:relative;z-index:2;max-width:1760px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card{
  position:relative!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:18px!important;
  margin:0!important;padding:20px 26px!important;border-radius:24px!important;color:#fff!important;
  background:linear-gradient(100deg,#4f138d 0%,#7f1ac9 44%,#4a1aa9 100%)!important;
  border:1px solid rgba(255,100,255,.48)!important;box-shadow:0 18px 40px rgba(61,10,113,.28),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card::before{content:"🏆";position:absolute;right:22%;bottom:-6px;font-size:78px;filter:drop-shadow(0 10px 9px rgba(0,0,0,.35));opacity:.82}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card::after{content:"✦"!important;right:18%!important;top:9px!important;width:auto!important;height:auto!important;border-radius:0!important;background:none!important;color:#ffe951;font-size:28px;text-shadow:0 0 16px #fff}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-orbit{width:96px!important;height:88px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-lion{font-size:68px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card h3{font-size:clamp(27px,2.6vw,45px)!important;line-height:1!important;margin:4px 0 6px!important;color:#fff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card p{max-width:920px;font-size:14px!important;color:#f3eaff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-badge{background:#ffdd39!important;color:#1b2a58!important;font-weight:950!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-world{
  margin:0!important;padding:14px!important;border-radius:24px!important;
  background:linear-gradient(135deg,#071c4d,#0a3473 72%,#083c64)!important;border:1px solid rgba(69,176,255,.35)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;color:#fff!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile{
  grid-template-columns:76px minmax(0,1fr) 88px!important;gap:14px!important;padding:12px 14px!important;border-radius:18px!important;
  background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.13)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-avatar{width:68px!important;height:68px!important;background:linear-gradient(145deg,#ffd739,#ff8b22)!important;border:4px solid #fff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile h3{font-size:24px!important;color:#fff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile p{color:#bdd7ff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-level{background:#fff!important;color:#102b5f!important;box-shadow:0 8px 24px rgba(0,0,0,.18)}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:7px!important;margin:11px 0!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map button{
  min-height:74px!important;padding:8px 4px!important;border-radius:14px!important;color:#fff!important;
  background:linear-gradient(180deg,rgba(31,84,143,.76),rgba(9,44,92,.86))!important;border:1px solid rgba(101,182,255,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map button:hover{transform:translateY(-3px);border-color:#56dfff!important;box-shadow:0 10px 22px rgba(0,0,0,.18)!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map strong{font-size:9px!important;color:#fff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map small{color:#ffd93b!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article{background:rgba(2,19,56,.58)!important;color:#fff!important;border:1px solid rgba(92,168,255,.18)!important;min-height:84px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article small{color:#b7d2ff!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list article b{color:#ffdc39!important}

/* SECTION TITLES */
body.lat-games-page .lat-pro-section-title{padding:10px 4px 2px;color:#fff}
body.lat-games-page .lat-pro-section-title span{font-size:12px;font-weight:950;letter-spacing:.11em;color:#ffd83c}
body.lat-games-page .lat-pro-section-title h3{margin:5px 0 4px;font-size:clamp(28px,2.2vw,42px);line-height:1;color:#fff}
body.lat-games-page .lat-pro-section-title p{margin:0;color:#aecdff;font-weight:700}
body.lat-games-page .lat-pro-scores-title{padding-top:16px}

/* GAME CARDS */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{
  min-height:290px!important;padding:18px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.42)!important;
  color:#fff!important;box-shadow:0 16px 32px rgba(0,0,0,.20)!important;overflow:hidden!important;
  background-size:cover!important;background-position:center!important;
  isolation:isolate;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::before{
  content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,17,47,.10),rgba(4,14,39,.86));
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card:hover{transform:translateY(-7px) scale(1.01);box-shadow:0 24px 42px rgba(0,0,0,.28)!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art{font-size:42px!important;min-height:58px!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.28))}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-tag{background:rgba(5,30,77,.86)!important;border:1px solid rgba(255,255,255,.18);font-size:9px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{font-size:25px!important;line-height:1!important;margin:9px 0 6px!important;color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.36)}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{font-size:12px!important;line-height:1.38!important;color:#f5f8ff!important;text-shadow:0 1px 6px rgba(0,0,0,.38)}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-play-pill{margin-top:auto!important;background:#fff!important;color:#09275d!important;padding:8px 12px!important;font-size:11px!important;box-shadow:0 6px 0 rgba(0,0,0,.14)!important}
body.lat-games-page .lat-river-card{background-image:linear-gradient(145deg,#078bc8cc,#03d2e6bb)!important}
body.lat-games-page .lat-memory-card{background-image:linear-gradient(145deg,rgba(255,177,36,.88),rgba(255,106,34,.78)),url('../images/leon.jpg')!important}
body.lat-games-page .lat-race-card{background-image:linear-gradient(145deg,rgba(255,31,125,.90),rgba(111,30,218,.82)),url('../images/cart.jpg')!important}
body.lat-games-page .lat-packages-card{background-image:linear-gradient(145deg,rgba(255,126,20,.86),rgba(79,36,177,.74)),url('../images/shop-truck-real.png')!important}
body.lat-games-page .lat-dino-card{background-image:linear-gradient(145deg,rgba(15,136,72,.68),rgba(140,90,18,.54)),url('../images/dino-bg_volcano.png')!important}
body.lat-games-page .lat-constructor-card{background-image:linear-gradient(145deg,rgba(245,154,20,.70),rgba(96,50,13,.44)),url('../images/constructor-bg.png')!important}
body.lat-games-page .lat-football-card{background-image:linear-gradient(145deg,rgba(15,125,61,.66),rgba(1,48,92,.46)),url('../images/football-bg.png')!important}
body.lat-games-page .lat-chess-card{background-image:linear-gradient(145deg,rgba(68,29,135,.62),rgba(17,23,62,.68)),url('../images/chess-hero-generated.png')!important}
body.lat-games-page .lat-checkers-card{background-image:linear-gradient(145deg,#183f78,#4d287b)!important}
body.lat-games-page .lat-platform-card{background-image:linear-gradient(145deg,rgba(42,29,151,.58),rgba(7,27,73,.66)),url('../images/platform-uy-01-rambla.jpg')!important}
body.lat-games-page .lat-detective-card{background-image:linear-gradient(145deg,rgba(5,73,119,.58),rgba(11,28,64,.70)),url('../images/detective-scene-plaza.png')!important}
body.lat-games-page .lat-economy-card{background-image:linear-gradient(145deg,rgba(2,104,88,.58),rgba(9,35,63,.72)),url('../images/shop-store-real-bg.png')!important}

/* SCORES */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;margin-top:0!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores div{
  min-height:76px!important;padding:10px!important;border-radius:14px!important;color:#fff!important;
  background:linear-gradient(180deg,rgba(16,66,125,.78),rgba(6,34,78,.92))!important;border:1px solid rgba(88,172,255,.22)!important;box-shadow:none!important
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores span{color:#9ec7ff!important;font-size:9px!important}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores strong{font-size:23px!important;color:#fff!important}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-world-footer{color:#7fa9df!important}

@media (max-width:1300px){
 body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{grid-template-columns:1fr 1fr!important;min-height:520px!important;padding-left:42px!important;padding-right:42px!important}
 body.lat-games-page .lat-pro-hero h2{font-size:clamp(48px,6vw,78px)!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:980px){
 body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{grid-template-columns:1fr!important;min-height:auto!important;padding:40px 24px 20px!important}
 body.lat-games-page .lat-pro-hero-copy{max-width:none}
 body.lat-games-page .lat-pro-hero-visual{min-height:340px!important}
 body.lat-games-page .lat-pro-hero-lion{right:28%;width:320px;bottom:-6px}
 body.lat-games-page .lat-pro-castle{right:5%;width:42%;height:78%}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:640px){
 body.lat-games-page .lat-world:not(.lat-game-mode){padding:0 8px 20px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{width:calc(100% + 16px)!important;margin:0 -8px 12px!important;padding:28px 16px 14px!important;border-radius:0 0 22px 22px!important}
 body.lat-games-page .lat-pro-hero h2{font-size:clamp(42px,14vw,60px)!important;margin-bottom:12px!important}
 body.lat-games-page .lat-pro-hero p{font-size:15px!important}
 body.lat-games-page .lat-pro-hero-actions{display:grid;grid-template-columns:1fr;margin:18px 0 16px}
 body.lat-games-page .lat-pro-cta{min-height:52px;width:100%}
 body.lat-games-page .lat-pro-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body.lat-games-page .lat-pro-hero-stats span{grid-template-columns:1fr;text-align:center;justify-items:center;padding:8px 4px;min-height:64px;font-size:13px}
 body.lat-games-page .lat-pro-hero-stats strong{font-size:22px}
 body.lat-games-page .lat-pro-hero-stats small{grid-column:auto;margin:0;font-size:7px}
 body.lat-games-page .lat-pro-hero-visual{min-height:285px!important}
 body.lat-games-page .lat-pro-hero-lion{right:24%;width:260px;bottom:-8px}
 body.lat-games-page .lat-pro-castle{right:0;width:48%;height:78%}
 body.lat-games-page .lat-pro-sound{right:12px!important;top:12px!important;width:44px!important;height:44px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card{grid-template-columns:68px minmax(0,1fr)!important;padding:14px!important;border-radius:18px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card::before{display:none}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card h3{font-size:23px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-hero-card p{font-size:12px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile{grid-template-columns:52px minmax(0,1fr) 58px!important;padding:9px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-avatar{width:48px!important;height:48px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-profile h3{font-size:18px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-map{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-mission-list{grid-template-columns:1fr!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{grid-template-columns:1fr!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:250px!important}
 body.lat-games-page .lat-world:not(.lat-game-mode) .lat-global-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ==========================================================
   v5.9.6 — Hero superior definitivo / navegación propia
   Solo reemplaza la zona superior. El hub y juegos mantienen
   el diseño aprobado en v5.9.5.
   ========================================================== */

/* La página de juegos funciona como experiencia independiente. */
body.lat-games-page #masthead,
body.lat-games-page header.site-header,
body.lat-games-page .site-header,
body.lat-games-page .ast-primary-header-bar,
body.lat-games-page .main-header-bar,
body.lat-games-page .elementor-location-header{
  display:none!important;
}
body.lat-games-page #content,
body.lat-games-page .site-content,
body.lat-games-page .site-content>.ast-container,
body.lat-games-page .site-content .ast-container,
body.lat-games-page #primary,
body.lat-games-page .content-area,
body.lat-games-page main.site-main,
body.lat-games-page article.page,
body.lat-games-page article.page>.entry-content,
body.lat-games-page .entry-content,
body.lat-games-page .wp-block-post-content,
body.lat-games-page .wp-block-shortcode{
  margin-top:0!important;
  padding-top:0!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode){
  padding-top:0!important;
}

/* HERO: composición limpia, sin castillos CSS ni PNG recortado. */
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{
  width:calc(100% + 36px)!important;
  min-height:620px!important;
  margin:0 -18px 20px!important;
  padding:86px clamp(30px,5.4vw,100px) 42px!important;
  display:grid!important;
  grid-template-columns:minmax(420px,.92fr) minmax(540px,1.08fr)!important;
  align-items:center!important;
  gap:clamp(18px,3vw,62px)!important;
  border-radius:0 0 36px 36px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:
    radial-gradient(circle at 70% 24%,rgba(36,173,255,.15),transparent 28%),
    radial-gradient(circle at 17% 12%,rgba(97,48,229,.14),transparent 30%),
    linear-gradient(135deg,#020b25 0%,#061943 42%,#06275a 100%)!important;
  box-shadow:0 30px 70px rgba(0,0,0,.34)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 22%,rgba(255,255,255,.82) 0 1px,transparent 2px),
    radial-gradient(circle at 24% 11%,rgba(255,221,79,.72) 0 1.2px,transparent 2.2px),
    radial-gradient(circle at 38% 17%,rgba(98,224,255,.78) 0 1px,transparent 2px),
    radial-gradient(circle at 49% 7%,rgba(255,255,255,.70) 0 1px,transparent 2px),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(1,8,27,.24));
}
body.lat-games-page .lat-pro-home{
  position:absolute;
  z-index:20;
  left:clamp(22px,3vw,52px);
  top:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border:1px solid rgba(147,199,255,.42);
  border-radius:999px;
  background:rgba(4,26,70,.74);
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 30px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter:blur(10px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
body.lat-games-page .lat-pro-home:hover{
  transform:translateY(-2px);
  background:#0b397d;
  border-color:#70cbff;
}
body.lat-games-page .lat-pro-sound{
  position:absolute!important;
  z-index:20!important;
  top:24px!important;
  right:clamp(22px,3vw,52px)!important;
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(147,199,255,.42)!important;
  background:rgba(4,26,70,.74)!important;
  color:#fff!important;
  box-shadow:0 10px 30px rgba(0,0,0,.20)!important;
  backdrop-filter:blur(10px);
}
body.lat-games-page .lat-pro-hero-copy{
  position:relative!important;
  z-index:5!important;
  max-width:760px!important;
  align-self:center!important;
}
body.lat-games-page .lat-pro-hero .lat-kicker{
  display:inline-flex!important;
  margin:0 0 12px!important;
  color:#ffd945!important;
  font-size:clamp(12px,.95vw,15px)!important;
  letter-spacing:.17em!important;
  font-weight:950!important;
  text-shadow:0 2px 18px rgba(0,0,0,.36)!important;
}
body.lat-games-page .lat-pro-hero h2{
  margin:0 0 18px!important;
  max-width:760px!important;
  font-size:clamp(64px,6.7vw,112px)!important;
  line-height:.83!important;
  letter-spacing:-.055em!important;
  text-shadow:0 10px 34px rgba(0,0,0,.42)!important;
}
body.lat-games-page .lat-pro-hero h2 span,
body.lat-games-page .lat-pro-hero h2 b{
  display:block!important;
  font:inherit!important;
}
body.lat-games-page .lat-pro-hero h2 span{color:#fff!important}
body.lat-games-page .lat-pro-hero h2 b{
  color:#ffd13b!important;
  background:linear-gradient(180deg,#ffe362,#ffb319);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
body.lat-games-page .lat-pro-hero p{
  max-width:670px!important;
  margin:0!important;
  color:#eef7ff!important;
  font-size:clamp(17px,1.35vw,22px)!important;
  line-height:1.42!important;
  font-weight:760!important;
}
body.lat-games-page .lat-pro-hero-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin:26px 0 22px!important;
}
body.lat-games-page .lat-pro-cta{
  min-height:58px!important;
  padding:0 24px!important;
  border-radius:18px!important;
  font-size:15px!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
}
body.lat-games-page .lat-pro-cta-main{
  color:#102653!important;
  background:linear-gradient(135deg,#ffe758,#ffb617)!important;
  box-shadow:0 9px 0 #bd7800,0 20px 38px rgba(255,181,19,.20)!important;
}
body.lat-games-page .lat-pro-cta-alt{
  color:#fff!important;
  background:linear-gradient(135deg,rgba(83,42,185,.92),rgba(61,31,151,.86))!important;
  border:1px solid rgba(171,132,255,.52)!important;
  box-shadow:0 15px 32px rgba(0,0,0,.20)!important;
}
body.lat-games-page .lat-pro-hero-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  max-width:610px!important;
}
body.lat-games-page .lat-pro-hero-stats span{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:0 9px!important;
  min-height:74px!important;
  padding:11px 15px!important;
  border:1px solid rgba(90,174,255,.36)!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,rgba(8,39,95,.84),rgba(7,26,68,.82))!important;
  color:#fff!important;
  backdrop-filter:blur(10px)!important;
}
body.lat-games-page .lat-pro-hero-stats i{
  grid-row:1/3;
  font-style:normal;
  font-size:26px;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.20));
}
body.lat-games-page .lat-pro-hero-stats strong{
  font-size:30px!important;
  line-height:1!important;
  color:#fff!important;
}
body.lat-games-page .lat-pro-hero-stats small{
  grid-column:2!important;
  margin:3px 0 0!important;
  color:#b9d6ff!important;
  font-size:9px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  font-weight:900!important;
}
body.lat-games-page .lat-pro-hero-visual{
  position:relative!important;
  z-index:3!important;
  min-height:470px!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  overflow:visible!important;
}
body.lat-games-page .lat-pro-hero-visual::before{
  content:"";
  position:absolute;
  inset:8% 2% 6% 8%;
  z-index:0;
  border-radius:40px;
  background:radial-gradient(circle at 70% 50%,rgba(28,205,255,.17),transparent 35%);
  filter:blur(14px);
}
body.lat-games-page .lat-pro-hero-art{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:min(100%,920px)!important;
  max-height:520px!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:30px!important;
  box-shadow:0 30px 80px rgba(0,0,0,.40)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 13%,#000 28%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 13%,#000 28%,#000 100%);
}

/* Elimina los elementos visuales de la cabecera anterior si quedan en caché/HTML. */
body.lat-games-page .lat-pro-hero .lat-pro-castle,
body.lat-games-page .lat-pro-hero .lat-pro-spark,
body.lat-games-page .lat-pro-hero .lat-pro-hero-lion,
body.lat-games-page .lat-pro-hero .lat-pro-hero-bg{display:none!important}

@media (max-width:1180px){
  body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{
    grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr)!important;
    min-height:560px!important;
    padding-left:38px!important;
    padding-right:38px!important;
  }
  body.lat-games-page .lat-pro-hero h2{font-size:clamp(54px,7vw,82px)!important}
  body.lat-games-page .lat-pro-hero-art{max-height:460px!important}
}
@media (max-width:900px){
  body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{
    grid-template-columns:1fr!important;
    min-height:auto!important;
    padding:82px 24px 24px!important;
    gap:18px!important;
  }
  body.lat-games-page .lat-pro-hero-copy{max-width:none!important}
  body.lat-games-page .lat-pro-hero h2{font-size:clamp(54px,10vw,78px)!important}
  body.lat-games-page .lat-pro-hero-visual{min-height:330px!important}
  body.lat-games-page .lat-pro-hero-art{
    width:100%!important;
    max-height:390px!important;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 100%);
    mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 100%);
  }
}
@media (max-width:640px){
  body.lat-games-page .lat-world:not(.lat-game-mode)>.lat-pro-hero{
    width:calc(100% + 16px)!important;
    margin:0 -8px 14px!important;
    padding:72px 16px 16px!important;
    border-radius:0 0 22px 22px!important;
  }
  body.lat-games-page .lat-pro-home{left:12px;top:12px;min-height:42px;padding:0 14px;font-size:12px}
  body.lat-games-page .lat-pro-sound{right:12px!important;top:12px!important;width:42px!important;height:42px!important}
  body.lat-games-page .lat-pro-hero .lat-kicker{font-size:10px!important}
  body.lat-games-page .lat-pro-hero h2{font-size:clamp(44px,14vw,62px)!important;margin-bottom:14px!important}
  body.lat-games-page .lat-pro-hero p{font-size:15px!important}
  body.lat-games-page .lat-pro-hero-actions{display:grid!important;grid-template-columns:1fr!important;margin:20px 0 16px!important}
  body.lat-games-page .lat-pro-cta{width:100%!important;min-height:52px!important}
  body.lat-games-page .lat-pro-hero-stats{gap:6px!important}
  body.lat-games-page .lat-pro-hero-stats span{min-height:65px!important;padding:8px!important;grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important}
  body.lat-games-page .lat-pro-hero-stats i{grid-row:auto!important;font-size:18px!important}
  body.lat-games-page .lat-pro-hero-stats strong{font-size:22px!important}
  body.lat-games-page .lat-pro-hero-stats small{grid-column:auto!important;font-size:7px!important;margin:0!important}
  body.lat-games-page .lat-pro-hero-visual{min-height:250px!important}
  body.lat-games-page .lat-pro-hero-art{max-height:280px!important;border-radius:20px!important}
}

/* ==========================================================
   v5.9.8 — Ocultar SAT Buscador Premium SOLO en Mundo León
   El buscador original usa .sat-premium-search-host.
   No se modifica el plugin SAT Buscador Premium.
   ========================================================== */
body.lat-games-page .sat-premium-search-host,
body.lat-games-page .search.sat-premium-search-host,
body.lat-games-page .sat-premium-search-form,
body.lat-games-page .sat-premium-search-results {
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Colapsa únicamente el widget/contenedor que contiene el buscador,
   sin tocar otros bloques del sitio ni la navegación global. */
@supports selector(:has(*)) {
  body.lat-games-page .elementor-widget-shortcode:has(.sat-premium-search-host),
  body.lat-games-page .elementor-widget-html:has(.sat-premium-search-host),
  body.lat-games-page .elementor-widget-container:has(> .sat-premium-search-host),
  body.lat-games-page .wp-block-shortcode:has(> .sat-premium-search-host),
  body.lat-games-page .wp-block-html:has(> .sat-premium-search-host) {
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
}


/* ==========================================================
   v5.9.9 — Ocultar la franja completa SAT + accesos SOLO Juegos
   La clase se aplica por JS al contenedor real detectado en la página.
   ========================================================== */
body.lat-games-page .lat-hide-game-header-strip,
body.lat-games-page .lat-hide-game-header-part{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode){
  margin-top:0!important;
}

/* ===== v5.9.10 · premium upgrade for game cards ===== */
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-grid{
  gap:18px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  min-height:308px!important;
  padding:18px 18px 16px!important;
  border-radius:24px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 20px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10)!important;
  background-size:cover!important;
  background-position:center!important;
  overflow:hidden!important;
  isolation:isolate;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.18), transparent 22%),
    linear-gradient(180deg, rgba(4,15,39,.14) 0%, rgba(4,14,39,.52) 40%, rgba(4,14,39,.88) 100%);
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::after{
  content:"";
  position:absolute;
  right:-10px;
  bottom:-8px;
  width:44%;
  height:52%;
  z-index:1;
  opacity:.95;
  background-repeat:no-repeat;
  background-position:right bottom;
  background-size:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.28));
  pointer-events:none;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card > *{
  position:relative;
  z-index:2;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:0!important;
  margin:0 0 12px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-size:27px!important;
  line-height:1!important;
  background:rgba(6,22,58,.36)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.20));
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-tag{
  position:relative;
  z-index:2;
  padding:6px 10px!important;
  border-radius:999px!important;
  letter-spacing:.06em!important;
  font-size:10px!important;
  background:linear-gradient(180deg, rgba(8,40,103,.94), rgba(5,24,71,.94))!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 8px 16px rgba(0,0,0,.12);
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{
  max-width:88%;
  font-size:22px!important;
  line-height:1.02!important;
  margin:12px 0 8px!important;
  letter-spacing:-.02em;
  text-wrap:balance;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{
  max-width:86%;
  font-size:12px!important;
  line-height:1.45!important;
  color:rgba(245,248,255,.94)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-play-pill{
  margin-top:auto!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.03em;
  background:linear-gradient(180deg,#ffffff,#eef4ff)!important;
  color:#072455!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card:hover{
  transform:translateY(-7px) scale(1.012)!important;
  box-shadow:0 28px 52px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.12)!important;
}

/* richer card-specific visuals */
body.lat-games-page .lat-river-card{
  background-image:
    linear-gradient(145deg, rgba(2,153,205,.80), rgba(4,225,198,.55)),
    url('../images/detective-scene-rambla.png')!important;
  background-position:center, center!important;
}
body.lat-games-page .lat-river-card::after{
  background-image:url('../images/delfin.jpg');
  width:35%;height:40%;right:8px;bottom:10px;
  border-radius:22px;overflow:hidden;opacity:.82;
}

body.lat-games-page .lat-memory-card{
  background-image:
    linear-gradient(145deg, rgba(255,183,39,.84), rgba(255,111,48,.58)),
    url('../images/leon.jpg')!important;
  background-position:center, center top!important;
}
body.lat-games-page .lat-memory-card::after{
  background-image:url('../images/store-lion-pro.png');
  width:36%;height:46%;right:2px;bottom:2px;
}

body.lat-games-page .lat-race-card{
  background-image:
    linear-gradient(145deg, rgba(255,46,127,.88), rgba(92,38,221,.74)),
    url('../images/cart.jpg')!important;
}
body.lat-games-page .lat-race-card::after{
  background-image:url('../images/shop-truck-pro.png');
  width:40%;height:42%;right:-4px;bottom:4px;
  opacity:.50;
}

body.lat-games-page .lat-packages-card{
  background-image:
    linear-gradient(145deg, rgba(255,128,27,.86), rgba(81,40,179,.66)),
    url('../images/shop-truck-real.png')!important;
  background-position:center, right center!important;
}
body.lat-games-page .lat-packages-card::after{
  background-image:url('../images/shop-truck-pro.png');
  width:41%;height:48%;right:-10px;bottom:-4px;
}

body.lat-games-page .lat-dino-card{
  background-image:
    linear-gradient(145deg, rgba(14,136,73,.64), rgba(136,78,14,.42)),
    url('../images/dino-bg_volcano.png')!important;
}
body.lat-games-page .lat-dino-card::after{
  background-image:url('../images/dino-egg.png');
  width:34%;height:42%;right:6px;bottom:8px;
}

body.lat-games-page .lat-constructor-card{
  background-image:
    linear-gradient(145deg, rgba(245,153,20,.68), rgba(98,55,14,.52)),
    url('../images/constructor-bg.png')!important;
}
body.lat-games-page .lat-constructor-card::after{
  background-image:url('../images/constructor-lion.png');
  width:39%;height:50%;right:-10px;bottom:-2px;
}

body.lat-games-page .lat-football-card{
  background-image:
    linear-gradient(145deg, rgba(14,125,61,.66), rgba(0,76,118,.48)),
    url('../images/football-bg.png')!important;
}
body.lat-games-page .lat-football-card::after{
  background-image:url('../images/football-player.png');
  width:40%;height:49%;right:0;bottom:0;
}

body.lat-games-page .lat-chess-card{
  background-image:
    linear-gradient(145deg, rgba(68,29,135,.62), rgba(17,23,62,.72)),
    url('../images/chess-hero-generated.png')!important;
}
body.lat-games-page .lat-chess-card::after{
  background-image:url('../images/chesspieces/wq.png');
  width:31%;height:45%;right:12px;bottom:2px;
  opacity:.70;
}

body.lat-games-page .lat-checkers-card{
  background-image:
    linear-gradient(145deg, rgba(26,53,118,.94), rgba(78,41,125,.94)),
    radial-gradient(circle at 75% 24%, rgba(255,255,255,.18), transparent 18%)!important;
}
body.lat-games-page .lat-checkers-card::after{
  background-image:url('../images/chesspieces/wp.png');
  width:26%;height:38%;right:14px;bottom:12px;opacity:.24;
}

body.lat-games-page .lat-platform-card{
  background-image:
    linear-gradient(145deg, rgba(42,29,151,.56), rgba(7,27,73,.72)),
    url('../images/platform-uy-03-plaza-independencia.jpg')!important;
}
body.lat-games-page .lat-platform-card::after{
  background-image:url('../images/store-lion-mascot.png');
  width:35%;height:44%;right:-6px;bottom:-2px;opacity:.75;
}

body.lat-games-page .lat-detective-card{
  background-image:
    linear-gradient(145deg, rgba(5,73,119,.58), rgba(11,28,64,.76)),
    url('../images/detective-scene-plaza.png')!important;
}
body.lat-games-page .lat-detective-card::after{
  background-image:url('../images/detective-collector.svg');
  width:34%;height:45%;right:6px;bottom:6px;opacity:.68;
}

body.lat-games-page .lat-economy-card{
  background-image:
    linear-gradient(145deg, rgba(2,104,88,.58), rgba(9,35,63,.76)),
    url('../images/shop-store-real-bg.png')!important;
}
body.lat-games-page .lat-economy-card::after{
  background-image:url('../images/shop-provider-pro.png');
  width:40%;height:46%;right:-8px;bottom:0;opacity:.74;
}

@media (max-width:1300px){
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:296px!important}
}
@media (max-width:980px){
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:282px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{max-width:92%;font-size:21px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{max-width:92%}
}
@media (max-width:760px){
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:270px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::after{width:36%;height:42%;opacity:.82}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art{font-size:24px!important;padding:7px 10px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{font-size:20px!important}
}
@media (max-width:520px){
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:244px!important;padding:16px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::after{width:32%;height:38%;right:4px;bottom:6px}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art{font-size:22px!important;margin-bottom:10px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{font-size:19px!important;max-width:95%}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{font-size:11px!important;max-width:95%}
}

/* v5.9.11 - mejora gráfica interna de cards */
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:0!important;
  padding:18px 18px 16px!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  --lat-card-glow: rgba(255,255,255,.08);
  --lat-card-figure: none;
  --lat-card-figure-size: 48%;
  --lat-card-figure-right: -3%;
  --lat-card-figure-bottom: -6%;
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 18% 16%, var(--lat-card-glow) 0 0, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, rgba(5,17,47,.10) 0%, rgba(6,17,43,.52) 52%, rgba(6,17,43,.90) 100%);
}
body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::after{
  content:"";
  position:absolute;
  right:var(--lat-card-figure-right);
  bottom:var(--lat-card-figure-bottom);
  width:var(--lat-card-figure-size);
  height:76%;
  background:var(--lat-card-figure) center bottom / contain no-repeat;
  opacity:.42;
  z-index:-1;
  pointer-events:none;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.28));
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-height:auto!important;
  margin:0 0 10px!important;
  padding:0!important;
  font-size:0!important;
  filter:none!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art i{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-style:normal;
  font-size:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter:blur(4px);
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-tag{
  margin-top:4px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong,
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small,
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-play-pill{
  position:relative;
  z-index:2;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{
  max-width:78%!important;
  margin:12px 0 8px!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{
  max-width:84%!important;
}
body.lat-games-page .lat-world:not(.lat-game-mode) .lat-play-pill{
  margin-top:auto!important;
}

/* Temas visuales por juego */
body.lat-games-page .lat-river-card{
  --lat-card-glow: rgba(92,238,255,.18);
  --lat-card-figure: url('../images/delfin.jpg');
  --lat-card-figure-size: 34%;
  background-image:
    linear-gradient(145deg, rgba(7,139,200,.92), rgba(2,56,86,.88)),
    radial-gradient(circle at 82% 32%, rgba(86,232,255,.22), transparent 30%)!important;
}
body.lat-games-page .lat-memory-card{
  --lat-card-glow: rgba(255,219,117,.24);
  --lat-card-figure: url('../images/leon.jpg');
  --lat-card-figure-size: 34%;
  background-image:
    linear-gradient(145deg, rgba(239,168,52,.94), rgba(84,39,18,.88)),
    radial-gradient(circle at 78% 26%, rgba(255,245,177,.18), transparent 24%)!important;
}
body.lat-games-page .lat-race-card{
  --lat-card-glow: rgba(255,138,209,.18);
  --lat-card-figure: url('../images/cart.jpg');
  --lat-card-figure-size: 48%;
  background-image:
    linear-gradient(145deg, rgba(253,39,147,.92), rgba(64,19,116,.90)),
    url('../images/cart.jpg')!important;
}
body.lat-games-page .lat-packages-card{
  --lat-card-glow: rgba(255,203,109,.18);
  --lat-card-figure: url('../images/shop-truck-real.png');
  --lat-card-figure-size: 52%;
  background-image:
    linear-gradient(145deg, rgba(229,125,34,.94), rgba(46,20,94,.88)),
    url('../images/shop-truck-real.png')!important;
}
body.lat-games-page .lat-dino-card{
  --lat-card-glow: rgba(178,255,132,.12);
  --lat-card-figure: url('../images/dino-raptor.png');
  --lat-card-figure-size: 44%;
  background-image:
    linear-gradient(145deg, rgba(47,142,77,.80), rgba(92,49,18,.72)),
    url('../images/dino-bg_volcano.png')!important;
}
body.lat-games-page .lat-constructor-card{
  --lat-card-glow: rgba(255,213,84,.16);
  --lat-card-figure: url('../images/constructor-bg.png');
  --lat-card-figure-size: 58%;
  background-image:
    linear-gradient(145deg, rgba(187,134,63,.76), rgba(79,48,22,.76)),
    url('../images/constructor-bg.png')!important;
}
body.lat-games-page .lat-football-card{
  --lat-card-glow: rgba(124,229,255,.18);
  --lat-card-figure: url('../images/football-goal.png');
  --lat-card-figure-size: 56%;
  background-image:
    linear-gradient(145deg, rgba(29,160,104,.80), rgba(11,44,102,.82)),
    url('../images/football-bg.png')!important;
}
body.lat-games-page .lat-chess-card{
  --lat-card-glow: rgba(191,171,255,.14);
  --lat-card-figure: url('../images/chess-hero-generated.png');
  --lat-card-figure-size: 56%;
  background-image:
    linear-gradient(145deg, rgba(58,36,112,.86), rgba(13,20,60,.90)),
    url('../images/chess-hero-generated.png')!important;
}
body.lat-games-page .lat-checkers-card{
  --lat-card-glow: rgba(118,140,255,.12);
  --lat-card-figure: radial-gradient(circle at 32% 42%, rgba(255,255,255,.92) 0 18%, rgba(218,223,238,.95) 18% 29%, transparent 30%), radial-gradient(circle at 70% 60%, rgba(255,221,221,.95) 0 17%, rgba(206,82,82,.90) 17% 29%, transparent 30%), linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25% 50%, rgba(255,255,255,.10) 50% 75%, transparent 75%);
  --lat-card-figure-size: 48%;
  background-image:
    linear-gradient(145deg, rgba(37,53,140,.94), rgba(39,20,77,.92))!important;
}
body.lat-games-page .lat-platform-card{
  --lat-card-glow: rgba(126,210,255,.12);
  --lat-card-figure: url('../images/platform-uy-01-rambla.jpg');
  --lat-card-figure-size: 56%;
  background-image:
    linear-gradient(145deg, rgba(42,84,173,.80), rgba(10,24,70,.88)),
    url('../images/platform-uy-01-rambla.jpg')!important;
}
body.lat-games-page .lat-detective-card{
  --lat-card-glow: rgba(104,219,255,.15);
  --lat-card-figure: url('../images/detective-scene-plaza.png');
  --lat-card-figure-size: 58%;
  background-image:
    linear-gradient(145deg, rgba(16,69,106,.82), rgba(12,27,56,.90)),
    url('../images/detective-scene-plaza.png')!important;
}
body.lat-games-page .lat-economy-card{
  --lat-card-glow: rgba(159,235,193,.12);
  --lat-card-figure: url('../images/shop-store-real-bg.png');
  --lat-card-figure-size: 58%;
  background-image:
    linear-gradient(145deg, rgba(32,100,84,.78), rgba(13,30,57,.90)),
    url('../images/shop-store-real-bg.png')!important;
}

body.lat-games-page .lat-checkers-card::after,
body.lat-games-page .lat-constructor-card::after,
body.lat-games-page .lat-platform-card::after,
body.lat-games-page .lat-detective-card::after,
body.lat-games-page .lat-economy-card::after,
body.lat-games-page .lat-chess-card::after{
  opacity:.32;
}
body.lat-games-page .lat-river-card::after,
body.lat-games-page .lat-memory-card::after{
  opacity:.28;
  right:6%;
  bottom:8%;
  height:40%;
}
body.lat-games-page .lat-football-card::after,
body.lat-games-page .lat-packages-card::after,
body.lat-games-page .lat-dino-card::after{
  opacity:.44;
}

@media (max-width:980px){
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card strong{max-width:86%!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card small{max-width:90%!important}
}
@media (max-width:640px){
  body.lat-games-page .lat-world:not(.lat-game-mode) .lat-game-card .lat-game-art i{width:38px;height:38px;font-size:21px}
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card{min-height:260px!important}
  body.lat-games-page .lat-world:not(.lat-game-mode) button.lat-game-card::after{width:46%;height:50%;right:-2%;bottom:1%}
}
