:root{--navy:#073763;--navy2:#0b2b4b;--cyan:#159cae;--ink:#102f4c;--muted:#6d8295;--line:#d8e5ec;--bg:#f3f8fa;--card:#fff;--good:#16866f;--warn:#c37b10;--shadow:0 20px 55px rgba(7,55,99,.11)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 8% 0,#e4f6f8 0,transparent 28%),var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100dvh}.hidden{display:none!important}.games-topbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.games-nav{max-width:1180px;margin:auto;min-height:76px;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.games-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.games-brand strong,.games-brand small{display:block}.games-brand strong{font-size:14px}.games-brand small{font-size:11px;color:var(--muted);margin-top:2px}.brand-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900;box-shadow:0 8px 20px rgba(7,55,99,.2)}.brand-mark.image{background:#fff;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain}.nav-actions{display:flex;align-items:center;gap:8px}.nav-actions a,.sound-toggle{border:0;background:transparent;color:#395a72;text-decoration:none;font:inherit;font-size:12px;font-weight:800;padding:11px 13px;border-radius:12px;cursor:pointer}.nav-actions a:hover,.sound-toggle:hover{background:#edf6f8}.admin-link{border:1px solid var(--line)!important;background:#fff!important}.games-shell{width:min(1180px,calc(100% - 32px));margin:28px auto}.games-hero{position:relative;overflow:hidden;min-height:280px;border-radius:30px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff;background:linear-gradient(125deg,#062f57,#0b5274 58%,#149aaa);box-shadow:var(--shadow)}.games-hero:before{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.14);border-radius:50%;right:-100px;top:-150px}.hero-kicker,.eyebrow{font-size:11px;font-weight:900;letter-spacing:.16em;color:#43d5df}.games-hero h1{font-size:clamp(36px,6vw,64px);line-height:.95;margin:12px 0 14px;letter-spacing:-.04em}.games-hero p{max-width:660px;line-height:1.7;color:#d8edf4;margin:0}.hero-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.hero-badges span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13);padding:9px 12px;border-radius:999px;font-size:11px;font-weight:800}.hero-orbit{width:190px;aspect-ratio:1;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:grid;place-items:center;position:relative;flex:0 0 auto}.hero-orbit span{font-size:58px}.hero-orbit b{position:absolute;right:3px;top:18px;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--navy);font-size:24px}.hero-orbit small{position:absolute;bottom:25px;font-weight:800;color:#d8edf4}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:34px 4px 18px}.section-head h2{font-size:28px;margin:7px 0 5px}.section-head p{margin:0;color:var(--muted)}.game-count{font-size:12px;font-weight:900;background:#e5f5f6;color:#08788a;padding:9px 12px;border-radius:999px}.games-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.game-card{position:relative;min-height:270px;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--card);text-decoration:none;color:var(--ink);box-shadow:0 10px 30px rgba(7,55,99,.06);display:flex;flex-direction:column;animation:rise .55s both;animation-delay:var(--delay);transition:.22s ease}.game-card:hover{transform:translateY(-6px);box-shadow:0 22px 50px rgba(7,55,99,.14);border-color:#9bd5dc}.game-card-top{display:flex;justify-content:space-between;align-items:center}.game-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;font-size:27px;background:#eaf7f8}.difficulty{font-size:10px;font-weight:900;color:#527087;background:#f2f6f8;padding:7px 9px;border-radius:999px}.game-category{font-size:10px;font-weight:900;letter-spacing:.12em;color:#159cae;margin-top:20px}.game-card h3{font-size:20px;margin:6px 0 8px}.game-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}.game-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:18px;font-size:12px;font-weight:900;color:var(--navy)}.game-card-foot b{width:34px;height:34px;border-radius:11px;background:var(--navy);color:#fff;display:grid;place-items:center}.play-shell{max-width:900px;margin:auto}.play-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.back-link{text-decoration:none;color:#527087;font-weight:800;font-size:12px}.play-progress-copy{display:flex;gap:18px;align-items:center;font-size:12px;color:var(--muted)}.play-progress-copy strong{color:var(--navy);font-size:14px}.progress-track{height:8px;border-radius:99px;background:#dfeaed;overflow:hidden;margin-bottom:14px}.progress-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#13a0b1,#35c2ae);transition:width .35s}.play-stage{min-height:560px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:clamp(24px,5vw,48px);display:grid;align-items:center}.game-welcome{text-align:center;max-width:690px;margin:auto}.stage-icon{width:86px;height:86px;margin:0 auto 18px;border-radius:27px;background:#e9f7f8;display:grid;place-items:center;font-size:42px;animation:float 2.5s ease-in-out infinite}.game-welcome h1{font-size:clamp(30px,6vw,48px);margin:9px 0}.game-welcome>p{color:var(--muted);line-height:1.65}.player-identify{margin:30px auto 0;max-width:600px;text-align:left}.player-identify label{display:block;font-size:12px;font-weight:900;margin-bottom:8px}.badge-row{display:flex;gap:8px}.badge-row input{min-width:0;flex:1;border:1px solid #bfd3df;border-radius:15px;padding:15px 16px;font:inherit;outline:none}.badge-row input:focus{border-color:#159cae;box-shadow:0 0 0 4px #159cae18}.badge-row button,.next-btn{border:0;border-radius:15px;background:var(--navy);color:#fff;padding:0 20px;font-weight:900;cursor:pointer}.player-identify small{display:block;color:var(--muted);margin-top:8px}.challenge{max-width:760px;width:100%;margin:auto}.challenge-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.challenge-number{font-size:11px;font-weight:900;color:#0d8a99;background:#e7f6f7;padding:8px 10px;border-radius:999px}.challenge h2{font-size:clamp(24px,4vw,34px);line-height:1.2;margin:0 0 26px}.options{display:grid;gap:11px}.option{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #d4e2e9;background:#fff;padding:15px;border-radius:16px;color:var(--ink);font:inherit;font-weight:750;cursor:pointer;transition:.18s}.option:hover{border-color:#70c7d1;transform:translateX(3px);box-shadow:0 8px 20px rgba(7,55,99,.06)}.option span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef5f7;font-size:12px;font-weight:900}.option.correct{border-color:#6bc6af;background:#effaf6}.option.wrong{border-color:#e6bd7b;background:#fff8ed}.feedback{margin-top:18px;padding:18px;border-radius:17px;background:#edf8f8;border:1px solid #cce9e9;animation:pop .3s}.feedback strong{display:block;margin-bottom:5px}.feedback p{margin:0;color:#527087;line-height:1.55}.feedback .next-btn{height:44px;margin-top:14px}.order-list{display:grid;gap:10px}.order-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}.order-item b{color:#159cae}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.match-card{padding:15px;border-radius:15px;background:#f4f8fa;border:1px solid var(--line)}.match-card strong{display:block;color:#087f8e;margin-bottom:4px}.game-finish{text-align:center;max-width:620px;margin:auto}.finish-icon{font-size:66px}.game-finish h2{font-size:38px;margin:12px 0}.score-ring{width:150px;height:150px;border-radius:50%;margin:22px auto;display:grid;place-items:center;background:conic-gradient(#159cae var(--score),#e8f0f3 0);position:relative}.score-ring:after{content:"";position:absolute;inset:11px;background:#fff;border-radius:50%}.score-ring strong{position:relative;z-index:1;font-size:30px}.finish-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.finish-actions a{padding:13px 17px;border-radius:13px;text-decoration:none;font-size:12px;font-weight:900}.finish-actions .primary{background:var(--navy);color:#fff}.finish-actions .secondary{background:#edf5f7;color:var(--ink)}.games-footer{text-align:center;color:#7890a2;font-size:11px;padding:20px 12px 34px}@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-7px)}}@keyframes pop{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@media(max-width:980px){.games-grid{grid-template-columns:repeat(2,1fr)}.hero-orbit{width:150px}}@media(max-width:650px){.games-nav{min-height:66px;padding:8px 12px}.games-brand small{display:none}.nav-actions>a:not(.admin-link){display:none}.sound-toggle span{display:none}.nav-actions a,.sound-toggle{padding:9px}.games-shell{width:min(100% - 20px,1180px);margin:14px auto}.games-hero{padding:25px 20px;min-height:245px;border-radius:22px}.hero-orbit{display:none}.games-hero h1{font-size:39px}.games-hero p{font-size:13px}.section-head{margin-top:26px;align-items:start}.section-head h2{font-size:23px}.section-head p,.game-count{display:none}.games-grid{grid-template-columns:1fr}.game-card{min-height:220px;padding:18px}.play-top{padding:2px 4px}.play-progress-copy span{display:none}.play-stage{min-height:calc(100dvh - 150px);padding:24px 17px;border-radius:22px}.badge-row{display:grid}.badge-row button{min-height:50px}.challenge h2{font-size:23px}.option{padding:13px}.match-grid{grid-template-columns:1fr}.game-finish h2{font-size:30px}}

/* v7.3 · Juegos: lectura clara, acciones premium y fullscreen */
html{font-size:16px}body{font-weight:550;-webkit-font-smoothing:auto;text-rendering:optimizeLegibility}
.games-brand strong{font-size:15px}.games-brand small{font-size:12px}
.nav-actions a,.sound-toggle,.screen-control{min-height:42px;border:1px solid #cde2e6!important;background:#e4f1f3!important;color:#174e65!important;text-decoration:none;font:inherit;font-size:12.5px;font-weight:850;padding:0 13px;border-radius:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.16s}
.nav-actions a:hover,.sound-toggle:hover,.screen-control:hover,.screen-control.is-active{background:var(--navy)!important;border-color:var(--navy)!important;color:#fff!important;transform:translateY(-1px)}
.screen-control svg{width:17px;height:17px}
.games-hero p{font-size:15px}.hero-badges span{font-size:12px}.section-head p{font-size:14px}.game-count{font-size:12px}
.game-card p{font-size:14px;line-height:1.6}.game-card-foot{font-size:13px}.difficulty,.game-category{font-size:11px}.game-card h3{font-size:21px}
.back-link{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:11px;background:#e4f1f3;border:1px solid #cde2e6;color:#174e65;font-size:12.5px}.back-link:hover{background:#d6e9ed;color:#0b315b}
.play-progress-copy{font-size:13px}.play-progress-copy strong{font-size:15px}.game-welcome>p{font-size:14.5px}.player-identify label{font-size:13px}.player-identify small{font-size:12px;line-height:1.5}.badge-row input{font-size:15px;font-weight:600}.badge-row button,.next-btn{font-size:13px}
.challenge-head{font-size:13px}.challenge-number{font-size:11.5px}.option{background:#f1f7f9;border-color:#d4e3e9;font-size:14.5px;line-height:1.45}.option:hover{background:#e8f3f5}.feedback p{font-size:13.5px}.order-item,.match-card{font-size:14px}.finish-actions a{font-size:13px}.finish-actions .secondary{background:#dfeef1;color:#174e65}.finish-actions .secondary:hover{background:#d1e5e9}
@media(max-width:850px){.screen-control span{display:none}.screen-control{width:42px;padding:0}.nav-actions{gap:6px}}
@media(max-width:650px){.nav-actions .nav-button{display:none}.sound-toggle span{display:none}.screen-control{display:inline-flex}.games-hero p{font-size:14px}.game-card p{font-size:14px}.challenge h2{font-size:24px}.option{font-size:14px}.games-brand strong{font-size:13.5px}}

/* v7.6 · navegación clara entre Evaluación y Juegos */
.games-nav{max-width:1240px}
.nav-actions{min-width:0}
.nav-actions .site-switch{height:44px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #c9e0e5;border-radius:13px;background:#dfeef1;box-shadow:0 6px 16px rgba(7,55,99,.045)}
.nav-actions .site-switch-label{padding:0 6px;color:#587488;font-size:8.5px;font-weight:950;letter-spacing:.12em;white-space:nowrap}
.nav-actions .site-switch .site-link{min-height:34px!important;height:34px!important;padding:0 10px!important;border:0!important;border-radius:9px!important;background:#cfe5e9!important;color:#174e65!important;font-size:11.5px!important;font-weight:900!important;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.nav-actions .site-switch .site-link:hover{background:#bfdde2!important;color:#073763!important;transform:translateY(-1px)}
.nav-actions .site-switch .site-link.is-current{background:var(--navy)!important;color:#fff!important;box-shadow:0 5px 12px rgba(7,55,99,.17)}
.nav-actions .site-switch .site-link .ui-icon{width:15px;height:15px}
.nav-actions .admin-link{background:#dcecef!important;border-color:#c6dfe4!important;color:#174e65!important}.nav-actions .admin-link .ui-icon{width:15px;height:15px}.nav-actions .admin-link b{font-size:13px}
@media(max-width:1050px){.nav-actions .site-switch-label{display:none}.nav-actions .site-switch .site-link{padding:0 9px!important}.nav-actions .sound-toggle span,.nav-actions .screen-control span,.nav-actions .admin-link span{display:none}.nav-actions .sound-toggle,.nav-actions .screen-control,.nav-actions .admin-link{width:42px;padding:0!important}}
@media(max-width:720px){.games-nav{min-height:68px;padding:7px 8px;gap:8px}.games-brand{flex:1 1 auto;min-width:0;gap:8px}.games-brand>span:last-child{min-width:0}.games-brand strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.games-brand small{display:none}.brand-mark{width:36px;height:36px;border-radius:11px}.nav-actions{gap:4px}.nav-actions .site-switch{height:40px;padding:3px;gap:3px}.nav-actions .site-switch .site-link{width:36px;height:32px!important;min-height:32px!important;padding:0!important;justify-content:center}.nav-actions .site-switch .site-link span{display:none}.nav-actions .site-switch .site-link .ui-icon{width:16px;height:16px}.nav-actions .sound-toggle,.nav-actions .screen-control,.nav-actions .admin-link{width:36px;height:40px;min-height:40px!important;padding:0!important}.nav-actions .admin-link b{display:none}}
@media(max-width:430px){.games-brand strong{max-width:105px;font-size:10.8px}.nav-actions .sound-toggle{display:none}}

/* v7.7 · Hover del navbar: conserva texto oscuro y legible */
.nav-actions>a:hover,
.sound-toggle:hover,
.screen-control:hover,
.nav-actions .admin-link:hover{background:#d5e9ed!important;border-color:#b9d8df!important;color:#123f59!important;transform:translateY(-1px)}
.screen-control.is-active{background:var(--navy)!important;border-color:var(--navy)!important;color:#fff!important}
.nav-actions .site-switch .site-link.is-current{background:#b9dce2!important;color:#073763!important;box-shadow:inset 0 0 0 1px #9bcbd3,0 4px 10px rgba(7,55,99,.08)!important}

/* v8.0 · Identificación por gafete, personalización y progreso del participante */
.game-identify-shell{min-height:calc(100dvh - 150px);display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch;gap:18px;max-width:1040px;margin:0 auto}.identify-visual,.identify-card{border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}.identify-visual{position:relative;overflow:hidden;padding:clamp(30px,5vw,58px);background:linear-gradient(135deg,#062f57,#0b5f79 68%,#159cae);color:#fff;display:flex;flex-direction:column;justify-content:center}.identify-visual:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-160px;top:-110px}.identify-shield{font-size:56px;margin-bottom:18px}.identify-visual h1{font-size:clamp(38px,6vw,62px);line-height:1;margin:10px 0 18px;letter-spacing:-.045em}.identify-visual>p{font-size:15px;line-height:1.7;color:#d8edf4;max-width:580px}.identify-points{display:grid;gap:10px;margin-top:24px}.identify-points span{font-size:13px;font-weight:800;color:#e6f6f8}.identify-card{background:#fff;padding:clamp(28px,5vw,52px);display:flex;flex-direction:column;justify-content:center}.identify-card h2{font-size:32px;margin:8px 0}.identify-card>p{color:var(--muted);line-height:1.6;margin:0 0 26px}.identify-card label{font-size:13px;font-weight:900;margin-bottom:8px}.identify-card .badge-row{display:grid;grid-template-columns:1fr auto}.identify-card .badge-row button{min-height:52px}.identify-card>small{color:var(--muted);margin-top:10px;line-height:1.5}.player-welcome-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 28px rgba(7,55,99,.06)}.player-welcome-main{display:flex;align-items:center;gap:14px}.player-avatar{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#e6f5f7;color:var(--navy);font-weight:950;flex:0 0 auto}.player-avatar.large{width:58px;height:58px;border-radius:18px}.player-welcome-main h2{margin:3px 0 2px;font-size:23px}.player-welcome-main p{margin:0;color:var(--muted);font-size:12.5px}.player-progress{display:flex;align-items:center;gap:8px}.player-progress>span{min-width:94px;padding:9px 12px;border-radius:13px;background:#f1f7f9;border:1px solid #e0ebef}.player-progress small,.player-progress strong{display:block}.player-progress small{font-size:9.5px;color:var(--muted);font-weight:800}.player-progress strong{font-size:16px;color:var(--navy);margin-top:2px}.player-progress>a{min-height:43px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border-radius:12px;background:#dfeef1;border:1px solid #c6dfe4;color:#174e65;text-decoration:none;font-size:11.5px;font-weight:900}.player-progress>a:hover{background:#d2e7eb;color:#073763}.game-card.is-completed{border-color:#a9d9cf;background:linear-gradient(180deg,#fff,#f6fcfa)}.game-completed-badge{margin-top:12px;width:max-content;max-width:100%;padding:7px 9px;border-radius:999px;background:#e4f6ef;color:#14745f;font-size:10.5px;font-weight:900}.play-player{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:12px}.play-player>span{width:38px;height:38px;border-radius:11px;background:#e5f5f6;color:var(--navy);display:grid;place-items:center;font-size:11px;font-weight:950}.play-player strong,.play-player small{display:block}.play-player strong{font-size:11.5px}.play-player small{font-size:9.5px;color:var(--muted)}.player-ready{display:flex;align-items:center;gap:12px;max-width:500px;margin:25px auto 14px;padding:14px;text-align:left;border-radius:18px;background:#f1f7f9;border:1px solid #dce9ed}.player-ready strong,.player-ready small{display:block}.player-ready small{margin-top:3px;color:var(--muted);font-size:11.5px}.start-personalized-game{min-height:50px;border:0;border-radius:14px;background:var(--navy);color:#fff;padding:0 24px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.start-personalized-game:hover{background:#0b487c}.finish-saving{display:grid;justify-items:center;gap:10px;color:var(--ink)}.finish-saving small{color:var(--muted)}.spinner{width:20px;height:20px;border:3px solid #cfe2e8;border-top-color:var(--navy);border-radius:50%;display:inline-block;animation:gameSpin .7s linear infinite}.retry-save{border:0;cursor:pointer;font:inherit}.finish-actions .retry-save{padding:13px 17px;border-radius:13px;font-size:12px;font-weight:900;background:var(--navy);color:#fff}@keyframes gameSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){.game-identify-shell{grid-template-columns:1fr;min-height:auto}.identify-visual{min-height:300px}.player-welcome-bar{align-items:flex-start;flex-direction:column}.player-progress{width:100%;flex-wrap:wrap}.player-progress>span{flex:1}.player-progress>a{margin-left:auto}.play-player{display:none}}
@media(max-width:650px){.game-identify-shell{gap:12px}.identify-visual,.identify-card{border-radius:22px}.identify-visual{min-height:250px;padding:26px 20px}.identify-visual h1{font-size:38px}.identify-visual>p{font-size:13.5px}.identify-points{margin-top:16px}.identify-card{padding:25px 18px}.identify-card h2{font-size:27px}.identify-card .badge-row{grid-template-columns:1fr}.player-welcome-bar{padding:14px;border-radius:18px}.player-progress>span{min-width:calc(33.333% - 6px);padding:8px}.player-progress>a{width:100%;justify-content:center;margin:0}.player-welcome-main h2{font-size:20px}.player-avatar{width:43px;height:43px}.game-completed-badge{font-size:10px}.player-ready{align-items:flex-start}.start-personalized-game{width:100%}}

/* v8.2 · Juegos realmente interactivos + apoyo visual local */
.game-card-visual{height:108px;margin:14px 0 2px;border-radius:15px;overflow:hidden;background:#eef8fa;border:1px solid #dcebed}.game-card-visual img{width:100%;height:100%;object-fit:cover;display:block}.game-card .game-category{margin-top:13px}.welcome-visual{width:min(520px,100%);height:210px;margin:0 auto 20px;border:1px solid #d8e7ec;border-radius:22px;overflow:hidden;background:#eef8fa;box-shadow:0 12px 28px rgba(7,55,99,.07)}.welcome-visual img{width:100%;height:100%;object-fit:cover;display:block}.game-welcome .stage-icon{width:60px;height:60px;border-radius:19px;font-size:30px;margin-bottom:13px}.challenge-layout{display:grid;grid-template-columns:minmax(250px,.86fr) minmax(0,1.14fr);gap:24px;align-items:start}.challenge-visual{border:1px solid #d5e6eb;border-radius:20px;overflow:hidden;background:#eef8fa;box-shadow:0 12px 28px rgba(7,55,99,.06)}.challenge-visual img{display:block;width:100%;height:auto;aspect-ratio:800/460;object-fit:cover}.challenge-content{min-width:0}.challenge-content h2{font-size:clamp(22px,3vw,31px);margin-top:0}.interaction-help{margin:-10px 0 16px;color:#6b8292;font-size:13px;line-height:1.5}.choice-binary{grid-template-columns:1fr 1fr}.choice-binary .option{min-height:76px;justify-content:center;text-align:center;font-size:16px}.choice-binary .option span{flex:0 0 auto}.speed-meter{display:grid;grid-template-columns:auto auto;gap:6px 12px;align-items:center;margin:0 0 15px;padding:12px 14px;border-radius:15px;background:#f1f7f9;border:1px solid #d6e6eb}.speed-meter span{font-size:12px;font-weight:900;color:#5f788a}.speed-meter strong{justify-self:end;font-size:22px;color:#073763}.speed-meter i{grid-column:1/-1;height:7px;border-radius:999px;background:#dbe8ec;overflow:hidden}.speed-meter b{display:block;width:100%;height:100%;background:linear-gradient(90deg,#159cae,#35c2ae);transition:width 1s linear}.feedback-hint{background:#fff8ec;border-color:#f1d7aa}.feedback.compact{padding:13px 15px}.feedback.compact p{font-size:12.5px}.hotspot-scene{position:relative;width:min(800px,100%);margin:0 auto 14px;border-radius:22px;overflow:hidden;box-shadow:0 14px 34px rgba(7,55,99,.09)}.hotspot-scene .challenge-visual{border-radius:22px;margin:0;box-shadow:none}.hotspot-marker{position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;border:3px solid #fff;border-radius:50%;background:#073763;color:#fff;font-weight:950;font-size:14px;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 16px rgba(7,55,99,.3);animation:hotspotPulse 1.8s infinite;z-index:3}.hotspot-marker:hover{background:#159cae}.hotspot-marker.is-found{background:#16866f;animation:none}.hotspot-marker.is-miss{background:#c37b10;animation:none}.hotspot-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #d5e7eb;border-radius:15px;background:#f4f9fa;margin-bottom:8px}.hotspot-status strong{font-size:13px;color:#073763}.hotspot-status span{font-size:12px;color:#607b8d;text-align:right}.sortable-list{display:grid;gap:10px}.sortable-item{display:grid;grid-template-columns:28px 34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;border:1px solid #d4e4ea;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(7,55,99,.04);cursor:grab;user-select:none;transition:.16s}.sortable-item:active{cursor:grabbing}.sortable-item.dragging{opacity:.55;border-color:#159cae;transform:scale(.99)}.sortable-item.is-correct{background:#effaf6;border-color:#86cfbb}.drag-handle{color:#79909f;font-size:18px;letter-spacing:-4px}.sortable-item>b{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e7f5f6;color:#08788a}.sort-text{font-size:13.5px;font-weight:750;line-height:1.35}.sort-mobile-actions{display:flex;gap:4px}.sort-mobile-actions button{width:30px;height:30px;border:1px solid #d1e2e8;border-radius:9px;background:#e9f4f6;color:#174e65;font-weight:950;cursor:pointer}.order-check{height:46px;margin-top:14px}.match-workspace{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px}.match-terms,.match-targets{display:grid;gap:9px;align-content:start}.match-term,.match-target{border:1px solid #d2e3e8;border-radius:14px;background:#fff;color:#17364f;font:inherit;cursor:pointer;transition:.16s}.match-term{padding:13px 14px;text-align:center;font-weight:900;background:#eaf7f8;color:#08788a}.match-term.is-selected{border-color:#159cae;box-shadow:0 0 0 3px #159cae1f}.match-term.is-matched{opacity:.35;pointer-events:none}.match-target{padding:12px;text-align:left;min-height:72px}.match-target span{display:block;font-size:10px;font-weight:900;color:#159cae;margin-bottom:5px}.match-target strong{font-size:12.5px;line-height:1.35}.match-target.is-over{border-color:#159cae;background:#f0fafb}.match-target.is-matched{border-color:#7bc9b4;background:#effaf6}.match-target.is-matched span{color:#16866f}.match-target.is-miss{border-color:#e4ad6a;background:#fff7eb}.finish-saving{display:grid;place-items:center;gap:10px}.finish-saving strong{font-size:18px}.finish-saving small{color:#6d8295}.retry-save{border:0;padding:13px 17px;border-radius:13px;font-weight:900;cursor:pointer}.player-ready{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px auto}.player-avatar.large{width:46px;height:46px;border-radius:14px}.player-ready strong,.player-ready small{display:block;text-align:left}.player-ready small{font-size:11px;color:#6d8295;margin-top:2px}.start-personalized-game{min-height:48px;border:0;border-radius:14px;background:#073763;color:#fff;padding:0 20px;font-weight:900;cursor:pointer}
@keyframes hotspotPulse{0%,100%{box-shadow:0 0 0 0 rgba(21,156,174,.35),0 5px 16px rgba(7,55,99,.3)}50%{box-shadow:0 0 0 10px rgba(21,156,174,0),0 5px 16px rgba(7,55,99,.3)}}
@media(max-width:900px){.challenge-layout{grid-template-columns:1fr}.challenge-visual{max-width:560px;margin:0 auto;width:100%}.match-workspace{grid-template-columns:1fr}.game-card-visual{height:125px}}
@media(max-width:650px){.welcome-visual{height:150px;border-radius:17px}.game-card-visual{height:140px}.choice-binary{grid-template-columns:1fr}.hotspot-marker{width:38px;height:38px}.hotspot-status{align-items:flex-start;flex-direction:column}.hotspot-status span{text-align:left}.sortable-item{grid-template-columns:24px 30px minmax(0,1fr) auto;padding:10px 8px}.sort-text{font-size:12.5px}.sort-mobile-actions button{width:28px;height:30px}.challenge-layout{gap:17px}.challenge-visual{border-radius:16px}.match-target{min-height:64px}}

/* v8.3 · participante sincronizado, revisión de partidas y movimiento premium */
.game-employee-preview{display:flex;align-items:center;gap:12px;margin-top:13px;padding:13px;border:1px solid #d6e6eb;border-radius:14px;background:#f5fafb;animation:gamePreviewIn .2s ease both}.game-preview-avatar{width:42px;height:42px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:950;flex:0 0 auto}.game-employee-preview strong,.game-employee-preview small{display:block}.game-employee-preview strong{font-size:13px;color:var(--navy)}.game-employee-preview small{margin-top:3px;color:var(--muted);font-size:11px}.game-preview-check{margin-left:auto;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#dff5ec;color:#16866f;font-weight:950}.game-preview-error{width:100%;padding:10px 12px;border-radius:10px;background:#fff1f1;color:#a23c45;font-size:12px;font-weight:750}.identify-card [data-game-identify]:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.identify-card [data-game-identify]:not(:disabled){box-shadow:0 9px 22px rgba(7,55,99,.16)}
.play-top{position:sticky;top:88px;z-index:80;margin:-8px -10px 12px;padding:9px 10px;border:1px solid rgba(216,229,236,.92);border-radius:15px;background:rgba(243,248,250,.94);backdrop-filter:blur(14px);box-shadow:0 8px 22px rgba(7,55,99,.06)}.play-top .back-link{min-height:40px;display:inline-flex;align-items:center;padding:0 12px;border-radius:11px;background:#e5f3f5;color:#174e65}.play-top .back-link:hover{background:#d5eaee;color:#073763}.play-player{padding:5px 10px;border-radius:12px;background:#fff;border:1px solid #dce8ed}
.game-card{overflow:hidden}.game-card:before{content:"";position:absolute;inset:-60% auto auto -45%;width:70%;height:220%;background:linear-gradient(110deg,transparent,rgba(255,255,255,.72),transparent);transform:rotate(18deg) translateX(-180%);transition:transform .75s ease;pointer-events:none}.game-card:hover:before{transform:rotate(18deg) translateX(390%)}.game-card .game-icon{animation:gameIconFloat 3.8s ease-in-out infinite;animation-delay:calc(var(--delay) * -1)}.game-card-visual img{transition:transform .45s ease,filter .45s ease;animation:gameVisualBreath 6s ease-in-out infinite;animation-delay:calc(var(--delay) * -1)}.game-card:hover .game-card-visual img{transform:scale(1.055);filter:saturate(1.06)}.game-card:hover .game-card-foot b{transform:translateX(3px) rotate(-4deg)}.game-card-foot b{transition:.22s}.game-card.is-completed .game-card-foot span:after{content:" · solo lectura";color:#5f7b8b;font-weight:750}
.challenge-gate{display:flex;align-items:center;gap:12px;margin-top:13px;padding:12px 14px;border:1px solid #d8e7ec;border-radius:15px;background:#f5fafb}.challenge-gate .next-btn{min-height:43px}.challenge-gate .next-btn:disabled{opacity:.45;cursor:not-allowed}.challenge-gate small{color:#657f90;font-size:11.5px;line-height:1.4}.review-lock-note{max-width:560px;margin:18px auto 0;padding:12px 15px;border:1px solid #bfe0d7;border-radius:14px;background:#effaf6;color:#176e5c;font-size:12px;font-weight:850}.review-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px;border:1px solid #d8e7ec;border-radius:20px;background:linear-gradient(135deg,#f7fbfc,#eef8f9)}.review-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#dff5ec;color:#16866f;font-size:25px;font-weight:950}.review-summary h1{margin:3px 0 5px;color:var(--navy);font-size:25px}.review-summary p{margin:0;color:var(--muted);font-size:12px}.review-score{text-align:right}.review-score strong,.review-score small{display:block}.review-score strong{font-size:30px;color:var(--navy)}.review-score small{margin-top:3px;color:var(--muted);font-size:10px}.review-lock-banner{margin:14px 0;padding:12px 14px;border-radius:13px;background:#edf5f7;border:1px solid #d7e6eb;color:#466a7d;font-size:12px;font-weight:800}.review-list{display:grid;gap:11px}.review-item{padding:16px;border:1px solid #dbe8ed;border-radius:16px;background:#fff}.review-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-item-head>span{font-size:10px;font-weight:950;letter-spacing:.1em;color:#159cae;text-transform:uppercase}.review-item-head b{padding:5px 8px;border-radius:999px;font-size:9.5px}.review-item-head .ok{background:#e4f6ef;color:#14745f}.review-item-head .bad{background:#fff2e3;color:#a9670e}.review-item-head .legacy{background:#eef3f6;color:#647b8b}.review-item h3{margin:8px 0 9px;font-size:16px;line-height:1.4;color:var(--navy)}.review-item p{margin:5px 0;color:#526f81;font-size:12px;line-height:1.5}.review-item small{display:block;margin-top:8px;padding-top:8px;border-top:1px dashed #dbe7eb;color:#718797;font-size:11px;line-height:1.45}.review-actions{display:flex;justify-content:flex-start;margin-top:16px}.review-actions a{padding:12px 15px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:900}.review-actions .primary{background:var(--navy);color:#fff}
@keyframes gamePreviewIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes gameIconFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(2deg)}}@keyframes gameVisualBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.018)}}
@media(max-width:650px){.play-top{top:74px;margin:-4px -4px 10px;padding:7px}.play-player{display:flex;margin-left:auto;margin-right:0}.play-player small{display:none}.play-progress-copy{display:none}.review-summary{grid-template-columns:auto 1fr}.review-score{grid-column:1/-1;text-align:left;display:flex;align-items:baseline;gap:8px}.review-score strong{font-size:24px}.challenge-gate{align-items:stretch;flex-direction:column}.challenge-gate .next-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.game-card .game-icon,.game-card-visual img{animation:none}.game-card:before{display:none}}

/* v8.4 · detalle/identificación ajustados al alto visible; el catálogo de juegos conserva scroll normal */
body.game-play-body,body.games-identify-body{min-height:100dvh;display:flex;flex-direction:column}
body.game-play-body .games-topbar,body.games-identify-body .games-topbar{flex:0 0 auto}
body.game-play-body .games-shell.is-game-play,body.games-identify-body .games-shell.is-game-identify{flex:1 0 auto}
body.game-play-body .games-footer,body.games-identify-body .games-footer{flex:0 0 auto;padding:8px 12px 12px}
.games-shell.is-game-play{width:min(900px,calc(100% - 32px));margin:clamp(9px,1.5vh,17px) auto;display:flex;flex-direction:column;justify-content:center}
.games-shell.is-game-play .play-shell{width:100%;max-width:900px}
.games-shell.is-game-play .play-stage{min-height:clamp(410px,calc(100dvh - 235px),540px);padding:clamp(18px,3.2vh,38px) clamp(20px,4vw,44px)}
.games-shell.is-game-play .welcome-visual{height:clamp(135px,21vh,185px);margin-bottom:clamp(9px,1.7vh,16px)}
.games-shell.is-game-play .game-welcome .stage-icon{width:52px;height:52px;border-radius:16px;font-size:26px;margin-bottom:9px}
.games-shell.is-game-play .game-welcome h1{font-size:clamp(28px,5vh,42px);margin:6px 0}
.games-shell.is-game-play .game-welcome>p{margin:6px 0;line-height:1.5}
.games-shell.is-game-play .player-ready{margin:12px auto 9px;padding:11px}
.games-shell.is-game-play .start-personalized-game{min-height:44px}
.games-shell.is-game-identify{margin:clamp(10px,2vh,22px) auto}
.games-shell.is-game-identify .game-identify-shell{min-height:clamp(500px,calc(100dvh - 130px),690px)}
@media(max-height:700px) and (min-width:651px){
  .games-shell.is-game-play{margin:7px auto}
  .games-shell.is-game-play .play-top{margin-bottom:7px;padding:7px 9px}
  .games-shell.is-game-play .progress-track{margin-bottom:8px;height:6px}
  .games-shell.is-game-play .play-stage{min-height:390px;padding:17px 30px}
  .games-shell.is-game-play .welcome-visual{height:125px;margin-bottom:8px}
  .games-shell.is-game-play .game-welcome .stage-icon{width:46px;height:46px;font-size:23px;margin-bottom:7px}
  .games-shell.is-game-play .game-welcome h1{font-size:31px}
  .games-shell.is-game-play .game-welcome>p{font-size:12.5px}
  .games-shell.is-game-play .player-ready{margin:9px auto 7px;padding:9px 11px}
  .games-shell.is-game-play .player-avatar.large{width:40px;height:40px}
  body.game-play-body .games-footer{padding:5px 10px 7px}
}
@media(max-height:560px) and (min-width:651px){
  .games-shell.is-game-play{justify-content:flex-start}
  .games-shell.is-game-play .play-stage{min-height:0}
}
@media(max-width:650px){
  body.game-play-body,body.games-identify-body{display:block}
  .games-shell.is-game-play{width:min(100% - 20px,900px);display:block;margin:10px auto}
  .games-shell.is-game-play .play-stage{min-height:calc(100dvh - 150px);padding:22px 17px}
  .games-shell.is-game-identify .game-identify-shell{min-height:auto}
}

/* v8.5 · recorrido, objetivo y bloqueo guiado */
.player-progress>span.goal-done{background:#e8f8f2;border-color:#b8e4d5}.player-progress>span.goal-done strong{color:#14745f}.game-count.goal-reached{background:#e6f7ef;color:#14745f;border-color:#b9e3d4}.hero-orbit.is-goal-reached{box-shadow:0 0 0 1px rgba(255,255,255,.2),0 18px 42px rgba(0,0,0,.12)}.game-card.is-locked{cursor:not-allowed;filter:saturate(.72);opacity:.72}.game-card.is-locked:before{display:none}.game-card.is-locked:hover{transform:none;box-shadow:0 12px 30px rgba(7,55,99,.06)}.game-card.is-locked .game-card-visual img{animation:none;filter:grayscale(.25)}.game-locked-badge{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:7px 9px;border-radius:10px;background:#f0f4f6;color:#627989;font-size:10.5px;font-weight:850;line-height:1.3}.game-card.is-locked .game-card-foot{color:#7b8e9a}.game-card.is-locked .game-card-foot b{background:#dce6ea;color:#6f8390}@media(max-width:900px){.player-progress>span{min-width:120px}}@media(max-width:650px){.player-progress>span{min-width:calc(50% - 6px)}}

/* v8.6.3 · navegación Preguntas/Juegos visible desde todo el portal */
@media(max-width:720px){
  .games-brand>span:last-child{display:none}
  .games-brand{flex:0 0 auto;min-width:0}
  .nav-actions{margin-left:auto;gap:4px}
  .nav-actions .site-switch{display:flex!important;height:42px;padding:3px;gap:3px}
  .nav-actions .site-switch .site-link{display:inline-flex!important;width:auto!important;min-width:64px;height:34px!important;min-height:34px!important;padding:0 8px!important;gap:5px;justify-content:center}
  .nav-actions .site-switch .site-link span{display:inline!important;font-size:9.5px;font-weight:950}
  .nav-actions .site-switch .site-link .ui-icon{width:15px;height:15px;flex:0 0 auto}
  .nav-actions .sound-toggle{display:none!important}
  .nav-actions .screen-control,.nav-actions .admin-link{display:inline-flex!important;width:38px;height:40px;flex:0 0 38px}
}
@media(max-width:390px){
  .games-nav{padding-left:5px;padding-right:5px;gap:4px}
  .brand-mark{width:34px;height:34px}
  .nav-actions{gap:3px}
  .nav-actions .site-switch .site-link{min-width:58px;padding:0 6px!important}
  .nav-actions .site-switch .site-link span{font-size:8.8px}
  .nav-actions .screen-control,.nav-actions .admin-link{width:34px;flex-basis:34px}
}

/* v8.7 · sin retroalimentación inmediata, respuestas definitivas y resumen final */
.play-progress-copy{min-width:150px}.game-total-timer{display:block;margin-top:3px;color:#0b6f7d;font-size:10px;font-weight:900}.game-total-timer.hidden{display:none}.no-feedback-note{display:block;margin-top:8px;color:#7a8d99;font-size:10.5px;line-height:1.4}.neutral-next{margin-top:14px}.option{position:relative}.option em{margin-left:auto;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#1595a7;color:#fff;font-style:normal;font-size:12px;font-weight:950;opacity:0;transform:scale(.7);transition:.16s}.option.is-selected{border-color:#1595a7!important;background:#e8f7f8!important;box-shadow:0 0 0 3px rgba(21,149,167,.12)!important;color:#073763}.option.is-selected em{opacity:1;transform:scale(1)}.hotspot-marker.is-selected{background:#1595a7;animation:none;box-shadow:0 0 0 5px rgba(21,149,167,.18),0 5px 16px rgba(7,55,99,.3)}.match-term.is-assigned{opacity:.45}.match-target.is-assigned{border-color:#1595a7;background:#eefafa}.match-target.is-assigned span{color:#087687}.game-result-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:9px;margin:18px auto;max-width:780px}.game-result-metrics span{padding:13px;border:1px solid #d8e6eb;border-radius:14px;background:#f6fafb;text-align:left}.game-result-metrics small,.game-result-metrics strong{display:block}.game-result-metrics small{color:#748996;font-size:9.5px;font-weight:850}.game-result-metrics strong{margin-top:3px;color:#073763;font-size:17px}.game-summary-list{display:grid;gap:10px;margin:16px auto;max-width:820px;text-align:left}.game-summary-item{padding:15px;border:1px solid #dce6eb;border-left:4px solid #b23a43;border-radius:14px;background:#fff}.game-summary-item.ok{border-left-color:#16866f}.game-summary-item>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-summary-item>div span{color:#1595a7;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.game-summary-item>div b{font-size:10.5px;color:#a6333d}.game-summary-item.ok>div b{color:#087351}.game-summary-item h3{margin:8px 0 6px;color:#17364f;font-size:15px;line-height:1.4}.game-summary-item p{margin:4px 0;color:#5f7687;font-size:11.5px;line-height:1.45}.game-summary-item small{display:block;margin-top:7px;color:#8294a0;font-size:10px}.review-lock-banner{margin:14px auto;padding:12px 14px;max-width:820px;border:1px solid #d9e6eb;border-radius:13px;background:#f1f7f9;color:#526f80;font-size:11px;font-weight:800}.game-finish{max-width:920px;margin:0 auto}.game-finish>p{max-width:720px;margin-left:auto;margin-right:auto}.sortable-item{touch-action:none}
@media(max-width:650px){.game-result-metrics{grid-template-columns:1fr 1fr}.play-progress-copy{min-width:100px}.game-total-timer{font-size:9px}.game-summary-item{padding:13px}}

/* v8.7.1 - resumen persistente y juegos asignados libres */
.portal-result-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:18px 0;padding:20px 24px;border:1px solid #cfe1e7;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(7,55,99,.07)}.portal-result-summary.is-complete{border-color:#8fd8d8;background:linear-gradient(135deg,#fff,#f0fbfb)}.portal-result-summary h3{margin:4px 0 5px;color:#073763;font-size:1.25rem}.portal-result-summary p{margin:0;color:#61778a}.portal-result-metrics{display:flex;gap:10px;flex-wrap:wrap}.portal-result-metrics span{min-width:105px;padding:11px 14px;border-radius:14px;background:#f2f8fa;border:1px solid #d9e8ed}.portal-result-metrics small{display:block;color:#718697;font-size:.72rem}.portal-result-metrics strong{display:block;color:#073763;font-size:1.05rem;margin-top:2px}@media(max-width:760px){.portal-result-summary{align-items:stretch;flex-direction:column;padding:17px}.portal-result-metrics{display:grid;grid-template-columns:repeat(3,1fr)}.portal-result-metrics span{min-width:0}}

/* v8.96 · móvil compacto: identificación y paso a paso de juegos */
@media (max-width:650px){
  body.games-identify-body .games-shell.is-game-identify{width:min(100% - 16px,1120px);margin:8px auto}
  .games-shell.is-game-identify .game-identify-shell{gap:8px}
  .games-shell.is-game-identify .identify-visual{min-height:0;padding:18px 18px 16px;border-radius:18px}
  .games-shell.is-game-identify .identify-shield{font-size:34px;margin-bottom:7px;line-height:1}
  .games-shell.is-game-identify .identify-visual .hero-kicker{font-size:9px;letter-spacing:1.25px;margin:0}
  .games-shell.is-game-identify .identify-visual h1{font-size:clamp(29px,9vw,35px);line-height:1.02;margin:6px 0 10px}
  .games-shell.is-game-identify .identify-visual>p:not(.hero-kicker){font-size:11.5px;line-height:1.45;margin:0}
  .games-shell.is-game-identify .identify-points{gap:5px;margin-top:10px}
  .games-shell.is-game-identify .identify-points span{font-size:10.5px}
  .games-shell.is-game-identify .identify-card{padding:16px 18px;border-radius:18px}
  .games-shell.is-game-identify .identify-card .eyebrow{font-size:9px;margin-bottom:3px}
  .games-shell.is-game-identify .identify-card h2{font-size:23px;margin:4px 0}
  .games-shell.is-game-identify .identify-card>p{font-size:11.5px;line-height:1.4;margin:0 0 12px}
  .games-shell.is-game-identify .identify-card label{font-size:11px;margin-bottom:5px}
  .games-shell.is-game-identify .identify-card .badge-row{gap:7px}
  .games-shell.is-game-identify .identify-card .badge-row input,.games-shell.is-game-identify .identify-card .badge-row button{min-height:44px;height:44px}
  .games-shell.is-game-identify .identify-card>small{font-size:9.5px;margin-top:7px}
  body.games-identify-body .games-footer{display:none}

  .games-shell.is-game-play{width:min(100% - 16px,900px);margin:7px auto}
  .games-shell.is-game-play .play-top{padding:7px 8px;margin-bottom:6px;border-radius:14px}
  .games-shell.is-game-play .progress-track{height:6px;margin-bottom:7px}
  .games-shell.is-game-play .play-stage{min-height:calc(100dvh - 128px);padding:14px 12px;border-radius:18px}
  .games-shell.is-game-play .welcome-visual{height:105px;margin-bottom:7px}
  .games-shell.is-game-play .game-welcome .stage-icon{width:42px;height:42px;font-size:21px;margin-bottom:5px}
  .games-shell.is-game-play .game-welcome h1{font-size:25px;margin:4px 0}
  .games-shell.is-game-play .game-welcome>p{font-size:11.5px;line-height:1.4;margin:4px 0}
  .games-shell.is-game-play .player-ready{margin:8px auto 6px;padding:8px 10px}
  .games-shell.is-game-play .start-personalized-game{min-height:41px}
  body.game-play-body .games-footer{display:none}
}
@media (max-width:650px) and (max-height:760px){
  .games-shell.is-game-identify .identify-visual{padding:14px 16px 13px}
  .games-shell.is-game-identify .identify-shield{font-size:28px;margin-bottom:4px}
  .games-shell.is-game-identify .identify-visual h1{font-size:28px;margin:4px 0 7px}
  .games-shell.is-game-identify .identify-visual>p:not(.hero-kicker){font-size:10.5px;line-height:1.35}
  .games-shell.is-game-identify .identify-points{margin-top:7px;gap:3px}
  .games-shell.is-game-identify .identify-points span{font-size:9.5px}
  .games-shell.is-game-identify .identify-card{padding:13px 16px}
  .games-shell.is-game-identify .identify-card h2{font-size:21px}
  .games-shell.is-game-identify .identify-card>p{margin-bottom:8px;font-size:10.5px}
}

/* v8.98 — botones de acción del juego claros y táctiles en móvil */
.neutral-next{display:grid;gap:8px;margin-top:16px;width:100%}
.neutral-next .next-btn,.challenge-content .next-btn,.challenge-gate .next-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;height:auto;padding:13px 18px;border:0;border-radius:14px;background:#073763;color:#fff;font:inherit;font-size:13px;font-weight:900;line-height:1.25;text-align:center;white-space:normal;box-shadow:0 8px 18px rgba(7,55,99,.16);cursor:pointer;appearance:none;-webkit-appearance:none}
.neutral-next .next-btn:not(:disabled):hover,.challenge-content .next-btn:not(:disabled):hover,.challenge-gate .next-btn:not(:disabled):hover{background:#0b487c;transform:translateY(-1px)}
.neutral-next .next-btn:focus-visible,.challenge-content .next-btn:focus-visible,.challenge-gate .next-btn:focus-visible{outline:3px solid rgba(21,156,174,.28);outline-offset:2px}
.neutral-next .next-btn:disabled,.challenge-content .next-btn:disabled,.challenge-gate .next-btn:disabled{background:#dbe6eb;color:#718797;box-shadow:none;opacity:1;cursor:not-allowed}
.neutral-next .no-feedback-note{display:block;width:100%;color:#60798a;font-size:11.5px;line-height:1.45;text-align:center}
@media(max-width:650px){.neutral-next{margin-top:13px;gap:7px}.neutral-next .next-btn,.challenge-content .next-btn,.challenge-gate .next-btn{min-height:50px;padding:13px 14px;border-radius:13px;font-size:13px;letter-spacing:0;box-shadow:0 7px 16px rgba(7,55,99,.18)}.neutral-next .no-feedback-note{padding:0 4px;font-size:10.5px}.challenge-content{width:100%}}

/* v8.99 · portal de juegos más amplio, legible y responsive */
@media (min-width:1100px){
  .games-nav{max-width:1480px;min-height:76px;padding-left:24px;padding-right:24px}
  .games-shell.is-games-list{width:min(1480px,calc(100% - 48px));margin:24px auto 32px}
  .games-shell.is-games-list .player-welcome-bar,.games-shell.is-games-list .portal-result-summary{width:100%}
  .games-shell.is-games-list .section-head{margin-top:30px}
  .games-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
  .game-card{min-height:350px;padding:24px;border-radius:24px}
  .game-icon{width:58px;height:58px;border-radius:18px;font-size:29px}
  .difficulty{font-size:10.5px;padding:7px 10px}
  .game-card-visual{height:138px;margin:16px 0 4px;border-radius:17px}
  .game-card .game-category{font-size:10.5px;margin-top:15px}
  .game-card h3{font-size:22px;line-height:1.2;margin:7px 0 9px}
  .game-card p{font-size:14px;line-height:1.6}
  .game-card-foot{font-size:12.5px;padding-top:20px}.game-card-foot b{width:38px;height:38px;border-radius:12px}
  .player-welcome-bar{padding:20px 22px}.player-welcome-main h2{font-size:25px}.player-welcome-main p{font-size:13px}
  .player-progress>span{min-width:105px;padding:10px 13px}.player-progress strong{font-size:17px}
  .portal-result-summary{padding:22px 26px}.portal-result-summary h3{font-size:1.35rem}.portal-result-summary p{font-size:13.5px}
  .portal-result-metrics span{min-width:118px;padding:12px 15px}
}
@media (min-width:1500px){
  .games-nav{max-width:1560px}
  .games-shell.is-games-list{width:min(1560px,calc(100% - 64px))}
  .games-grid{gap:22px}
  .game-card{min-height:365px}
  .game-card-visual{height:148px}
}
@media (min-width:901px) and (max-width:1199px){
  .games-shell.is-games-list{width:min(100% - 32px,1120px)}
  .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .game-card{min-height:330px}.game-card-visual{height:125px}.game-card h3{font-size:20px}.game-card p{font-size:13.5px}
}
@media (min-width:651px) and (max-width:900px){
  .games-shell.is-games-list{width:min(100% - 24px,860px)}
  .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
  .game-card{min-height:320px}.game-card-visual{height:128px}.game-card h3{font-size:20px}.game-card p{font-size:13.5px}
}
@media (max-width:650px){
  .games-shell.is-games-list{width:min(100% - 16px,620px);margin:10px auto 20px}
  .games-grid{grid-template-columns:1fr;gap:12px}
  .game-card{min-height:0;padding:17px;border-radius:18px}
  .game-card-visual{height:128px;margin:12px 0 3px}
  .game-card h3{font-size:19px}.game-card p{font-size:13px;line-height:1.5}
  .game-card-foot{padding-top:15px}
}


/* v9.01 · identidad visual SOAR integrada en acceso y portal de juegos */
.games-shell .soar-identify-banner{position:relative;z-index:1;width:100%;height:clamp(108px,14vw,170px);margin:0 0 22px;overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.18);background:#06142f;box-shadow:0 14px 32px rgba(0,0,0,.18)}
.games-shell .soar-identify-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.identify-visual>.hero-kicker,.identify-visual>h1,.identify-visual>p,.identify-visual>.identify-points{position:relative;z-index:1}
.games-shell .soar-active-banner{width:100%;height:clamp(92px,8.5vw,128px);margin:0 0 18px;overflow:hidden;border-radius:18px;border:1px solid #cadce5;background:#06142f;box-shadow:0 10px 26px rgba(7,55,99,.10)}
.games-shell .soar-active-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:900px){
  .games-shell .soar-identify-banner{height:clamp(92px,23vw,145px);margin-bottom:16px}
  .games-shell .soar-active-banner{height:clamp(82px,16vw,112px);margin-bottom:14px}
}
@media(max-width:650px){
  .games-shell.is-game-identify .soar-identify-banner{height:auto;aspect-ratio:1600/418;margin-bottom:10px;border-radius:13px;box-shadow:0 8px 20px rgba(0,0,0,.14)}
  .games-shell.is-game-identify .identify-visual{padding-top:12px!important}
  .games-shell.is-games-list .soar-active-banner{height:auto;aspect-ratio:1600/418;margin:0 0 10px;border-radius:12px;box-shadow:0 6px 16px rgba(7,55,99,.08)}
}
@media(max-width:390px){
  .games-shell.is-game-identify .soar-identify-banner{margin-bottom:8px}
  .games-shell.is-game-identify .identify-visual{padding:10px 12px 12px!important}
}

/* v9.02 · SOAR legible, mismo formato que Preguntas y cambio de participante seguro */
.games-shell.is-game-identify .game-identify-shell{min-height:clamp(500px,calc(100dvh - 150px),690px)}
.games-shell .soar-identify-banner{height:auto!important;aspect-ratio:1600/418;margin-bottom:20px}
.games-shell .soar-identify-banner img{width:100%;height:100%;object-fit:contain!important;object-position:center;background:#06142f}
.games-shell.is-games-list .soar-active-banner{width:min(100%,1040px);height:auto!important;aspect-ratio:1600/418;margin:0 auto 22px;border:1px solid #b9d3df;border-radius:22px;background:#06142f;box-shadow:0 18px 42px rgba(7,55,99,.16)}
.games-shell.is-games-list .soar-active-banner img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center;background:#06142f}
.player-progress>a[data-game-change-participant]{box-shadow:0 7px 18px rgba(7,55,99,.08)}
@media(max-width:900px){
  .games-shell.is-game-identify .game-identify-shell{min-height:auto}
  .games-shell.is-games-list .soar-active-banner{width:100%;margin-bottom:16px;border-radius:16px}
}
@media(max-width:650px){
  .games-shell .soar-identify-banner{margin-bottom:10px!important;border-radius:13px!important}
  .games-shell.is-games-list .soar-active-banner{aspect-ratio:1600/418;margin:0 0 10px!important;border-radius:12px!important;box-shadow:0 8px 20px rgba(7,55,99,.11)}
}


/* v9.03 · identificación de Juegos al mismo tamaño que Preguntas */
@media (min-width:1100px){
  .games-shell.is-game-identify{width:min(1440px,calc(100% - 48px));max-width:none;margin:26px auto 28px}
  .games-shell.is-game-identify .game-identify-shell{width:100%;max-width:1320px;grid-template-columns:1.08fr .92fr;min-height:clamp(500px,calc(100dvh - 150px),690px)}
  .games-shell.is-game-identify .identify-visual{padding:clamp(30px,5vw,58px)}
  .games-shell.is-game-identify .identify-card{padding:clamp(28px,5vw,52px)}
  .games-shell.is-game-identify .identify-card h2{font-size:32px}
}
@media (min-width:1500px){
  .games-shell.is-game-identify{width:min(1520px,calc(100% - 64px))}
  .games-shell.is-game-identify .game-identify-shell{max-width:1400px}
}

/* v9.04 · identificación de Juegos calcada al tamaño de Preguntas + logo HEDS */
.heds-navbar-logo{width:78px;height:42px;flex:0 0 78px;display:grid;place-items:center;overflow:hidden;border:1px solid #d7e3e9;border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(7,55,99,.07);padding:3px 5px}
.heds-navbar-logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
@media (min-width:1100px){
  body.games-identify-body .games-shell.is-game-identify{width:min(1440px,calc(100% - 48px))!important;max-width:none!important;margin:26px auto 28px!important}
  body.games-identify-body .games-shell.is-game-identify .game-identify-shell{width:100%!important;max-width:1320px!important;min-height:clamp(500px,calc(100dvh - 150px),690px)!important;grid-template-columns:1.08fr .92fr!important;gap:18px!important;margin:0 auto!important}
  body.games-identify-body .games-shell.is-game-identify .identify-visual{padding:clamp(30px,5vw,58px)!important}
  body.games-identify-body .games-shell.is-game-identify .identify-card{padding:clamp(28px,5vw,52px)!important}
  body.games-identify-body .games-shell.is-game-identify .identify-visual h1{font-size:clamp(38px,6vw,62px)!important}
  body.games-identify-body .games-shell.is-game-identify .identify-card h2{font-size:32px!important}
}
@media (min-width:1500px){
  body.games-identify-body .games-shell.is-game-identify{width:min(1520px,calc(100% - 64px))!important}
  body.games-identify-body .games-shell.is-game-identify .game-identify-shell{max-width:1400px!important}
}
@media(max-width:720px){
  .heds-navbar-logo{width:48px;height:36px;flex-basis:48px;border-radius:10px;padding:2px 3px}
  .games-brand{gap:7px}
}
@media(max-width:430px){
  .heds-navbar-logo{width:42px;height:34px;flex-basis:42px}
}


/* v9.05 · categoría dinámica + contexto ejecutivo Juegos + SOAR integrado */
.games-shell.is-games-list .soar-active-banner{display:none!important}.games-hero{min-height:300px;padding:38px 42px}.games-hero-copy{position:relative;z-index:2;min-width:0;flex:1}.portal-context-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:7px}.portal-kind-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 12px;border-radius:999px;background:#fff;color:#073763;border:1px solid rgba(255,255,255,.72);box-shadow:0 6px 16px rgba(0,0,0,.08);font-size:9.5px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.portal-context-kicker{color:#6ee6f0;font-size:10px;font-weight:900;letter-spacing:.13em}.games-hero h1{font-size:clamp(38px,5vw,64px);line-height:1;margin:8px 0 10px}.games-hero .experience-description{max-width:760px;margin:0 0 8px;color:#8ff0f3;font-weight:800}.games-hero-aside{position:relative;z-index:2;width:min(360px,30vw);flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:12px;align-items:center}.games-hero-campaign{height:112px;overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.2);background:#06142f;box-shadow:0 14px 30px rgba(0,0,0,.18)}.games-hero-campaign img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.games-hero-aside .hero-orbit{width:118px}.games-hero-aside .hero-orbit span{font-size:40px}.games-hero-aside .hero-orbit b{width:42px;height:42px;right:-3px;top:6px;font-size:18px}.games-hero-aside .hero-orbit small{bottom:15px;font-size:9px;text-align:center}.play-location{display:flex;align-items:center;gap:8px;min-width:0}.play-location .back-link{flex:0 0 auto}.play-portal-label{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;background:#073763;color:#fff;font-size:8.5px;font-weight:950;letter-spacing:.1em}.play-location strong{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#073763;font-size:11px}
@media(max-width:980px){.games-hero{align-items:stretch}.games-hero-aside{width:250px;grid-template-columns:1fr}.games-hero-campaign{height:92px}.games-hero-aside .hero-orbit{display:none}}
@media(max-width:760px){.games-hero{display:grid;grid-template-columns:1fr;padding:24px 20px;min-height:0}.games-hero-aside{width:100%;grid-template-columns:1fr}.games-hero-campaign{height:auto;aspect-ratio:1600/418;border-radius:14px}.games-hero h1{font-size:34px}.games-hero p{font-size:12.5px}.hero-badges{margin-top:16px}.portal-kind-pill{min-height:24px;padding:0 9px;font-size:8.5px}.portal-context-kicker{font-size:8.5px}.play-location strong{max-width:145px}}
@media(max-width:430px){.games-hero{padding:19px 16px}.games-hero h1{font-size:29px}.games-hero-campaign{border-radius:11px}.play-location strong{display:none}}

/* v9.06 · SOAR integrado y completamente legible en Juegos */
.games-hero-aside{width:min(430px,34vw);grid-template-columns:minmax(250px,1fr) 118px;gap:14px}
.games-hero-campaign{
  height:126px!important;padding:8px 8px 7px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:5px;
  overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.24);background:#06142f;box-shadow:0 14px 30px rgba(0,0,0,.18)
}
.games-hero-campaign img{display:block;width:100%;height:100%;min-height:0;object-fit:contain!important;object-position:center!important;border-radius:10px}
.games-hero-campaign span{display:block;color:#d9f4f6;font-size:8.5px;font-weight:900;letter-spacing:.12em;text-align:center;white-space:nowrap}
@media(max-width:1100px){.games-hero-aside{width:300px;grid-template-columns:1fr}.games-hero-campaign{height:112px!important}.games-hero-aside .hero-orbit{display:none}}
@media(max-width:760px){.games-hero-aside{width:100%}.games-hero-campaign{height:auto!important;min-height:112px;aspect-ratio:auto!important}}

/* v9.08 · móvil premium: imágenes inspeccionables y acciones compactas */
.player-progress>a[data-game-change-participant]{min-height:36px!important;padding:0 10px!important;border-radius:10px!important;font-size:10.5px!important;line-height:1.1!important;white-space:nowrap}
.player-progress>a[data-game-change-participant] .ui-icon{width:16px;height:16px}
.hotspot-scene{position:relative}
.hotspot-zoom-btn{position:absolute;right:10px;bottom:10px;z-index:8;border:1px solid rgba(255,255,255,.8);border-radius:11px;background:rgba(7,55,99,.92);color:#fff;padding:8px 11px;font:inherit;font-size:11px;font-weight:900;box-shadow:0 6px 18px rgba(7,55,99,.22);cursor:pointer}
.hotspot-marker{width:32px;height:32px;font-size:11px;border-width:2px;background:rgba(7,55,99,.88)}
.game-image-viewer{position:fixed;inset:0;z-index:99999;background:rgba(3,19,34,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;touch-action:pan-x pan-y pinch-zoom}
.game-image-viewer.hidden{display:none}.game-image-viewer img{max-width:96vw;max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.4)}
.game-image-viewer-bar{width:min(96vw,1200px);display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;color:#fff;font-size:12px;font-weight:850}.game-image-viewer-close{border:1px solid rgba(255,255,255,.35);background:#fff;color:#073763;border-radius:10px;padding:9px 12px;font-weight:900;cursor:pointer}
.partial-score-note{margin-top:10px;padding:10px 12px;border:1px solid #cfe5e9;border-radius:12px;background:#f1fafb;color:#315f72;font-size:11px;font-weight:800}
@media(max-width:650px){.player-progress>a[data-game-change-participant]{width:auto!important;margin:0!important;align-self:flex-end!important;justify-content:center!important;min-height:34px!important;padding:0 9px!important}.hotspot-scene{width:calc(100vw - 28px);margin-left:50%;transform:translateX(-50%);border-radius:14px}.hotspot-scene .challenge-visual{border-radius:14px}.hotspot-marker{width:26px;height:26px;font-size:9px;border-width:2px}.hotspot-zoom-btn{right:7px;bottom:7px;padding:7px 9px;font-size:10px}.challenge-layout{grid-template-columns:1fr}.challenge-visual img{aspect-ratio:auto;max-height:none;object-fit:contain;background:#fff}}

/* v9.09 · visor universal de imágenes + hotspots legibles */
.challenge-visual{position:relative;overflow:visible!important}
.challenge-zoom-btn,.welcome-zoom-btn{
  position:absolute;right:10px;bottom:10px;z-index:12;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.9);border-radius:11px;background:rgba(7,55,99,.94);color:#fff;
  font:inherit;font-size:11px;font-weight:900;box-shadow:0 8px 20px rgba(7,55,99,.25);cursor:pointer;backdrop-filter:blur(5px)
}
.challenge-zoom-btn:hover,.welcome-zoom-btn:hover{background:#0b5f79;transform:translateY(-1px)}
.welcome-visual{position:relative}

/* El punto real queda libre y el número se desplaza para no cubrir el texto. */
.hotspot-layer{position:absolute;inset:0;z-index:7;pointer-events:none}
.hotspot-marker,.viewer-hotspot-marker{
  position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;background:transparent!important;border:0!important;border-radius:50%;
  box-shadow:none!important;animation:none!important;z-index:7;pointer-events:auto;cursor:pointer;color:#fff
}
.hotspot-target-dot{position:absolute;left:50%;top:50%;width:11px;height:11px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#0b5f79;box-shadow:0 0 0 3px rgba(21,156,174,.35),0 2px 8px rgba(7,55,99,.35)}
.hotspot-marker-badge{position:absolute;display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#073763;color:#fff;font-size:10px;font-weight:950;line-height:1;box-shadow:0 5px 14px rgba(7,55,99,.3)}
.hotspot-marker-badge::after{content:"";position:absolute;background:rgba(7,55,99,.72)}
.dir-right .hotspot-marker-badge{left:31px;top:7px}.dir-right .hotspot-marker-badge::after{right:100%;top:50%;width:13px;height:2px}
.dir-left .hotspot-marker-badge{right:31px;top:7px}.dir-left .hotspot-marker-badge::after{left:100%;top:50%;width:13px;height:2px}
.dir-down .hotspot-marker-badge{left:7px;top:31px}.dir-down .hotspot-marker-badge::after{left:50%;bottom:100%;width:2px;height:13px}
.dir-up .hotspot-marker-badge{left:7px;bottom:31px}.dir-up .hotspot-marker-badge::after{left:50%;top:100%;width:2px;height:13px}
.hotspot-marker:hover .hotspot-target-dot,.hotspot-marker:focus .hotspot-target-dot{background:#159cae;box-shadow:0 0 0 5px rgba(21,156,174,.22),0 2px 8px rgba(7,55,99,.35)}
.hotspot-marker.is-selected .hotspot-target-dot,.viewer-hotspot-marker.is-selected .hotspot-target-dot{background:#20b7c8;box-shadow:0 0 0 5px rgba(32,183,200,.28),0 2px 8px rgba(7,55,99,.35)}
.hotspot-marker.is-selected .hotspot-marker-badge,.viewer-hotspot-marker.is-selected .hotspot-marker-badge{background:#159cae}

/* Visor premium: imagen + marcadores + controles de zoom. */
.game-image-viewer{padding:14px!important;align-items:stretch!important;justify-content:center!important;overflow:hidden!important}
.game-image-viewer-card{width:min(1500px,100%);height:min(94vh,980px);margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
.game-image-viewer-bar{width:100%!important;margin:0!important;display:flex;align-items:center;justify-content:space-between;gap:16px}
.game-image-viewer-bar>div:first-child{min-width:0}.game-image-viewer-bar strong{display:block;font-size:13px;line-height:1.3}.game-image-viewer-bar small{display:block;margin-top:3px;color:#bfd3dd;font-size:10.5px;line-height:1.35}
.game-image-viewer-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.game-image-viewer-actions button{min-width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.game-image-viewer-actions button:hover{background:rgba(255,255,255,.18)}.game-image-viewer-actions [data-viewer-reset]{min-width:58px}.game-image-viewer-actions .game-image-viewer-close{width:auto;min-width:82px;padding:0 12px;background:#fff;color:#073763}
.game-image-viewer-stage{min-height:0;overflow:auto;border-radius:16px;background:#dff2f5;padding:18px;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}
.game-image-viewer-canvas{--viewer-scale:1;position:relative;width:calc(min(1320px, 92vw) * var(--viewer-scale));min-width:calc(min(1320px, 92vw) * var(--viewer-scale));margin:auto;transition:width .16s ease,min-width .16s ease}
.game-image-viewer-canvas>img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;border-radius:14px!important;box-shadow:0 18px 55px rgba(0,0,0,.28)!important;background:#fff}
.game-image-viewer-markers{position:absolute;inset:0;pointer-events:none}.viewer-hotspot-marker{pointer-events:none;width:46px;height:46px}.viewer-hotspot-marker .hotspot-target-dot{width:13px;height:13px}.viewer-hotspot-marker .hotspot-marker-badge{min-width:31px;height:31px;font-size:11px}
.game-image-viewer-legend{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:10.5px}.game-image-viewer-legend strong{font-size:11px}.game-image-viewer-legend span{color:#c8dbe4;text-align:right}.game-image-viewer-legend .legend-selected{color:#76edf3}.game-image-viewer-legend.hidden{display:none}

@media(max-width:760px){
  .challenge-zoom-btn,.welcome-zoom-btn{right:7px;bottom:7px;min-height:34px;padding:0 10px;font-size:10px}
  .hotspot-marker{width:38px;height:38px}.hotspot-target-dot{width:9px;height:9px}.hotspot-marker-badge{min-width:23px;height:23px;font-size:9px}
  .dir-right .hotspot-marker-badge{left:27px;top:7px}.dir-left .hotspot-marker-badge{right:27px;top:7px}.dir-down .hotspot-marker-badge{left:7px;top:27px}.dir-up .hotspot-marker-badge{left:7px;bottom:27px}
  .game-image-viewer{padding:8px!important}.game-image-viewer-card{height:97vh;gap:7px}.game-image-viewer-bar{align-items:flex-start;gap:8px}.game-image-viewer-bar strong{font-size:11.5px}.game-image-viewer-bar small{font-size:9.5px}.game-image-viewer-actions{gap:4px}.game-image-viewer-actions button{min-width:34px;height:34px;font-size:12px}.game-image-viewer-actions [data-viewer-reset]{min-width:50px}.game-image-viewer-actions .game-image-viewer-close{min-width:68px;padding:0 8px;font-size:10px}.game-image-viewer-stage{padding:10px;border-radius:13px}.game-image-viewer-canvas{width:calc(94vw * var(--viewer-scale));min-width:calc(94vw * var(--viewer-scale))}.game-image-viewer-legend{align-items:flex-start;flex-direction:column;gap:3px;padding:8px 10px}.game-image-viewer-legend span{text-align:left;font-size:9.5px}
}
@media(max-width:430px){
  .game-image-viewer-bar>div:first-child small{display:none}.game-image-viewer-actions [data-viewer-reset]{display:none}.game-image-viewer-actions .game-image-viewer-close{min-width:62px}.viewer-hotspot-marker{width:40px;height:40px}.viewer-hotspot-marker .hotspot-marker-badge{min-width:26px;height:26px;font-size:10px}
}
.viewer-hotspot-marker{pointer-events:auto;cursor:pointer}
.viewer-hotspot-marker:hover .hotspot-target-dot,.viewer-hotspot-marker:focus .hotspot-target-dot{background:#159cae;box-shadow:0 0 0 5px rgba(21,156,174,.22),0 2px 8px rgba(7,55,99,.35)}

/* v9.10 · inspección guiada, flechas y reglas de avance explícitas */
.hotspot-target-dot{
  width:8px!important;height:8px!important;background:#fff!important;border:2px solid #159cae!important;
  box-shadow:0 0 0 3px rgba(21,156,174,.22),0 2px 7px rgba(7,55,99,.28)!important
}
.hotspot-marker-badge{
  min-width:25px!important;height:25px!important;font-size:9.5px!important;border-width:2px!important
}
.hotspot-marker-badge::after{opacity:.9}
.hotspot-marker-badge::before{
  content:"";position:absolute;width:0;height:0;border-style:solid;z-index:2
}
/* La punta de la flecha queda junto al punto exacto; el número permanece fuera del contenido. */
.dir-right .hotspot-marker-badge::before{right:calc(100% + 10px);top:50%;transform:translateY(-50%);border-width:4px 6px 4px 0;border-color:transparent #073763 transparent transparent}
.dir-left .hotspot-marker-badge::before{left:calc(100% + 10px);top:50%;transform:translateY(-50%);border-width:4px 0 4px 6px;border-color:transparent transparent transparent #073763}
.dir-down .hotspot-marker-badge::before{left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);border-width:0 4px 6px 4px;border-color:transparent transparent #073763 transparent}
.dir-up .hotspot-marker-badge::before{left:50%;top:calc(100% + 10px);transform:translateX(-50%);border-width:6px 4px 0 4px;border-color:#073763 transparent transparent transparent}
.hotspot-marker.is-selected .hotspot-target-dot,.viewer-hotspot-marker.is-selected .hotspot-target-dot{background:#d8fbff!important;border-color:#20b7c8!important;box-shadow:0 0 0 4px rgba(32,183,200,.28),0 2px 8px rgba(7,55,99,.32)!important}

.inspection-guide{margin:12px 0 0;padding:12px 14px;border:1px solid #cfe4e9;border-radius:14px;background:#f5fbfc;color:#17364f}
.inspection-guide-title{display:flex;align-items:flex-start;gap:9px;margin-bottom:9px}.inspection-guide-title>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#dff5f7;color:#0b7183;font-size:15px;font-weight:950}.inspection-guide-title strong{display:block;font-size:11px;line-height:1.25;color:#073763}.inspection-guide-title small{display:block;margin-top:2px;color:#637f8e;font-size:9.5px;line-height:1.4}
.inspection-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.inspection-guide-item{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:8px 9px;border:1px solid #dbecef;border-radius:10px;background:#fff}.inspection-guide-item b{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:999px;background:#073763;color:#fff;font-size:9px}.inspection-guide-item span{font-size:9.5px;line-height:1.38;color:#3f6474;font-weight:750}

.interaction-callout{display:flex;flex-direction:column;gap:4px;margin:0 0 13px;padding:11px 12px;border:1px solid #cfe4e9;border-radius:12px;background:#f2fafb;color:#315f72}.interaction-callout b{font-size:10.5px;line-height:1.35;color:#073763}.interaction-callout span{font-size:10px;line-height:1.5}

.game-image-viewer-legend{display:block!important}.game-image-viewer-legend.hidden{display:none!important}.viewer-legend-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-legend-copy strong{font-size:11px}.viewer-legend-copy span{color:#c8dbe4;text-align:right}.viewer-legend-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.viewer-legend-guide>span{display:flex;align-items:flex-start;gap:7px;padding:7px 8px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.06);color:#d7e7ed!important;text-align:left!important;line-height:1.35}.viewer-legend-guide>span>b{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:999px;background:#159cae;color:#fff;font-size:9px}

/* El punto 4 del reto de login apunta ahora a un candado visible en la propia ilustración. */
.hotspot-scene .challenge-visual img{display:block;width:100%;height:auto}

@media(max-width:760px){
  .inspection-guide{padding:10px 11px}.inspection-guide-grid{grid-template-columns:1fr}.inspection-guide-title small{font-size:9px}.inspection-guide-item{padding:7px 8px}.inspection-guide-item span{font-size:9.2px}
  .interaction-callout{padding:10px 11px}.interaction-callout b{font-size:10px}.interaction-callout span{font-size:9.5px}
  .viewer-legend-copy{align-items:flex-start;flex-direction:column;gap:3px}.viewer-legend-copy span{text-align:left}.viewer-legend-guide{grid-template-columns:1fr;max-height:122px;overflow:auto;padding-right:2px}
  .hotspot-target-dot{width:7px!important;height:7px!important}.hotspot-marker-badge{min-width:22px!important;height:22px!important;font-size:8.5px!important}
}
@media(max-width:430px){
  .inspection-guide-title>span{width:25px;height:25px;flex-basis:25px}.inspection-guide-title strong{font-size:10.5px}.inspection-guide-item b{width:20px;height:20px;flex-basis:20px}
  .viewer-legend-guide{max-height:92px}
}


/* v9.11 · guías claras, marcadores etiquetados y temporizadores coherentes */
.hotspot-marker-badge,.viewer-hotspot-marker .hotspot-marker-badge{
  width:auto!important;min-width:0!important;height:27px!important;padding:0 8px 0 5px!important;
  display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;
  border-radius:999px!important
}
.hotspot-marker-badge>span{display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.16);font-size:9px;line-height:1}
.hotspot-marker-badge>small{display:block;color:#fff;font-size:8.5px;font-weight:900;letter-spacing:.01em;line-height:1}
.inspection-guide-item>span{display:block!important;min-width:0}
.inspection-guide-item>span>strong{display:block;color:#073763;font-size:9.8px;line-height:1.25}
.inspection-guide-item>span>small{display:block;margin-top:2px;color:#557486;font-size:9.2px;line-height:1.4;font-weight:700}
.viewer-legend-guide>span>em{display:block;font-style:normal;min-width:0}
.viewer-legend-guide>span>em>strong{display:block;color:#fff;font-size:9.7px;line-height:1.25}
.viewer-legend-guide>span>em{color:#d7e7ed!important;font-size:9.2px;line-height:1.35}

.game-quick-guide{margin:0 0 14px;padding:12px 13px;border:1px solid #cfe4e9;border-radius:14px;background:#f4fbfc}
.game-quick-guide-head{display:flex;align-items:flex-start;gap:9px;margin-bottom:9px}
.game-quick-guide-head>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#dff5f7;font-size:14px}
.game-quick-guide-head strong{display:block;color:#073763;font-size:11px;line-height:1.25}
.game-quick-guide-head small{display:block;margin-top:2px;color:#627d8d;font-size:9.5px;line-height:1.35}
.game-quick-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.game-quick-guide-grid>div{display:flex;align-items:flex-start;gap:8px;padding:8px 9px;border:1px solid #dcecef;border-radius:10px;background:#fff}
.game-quick-guide-grid b{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#0b7183;color:#fff;font-size:9px}
.game-quick-guide-grid span{color:#426777;font-size:9.5px;line-height:1.4;font-weight:750}

.message-analysis-card{margin:0 0 14px;padding:15px;border:1px solid #d4e5ea;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(7,55,99,.05)}
.message-analysis-kicker{display:block;margin-bottom:10px;color:#159cae;font-size:9px;font-weight:950;letter-spacing:.13em}
.message-analysis-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:9px;align-items:baseline;padding:6px 0;border-bottom:1px solid #edf3f5}
.message-analysis-row>span{color:#6c8291;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.message-analysis-row>strong{min-width:0;overflow-wrap:anywhere;color:#073763;font-size:12px;line-height:1.35}
.message-analysis-card blockquote{margin:12px 0 0;padding:12px 13px;border-left:4px solid #159cae;border-radius:0 11px 11px 0;background:#f4f9fa;color:#17364f;font-size:15px;font-weight:850;line-height:1.45}
.message-context-note{margin-top:10px;padding:10px 11px;border:1px solid #dcebed;border-radius:11px;background:#eef8fa;color:#4c6c7c;font-size:9.8px;line-height:1.5}
.message-context-note b,.message-context-note strong{color:#073763}

.speed-meter-neutral{grid-template-columns:minmax(0,1fr) auto!important}
.speed-meter-neutral small{grid-column:1/-1;color:#607a8a;font-size:9.5px;line-height:1.4}
.speed-meter-neutral i{display:none!important}

@media(max-width:760px){
  .hotspot-marker-badge,.viewer-hotspot-marker .hotspot-marker-badge{height:24px!important;padding:0 6px 0 4px!important;gap:4px!important}
  .hotspot-marker-badge>span{width:15px;height:15px;flex-basis:15px;font-size:8px}
  .hotspot-marker-badge>small{font-size:7.4px}
  .game-quick-guide-grid{grid-template-columns:1fr}
  .game-quick-guide{padding:10px 11px}
  .message-analysis-card{padding:12px}
  .message-analysis-card blockquote{font-size:13px}
}
@media(max-width:430px){
  .hotspot-marker-badge>small{max-width:86px;overflow:hidden;text-overflow:ellipsis}
  .message-analysis-row{grid-template-columns:62px minmax(0,1fr)}
}

/* v9.13 · resumen móvil de Juegos compacto y sin acciones sobredimensionadas */
@media(max-width:650px){
  .games-shell.is-games-list .player-welcome-bar{gap:11px!important;padding:13px!important;margin-bottom:12px!important}
  .games-shell.is-games-list .player-welcome-main{width:100%;gap:10px!important}
  .games-shell.is-games-list .player-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important}
  .games-shell.is-games-list .player-welcome-main h2{font-size:19px!important;line-height:1.1!important;margin:2px 0!important}
  .games-shell.is-games-list .player-welcome-main p{font-size:10.5px!important;line-height:1.35!important}
  .games-shell.is-games-list .player-progress{
    width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;align-items:stretch!important;
  }
  .games-shell.is-games-list .player-progress>span{
    width:100%!important;min-width:0!important;padding:8px 10px!important;border-radius:11px!important;
  }
  .games-shell.is-games-list .player-progress small{font-size:9px!important}
  .games-shell.is-games-list .player-progress strong{font-size:15px!important}
  .games-shell.is-games-list .player-progress>a[data-game-change-participant]{
    grid-column:1/-1!important;justify-self:end!important;align-self:center!important;width:auto!important;max-width:max-content!important;
    min-height:36px!important;height:36px!important;margin:1px 0 0!important;padding:0 11px!important;gap:6px!important;
    border-radius:10px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important;
  }
  .games-shell.is-games-list .player-progress>a[data-game-change-participant] .ui-icon,
  .games-shell.is-games-list .player-progress>a[data-game-change-participant] svg{
    width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;min-height:15px!important;max-height:15px!important;
    flex:0 0 15px!important;display:block!important;
  }
}

/* v9.14 · móvil prioritario + visor de imágenes estable */
html.game-viewer-open,body.game-viewer-open{overflow:hidden!important;overscroll-behavior:none}
.challenge-visual img,.welcome-visual img{cursor:zoom-in}
.challenge-zoom-btn,.welcome-zoom-btn{pointer-events:auto!important;z-index:30!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.hotspot-scene .challenge-visual{position:relative;z-index:2}
.hotspot-layer{z-index:10}
.hotspot-scene .challenge-zoom-btn{z-index:40!important}
.play-mobile-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.play-home-link,.play-exit-link{display:none}

.game-image-viewer{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important}
.game-image-viewer-card{height:min(96dvh,980px)!important;max-height:96dvh}
.game-image-viewer-stage{-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom}
.game-image-viewer-canvas>img{cursor:zoom-in;user-select:none;-webkit-user-drag:none}

@media(max-width:760px){
  .games-shell.is-game-play{width:100%!important;margin:0 auto!important;padding:8px 8px 18px}
  .games-shell.is-game-play .play-shell{max-width:none;width:100%}
  .games-shell.is-game-play .play-top{position:sticky;top:67px;z-index:40;margin:0 0 8px;padding:8px;border:1px solid #dce9ee;border-radius:14px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 8px 22px rgba(7,55,99,.08);gap:7px}
  .games-shell.is-game-play .play-location{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .games-shell.is-game-play .play-mobile-nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
  .games-shell.is-game-play .play-mobile-nav .back-link{display:flex!important;align-items:center;justify-content:center;min-height:34px;padding:0 7px;border:1px solid #d4e5ea;border-radius:10px;background:#f7fbfc;color:#194963;font-size:9.5px;font-weight:900;white-space:nowrap}
  .games-shell.is-game-play .play-mobile-nav .play-home-link,.games-shell.is-game-play .play-mobile-nav .play-exit-link{display:flex!important}
  .games-shell.is-game-play .play-portal-label{justify-self:start}
  .games-shell.is-game-play .play-location>strong{justify-self:end;max-width:180px!important;font-size:9.5px}
  .games-shell.is-game-play .play-player{display:none!important}
  .games-shell.is-game-play .play-progress-copy{grid-column:1/-1;width:100%;justify-content:space-between;gap:7px;font-size:10px}
  .games-shell.is-game-play .play-progress-copy span{display:inline!important}
  .games-shell.is-game-play .progress-track{margin:0 4px 8px;height:6px}
  .games-shell.is-game-play .play-stage{min-height:0!important;padding:15px 11px 20px!important;border-radius:18px!important}
  .game-welcome{width:100%}
  .welcome-visual{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9;margin-bottom:14px!important;border-radius:16px!important}
  .welcome-visual img{object-fit:contain!important;background:#fff}
  .game-welcome h1{font-size:clamp(25px,8vw,34px)!important;line-height:1.06}
  .game-welcome>p{font-size:12px;line-height:1.5}
  .challenge{max-width:none;width:100%}
  .challenge-head{gap:8px;margin-bottom:14px;align-items:flex-start}
  .challenge-head>span:last-child{text-align:right;font-size:10px;line-height:1.3}
  .challenge h2{font-size:clamp(21px,7vw,28px)!important;line-height:1.18;margin-bottom:16px!important}
  .challenge-layout{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .challenge-visual{width:100%!important;border-radius:16px!important;overflow:hidden!important}
  .challenge-visual img{width:100%!important;height:auto!important;max-height:56dvh!important;object-fit:contain!important;background:#fff}
  .challenge-zoom-btn,.welcome-zoom-btn{right:8px!important;bottom:8px!important;min-height:38px!important;padding:0 12px!important;font-size:10.5px!important;border-radius:10px!important}
  .hotspot-scene{width:100%!important;margin:0 auto 12px!important;transform:none!important;overflow:visible!important}
  .hotspot-scene .challenge-visual{overflow:hidden!important}
  .options{gap:8px}.option{padding:12px 11px;border-radius:13px;font-size:12.5px;line-height:1.35}.option span{width:30px;height:30px;flex:0 0 30px}
  .neutral-next,.wizard-footer{position:relative;z-index:2}
  .next-btn{width:100%;min-height:46px;padding:0 14px}
  .game-quick-guide,.inspection-guide,.interaction-callout{margin-bottom:10px}
  .game-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .game-summary-item{padding:12px!important}

  .game-image-viewer{inset:0!important;width:100vw!important;height:100dvh!important;padding:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom))!important}
  .game-image-viewer-card{width:100%!important;height:100%!important;max-height:100%!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:6px!important}
  .game-image-viewer-bar{padding:0 1px;align-items:center!important}
  .game-image-viewer-bar>div:first-child{max-width:44%;overflow:hidden}
  .game-image-viewer-bar strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10.5px!important}
  .game-image-viewer-actions{margin-left:auto;gap:4px!important}
  .game-image-viewer-actions button{min-width:36px!important;height:36px!important;border-radius:9px!important;touch-action:manipulation}
  .game-image-viewer-actions .game-image-viewer-close{min-width:66px!important;font-size:9.5px!important}
  .game-image-viewer-stage{width:100%;padding:6px!important;border-radius:12px!important;display:block!important}
  .game-image-viewer-canvas{width:calc(100% * var(--viewer-scale))!important;min-width:calc(100% * var(--viewer-scale))!important;max-width:none!important;margin:0 auto!important}
  .game-image-viewer-canvas>img{width:100%!important;border-radius:10px!important}
  .game-image-viewer-legend{max-height:21dvh;overflow:auto;padding:7px 8px!important}
}

@media(max-width:430px){
  .games-nav{gap:6px!important}.games-brand>span:last-child{display:none}.games-brand{flex:0 0 auto}.nav-actions{gap:3px!important}
  .site-switch{gap:2px!important}.site-switch-label{display:none!important}.site-link{min-height:38px!important;padding:0 9px!important;font-size:9px!important}
  .games-shell.is-game-play .play-top{top:61px}
  .games-shell.is-game-play .play-location>strong{display:block!important;max-width:130px!important}
  .game-image-viewer-bar>div:first-child{display:none!important}
  .game-image-viewer-actions{width:100%;justify-content:space-between}
  .game-image-viewer-actions [data-viewer-reset]{display:inline-flex!important;align-items:center;justify-content:center}
  .game-image-viewer-actions .game-image-viewer-close{margin-left:auto}
}

/* v9.15 · cabecera del reto en una sola línea + tipografía legible y sin desbordes */
html,body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body,
button,
input,
select,
textarea{
  font-family:"Segoe UI Variable","Segoe UI",Roboto,Arial,sans-serif;
}
.games-shell.is-game-play .play-top{
  width:100%;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  overflow:hidden;
}
.games-shell.is-game-play .play-location{
  flex:1 1 auto;
  min-width:0;
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  overflow:hidden;
}
.games-shell.is-game-play .play-mobile-nav{
  flex:0 0 auto;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  width:auto!important;
  min-width:0;
}
.games-shell.is-game-play .play-mobile-nav .back-link{
  flex:0 0 auto;
  white-space:nowrap!important;
  overflow:hidden;
  text-overflow:ellipsis;
}
.games-shell.is-game-play .play-portal-label{
  flex:0 0 auto;
  white-space:nowrap;
}
.games-shell.is-game-play .play-location>strong{
  flex:1 1 auto;
  min-width:0;
  max-width:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.2;
}
.games-shell.is-game-play .play-player,
.games-shell.is-game-play .play-progress-copy{
  flex:0 0 auto;
  min-width:0;
}
.games-shell.is-game-play .play-player{
  margin:0!important;
  max-width:175px;
}
.games-shell.is-game-play .play-player>div{
  min-width:0;
}
.games-shell.is-game-play .play-player strong,
.games-shell.is-game-play .play-player small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.games-shell.is-game-play .play-progress-copy{
  margin-left:auto;
  gap:10px;
  white-space:nowrap;
}
.games-shell.is-game-play .play-progress-copy span,
.games-shell.is-game-play .play-progress-copy strong,
.games-shell.is-game-play .play-progress-copy small{
  line-height:1.15;
}
.games-shell.is-game-play .play-stage,
.games-shell.is-game-play .challenge,
.games-shell.is-game-play .game-welcome,
.games-shell.is-game-play .game-finish,
.games-shell.is-game-play .challenge-layout,
.games-shell.is-game-play .options,
.games-shell.is-game-play .option,
.games-shell.is-game-play .player-ready{
  min-width:0;
  max-width:100%;
}
.games-shell.is-game-play img,
.games-shell.is-game-play svg{
  max-width:100%;
}

@media(max-width:760px){
  .games-shell.is-game-play .play-top{
    position:sticky;
    top:67px;
    padding:7px!important;
    gap:6px!important;
    min-height:48px;
  }
  .games-shell.is-game-play .play-location{
    gap:5px!important;
  }
  .games-shell.is-game-play .play-mobile-nav{
    gap:4px!important;
  }
  .games-shell.is-game-play .play-mobile-nav .back-link{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    min-height:34px!important;
    height:34px!important;
    padding:0 8px!important;
    border:1px solid #d4e5ea;
    border-radius:10px;
    background:#f7fbfc;
    color:#194963;
    font-size:10.5px!important;
    font-weight:900;
    line-height:1!important;
  }
  .games-shell.is-game-play .play-mobile-nav .play-home-link,
  .games-shell.is-game-play .play-mobile-nav .play-exit-link{
    display:inline-flex!important;
  }
  .games-shell.is-game-play .play-portal-label{
    min-height:24px;
    padding:0 8px;
    font-size:8.5px;
  }
  .games-shell.is-game-play .play-location>strong{
    display:block!important;
    font-size:10px!important;
    max-width:none!important;
  }
  .games-shell.is-game-play .play-player{
    display:none!important;
  }
  .games-shell.is-game-play .play-progress-copy{
    display:flex!important;
    width:auto!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
    gap:5px!important;
    font-size:10px!important;
  }
  .games-shell.is-game-play .play-progress-copy span{
    display:inline!important;
    max-width:72px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .games-shell.is-game-play .play-progress-copy strong{
    font-size:11px!important;
  }
  .games-shell.is-game-play .play-progress-copy small{
    font-size:9.5px!important;
  }
}

@media(max-width:560px){
  .games-shell.is-game-play .play-top{
    gap:4px!important;
    padding:6px!important;
  }
  .games-shell.is-game-play .play-mobile-nav .back-link{
    min-height:32px!important;
    height:32px!important;
    padding:0 6px!important;
    font-size:10px!important;
    border-radius:9px;
  }
  .games-shell.is-game-play .play-portal-label{
    padding:0 6px;
    font-size:8px;
  }
  .games-shell.is-game-play .play-location>strong{
    font-size:9.5px!important;
  }
  .games-shell.is-game-play .play-progress-copy span{
    display:none!important;
  }
}

@media(max-width:430px){
  .games-shell.is-game-play .play-top{
    top:61px;
    border-radius:12px;
  }
  .games-shell.is-game-play .play-mobile-nav{
    gap:3px!important;
  }
  .games-shell.is-game-play .play-mobile-nav .back-link{
    padding:0 5px!important;
    font-size:9.5px!important;
  }
  .games-shell.is-game-play .play-portal-label{
    display:none!important;
  }
  .games-shell.is-game-play .play-location>strong{
    max-width:62px!important;
    font-size:9px!important;
  }
  .games-shell.is-game-play .play-progress-copy{
    gap:3px!important;
  }
  .games-shell.is-game-play .play-progress-copy strong{
    font-size:10px!important;
  }
}

@media(max-width:370px){
  .games-shell.is-game-play .play-location>strong{
    display:none!important;
  }
  .games-shell.is-game-play .play-mobile-nav .back-link{
    font-size:9px!important;
    padding:0 4px!important;
  }
}

/* v9.16 · juego compacto, legible y sin desbordes en teléfono */
.games-shell.is-game-play{min-width:0}
.games-shell.is-game-play .play-top>*{min-width:0}
.games-shell.is-game-play .play-stage{overflow:hidden}
.games-shell.is-game-play .challenge,.games-shell.is-game-play .game-welcome,.games-shell.is-game-play .game-finish{overflow-wrap:anywhere}
@media(max-width:650px){
  .games-shell.is-game-play{width:calc(100% - 12px)!important;margin-left:auto!important;margin-right:auto!important}
  .games-shell.is-game-play .play-top{
    top:61px!important;min-height:44px!important;padding:5px 6px!important;gap:4px!important;border-radius:12px!important;
  }
  .games-shell.is-game-play .play-location{gap:4px!important;overflow:hidden!important}
  .games-shell.is-game-play .play-mobile-nav{gap:3px!important}
  .games-shell.is-game-play .play-mobile-nav .back-link{
    height:30px!important;min-height:30px!important;padding:0 6px!important;font-size:9.5px!important;border-radius:8px!important;
  }
  .games-shell.is-game-play .play-portal-label{display:none!important}
  .games-shell.is-game-play .play-location>strong{display:none!important}
  .games-shell.is-game-play .play-progress-copy{
    display:flex!important;align-items:center!important;margin-left:auto!important;gap:4px!important;max-width:88px!important;
  }
  .games-shell.is-game-play .play-progress-copy span{display:block!important;max-width:46px!important;font-size:8.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .games-shell.is-game-play .play-progress-copy strong{font-size:9.5px!important;white-space:nowrap!important}
  .games-shell.is-game-play .play-progress-copy small{display:none!important}
  .games-shell.is-game-play .progress-track{margin-top:4px!important;height:5px!important}
  .games-shell.is-game-play .play-stage{margin-top:8px!important;border-radius:16px!important}
  .games-shell.is-game-play .game-welcome,.games-shell.is-game-play .challenge,.games-shell.is-game-play .game-finish{padding:14px 11px!important}
  .games-shell.is-game-play .game-welcome h1,.games-shell.is-game-play .challenge h1,.games-shell.is-game-play .challenge h2{font-size:22px!important;line-height:1.14!important}
  .games-shell.is-game-play .welcome-visual{max-height:min(34vh,260px)!important}
  .games-shell.is-game-play .welcome-visual img{max-height:min(30vh,230px)!important;object-fit:contain!important}
}
@media(max-width:390px){
  .games-shell.is-game-play .play-mobile-nav .back-link{padding:0 5px!important;font-size:9px!important}
  .games-shell.is-game-play .play-progress-copy{max-width:70px!important}
  .games-shell.is-game-play .play-progress-copy span{max-width:34px!important;font-size:8px!important}
  .games-shell.is-game-play .game-welcome h1,.games-shell.is-game-play .challenge h1,.games-shell.is-game-play .challenge h2{font-size:20px!important}
}

/* v9.26 · cuenta regresiva visible y sutil para cualquier juego con tiempo */
.game-countdown-panel{width:min(100%,760px);margin:0 auto 14px;padding:11px 13px 10px;border:1px solid #cfe1e7;border-radius:14px;background:#f5fafb;box-shadow:0 6px 18px rgba(7,55,99,.05);transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;align-self:start}
.game-countdown-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-countdown-main span{color:#557284;font-size:10px;font-weight:900;letter-spacing:.02em}.game-countdown-main strong{color:#073763;font-size:18px;font-variant-numeric:tabular-nums;letter-spacing:.03em}.game-countdown-panel>small{display:block;margin-top:2px;color:#78909d;font-size:9.8px;font-weight:750;line-height:1.35}.game-countdown-track{display:block;height:5px;margin-top:8px;border-radius:999px;background:#dce9ed;overflow:hidden}.game-countdown-track b{display:block;height:100%;width:100%;border-radius:inherit;background:linear-gradient(90deg,#159cae,#35c2ae);transition:width .2s linear,background .2s ease}.game-countdown-panel.is-ready{background:#f7fbfc}.game-countdown-panel.is-warning{border-color:#e8cf96;background:#fffaf0;box-shadow:0 6px 18px rgba(195,123,16,.08)}.game-countdown-panel.is-warning .game-countdown-main strong{color:#9a640f}.game-countdown-panel.is-warning .game-countdown-track b{background:linear-gradient(90deg,#d8a22f,#f0bd4f)}.game-countdown-panel.is-danger{border-color:#edb0b5;background:#fff5f6;box-shadow:0 6px 18px rgba(176,44,58,.08)}.game-countdown-panel.is-danger .game-countdown-main strong{color:#a62f3a}.game-countdown-panel.is-danger .game-countdown-track b{background:linear-gradient(90deg,#d84a56,#b52d3a)}.game-countdown-panel.is-expired .game-countdown-main strong{color:#a62f3a}.game-countdown-panel.is-finished{opacity:.82}.game-countdown-panel.is-finished .game-countdown-track b{background:#7bbdaa}
@media(max-width:650px){.game-countdown-panel{position:relative;top:auto;z-index:2;margin:0 0 12px;padding:9px 10px 8px;border-radius:12px}.game-countdown-main span{font-size:9.4px}.game-countdown-main strong{font-size:16px}.game-countdown-panel>small{font-size:9px}.game-countdown-track{height:4px;margin-top:6px}}
@media(max-width:430px){.game-countdown-main span{max-width:58%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-countdown-panel>small{white-space:normal;overflow:visible;text-overflow:clip}}


/* v9.27 · contador integrado al flujo, sin cubrir el contenido */
.games-shell.is-game-play .game-countdown-panel{grid-column:1/-1}
@media(max-width:650px){
  .games-shell.is-game-play .play-stage{display:block!important;align-items:initial!important}
  .games-shell.is-game-play .game-countdown-panel{width:100%!important;max-width:none!important;position:relative!important;inset:auto!important;transform:none!important;box-shadow:0 7px 20px rgba(7,55,99,.06)!important}
  .games-shell.is-game-play .game-welcome{margin:0 auto!important}
}
