.mep-game-page{background:#f4f8ff}
.mep-game-main{padding-top:76px;background:radial-gradient(circle at 50% -10%,#dcecff 0,#f4f8ff 45%,#f8fbff 100%)}
.mep-game-hero{padding:42px 0 56px;min-height:760px}
.mep-game-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.mep-game-heading h1{margin:6px 0 10px;font-size:52px;line-height:1;letter-spacing:-2.6px;color:#07142f;font-weight:950}
.mep-game-heading h1 span{color:#176fff}
.mep-game-heading p{max-width:760px;margin:0;color:#5f6e8d;font-size:17px;line-height:1.5}
.mep-game-legend{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mep-game-legend span{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #dce7f8;border-radius:14px;padding:9px 11px;color:#394968;font-size:12px;font-weight:800;box-shadow:0 8px 25px rgba(33,73,139,.07)}
.mep-game-legend kbd{font:800 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0b1d3c;color:#fff;border-radius:7px;padding:6px 7px;box-shadow:inset 0 -2px 0 rgba(255,255,255,.15)}
.mep-game-progress-card{background:#fff;border:1px solid #d9e6f8;border-radius:18px;padding:15px 18px 17px;box-shadow:0 12px 35px rgba(25,64,128,.08);margin-bottom:12px}
.mep-game-stage-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:8px;font-size:12px;color:#667695;font-weight:900;text-transform:uppercase;letter-spacing:.7px;text-align:center}
.mep-game-stage-labels span:first-child{text-align:left}.mep-game-stage-labels span:last-child{text-align:right}
.mep-game-progress-track{height:13px;background:#e9f0fb;border-radius:999px;overflow:hidden;position:relative}
.mep-game-progress-track:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 19.8%,rgba(255,255,255,.9) 20%,rgba(255,255,255,.9) 20.4%,transparent 20.6%,transparent 39.8%,rgba(255,255,255,.9) 40%,rgba(255,255,255,.9) 40.4%,transparent 40.6%,transparent 59.8%,rgba(255,255,255,.9) 60%,rgba(255,255,255,.9) 60.4%,transparent 60.6%,transparent 79.8%,rgba(255,255,255,.9) 80%,rgba(255,255,255,.9) 80.4%,transparent 80.6%);z-index:2}
#mepGameProgressFill{display:block;height:100%;width:0;background:linear-gradient(90deg,#1a75ff,#695cff,#0bc8d7);border-radius:999px;transition:width .18s linear}
.mep-game-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.mep-game-hud>div{background:#0b1b37;color:#fff;border:1px solid rgba(255,255,255,.07);border-radius:15px;padding:11px 15px;box-shadow:0 8px 28px rgba(6,26,58,.14);display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mep-game-hud small{font-size:10px;letter-spacing:1px;color:#91a7cc;font-weight:900}.mep-game-hud strong{font-size:24px;line-height:1;font-weight:950;letter-spacing:-.7px}
.mep-game-frame{position:relative;border-radius:24px;overflow:hidden;border:1px solid #bcd4f8;background:#cfe5ff;box-shadow:0 24px 60px rgba(32,77,145,.18)}
#mepGameCanvas{display:block;width:100%;height:auto;aspect-ratio:1200/650;touch-action:none;background:#cfe5ff}
.mep-game-overlay{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(5,19,45,.62);backdrop-filter:blur(7px);z-index:20}
.mep-game-overlay.is-visible{display:flex}
.mep-game-modal{width:min(520px,100%);background:rgba(255,255,255,.98);border-radius:24px;padding:30px;text-align:center;box-shadow:0 35px 80px rgba(4,19,48,.28);border:1px solid rgba(255,255,255,.85)}
.mep-game-chip{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#eaf2ff;color:#176fff;font-size:10px;font-weight:950;letter-spacing:1.2px;margin-bottom:12px}.mep-game-chip.is-danger{background:#fff0f0;color:#c23a3a}.mep-game-chip.is-success{background:#e9fff2;color:#0c9650}
.mep-game-modal h2{font-size:34px;line-height:1.05;letter-spacing:-1.5px;color:#08142f;margin:0 0 12px;font-weight:950}.mep-game-modal p{color:#5d6c89;font-size:15px;line-height:1.55;margin:0 auto 18px;max-width:430px}
.mep-game-start-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.mep-game-start-stats span,.mep-game-result-mini span{background:#f2f7ff;border:1px solid #e1ebfa;border-radius:14px;padding:12px;color:#5b6c8b;font-size:12px;font-weight:800}.mep-game-start-stats b{display:block;color:#0a1a38;font-size:24px;line-height:1;margin-bottom:4px}
.mep-game-primary,.mep-game-secondary{border:0;border-radius:14px;padding:14px 20px;font:900 14px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s ease,box-shadow .15s ease}.mep-game-primary{background:linear-gradient(135deg,#176fff,#4c5df8);color:#fff;box-shadow:0 10px 24px rgba(23,111,255,.25);min-width:190px}.mep-game-primary:hover{transform:translateY(-1px);color:#fff}.mep-game-secondary{background:#eef4fc;color:#183255;margin-left:8px}.mep-game-wa{background:linear-gradient(135deg,#00b95e,#19d47f)}
.mep-game-result-mini{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 18px}.mep-game-result-mini b{display:block;color:#07142f;font-size:20px;margin-top:4px}
.mep-game-result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.mep-game-result-grid>div{background:#f2f7ff;border:1px solid #e1ebfa;border-radius:15px;padding:14px}.mep-game-result-grid small{display:block;color:#71809c;font-weight:900;font-size:9px;letter-spacing:1px;margin-bottom:5px}.mep-game-result-grid strong{font-size:26px;color:#07142f;letter-spacing:-.6px}
.mep-game-mobile-controls{display:none;justify-content:space-between;align-items:center;margin:14px 0 0;gap:16px}.mep-game-dpad{display:flex;gap:10px}.mep-game-mobile-controls button{appearance:none;border:0;min-width:68px;height:58px;border-radius:16px;background:#0b1b37;color:#fff;font-size:22px;font-weight:950;box-shadow:0 8px 24px rgba(8,28,59,.17);touch-action:none}.mep-game-mobile-controls .mep-game-jump{min-width:120px;background:linear-gradient(135deg,#176fff,#585df7);font-size:13px;letter-spacing:.6px}
.mep-game-help{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.mep-game-help>div{background:#fff;border:1px solid #dce7f8;border-radius:16px;padding:14px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px;box-shadow:0 8px 22px rgba(31,72,137,.05)}.mep-game-help span{grid-row:1/3;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px}.mep-game-help strong{align-self:end;color:#0b1833;font-size:13px}.mep-game-help p{margin:2px 0 0;color:#6b7893;font-size:11px;line-height:1.35}.mep-bit-demo{background:#e6f4ff;color:#1674ff;font-size:23px}.mep-block-demo{background:#0e2a57;color:#fff;font:900 12px/1 monospace}.mep-enemy-demo{background:#eef1ff;color:#5b55ed;font-size:22px}
@media(max-width:900px){.mep-game-main{padding-top:66px}.mep-game-heading{align-items:flex-start;flex-direction:column}.mep-game-heading h1{font-size:43px}.mep-game-legend{justify-content:flex-start}.mep-game-hud{grid-template-columns:1fr 1fr}.mep-game-mobile-controls{display:flex}.mep-game-help{grid-template-columns:1fr}.mep-game-stage-labels{font-size:10px}}
@media(max-width:560px){.mep-game-hero{padding:27px 0 40px}.mep-game-heading h1{font-size:36px;letter-spacing:-1.8px}.mep-game-heading p{font-size:14px}.mep-game-legend span{font-size:10px}.mep-game-legend kbd{display:none}.mep-game-progress-card{padding:12px}.mep-game-stage-labels{font-size:8px;letter-spacing:0}.mep-game-hud>div{padding:10px}.mep-game-hud strong{font-size:20px}.mep-game-hud small{font-size:8px}.mep-game-frame{border-radius:16px}.mep-game-overlay{padding:12px}.mep-game-modal{padding:22px 16px;border-radius:18px}.mep-game-modal h2{font-size:27px}.mep-game-modal p{font-size:13px}.mep-game-primary,.mep-game-secondary{width:100%;margin:0 0 9px}.mep-game-start-stats{gap:6px}.mep-game-start-stats span{padding:9px 5px;font-size:10px}.mep-game-start-stats b{font-size:21px}.mep-game-mobile-controls button{min-width:62px;height:54px}.mep-game-mobile-controls .mep-game-jump{min-width:110px}}


/* MoiEgea 1.1.15 · adaptación móvil del juego */
@media(max-width:560px){
  .mep-game-main{padding-top:0}
  .mep-game-hero{padding:14px 0 28px;min-height:0}
  .mep-game-heading{gap:9px;margin-bottom:12px}
  .mep-game-heading .mep-kicker{font-size:8px;letter-spacing:1.5px;margin-bottom:4px}
  .mep-game-heading h1{font-size:28px;line-height:1.02;letter-spacing:-1.2px;margin:0 0 7px}
  .mep-game-heading p{font-size:12px;line-height:1.4;max-width:none}

  .mep-game-legend{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:6px;width:100%}
  .mep-game-legend span{min-width:0;justify-content:center;text-align:center;padding:7px 6px;border-radius:12px;font-size:9px;line-height:1.15;box-shadow:0 5px 15px rgba(33,73,139,.06)}
  .mep-game-legend span strong{font-size:12px}
  .mep-game-legend kbd{display:none}

  .mep-game-progress-card{padding:9px 10px 10px;border-radius:14px;margin-bottom:8px}
  .mep-game-stage-labels{font-size:7px;letter-spacing:0;gap:2px;margin-bottom:6px}
  .mep-game-progress-track{height:9px}

  .mep-game-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:9px}
  .mep-game-hud>div{min-width:0;min-height:52px;padding:7px 5px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
  .mep-game-hud small{font-size:6.8px;letter-spacing:.65px;white-space:nowrap}
  .mep-game-hud strong{font-size:17px;letter-spacing:-.4px;white-space:nowrap}

  .mep-game-frame{border-radius:16px}
  #mepGameCanvas{aspect-ratio:auto;width:100%;height:auto}

  /* En la pantalla inicial el modal se comporta como una tarjeta normal,
     evitando que quede recortado dentro del canvas panorámico. */
  .mep-game-frame:has(#mepGameStart.is-visible){overflow:visible;background:transparent;border:0;box-shadow:none}
  .mep-game-frame:has(#mepGameStart.is-visible) #mepGameCanvas{display:none}
  #mepGameStart.is-visible{position:relative;inset:auto;display:block;padding:0;background:transparent;backdrop-filter:none}
  #mepGameStart .mep-game-modal{width:100%;padding:18px 14px 15px;border-radius:18px;box-shadow:0 14px 34px rgba(25,64,128,.12);border:1px solid #dce7f8}
  #mepGameStart .mep-game-chip{margin-bottom:8px;font-size:8px;padding:6px 9px}
  #mepGameStart .mep-game-modal h2{font-size:27px;line-height:1;margin-bottom:9px;letter-spacing:-1.1px}
  #mepGameStart .mep-game-modal p{font-size:12px;line-height:1.42;margin-bottom:12px}
  #mepGameStart .mep-game-start-stats{gap:6px;margin:12px 0}
  #mepGameStart .mep-game-start-stats span{padding:8px 4px;border-radius:12px;font-size:9px}
  #mepGameStart .mep-game-start-stats b{font-size:20px;margin-bottom:3px}
  #mepGameStart .mep-game-primary{width:100%;min-height:46px;margin:0;padding:12px 16px;font-size:13px}

  /* Derrota/victoria: modal legible y sin ocupar toda la pantalla. */
  .mep-game-overlay{padding:9px}
  .mep-game-modal{padding:18px 13px;border-radius:16px;max-height:94%;overflow:auto}
  .mep-game-modal h2{font-size:24px;line-height:1.05;margin-bottom:8px}
  .mep-game-modal p{font-size:12px;line-height:1.42;margin-bottom:12px}
  .mep-game-result-mini,.mep-game-result-grid{gap:6px;margin:10px 0 12px}
  .mep-game-result-mini span,.mep-game-result-grid>div{padding:9px}
  .mep-game-result-mini b{font-size:17px}
  .mep-game-result-grid strong{font-size:20px}

  .mep-game-mobile-controls{display:flex;position:sticky;bottom:8px;z-index:40;margin:9px 0 10px;padding:6px;border-radius:18px;background:rgba(244,248,255,.88);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(7,28,62,.10)}
  .mep-game-dpad{gap:7px}
  .mep-game-mobile-controls button{min-width:56px;height:52px;border-radius:14px;font-size:19px}
  .mep-game-mobile-controls .mep-game-jump{min-width:118px;font-size:12px}

  .mep-game-help{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
  .mep-game-help>div{padding:8px 4px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;border-radius:13px}
  .mep-game-help span{width:34px;height:34px;flex:0 0 34px}
  .mep-game-help strong{font-size:9px;line-height:1.1}
  .mep-game-help p{display:none}
  .mep-bit-demo{font-size:19px}.mep-block-demo{font-size:9px}.mep-enemy-demo{font-size:18px}
}


/* MoiEgea 1.1.16 · juego móvil a pantalla completa y horizontal */
.mep-game-play-shell{position:relative}
.mep-game-fullscreen-exit,.mep-game-rotate-prompt{display:none}

@media (max-width:900px), (pointer:coarse){
  html.mep-game-playing-fullscreen,html.mep-game-playing-fullscreen body{background:#07162f;overflow:hidden!important;overscroll-behavior:none}
  .mep-game-play-shell:fullscreen,
  .mep-game-play-shell:-webkit-full-screen,
  html.mep-game-playing-fullscreen .mep-game-play-shell{
    width:100vw;
    height:100dvh;
    max-width:none;
    margin:0;
    padding:10px 12px 8px;
    box-sizing:border-box;
    background:#07162f;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,2.4fr);
    grid-template-rows:54px minmax(0,1fr);
    gap:8px 10px;
    align-items:stretch;
    overflow:hidden;
  }
  html.mep-game-playing-fullscreen .mep-game-progress-card{
    grid-column:2;
    grid-row:1;
    margin:0;
    padding:7px 12px 8px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    background:rgba(255,255,255,.08);
    box-shadow:none;
    color:#fff;
    align-self:center;
  }
  html.mep-game-playing-fullscreen .mep-game-stage-labels{
    margin-bottom:5px;
    color:#dce8ff;
    font-size:8px;
    letter-spacing:.2px;
  }
  html.mep-game-playing-fullscreen .mep-game-progress-track{height:8px;background:rgba(255,255,255,.13)}
  html.mep-game-playing-fullscreen .mep-game-hud{
    grid-column:1;
    grid-row:1;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    margin:0;
    align-self:center;
  }
  html.mep-game-playing-fullscreen .mep-game-hud>div{
    min-height:44px;
    padding:5px 6px;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
  }
  html.mep-game-playing-fullscreen .mep-game-hud small{font-size:6.5px;letter-spacing:.5px;color:#9fb9e7}
  html.mep-game-playing-fullscreen .mep-game-hud strong{font-size:16px;color:#fff;white-space:nowrap}
  html.mep-game-playing-fullscreen .mep-game-frame{
    grid-column:1 / -1;
    grid-row:2;
    min-height:0;
    height:100%;
    width:100%;
    margin:0;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:none;
    background:#10264a;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  html.mep-game-playing-fullscreen #mepGameCanvas{
    display:block!important;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    aspect-ratio:auto;
    object-fit:contain;
    background:#cfe5ff;
  }
  html.mep-game-playing-fullscreen .mep-game-mobile-controls{
    display:flex!important;
    position:absolute!important;
    left:24px;
    right:24px;
    bottom:18px;
    z-index:90;
    margin:0;
    padding:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
    pointer-events:none;
  }
  html.mep-game-playing-fullscreen .mep-game-mobile-controls button{pointer-events:auto}
  html.mep-game-playing-fullscreen .mep-game-dpad{gap:12px}
  html.mep-game-playing-fullscreen .mep-game-mobile-controls button{
    width:76px;
    min-width:76px;
    height:76px;
    border-radius:50%;
    background:rgba(5,19,45,.78);
    border:2px solid rgba(255,255,255,.28);
    box-shadow:0 8px 22px rgba(0,0,0,.22);
    font-size:25px;
  }
  html.mep-game-playing-fullscreen .mep-game-mobile-controls .mep-game-jump{
    width:104px;
    min-width:104px;
    height:104px;
    border-radius:50%;
    background:linear-gradient(135deg,#176fff,#555df8);
    font-size:15px;
    letter-spacing:.7px;
  }
  html.mep-game-playing-fullscreen .mep-game-fullscreen-exit{
    display:flex;
    position:absolute;
    right:18px;
    top:74px;
    z-index:105;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;
    background:rgba(5,19,45,.74);
    color:#fff;
    align-items:center;
    justify-content:center;
    font:400 30px/1 system-ui,sans-serif;
    cursor:pointer;
  }
  html.mep-game-playing-fullscreen .mep-game-overlay{z-index:100}
  .mep-game-rotate-prompt{
    position:absolute;
    inset:0;
    z-index:130;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:#07162f;
    color:#fff;
    text-align:center;
  }
  .mep-game-rotate-prompt.is-visible{display:flex}
  .mep-game-rotate-prompt>div{max-width:330px}
  .mep-game-rotate-prompt span{display:block;font-size:64px;line-height:1;margin-bottom:14px;color:#42b9ff;transform:rotate(90deg)}
  .mep-game-rotate-prompt strong{display:block;font-size:26px;margin-bottom:8px}
  .mep-game-rotate-prompt small{display:block;font-size:14px;line-height:1.45;color:#b9cbea}
}

@media (max-height:500px) and (orientation:landscape){
  html.mep-game-playing-fullscreen .mep-game-play-shell{
    padding:6px 8px;
    grid-template-columns:minmax(300px,.95fr) minmax(0,2.2fr);
    grid-template-rows:46px minmax(0,1fr);
    gap:5px 8px;
  }
  html.mep-game-playing-fullscreen .mep-game-hud>div{min-height:38px;padding:3px 4px}
  html.mep-game-playing-fullscreen .mep-game-hud strong{font-size:14px}
  html.mep-game-playing-fullscreen .mep-game-progress-card{padding:5px 10px}
  html.mep-game-playing-fullscreen .mep-game-mobile-controls{left:18px;right:18px;bottom:12px}
  html.mep-game-playing-fullscreen .mep-game-mobile-controls button{width:66px;min-width:66px;height:66px}
  html.mep-game-playing-fullscreen .mep-game-mobile-controls .mep-game-jump{width:88px;min-width:88px;height:88px;font-size:13px}
  html.mep-game-playing-fullscreen .mep-game-fullscreen-exit{top:58px;right:13px;width:38px;height:38px;font-size:27px}
}


/* MoiEgea 1.1.17 · derrota inmersiva dentro del juego */
@media (max-width:900px), (pointer:coarse){
  html.mep-game-playing-fullscreen #mepGameOver,
  html.mep-game-playing-fullscreen #mepGameWin{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    z-index:220!important;
    padding:16px 22px!important;
    box-sizing:border-box;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(3,11,27,.78)!important;
    backdrop-filter:blur(4px)!important;
    overflow:hidden!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal{
    width:min(900px,92vw)!important;
    max-width:900px!important;
    max-height:92dvh!important;
    overflow:auto!important;
    padding:22px 28px 20px!important;
    border-radius:22px!important;
    background:rgba(5,17,42,.94)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:0 28px 80px rgba(0,0,0,.45)!important;
    color:#fff!important;
    text-align:center!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-chip,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-chip{
    display:inline-flex!important;
    margin:0 auto 10px!important;
    font-size:10px!important;
    letter-spacing:1.1px!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal h2,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal h2{
    margin:0 0 10px!important;
    color:#fff!important;
    font-size:clamp(28px,5.5vw,58px)!important;
    line-height:.98!important;
    letter-spacing:-1.8px!important;
    text-transform:uppercase;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal p,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal p{
    max-width:760px!important;
    margin:0 auto 14px!important;
    color:#d5e2f7!important;
    font-size:clamp(13px,2vw,20px)!important;
    line-height:1.35!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini{
    display:flex!important;
    justify-content:center!important;
    gap:10px!important;
    margin:12px auto 16px!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini span{
    min-width:150px!important;
    padding:9px 18px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.2)!important;
    color:#d8e6ff!important;
    font-size:12px!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini b{
    color:#fff!important;
    font-size:17px!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-primary,
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-secondary,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-primary,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-secondary{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:230px!important;
    min-height:50px!important;
    margin:4px 5px!important;
    padding:12px 22px!important;
    border-radius:16px!important;
    font-size:13px!important;
    font-weight:900!important;
    letter-spacing:.2px!important;
    text-transform:uppercase;
  }
  html.mep-game-playing-fullscreen #mepGameRetryBtn{
    background:linear-gradient(135deg,#176fff,#555df8)!important;
    color:#fff!important;
    border:0!important;
  }
  html.mep-game-playing-fullscreen #mepGameWhatsApp{
    background:#0bbf64!important;
    color:#fff!important;
    border:0!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver.is-visible ~ * .mep-game-mobile-controls,
  html.mep-game-playing-fullscreen #mepGameWin.is-visible ~ * .mep-game-mobile-controls{
    opacity:.18;
  }
}

@media (max-height:500px) and (orientation:landscape){
  html.mep-game-playing-fullscreen #mepGameOver,
  html.mep-game-playing-fullscreen #mepGameWin{padding:8px 14px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal{
    width:min(980px,94vw)!important;
    max-height:96dvh!important;
    padding:14px 22px 13px!important;
    border-radius:18px!important;
  }
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-chip,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-chip{margin-bottom:6px!important;font-size:8px!important;padding:5px 9px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal h2,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal h2{font-size:clamp(25px,5.2vw,46px)!important;margin-bottom:6px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-modal p,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-modal p{font-size:clamp(11px,1.75vw,16px)!important;margin-bottom:8px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini{margin:7px auto 9px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini span{padding:6px 14px!important;min-width:125px!important;font-size:10px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-result-mini b{font-size:14px!important}
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-primary,
  html.mep-game-playing-fullscreen #mepGameOver .mep-game-secondary,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-primary,
  html.mep-game-playing-fullscreen #mepGameWin .mep-game-secondary{
    min-width:200px!important;
    min-height:42px!important;
    margin:3px 4px!important;
    padding:9px 18px!important;
    border-radius:14px!important;
    font-size:11px!important;
  }
}
