/* NodeClash v6.3.78 — Stable Play Cockpit
   One board, one interaction surface, zero world/cinema overlays.
   Presentation-only: app.js remains authoritative for rules and state. */
html.nc-stable-play, body.nc-stable-play{background:#02070d!important;overflow:hidden!important}
body.nc-stable-play .nc-stable-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;background:
 radial-gradient(circle at 50% 35%,rgba(24,101,122,.13),transparent 36%),
 radial-gradient(circle at 15% 85%,rgba(16,73,70,.10),transparent 32%),
 linear-gradient(180deg,#02070d 0%,#031019 58%,#02070c 100%)}
body.nc-stable-play .play-stage-shell{position:relative!important;z-index:2!important;height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
body.nc-stable-play .play-topbar{position:relative!important;z-index:100!important}
body.nc-stable-play .play-stage-main{position:absolute!important;inset:52px 0 0!important;display:block!important;overflow:hidden!important}
body.nc-stable-play .play-stage-main>aside{display:none!important}
body.nc-stable-play .board-focus-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
body.nc-stable-play .board-focus-head{position:absolute!important;left:12px!important;right:12px!important;top:8px!important;height:34px!important;z-index:80!important;display:flex!important;align-items:center!important;justify-content:space-between!important;pointer-events:none!important}
body.nc-stable-play .board-focus-head>*{pointer-events:auto!important}
body.nc-stable-play .board-focus-title{font-size:0!important;margin:0!important}
body.nc-stable-play .board-focus-title::after{content:'NODECLASH ARENA';font-size:10px!important;letter-spacing:.18em!important;font-weight:1000!important}
body.nc-stable-play .board-focus-note{display:none!important}
body.nc-stable-play .board-focus-head>div:first-child{display:none!important}
body.nc-stable-play .board-focus-head .ppt-chip{font-size:8px!important;min-height:26px!important}
body.nc-stable-play .board-command-row{display:none!important}
body.nc-stable-play .board-battle-hud{position:absolute!important;left:10px!important;right:10px!important;top:48px!important;z-index:70!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:0!important}
body.nc-stable-play .hud-chip{min-height:38px!important;padding:6px 8px!important;background:rgba(3,12,20,.78)!important;backdrop-filter:blur(10px)!important}
body.nc-stable-play .hud-chip:nth-child(n+4){display:none!important}
body.nc-stable-play .board-focus-stage{position:absolute!important;inset:0!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:transparent!important;isolation:isolate!important}
body.nc-stable-play .board-slide-banner{display:none!important;position:absolute!important;left:10px!important;right:10px!important;top:94px!important;height:30px!important;z-index:60!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important;background:rgba(3,12,20,.62)!important;border:1px solid rgba(126,229,255,.13)!important;border-radius:999px!important;backdrop-filter:blur(10px)!important}
body.nc-stable-play .board-slide-banner>div:first-child{display:none!important}
body.nc-stable-play .board-slide-banner #matchClockDisplay{font-size:8px!important}
body.nc-stable-play .board-stage-center{position:absolute!important;left:0!important;right:0!important;top:130px!important;bottom:52px!important;width:auto!important;height:auto!important;margin:0!important;padding:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:20!important;isolation:isolate!important}
body.nc-stable-play .board-stage-center::before,body.nc-stable-play .board-stage-center::after{display:none!important}
body.nc-stable-play #board{position:relative!important;z-index:100!important;width:min(82vw,calc(100vh - 210px),430px)!important;height:min(82vw,calc(100vh - 210px),430px)!important;min-width:250px!important;min-height:250px!important;max-width:430px!important;max-height:430px!important;margin:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;background:rgba(3,12,20,.72)!important;border:1px solid rgba(126,229,255,.22)!important;border-radius:28px!important;box-shadow:0 24px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08)!important;isolation:isolate!important;contain:layout paint!important;overflow:visible!important;pointer-events:auto!important;touch-action:manipulation!important}
body.nc-stable-play #board>.cell{position:relative!important;z-index:101!important;min-width:0!important;min-height:0!important;background:linear-gradient(145deg,rgba(15,32,43,.92),rgba(4,14,22,.88))!important;border:1px solid rgba(161,229,242,.20)!important;border-radius:18px!important;overflow:hidden!important;pointer-events:auto!important;touch-action:manipulation!important;transform:none!important}
body.nc-stable-play #board>.cell:hover{transform:translateY(-1px)!important}
body.nc-stable-play #ncSeedArena{display:none!important}
body.nc-stable-play .presentation-result{position:absolute!important;left:10px!important;right:10px!important;bottom:10px!important;width:auto!important;z-index:65!important;min-height:28px!important;padding:6px 10px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-size:8px!important;text-align:center!important;pointer-events:none!important;background:rgba(3,12,20,.78)!important;border:1px solid rgba(126,229,255,.12)!important;border-radius:12px!important;backdrop-filter:blur(10px)!important}
/* The AI-vs-AI countdown belongs in the cockpit header, never on the board. */
body.nc-stable-play #ncAiPrematchCountdown{position:absolute!important;left:50%!important;top:128px!important;transform:translateX(-50%)!important;z-index:75!important;width:max-content!important;max-width:calc(100% - 28px)!important;margin:0!important;padding:7px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:999px!important;background:rgba(4,14,22,.92)!important;box-shadow:0 10px 30px rgba(0,0,0,.30)!important;pointer-events:none!important}
body.nc-stable-play #ncAiPrematchCountdown strong{font-size:16px!important;min-width:auto!important}
body.nc-stable-play #ncAiPrematchCountdown span{font-size:8px!important;white-space:nowrap!important}
body.nc-stable-play #ncAiPrematchCountdown .nc-ai-prematch-kicker{font-size:7px!important}
/* Home is a navigation control outside the board footprint. */
body.nc-stable-play .nc-board-home{position:absolute!important;left:12px!important;top:88px!important;z-index:95!important;min-width:78px!important;min-height:38px!important;border-radius:12px!important}
/* Keep optional lower wagering/market surfaces out of the live cockpit. They remain available from their own pages. */
body.nc-stable-play #ncLiveMarkets,body.nc-stable-play #ncCoinStakePanel{display:none!important}
/* Make the navigation rail usable on small screens instead of clipping it. */
body.nc-stable-play .nav-chips{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important;white-space:nowrap!important}
body.nc-stable-play .nav-chips::-webkit-scrollbar{display:none!important}
@media(max-width:560px){
 body.nc-stable-play .play-topbar{min-height:58px!important}
 body.nc-stable-play .board-focus-head{top:7px!important;left:8px!important;right:8px!important}
 body.nc-stable-play .board-focus-head .board-focus-title::after{font-size:8px!important}
 body.nc-stable-play .board-battle-hud{top:48px!important}
 body.nc-stable-play .board-stage-center{top:132px!important;bottom:48px!important}
 body.nc-stable-play #board{width:min(84vw,calc(100vh - 225px),380px)!important;height:min(84vw,calc(100vh - 225px),380px)!important;min-width:232px!important;min-height:232px!important;gap:6px!important;padding:8px!important;border-radius:24px!important}
 body.nc-stable-play #board>.cell{border-radius:15px!important}
 body.nc-stable-play #ncAiPrematchCountdown{top:165px!important}
 body.nc-stable-play .board-slide-banner{top:96px!important}
 body.nc-stable-play .nc-board-home{top:88px!important}
}

/* v6.3.79 Premium Stability: account identity is secondary to gameplay. */
body.nc-stable-play .nc-account-pill,
body.nc-premium-stable .nc-account-pill{
  top:auto!important; right:12px!important; bottom:58px!important; z-index:92!important;
  max-width:118px!important; padding:5px 7px!important; gap:6px!important;
  font-size:7px!important; letter-spacing:.08em!important; opacity:.9!important;
  background:rgba(3,10,17,.82)!important; border-color:rgba(143,234,255,.16)!important;
}
body.nc-stable-play .nc-account-pill button,
body.nc-premium-stable .nc-account-pill button{font-size:7px!important;}
body.nc-premium-stable .nc-premium-controls{position:absolute!important;left:10px!important;top:88px!important;z-index:96!important;display:flex!important;gap:6px!important;align-items:center!important;}
body.nc-premium-stable .nc-premium-controls button{min-height:36px!important;border-radius:12px!important;padding:0 11px!important;font:inherit!important;font-size:8px!important;font-weight:900!important;letter-spacing:.08em!important;cursor:pointer!important;backdrop-filter:blur(12px)!important;}
body.nc-premium-stable .nc-board-home{position:relative!important;left:auto!important;top:auto!important;min-width:76px!important;background:rgba(5,17,28,.92)!important;color:#b9f3ff!important;border:1px solid rgba(118,234,255,.30)!important;}
body.nc-premium-stable .nc-board-setup{background:rgba(18,24,31,.92)!important;color:#f1f6fa!important;border:1px solid rgba(255,255,255,.14)!important;}
body.nc-premium-stable .nc-board-home:hover,body.nc-premium-stable .nc-board-setup:hover{transform:translateY(-1px)!important;}
body.nc-premium-stable .play-stage-main > aside{display:none!important;}
body.nc-premium-stable.nc-setup-open .play-stage-main > aside{display:block!important;position:absolute!important;left:10px!important;top:132px!important;bottom:54px!important;width:min(360px,calc(100% - 20px))!important;z-index:110!important;overflow:auto!important;margin:0!important;padding:14px!important;background:rgba(3,12,20,.96)!important;border:1px solid rgba(126,229,255,.22)!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(0,0,0,.55)!important;backdrop-filter:blur(18px)!important;}
body.nc-premium-stable.nc-setup-open .board-stage-center{z-index:20!important;}
body.nc-premium-stable .nc-real-seed{animation:none!important;transition:none!important;}
body.nc-premium-stable .nc-real-seed-core{animation:none!important;transition:none!important;}
body.nc-premium-stable .nc-seed-form-change,body.nc-premium-stable .nc-seed-form-change-panel,body.nc-premium-stable .nc-seed-shape-event,body.nc-premium-stable .nc-seed-cycle-event{display:none!important;}
@media(max-width:560px){
  body.nc-premium-stable .nc-premium-controls{left:8px!important;top:88px!important;}
  body.nc-premium-stable .nc-account-pill{right:8px!important;bottom:52px!important;max-width:108px!important;}
  body.nc-premium-stable.nc-setup-open .play-stage-main > aside{top:130px!important;bottom:46px!important;width:calc(100% - 16px)!important;left:8px!important;}
}
