@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--ink:#493528;--muted:#968371;--cream:#f6eddf;--orange:#c35e33;--green:#687550}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Noto Sans KR',sans-serif;background-image:radial-gradient(#c3a88622 1px,transparent 1px);background-size:7px 7px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #718551;outline-offset:4px}button:not(:disabled):active{transform:translateY(2px)}[hidden]{display:none!important}.app{max-width:620px;margin:auto;padding:25px 24px 30px}header{display:flex;align-items:center;justify-content:space-between}.brand{font-size:13px;font-weight:700;color:var(--ink);text-decoration:none}.icon{font-size:11px;color:var(--muted);border:1px solid #d6c8b5;background:transparent;border-radius:20px;padding:8px 12px}.intro{text-align:center;margin:34px 0 25px}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--green);font-weight:700}.intro h1{font:700 48px 'Gowun Batang',serif;letter-spacing:-3px;margin:12px 0}.intro h1 em{font-style:normal;color:var(--orange)}.intro p{font-size:13px;color:var(--muted)}.game-card{background:#fffaf1;border:1px solid #e1d3c0;border-radius:24px;overflow:hidden;box-shadow:0 14px 40px #7655390c}.topline{display:flex;align-items:center;justify-content:space-between;padding:18px 22px}.badge{color:var(--green);font-size:11px;font-weight:700;letter-spacing:.5px}.badge:before{content:'●';font-size:8px;margin-right:7px}.timer{font-size:16px;font-variant-numeric:tabular-nums;font-weight:700}.timer small{font-size:11px;color:#af9b87;font-weight:400}.scene{height:300px;position:relative;overflow:hidden;background:linear-gradient(#eee3d3,#f4e9d8 77%,#dfbd962b)}.window{position:absolute;width:120px;height:120px;left:32px;top:16px;display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#e2cfb6;border:8px solid #e2cfb6;border-radius:60px 60px 5px 5px;overflow:hidden;opacity:.7}.window i{background:linear-gradient(145deg,#eac698,#f7ddaa)}.shelf{position:absolute;right:32px;top:54px;font-size:25px}.shelf span{display:block;font:12px 'Gowun Batang',serif;color:#aa8c69;border-bottom:6px solid #ceae86;padding:8px}.speech{position:absolute;top:20px;left:50%;transform:translateX(-50%);background:#fffaf1f2;white-space:nowrap;padding:10px 15px;border-radius:14px;font-size:12px;z-index:5;box-shadow:0 4px 15px #6740290a}.steam{position:absolute;top:65px;left:39%;width:23%;display:flex;justify-content:space-between}.steam i{height:60px;width:14px;border-left:6px solid #fff9edaa;border-radius:50%;animation:steam 2.7s infinite}.steam i:nth-child(2){animation-delay:.6s}.steam i:nth-child(3){animation-delay:1.2s}.pot{position:absolute;width:248px;height:157px;left:50%;top:107px;transform:translateX(-50%);z-index:3}.water{height:92px;border-radius:50%;background:#beccb1;border:8px solid #576b58;position:relative;overflow:visible;box-shadow:inset 0 7px 0 #879c7d}.pot-front{position:absolute;top:43px;width:100%;height:105px;background:linear-gradient(100deg,#6c8069,#8a9a7b 52%,#62785f);border-radius:0 0 72px 72px;box-shadow:inset 0 -8px 0 #50674f;pointer-events:none}.pot-front span{display:block;text-align:center;color:#dae1c8;font:italic 14px Georgia;margin-top:46px;letter-spacing:2px}.pot-front i{position:absolute;left:24px;top:18px;width:5px;height:35px;border-radius:5px;background:#b6c3a166}.pot-handles{position:absolute;top:155px;left:50%;transform:translateX(-50%);width:307px;height:30px;border:9px solid #536852;border-radius:14px;z-index:2}.counter{position:absolute;bottom:0;width:100%;height:37px;background:#d9b589;border-top:5px solid #e9c9a2}.stove{position:absolute;bottom:20px;width:277px;height:38px;left:50%;transform:translateX(-50%);background:#f1e3ca;border-radius:9px;border:1px solid #cbae85;z-index:2}.fire{position:absolute;top:-21px;left:50%;transform:translateX(-50%);font-size:27px;letter-spacing:6px;color:#e08d46;animation:flame .7s infinite alternate}.stove-knob{position:absolute;right:16px;bottom:5px;width:19px;height:19px;border-radius:50%;background:#947b62;border:4px solid #c5af93}.nuts{display:grid;grid-template-columns:repeat(3,1fr);gap:0 8px;width:184px;position:absolute;left:24px;top:-10px;z-index:4}.nut{width:52px;height:52px;background:transparent;padding:0;position:relative;transition:transform .3s;animation:bob 2.2s ease-in-out infinite}.nut:nth-child(2n){animation-delay:.7s}.nut svg{width:100%;height:100%;overflow:visible}.nut.escaping{animation:escape .6s ease-in-out infinite alternate;filter:drop-shadow(0 0 7px #ffe493)}.nut.escaped{opacity:.25;transform:translateY(-20px);animation:none}.bubbles{position:absolute;width:100%;height:100%;inset:0;overflow:hidden;border-radius:50%}.bubbles i{position:absolute;border:2px solid #edf2d2;border-radius:50%;width:13px;height:13px;animation:bubble 1.6s infinite;left:20%;top:60%}.bubbles i:nth-child(2){left:45%;animation-delay:.5s}.bubbles i:nth-child(3){left:70%;animation-delay:.8s}.bubbles i:nth-child(4){left:85%;animation-delay:1s}.foam{position:absolute;bottom:0;height:15px;width:100%;border-radius:50%;background:radial-gradient(ellipse,#faffdf 30%,transparent 70%);opacity:0;pointer-events:none;z-index:6;transition:opacity .2s}.pickup{position:absolute;right:12px;bottom:70px;border-radius:14px;background:#fff9e5;padding:14px 10px;box-shadow:0 4px 0 #ccb48a;z-index:8;font-size:13px;animation:bob 1s infinite}.pickup small{display:block;font-size:9px;color:#987856;margin-top:4px}.flash{position:absolute;inset:0;background:white;opacity:0;pointer-events:none;z-index:10}.flash.on{animation:flash .4s}.floating{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);z-index:10;font-weight:700;font-size:12px;color:#8e4e23;background:#fff3dd;padding:6px 10px;border-radius:10px;opacity:0;white-space:nowrap}.floating.show{animation:toast 2.2s}.game-info{padding:17px 22px 0}.status{display:flex;justify-content:space-between;gap:10px;font-size:11px}.status span:last-child{color:var(--muted);white-space:nowrap}.risk-track{height:5px;border-radius:5px;background:#eee3d3;margin:10px 0 14px;overflow:hidden}.risk-track div{width:0;height:100%;background:#be7850;transition:width .15s}.mini-stats{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.mini-stats b{margin-left:6px;color:var(--ink)}.controls,.start-area{padding:18px 22px 22px}.heat-controls{display:flex;gap:9px;margin-bottom:10px}.heat-controls button{flex:1;background:#f3eddf;color:#887863;border:1px solid #e6dbca;border-radius:12px;padding:10px;font-size:14px;font-weight:700}.heat-controls button.selected{background:#fbebd5;border-color:#c88b56;color:#9d542b}.heat-controls small{display:block;font-size:9px;font-weight:400;margin-top:4px}.tools{display:flex;gap:8px;margin-bottom:13px}.tools button{background:#f2edde;color:#6a7254;border-radius:9px;padding:10px 6px;font-size:11px;flex:1}.tools span{font-size:9px;margin-left:3px}.tools #pause{flex:.6}.primary{width:100%;display:flex;justify-content:space-between;align-items:center;background:var(--orange);color:#fff7e7;padding:17px 20px;border-radius:13px;font-size:15px;font-weight:700;box-shadow:0 4px 0 #a34829}.primary span{font-size:20px}.start-area p{text-align:center;font-size:10px;color:var(--muted);margin:13px 0 0}.howto{display:flex;margin:25px 0 30px;gap:15px}.howto>div{flex:1}.howto>div>span{font:italic 19px Georgia;color:#b99771}.howto p{font-size:10px;line-height:1.8;color:var(--muted);margin:5px 0}.howto b{display:block;font-size:12px;color:var(--ink);margin-bottom:4px}.collection{border-top:1px solid #ddceba;padding-top:18px}.collection-title{display:flex;justify-content:space-between;align-items:center}.collection h2{font-size:13px;margin:0}.collection-title span{font-size:11px;color:var(--muted)}#collection-items{display:flex;gap:8px;margin-top:15px}.collection-item{flex:1;background:#ece2d3;border-radius:12px;text-align:center;padding:12px 3px 8px;color:#ad9a84}.collection-item svg{width:40px;height:40px;opacity:.25;filter:grayscale(1)}.collection-item.found{background:#fff8eb}.collection-item.found svg{opacity:1;filter:none}.collection-item span{display:block;font-size:9px;margin-top:5px}footer{margin-top:24px;font-size:9px;color:#aa9882;line-height:2;display:flex;justify-content:space-between;gap:8px}footer span{font-size:8px;letter-spacing:1px}dialog{border:1px solid #dbc8ad;border-radius:25px;background:#fff8eb;color:var(--ink);max-width:420px;width:calc(100% - 30px);padding:0;max-height:92dvh;box-shadow:0 25px 100px #34221144}dialog::backdrop{background:#3d302b88;backdrop-filter:blur(5px)}.result-body{text-align:center;padding:28px 25px}.result-body h2{font:700 29px 'Gowun Batang',serif;margin:10px 0 20px}.result-body p{font-size:12px;line-height:1.8;color:#8c755e}#result-mascot{width:110px;height:110px;margin:15px auto 5px}#result-mascot svg{width:100%;height:100%}#result-label{margin:8px 0;color:var(--orange);font-weight:700}.score b{display:block;font:700 60px Georgia;color:var(--orange)}.score span{font-size:10px;color:var(--muted)}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:20px 0}.result-stats div{background:#eee4d3;border-radius:12px;padding:12px 3px;font-size:10px;color:#8c755e}.result-stats b{display:block;font-size:21px;color:var(--ink);margin-bottom:4px}.record{color:var(--green)!important;font-weight:700;min-height:20px}.result-actions{display:flex;gap:8px;margin-top:15px}.result-actions button{flex:1;padding:10px 2px;background:#efe5d5;color:#745c42;border-radius:9px;font-size:11px}#share-note{min-height:20px;font-size:10px;margin-bottom:0}@keyframes bob{50%{transform:translateY(-4px) rotate(3deg)}}@keyframes bubble{to{transform:translateY(-45px) scale(.5);opacity:0}}@keyframes steam{to{transform:translateY(-15px);opacity:0}}@keyframes flame{to{opacity:.65}}@keyframes escape{to{transform:translateY(-38px) rotate(15deg)}}@keyframes flash{15%{opacity:.85}to{opacity:0}}@keyframes toast{10%,75%{opacity:1}to{opacity:0;transform:translate(-50%,-15px)}}@media(max-width:480px){.app{padding:18px 16px}.intro{margin:23px 0 19px}.intro h1{font-size:41px}.scene{height:267px}.pot{top:80px}.pot-handles{top:128px}.speech{top:12px}.steam{top:47px}.window{left:20px;top:12px;width:102px;height:104px}.shelf{right:20px;top:43px}.topline{padding:14px 17px}.game-info{padding:14px 17px 0}.controls,.start-area{padding:14px 17px 18px}.howto{gap:10px;margin:20px 0}.howto b{font-size:11px}.intro p{font-size:11px}footer{display:block}footer span{display:block}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* v0.2: visible actions, individual chestnuts, and cooking stages */
.steps{list-style:none;display:flex;gap:8px;padding:0 20px;margin:0 0 14px}.steps li{flex:1;background:#eee5d6;color:#9b846b;text-align:center;border-radius:8px;padding:8px;font-size:12px}.steps li.active{background:#6d8055;color:white;font-weight:700}.mission{padding:0 20px 14px}.mission h2{font-size:17px;margin:0 0 6px;letter-spacing:-.6px}.mission p{margin:0;font-size:12px;line-height:1.7;color:#7b6650;min-height:40px}.scene{height:322px}.speech{font-size:11px;top:12px}.pot{top:125px;width:310px}.pot-front{height:136px;top:50px}.pot-front span{margin-top:87px}.water{height:105px}.pot-handles{width:345px;top:191px}.stove{width:310px;bottom:18px}.nuts{left:50%;top:68px;transform:translateX(-50%);width:294px;gap:10px 9px;z-index:7;grid-template-columns:repeat(3,1fr)}.nut{width:92px;height:103px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:15px;background:#fff8e9c9;animation:none;padding:6px;border:2px solid transparent;box-shadow:0 4px 0 #a28c6744}.nut:disabled{opacity:1}.nut-art{display:block;width:53px;height:53px;pointer-events:none}.nut-size{font-size:9px;color:#836448;pointer-events:none}.nut-action{font-size:10px;color:#72533a;font-weight:700;pointer-events:none;white-space:nowrap}.nut-track{height:4px;width:75%;background:#d8c8ac;border-radius:3px;margin-top:4px;overflow:hidden;pointer-events:none}.nut-progress{display:block;height:100%;width:0;background:#b68e56}.nut.ready{background:#e6f2bf;border-color:#6b8c41;box-shadow:0 4px 0 #7a934e;animation:ready-glow 1s infinite}.nut.ready .nut-action{color:#315523}.nut.ready .nut-progress{background:#6b8c41}.nut.late{background:#f5ddcf;border-color:#c76c49}.nut.cut{background:#eaf0d8;border-color:#8c9b66}.nut.escaping{border-color:#d89023;background:#fff0ab;animation:escape-small .5s infinite alternate;filter:none}.nut svg{pointer-events:none}.board{position:absolute;left:50%;transform:translateX(-50%);top:60px;width:310px;height:233px;background:repeating-linear-gradient(90deg,#d8b17f,#d8b17f 55px,#cd9e67 56px,#d8b17f 58px);border-radius:25px;box-shadow:0 8px 0 #b18b5e;z-index:3}.scene[data-stage='cook'] .board{display:none}.scene:not([data-stage='cook']) .pot,.scene:not([data-stage='cook']) .pot-handles,.scene:not([data-stage='cook']) .steam,.scene:not([data-stage='cook']) .stove{display:none}.scene:not([data-stage='cook']) .nut-track{visibility:hidden}.scene[data-stage='peel'] .nuts{display:none}#peel-nut{display:none;position:absolute;top:75px;left:50%;transform:translateX(-50%);width:190px;height:190px;z-index:7}#peel-nut svg{width:100%;height:100%}.scene[data-stage='peel'] #peel-nut{display:block}.floating{z-index:10;bottom:7px;pointer-events:none}.tray{padding:12px 20px 0}.tray>span{font-size:11px;color:#8b7156;display:flex;justify-content:space-between}.tray>span b{font-size:10px}#tray-nuts{display:flex;gap:6px;margin-top:6px;border:2px solid #dfc9a6;background:#f0e2c9;border-radius:14px;padding:4px}.tray-nut{flex:1;display:flex;align-items:center;justify-content:center;height:42px}.tray-nut svg{width:40px;height:40px}.tray-nut>span{color:#b7a58c}.tray-nut.arrived{animation:arrive .4s}.tray-nut.peeled{background:#fff0b4;border-radius:10px}.feedback{margin:12px 20px;font-size:12px;font-weight:600;color:#566c3d;background:#edf1de;padding:10px 12px;border-radius:10px;line-height:1.6;min-height:58px}.action-area{padding:0 20px 12px;display:flex;gap:8px;align-items:center}.action-area .primary{flex:1}.action-area #pause{margin-left:auto;white-space:nowrap}.game-card>.mini-stats{padding:0 20px 15px}.learning{padding:12px 20px;background:#efe4d1}.learning>span{font-size:10px;color:#a86b40;font-weight:700}.learning p{font-size:11px;margin:5px 0 0;line-height:1.7;color:#795e46}.recipe{border-top:1px solid #ddceba;margin-top:20px;padding-top:15px;font-size:12px;color:#765d45}.recipe summary{cursor:pointer;font-weight:600}.recipe p{font-size:11px;line-height:1.9}.recipe a{display:block;font-size:10px;color:#687550;line-height:2}.peel-meter{position:relative;height:34px;background:linear-gradient(90deg,#edd5a3,#edd5a3 48%,#a5c679 48%,#a5c679 78%,#de9675 78%);border-radius:9px;border:1px solid #b6a483;margin-top:8px}.green-zone{position:absolute;left:48%;width:30%;text-align:center;font-size:11px;line-height:30px;color:#3d5626;font-weight:700}.peel-meter #needle{position:absolute;top:-5px;bottom:-5px;width:4px;background:#4c3525;box-shadow:0 0 0 2px #fff7e8;border-radius:3px}.meter-labels{display:flex;justify-content:space-between;font-size:9px;color:#9c7552;margin:6px 0 10px}#peel-controls{padding:0 20px 14px}#peel{font-size:12px;justify-content:center;user-select:none;-webkit-user-select:none;touch-action:none;min-height:54px}.result-tip{background:#edf1de;padding:12px 8px;border-radius:10px;font-size:11px;line-height:1.7;color:#657547}.playing .intro{margin:15px 0}.playing .intro h1{font-size:32px;margin:6px 0}.playing .intro .eyebrow{display:none}.playing .intro p{margin:6px 0}.playing .howto{margin:15px 0}@keyframes ready-glow{50%{box-shadow:0 4px 0 #7a934e,0 0 13px #a0c166}}@keyframes arrive{from{transform:translateY(-18px) scale(.7);opacity:0}to{transform:none;opacity:1}}@keyframes escape-small{to{transform:translateY(-9px) rotate(5deg)}}@media(max-width:480px){.scene{height:315px}.speech{font-size:10px;max-width:95%;white-space:normal;text-align:center}.topline{padding:12px 17px}.mission{padding:0 16px 12px}.mission h2{font-size:15px}.mission p{font-size:11px}.steps{padding:0 16px;margin-bottom:11px}.steps li{font-size:11px}.window{left:12px}.shelf{right:12px}.tray{padding:10px 16px 0}.feedback{margin:10px 16px;font-size:11px;min-height:53px}.action-area{padding:0 16px 12px}.game-card>.mini-stats{padding:0 16px 12px}.learning{padding:10px 16px}#peel-controls{padding:0 16px 12px}}@media(max-width:360px){.nuts{width:264px;gap:10px 6px}.nut{width:84px}.nut-action{font-size:9px}.board{width:278px}.pot{width:275px}.pot-handles{width:298px}.stove{width:270px}}@media(prefers-reduced-motion:reduce){.nut.ready,.nut.escaping,.tray-nut.arrived{animation:none}}
/* v0.3: stage map and a compact kitchen with parallel work */
.level-select{background:#fff8eb;border:1px solid #ddcbb0;border-radius:22px;padding:20px}.map-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.map-heading h2{font:700 22px 'Gowun Batang',serif;margin:0}.map-heading>span{font-size:12px;color:#ac7034;white-space:nowrap}.map-help,#practice-note{font-size:11px;line-height:1.7;color:#8e765c}.shop-decoration{text-align:center;background:#eee3cd;border-radius:14px;margin:17px 0;padding:15px}.shop-decoration span{display:block;font-size:31px;letter-spacing:6px}.shop-decoration b{display:block;font-size:11px;color:#728052;margin-top:8px}#level-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.level-card{display:flex;align-items:center;gap:9px;padding:12px;background:#f1e8d9;border:1px solid #e0d0b9;border-radius:12px;color:#513c28;text-align:left;min-height:65px}.level-card.selected{border:2px solid #718951;padding:11px;background:#edf1dc}.level-number{width:25px;height:25px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:#d5bea0;color:#fff;font-weight:700;font-size:12px}.level-name{font-size:12px;font-weight:700}.level-name small{display:block;font-size:9px;color:#9d846b;margin-top:5px;font-weight:400}.level-stars{font-size:13px;color:#b88b40;margin-left:auto;white-space:nowrap}.level-card.locked{background:#eee6d9}.level-card.extreme{grid-column:1/-1;background:#49372d;color:#f8dfaa;border-color:#a97a42}.level-card.extreme.selected{border-color:#dba940}.level-card.extreme .level-number{background:#a77337}.level-card.extreme small{color:#cfb994}#level-detail{padding:18px 0}#level-detail h3{font-size:17px;margin:0 0 6px}#level-detail p{font-size:12px;color:#826b52;margin:6px 0}#level-detail div{font-size:11px;color:#9c5b2d;margin:10px 0}#level-detail small{font-size:10px;line-height:1.7;display:block;color:#8e765c}#practice-note{margin:12px 0 0}.run-nav{display:flex;align-items:center;justify-content:space-between;margin:15px 0 10px}.run-nav>span{font-size:12px;font-weight:700;color:#6c7d4e}.shop-playing .intro{display:none}.shop-playing .howto,.shop-playing .collection,.shop-playing .recipe,.shop-playing footer{display:none}.shop-playing .app{max-width:650px}.shop-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}.shop-top>span{font-size:12px;font-weight:700;color:#6e7f4c}.shop-top strong{font-size:21px;font-variant-numeric:tabular-nums;color:#614832}.shop-top .urgent{color:#b74426}.shop-time-track{height:4px;background:#eee2cc}.shop-time-track i{display:block;height:100%;background:#b78146;width:100%}.orders{display:flex;gap:8px;padding:12px 14px 5px}.order{flex:1;min-width:0;border:1px solid #ddcbb0;background:#f5edde;border-radius:12px;padding:9px;text-align:center}.order>span{font-size:10px;color:#987653}.order>b{display:block;font-size:12px;margin:5px 0 8px;white-space:nowrap}.order button{width:100%;padding:9px 3px;border-radius:7px;background:#e3d5bd;color:#8e765b;font-size:10px;font-weight:700;min-height:35px}.order.servable{border-color:#7e9752;background:#eef3d8}.order.servable button{background:#6b8547;color:#fff5d7}.upcoming{padding:3px 15px 8px;font-size:9px;color:#9d8363;min-height:24px}.shop-guide{margin:0 14px 10px;padding:8px 10px;background:#f6e6ce;color:#93663c;font-size:10px;line-height:1.6;border-radius:8px}.shop-workbench{display:grid;grid-template-columns:1.35fr 1fr;gap:12px;padding:0 14px 10px}.cook-station,.peel-station{min-width:0;background:#efe0c9;border-radius:14px;padding:10px}.station-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:4px;margin-bottom:8px}.station-heading>span{font-size:9px;color:#9b7e5b}.shop-pot{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#78906c;border:5px solid #617955;border-radius:16px 16px 28px 28px;padding:7px 5px 13px;min-height:177px}.shop-nut{width:100%;height:77px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8eac9;border:2px solid transparent;border-radius:10px;padding:4px 1px;box-shadow:0 2px 0 #3d582b55}.shop-nut-art{display:block;width:43px;height:43px;pointer-events:none}.shop-nut-art svg{width:100%;height:100%}.shop-nut-label{font-size:8px;color:#704d2e;font-weight:600;white-space:nowrap;pointer-events:none}.shop-nut.empty{background:#9bad86;border:1px dashed #d2dcba;opacity:1}.shop-nut.empty .shop-nut-art{height:40px;font-size:26px;color:#d7e2b8}.shop-nut.empty .shop-nut-label{color:#dbe5c6}.shop-nut.ready{background:#e4f3ac;border-color:#5a7c32;animation:ready-glow 1s infinite}.shop-nut.ready .shop-nut-label{color:#3d6124}.shop-nut.late{background:#efbda1;border-color:#a45532}.shop-nut.escaping{background:#fff0ab;border-color:#d89023;animation:escape-small .5s infinite alternate}.shop-nut-track{height:3px;display:block;width:80%;background:#cfc2a2;border-radius:3px;overflow:hidden;margin-top:4px;pointer-events:none}.shop-nut-track i{height:100%;display:block;background:#aa8044}.shop-nut.ready .shop-nut-track i{background:#658541}.load-buttons{display:flex;gap:5px;margin-top:10px}.load-buttons button{flex:1;min-width:0;min-height:43px;background:#fff7e5;border:1px solid #d6bc91;color:#78552e;border-radius:8px;font-size:10px;font-weight:700;padding:5px 1px}.load-buttons small{font-size:8px;font-weight:400;color:#af895f}.station-note{font-size:9px;line-height:1.5;color:#987755;margin:7px 0 0}.peel-station{display:flex;flex-direction:column}#shop-peel-nut{height:82px;text-align:center;display:flex;align-items:center;justify-content:center}#shop-peel-nut svg{height:78px;width:78px}#shop-peel-nut>span{font-size:11px;color:#b0956e;line-height:1.8}.shop-peel-meter{position:relative;flex-shrink:0;height:28px;background:linear-gradient(90deg,#edd5a3 48%,#a5c679 48%,#a5c679 78%,#de9675 78%);border-radius:8px;border:1px solid #b6a483;margin:7px 0 10px}.shop-peel-meter span{position:absolute;left:48%;width:30%;font-size:8px;line-height:25px;text-align:center;color:#46642b;font-weight:700;white-space:nowrap}.shop-peel-meter i{position:absolute;left:0;top:-3px;bottom:-3px;width:3px;background:#533b25;box-shadow:0 0 0 1px #fff3d9;border-radius:2px}#shop-peel{background:#c35e33;color:#fff4de;border-radius:10px;font-size:11px;font-weight:700;line-height:1.7;min-height:56px;padding:7px 2px;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:0 3px 0 #a14b2b}.peel-queue{display:flex;flex-wrap:wrap;gap:4px;min-height:28px;margin-top:9px}.peel-queue button{width:29px;height:29px;border:1px solid #c9b18d;background:#f6e9d0;border-radius:7px;color:#906635;font-size:10px;padding:0}.peel-queue button.selected{background:#dce7b8;border-color:#7d9357;color:#536c36}.inventory{display:flex;align-items:center;justify-content:space-between;background:#ede9d4;margin:0 14px;border-radius:10px;padding:10px 12px;font-size:10px;color:#647549}.inventory>span{font-weight:700}#inventory-counts{display:flex;gap:12px}#inventory-counts b{margin-left:3px;color:#48612c}.shop-game .feedback{font-size:11px;margin:10px 14px;min-height:48px}.shop-bottom{display:flex;align-items:center;justify-content:space-between;padding:0 14px 14px;gap:6px;font-size:10px;color:#8b7155}.result-stars{font-size:25px;letter-spacing:7px;color:#c79b3e;margin:10px 0}.result-body #next-level{margin-bottom:12px}.result-body #restart{font-size:13px}.god-result{border:3px solid #bd9043;background:radial-gradient(ellipse at top,#fff0b7,#fff8eb 65%)}.god-result #result-title{color:#9b6521}.god-result #result-mascot{filter:drop-shadow(0 0 12px #e6c46b)}@media(max-width:480px){.level-select{padding:16px}.map-heading h2{font-size:19px}.level-card{gap:6px;padding:10px;min-height:64px}.level-card.selected{padding:9px}.level-number{width:22px;height:22px;font-size:10px}.level-name{font-size:11px}.level-name small{font-size:8px}.level-stars{font-size:11px}.shop-workbench{gap:8px;padding:0 10px 9px}.cook-station,.peel-station{padding:8px}.shop-pot{gap:4px;border-width:4px;padding:5px 4px 10px}.shop-nut{height:72px}.shop-nut-art{width:38px;height:38px}.shop-nut-label{font-size:7px}.shop-guide{margin:0 10px 8px;font-size:9px}.orders{padding:10px 10px 4px;gap:6px}.order{padding:7px 5px}.order>b{font-size:10px}.order button{font-size:9px}.shop-top{padding:12px}.station-note{font-size:8px}.load-buttons button{font-size:9px}.inventory{margin:0 10px;padding:9px;font-size:9px}.shop-game .feedback{margin:9px 10px;font-size:10px}.shop-bottom{padding:0 10px 12px}.shop-playing .app{padding:12px}.run-nav{margin:10px 0}.peel-queue button{width:25px;height:27px}.shop-nut-track{width:90%}}@media(max-width:360px){#level-list{grid-template-columns:1fr}.level-card.extreme{grid-column:auto}.shop-workbench{gap:6px}.shop-nut-art{width:33px;height:33px}.shop-nut-label{font-size:6.5px}#shop-peel{font-size:10px}.order>b{font-size:9px}.peel-queue button{width:22px}}@media(prefers-reduced-motion:reduce){.shop-nut.ready,.shop-nut.escaping{animation:none}}
@media(max-width:480px){.level-select .shop-decoration{padding:9px;margin:11px 0}.level-select .shop-decoration span{font-size:25px}.level-select .shop-decoration b{font-size:10px;margin-top:5px}.level-card{min-height:55px;padding:8px}.level-card.selected{padding:7px}#level-detail{padding:12px 0}.shop-nut-label{font-size:8px}.shop-nut.ready .shop-nut-label{font-size:8px}}
.shop-playing .result-body{padding:20px}.shop-playing #result-mascot{width:70px;height:70px;margin:9px auto 5px}.shop-playing .result-body h2{font-size:25px;margin:8px 0 10px}.shop-playing .score b{font-size:46px}.shop-playing .result-stars{margin:5px 0;font-size:23px}.shop-playing .result-stats{margin:13px 0}.shop-playing .result-stats div{padding:9px 3px}.shop-playing .result-tip{display:none}.shop-playing .record{font-size:10px;min-height:15px;margin:8px 0}.shop-playing .result-body #next-level,.shop-playing .result-body #restart{padding:13px 16px}.shop-playing .result-actions{margin-top:12px}
