.sad-witch {background-image:url('/assets/witch-sad.webp');background-size:500% 100%;background-position:var(--sad-position) 0}
.witch-figure .sad-witch {width:100%;height:100%;display:block}
.witch-drenched .witch-figure {filter:none}
.witch-drenched .witch-figure:after {content:none}
.delivery-resolution {grid-template-areas:'board circle' 'breakdown circle';align-items:start;max-width:760px;gap:8px 24px}
.delivery-workbench {grid-area:board;min-width:0}.delivery-breakdown {grid-area:breakdown}.delivery-circle {grid-area:circle;align-self:center}
.recipient-workbench {border:1px solid #a58a9e;border-radius:6px;padding:7px 9px;background:#34263f;color:#f8ebd1}
.recipient-workbench h3 {font-size:.85rem;margin:0 0 5px;overflow-wrap:anywhere}.recipient-workbench p {font-size:.62rem;line-height:1.3;color:#dac3bb;margin:5px 0 0}
.recipient-track {display:grid;grid-template-columns:24px minmax(0,1fr) 32px 24px 25px;align-items:center;gap:5px;min-height:26px}
.recipient-track>.cube {width:24px;height:24px}.recipient-slots {display:flex;gap:2px;min-width:0}.recipient-slots i {flex:1;max-width:16px;height:11px;background:#21192c;border:1px solid #a58a9e;border-radius:2px}.recipient-slots .occupied {background:#eed5a8;border-color:#eed5a8}.recipient-slots .new-fit {background:#c8dfa2;border:2px solid #f8ebd1}
.delivery-resolution[data-step=travelling] .recipient-slots .new-fit,.delivery-resolution[data-step=travelling] .recipient-fit,.delivery-resolution[data-step=travelling] .recipient-rejected {opacity:.3}
.recipient-count {font-size:.7rem;font-variant-numeric:tabular-nums}.recipient-fit {font-size:.72rem;color:#c8dfa2;font-weight:bold}.recipient-rejected {font-size:.72rem;color:#ffd0b3;font-weight:bold}
.delivery-resolution[data-step=overflow] .recipient-rejected:not([data-rejected-count="0"]) {outline:1px solid #ffd0b3;outline-offset:2px}
.delivery-gain {padding:7px 0 0;border-top:1px solid #a58a9e;margin-top:8px;color:#c8dfa2}.delivery-gain>strong {display:block;font-size:.85rem}.delivery-gain>div {display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;font-size:.75rem}.delivery-gain .stock-count {font-size:.8rem}.delivery-gain .creature {width:28px;height:28px}
.delivery-resolution[data-step=travelling] .delivery-gain {visibility:hidden}
.delivery-pot.is-spilled>.cauldron {rotate:65deg;translate:-30px 25px;transform-origin:50% 70%;transition:rotate .5s ease-out,translate .5s ease-out}
.delivery-spill {position:absolute;left:-25%;right:-25%;top:75%;height:35px;background:#a6bd6b;border:2px solid #c8dfa2;border-radius:50%;box-shadow:0 4px 8px #120b2366;z-index:-1}
.delivery-spill>span {position:absolute;left:calc(8% + var(--spill-i) * 17%);top:-9px;display:flex;align-items:end;gap:1px;transform:rotate(calc(var(--spill-i) * 8deg - 10deg))}.delivery-spill .cube {width:28px;height:28px}.delivery-spill b {color:#35243e;background:#f8ebd1;border-radius:4px;padding:1px 3px;font-size:.7rem;white-space:nowrap}
@media(max-width:760px){.passing-stage.witch-passing{--actor-size:112px;padding-top:62px}.witch-passing .witch-handoff{height:215px;margin-top:4px}.witch-passing>h2{font-size:1.3rem;margin-bottom:2px}.witch-passing .coven-chip>.little-witch{width:32px;height:32px}.witch-passing .witch-speech{font-size:.76rem;min-height:70px;width:125px;padding:6px}.witch-passing .witch-actor>strong{font-size:.8rem;min-height:25px}.delivery-resolution{grid-template-areas:'board' 'breakdown' 'circle';gap:6px;grid-template-columns:1fr}.recipient-workbench{padding:5px 7px}.recipient-track{min-height:21px;grid-template-columns:21px minmax(0,1fr) 30px 23px 25px;gap:4px}.recipient-track>.cube{width:21px;height:21px}.recipient-workbench h3{font-size:.78rem;margin-bottom:3px}.recipient-workbench p{font-size:.58rem;margin-top:3px}.delivery-circle{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.7fr);gap:8px}.delivery-circle .circle-passing{grid-template-columns:66px minmax(0,1fr);gap:4px}.delivery-circle .circle-sigil{width:66px;height:66px}.delivery-circle .circle-copy>small{display:none}.delivery-circle .circle-copy h3{font-size:.7rem}.delivery-circle .circle-copy p{font-size:.65rem}.delivery-circle .circle-remaining{font-size:.6rem}.delivery-circle .circle-kind,.delivery-circle .circle-kind .cube{width:18px;height:18px}.delivery-circle .circle-tally strong{font-size:1.15rem}.delivery-circle .circle-tally small{font-size:.55rem}.delivery-gain{margin:0;padding:3px 0 0;border-top:0;align-self:center}.delivery-gain>strong{font-size:.7rem}.delivery-gain>div{gap:4px}.delivery-gain .creature{width:24px;height:24px}.delivery-caption{font-size:.7rem}.delivery-spill .cube{width:24px;height:24px}.delivery-spill{left:-12%;right:-12%}}
.calm .delivery-pot.is-spilled>.cauldron,.reduced .delivery-pot.is-spilled>.cauldron {transition:none}
@media(prefers-reduced-motion:reduce){.delivery-pot.is-spilled>.cauldron{transition:none}}

.passing-stage.witch-passing{--actor-size:156px;padding-top:56px}
.witch-passing .witch-handoff{height:258px;margin-top:4px}.witch-passing .coven-chip>.little-witch{width:38px;height:38px}.witch-passing>h2{font-size:2rem;margin-bottom:3px}
.recipient-track{min-height:29px}.recipient-slots{gap:2px}.recipient-slots i{position:relative;display:flex;align-items:center;justify-content:center;height:23px;max-width:26px;min-width:0}.recipient-slots i>.cube{width:100%;max-width:23px;height:auto;aspect-ratio:1}.recipient-slots .occupied{background:#eed5a826;border-color:#b69c90}.recipient-slots .fit-preview{background:transparent;border:1px dashed #a58a9e}.recipient-slots .new-fit{background:#c8dfa233;border:1px solid #c8dfa2}.recipient-slots .new-fit>.cube{animation:ingredient-land .3s ease-out}
.recipient-count{font-size:.78rem}.recipient-fit,.recipient-rejected{font-size:.76rem}
.workbench-flight,.board-spill-flight{position:fixed;z-index:9;width:38px;height:38px;pointer-events:none;filter:drop-shadow(0 3px 3px #160e22)}.workbench-flight>.cube,.board-spill-flight>.cube{width:38px;height:38px}.board-spill-flight>b{position:absolute;right:-7px;bottom:-2px;color:#35243e;background:#f8ebd1;border-radius:4px;font-size:.75rem;padding:1px 3px}
.delivery-pot.is-pouring:not(.is-spilled)>.cauldron{rotate:28deg;transform-origin:50% 65%;transition:rotate .3s ease-out}
.workbench-spill{min-height:40px;display:flex;align-items:center;gap:10px;margin:6px 0 0;padding:3px 10px;background:#29382f;border:1px solid #a3bb82;border-radius:14px 5px 17px 8px}.workbench-spill>span{font-size:.7rem;color:#f8ebd1}.spill-pieces{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.spill-pieces>span{display:flex;align-items:center;gap:2px;color:#f8ebd1}.spill-pieces .cube{width:28px;height:28px}.spill-pieces b{font-size:.72rem}
.delivery-resolution:is([data-step=travelling],[data-step=filling]) .workbench-spill{visibility:hidden}.delivery-resolution[data-step=spilling] .recipient-rejected:not([data-rejected-count="0"]){outline:1px solid #ffd0b3;outline-offset:2px}
.delivery-circle-stage{display:flex;align-items:flex-end;gap:3px;min-width:0}.delivery-circle-contents{flex:1;min-width:0}.circle-catcher{display:block;flex:0 0 58px;width:58px;height:72px;animation:circle-wait 2s ease-in-out infinite;transform-origin:50% 95%}.circle-catcher>.little-witch{width:68px;height:68px;margin-left:-5px}.delivery-circle .circle-passing{grid-template-columns:90px minmax(0,1fr);gap:5px}.delivery-circle .circle-sigil{width:90px;height:90px}.circle-catching .circle-catcher{animation:circle-catch .6s ease-in-out infinite}[data-delivery-stage=complete] .circle-catcher{animation:none}
.victory-sky:has(.victory-ground){--ground-height:160px;position:relative;padding-bottom:var(--ground-height);min-height:calc(320px + var(--ground-height));align-items:flex-end}.victory-ground{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:flex-end;gap:12px;min-height:150px}.victory-ground-witch{margin:0;max-width:165px;flex:1;min-width:0;text-align:center}.ground-tableau{position:relative;height:108px;width:136px;max-width:100%;margin:auto}.ground-tableau>.sad-witch{position:absolute;width:104px;height:104px;left:0;top:0;z-index:2;rotate:5deg}.ground-pot{position:absolute;right:0;bottom:0;z-index:1;scale:.5;transform-origin:100% 100%}.ground-pot>.cauldron{width:125px;height:110px}.ground-spilled{rotate:65deg;translate:5px 3px}.ground-puddle{position:absolute;bottom:0;right:-2px;width:76px;height:12px;background:#a2ba73;border:1px solid #cee2aa;border-radius:50%}.victory-ground-witch figcaption>strong{display:block;font-size:.8rem;color:#f8ebd1;overflow-wrap:anywhere}.victory-ground-witch figcaption>span{display:block;font-size:.65rem;color:#dac3bb}.ground-overflow{display:flex!important;justify-content:center;gap:3px;flex-wrap:wrap}.ground-overflow>span{display:flex;align-items:center;gap:1px}.ground-overflow .cube{width:21px;height:21px}.ground-overflow b{font-size:.65rem;color:#f8ebd1}
@keyframes ingredient-land{0%{scale:.7}60%{scale:1.12}100%{scale:1}}@keyframes circle-wait{50%{rotate:-3deg;translate:0 -2px}}@keyframes circle-catch{50%{rotate:-8deg;translate:3px -3px}}
@media(max-width:760px){.passing-stage.witch-passing{--actor-size:112px;padding-top:62px}.witch-passing .witch-handoff{height:210px}.witch-passing>h2{font-size:1.3rem}.witch-passing .coven-chip>.little-witch{width:32px;height:32px}.recipient-track{min-height:24px}.recipient-slots i{height:20px}.recipient-slots i>.cube{max-width:20px}.recipient-count{font-size:.73rem}.recipient-fit,.recipient-rejected{font-size:.7rem}.workbench-spill{min-height:33px;padding:2px 7px;gap:6px}.spill-pieces .cube{width:24px;height:24px}.workbench-flight,.board-spill-flight,.workbench-flight>.cube,.board-spill-flight>.cube{width:31px;height:31px}.circle-catcher{flex-basis:35px;width:35px;height:48px}.circle-catcher>.little-witch{width:46px;height:46px;margin-left:-5px}.delivery-circle .circle-passing{grid-template-columns:62px minmax(0,1fr)}.delivery-circle .circle-sigil{width:62px;height:62px}.victory-sky:has(.victory-ground){--ground-height:150px;min-height:calc(260px + var(--ground-height))}.victory-ground{gap:5px;min-height:140px}.ground-tableau{height:93px;width:106px}.ground-tableau>.sad-witch{width:87px;height:87px}.ground-pot{scale:.38}.victory-ground-witch figcaption>strong{font-size:.72rem}.victory-ground-witch figcaption>span{font-size:.62rem}.victory-sky:has(.victory-ground-witch:nth-child(3)){--ground-height:285px}.victory-ground:has(.victory-ground-witch:nth-child(3)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ground-overflow .cube{width:18px;height:18px}}
.calm .circle-catcher,.calm .new-fit>.cube,.reduced .circle-catcher,.reduced .new-fit>.cube{animation:none}.calm .is-pouring>.cauldron,.reduced .is-pouring>.cauldron{transition:none}@media(prefers-reduced-motion:reduce){.circle-catcher,.new-fit>.cube{animation:none}.is-pouring>.cauldron{transition:none}}
