/* Physical finishes and readable, truthful result lighting. */
:root{--workshop-cloth:#153d42;--workshop-metal:#81938b;--workshop-ivory:#eee8d6;--workshop-dark:#102330;--workshop-wood:#bfa47b}
#pageContent .game-workspace .workshop-table-stage{--table-felt:var(--workshop-cloth)}
html[data-workshop-theme=forest]{--workshop-cloth:#194538;--workshop-dark:#112d29;--workshop-metal:#9aa88a;--workshop-wood:#c7ad80}
html[data-workshop-theme=plum]{--workshop-cloth:#383046;--workshop-dark:#211f34;--workshop-metal:#a9a1ab;--workshop-wood:#c2a69b}
#pageContent .game-workspace .game-stage{background-color:var(--workshop-dark)!important}
#pageContent .game-stage .workshop-result-light{position:absolute;inset:0;z-index:12;pointer-events:none!important;border-radius:inherit;contain:strict;will-change:opacity}
.workshop-result-light[data-kind=win]{background:rgba(35,219,121,.38);box-shadow:inset 0 0 0 3px #62edac,inset 0 0 100px #35d79066}
.workshop-result-light[data-kind=loss]{background:rgba(239,65,83,.34);box-shadow:inset 0 0 0 3px #fb7f8f,inset 0 0 100px #e6436366}
.workshop-result-light[data-kind=push]{background:rgba(222,185,103,.24);box-shadow:inset 0 0 0 2px #e3c58a,inset 0 0 90px #d4a55d33}
#pageContent .game-workspace .game-controls .button-primary{border-radius:7px!important;box-shadow:inset 0 1px #d2ffe266,0 3px 0 #226e58!important}
#gameMenu[data-picker-phone=true]{inset:auto 8px max(8px,env(safe-area-inset-bottom))!important;width:calc(100vw - 16px)!important;max-height:calc(var(--picker-viewport-height,100dvh) - 18px)!important;height:min(590px,calc(var(--picker-viewport-height,100dvh) - 18px))!important;border-radius:15px!important;gap:12px!important}
#gameMenu[data-picker-phone=true] .game-menu-title{font-size:16px;padding:1px 0 4px}
#gameMenu[data-picker-phone=true] .game-menu-search{display:none!important}
.workshop-theme-setting{align-items:center;gap:14px}
.workshop-theme-setting>div{display:flex;gap:6px}
.workshop-theme-setting button{display:grid;justify-items:center;gap:5px;background:transparent;border:1px solid #44606c;border-radius:7px;padding:7px 9px;color:#afc4cb;font-size:10px}
.workshop-theme-setting button i{width:23px;height:16px;border-radius:3px;background:#153d42;box-shadow:inset 0 0 0 2px #7b988a66}
.workshop-theme-setting button[data-table-finish=forest] i{background:#235a40}.workshop-theme-setting button[data-table-finish=plum] i{background:#51405d}
.workshop-theme-setting button[aria-pressed=true]{border-color:#8ad6b6;background:#28493f;color:#e1f3e9}
/* A new launch scene: a real model and launch ground, no multiplier graph. */
#pageContent .game-rocket .rocket-sky{background:#10243b!important;border-radius:13px!important;border:1px solid #314657!important;isolation:isolate;overflow:hidden;contain:paint}
#pageContent .game-rocket .rocket-trail{opacity:0!important;pointer-events:none}
#pageContent .game-rocket .rocket-scenery{opacity:.14!important}
#pageContent .game-rocket .rocket-multiplier{top:25%!important;font-size:clamp(58px,10cqw,104px)!important;color:#f3eee0!important;text-shadow:0 3px 0 #081c2d44}
#pageContent .game-rocket .rocket-caption{top:calc(25% + 105px)!important;letter-spacing:.12em!important;font-size:9px!important;color:#8eacbc!important}
#pageContent .game-rocket .rocket-ship{width:68px!important;height:102px!important;z-index:5!important;background:none!important;border-radius:0!important;overflow:visible!important}
#pageContent .game-rocket .rocket-ship>svg{display:block!important;width:100%!important;height:100%!important;filter:none!important;stroke:none!important;overflow:visible!important}
.workshop-rocket-model .workshop-rocket-hull{filter:drop-shadow(0 3px 1px #06172766)}
.workshop-rocket-exhaust{transform-origin:40px 87px;animation:workshop-thrust .14s ease-in-out infinite alternate}
.game-stage:not(.motion-playing) .workshop-rocket-exhaust{animation-play-state:paused!important;opacity:.5}
.workshop-launch-scene{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.workshop-home-planet{position:absolute;width:130%;height:38%;left:-15%;bottom:-16%;opacity:.86;will-change:transform}
.workshop-launch-pad{position:absolute;top:0;left:0;width:174px;height:109px;transform:translate3d(-200px,0,0);will-change:transform}
.workshop-launch-pad svg{width:100%;height:100%;display:block;stroke:none!important}
.rocket-ship.is-crashed .workshop-rocket-exhaust{display:none!important}
.rocket-ship.is-crashed .workshop-rocket-hull{animation:workshop-hull-fall .7s ease-in both;transform-origin:40px 60px}
.rocket-ship.is-crashed .workshop-rocket-fin-left{animation:workshop-fin-left .65s ease-in both;transform-origin:26px 75px}
.rocket-ship.is-crashed .workshop-rocket-fin-right{animation:workshop-fin-right .65s ease-in both;transform-origin:54px 75px}
@keyframes workshop-thrust{from{scale:.92 .8}to{scale:1.04 1.18}}
@keyframes workshop-hull-fall{to{translate:12px 35px;rotate:24deg;opacity:0}}
@keyframes workshop-fin-left{to{translate:-25px 15px;rotate:-45deg;opacity:0}}
@keyframes workshop-fin-right{to{translate:30px 20px;rotate:45deg;opacity:0}}
/* The live Plinko board remains mounted inside an actual game cabinet. */
/* Long game names stay inside the phone header, above the play surface. */
@media(max-width:760px){#pageContent #gamePickerButton{gap:8px;white-space:nowrap}#pageContent #gamePickerButton>span{min-width:0;overflow:hidden;text-overflow:ellipsis}}
#pageContent .game-workspace.game-plinko .plinko-board{width:min(calc(100% - 12px),700px)!important;border-radius:15px!important;overflow:visible!important;background:#112b35!important;box-shadow:0 7px 0 #071b29,inset 0 0 0 1px #7a95804d!important}
.workshop-plinko-cabinet{position:absolute;inset:0;z-index:0;border:10px solid #2b4a4d;border-top-width:17px;border-bottom-width:17px;border-radius:15px;box-shadow:inset 0 0 0 2px #718375,0 2px 0 #78967c55;pointer-events:none}
.workshop-plinko-cabinet:before{content:'';position:absolute;inset:7px 9px 45px;background:linear-gradient(115deg,#8bc6ac0b,transparent 45%);border-radius:6px;box-shadow:inset 0 1px #97b39922;pointer-events:none}
.workshop-bolt{position:absolute;width:5px;height:5px;border-radius:50%;background:#9aab92;box-shadow:inset 0 -2px #526b64}
.workshop-bolt:after{content:'';position:absolute;left:1px;right:1px;top:2px;border-top:1px solid #3d5a52;rotate:-30deg}
.bolt-a{left:-5px;top:-8px}.bolt-b{right:-5px;top:-8px}.bolt-c{left:-5px;bottom:-8px}.bolt-d{right:-5px;bottom:-8px}
.workshop-plinko-feeder{position:absolute;width:60px;height:37px;left:50%;top:-24px;translate:-50% 0;z-index:5;background:#728d7d;clip-path:polygon(0 0,100% 0,100% 35%,70% 90%,70% 100%,30% 100%,30% 90%,0 35%);border-top:3px solid #afbaa0}
.workshop-plinko-feeder span{position:absolute;inset:5px 8px 13px;background:#19383b;border-radius:4px}
.workshop-plinko-feeder b{position:absolute;top:8px;left:24px;width:12px;height:12px;border-radius:50%;background:#eec787;box-shadow:inset -2px -3px #bc945e}
.workshop-plinko-catch{position:absolute;bottom:8px;left:0;right:0;height:24px;background:#091f2b;border-radius:0 0 8px 8px;box-shadow:inset 0 4px #071723}
#pageContent .game-plinko .plinko-peg-rows{inset:42px 18px 76px!important;z-index:2}
#pageContent .game-plinko .plinko-peg-row i{background:#eadfc5!important;box-shadow:0 2px 0 #8e9a83,0 4px 2px #061b2455!important;z-index:2}
#pageContent .game-plinko .plinko-peg-row i.is-struck{background:#fff6d2!important;box-shadow:0 2px 0 #c6ab68,0 0 0 4px #eac57522!important}
#pageContent .game-plinko .plinko-ball{background:#efbd70!important;box-shadow:inset -2px -2px #bc7f4b,0 1px 0 1px #fff0bc55!important;z-index:6}
#pageContent .game-plinko .plinko-bins{z-index:3;left:14px!important;right:14px!important;bottom:20px!important}
#pageContent .game-plinko .plinko-bin{border-radius:4px 4px 9px 9px!important;box-shadow:inset 0 -6px #12253655,0 4px 0 #061926!important;border-top:2px solid #ffeac866!important;min-height:25px}
.workshop-plinko-tools{position:absolute;left:19px;top:11px;z-index:7;display:flex;gap:4px}
.workshop-plinko-tools button{min-height:24px;border:1px solid #536d65;background:#294e4b;color:#d7e8d5;font:650 9px 'DM Sans',sans-serif;border-radius:4px;padding:3px 7px;cursor:pointer}
.workshop-plinko-tools button:disabled{opacity:.4;cursor:default}
.workshop-replay-ball{position:absolute;left:0;top:0;width:13px;height:13px;border-radius:50%;background:#b8e6dd;box-shadow:inset -2px -2px #548c89,0 0 0 2px #c3f0e144;z-index:7;pointer-events:none}
.workshop-replay-label{position:absolute;right:20px;top:14px;z-index:7;font:700 9px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.1em;color:#c4e9df;pointer-events:none}
@media(min-width:761px) and (max-width:1100px){#pageContent .game-toolbar .game-brand>span{display:none!important}#pageContent .game-toolbar-actions{gap:2px!important;min-width:0!important}#pageContent .game-toolbar-actions button{font-size:0!important;padding:5px 7px!important;min-width:31px!important;gap:0!important}#pageContent .game-toolbar-actions button svg{width:16px!important;height:16px!important;flex:none}#pageContent .game-toolbar-actions button>span:not([aria-hidden]){display:none!important}}
@media(max-width:760px){#pageContent .game-rocket .rocket-ship{width:42px!important;height:63px!important}.workshop-launch-pad{width:130px;height:82px}.workshop-home-planet{height:31%;bottom:-10%}#pageContent .game-rocket .rocket-multiplier{top:22%!important;font-size:57px!important}#pageContent .game-rocket .rocket-caption{top:calc(22% + 68px)!important;font-size:8px!important}.workshop-theme-setting{flex-wrap:wrap}.workshop-theme-setting>div{margin-left:auto}.workshop-plinko-cabinet{border-width:7px;border-top-width:14px;border-bottom-width:14px}.workshop-plinko-feeder{width:46px;height:30px}.workshop-plinko-feeder b{width:9px;height:9px;left:18px;top:7px}.workshop-plinko-tools{left:12px;top:10px}.workshop-plinko-tools button{font-size:8px;padding:3px 5px}}
html[data-motion=reduce] .workshop-rocket-model *,body.room-away .workshop-rocket-model *{animation:none!important}
@media(prefers-reduced-motion:reduce){.workshop-rocket-model *{animation:none!important}}
