/* Stage coordinates from EvoGameStateUI and Circuit.makeClamps. */
#workbench[data-view=evolve]:has(.machine-board){clip-path:none;overflow:clip}
#game:has(#workbench:not([hidden]) .machine-board) #header,.bench-inner:has(.machine-board)>header{visibility:hidden}
#workbench[data-view=evolve]:has(.machine-board) .bench-inner,#bench-body.machine-board{position:absolute;inset:0;margin:0;display:block}
.machine-board .bench-detail{position:absolute;inset:0;display:block;overflow:clip;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/header.png') left top no-repeat}
#workbench #machine-quick-tips{position:absolute;right:73px;top:10px;z-index:6;width:118px;height:30px;border:0;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/header.png') no-repeat -836px -30px}
#workbench #machine-quick-tips:is(:hover,:focus-visible){background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/header.png') no-repeat -836px -30px;filter:brightness(1.2)}
.machine-board .bench-list{position:absolute;z-index:2;right:10px;bottom:54px;min-height:0;height:50px;max-width:316px;padding:0 10px;border:1px solid #8a8269;background:#181715;color:white;pointer-events:none}
.machine-board .bench-list p:not(#evo-hint){font:13px Condensed}
.machine-board #evo-hint{position:absolute;bottom:100%;right:0;width:max-content;padding:3px 7px;background:#101619;font:14px Condensed}
.machine-board #evo-hint:empty{display:none}
.machine-board .em-hopper{position:absolute;top:50px;left:85px;height:66px;align-items:start;justify-content:start;gap:13px;max-width:735px;overflow:visible;background:none}
.machine-board .em-hopper button{position:relative;width:109px;flex:none;height:65px;border:0;padding:0;background:transparent;color:white}
.machine-board .em-hopper button:hover:not(:disabled){background:transparent;filter:brightness(1.15)}
.machine-board .em-hopper img{position:absolute;left:1px;top:16px;width:106px;height:48px;object-fit:contain}
.machine-board .em-hopper small,.machine-board .em-hopper span{position:absolute;top:0;height:16px;line-height:16px;background:#292622;border:1px solid #605548}
.machine-board .em-hopper small{left:30px;right:0;color:white;font:13px Condensed;padding-left:8px}
.machine-board .em-hopper span{left:0;right:auto;width:30px;text-align:center;background:#17303f;font:12px Condensed}
.machine-board .circuits{position:absolute;inset:195px 0 auto;height:400px;min-height:0;margin:0;display:block}
.machine-board .circuit{height:80px;position:relative;display:block;background:none;filter:none}
.machine-board .circuit::before,.machine-board .circuit::after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat}
.machine-board .circuit::before{left:85px;top:28px;width:697px;height:25px;background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/rail.png')}
.machine-board .circuit::after{left:var(--tail-x);top:29px;width:249px;height:489px;background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/tail.png');z-index:0}
.machine-board .burned::after{margin:-5px 0 0 -6px;width:263px;height:501px;background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/tail-burn.png')}
.machine-board .evo-windup .active::before{background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/rail-live.png')}
.machine-board .evo-windup .active::after{background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/tail-live.png')}
.machine-board .circuit>.machine-lever,.machine-board .circuit #evo-activate{position:absolute;left:11px;top:-2px;width:95px;height:85px;z-index:1}
.machine-board #evo-activate .machine-lever{width:95px;height:85px}
.machine-board .circuit .evo-slots{position:absolute;z-index:1;left:121px;top:0;width:578px;height:69px;display:flex;justify-content:space-between;align-items:start}
.machine-board .evo-slots>button,.machine-board .evo-slots>div{position:relative;width:98px;height:69px;padding:0;border:0;background:transparent url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/bed-open.png') center no-repeat}
.machine-board .evo-slots>div:not(:has(img)){background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/bed-shut.png');background-position:center 21px}
.machine-board .circuit .evo-slots img{position:absolute;left:0;top:17px;width:98px;height:45px;object-fit:contain}
.machine-board .evo-slots small{position:absolute;left:15px;right:15px;top:3px;text-align:center;color:white;font:12px Condensed;line-height:13px}
.machine-board .circuit .hint-lamps{position:absolute;z-index:1;left:724px;top:2px;width:76px;height:76px}
.machine-board .machine-controls{position:absolute;z-index:2;inset:auto 0 0;height:142px;background:transparent url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/footer.png') center bottom no-repeat;padding:0}
.machine-controls button{position:absolute}
.machine-board .machine-controls button:nth-last-child(-n+2){color:transparent;background:transparent;border:0;font-size:0}
.machine-controls button:last-child{left:168px;top:26px;width:241px;height:54px}
.machine-controls button:nth-last-child(2){left:398px;top:3px;width:181px;height:134px}
.machine-controls button:first-of-type:not(:nth-last-child(-n+2)){left:614px;bottom:17px}
.machine-controls button:disabled:first-of-type{visibility:hidden}
.machine-controls strong{position:absolute;left:612px;bottom:56px}
.machine-vents{position:absolute;inset:0;pointer-events:none;overflow:clip}
.machine-vents i{position:absolute;top:-55px;width:200px;height:154px;opacity:0;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/steam.webp') no-repeat}
.machine-vents .left{left:57px}.machine-vents .right{left:635px}
.machine-board .evo-slots>:has(img)::before,.machine-board .evo-slots>:has(img)::after{content:"";position:absolute;pointer-events:none;top:1px;width:30px;height:70px;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/lock.webp') right top/210px 70px no-repeat}
.machine-board .evo-slots>:has(img)::before{left:9px}.machine-board .evo-slots>:has(img)::after{left:53px}
.machine-board .evo-slots img,.machine-board .evo-slots small{z-index:1}
.machine-board .windup-back,.machine-board .windup-back:hover:not(:disabled){position:absolute;z-index:5;left:398px;bottom:5px;width:181px;height:134px;background:transparent;border:0;color:transparent}
.machine-board .evo-windup .machine-controls button{visibility:hidden}
.machine-board .evo-windup .machine-controls{z-index:5}
.machine-board:has(.evo-windup)::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:4;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/header.png') left top no-repeat;clip-path:polygon(0 0,100% 0,100% 26%,96% 24%,88% 24%,86% 21%,86% 15%,83% 13%,81% 13%,79% 10%,79% 6.3%,8% 6.3%,7.8% 21%,6% 23%,0 23%)}
.windup-device{position:absolute;left:650px;top:594px;width:365px;height:126px;pointer-events:none;z-index:6;color:white;text-transform:uppercase;font:14px EuroBold,Arial,sans-serif;animation:device-travel 1s 7s both}
.windup-device::before,.windup-device::after{content:"";position:absolute;inset:0;background:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/progression/victory-viewer.png') no-repeat}
.windup-device::before{clip-path:polygon(0 0,60% 0,60% 49%,17% 52%,15% 61%,3% 61%,0 58%)}
.windup-device::after{background-position:-30px 0;clip-path:polygon(55% 0,95% 0,100% 16%,100% 78%,91% 91%,87% 100%,55% 100%)}
.windup-device>*{position:absolute;z-index:1;left:22px;max-width:177px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.windup-device strong{top:17px}.windup-device span{top:35px;font:12px ChatDemi}.windup-device b{top:53px;color:#ffbf00}.windup-device img{left:214px;top:18px;width:86px;height:77px;object-fit:contain;background:#071624}
@keyframes device-travel{0%,30%,60%{animation-timing-function:ease-in-out}0%{transform:none}30%{transform:translateY(-190px)}60%{transform:translate(-320px,-190px)}100%{transform:translate(-320px,-540px)}}
.evo-victory .victory-panel{animation:none}
.machine-board .circuit>.machine-lever,.machine-board .circuit #evo-activate{left:16px}
.machine-board .evo-windup::before,.machine-board .evo-windup::after{content:"";position:absolute;left:0;width:100%;pointer-events:none;z-index:4;background-repeat:no-repeat;animation:machine-door 1s 7s cubic-bezier(.25,.46,.45,.94) both}
.machine-board .evo-windup::before{top:0;height:399px;background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/door-top.png');--travel:-400px}
.machine-board .evo-windup::after{top:356px;height:411px;background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/door-bottom.png');--travel:411px}
@keyframes machine-door{from{transform:translateY(var(--travel))}to{transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .machine-board .evo-slots .seating img{animation:clamp-seat .18s ease-out}
 .machine-board .evo-slots .seating::before,.machine-board .evo-slots .seating::after{animation:jaw-seat .2s steps(6) both}
 .machine-board .evo-windup .active::after{animation:live-tail .18s steps(1) infinite}
}
@keyframes clamp-seat{from{transform:translateY(-7px)}to{transform:none}}
@keyframes jaw-seat{from{background-position-x:0}to{background-position-x:-180px}}
@keyframes live-tail{50%{background-image:url('./static/b327c1bd9d6d73c42cc94e6069f8c4e2719566de65ea6ba5433a59d1a1d65e68/assets/machine/tail-live-alt.png')}}
@media(prefers-reduced-motion:reduce){.machine-board .evo-windup::before,.machine-board .evo-windup::after{display:none}}
