/* Perspective-projected animated arenas: visual only, never intercept gameplay input. */
.arcade-motion-scene{position:relative!important;background:#0b1d30!important;overflow:hidden!important;isolation:isolate;contain:layout paint;pointer-events:none}
.arcade-motion-scene>.arcade-motion-canvas{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;pointer-events:none}
.arcade-card .arcade-motion-scene{height:155px!important;margin:-8px -8px 7px!important}
.worlds-arcade-card .arcade-motion-scene{height:120px}
.worlds-play>.arcade-motion-scene,.arcade-intro>.arcade-motion-scene{height:125px!important;width:100%}
.worlds-game-rush>.arcade-motion-scene{height:90px!important}
.arcade-quiz-arena>.arcade-motion-scene{height:96px!important}
.arcade-motion-note{font-size:11px;letter-spacing:.05em;color:#b1d9e4;line-height:1.4}
.arcade-stage>.arcade-motion-scene{height:100px!important;margin-bottom:10px}
.arcade-play-head{gap:12px;flex-wrap:wrap}
.arcade-shell button,.worlds-play button{touch-action:manipulation}
.arcade-motion-scene canvas{touch-action:none}
@media(max-width:600px){.arcade-card .arcade-motion-scene{height:120px!important}.worlds-play>.arcade-motion-scene{height:102px!important}.arcade-play-head>*{min-width:0}}
@media(prefers-reduced-motion:reduce){.arcade-motion-scene{animation:none!important}}
/* Consistent mobile accessibility and tactile feedback for all 14 games. */
.arcade-shell :is(button,a,select):focus-visible,
.worlds-arena :is(button,a,input,select):focus-visible{outline:3px solid #ffdda0!important;outline-offset:3px!important}
.arcade-shell .arcade-card,.worlds-arena .worlds-play{overflow-wrap:anywhere}
.arcade-shell .arcade-card button,.worlds-arena .worlds-btn{min-height:44px}
.worlds-arena .worlds-choice{min-width:0}
.worlds-arena .worlds-choice button{min-width:0}
.worlds-arena .worlds-canvas-wrap,.arcade-stage{min-width:0;max-width:100%;overflow:hidden}
.worlds-arena .worlds-canvas,.arcade-stage .arcade-canvas{max-width:100%;height:auto;display:block}
.worlds-arena .worlds-arena-stage{min-width:0}
@media(prefers-reduced-motion:reduce){.arcade-shell *, .worlds-arena *{scroll-behavior:auto}}

/* 2.43.19: unscaled touch-friendly fullscreen arcade; scroll instead of shrinking the entire game. */
.worlds-arena{overflow-y:auto!important;overflow-x:hidden!important;justify-content:center;align-items:flex-start!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.worlds-arena-stage{transform:none!important;transform-origin:top center!important;flex:0 0 auto;max-width:100%;margin:auto 0}
.worlds-arena .worlds-play{max-width:100%;min-width:0;box-sizing:border-box}
.worlds-arena .worlds-play .worlds-btn{min-height:44px}
.worlds-arena .worlds-play .worlds-controls .worlds-btn{min-height:48px}
.worlds-arena .worlds-game-whoami>.arcade-motion-scene,
.worlds-arena .worlds-game-setter>.arcade-motion-scene,
.worlds-arena .worlds-game-rotation>.arcade-motion-scene,
.worlds-arena .worlds-game-coach>.arcade-motion-scene,
.worlds-arena .worlds-game-manager>.arcade-motion-scene,
.worlds-arena .worlds-game-matchball>.arcade-motion-scene,
.worlds-arena .worlds-game-escape>.arcade-motion-scene{height:160px!important}
@media(max-width:420px){.worlds-arena-stage{width:calc(100vw - 16px)!important}.worlds-arena .worlds-play{padding:10px}.worlds-arena .worlds-game-line .worlds-canvas-wrap{width:min(100%,calc(42dvh * 360 / 440))}}
