/* OrbitDoku v17.54.32 · capas de viaje y alertas sin parpadeos en WebKit. */
/* Do not display another full-screen intro after an in-game continuation. */
html.orbit-continue-arriving #levelIntro{display:none!important}
.orbit-hyperjump{
  position:fixed;inset:0;z-index:2147481100;overflow:hidden;isolation:isolate;
  display:grid;place-items:center;box-sizing:border-box;padding:20px;
  color:#fff9ee;background:radial-gradient(ellipse at 50% 44%,#7657b7 0%,#2b245d 38%,#090b28 82%);
  font-family:ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  text-align:center;pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;
  animation:orbitHyperJumpFadeIn .28s ease-out both;
}
.orbit-hyperjump__deco,.orbit-hyperjump::before,.orbit-hyperjump::after{position:absolute;inset:0;pointer-events:none;content:""}
.orbit-hyperjump::before{
  inset:-12%;opacity:.65;
  background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0 9deg,#d9bcff16 10deg 10.6deg,transparent 11deg 24deg);
  mask-image:radial-gradient(ellipse,#000 7%,transparent 70%);
  -webkit-mask-image:radial-gradient(ellipse,#000 7%,transparent 70%);
  animation:orbitHyperSpin 9s linear infinite;
}
.orbit-hyperjump::after{
  inset:-10%;opacity:.8;
  background-image:radial-gradient(circle,#fff7dfbf 1px,transparent 2px),radial-gradient(circle,#bfe4ff87 1px,transparent 2px),linear-gradient(90deg,transparent 15%,rgba(255,255,255,.08) 49%,transparent 85%);
  background-size:77px 91px,138px 114px,100% 100%;
  /* El fondo no cambia de tamaño/posición en cada fotograma: solo se mueve una capa. */
  animation:orbitHyperStarsLight 1.7s ease-out both;
}
.orbit-hyperjump__deco{
  background:radial-gradient(circle at 20% 24%,#ffffff28 0,transparent 18%),radial-gradient(circle at 84% 18%,#ffd08f29 0,transparent 17%),radial-gradient(circle at 50% 72%,#ab8cff24 0,transparent 26%);
  filter:none;
}
.orbit-hyperjump__content{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;gap:12px;width:min(100%,390px)}
.orbit-hyperjump__symbol{position:relative;display:grid;place-items:center;width:122px;height:122px;border-radius:50%;
  background:radial-gradient(circle at 45% 37%,#fff4d0,#f8cc79 18%,#aa78ff 28%,#4b389d 56%,transparent 74%);
  filter:drop-shadow(0 0 28px #cb8fff9b);font-size:54px;line-height:1;
  animation:orbitHyperWarp 1s cubic-bezier(.17,.67,.2,1) both;
}
.orbit-hyperjump__symbol::before,.orbit-hyperjump__symbol::after{content:"";position:absolute;border:2px solid #ffecbfc4;border-radius:50%}
.orbit-hyperjump__symbol::before{width:145px;height:48px;transform:rotate(-26deg);box-shadow:0 0 20px #ffe5a277}
.orbit-hyperjump__symbol::after{width:138px;height:42px;border-color:#b8ecff86;transform:rotate(34deg)}
.orbit-hyperjump__eyebrow{font-size:11px;letter-spacing:.21em;font-weight:900;color:#ffe6af;text-shadow:0 0 12px #ffcf8c88}
.orbit-hyperjump__title{font-size:clamp(29px,7vw,38px);font-weight:950;letter-spacing:-.028em;line-height:1.06;text-shadow:0 5px 22px #0b082baa}
.orbit-hyperjump__subtitle{font-size:14px;line-height:1.45;color:#e9dbff;max-width:330px}
.orbit-hyperjump__bar{width:min(72vw,220px);height:6px;border-radius:999px;overflow:hidden;background:#ffffff26;margin-top:4px;box-shadow:0 0 14px #eee0ff3d}
.orbit-hyperjump__bar::before{content:"";display:block;height:100%;width:100%;background:linear-gradient(90deg,#78c7ff,#fff1a4,#dba7ff);transform-origin:left;animation:orbitHyperLoad 1.7s ease-in-out both}
.orbit-hyperjump__status{min-height:1.4em;font-size:13px;font-weight:700;color:#fff7dd;letter-spacing:.04em}
.orbit-hyperjump--loaded .orbit-hyperjump__bar{opacity:.32}
.orbit-hyperjump--loaded .orbit-hyperjump__symbol{animation-duration:1.25s}
.orbit-hyperjump--departing{animation:orbitHyperArrival .36s ease-in both}
.orbit-hyperjump--boss{background:radial-gradient(ellipse at 50% 44%,#6b1736 0%,#2a1037 42%,#05060e 87%)}
.orbit-hyperjump--boss::before{
  background:radial-gradient(circle at 50% 50%,transparent 0 11%,rgba(0,0,0,.96) 13%,rgba(148,35,79,.35) 18%,transparent 22%),repeating-conic-gradient(from 0deg at 50% 50%,transparent 0 14deg,rgba(242,115,158,.12) 15deg 18deg,transparent 19deg 31deg);
  mask-image:none;-webkit-mask-image:none;opacity:.85;animation:orbitBossSwirl 4.2s linear infinite;
}
.orbit-hyperjump--boss::after{
  background-image:radial-gradient(circle at 22% 23%,rgba(255,255,255,.85) 0 1px,transparent 2px),radial-gradient(circle at 76% 34%,rgba(255,198,143,.65) 0 1px,transparent 2px),radial-gradient(circle at 50% 50%,transparent 0 10%,rgba(16,0,9,.92) 13%,rgba(230,76,130,.16) 18%,transparent 24%);
  background-size:140px 110px,160px 140px,100% 100%;animation:orbitBossPulse 1.3s ease-in-out infinite alternate;
}
.orbit-hyperjump--boss .orbit-hyperjump__deco{background:radial-gradient(circle at 50% 48%,rgba(255,85,147,.25) 0,transparent 17%),radial-gradient(circle at 29% 72%,rgba(120,26,72,.36) 0,transparent 22%),radial-gradient(circle at 78% 19%,rgba(255,188,112,.18) 0,transparent 15%)}
.orbit-hyperjump--boss .orbit-hyperjump__symbol{background:radial-gradient(circle at 50% 42%,#ffe2be 0,#ffb664 18%,#e7507d 33%,#53154d 57%,transparent 74%);filter:drop-shadow(0 0 28px #ff5e8490)}
.orbit-hyperjump--precision{background:radial-gradient(ellipse at 50% 44%,#5b81b9 0%,#2e3b70 41%,#09112d 85%)}
.orbit-hyperjump--arriving{pointer-events:auto}
@keyframes orbitHyperJumpFadeIn{from{opacity:0}to{opacity:1}}
@keyframes orbitHyperArrival{0%{opacity:1}100%{opacity:0}}
@keyframes orbitHyperSpin{to{transform:rotate(30deg)}}
@keyframes orbitHyperStarsLight{from{opacity:.32;transform:translate3d(0,3%,0) scale(1.01)}to{opacity:.8;transform:translate3d(0,-3%,0) scale(1.06)}}
@keyframes orbitHyperWarp{0%{opacity:.22;transform:scale(.56) rotate(-34deg)}65%{opacity:1;transform:scale(1.06) rotate(2deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes orbitHyperLoad{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes orbitBossSwirl{to{transform:rotate(360deg)}}
@keyframes orbitBossPulse{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .orbit-hyperjump,.orbit-hyperjump::before,.orbit-hyperjump::after,.orbit-hyperjump__symbol,.orbit-hyperjump__bar::before{animation:none!important}
}
.orbit-hyperjump__blackhole{position:absolute;display:block;aspect-ratio:1;
  width:clamp(78px,23vw,124px);border-radius:50%;opacity:.86;
  background:conic-gradient(from 10deg,#ffdc92 0 12%,#ff825b 13% 21%,#4b1645 26% 49%,#8a205c 54% 64%,#ff96bd 67% 81%,#ffc17c 88% 100%);
  box-shadow:0 0 18px #ff5d8a55;animation:orbitBlackHoleRotate 6.4s linear infinite;
}
.orbit-hyperjump__blackhole::after{content:"";position:absolute;inset:21%;border-radius:50%;
  background:radial-gradient(circle at 42% 37%,#000 0 35%,#06000a 78%);
  box-shadow:0 0 2px #fff1ba88,0 0 0 3px #ffb28d5c,0 0 16px 4px #f8526b80;
}
.orbit-hyperjump__blackhole--1{top:11%;left:8%;animation-direction:reverse;transform:rotate(-12deg)}
.orbit-hyperjump__blackhole--2{top:18%;right:3%;width:clamp(62px,19vw,102px);animation-duration:8s}
.orbit-hyperjump__blackhole--3{bottom:10%;right:10%;width:clamp(70px,22vw,115px);animation-duration:7.7s;animation-direction:reverse}
.orbit-hyperjump--boss .orbit-hyperjump__symbol{
  font-size:0;background:radial-gradient(circle at 50% 50%,#000 0 30%,#0b0411 33% 42%,#ffb07b 46% 49%,#ef447e 55%,#6b1c66 66%,transparent 76%);
  box-shadow:0 0 20px #fa5179aa;filter:none;
}
.orbit-hyperjump--ready::before,.orbit-hyperjump--ready::after,
.orbit-hyperjump--ready .orbit-hyperjump__blackhole,
.orbit-hyperjump--ready .orbit-hyperjump__symbol{animation:none!important}
@media(prefers-reduced-motion:reduce){
  .orbit-hyperjump__blackhole{animation:none!important}
}

/* Nueva pantalla sorpresa previa al siguiente nivel difícil. */
.orbit-boss-alert{
  position:fixed;inset:0;z-index:2147481080;overflow:hidden;isolation:isolate;
  display:grid;place-items:center;padding:18px;color:#fffaf8;
  background:radial-gradient(circle at 50% 22%,rgba(255,101,132,.18),transparent 25%),linear-gradient(180deg,#19050f,#230611 38%,#11030a 100%);
  font-family:ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  animation:orbitBossAlertIn .22s ease-out both;
}
.orbit-boss-alert::before,.orbit-boss-alert::after,.orbit-boss-alert__flash,.orbit-boss-alert__scan{content:"";position:absolute;inset:0;pointer-events:none}
.orbit-boss-alert::before{
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.045) 0 18px,transparent 18px 42px),radial-gradient(circle at 50% 14%,rgba(255,241,209,.12),transparent 20%),radial-gradient(circle at 50% 110%,rgba(255,79,110,.18),transparent 36%);
  animation:orbitBossAlertSweep 4.6s linear infinite;
}
.orbit-boss-alert::after{
  background:linear-gradient(90deg,transparent 0 3%,rgba(255,74,110,.45) 3% 9%,transparent 9% 91%,rgba(255,74,110,.45) 91% 97%,transparent 97% 100%);
  opacity:.65;
  animation:orbitBossFrameBlink 1.05s steps(2,end) infinite;
}
.orbit-boss-alert__flash{
  background:radial-gradient(circle at 50% 30%,rgba(255,118,118,.22),transparent 25%),linear-gradient(180deg,rgba(255,0,68,.08),rgba(90,8,24,.16));
  mix-blend-mode:screen;
  animation:orbitBossFlash 1.02s steps(2,end) infinite;
}
.orbit-boss-alert__scan{
  background:linear-gradient(180deg,transparent 0 22%,rgba(255,255,255,.07) 26%,transparent 31%,transparent 65%,rgba(255,255,255,.05) 69%,transparent 73%);
  inset:-15% 0;background-size:100% 220px;
  opacity:.35;
  animation:orbitBossScanLight 3.8s linear infinite;
}
.orbit-boss-alert__card{
  position:relative;z-index:2;width:min(100%,390px);padding:24px 20px 20px;border-radius:28px;
  border:1px solid #ffb5c4;background:linear-gradient(160deg,rgba(92,15,38,.95),rgba(37,8,22,.92));
  box-shadow:0 0 0 1px rgba(255,221,230,.18),0 16px 44px rgba(0,0,0,.48),0 0 30px rgba(255,54,102,.28),inset 0 1px 0 rgba(255,255,255,.16);
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;
}
.orbit-boss-alert__lamps{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:2px}
.orbit-boss-alert__lamps span{width:14px;height:14px;border-radius:50%;background:linear-gradient(180deg,#fff6df,#ff9ba8);box-shadow:0 0 12px rgba(255,77,116,.75),0 0 0 4px rgba(255,255,255,.08);animation:orbitBossLampBlink 1.02s steps(2,end) infinite}
.orbit-boss-alert__lamps span:nth-child(2){animation-delay:.17s}
.orbit-boss-alert__lamps span:nth-child(3){animation-delay:.34s}
.orbit-boss-alert__eyebrow{font-size:12px;font-weight:950;letter-spacing:.2em;color:#ffd7ad;text-shadow:0 0 18px rgba(255,176,90,.22)}
.orbit-boss-alert__icon{font-size:60px;line-height:1;filter:drop-shadow(0 0 20px rgba(255,102,136,.5));animation:orbitBossIconPop .52s cubic-bezier(.16,1.25,.3,1) both}
.orbit-boss-alert__title{margin:0;font-size:clamp(27px,7vw,35px);line-height:1.08;color:#fff2f1;text-shadow:0 4px 16px rgba(0,0,0,.35)}
.orbit-boss-alert__desc{margin:0;font-size:14px;line-height:1.52;color:#ffe6ec;max-width:320px}
.orbit-boss-alert__next{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:14px;border:1px solid #ffd0a6;background:linear-gradient(180deg,#fff0bc,#ffc16d);color:#582d0c;font-size:13px;font-weight:900;letter-spacing:.05em;box-shadow:0 0 0 3px rgba(255,241,207,.14),0 0 16px rgba(255,181,71,.4)}
.orbit-boss-alert__status{margin-top:4px;min-height:48px;width:100%;display:flex;align-items:center;justify-content:center;border-radius:16px;padding:12px 16px;font-size:14px;font-weight:900;letter-spacing:.08em;color:#fff4ef;background:linear-gradient(180deg,rgba(255,160,178,.22),rgba(255,79,110,.18));border:1px solid rgba(255,201,210,.34);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 0 14px rgba(255,74,110,.22);}
/* Después de la alerta la capa debe seguir opaca hasta el pagehide.
   No desvanecerla: veríamos de nuevo el modal de victoria anterior. */
.orbit-boss-alert--departing{animation:none!important;opacity:1!important;pointer-events:auto!important}
.orbit-boss-alert--departing::before,.orbit-boss-alert--departing::after,
.orbit-boss-alert--departing .orbit-boss-alert__flash,
.orbit-boss-alert--departing .orbit-boss-alert__scan{animation-play-state:paused!important}
@keyframes orbitBossAlertIn{from{opacity:0}to{opacity:1}}
@keyframes orbitBossAlertOut{from{opacity:1}to{opacity:0}}
@keyframes orbitBossAlertSweep{to{transform:translateY(-14px)}}
@keyframes orbitBossFrameBlink{0%,40%,100%{opacity:.38}50%,90%{opacity:.88}}
@keyframes orbitBossFlash{0%,45%,100%{opacity:.28}50%,90%{opacity:.95}}
@keyframes orbitBossScanLight{from{transform:translate3d(0,-12%,0)}to{transform:translate3d(0,12%,0)}}
@keyframes orbitBossLampBlink{0%,35%,100%{opacity:.4;transform:scale(.92)}50%,90%{opacity:1;transform:scale(1)}}
@keyframes orbitBossIconPop{0%{opacity:.12;transform:scale(.72)}100%{opacity:1;transform:scale(1)}}

/* Si una pantalla cubre toda la app, pausamos las animaciones subyacentes. */
html.orbit-hyper-arriving .app,
html.orbit-hyper-arriving .app *,
html.orbit-hyper-arriving .app *::before,
html.orbit-hyper-arriving .app *::after,
html.orbit-hyper-leaving .app,
html.orbit-hyper-leaving .app *,
html.orbit-hyper-leaving .app *::before,
html.orbit-hyper-leaving .app *::after,
html.orbit-boss-alert-open .app,
html.orbit-boss-alert-open .app *,
html.orbit-boss-alert-open .app *::before,
html.orbit-boss-alert-open .app *::after{
  animation-play-state:paused!important;
}
@media(prefers-reduced-motion:reduce){
  .orbit-boss-alert,.orbit-boss-alert::before,.orbit-boss-alert::after,.orbit-boss-alert__flash,.orbit-boss-alert__scan,.orbit-boss-alert__lamps span,.orbit-boss-alert__icon{animation:none!important}
}

/* v17.54.3: rotación por transform, sin repintar gradientes en cada fotograma. */
@keyframes orbitBlackHoleRotate{to{transform:rotate(360deg)}}

/* v17.54.5: una ventana modal cubre por completo el tablero.
   La galería, el selector y la cápsula no necesitan que sigan animándose
   planetas, destellos o reacciones debajo de sus capas. La pausa no altera
   las reglas ni los tiempos de la partida, y se deshace al cerrar. */
html.orbit-dev-picker-open .app,
html.orbit-dev-picker-open .app *,
html.orbit-dev-picker-open .app *::before,
html.orbit-dev-picker-open .app *::after,
html.orbit-gallery-open .app,
html.orbit-gallery-open .app *,
html.orbit-gallery-open .app *::before,
html.orbit-gallery-open .app *::after,
body.orbit-weekly-modal-open .app,
body.orbit-weekly-modal-open .app *,
body.orbit-weekly-modal-open .app *::before,
body.orbit-weekly-modal-open .app *::after{
  animation-play-state:paused!important;
}

/* Safari iPhone: se mantiene el primer plano del hipersalto y todos los
   personajes; quitamos la rotación de la capa de fondo fullscreen, que
   combina máscara y gradientes complejos. Los agujeros negros de delante
   continúan visibles y el principal conserva su rotación. */
html.ios-light .orbit-hyperjump::before{animation:none!important;}
html.ios-light .orbit-hyperjump--boss::after{animation:none!important;opacity:.85;}
html.ios-light .orbit-hyperjump--boss .orbit-hyperjump__blackhole--2,
html.ios-light .orbit-hyperjump--boss .orbit-hyperjump__blackhole--3{animation:none!important;}

/* Short in-game hyperjump: visual cue, not a fake loading screen. */
.orbit-hyperjump--quick .orbit-hyperjump__bar{display:none}
.orbit-hyperjump--quick .orbit-hyperjump__symbol{width:88px;height:88px;font-size:42px;animation-duration:.33s}
.orbit-hyperjump--quick .orbit-hyperjump__subtitle{display:none}
.orbit-hyperjump--quick .orbit-hyperjump__status{font-size:12px}
.orbit-hyperjump--quick::before{animation:none}
