:root{--ink:#302b48;--muted:#77708b;--purple:#6b4ac8;--violet:#8966ea;--pink:#ff789b;--yellow:#ffcb60;--cream:#fff6de;--border:#eee4d7;--shadow:0 18px 55px rgba(69,45,97,.13);font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fff4dc;color:var(--ink)}body{overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #ffcf60;outline-offset:3px}#app{position:relative;width:100%;height:100%;height:100dvh;overflow:hidden;background:linear-gradient(122deg,#fff4dc 0%,#fff4e8 50%,#ffecf0 100%)}.background-dots{pointer-events:none;position:absolute;inset:0;background-image:radial-gradient(#f6d9c8 1px,transparent 1px);background-size:27px 27px;opacity:.38}.screen{display:none;position:absolute;inset:0;overflow:hidden}.screen.active{display:block}.hidden{display:none!important}.home{padding:clamp(14px,2.4vh,26px) clamp(24px,5vw,90px) 14px}.home-top,.home-footer{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:3}.brand-pill{font-weight:950;letter-spacing:1.8px;color:#66538b;font-size:clamp(10px,.9vw,14px)}.brand-pill span{color:#ff6b90}.icon-button{border:1px solid #ebe1ef;border-radius:16px;background:#fff;box-shadow:0 7px 20px #714cad13;width:43px;height:43px;display:grid;place-items:center;font-size:20px}.home-main{display:grid;grid-template-columns:.89fr 1.11fr;gap:2%;height:calc(100% - 76px);align-items:center;max-width:1500px;margin:auto}.hero-copy{position:relative;z-index:2;padding:0 0 3% 1%}.eyebrow{display:inline-block;padding:9px 14px;border-radius:40px;background:#fff0be;color:#a16a1b;font-size:clamp(11px,1.1vw,16px);font-weight:900;box-shadow:0 5px 18px #ffb7421c}.hero-copy h1{margin:clamp(8px,1.6vh,20px) 0 14px;font-size:clamp(50px,6.1vw,112px);letter-spacing:-.085em;line-height:1.06;font-weight:1000;white-space:nowrap;text-shadow:0 6px #fff9f2}.hero-copy h1 em{font-style:normal;color:#f06882}.hero-copy h1 em span{color:#ffb64f}.hero-copy p{color:#786d81;font-size:clamp(13px,1.55vw,23px);line-height:1.55;margin:0 0 24px}.hero-copy p strong{color:#50415b}.home-cta{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.primary-button{border:0;border-radius:18px;background:linear-gradient(120deg,#ff9f4d 0%,#ff6386 100%);color:#fff;font-weight:950;box-shadow:0 11px 0 #ea6585,0 16px 26px #f47d7b57;transition:transform .12s,box-shadow .12s;white-space:nowrap}.primary-button:active{transform:translateY(6px);box-shadow:0 5px 0 #ea6585,0 7px 12px #f47d7b45}.primary-button.big{padding:17px 21px;font-size:clamp(13px,1.38vw,19px)}.button-arrow{margin-left:12px}.secondary-button{padding:17px 19px;background:#fff;border:2px solid #f4e4d9;border-radius:18px;font-weight:900;font-size:clamp(12px,1.1vw,16px);box-shadow:0 6px 18px #544d6513}.mini-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}.mini-features span{border:1px solid #eee2dc;background:#fff9f1;border-radius:12px;padding:8px 10px;font-size:clamp(10px,.95vw,14px);font-weight:850;color:#8b6e79}.home-footer{font-size:10px;letter-spacing:1px;color:#b1a1a0;font-weight:800}.hero-visual{position:relative;width:100%;height:min(80vh,650px);max-height:100%;filter:drop-shadow(0 19px 27px #70537f25)}.hero-kitchen{position:absolute;inset:9% 3% 21%;background:#f7e6d7;border:9px solid white;border-radius:32px;box-shadow:0 12px 0 #e8bbaa;overflow:hidden}.hero-tiles{position:absolute;inset:0 0 12%;background:repeating-linear-gradient(0deg,transparent 0 52px,#eecfc5 53px 55px),repeating-linear-gradient(90deg,transparent 0 80px,#eecfc5 81px 83px);opacity:.47}.hero-shelf{position:absolute;top:17%;left:8%;width:25%;height:12px;border-radius:8px;background:#cc998b;box-shadow:0 9px 0 #a7766b}.hero-shelf:before{content:"🌿  🫙  🧁";position:absolute;bottom:9px;left:5%;font-size:clamp(13px,2vw,28px);white-space:nowrap}.hero-faucet{position:absolute;bottom:24%;left:51%;font-size:55px;transform:rotate(180deg);color:#8495ae}.hero-sink{position:absolute;bottom:4%;left:18%;right:18%;height:20%;border-radius:25px 25px 0 0;background:#fff0df;border:8px solid #bd9f91}.hero-mom{position:absolute;z-index:2;width:26%;height:58%;bottom:8%;left:36%;animation:hero-mom-bob .8s ease-in-out infinite alternate}.hm-head{position:absolute;left:18%;top:1%;width:64%;aspect-ratio:1;border-radius:50%;background:#61425a}.hm-bun{position:absolute;right:-18%;top:2%;width:45%;aspect-ratio:1;border-radius:50%;background:#61425a}.hm-body{position:absolute;left:9%;right:9%;top:40%;bottom:1%;border-radius:35% 35% 16% 16%;background:#b3a2df}.hm-apron{position:absolute;left:25%;right:25%;top:51%;bottom:1%;border-radius:20% 20% 10% 10%;background:#f6e4ee}.hm-arm{position:absolute;z-index:3;top:57%;width:17%;height:35%;background:#f4baa2;border-radius:22px;transform-origin:top}.hm-arm.left{left:5%;transform:rotate(-27deg);animation:hm-scrub 1s ease-in-out infinite alternate}.hm-arm.right{right:5%;transform:rotate(27deg);animation:hm-scrub .8s ease-in-out infinite alternate-reverse}.hero-table-scene{position:absolute;inset:51% 0 9%}.hero-kids{position:absolute;left:5%;right:5%;bottom:18%;display:flex;align-items:end;justify-content:space-around;z-index:2}.hero-kids .kid-svg{width:29%;height:auto;max-height:32vh;filter:drop-shadow(0 5px 0 #ffffff88)}.hero-foods{position:absolute;left:6%;right:6%;bottom:17%;display:flex;justify-content:space-around;z-index:4;font-size:clamp(25px,4vw,63px);filter:drop-shadow(0 6px 2px #78554c34)}.hero-table-front{position:absolute;left:1%;right:1%;bottom:0;height:36%;border-radius:50% 50% 15px 15px;background:linear-gradient(#edb589 0%,#d88f65 55%,#c87958 100%);box-shadow:inset 0 8px #ffd5b3,0 13px 0 #c67c5b}.hero-note{position:absolute;z-index:5;background:#fff;border:3px solid #fff;box-shadow:0 10px 26px #6d59713a;padding:10px 16px;border-radius:15px;font-weight:1000;font-size:clamp(12px,1.2vw,20px)}.note-top{top:7%;right:0;transform:rotate(7deg)}.note-bottom{bottom:11%;left:-2%;transform:rotate(-6deg)}.hero-star{position:absolute;color:#ffad55;font-size:clamp(25px,4vw,55px)}.star-one{top:5%;left:9%}.star-two{right:4%;bottom:4%}@keyframes hero-mom-bob{to{transform:translateY(4px)}}@keyframes hm-scrub{to{transform:rotate(6deg)}}
/* SETUP */
.setup{padding:clamp(12px,2vh,24px) clamp(18px,3vw,55px);overflow-y:auto}.setup-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:clamp(10px,1.7vh,20px)}.setup-header .icon-button{justify-self:end}.back-button{justify-self:start;border:0;background:#fff;box-shadow:0 5px 15px #9d6a4515;padding:12px 16px;border-radius:15px;color:#7e7081;font-weight:900;font-size:13px}.setup-headline{text-align:center}.setup-kicker{font-size:10px;color:#e98983;letter-spacing:3px;font-weight:1000}.setup-headline h2{margin:1px 0;font-size:clamp(21px,2.4vw,35px);letter-spacing:-1.2px}.setup-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:clamp(12px,1.6vw,22px);height:calc(100% - 82px);max-width:1460px;margin:auto}.panel{background:#fffefa;border:2px solid #fff;border-radius:26px;box-shadow:var(--shadow);padding:clamp(14px,1.65vw,25px)}.choose-food{overflow:auto;scrollbar-width:thin}.panel h3{font-size:clamp(14px,1.28vw,19px);margin:0 0 14px;font-weight:1000}.panel-title-line{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}.segmented{display:flex;background:#f6f2f2;border-radius:13px;padding:3px;gap:2px}.segmented button{border:0;background:transparent;border-radius:10px;padding:8px 10px;color:#958a95;font-weight:900;font-size:clamp(10px,.84vw,13px)}.segmented button.selected{background:#fff;color:#6649b0;box-shadow:0 2px 7px #5f3f7930}.person-picker{display:flex;gap:6px;margin:2px 0 9px}.person-picker button{flex:1;background:#fcf7f4;border:2px solid transparent;border-radius:12px;padding:7px 5px;font-size:12px;font-weight:950}.person-picker button.active{border-color:#b9a1ec;color:#6649b0;background:#f6f0ff}.food-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(7px,.8vw,13px);padding:6px 1px}.food-option{position:relative;min-height:clamp(94px,15.5vh,157px);background:linear-gradient(160deg,#fffaf4,#fff2e5);border:2px solid #f3e6df;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transition:transform .15s,border-color .15s,background .15s;overflow:hidden}.food-option:hover{transform:translateY(-3px)}.food-option.selected{border-color:#ec8da6;background:linear-gradient(150deg,#fff4f9,#ffe2ea);box-shadow:0 5px 0 #f6b4c8}.food-option .food-icon{font-size:clamp(32px,3.6vw,61px);line-height:1.2;filter:drop-shadow(0 5px 3px #a66d3d35)}.food-option strong{font-size:clamp(12px,1.1vw,17px)}.food-option small{color:#9c8e9a;font-weight:750;font-size:clamp(9px,.72vw,12px)}.food-selected-check{position:absolute;top:6px;right:7px;font-size:13px;color:#f4779c;font-weight:1000}.setup-side{display:flex;flex-direction:column;gap:clamp(10px,1.3vh,16px);min-height:0}.plate-panel{flex:0 0 auto}.selected-plates{display:flex;gap:8px}.plate-card{flex:1;min-width:0;text-align:center;background:#fff4e6;padding:9px 3px;border-radius:15px;border:1px solid #f5dfca}.plate-card .plate-face{font-size:clamp(17px,2vw,27px)}.plate-card strong{display:block;font-size:clamp(10px,.95vw,14px);margin:2px 0 3px}.plate-card .plate-food{font-size:clamp(22px,2.5vw,35px);line-height:1.2}.plate-card small{display:block;font-size:clamp(9px,.78vw,12px);font-weight:850;color:#8d7690}.difficulty-panel{flex:1;min-height:0;display:flex;flex-direction:column}.difficulty-options{display:grid;gap:8px;flex:1}.difficulty-card{width:100%;display:flex;align-items:center;gap:10px;border:2px solid #f0e6e6;background:#fffaf7;border-radius:14px;text-align:left;padding:clamp(6px,1vh,12px) 11px}.difficulty-card.active{border-color:#8c74d9;background:#f5f0ff;box-shadow:inset 5px 0 #ab92ee}.difficulty-card .diff-icon{font-size:clamp(19px,2.2vw,27px)}.difficulty-card strong{display:block;font-weight:1000;font-size:clamp(12px,1vw,15px)}.difficulty-card small{font-size:clamp(9px,.79vw,12px);color:#9a8e9b;font-weight:800}.difficulty-help{margin:7px 0 0;color:#a398a9;font-size:clamp(9px,.78vw,12px);font-weight:850}.launch{width:100%;padding:clamp(12px,2vh,19px);font-size:clamp(14px,1.3vw,18px);display:flex;justify-content:center;gap:15px}
/* GAME WORLD */
.game{background:#f9ddbc;user-select:none;-webkit-user-select:none}.world{position:absolute;inset:0;overflow:hidden;pointer-events:none}.kitchen-wall{position:absolute;inset:0 0 35%;background:linear-gradient(#ffeed8,#fbe1ca)}.wall-stripe{position:absolute;top:0;left:0;right:0;height:14%;background:#fffae8;border-bottom:9px solid #f2d5ad}.kitchen-tiles{position:absolute;top:13%;left:0;right:0;height:47%;background:repeating-linear-gradient(0deg,transparent 0 52px,#debcae70 53px 55px),repeating-linear-gradient(90deg,transparent 0 87px,#debcae70 88px 90px)}.window-frame{position:absolute;left:9%;top:18%;width:22%;height:31%;background:#e6f6ff;border:10px solid #fff8e9;border-radius:8px;box-shadow:0 8px #dcab98;overflow:hidden}.window-sky{position:absolute;inset:0;background:linear-gradient(#a6e6f2,#d9f6e3)}.window-sky:after{content:"☀";position:absolute;top:2%;right:12%;color:#ffcc72;font-size:clamp(18px,3vw,48px)}.window-hills{position:absolute;bottom:-28%;left:-15%;width:140%;height:62%;border-radius:55% 55% 0 0;background:#91cbb3;transform:rotate(8deg)}.window-cross{position:absolute;background:#fff9ed}.window-cross.h{top:50%;left:0;right:0;height:8px}.window-cross.v{left:49%;top:0;bottom:0;width:8px}.kitchen-art{position:absolute;top:23%;right:13%;border:8px solid #fff7ee;box-shadow:0 5px #d6a48f;background:#ffc9b5;border-radius:10px;font-size:clamp(28px,4.8vw,70px);width:clamp(72px,13vw,170px);height:clamp(70px,14vw,175px);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(4deg)}.kitchen-art small{font-size:clamp(7px,.87vw,12px);font-weight:1000;color:#fff;letter-spacing:1px}.cabinet{position:absolute;top:13%;height:13%;background:#f9e5bf;border:6px solid #e6c192;box-shadow:0 7px #d8a67c;border-radius:0 0 12px 12px}.cabinet:after{content:"";position:absolute;right:14%;top:44%;width:20%;height:5px;border-radius:3px;background:#d0a56d}.cabinet-left{left:1%;width:27%}.cabinet-right{right:0;width:25%}.kitchen-counter{position:absolute;left:25%;right:24%;top:53%;height:12%;background:#d7a18a;border-top:13px solid #fbe9d3;border-radius:5px 5px 0 0;box-shadow:inset 0 10px #bf806b}.sink-basin{position:absolute;top:49%;left:37%;width:25%;height:9%;border-radius:45%;background:#c9d7d6;border:6px solid #f7f4e8}.tap-fixture{position:absolute;top:38%;left:49%;width:4%;height:15%;border-top:10px solid #8ea5b5;border-left:9px solid #8ea5b5;border-right:9px solid #8ea5b5;border-radius:55% 55% 4px 4px}.plate-stack{position:absolute;top:45%;left:32%;font-size:clamp(20px,3vw,40px)}.plate-stack:before{content:"🍽️"}.dish-bubbles{position:absolute;top:40%;left:57%;font-size:clamp(12px,1.3vw,20px);color:#8edaf1;animation:bubbles 2.2s linear infinite}.mom-area{position:absolute;z-index:2;left:50%;top:19%;height:43%;width:min(25vw,245px);transform:translateX(-50%);transition:filter .12s;will-change:transform}.mom-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 8px 2px #ab796645)}.mom-front{opacity:0;transition:opacity .2s}.mom-back{opacity:1;transition:opacity .2s}.mom-area.looking .mom-front{opacity:1}.mom-area.looking .mom-back{opacity:0}.mom-washing-hands{transform-origin:115px 175px;animation:scrubbing .65s ease-in-out infinite alternate}.mom-area.looking .mom-washing-hands{animation:none}.mom-area.looking{animation:mom-alert .24s ease-out}.mom-area.angry{filter:drop-shadow(0 0 18px #ff526f80)}.mom-bubble{position:absolute;z-index:4;bottom:79%;left:62%;white-space:nowrap;background:#fff;border:3px solid #e7c7db;border-radius:17px;padding:8px 13px;font-weight:1000;font-size:clamp(11px,1.2vw,16px);box-shadow:0 5px 0 #e9aeb83b;transform:rotate(5deg)}.mom-bubble:after{content:"";position:absolute;bottom:-11px;left:18px;border-left:10px solid transparent;border-right:10px solid transparent;border-top:12px solid #fff}.counter-edge{position:absolute;top:62%;left:0;right:0;height:6%;background:linear-gradient(#f8d9ad,#deb294);box-shadow:0 10px 0 #c99580}.dining-table{position:absolute;top:68%;left:-5%;width:110%;height:38%;border-radius:55% 55% 0 0;background:linear-gradient(#f8c58a,#e69b70);box-shadow:inset 0 10px #ffdfb0}.table-front{position:absolute;top:93%;left:0;right:0;bottom:0;background:#d58b62;border-top:7px solid #edb68b}.kids-row{position:absolute;z-index:4;top:44%;left:9%;right:9%;height:44%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,1.4vw,24px)}.kid-slot{position:relative;min-width:0;touch-action:none;pointer-events:auto;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:end}.kid-slot .kid-svg{position:relative;z-index:2;width:min(66%,180px);height:63%;min-height:0;filter:drop-shadow(0 6px 0 #8b60533d);flex-shrink:0;transition:transform .1s}.kid-slot.munching .kid-svg{animation:munch .22s ease-in-out infinite alternate}.kid-slot.finished .kid-svg{animation:finished-pop 1.3s ease-in-out infinite}.kid-slot .kid-name{position:absolute;top:0;left:50%;transform:translateX(-50%);background:#fff;border:2px solid #eedbd2;border-radius:20px;padding:4px 11px;font-size:clamp(11px,1.05vw,15px);font-weight:1000;white-space:nowrap;z-index:5}.kid-slot .kid-plate{position:relative;z-index:4;width:clamp(52px,9vw,135px);height:22%;display:flex;align-items:center;justify-content:center;margin-top:-1.6%;border-radius:50%;background:radial-gradient(ellipse,#fff 46%,#e5eaf0 48%,#fff 60%,#c5cddd 70%);filter:drop-shadow(0 6px 2px #af72563e)}.kid-plate .dish-icon{font-size:clamp(31px,5.1vw,75px);line-height:1;filter:drop-shadow(0 3px 1px #997d6433);transform:scale(var(--food-scale,1));transition:opacity .1s}.kid-slot.finished .dish-icon{opacity:0}.kid-slot.finished .kid-plate:after{content:"✨ 완식!";position:absolute;font-weight:1000;color:#f27b83;font-size:clamp(12px,1.2vw,17px)}.kid-progress-wrap{position:relative;z-index:6;width:min(72%,190px);margin-top:3px;background:#fffaf0ee;border:2px solid #ffe7d9;border-radius:15px;padding:4px 7px;display:flex;gap:7px;align-items:center;box-shadow:0 3px 7px #c5826240}.kid-progress{height:8px;background:#eadce1;border-radius:15px;overflow:hidden;flex:1}.kid-progress-fill{display:block;height:100%;width:0;border-radius:15px;background:linear-gradient(90deg,#ffa55c,#fc5f87)}.kid-progress-num{font-size:clamp(9px,.86vw,12px);font-weight:1000;color:#855873;min-width:28px;text-align:right}.kid-slot.munching .kid-name{background:#fff0a4}.kid-slot[data-eat-key]:active .kid-plate{filter:drop-shadow(0 0 12px #ffcf79)}.world-shade{position:absolute;z-index:5;inset:0;background:#ff456a;opacity:0;transition:opacity .12s}.world-shade.alarm{opacity:.23}.treat-spark{position:absolute;top:70%;z-index:3;font-size:25px;color:#fff5b0;animation:twinkle 2s ease-in-out infinite}.treat-spark.one{left:19%}.treat-spark.two{right:21%;animation-delay:.7s}
.game-hud{position:absolute;z-index:11;top:0;left:0;right:0;height:clamp(58px,12%,85px);display:grid;grid-template-columns:1fr 1.05fr 1fr;align-items:center;gap:8px;padding:10px clamp(12px,2.5vw,40px);background:linear-gradient(#fffaf4f5,#fffaf4e2);box-shadow:0 5px 20px #84584115;pointer-events:auto}.hud-left,.hud-right{display:flex;align-items:center;gap:clamp(7px,1.3vw,16px);min-width:0}.hud-right{justify-content:flex-end}.hud-pause{width:clamp(35px,4vw,51px);height:clamp(35px,4vw,51px);flex:none;background:#fff;border:2px solid #eedcd7;border-radius:13px;font-weight:1000;font-size:19px;color:#795277;box-shadow:0 4px 0 #e4c7b9}.mode-badge,.hud-food-name,.hud-timer,.hearts{font-size:clamp(10px,1.1vw,15px);font-weight:1000;white-space:nowrap}.mode-badge{background:#ffefd9;border-radius:14px;padding:10px 12px}.hud-food-name{color:#8c7480;overflow:hidden;text-overflow:ellipsis}.hud-center{justify-self:center;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px clamp(8px,2vw,25px);background:#f1fff2;border:2px solid #b7edc7;border-radius:16px;white-space:nowrap;font-size:clamp(12px,1.45vw,20px);font-weight:1000;color:#42835d;transition:background .15s,color .15s,border-color .15s}.hud-status-light{width:11px;height:11px;flex:none;border-radius:50%;background:#4cc882;box-shadow:0 0 0 4px #bdebd0}.hud-center.warning{background:#ffefd0;border-color:#ffcb6a;color:#a57218}.hud-center.warning .hud-status-light{background:#ffba35;box-shadow:0 0 0 4px #ffe4a8}.hud-center.danger{background:#fff0f0;border-color:#ff98a6;color:#ce4065;animation:alert-pulse .45s infinite alternate}.hud-center.danger .hud-status-light{background:#f74f74;box-shadow:0 0 0 4px #ffc1cc}.hud-timer{border-radius:12px;background:#fff;padding:10px 13px}.hearts{letter-spacing:0;white-space:nowrap;color:#d1a9ad}.play-controls{position:absolute;z-index:12;bottom:0;left:50%;transform:translateX(-50%);width:min(94%,790px);height:clamp(31px,6%,47px);border-radius:17px 17px 0 0;background:#fff8eeec;box-shadow:0 -5px 17px #8a635229;display:flex;gap:12px;justify-content:space-between;align-items:center;padding:0 15px;font-size:clamp(10px,1vw,14px);font-weight:900;color:#755572;pointer-events:none}.play-controls #modeHelp{border-radius:15px;background:#efdffb;color:#7957a6;padding:5px 9px;white-space:nowrap}.eat-tap-layer{position:absolute;z-index:6;inset:12% 0 6%;touch-action:none;pointer-events:auto;cursor:pointer}.game.individual .eat-tap-layer{pointer-events:none}.game.individual .kid-slot{z-index:9;cursor:pointer}.game.individual .kid-slot:after{content:"여기를 꾹!";position:absolute;z-index:8;top:10%;font-size:clamp(9px,.85vw,13px);color:#9e7586;font-weight:1000;white-space:nowrap}.game-toast{pointer-events:none;z-index:15;position:absolute;left:50%;top:25%;transform:translateX(-50%) translateY(-7px);background:#fff;color:#a04e6b;box-shadow:0 10px 23px #956b6b45;padding:11px 23px;border-radius:17px;font-size:clamp(14px,1.8vw,23px);font-weight:1000;opacity:0;transition:opacity .18s,transform .18s;white-space:nowrap}.game-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* MODALS */
.modal-root{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#261a3e96;backdrop-filter:blur(7px)}.modal-panel{position:relative;z-index:2;width:min(440px,94vw);max-height:calc(100dvh - 35px);overflow:auto;background:#fffefa;border:6px solid #fff;border-radius:26px;box-shadow:0 20px 0 #25193b25,0 32px 70px #1c132a55;padding:clamp(17px,3vh,30px);text-align:center}.modal-emoji{font-size:clamp(43px,8vh,68px);margin-bottom:4px}.modal-panel h2{font-size:clamp(23px,3.5vw,32px);letter-spacing:-1px;margin:5px 0}.modal-panel p{color:#867a8b;font-size:clamp(12px,1.1vw,15px);line-height:1.55}.modal-panel .modal-actions{display:flex;gap:9px;margin-top:20px}.modal-panel .modal-actions>*{flex:1;min-width:0;border:0;border-radius:14px;padding:13px 9px;font-weight:1000;font-size:clamp(12px,1vw,15px)}.modal-main{background:#ff8b80;color:#fff;box-shadow:0 5px 0 #e76f83}.modal-other{background:#f2edf4;color:#76648d}.modal-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #f0e9e5;padding:13px 0;text-align:left}.modal-setting-row:last-of-type{border-bottom:0}.modal-setting-label strong{display:block;font-size:14px}.modal-setting-label small{font-size:11px;color:#a3959d}.modal-toggle-pair{display:flex;gap:4px;background:#f6f0f4;padding:3px;border-radius:12px}.modal-toggle-pair button{border:0;background:transparent;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:900}.modal-toggle-pair button.selected{background:#fff;color:#7755c3;box-shadow:0 2px 7px #483a5c20}.modal-score-box{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.modal-score-box div{background:#fff4ea;border-radius:15px;padding:12px}.modal-score-box small{font-size:11px;color:#947d80;font-weight:800}.modal-score-box strong{font-size:clamp(17px,2.5vw,25px);display:block;margin-top:4px}.medals{font-size:35px;letter-spacing:5px;margin:12px}.record-list{max-height:48vh;overflow:auto;text-align:left;padding:0 3px}.record-item{padding:10px 6px;border-bottom:1px solid #f2e6e5;display:flex;gap:9px;align-items:center;justify-content:space-between}.record-item small{display:block;color:#a09095;font-size:10px}.record-item strong{font-size:13px}.record-item b{font-size:13px;color:#8463c4}.empty-record{padding:24px 0;color:#a395a2;text-align:center}
.rotate-notice{display:none;position:absolute;z-index:100;inset:0;background:linear-gradient(145deg,#fff2ce,#ffe8ee);align-items:center;justify-content:center;padding:20px}.rotate-card{text-align:center;background:#fff;border-radius:26px;padding:35px 25px;max-width:380px;box-shadow:var(--shadow)}.rotate-icon{font-size:60px}.rotate-card h2{font-size:24px}.rotate-card p{color:#967c8f;font-size:14px}
@keyframes scrubbing{to{transform:translateX(5px) rotate(2deg)}}@keyframes mom-alert{0%{transform:translateX(-50%) rotate(-8deg)}100%{transform:translateX(-50%) rotate(0)}}@keyframes bubbles{to{transform:translateY(-18px);opacity:0}}@keyframes munch{to{transform:translateY(-5px) scale(1.025) rotate(-1.5deg)}}@keyframes finished-pop{50%{transform:translateY(-12px) rotate(5deg)}}@keyframes twinkle{50%{opacity:.2;transform:scale(1.5)}}@keyframes alert-pulse{to{box-shadow:0 0 0 6px #ff838b66}}@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
@media (orientation:portrait) and (max-width:800px){.rotate-notice{display:flex}}
@media (max-height:530px){.home{padding-top:9px}.home-main{height:calc(100% - 52px)}.hero-copy h1{font-size:clamp(37px,5.5vw,78px);margin:9px 0}.hero-copy p{font-size:clamp(11px,1.25vw,16px);margin-bottom:14px}.eyebrow{padding:6px 10px}.home-cta .big,.secondary-button{padding:11px 13px!important}.mini-features{margin-top:18px}.hero-visual{height:87%}.note-top{top:4%}.setup{padding-top:7px}.setup-header{margin-bottom:7px}.setup-headline h2{font-size:clamp(17px,2.1vw,25px)}.setup-body{height:calc(100% - 53px)}.panel{padding:10px 13px;border-radius:19px}.panel h3{margin-bottom:7px;font-size:13px}.food-option{min-height:clamp(72px,14vh,95px);border-radius:12px}.food-option .food-icon{font-size:clamp(26px,3.3vw,38px)}.food-option strong{font-size:11px}.food-option small{font-size:9px}.food-grid{gap:6px}.selected-plates{gap:5px}.plate-card{padding:5px 3px}.plate-card .plate-face{font-size:16px}.plate-card .plate-food{font-size:20px}.plate-card strong,.plate-card small{font-size:9px}.difficulty-card{padding:4px 7px;gap:7px}.difficulty-card .diff-icon{font-size:17px}.difficulty-card strong{font-size:11px}.difficulty-card small{font-size:9px}.difficulty-help{font-size:9px}.launch{padding:10px}.game-hud{height:51px;padding:4px 12px}.mode-badge{padding:7px}.hud-center{padding:6px 9px;border-radius:12px}.hud-timer{padding:7px 8px}.hud-pause{height:35px;width:35px}.mom-area{top:14%;height:49%}.kids-row{top:41%;height:47%}.play-controls{height:27px}}
@media (max-width:850px){.home{padding-left:17px;padding-right:17px}.hero-copy h1{font-size:clamp(37px,6vw,66px)}.hero-copy p{font-size:12px}.mini-features span{font-size:9px;padding:6px}.setup{padding-left:10px;padding-right:10px}.setup-body{grid-template-columns:minmax(0,1.1fr) minmax(245px,.9fr);gap:8px}.food-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.food-option .food-icon{font-size:30px}.panel-title-line{gap:4px}.segmented button{font-size:9px;padding:6px}.setup-side{gap:7px}.game-hud{grid-template-columns:.9fr 1.25fr .9fr;gap:4px}.hud-left,.hud-right{gap:4px}.hud-food-name{display:none}.hud-timer{font-size:11px}.hearts{font-size:11px}.play-controls{font-size:10px}.kids-row{left:4%;right:4%}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Small landscape displays: keep all difficulty buttons, start button and food gauges reachable. */
@media (max-height:530px){
  .plate-panel{padding:7px 10px}
  .plate-panel h3{font-size:11px;margin-bottom:5px}
  .plate-card{padding:3px 2px}
  .plate-card .plate-face,.plate-card small{display:none}
  .plate-card .plate-food{font-size:18px}
  .difficulty-panel{padding:7px 11px}
  .difficulty-panel h3{font-size:11px;margin-bottom:4px}
  .difficulty-options{gap:4px}
  .difficulty-card{min-height:34px;padding:3px 8px}
  .difficulty-help{margin-top:3px}
  .launch{padding:9px}
  .kids-row{top:34%;height:47%}
}
@media (max-height:530px){
  .kids-row{top:28%;height:47%}
  .difficulty-help{display:none}
}

/* v0.3.1 · whole-body 3D turn, not a spinning head */
.mom-area{perspective:760px;perspective-origin:50% 75%}
.mom-svg{transform-origin:50% 87%;transform-style:preserve-3d;transition:transform .48s cubic-bezier(.33,.11,.22,1.12),filter .18s}
.mom-area.looking .mom-svg{transform:rotateY(180deg)}
.mom-front{opacity:0;transform:scaleX(-1);transform-box:fill-box;transform-origin:50% 50%;transition:opacity 0s linear .24s}
.mom-back{opacity:1;transition:opacity 0s linear .24s}
.mom-area.looking .mom-front{opacity:1}
.mom-area.looking .mom-back{opacity:0}
.mom-area.looking{animation:none}
.mom-area.angry .mom-svg{animation:mom-cross-arms .22s ease-in-out 2}
@keyframes mom-cross-arms{0%,100%{translate:0 0}50%{translate:4px 0}}
/* Multiple active sprite parts: mouth, ears, head, paws, blinking and reaction pose */
.kid-svg .human-mouth-open,.jjindung-svg .jj-eat-mouth{opacity:0;transform-box:fill-box;transform-origin:center;transform:scaleY(.5)}
.kid-svg .human-blink,.jjindung-svg .jj-blink-eye{opacity:0;animation:blink-expressions 5.2s ease-in-out infinite}
@keyframes blink-expressions{0%,87%,90%,100%{opacity:0}88%,89%{opacity:1}}
.jjindung-svg .jj-head{transform-origin:90px 126px;animation:plush-breath 2.6s ease-in-out infinite}
@keyframes plush-breath{50%{transform:translateY(2px) scale(1.012)}}
.kid-slot.munching .kid-svg{animation:eat-body-bob .3s ease-in-out infinite alternate}
@keyframes eat-body-bob{0%{transform:translateY(1px) rotate(-1.3deg)}100%{transform:translateY(-8px) rotate(2.1deg)}}
.kid-slot.munching .human-mouth-open,.kid-slot.munching .jj-eat-mouth{opacity:1;animation:open-mouth .22s ease-in-out infinite alternate}
.kid-slot.munching .human-smile,.kid-slot.munching .jj-mouth{opacity:0}
@keyframes open-mouth{0%{transform:scaleY(.5)}100%{transform:scaleY(1.1)}}
.human-arm{transform-box:fill-box;transform-origin:center 65%;transition:transform .1s}
.kid-slot.munching .human-arm-left{animation:arm-bite .35s ease-in-out infinite alternate}
.kid-slot.munching .human-arm-right{animation:arm-bite .3s ease-in-out infinite alternate-reverse}
@keyframes arm-bite{0%{transform:translateY(4px) rotate(-9deg)}100%{transform:translateY(-9px) rotate(9deg)}}
.jjindung-svg .jj-ear,.jjindung-svg .jj-paw{transform-box:fill-box;transform-origin:50% 20%}
.kid-slot.munching .jj-ear-left{animation:ear-flop .38s ease-in-out infinite alternate}
.kid-slot.munching .jj-ear-right{animation:ear-flop .33s ease-in-out infinite alternate-reverse}
@keyframes ear-flop{to{transform:rotate(12deg) translateY(3px)}}
.kid-slot.munching .jj-paw-left{animation:paw-eat .22s ease-in-out infinite alternate}
.kid-slot.munching .jj-paw-right{animation:paw-eat .22s ease-in-out infinite alternate-reverse}
@keyframes paw-eat{to{transform:translateY(-16px) rotate(9deg)}}
.kid-slot.munching::after{content:'✦ ㆍ ✧';position:absolute;z-index:7;top:43%;right:20%;color:#fff6a1;text-shadow:0 2px 4px #b58a47;animation:crumb-float .68s linear infinite;pointer-events:none;font-weight:900}
@keyframes crumb-float{0%{opacity:0;transform:translateY(9px) rotate(-20deg)}30%{opacity:1}100%{opacity:0;transform:translateY(-20px) rotate(20deg)}}
.kid-slot.scared .kid-svg{animation:jump-scare .32s ease-out 2!important}
.kid-slot.scared .human-mouth-open,.kid-slot.scared .jj-eat-mouth{opacity:1;transform:scaleY(1.25)}
.kid-slot.scared .human-smile,.kid-slot.scared .jj-mouth{opacity:0}
@keyframes jump-scare{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-19px) rotate(9deg)}60%{transform:translateY(-4px) rotate(-7deg)}}
@media (prefers-reduced-motion:reduce){.mom-svg,.human-arm{transition-duration:.01ms!important}}


/* ===================================================================
 v0.4.0 ART EDITION • sprites, 3 independent whole-body mother poses,
 detailed background, touch-friendly HUD, richer character animation.
 =================================================================== */
.world{background:#ffeadc url('art/kitchen-scene.webp') center center/100% 100% no-repeat}
.world .kitchen-wall,.world .wall-stripe,.world .kitchen-tiles,.world .window-frame,
.world .kitchen-art,.world .cabinet,.world .kitchen-counter,.world .sink-basin,
.world .tap-fixture,.world .plate-stack,.world .dish-bubbles,.world .counter-edge,
.world .dining-table,.world .table-front{display:none!important}
.mom-area{left:50%;top:12.5%;height:53%;width:min(26vw,330px);transform:translateX(-50%);z-index:2;perspective:none;pointer-events:none}
.mom-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;opacity:0;transform:translateX(-3%) scale(.97);filter:drop-shadow(0 6px 5px #7b50743a);transition:opacity .20s ease-in-out,transform .28s ease-in-out;will-change:opacity,transform;user-select:none}
.mom-area.pose-back .mom-frame-back{opacity:1;transform:translateX(0) scale(1);animation:mom-dishes .68s ease-in-out infinite alternate}
.mom-area.pose-side .mom-frame-side{opacity:1;transform:translateX(0) scale(1.01)}
.mom-area.pose-front .mom-frame-front{opacity:1;transform:translateX(0) scale(1.02)}
.mom-area.angry .mom-frame-front{animation:mom-angry .15s linear 3}
@keyframes mom-dishes{from{translate:0 0;rotate:-.9deg}to{translate:1px -3px;rotate:.9deg}}
@keyframes mom-angry{0%,100%{translate:0 0}50%{translate:7px 0}}
.mom-bubble{z-index:4;top:8%;left:67%;min-width:95px;font-weight:1000;border:3px solid #fff5f9;box-shadow:0 7px 17px #92658a33}
.kids-row{top:39%;left:5%;right:5%;height:49%;gap:clamp(4px,1vw,20px);z-index:4}
.kid-slot{justify-content:end;overflow:visible}
.kid-slot .kid-art{display:block;flex:1 1 auto;position:relative;width:min(86%,285px);height:73%;min-height:0;z-index:3;transform-origin:50% 88%;filter:drop-shadow(0 9px 7px #80666e50);transition:transform .18s ease-out}
.kid-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;opacity:0;transition:opacity .11s linear;pointer-events:none;user-select:none; -webkit-user-drag:none}
.kid-art>img.pose-idle{opacity:1}
.kid-slot.munching .kid-art>img.pose-eat{opacity:1}
.kid-slot.munching .kid-art>img.pose-idle{opacity:0}
.kid-slot.scared .kid-art>img.pose-shock{opacity:1}
.kid-slot.scared .kid-art>img.pose-idle,.kid-slot.scared .kid-art>img.pose-eat{opacity:0}
.kid-slot.munching .kid-art{animation:mukbang-shake .19s ease-in-out infinite alternate}
.kid-slot.scared .kid-art{animation:mukbang-shock .4s cubic-bezier(.2,.9,.35,1.2) 2}
.kid-slot.finished .kid-art{animation:mukbang-happy 1.05s ease-in-out infinite}
.kid-art .kid-crumb{position:absolute;pointer-events:none;opacity:0;z-index:8;color:#ffd052;font-size:clamp(16px,2vw,32px);font-weight:1000;text-shadow:0 2px 1px white}
.kid-art .crumb1{top:21%;left:9%}.kid-art .crumb2{top:17%;right:7%}
.kid-slot.munching .kid-crumb{opacity:1;animation:mukbang-crumb .43s ease-out infinite alternate}
.kid-slot.munching .crumb2{animation-delay:-.2s}
@keyframes mukbang-shake{from{transform:translateY(3px) rotate(-1.5deg) scale(.985,1.01)}to{transform:translateY(-4px) rotate(1.5deg) scale(1.03,.98)}}
@keyframes mukbang-shock{0%{transform:translateY(0) scale(1)}28%{transform:translateY(-27px) scale(1.08)}52%{transform:translateY(-5px) rotate(-6deg)}80%{transform:translateY(0) rotate(3deg)}100%{transform:translateY(0)}}
@keyframes mukbang-happy{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(3deg)}}
@keyframes mukbang-crumb{from{translate:0 8px;scale:.8;opacity:.3}to{translate:-4px -17px;scale:1.15;opacity:1}}
.kid-slot .kid-plate{margin-top:-3.7%;width:clamp(63px,10.6vw,150px);height:23%;background:radial-gradient(ellipse at 48% 35%,#fff 45%,#ebf2f7 47%,#fff 57%,#b4bbcb 70%);border:2px solid #fff;filter:drop-shadow(0 9px 3px #9e5e5833);z-index:5}
.kid-plate .dish-icon{font-size:clamp(33px,5.3vw,86px);filter:drop-shadow(0 5px 1px #755a4a2b)}
.kid-progress-wrap{z-index:7;background:#fff9f4f0;border:2px solid #ffdfe2;box-shadow:0 4px 13px #91505c34;width:min(72%,195px)}
.kid-progress-fill{background:linear-gradient(90deg,#ffba42,#ff538e)}
.kid-slot .kid-name{z-index:9;top:-3%;border:3px solid #fff;border-radius:16px;background:#a7577de8;color:#fff;box-shadow:0 4px 10px #8753622d;text-shadow:0 1px 2px #5f3351;letter-spacing:.015em}
.hero-kitchen{background:#fee7d8 url('art/kitchen-scene.webp') center center/cover no-repeat;box-shadow:0 17px 4px #bd8a8461,0 30px 30px #785d6330}
.hero-kitchen .hero-tiles,.hero-kitchen .hero-shelf,.hero-kitchen .hero-faucet,.hero-kitchen .hero-sink{display:none}
.hero-mom{left:38%;bottom:12%;height:83%;width:27%;background:url('art/mom-back.webp') center bottom/contain no-repeat;animation:hero-mom-bob .6s infinite alternate ease-in-out}
.hero-mom>*{display:none}
.hero-table-scene{inset:43% 0 9%;overflow:visible}
.hero-kids{bottom:13%;left:5%;right:5%;height:83%;align-items:flex-end;gap:2%}
.hero-kids .kid-art{display:block;width:32%;height:100%;position:relative;filter:drop-shadow(0 9px 9px #6d5a6859);animation:hero-chew 2s ease-in-out infinite alternate;transform-origin:50% 80%}
.hero-kids .kid-art:nth-child(2){animation-delay:-.8s}.hero-kids .kid-art:nth-child(3){animation-delay:-1.6s}
.hero-kids .kid-art>img{object-fit:contain;object-position:center bottom}
.hero-kids .kid-art .pose-eat{opacity:1;animation:hero-face-eat 2.2s steps(1,end) infinite}
.hero-kids .kid-art .pose-idle{opacity:1;animation:hero-face-idle 2.2s steps(1,end) infinite}
@keyframes hero-face-eat{0%,35%,100%{opacity:0}36%,78%{opacity:1}}
@keyframes hero-face-idle{0%,35%,100%{opacity:1}36%,78%{opacity:0}}
@keyframes hero-chew{from{transform:translateY(0)}to{transform:translateY(-5px)}}
.hero-foods{bottom:2%;font-size:clamp(29px,4.1vw,69px);filter:drop-shadow(0 7px 3px #633b4b50)}
.hero-note{z-index:5}
.hero-table-front{background:linear-gradient(180deg,#fff3f5,#ffbfd0);border:7px solid #ffe5db;box-shadow:0 9px 0 #ad7885}
.game-hud{background:linear-gradient(110deg,#fff9edee,#fff3f9ee);box-shadow:0 5px 18px #955e772a}
.game-hud .mode-badge{background:#fef0ba}.game-hud .hud-center{box-shadow:0 3px 0 #e4d1c2}
.play-controls{background:#fffcf9f0;border:2px solid #fff5ec;box-shadow:0 -4px 13px #a5576830;color:#855d7d}
/* 16:9 compact tablets and low-height phones */
@media(max-height:530px){.mom-area{top:9%;height:53%}.kids-row{top:30%;height:58%}.kid-slot .kid-art{width:min(80%,230px)}.kid-slot .kid-plate{height:18%;margin-top:-5%}.kid-slot .kid-name{top:-2%}.kid-progress-wrap{padding:3px 6px}.hero-kids .kid-art{width:33%}.hero-mom{height:75%}}
@media(max-width:850px){.mom-area{top:9%;height:51%;width:23vw}.kids-row{left:2%;right:2%;top:33%;height:54%}.kid-slot .kid-art{width:92%}.kid-slot .kid-name{font-size:clamp(9px,1.25vw,12px)}.kid-slot .kid-plate{width:clamp(45px,10.4vw,100px)}.hero-kids .kid-art{width:33%}}
@media(prefers-reduced-motion:reduce){.kid-slot .kid-art,.hero-kids .kid-art,.mom-area.pose-back .mom-frame-back{animation-duration:1.8s}}

/* v0.4.1 • Realistic whole-body turns + coherent 2.5D mother sprites.
   The back pose has BOTH arms reaching away from viewer into the sink.
   The mother's head/torso/hips are never mirrored or turned separately. */
.mom-area{transform:translateX(-50%);isolation:isolate}
.mom-frame{object-fit:contain;object-position:center bottom;opacity:0;transform:none!important;transition:opacity .095s ease-in-out;filter:drop-shadow(0 8px 7px #73464244)}
.mom-area.pose-back .mom-frame-back{opacity:1;animation:mom-wash-correct .9s ease-in-out infinite alternate}
.mom-area.pose-quarter .mom-frame-quarter{opacity:1}
.mom-area.pose-side .mom-frame-side{opacity:1}
.mom-area.pose-front .mom-frame-front{opacity:1}
.mom-area.pose-back .mom-frame-quarter,.mom-area.pose-back .mom-frame-side,.mom-area.pose-back .mom-frame-front,
.mom-area.pose-quarter .mom-frame-back,.mom-area.pose-quarter .mom-frame-side,.mom-area.pose-quarter .mom-frame-front,
.mom-area.pose-side .mom-frame-back,.mom-area.pose-side .mom-frame-quarter,.mom-area.pose-side .mom-frame-front,
.mom-area.pose-front .mom-frame-back,.mom-area.pose-front .mom-frame-quarter,.mom-area.pose-front .mom-frame-side{opacity:0}
@keyframes mom-wash-correct{from{translate:0 1px;rotate:-.5deg}to{translate:0 -2px;rotate:.5deg}}
.mom-area.angry .mom-frame-front{animation:mom-angry .15s linear 3}
@media(prefers-reduced-motion:reduce){.mom-area.pose-back .mom-frame-back{animation-duration:2s}}

/* v0.5.0 MUKBANG EDITION · Ten illustrated foods and character-specific chewing animation */
.food-option .food-icon{height:clamp(40px,7.4vh,76px);width:100%;display:flex;align-items:center;justify-content:center;font-size:initial;overflow:visible}
.food-choice-img{display:block;height:100%;width:min(100%,110px);object-fit:contain;filter:drop-shadow(0 5px 4px #88666638);transition:transform .14s ease}
.food-option:active .food-choice-img{transform:scale(.9)}
.plate-food{display:flex;align-items:center;justify-content:center;min-height:30px}
.food-selection-img{height:clamp(31px,5.3vh,65px);width:min(100%,77px);object-fit:contain;filter:drop-shadow(0 3px 3px #9a7b6840)}
.kid-slot{isolation:isolate}
.kid-plate{overflow:visible!important}
.kid-plate .dish-icon{position:relative;display:flex;align-items:center;justify-content:center;width:116%;height:135%;z-index:4;line-height:1;transform:scale(var(--food-scale,1)) rotate(var(--food-tilt,0deg));opacity:var(--food-alpha,1);transition:transform .17s cubic-bezier(.15,.6,.3,1),opacity .15s linear;will-change:transform;filter:drop-shadow(0 5px 4px #754f373f)!important}
.dish-food-image{display:block;max-width:100%;height:100%;width:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.kid-slot.finished .dish-icon{opacity:0}
.kid-plate .food-steam{opacity:0;position:absolute;bottom:75%;left:50%;transform:translateX(-50%);font-size:clamp(15px,1.8vw,28px);white-space:nowrap;color:#fff9ee;text-shadow:0 1px 3px #b9acb4;z-index:5;pointer-events:none}
.kid-plate:is([data-fx="steam"],[data-fx="slurp"]) .food-steam{opacity:.8;animation:muk-steam 1.7s ease-out infinite}
.kid-slot.finished .food-steam{opacity:0!important}
.kid-plate .food-bits{position:absolute;z-index:5;pointer-events:none;inset:-16% 0 auto 0;font-size:clamp(14px,1.8vw,24px);color:#f7bd42;text-shadow:0 2px #fff;opacity:0}
.kid-slot.munching .food-bits{animation:food-crumb-burst .39s ease-out infinite alternate}
.kid-slot .bite-fly{position:absolute;z-index:7;left:50%;top:65%;font-size:clamp(17px,2.5vw,37px);opacity:0;filter:drop-shadow(0 2px 1px #fff7d9);pointer-events:none;transform-origin:center center}
.kid-slot.munching .bite-fly{animation:food-fly .55s cubic-bezier(.36,.13,.25,.92) infinite}
.kid-slot[data-food="gukbap"] .bite-fly,.kid-slot[data-food="ramen"] .bite-fly{animation-duration:.72s}
.kid-slot[data-food="pizza"] .bite-fly{animation-duration:.7s}
.kid-slot .bite-caption{position:absolute;z-index:7;right:2%;top:36%;font-size:clamp(9px,1.15vw,15px);font-weight:1000;color:#ff7e50;background:#fff9eccc;border-radius:16px;border:2px solid #ffdfbb;padding:3px 6px;box-shadow:0 3px 6px #ad80662c;opacity:0;pointer-events:none;white-space:nowrap}
.kid-slot.munching .bite-caption{animation:bite-words 1.4s ease-out infinite}
.kid-slot[data-food="ramen"] .bite-caption,.kid-slot[data-food="gukbap"] .bite-caption{color:#ef7045}
.kid-slot .chew-cheek{position:absolute;top:42%;width:12%;height:8%;background:#ff9babc7;border-radius:50%;opacity:0;pointer-events:none;filter:blur(3px);z-index:6}
.kid-slot .chew-cheek.left{left:28%}.kid-slot .chew-cheek.right{right:27%}
.kid-slot.munching .chew-cheek{opacity:.85;animation:cheek-puff .29s ease-in-out infinite alternate}
.kid-slot.munching .chew-cheek.right{animation-delay:-.14s}
.kid-slot .gulp-spark{position:absolute;left:55%;top:30%;opacity:0;color:#ff6589;text-shadow:0 2px white;font-size:23px;z-index:7}
.kid-slot.just-finished .gulp-spark{animation:gulp-heart .82s ease-out 1}
.kid-slot.just-finished .kid-art{animation:muk-pop-finish .8s cubic-bezier(.2,.8,.2,1) 1}
.kid-slot.mouth-full:not(.munching) .kid-art{transform:scaleX(1.018) scaleY(.99)}
.kid-slot.chewing.munching .kid-art{animation:chew-two-stage .25s ease-in-out infinite alternate}
.kid-slot[data-person="jjindung"].munching .kid-art{animation:dog-eating-bounce .28s ease-in-out infinite alternate}
.kid-slot[data-person="hani"].munching .kid-art{animation:chew-two-stage .29s ease-in-out infinite alternate-reverse}
.kid-slot[data-person="honey"].munching .kid-art{animation:chew-two-stage .22s ease-in-out infinite alternate}
.kid-slot.munching .kid-art .pose-eat{animation:face-chew .27s ease-in-out infinite alternate}
.kid-slot[data-person="jjindung"].munching .kid-art .pose-eat{animation:dog-chew .32s ease-in-out infinite alternate}
.game.mom-alert .kid-slot.munching .kid-name{background:#ffe7a4}
.game.mom-watching .kid-slot.munching .kid-name{background:#ffc4cb}
.kid-slot.finished .kid-plate:after{font-size:clamp(10px,1.2vw,16px);white-space:nowrap;z-index:5}
@keyframes muk-steam{0%{transform:translate(-50%,10px) scale(.85);opacity:0}30%{opacity:.75}100%{transform:translate(-50%,-14px) scale(1.2);opacity:0}}
@keyframes food-crumb-burst{0%{opacity:0;transform:translateY(5px) scale(.65)}70%{opacity:1}100%{opacity:.2;transform:translateY(-12px) scale(1.2) rotate(11deg)}}
@keyframes food-fly{0%{transform:translate(-50%,12px) scale(.5) rotate(-14deg);opacity:0}18%{opacity:1}68%{opacity:1;transform:translate(-50%,-55px) scale(.9) rotate(18deg)}95%,100%{opacity:0;transform:translate(-50%,-76px) scale(.25) rotate(-16deg)}}
@keyframes bite-words{0%,18%{opacity:0;transform:translateY(8px) scale(.85)}32%,67%{opacity:1;transform:translateY(-4px) scale(1)}88%,100%{opacity:0;transform:translateY(-19px) scale(.93)}}
@keyframes cheek-puff{0%{transform:scale(.65)}100%{transform:scale(1.16)}}
@keyframes gulp-heart{0%{opacity:0;transform:translate(-50%,0) scale(.3)}35%{opacity:1}100%{opacity:0;transform:translate(-50%,-36px) scale(1.8)}}
@keyframes muk-pop-finish{0%{transform:scale(.94)}35%{transform:translateY(-13px) scale(1.13)}68%{transform:scale(.96)}100%{transform:scale(1)}}
@keyframes chew-two-stage{0%{transform:translateY(-1px) scaleX(1) scaleY(1)}100%{transform:translateY(3px) scaleX(1.045) scaleY(.966)}}
@keyframes dog-eating-bounce{0%{transform:rotate(-2deg) scale(1)}100%{transform:translateY(6px) rotate(2deg) scaleX(1.06) scaleY(.97)}}
@keyframes face-chew{from{transform:translateY(0px) scaleY(1)}to{transform:translateY(2px) scaleY(.97)}}
@keyframes dog-chew{from{transform:translateY(0px) scaleX(1)}to{transform:translateY(2px) scaleX(1.04)}}
@media(max-height:530px){.food-option .food-icon{height:clamp(25px,6vh,50px)}.kid-slot .bite-caption{font-size:9px;padding:2px 5px}.kid-slot .bite-fly{top:63%}.kid-plate .dish-icon{width:110%;height:125%}}
@media(prefers-reduced-motion:reduce){.kid-slot .bite-fly,.kid-slot.munching .kid-art,.kid-slot .bite-caption,.kid-slot .food-bits,.kid-slot .chew-cheek{animation-duration:.9s}}


/* v0.5.1 · CHARACTER IDENTITY LOCK
   Keep all nine original v0.5.0 character WebPs pixel-identical.
   Animate the original IDLE / EAT / SHOCK frames and a separate food prop.
   Nothing generated here replaces the children's appearance. */
.kid-art .mouth-prop{position:absolute;z-index:9;left:36%;top:47%;width:31%;height:26%;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transform:translate(0,22%) scale(.45) rotate(12deg);transition:transform .16s ease-out,opacity .09s linear;filter:drop-shadow(0 3px 2px #633d3960)}
.kid-art .mouth-prop img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.kid-slot[data-food="ramen"] .mouth-prop{width:42%;left:31%;height:34%}
.kid-slot[data-food="gukbap"] .mouth-prop{width:37%;left:35%;height:32%}
.kid-slot[data-food="bento"] .mouth-prop{width:24%;left:42%}
.kid-slot[data-person="jjindung"] .mouth-prop{width:29%;left:38%;top:50%}
.kid-slot.munching.bite-reach .kid-art>img.pose-eat{opacity:0}
.kid-slot.munching.bite-reach .kid-art>img.pose-idle{opacity:1}
.kid-slot.munching.bite-reach .mouth-prop{opacity:.9;transform:translate(6%,42%) scale(.7) rotate(15deg)}
.kid-slot.munching.bite-lift .mouth-prop{opacity:1;transform:translate(5%,-10%) scale(1.14) rotate(-7deg)}
.kid-slot.munching.bite-mouth .mouth-prop{opacity:1;transform:translate(1%,-47%) scale(.81) rotate(4deg)}
.kid-slot.munching.bite-chew .mouth-prop{opacity:0;transform:translate(1%,-49%) scale(.27) rotate(-5deg)}
.kid-slot.munching.bite-chew .chew-cheek{opacity:.94;animation:cheek-puff .17s ease-in-out infinite alternate}
.kid-slot.munching.bite-chew .kid-art{animation:chew-two-stage .18s ease-in-out infinite alternate}
.kid-slot.scared .mouth-prop,.kid-slot.finished .mouth-prop{opacity:0!important}
/* Preserve shock expressions in priority over any active bite step. */
.kid-slot.scared .kid-art>img.pose-shock{opacity:1!important}
.kid-slot.scared .kid-art>img.pose-idle,.kid-slot.scared .kid-art>img.pose-eat{opacity:0!important}
/* Touch hit areas remain unchanged; art overlays may never catch events. */
.kid-art,.kid-art *{pointer-events:none}
@media(prefers-reduced-motion:reduce){.kid-art .mouth-prop{transition:none}}
/* The plush dog's mouth sits lower than the children's mouth line. */
.kid-slot[data-person="jjindung"] .mouth-prop{top:61%;left:40%;width:25%;height:23%}

/* =============================================================
   v0.7.0  |  IDENTITY-LOCK CALL SCENE + VISIBLE MOTHER AI
   Entire sequence uses ORIGINAL v0.5.1 WebP assets.
   ============================================================= */
.hud-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0}
.hud-center .hud-status-text{display:flex;align-items:center;gap:5px;font-weight:1000;white-space:nowrap;font-size:clamp(10px,1.05vw,16px)}
.suspicion-meter{display:flex;gap:5px;align-items:center;justify-content:center;width:100%;font-size:clamp(8px,.7vw,10px);font-weight:900;color:#936980;line-height:1.1}
.suspicion-meter b{white-space:nowrap}.suspicion-meter span{min-width:30px;text-align:right}
.suspicion-track{height:8px;width:clamp(38px,6vw,96px);overflow:hidden;border-radius:20px;background:#eddfdf;border:1px solid #d8c4c5}
.suspicion-track i{display:block;width:0%;height:100%;background:linear-gradient(90deg,#61c5ac,#ffc561,#ff7e7e);border-radius:20px;transition:width .2s linear}
.suspicion-meter.high{color:#d34254}
.caught-scene{position:absolute;inset:0;z-index:40;display:block;overflow:hidden;background:linear-gradient(155deg,#ffd8e6ef 0%,#fff0d6eb 60%,#f8c9ebf2);isolation:isolate;pointer-events:auto}
.caught-lights{position:absolute;inset:-70%;background:repeating-conic-gradient(from 0deg,#ffacb666 0deg 10deg,#fff6ea33 10deg 20deg);animation:call-rotate 25s linear infinite;opacity:.62;pointer-events:none}
.caught-title{position:absolute;top:clamp(8px,2.2%,22px);left:3%;max-width:55%;font-weight:1000;font-size:clamp(17px,2.7vw,42px);letter-spacing:-.06em;color:#e93763;text-shadow:0 3px 0 white,0 6px 8px #bb5d9152;z-index:5;white-space:nowrap}
.caught-count{position:absolute;top:clamp(44px,9%,75px);left:4.2%;font-size:clamp(10px,1.05vw,17px);font-weight:1000;color:#9a5873;background:#fffdfa;border:2px solid #fff;border-radius:30px;padding:3px 10px;box-shadow:0 3px 9px #b874853a;z-index:5}
.caught-skip{position:absolute;top:clamp(10px,2.5%,20px);right:2%;z-index:9;border:2px solid #fff;border-radius:20px;background:#7f5a9b;color:white;font-weight:950;font-size:clamp(11px,1.2vw,16px);padding:9px 15px;box-shadow:0 5px 12px #74487758;cursor:pointer;touch-action:manipulation}
.caught-speech{position:absolute;z-index:6;top:14.8%;left:50%;transform:translateX(-50%);width:max-content;max-width:69%;text-align:center;font-size:clamp(17px,3vw,43px);font-weight:1000;letter-spacing:-.06em;line-height:1.25;color:#c43362;background:#fffdf0;border:clamp(3px,.45vw,6px) solid #f4779a;box-shadow:0 9px 0 #b9477770,0 15px 35px #a5447345;border-radius:clamp(16px,2.5vw,32px);padding:clamp(7px,1vw,14px) clamp(12px,2vw,32px);word-break:keep-all;white-space:normal;animation:call-bubble-pop .35s cubic-bezier(.2,.9,.3,1.2) both}
.caught-speech:after{content:'';position:absolute;left:52%;bottom:-18px;border-style:solid;border-width:19px 14px 0 14px;border-color:#f4779a transparent transparent transparent}
.caught-stage{position:absolute;left:3%;right:3%;top:29%;bottom:9%;overflow:visible;pointer-events:none}
.caught-mom{position:absolute;z-index:2;height:103%;width:29%;left:35.5%;bottom:0;animation:call-mom-pop .65s cubic-bezier(.25,1.5,.4,1) both;transform-origin:50% 95%;filter:drop-shadow(0 9px 7px #713b5d46)}
.caught-mom>img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.caught-anger{position:absolute;left:67%;top:0%;font-size:clamp(18px,3.4vw,52px);animation:call-anger .36s ease-in-out infinite alternate}
.caught-kids{position:absolute;z-index:3;bottom:0;left:2%;right:2%;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:1%;height:59%;pointer-events:none}
.caught-kid{position:relative;height:100%;display:flex;align-items:center;justify-content:end;flex-direction:column;transform:translateY(75%) scale(.76);opacity:.4;filter:drop-shadow(0 6px 6px #6d3c5945);transition:transform .62s cubic-bezier(.24,1.3,.39,1),opacity .2s;transform-origin:bottom}
.caught-kid img{position:absolute;bottom:13%;width:100%;height:87%;object-fit:contain;object-position:center bottom;user-select:none;pointer-events:none}
.caught-kid .caught-shock{opacity:0}.caught-kid b{position:absolute;z-index:4;bottom:-3%;border-radius:20px;background:#fff9f0;border:2px solid #ffb7bf;padding:2px 10px;color:#a34f79;font-size:clamp(10px,1.3vw,18px);white-space:nowrap}
.caught-kid .caught-dust{position:absolute;bottom:5%;right:14%;font-size:clamp(16px,2vw,28px);opacity:0}
.caught-scene[data-step="approach"] .caught-kid,.caught-scene[data-step="excuse"] .caught-kid,.caught-scene[data-step="end"] .caught-kid{transform:translateY(-4%) scale(1);opacity:1}
.caught-scene[data-step="approach"] .caught-kid{animation:call-tip-toe .36s ease-in-out infinite alternate}
.caught-scene[data-step="approach"] .caught-hani{animation-delay:.13s}
.caught-scene[data-step="approach"] .caught-jjindung{animation-delay:.2s}
.caught-scene[data-step="approach"] .caught-dust{opacity:1;animation:call-dust .4s ease-in-out infinite alternate}
.caught-scene[data-step="excuse"] .caught-kid .caught-shock,.caught-scene[data-step="end"] .caught-kid .caught-shock{opacity:1}
.caught-scene[data-step="excuse"] .caught-kid .caught-idle,.caught-scene[data-step="end"] .caught-kid .caught-idle{opacity:0}
.caught-scene[data-step="excuse"] .caught-honey{transform:translateY(-6%) rotate(-7deg) scale(1.05)}
.caught-scene[data-step="excuse"] .caught-hani{transform:translateY(-5%) rotate(6deg) scale(1.02)}
.caught-scene[data-step="excuse"] .caught-jjindung{transform:translateY(8%) rotate(64deg) scale(.92)}
.caught-scene[data-step="end"] .caught-kid{animation:call-embarrassed .52s ease-in-out infinite alternate}
.caught-caption{position:absolute;z-index:7;bottom:2.5%;left:50%;width:max-content;max-width:85%;transform:translateX(-50%);font-size:clamp(11px,1.5vw,21px);font-weight:1000;line-height:1.25;text-align:center;color:#774767;background:#fff9edeb;border:2px solid white;border-radius:40px;padding:7px 18px;box-shadow:0 4px 15px #84436e40;word-break:keep-all}
.caught-scene.call-final .caught-speech{border-color:#f14672;color:#d42452}
.caught-scene.call-final .caught-lights{background:repeating-conic-gradient(from 0deg,#fb8b9e7d 0deg 12deg,#ffdc8c4d 12deg 24deg)}
@keyframes call-rotate{to{transform:rotate(360deg)}}
@keyframes call-bubble-pop{from{opacity:0;transform:translateX(-50%) scale(.7)}to{opacity:1;transform:translateX(-50%) scale(1)}}
@keyframes call-mom-pop{0%{transform:translateY(28%) scale(.68);opacity:.2}70%{transform:translateY(-4%) scale(1.06);opacity:1}100%{transform:translateY(0) scale(1);opacity:1}}
@keyframes call-anger{to{transform:rotate(15deg) scale(1.13)}}
@keyframes call-tip-toe{to{translate:0 -6%;rotate:3deg}}
@keyframes call-dust{to{transform:translateX(20px) scale(.6);opacity:.1}}
@keyframes call-embarrassed{to{translate:0 -4px}}
@media(max-height:530px){.caught-title{top:5px}.caught-count{top:12%;}.caught-speech{top:14%;padding:4px 16px;border-width:3px}.caught-speech:after{bottom:-12px;border-width:12px 9px 0}.caught-stage{top:35%;bottom:8%}.caught-mom{height:116%}.caught-kids{height:73%}.caught-kid img{height:88%}.caught-caption{bottom:1%;padding:4px 12px}.caught-skip{padding:5px 10px}}
@media(max-width:850px){.caught-mom{width:32%;left:34%}.caught-kids{height:68%}.caught-speech{max-width:69%;font-size:clamp(15px,2.55vw,26px)}.suspicion-meter b{font-size:8px}.suspicion-track{width:36px}.suspicion-meter span{min-width:22px}.hud-status-text{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.caught-lights,.caught-kid,.caught-mom,.caught-anger{animation:none!important;transition-duration:.01ms!important}}
/* Called out by Mom: start startled (not smiling), while preserving identity-locked art. */
.caught-scene .caught-kid .caught-shock{opacity:1}
.caught-scene .caught-kid .caught-idle{opacity:0}

/* ===========================================================
   v0.8.0 SOUND & CINEMA  —  v0.9.0 MOBILE & PERF
   Existing identity-locked WebP art is NEVER changed.
   =========================================================== */
.home-top-actions{display:flex;align-items:center;gap:10px}
.sound-preview{font-weight:950;font-size:clamp(11px,1.05vw,14px);border:2px solid #f6d9e6;background:#fff9fb;border-radius:14px;padding:10px 15px;color:#a85b96;box-shadow:0 4px 0 #f4dbe6;white-space:nowrap}
.sound-preview:active{transform:translateY(2px);box-shadow:0 2px 0 #f4dbe6}
.volume-row{gap:10px}.volume-row input[type=range]{flex:1;min-width:35px;accent-color:#e66f9a;height:25px;touch-action:pan-x}
.volume-row span{flex:0 0 39px;text-align:right;font-size:11px;color:#805080;font-weight:900}
.modal-setting-row select{padding:9px 11px;border:1px solid #f0d9e4;border-radius:10px;background:#fff7fc;font:inherit;font-size:12px;max-width:118px}
.modal-panel{overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.comic-burst{position:absolute;z-index:9;pointer-events:none;top:16%;left:50%;width:max-content;max-width:70vw;text-align:center;transform:translate(-50%,-10%) scale(.65) rotate(-5deg);opacity:0;font-size:clamp(21px,3.7vw,54px);font-weight:1000;letter-spacing:-.05em;color:#d43b6e;text-shadow:-3px -3px #fff,3px -3px #fff,-3px 3px #fff,3px 3px #fff,0 8px 0 #c2699163;filter:drop-shadow(0 6px 9px #b34e7773);white-space:nowrap}
.comic-burst.show{animation:comic-bang .85s cubic-bezier(.16,.94,.26,1) both}
.comic-burst[data-kind="safe"]{color:#39b99a}.comic-burst[data-kind="caught"]{color:#e62d4a}.comic-burst[data-kind="watch"]{color:#fa525f}
@keyframes comic-bang{0%{opacity:0;transform:translate(-50%,-10%) scale(.48) rotate(-9deg)}23%{opacity:1;transform:translate(-50%,-5%) scale(1.14) rotate(5deg)}48%{opacity:1;transform:translate(-50%,0) scale(1) rotate(-1deg)}76%{opacity:1}100%{opacity:0;transform:translate(-50%,-9%) scale(1.05)}}
.game.mom-alert .world{animation:world-anticipate .5s ease-in-out infinite alternate}
.game.mom-watching .world{animation:world-zoom .28s ease-out 1}
.game.mom-watching .world-shade.alarm{animation:danger-strobe .4s ease-out 2}
@keyframes world-anticipate{to{filter:saturate(1.10) brightness(1.015)}}
@keyframes world-zoom{20%{transform:scale(1.017)}100%{transform:scale(1)}}
@keyframes danger-strobe{0%{opacity:.4}40%{opacity:.14}100%{opacity:.23}}
.result-scene{position:absolute;z-index:50;inset:0;overflow:hidden;isolation:isolate;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding:2% 5% 4%;background:radial-gradient(ellipse at 50% 45%,#fff8e5,#ffe3a2 70%,#fcb5cf)}
.result-scene.lost{background:radial-gradient(ellipse at 50% 45%,#fff5ea,#f3cada 65%,#be95b7)}
.result-rays{position:absolute;inset:-80%;pointer-events:none;z-index:-1;opacity:.5;background:repeating-conic-gradient(#fff5b955 0deg 10deg,#ffd1801e 10deg 21deg);animation:ray-spin 27s linear infinite}
.result-scene.lost .result-rays{background:repeating-conic-gradient(#ffc7b957 0deg 10deg,#a5739b3a 10deg 21deg)}
@keyframes ray-spin{to{transform:rotate(360deg)}}
.result-title{position:relative;z-index:5;font-weight:1000;font-size:clamp(28px,5.2vw,71px);letter-spacing:-.065em;text-align:center;color:#df3973;text-shadow:-3px -3px #fff,3px -3px #fff,-3px 3px #fff,3px 3px #fff,0 7px 0 #f59bbc;animation:result-big-title .65s cubic-bezier(.19,1.26,.36,1) both}
.result-scene.lost .result-title{color:#9a3c76}
.result-stars{z-index:6;font-weight:1000;text-align:center;letter-spacing:4px;font-size:clamp(20px,4.2vw,48px);color:#ab4771;text-shadow:0 4px #fff9e0;animation:result-stars .6s .22s cubic-bezier(.15,1.3,.2,1) both}
.result-characters{display:flex;align-items:flex-end;justify-content:center;gap:clamp(9px,3.3vw,80px);width:min(88%,950px);height:50%;position:relative;z-index:4}
.result-characters img{object-fit:contain;object-position:center bottom;max-width:30%;height:100%;filter:drop-shadow(0 12px 8px #754a6c59);animation:result-hop .66s ease-in-out infinite alternate}
.result-characters img:nth-child(2){animation-delay:.2s}.result-characters img:nth-child(3){animation-delay:.4s}
.result-scene.lost .result-characters img{animation:result-shudder .35s ease-in-out infinite alternate}
.result-scene.lost .result-characters img:nth-child(3){animation:result-flop .75s ease-in-out infinite alternate}
.result-hint{z-index:6;background:#fff9eded;border:3px solid white;box-shadow:0 7px 0 #e4a8b3;border-radius:25px;padding:10px 22px;font-size:clamp(12px,1.7vw,23px);font-weight:1000;color:#915572;text-align:center}
.result-particles{position:absolute;inset:0;pointer-events:none;z-index:6;overflow:hidden}
.win-particle{position:absolute;top:-10%;left:var(--x);font-size:clamp(21px,2.9vw,45px);color:#ffd353;text-shadow:1px 2px 0 #fff;animation:confetti-fall var(--d) ease-in var(--delay) infinite;transform:rotate(var(--rot))}
@keyframes confetti-fall{0%{transform:translateY(-12vh) rotate(0);opacity:0}20%{opacity:1}100%{transform:translateY(120vh) rotate(var(--rot));opacity:.25}}
@keyframes result-big-title{from{transform:translateY(-50px) scale(.5);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes result-stars{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes result-hop{from{transform:translateY(7px) rotate(-3deg)}to{transform:translateY(-11px) rotate(4deg)}}
@keyframes result-shudder{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@keyframes result-flop{from{transform:rotate(0)}to{transform:translateY(9%) rotate(14deg)}}
/* Adaptive layout: do not sacrifice game controls for taller artwork. */
@media(max-height:480px){
  .modal-root{padding:5px}.modal-panel{max-height:calc(100dvh - 10px);padding:11px 18px;border-width:4px;border-radius:17px}
  .modal-panel h2{font-size:18px;margin:1px 0}.modal-emoji{font-size:26px}
  .modal-panel p{font-size:11px;margin:6px auto}.modal-setting-row{padding:6px 0}.modal-setting-label strong{font-size:12px}
  .modal-toggle-pair button{padding:6px 11px;font-size:11px}.modal-panel .modal-actions{margin-top:9px}
  .modal-panel .modal-actions>*{padding:9px 7px}
  .result-scene{justify-content:space-between;padding:3% 6% 2%}.result-title{font-size:clamp(22px,4vw,40px)}.result-stars{font-size:clamp(17px,3vw,31px)}.result-characters{height:50%}
  .result-hint{padding:4px 13px}.comic-burst{top:13%;font-size:clamp(18px,3vw,32px)}
}
@media(max-width:850px){
  .home-top-actions{gap:4px}.sound-preview{font-size:10px;padding:6px 8px}
  .modal-panel{max-height:calc(100dvh - 12px)}
  .result-characters{height:48%}
}
@media(prefers-reduced-motion:reduce){
  .comic-burst.show{animation-duration:.55s}.result-rays,.result-characters img,.win-particle{animation:none!important}
}
/* Quality switch: image resolution unchanged; disable the most expensive CSS effects. */
body.low-effects .world,body.low-effects .mom-frame,body.low-effects .kid-art,body.low-effects .result-characters img{filter:none!important}
body.low-effects .kid-crumb,body.low-effects .food-bits,body.low-effects .dish-bubbles,body.low-effects .result-rays{display:none!important}
body.low-effects .kid-slot.munching .kid-art{animation-duration:.33s}
body.low-effects .game.mom-alert .world,body.low-effects .game.mom-watching .world{animation:none!important}
body.low-effects .caught-lights{animation:none!important}

/* v0.9.1 — full-width, more legible suspicion meter */
.game-hud{grid-template-columns:minmax(0,1fr) minmax(0,1.33fr) minmax(0,1fr)}
.game-hud .hud-center{justify-self:stretch;width:100%;padding-left:clamp(8px,1.2vw,18px);padding-right:clamp(8px,1.2vw,18px)}
.suspicion-meter{width:100%;justify-content:stretch;gap:9px}
.suspicion-track{flex:1 1 auto;min-width:0;width:auto;max-width:none;height:12px;box-shadow:inset 0 1px 3px #6742542d}
.suspicion-meter span{min-width:30px}
@media(max-width:850px){
 .game-hud{grid-template-columns:minmax(0,1fr) minmax(0,1.38fr) minmax(0,.9fr);gap:5px;padding-left:8px;padding-right:8px}
 .game-hud .hud-center{padding-left:7px;padding-right:7px;gap:2px}
 .suspicion-meter{gap:5px}
 .suspicion-track{width:auto;min-width:0;height:10px}
 .suspicion-meter b{font-size:8px}
}
@media(max-width:620px){.hud-food-name{display:none}.suspicion-meter b{font-size:7px}.suspicion-meter span{min-width:20px}}
