@font-face{font-family:Workshop;src:local('Georgia')}*{box-sizing:border-box}body{margin:0;background:#f7efdf;color:#263b36;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-tap-highlight-color:transparent}button,a,input{-webkit-touch-callout:none}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.37}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #267c80;outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.035)}#app{max-width:1440px;margin:auto;padding:32px 64px 20px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.brand{font-family:Workshop,Georgia,serif;font-size:40px;letter-spacing:-2px;font-weight:bold;text-decoration:none;color:#223d37;line-height:1}.brand span{display:block;font:9px -apple-system,sans-serif;letter-spacing:3px;margin-top:9px;padding-left:3px}.top-actions{display:flex;gap:12px;align-items:center}.top-actions button{border:1px solid #cfc1a7;background:#fffbef;border-radius:50px;min-width:48px;height:48px}#levels{padding:0 20px;font-size:14px;font-weight:600}#levels span{color:#8d8876}.grid-icon{margin-left:16px}#settings{font-size:24px}.workbench{display:grid;grid-template-columns:minmax(360px,1.7fr) minmax(300px,1fr);gap:60px;align-items:center;min-height:620px}.scene{position:relative;border-radius:190px 190px 22px 22px;background:radial-gradient(ellipse at 35% 20%,#fff9e9 5%,#f3e5ca 65%,#decbad 100%);box-shadow:inset 0 0 0 1px #d8c6a44a;overflow:hidden;padding:20px 10px 30px}.scene::after{content:'';position:absolute;bottom:0;left:0;right:0;height:80px;background:repeating-linear-gradient(2deg,transparent,transparent 21px,#b4976930 22px,transparent 23px);pointer-events:none}.scene-label{display:flex;justify-content:center;gap:18px;font-size:8px;letter-spacing:1.7px;color:#857d65;margin:20px 0 0}.scene-label span+span{color:#9c8c6d}#board{display:block;width:100%;height:min(64vh,610px);min-height:470px;overflow:visible}svg text{user-select:none}.scene-foot{display:flex;gap:13px;justify-content:center;align-items:center;font-size:8px;letter-spacing:2px;color:#786b51}.tiny-line{height:1px;width:30px;background:#b4a07c}#collection{height:27px;margin-top:12px;text-align:center}.collected{display:inline-block;border:1px solid #9e8661;border-radius:15px;padding:1px 10px;margin:0 3px;font:15px Georgia;box-shadow:0 2px 2px #775d3022}.teal{background:#83b5ae}.coral{background:#edac90}.cream{background:#f3e3be}.saffron{background:#eac76f}.sage{background:#bbcfab}.play-panel{padding:12px 0;max-width:365px}.chapter{font-size:10px;letter-spacing:2.6px;color:#89734d;font-weight:600}h1{font:normal 51px/1.06 Workshop,Georgia,serif;letter-spacing:-1.8px;margin:19px 0 16px}p.intro{font:16px/1.6 Georgia,serif;color:#7d7f6c;margin:0 0 28px}.status{min-height:45px;font-size:13px;line-height:1.6;color:#586d62;display:flex;align-items:end;padding-bottom:12px}.tray-header{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.9px;color:#918267;margin:8px 5px 10px}.tray{display:flex;gap:13px;padding:17px 14px;border:1px solid #d2b98c;border-top:3px solid #fffbed;border-radius:25px;background:linear-gradient(160deg,#fff9e7,#f1deb7);box-shadow:0 7px 0 #c5ab82,0 14px 19px #70543119,inset 0 0 0 5px #fff6e2}.slot{flex:1;aspect-ratio:1;max-height:84px;border-radius:50%;background:linear-gradient(150deg,#c5aa7e,#f3e2bd 66%);box-shadow:inset 1px 4px 5px #775c393f,0 2px 0 #fff8e5;display:grid;place-items:center}.slot svg{width:85%;height:85%;overflow:visible}.controls{display:flex;justify-content:space-between;padding:26px 7px 5px;gap:20px}.controls button{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;border:0;background:none;min-height:76px}.controls button span{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:linear-gradient(#fff9e8,#f0dfbb);border:1px solid #c5ad83;box-shadow:0 3px 0 #c5b08a;font:33px Georgia;color:#526051}.outcome{min-height:115px;padding-top:18px}.quiet-note{text-align:center;font:italic 13px Georgia;color:#8f8b78;padding-top:15px}.primary{border:1px solid #ab803f;background:linear-gradient(160deg,#dfbc76,#ba8b43);color:#fffdf1;border-radius:13px;min-height:49px;padding:11px 20px;width:100%;box-shadow:inset 0 1px #ffedb3,0 4px 8px #8466291a;font:18px Georgia;text-shadow:0 1px #976f34;display:flex;justify-content:space-between;align-items:center}.text-button{display:block;background:none;border:0;font-size:12px;padding:13px;margin:auto;min-height:44px}.progress-dots{display:flex;justify-content:center;gap:8px;margin-top:10px}.progress-dots i{width:5px;height:5px;border-radius:50%;background:#d3c6aa}.progress-dots i.complete{background:#6a9c90}.progress-dots i.current{outline:1px solid #a18f6a;outline-offset:3px}.recovery{background:#fff9ea;border:1px solid #d2bd96;border-radius:15px;padding:14px;text-align:center}.recovery strong{display:block;font:24px Georgia}.recovery span{font-size:12px;color:#877453;display:block;margin-top:5px}footer{display:flex;justify-content:space-between;margin-top:24px;padding-top:17px;border-top:1px solid #d8c9ac;color:#98896d;font-size:8px;letter-spacing:2px}footer span+span{font:italic 12px Georgia;letter-spacing:0}.bolt{pointer-events:all;cursor:default}.bolt.available{cursor:pointer}.bolt.available:focus{outline:none}.bolt.available:focus>circle,.bolt.hinted>circle{stroke:#fdf6c9;stroke-width:4;filter:drop-shadow(0 0 4px #2d898b)}.bolt.available:hover>g{filter:brightness(1.13)}dialog{border:1px solid #cbb38a;border-radius:24px;padding:38px;width:min(92vw,470px);background:#fff8e9;color:#263b36;box-shadow:0 25px 100px #43372555;max-height:90dvh}dialog::backdrop{background:#23392f55;backdrop-filter:blur(5px)}.close{position:absolute;right:14px;top:10px;border:0;background:transparent;width:44px;height:44px;font-size:28px}h2{font:34px/1.1 Georgia;margin:16px 0 25px}.level-list{display:grid;gap:6px}.level-list button{display:flex;gap:13px;align-items:center;min-height:44px;border:1px solid #dbcbae;border-radius:10px;background:#fffdf4;text-align:left;font-size:13px;padding:10px}.level-list button span{font:17px Georgia;color:#a2834e}.level-list button b{margin-left:auto;color:#648d7c}.settings-list label{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:65px;border-bottom:1px solid #dfd2b8;font:17px Georgia}.settings-list input{width:24px;height:24px;accent-color:#488983}.modal-note{font:13px/1.7 sans-serif;color:#8c8065}.shelf{display:flex;margin:0 -20px}.shelf svg{width:33%;overflow:visible}.shelf+p{font:15px/1.5 Georgia}.head{transform-origin:150px 205px}.wing{transform-origin:183px 250px}.rocket-body{transform-origin:200px 326px}.exhaust{opacity:0}.released .exhaust{opacity:1}.celebrate .head{animation:bob 1.2s ease-in-out 2}.celebrate .wing{animation:flutter .3s ease-in-out 4}.celebrate .rocket-body{animation:bounce .8s ease-in-out 3}.celebrate .petals{animation:bloom 2.4s ease-out}.released .petals{scale:1.09 1;transform-origin:200px 210px}.celebrate .gear{transform-box:fill-box;transform-origin:center;animation:gear 2.5s ease-out}.reduced *, .reduced *::before,.reduced *::after{animation:none!important;transition:none!important}@keyframes bob{0%,100%{transform:rotate(0)}50%{transform:rotate(-10deg)}}@keyframes flutter{50%{transform:rotate(-7deg)}}@keyframes bounce{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(3deg)}}@keyframes bloom{0%{scale:.67 1.15}70%{scale:1.14 .97}100%{scale:1.09 1}}@keyframes gear{to{rotate:160deg}}
@media(min-width:1400px){.workbench{gap:90px}#app{padding-top:40px}}
@media(max-width:800px){#app{padding:18px 22px 16px}header{margin-bottom:12px}.brand{font-size:31px}.brand span{font-size:7px;letter-spacing:2.5px;margin-top:5px}.top-actions{gap:8px}.top-actions button{height:44px;min-width:44px}#levels{padding:0 14px}.workbench{display:flex;flex-direction:column;gap:0;min-height:0}.scene{width:100%;border-radius:120px 120px 18px 18px;padding:8px 0 13px}.scene-label{margin:8px 0 0;font-size:6px;letter-spacing:1.2px;gap:14px}#board{height:auto;min-height:0;width:100%;max-height:49vh}.scene-foot{font-size:7px;letter-spacing:1.6px}.scene #collection{position:absolute;right:10px;bottom:38px;height:auto;display:flex;flex-direction:column;gap:5px}.collected{font-size:12px;padding:1px 6px}.play-panel{max-width:none;width:100%;display:flex;flex-direction:column;padding:16px 0 0}.chapter{font-size:8px;letter-spacing:2px}h1{font-size:31px;letter-spacing:-.9px;margin:7px 0}.intro{display:none}.status{font-size:11px;min-height:24px;padding:0 0 7px;align-items:center}.tray-header{display:none}.tray{padding:10px 12px;border-radius:20px;gap:18px;justify-content:center}.slot{max-width:70px;max-height:64px}.controls{padding:20px 22px 0;gap:14px}.controls button{min-height:67px;gap:7px}.controls button span{width:45px;height:45px;font-size:30px}.outcome{min-height:0;padding-top:0}.quiet-note{display:none}.progress-dots{margin-top:16px}.recovery{padding:8px;margin-top:10px}.recovery strong{font-size:21px}.primary{margin-top:12px}footer{display:none}dialog{padding:32px 24px}.scene .tiny-line{width:23px}}
@media(max-width:800px) and (max-height:760px){#app{padding-top:10px}#board{max-height:41vh}.scene-label{display:none}.play-panel{padding-top:10px}.progress-dots{display:none}h1{font-size:28px}.controls{padding-top:15px}}
@media(max-height:550px) and (min-width:650px){#app{padding:12px 30px}.workbench{display:grid;grid-template-columns:1.5fr 1fr;gap:35px}.scene{padding:0 0 8px}#board{height:70vh;min-height:0;max-height:none}.scene-label,.scene-foot,#collection,footer,.intro,.progress-dots{display:none}.brand{font-size:25px}header{margin-bottom:5px}.play-panel{padding:0}h1{font-size:32px;margin:10px 0}.chapter{font-size:8px}.slot{max-height:55px}.tray{padding:9px}.controls{padding-top:18px}.outcome{min-height:0}.status{min-height:32px}}

.petal{transform:rotate(var(--closed));transform-origin:0 0}.released .petal{transform:rotate(var(--open))}.celebrate .petal{animation:petal-open 2.3s ease-in-out}@keyframes petal-open{from{transform:rotate(var(--closed))}to{transform:rotate(var(--open))}}
