/* Shared final game layer: scoped to the seven playable Originals. */
body.studio-game-page{background:#0e1018!important;color:#eeeef6!important;font-family:Inter,Arial,sans-serif!important;padding:0!important;min-height:100svh!important;height:auto!important;overflow-y:auto!important}body.studio-game-page *{box-sizing:border-box}body.studio-game-page [hidden]{display:none!important}body.studio-game-page :focus-visible{outline:2px solid #c4acff!important;outline-offset:3px}body.studio-game-page button{touch-action:manipulation}body.studio-game-page .side{display:none!important}body.studio-game-page>.shell,body.studio-game-page>.app,body.studio-game-page>#app{display:block!important;width:100%!important;max-width:1440px!important;margin:0 auto!important;min-height:0!important;padding:0!important}body.studio-game-page .main{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}body.studio-game-page .top,body.studio-game-page .topbar{display:none!important}body.studio-game-page .studio-game-header{position:sticky;top:0;z-index:1200;display:flex;align-items:center;gap:18px;height:76px;padding:0 max(28px,calc((100vw - 1384px)/2));border-bottom:1px solid #ffffff10;background:#12141ef5;backdrop-filter:blur(18px)}.studio-back,.studio-help,.studio-wallet{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:9px;background:#1c1f2d;border:1px solid #ffffff10;color:#c3bad9;text-decoration:none;font-size:19px;cursor:pointer}.studio-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.studio-wordmark{font-size:27px;font-weight:950;font-style:italic;letter-spacing:-1.7px;color:#fff;text-decoration:none;display:flex;gap:7px;align-items:center}.studio-wordmark span{font-size:8px;letter-spacing:1.3px;font-style:normal;color:#a99abe;margin-top:7px}.studio-game-title{padding-left:20px;border-left:1px solid #ffffff13;display:grid;gap:5px}.studio-game-title small{font-size:7px;letter-spacing:1.8px;color:#85849b}.studio-game-title b{font-size:12px;letter-spacing:1.8px}.studio-game-account{margin-left:auto}.studio-game-header .balance,.studio-game-header .top-balance{display:flex!important;align-items:center;gap:9px;font-size:9px!important;color:#8f93aa!important;background:#1a1c29!important;border:1px solid #ffffff0b!important;border-radius:9px!important;padding:11px 15px!important;margin:0!important;max-width:240px!important;white-space:nowrap}.studio-game-header .balance b,.studio-game-header .top-balance strong{font-size:13px!important;color:#f0e9ff!important}.studio-wallet{background:#b69cff;color:#211331;border-color:#cab5ff}.studio-game-tabs{display:flex;align-items:stretch;gap:7px;max-width:1440px;padding:21px 28px;margin:auto;overflow:auto;scrollbar-width:thin;scrollbar-color:#363044 transparent}.studio-game-tabs a{display:flex;gap:9px;align-items:center;white-space:nowrap;min-height:42px;padding:0 17px;border:1px solid transparent;border-radius:8px;text-decoration:none;color:#999db1}.studio-game-tabs a span{font-size:10px;font-weight:700;letter-spacing:.8px}.studio-game-tabs a small{font-size:9px;color:#646a82}.studio-game-tabs a[aria-current]{background:#a58bff16;border-color:#a58bff25;color:#d4c4ff}.studio-game-tabs a:hover{background:#ffffff07}.studio-game-page .layout,.studio-game-page .main>.game,.studio-game-page .game-shell{max-width:100%!important;margin:0!important;padding:0!important;gap:18px!important}.studio-game-page .main>.game,.studio-game-page.studio-escape .layout,.studio-game-page.studio-mines .layout,.studio-game-page.studio-orbit .game-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 310px!important;align-items:start!important;padding:0 28px 28px!important}.studio-game-page.studio-orbit .layout{display:block!important}.studio-game-page .stage,.studio-game-page .scene{height:620px!important;min-height:620px!important;max-height:none!important;border:1px solid #ffffff12!important;border-radius:16px!important;overflow:hidden!important;box-shadow:none!important}.studio-game-page .panel{display:flex!important;flex-direction:column!important;width:auto!important;gap:12px!important;order:1!important;min-width:0!important;background:#171923!important;border:1px solid #ffffff10!important;border-radius:14px!important;padding:18px!important;box-shadow:none!important}.studio-game-page .panel .card{display:block!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.studio-game-page .panel .card+.card{padding-top:16px!important;border-top:1px solid #ffffff0d!important;margin-top:4px!important}.studio-game-page .panel h2,.studio-game-page .panel h3{display:block!important;font-size:12px!important;font-weight:650!important;letter-spacing:.3px!important;margin:0 0 14px!important;color:#e5dff1!important}.studio-game-page .panel .label,.studio-game-page .panel .field>small,.studio-game-page .risk-title{font-size:10px!important;color:#a0a0b4!important;line-height:1.5!important;margin-bottom:8px!important}.studio-game-page .betbox,.studio-game-page .betwrap,.studio-game-page .inputrow,.studio-game-page .field-row{min-height:48px!important;border-radius:9px!important;border:1px solid #ffffff14!important;background:#0f111b!important;padding:0 11px!important;display:flex!important;align-items:center!important;gap:8px!important}.studio-game-page #bet{background:transparent!important;color:#fff!important;font-size:17px!important;min-height:44px!important;width:100%!important;min-width:0!important;border:0!important;box-shadow:none!important;outline-offset:0!important}.studio-game-page .chips button,.studio-game-page .quick button,.studio-game-page .chip,.studio-game-page .mine-select button,.studio-game-page .risk{min-height:40px!important;height:auto!important;padding:8px!important;background:#222433!important;border:1px solid #ffffff0b!important;border-radius:7px!important;color:#b7b4c9!important;font-size:11px!important}.studio-game-page .risk.active,.studio-game-page .mine-select button.active{border-color:#af92f7!important;background:#a686eb1f!important;color:#dfcdff!important}.studio-game-page .panel .action,.studio-game-page .panel .start,.studio-game-page .panel .primary{display:block!important;width:100%!important;min-height:50px!important;height:auto!important;padding:13px!important;background:linear-gradient(120deg,#b69cff,#9879e3)!important;color:#1c102e!important;border:1px solid #d0baff66!important;border-radius:9px!important;box-shadow:none!important;font-size:13px!important;font-weight:800!important;letter-spacing:.5px!important;margin-top:13px!important}.studio-game-page button:disabled{opacity:.4!important;cursor:not-allowed!important}.studio-game-page .panel .cash{display:block!important;min-height:46px!important;height:auto!important;width:100%!important;padding:11px!important;background:#20352e!important;border:1px solid #99cdb344!important;border-radius:9px!important;color:#b3e7c7!important;font-size:12px!important;margin-top:8px!important}.studio-game-page .panel .metric,.studio-game-page .panel .stat,.studio-game-page .riskcard{background:#11131e!important;border:1px solid #ffffff09!important;border-radius:9px!important;padding:11px!important;color:#a8a8bc!important;font-size:11px!important}.studio-game-page .panel .metric small,.studio-game-page .panel .stat small{font-size:9px!important;line-height:1.5!important;color:#8e92a9!important}.studio-game-page .panel .metric b,.studio-game-page .panel .stat b{font-size:15px!important;color:#e5d9ff!important}.studio-game-page .panel .proof{display:block!important;font-size:10px!important;line-height:1.6!important;color:#8d91a8!important;overflow-wrap:anywhere!important}.studio-game-page .panel .history{display:block!important;max-height:190px!important;overflow:auto!important}.studio-game-page .panel .history small,.studio-game-page .panel .history h4{font-size:10px!important;color:#9c99ac!important}.studio-game-page .panel .hist{font-size:11px!important;background:#11131d!important;border-color:#ffffff0b!important;padding:10px!important}.studio-game-page .terminal,.studio-game-page .message{font-size:11px!important;line-height:1.6!important}.studio-game-page .action-strip{position:static!important;display:grid!important;grid-template-columns:1fr!important;margin-top:8px!important;gap:0!important;background:none!important;padding:0!important;width:100%!important}.studio-game-page .action-strip .step{min-height:44px!important;font-size:11px!important}.studio-game-page.studio-vault .statusbar{font-size:11px!important}.studio-game-page.studio-mines .board{width:min(88%,490px)!important;top:95px!important;left:50%!important;transform:translateX(-50%)!important;gap:7px!important}.studio-game-page.studio-mines .scene-head{max-width:65%!important}.studio-game-page.studio-mines .scene-head span{font-size:11px!important}.studio-game-page.studio-mines .status{font-size:11px!important;bottom:15px!important;left:14px!important;right:14px!important;width:auto!important;transform:none!important;min-width:0!important}.studio-game-page .scene-head small,.studio-game-page .risk-badge{font-size:9px!important}.studio-game-page.studio-nova>#app{max-width:1000px!important;padding:0 28px 28px!important}.studio-game-page.studio-nova .game{margin:0 auto!important}.studio-game-footer{display:flex;justify-content:space-between;gap:20px;max-width:1384px;margin:5px auto 0;padding:23px 0 30px;border-top:1px solid #ffffff0c;color:#747991;font-size:9px;letter-spacing:.6px}.studio-game-footer b{font-weight:500;color:#afa4c8}.studio-game-footer a{color:#b5a4d0;text-decoration:none}.studio-rules{max-width:460px;width:calc(100% - 32px);padding:32px;border:1px solid #a990d744;border-radius:18px;background:#191b29;color:#e6e0f2;box-shadow:0 30px 100px #0009}.studio-rules::backdrop{background:#070813c9;backdrop-filter:blur(6px)}.studio-rules>span{font-size:9px;letter-spacing:1.6px;color:#b5a1dc}.studio-rules h2{font-size:28px;letter-spacing:-1px;margin:19px 0}.studio-rules p{font-size:14px;line-height:1.8;color:#b6b6cb}.studio-rules>div{font-size:12px;line-height:1.7;padding:16px;background:#0e111b;border-radius:9px;margin:20px 0}.studio-rules>a{font-size:12px;color:#c7acff;text-decoration:none}.studio-dialog-close{position:absolute;right:13px;top:12px;width:36px;height:36px;background:#ffffff06;border:1px solid #ffffff12;color:#c6bed5;border-radius:8px;font-size:22px}
@media(max-width:1050px){.studio-game-page .main>.game,.studio-game-page.studio-escape .layout,.studio-game-page.studio-mines .layout,.studio-game-page.studio-orbit .game-shell{grid-template-columns:minmax(0,1fr) 280px!important;padding:0 18px 24px!important;gap:14px!important}.studio-game-tabs{padding:15px 18px}.studio-game-tabs a{padding:0 12px}.studio-game-tabs small{display:none}.studio-game-page .stage,.studio-game-page .scene{height:560px!important;min-height:560px!important}.studio-game-page.studio-mines .board{top:100px!important}.studio-game-footer{margin:0 18px}}
@media(max-width:760px){body.studio-game-page .studio-game-header{height:64px;padding:0 12px;gap:9px}.studio-back,.studio-help,.studio-wallet{width:36px;height:36px;flex-basis:36px;min-height:36px!important;font-size:17px}.studio-wordmark{font-size:23px}.studio-wordmark span{display:none}.studio-game-title{padding-left:10px;gap:4px}.studio-game-title small{font-size:6px;letter-spacing:1px}.studio-game-title b{font-size:10px;letter-spacing:1px}.studio-game-header .balance,.studio-game-header .top-balance{font-size:0!important;padding:8px!important;gap:0!important;background:transparent!important;border:0!important;max-width:140px!important}.studio-game-header .balance b,.studio-game-header .top-balance strong{font-size:11px!important}.studio-game-header .balance small,.studio-game-header .top-balance .label{display:none!important}.studio-game-tabs{padding:12px;gap:4px}.studio-game-tabs a{min-height:38px;padding:0 12px}.studio-game-tabs a span{font-size:9px}.studio-game-page .main>.game,.studio-game-page.studio-escape .layout,.studio-game-page.studio-mines .layout,.studio-game-page.studio-orbit .game-shell{display:flex!important;flex-direction:column!important;padding:0 12px 20px!important;gap:13px!important}.studio-game-page .stage,.studio-game-page .scene{order:0!important;width:100%!important;height:430px!important;min-height:430px!important;max-height:none!important;border-radius:12px!important}.studio-game-page .panel{order:1!important;width:100%!important;padding:16px!important;border-radius:12px!important;gap:13px!important}.studio-game-page .panel .card:not(:first-child){display:block!important}.studio-game-page .panel .label{font-size:10px!important}.studio-game-page .chips button,.studio-game-page .quick button,.studio-game-page .chip,.studio-game-page .mine-select button,.studio-game-page .risk{min-height:44px!important}.studio-game-page .panel h3{display:block!important}.studio-game-page.studio-mines .scene{height:calc(min(92vw, 430px) + 135px)!important;min-height:0!important}.studio-game-page.studio-mines .board{top:94px!important;width:min(92%,430px)!important;max-width:430px!important;gap:5px!important}.studio-game-page.studio-mines .scene-head{top:13px!important;left:13px!important;right:auto!important;max-width:64%!important}.studio-game-page.studio-mines .scene-head b{font-size:15px!important}.studio-game-page.studio-mines .scene-head span{font-size:9px!important}.studio-game-page.studio-mines .risk-badge{font-size:7px!important;right:10px!important;top:16px!important}.studio-game-page.studio-mines .status{font-size:10px!important;bottom:9px!important}.studio-game-page.studio-vault .stage{height:480px!important;min-height:480px!important}.studio-game-page.studio-vault .playfield{width:94%!important}.studio-game-page.studio-vault .box-preview{font-size:8px!important}.studio-game-page.studio-vault .vault-head small{font-size:8px!important}.studio-game-page.studio-orbit .hud{top:20px!important}.studio-game-page.studio-orbit .mult{font-size:58px!important}.studio-game-page.studio-orbit .status-toast{font-size:10px!important;bottom:13px!important}.studio-game-page.studio-breach .stage{height:470px!important;min-height:470px!important}.studio-game-page.studio-drop .stage{height:460px!important;min-height:460px!important}.studio-game-page.studio-nova>#app{padding:0 12px 20px!important}.studio-game-footer{margin:0 12px;padding:20px 0 26px;flex-wrap:wrap;font-size:8px}.studio-game-footer>span:last-child{width:100%}}
@media(max-width:380px){.studio-wordmark{display:none}.studio-game-title{border-left:0;padding-left:0}.studio-game-tabs a{padding:0 10px}.studio-game-page.studio-drop .stage{height:410px!important;min-height:410px!important}}
.studio-action-dock{display:grid;gap:7px}.studio-edit-bet{display:none}.studio-game-page .panel .studio-action-dock #step{min-height:44px;font-size:11px;border-radius:8px}.studio-game-page.studio-mines .panel>.card,.studio-game-page.studio-orbit .panel>.card{padding:0!important;border-radius:0!important;background:none!important}.studio-game-page.studio-mines .panel>.card+.card,.studio-game-page.studio-orbit .panel>.card+.card{padding-top:16px!important}
@media(max-width:760px){body.studio-game-page:not(.studio-nova){padding-bottom:90px!important}.studio-game-page .panel .studio-action-dock{display:flex!important;align-items:center!important;position:fixed!important;z-index:1250;bottom:0!important;left:0!important;right:0!important;gap:8px!important;padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;background:#171925f5!important;backdrop-filter:blur(18px);border-top:1px solid #b9a0ef25!important}.studio-game-page .panel .studio-action-dock button{flex:1;min-width:0!important;margin:0!important;min-height:48px!important;height:48px!important;font-size:11px!important;padding:8px!important;line-height:1.3!important;letter-spacing:0!important}.studio-game-page .panel .studio-action-dock .studio-edit-bet{display:grid!important;gap:5px;align-content:center;flex:0 0 65px;background:none!important;border:0!important;color:#dfd7ed!important;text-align:left}.studio-edit-bet small{font-size:7px;color:#9993ab;white-space:nowrap}.studio-edit-bet b{font-size:13px}.studio-game-page.studio-vault .panel .studio-action-dock #start:disabled{display:none!important}.studio-game-page.studio-vault .panel .studio-action-dock #step:disabled{display:none!important}}
@media(prefers-reduced-motion:reduce){body.studio-game-page *,body.studio-game-page *:before,body.studio-game-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.studio-game-page.studio-mines .cell:disabled{opacity:1!important}
@media(min-width:761px){.studio-game-page.studio-mines .board{width:min(88%,450px)!important}.studio-game-page.studio-drop .board{height:480px!important;top:100px!important;width:min(85%,600px)!important}.studio-game-page .panel .studio-action-dock{order:0!important}.studio-game-page.studio-drop .panel .studio-action-dock,.studio-game-page.studio-breach .panel .studio-action-dock,.studio-game-page.studio-escape .panel .studio-action-dock{order:0!important}}
@media(max-width:1050px) and (min-width:761px){.studio-game-page.studio-drop .board{height:420px!important;top:90px!important}.studio-game-page.studio-mines .board{width:min(88%,390px)!important}}
@media(prefers-reduced-motion:reduce){.studio-game-page .result.show{opacity:1!important}.studio-game-page .jackpot.show{opacity:1!important}}
/* Geometry and controls must override the archived per-game mobile patches. */
html body.studio-game-page.studio-escape .stage .hud{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:92%!important;text-align:center!important}
html body.studio-game-page .panel .field>small,html body.studio-game-page .panel .label,html body.studio-game-page .panel .risk-title{display:block!important;font-size:10px!important;color:#a9a3b9!important}
html body.studio-game-page .panel .card>h3{display:block!important}
@media(max-width:760px){html body.studio-game-page.studio-drop .stage .board{top:88px!important;bottom:auto!important;height:330px!important;min-height:330px!important;width:96%!important;left:50%!important;transform:translateX(-50%)!important;max-height:none!important}html body.studio-game-page.studio-drop .stage .bins{bottom:14px!important;top:auto!important;height:38px!important}html body.studio-game-page .panel .field{height:auto!important;min-height:72px!important}html body.studio-game-page.studio-escape .stage .mult{font-size:52px!important;line-height:1.1!important}html body.studio-game-page.studio-escape .stage .status{left:auto!important;transform:none!important;width:auto!important;text-align:center!important}}
@media(max-width:380px){html body.studio-game-page.studio-drop .stage .board{height:285px!important;min-height:285px!important;top:82px!important}}


/* Supplied N1X wordmark + SVG controls */
.studio-wordmark img{display:block;width:96px;height:auto}.studio-rules .studio-svg,.studio-game-footer .studio-svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}.studio-dialog-close .studio-svg,.studio-help .studio-svg,.studio-wallet .studio-svg{width:18px;height:18px}.studio-game-header .balance-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;vertical-align:-2px}
@media(max-width:760px){.studio-wordmark img{width:78px}}
