/* NodeClash v6.3.66 — final additive performance + readability polish. */
body.nc-direct-game .play-stage-main > aside,
body.nc-direct-game .play-stage-main > details,
body.nc-direct-game .play-stage-main > .play-panel{contain:layout paint style;}
body.nc-direct-game #board{contain:layout paint style;isolation:isolate;touch-action:manipulation;}
body.nc-direct-game #board .cell{contain:layout paint style;will-change:transform;}
body.nc-direct-game #board .triangle,
body.nc-direct-game #board .circle{will-change:transform,filter;}
body.nc-direct-game .board-stage-center{contain:layout paint;}
body.nc-direct-game #nc664WorldMoments{contain:layout paint style;}
body.nc-direct-game #nc664WorldMoments .wm-photo{content-visibility:auto;}
body.nc-direct-game.nc-performance-lite .board-stage-center::before,
body.nc-direct-game.nc-performance-lite .board-stage-center::after{filter:none!important;}
body.nc-direct-game.nc-performance-lite #nc664WorldMoments{backdrop-filter:none!important;box-shadow:0 18px 48px rgba(0,0,0,.5)!important;}
body.nc-direct-game.nc-performance-lite #nc664WorldMoments .wm-photo{box-shadow:none!important;}
body.nc-direct-game .cell{transition:transform .08s ease,box-shadow .12s ease,border-color .12s ease!important;}
body.nc-direct-game .cell:active{transform:scale(.985)!important;}
body.nc-direct-game #ncWinnerLeaderboard .nc-winner-card{contain:layout paint style;}
body.nc-direct-game #ncWinnerLeaderboard.show .nc-winner-card{animation:ncWinnerCardIn .22s cubic-bezier(.2,.8,.2,1) both;}
@keyframes ncWinnerCardIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 body.nc-direct-game .cell,.nc-winner-card{transition:none!important;animation:none!important;}
}

body.nc-direct-game #board .cell.nc-input-pending{transform:translateY(-2px) scale(1.015)!important;border-color:rgba(118,234,255,.72)!important;box-shadow:0 0 0 1px rgba(118,234,255,.25),0 0 28px rgba(118,234,255,.24)!important;}

/* v6.3.68 — board input hardening: every visible pixel of a node is a hit target. */
body.nc-direct-game #board,
body.nc-direct-game #board .cell{
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.nc-direct-game #board .cell::before,
body.nc-direct-game #board .cell::after,
body.nc-direct-game #board .cell > *,
body.nc-direct-game #board .cell > *::before,
body.nc-direct-game #board .cell > *::after{
  pointer-events:none!important;
}
body.nc-direct-game #board .cell{
  pointer-events:auto!important;
}
