:root{--paper:#f7f5eb;--white:#fffcf3;--ink:#484f46;--muted:#899080;--green:#739982;--green-dark:#4f7661;--line:#e6e5d9;--peach:#d98d75;--shadow:0 16px 60px #4b584522;font-family:'Trebuchet MS','Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;overscroll-behavior-y:none}button,input,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #537f97;outline-offset:4px}button,input,select{-webkit-user-select:none;user-select:none}input{user-select:text}button{touch-action:manipulation}svg{display:block;flex-shrink:0}button svg{pointer-events:none}button>span{pointer-events:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:800;letter-spacing:-.04em}button{transition:background .15s,transform .15s,box-shadow .15s}button:not(.prop):not(.actor):not(.world-item):not(.secret):active{transform:translateY(2px)}[hidden]{display:none!important}#game{max-width:1920px;margin:auto;min-height:100dvh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:26px;margin:0 3.8%;height:93px;border-bottom:1px solid var(--line);flex-shrink:0}.brand{display:flex;align-items:center;gap:9px;text-align:left;font-weight:900;letter-spacing:-1.9px;font-size:27px;line-height:.9;padding:0}.brand-mascot{width:52px;display:block;transform:rotate(-10deg)}.brand-cove{display:block;font-size:24px;letter-spacing:-1.2px;color:var(--green);margin-top:3px}.brand-dot{font-size:20px;margin-left:4px;color:#dca181}.brand-caption{border-left:1px solid #dedfd1;padding-left:25px;font-size:11px;line-height:1.7;color:#858b7e;letter-spacing:.2px}.brand-caption strong{font-weight:500;color:#686f62}.top-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.icon-button,.round-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px;border-radius:50%;background:#edeedf}.icon-button:hover,.round-button:hover{background:#e0e6d8}.save-status{display:flex;align-items:center;gap:6px;font-size:11px;color:#8d9583;margin-right:7px}.save-status i{width:5px;height:5px;background:#86a68a;border-radius:50%}.collection-count{height:44px;display:flex;align-items:center;gap:8px;padding:0 16px 0 6px;border:1px solid #e3dfcb;border-radius:30px;background:#f1eddc;font-size:12px;color:#969684}.collection-count>span:first-child{width:33px}.collection-count strong{font-size:17px;color:#626d55}.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 3.8% 21px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#959b89;display:flex;align-items:center;gap:7px}.live-dot{width:5px;height:5px;border-radius:50%;background:#a4af8b}h1{font-size:32px;line-height:1.35;margin-top:3px}.location-title p{font-size:11px;color:#939785;margin-top:2px}.room-switch{display:flex;align-items:center;gap:17px;padding-top:15px}.round-button{min-width:34px;min-height:34px;width:34px;height:34px;background:transparent;border:1px solid #e1e2d4}.round-button svg{width:16px;height:16px}#prev-room svg{transform:rotate(180deg)}.room-map-button{font-size:10px;color:#989e8d;display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px}.room-map-button>span:first-child{display:flex;gap:6px}.room-dot{display:block;width:5px;height:5px;border-radius:50%;background:#d7dacb}.room-dot.current{width:17px;border-radius:8px;background:#879e82}.scene-tools{display:flex;align-items:center;gap:13px}.journal-pill{display:flex;align-items:center;gap:8px;font-size:11px;color:#778773;padding:11px 15px;background:#e9eddf;border-radius:30px}.journal-pill span{font-size:10px;color:#959f8e}.time-button{height:45px;min-width:45px;border-radius:50%;color:#a28b59;background:#f0ead5;display:flex;align-items:center;justify-content:center}.scene-viewport{margin:0 2.4%;overflow:auto;border-radius:20px;scrollbar-width:thin;scrollbar-color:#b1c1a7 #e7e8da;box-shadow:0 2px 0 #dad6c230;background:#dae0cb;position:relative;isolation:isolate}.scene{width:100%;min-width:840px;aspect-ratio:1440/690;position:relative;overflow:hidden;user-select:none;touch-action:pan-x pan-y}.scene>div:not(.room-stamp){position:absolute;inset:0;pointer-events:none}#world-art>svg{width:100%;height:100%}.prop,.actor,.world-item,.secret{position:absolute;padding:0;pointer-events:auto;transition:filter .15s;transform-origin:center bottom;background:none;border:0}.prop{z-index:2;filter:drop-shadow(0 3px 0 #56503b0d)}.prop>svg{width:100%;height:100%;overflow:visible}.prop:hover{filter:drop-shadow(0 0 4px #fff5c9)}.prop:focus-visible{outline:3px dashed #5e836c;outline-offset:4px;border-radius:20px}.prop.peeked:after{content:'';position:absolute;bottom:16%;right:15%;width:7px;height:7px;background:#e6d197;border:2px solid #998568;border-radius:50%}.prop-hint{position:absolute;bottom:105%;left:50%;transform:translateX(-50%);font-size:10px;padding:6px 8px;background:#fff9e9;border-radius:8px;white-space:nowrap;box-shadow:0 2px 10px #514d4820;opacity:0;transition:opacity .15s;z-index:20}.prop:hover .prop-hint,.prop:focus-visible .prop-hint{opacity:1}.prop.highlight{animation:hintglow .9s ease-in-out 6}.actor{width:9.1%;height:27.2%;transform:translate(-50%,-100%);z-index:8;touch-action:none;cursor:grab}.actor:hover{filter:drop-shadow(0 0 4px #ffffda)}.actor svg{height:100%;width:100%;overflow:visible}.actor:focus-visible{outline:3px dashed #587c62;border-radius:40px}.actor .name-tag{position:absolute;bottom:-4%;left:50%;transform:translateX(-50%);font-size:9px;padding:3px 10px;background:#fff8e8dd;border-radius:20px;opacity:0;white-space:nowrap}.actor:hover .name-tag,.actor:focus-visible .name-tag{opacity:1}.held-item{position:absolute;right:-4%;top:60%;width:36%;height:35%}.held-item .ingredient-emoji{font-size:30px}.secret{width:5.3%;height:11.2%;transform:translate(-50%,-65%);z-index:12;animation:wiggle 2.8s ease-in-out infinite}.secret:before{content:'✧';position:absolute;right:-5%;top:-5%;color:#fff8d2;font-size:22px;text-shadow:0 1px 2px #927e5d}.secret svg{width:100%;height:100%}.world-item{width:5.2%;height:10%;transform:translate(-50%,-80%);touch-action:none;cursor:grab;z-index:9}.world-item svg{width:100%;height:100%}.world-item .ingredient-emoji{font-size:clamp(20px,3vw,48px)}.night-shade{background:#24345040;mix-blend-mode:multiply;opacity:0;transition:opacity .6s;z-index:15}.night-shade.on{opacity:1}.room-stamp{position:absolute;right:3%;bottom:4%;text-align:center;transform:rotate(-4deg);color:#9b927a;opacity:.62;pointer-events:none;z-index:1}.room-stamp span{font-size:6px;letter-spacing:1.5px;display:block}.room-stamp strong{font-size:11px;font-weight:500}.wall-friend{position:absolute;width:3.9%;height:9%;padding:0;pointer-events:auto;z-index:2}.wall-friend>svg{width:100%;height:100%}.play-hints{margin:14px 3.8% 6px;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#9b9e8b;min-height:19px}.device-hint{display:flex;align-items:center;gap:6px}.device-hint svg{width:14px;height:14px}.play-dock{display:flex;justify-content:center;align-items:center;gap:21px;width:fit-content;max-width:95%;margin:19px auto 14px;background:#fffcf4;border:1px solid #e9e6d8;border-radius:24px;padding:11px 25px;box-shadow:0 5px 15px #555c4505;flex-shrink:0;position:relative;z-index:30}.dock-group{display:flex;gap:24px}.dock-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:600;color:#7b826f;min-width:64px;padding:0 5px}.dock-button>.dock-icon{width:45px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#eef0e4;color:#869b7d;transition:transform .2s}.dock-button:hover .dock-icon{transform:translateY(-3px);background:#e2e9d6}#dock-people .dock-icon{background:#efe3db;color:#ae8979}#dock-bag .dock-icon{background:#ede7d3;color:#aa945f}#dock-kitchen .dock-icon{background:#f2e5dd;color:#b58c72}#dock-shelf .dock-icon{background:#e5e9df;color:#869b80}#dock-decorate .dock-icon{background:#e9e5ed;color:#a492b0}.dock-divider{height:37px;width:1px;background:#e5e5d8}.help-button{position:absolute;left:calc(100% + 25px);border:1px solid #e0e2d4;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#a1aa92}.help-button svg{width:17px;height:17px}.game-footer{display:flex;justify-content:space-between;gap:20px;margin:0 3.8%;padding:3px 0 16px;font-size:9px;color:#a5aa99;margin-top:auto}.game-footer>span:last-child{font-size:7px;letter-spacing:1.6px;display:flex;gap:8px;align-items:center}.little-flower{font-size:18px;color:#abae91}dialog{border:1px solid #e6e1cf;padding:0;border-radius:25px;width:min(1000px,94vw);max-height:88dvh;max-width:calc(100vw - 24px);background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #3e4c4055;overflow:hidden}dialog::backdrop{background:#45534560;backdrop-filter:blur(5px)}.modal-shell{display:flex;flex-direction:column;max-height:88dvh}.modal-header{padding:25px 30px 19px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.modal-header h2{font-size:30px;margin-top:5px}.modal-header .eyebrow{font-size:9px}.close-button{background:#e8e9dd;flex-shrink:0}#modal-content{padding:24px 30px 30px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c1a6 transparent;min-height:0}.intro{font-size:13px;color:#87917e;line-height:1.6;margin-bottom:23px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:13px;background:#e7ebdc;font-size:12px;font-weight:600;color:#71836c}.btn:hover{background:#dce4ce}.btn.primary{background:#779a82;color:#fffef4}.btn.primary:hover{background:#668b73}.btn.secondary{background:#eee2d6;color:#9c826c}.btn.danger{background:#eedcd5;color:#a27569}.btn svg{width:18px;height:18px}.text-btn{font-size:11px;text-decoration:underline;color:#7f9278;padding:10px;min-height:40px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:30px;font-size:10px;background:#e8eadc;color:#859177}.pill svg{width:13px;height:13px}.pill.peach{background:#f0e0d4;color:#b08971}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:14px}.tabs button{border-radius:12px;padding:10px 16px;min-height:42px;color:#989e8d;font-size:12px}.tabs button.active{background:#e0e8d8;color:#687f64;font-weight:700}.search-input,.text-input,select{width:100%;height:44px;background:#fffcf3;border:1px solid #e0e1d1;border-radius:12px;padding:10px 14px;color:var(--ink);font-size:13px}.filter-row{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.filter-row input{flex:1;min-width:160px}.filter-row select{width:180px}.map-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.map-card{text-align:left;border:1px solid #e3e1d1;background:#fffcf2;border-radius:19px;overflow:hidden;padding:8px}.map-card:hover{transform:translateY(-3px);box-shadow:0 7px 0 #dedfcc}.map-card.current{border:2px solid #8ba58a;padding:7px}.map-card>svg{width:100%;border-radius:12px}.map-card h3{font-size:16px;margin:12px 5px 5px;letter-spacing:-.6px}.map-card p{font-size:10px;color:#959b88;margin:0 5px 10px;display:flex;justify-content:space-between}.map-card p strong{color:#889a7b}.map-caption{padding:20px;background:#e9eddc;border-radius:14px;font-size:12px;color:#849175;margin-top:20px;line-height:1.6}.stats-row{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.stat{border-right:1px solid #dedfce;padding-right:22px;font-size:11px;color:#939b88}.stat:last-child{border:0}.stat strong{font-size:24px;display:block;color:#7c9574;margin-bottom:3px;letter-spacing:-1px}.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.person-card{text-align:center;background:#eee9d9;border:1px solid #e1dfcf;border-radius:18px;overflow:hidden;position:relative}.person-card>.person-preview{height:200px;padding:15px 10px 0;background:radial-gradient(ellipse at center,#f9f4e5 10%,#ebe6d6 70%);width:100%;display:grid;place-items:center}.person-card .person-preview svg{height:100%;width:100%}.person-card h3{font-size:17px;margin:10px 0 2px}.person-card p{font-size:10px;color:#969b89;margin-bottom:13px}.person-card .button-row{justify-content:center;padding:0 7px 12px;gap:6px}.person-card .btn{font-size:10px;padding:8px 10px;min-height:38px}.new-person{min-height:280px;border:2px dashed #d5dbc6;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#92a084;font-size:12px}.new-person svg{width:35px;height:35px}.creator{display:grid;grid-template-columns:280px 1fr;gap:28px}.creator-preview{background:#ede7d9;border-radius:20px;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:22px;position:sticky;top:0;align-self:start}.creator-preview>svg{height:290px;width:100%;margin-bottom:16px}.creator-preview .button-row{justify-content:center}.creator-controls{min-width:0}.field{margin-bottom:19px}.field label,.field-label{font-size:11px;color:#8c9481;margin-bottom:10px;display:block;font-weight:600}.swatches{display:flex;gap:9px;flex-wrap:wrap}.swatch{width:37px;height:37px;border:3px solid transparent;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #77777711}.swatch.selected{outline:2px solid #708a75;outline-offset:3px}.option-list{display:flex;flex-wrap:wrap;gap:7px}.option-list button{min-height:39px;padding:9px 12px;border:1px solid #e0e1d1;border-radius:10px;font-size:11px;color:#8e9682;background:#faf7ec}.option-list button.selected{background:#e0e8d6;border-color:#a7b59a;color:#708367}.creator-actions{display:flex;justify-content:space-between;gap:10px;margin-top:25px}.kitchen-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:24px;align-items:start}.mix-board{background:#ede6d4;border-radius:20px;padding:25px;text-align:center;position:sticky;top:0;border:1px solid #e1d9c6}.mix-board h3{font-size:22px;margin-bottom:4px}.mix-board>p{font-size:11px;color:#a0947b;line-height:1.6}.mix-slots{display:flex;align-items:center;justify-content:center;gap:13px;margin:20px 0}.mix-slot{width:112px;height:118px;border:2px dashed #cbbc9d;border-radius:16px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;background:#f7f0df;color:#b0a084;font-size:10px}.mix-slot svg{width:64px;height:64px}.mix-slot .ingredient-emoji{font-size:43px}.mix-slot.filled{border-style:solid;border-color:#b5b89a}.mix-plus{font-size:22px;font-weight:300;color:#ab9c80}.cook-preview{width:130px;height:120px;margin:0 auto 10px;filter:drop-shadow(0 5px 0 #bbae871c)}.cook-preview svg{width:100%;height:100%}.cook-result-name{font-size:14px;margin:10px 0 5px;font-weight:700}.cook-note{font-size:10px!important;min-height:36px}.mix-board .button-row{justify-content:center;margin-top:14px}.pantry h3{font-size:18px;margin-bottom:5px}.pantry>p{font-size:11px;color:#98a089;line-height:1.5;margin-bottom:12px}.pantry .tabs{gap:0;margin-bottom:12px}.pantry .tabs button{padding:8px 12px;font-size:11px}.ingredient-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;max-height:470px;overflow:auto;padding:3px;scrollbar-width:thin}.ingredient-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;border:1px solid #e2e3d3;border-radius:13px;background:#fcf9ef;padding:10px 5px;min-height:98px;font-size:10px;color:#85917a;text-align:center}.ingredient-card>svg{width:48px;height:48px}.ingredient-emoji{font-size:34px;display:flex;align-items:center;justify-content:center;line-height:1.5}.item-count{position:absolute;top:5px;right:6px;font-size:9px;color:#a7ad9a;background:#f0f0e4;border-radius:5px;padding:2px 4px}.ingredient-card.selected{outline:2px solid #96ad8c;background:#e9efdf}.recipe-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.recipe-card{padding:13px;border:1px solid #e1e1d0;border-radius:17px;background:#fffaf0;display:flex;flex-direction:column;align-items:center;position:relative;text-align:center;min-height:210px}.recipe-card>svg{width:85px;height:85px}.recipe-card h3{font-size:13px;line-height:1.3;letter-spacing:0;min-height:34px;margin:10px 0 5px}.recipe-card p{font-size:9px;color:#a1a68f;line-height:1.5;margin-bottom:10px}.recipe-card .btn{font-size:10px;min-height:36px;padding:7px 12px;margin-top:auto}.recipe-card .made-badge{position:absolute;top:9px;right:9px;color:#7e9a78}.made-badge svg{width:15px;height:15px}.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:22px;font-size:11px;color:#97a088}.pagination .btn{min-width:44px}.pagination .previous svg{transform:rotate(180deg)}.shelf-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.shelf-intro .intro{margin:0}.collection-shelves{display:grid;grid-template-columns:repeat(6,1fr);gap:24px 0;background:#ece5d3;border:1px solid #dfd3bb;border-radius:18px;padding:22px 18px 6px;box-shadow:inset 0 0 30px #b09a7220}.shelf-slot{min-height:144px;text-align:center;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:end;padding:0 4px 24px;border-bottom:11px solid #c6a881;box-shadow:0 4px 0 #ae9067;margin-bottom:10px;border-radius:1px}.shelf-slot:after{content:'';position:absolute;left:0;bottom:0;width:100%;height:6px;background:#d7bd99}.shelf-slot svg{width:85px;height:89px;transition:transform .2s}.shelf-slot:not(.empty):hover svg{transform:translateY(-6px) rotate(-4deg)}.shelf-slot.empty svg{opacity:.3;width:66px}.shelf-slot strong{font-size:9px;margin-top:3px;color:#8c785c;letter-spacing:0;font-weight:500;min-height:14px}.shelf-slot .slot-number{font-size:9px;color:#b5a386}.shelf-slot.selected{background:#f4eed5;outline:2px dashed #759378}.shelf-slot.select-target{cursor:crosshair}.collection-note{font-size:10px;color:#9aa18c;line-height:1.5;margin-top:15px;text-align:center}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.secret-card{display:flex;gap:11px;align-items:center;padding:12px;background:#fcf9ef;border:1px solid #e1e2d0;border-radius:15px;min-height:130px}.secret-card .secret-portrait{width:69px;flex-shrink:0}.secret-card h3{font-size:12px;letter-spacing:-.2px;margin:5px 0}.secret-card p{font-size:10px;line-height:1.5;color:#999e89}.secret-card .pill{font-size:8px;padding:4px 7px}.secret-card .text-btn{font-size:9px;text-align:left;padding:7px 0;min-height:28px}.secret-card.found{background:#edf1e3}.secret-card.found .secret-portrait svg{width:69px}.journal-filter{width:210px!important}.decor-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.decor-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:160px;padding:18px;background:#fcf8eb;border:1px solid #e0e0cf;border-radius:15px;font-size:11px;color:#8b957d}.decor-card>svg{width:80px;height:80px}.decor-paint{display:flex;gap:55px;margin:15px 0 30px;flex-wrap:wrap}.decor-paint .swatch{width:44px;height:44px}.instructions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:22px}.instruction-card{background:#edf0e2;border-radius:16px;padding:22px}.instruction-card>svg{color:#8fa581;width:27px;height:27px;margin-bottom:14px}.instruction-card h3{font-size:17px;margin-bottom:9px}.instruction-card p{font-size:12px;line-height:1.8;color:#8b947e}.control-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}.control-table td{padding:13px 8px;border-bottom:1px solid #e2e2d1;color:#8b957f}.control-table td:first-child{font-weight:600;color:#728267;width:36%}kbd{font-family:inherit;border:1px solid #d6dac9;border-radius:5px;background:#f6f6eb;padding:2px 6px;font-size:10px}.help-welcome{display:flex;gap:25px;align-items:center;margin-bottom:25px}.help-welcome>svg{width:100px;flex-shrink:0;transform:rotate(-8deg)}.help-welcome h3{font-size:24px;margin-bottom:10px}.help-welcome p{color:#929b85;font-size:12px;line-height:1.8}.settings-section{padding:22px 0;border-bottom:1px solid #e2e3d1}.settings-section h3{font-size:19px;margin-bottom:10px}.settings-section p{font-size:12px;color:#909980;line-height:1.8;max-width:660px;margin-bottom:15px}.settings-note{background:#eee4d1;padding:15px 18px;border-radius:12px;color:#998467;font-size:11px;line-height:1.8;margin-top:20px}.settings-section:first-child{padding-top:0}.character-panel{display:flex;gap:35px;align-items:center;justify-content:center}.character-panel>svg{width:220px;height:310px;background:#eee6d4;border-radius:22px;padding:15px}.character-panel h3{font-size:27px;margin-bottom:6px}.character-panel p{font-size:12px;color:#949a85;line-height:1.7;margin-bottom:20px}.emotion-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 22px}.emotion-buttons button{width:60px;min-height:65px;background:#efeedd;border-radius:13px;display:flex;align-items:center;flex-direction:column;justify-content:center;font-size:9px;gap:6px}.emotion-buttons span{font-size:24px}.emotion-buttons .selected{outline:2px solid #a1b291}.character-panel .field-label{margin-top:20px}#bag-drawer{position:fixed;z-index:38;bottom:123px;left:50%;transform:translateX(-50%);width:min(900px,92vw);background:#fcf9ef;border:1px solid #dedfcf;border-radius:22px;box-shadow:var(--shadow);padding:19px 24px}.bag-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.bag-header h2{font-size:24px}.bag-header .icon-button{width:34px;height:34px;min-width:34px;min-height:34px;padding:8px}.bag-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.bag-tabs button{font-size:11px;padding:10px 14px;border-radius:10px;min-height:37px}.bag-tabs button.active{background:#e4e9d9}.bag-items{display:flex;gap:10px;overflow:auto;padding:13px 2px 6px;min-height:110px;scrollbar-width:thin}.bag-item{min-width:92px;max-width:110px;border:1px solid #e0e0ce;border-radius:14px;background:#f2eedf;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;min-height:98px;touch-action:none;font-size:9px}.bag-item>svg{width:54px;height:54px}.bag-item .ingredient-emoji{font-size:33px}.bag-item.selected{outline:2px solid #91a783;background:#e5ead6}.empty-message{padding:20px;color:#939b83;font-size:12px;text-align:center;width:100%;line-height:1.7}.bag-tip{font-size:10px;color:#9fa48f;margin-top:8px}.bag-tools{margin-left:auto}.bag-tools .text-btn{font-size:10px}#equipped-bar{position:fixed;z-index:36;bottom:132px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid #dfdbc3;background:#fff7e3;box-shadow:0 8px 30px #5e684026;border-radius:15px;max-width:90vw;font-size:11px;color:#897f62}#equipped-bar .equipped-art{width:40px;height:40px;display:grid;place-items:center}#equipped-bar .equipped-art svg{width:40px;height:40px}#equipped-bar .equipped-art .ingredient-emoji{font-size:28px}#equipped-bar strong{color:#728065}#equipped-bar .icon-button{width:30px;height:30px;min-height:30px;min-width:30px;padding:7px}#equipped-bar small{display:block;font-size:9px;margin-top:3px}#toasts{position:fixed;bottom:135px;left:50%;transform:translateX(-50%);z-index:120;pointer-events:none}.toast{padding:14px 20px;border:1px solid #dce1cb;border-radius:14px;box-shadow:0 6px 40px #4c5a4320;background:#fff9e9;font-size:12px;color:#79896c;max-width:min(480px,88vw);line-height:1.6;animation:toastin .2s ease both;text-align:center}#discovery{position:fixed;top:110px;right:25px;z-index:110;width:300px;padding:16px 18px;display:flex;align-items:center;gap:12px;background:#fff9e9;border:1px solid #dddbba;border-radius:19px;box-shadow:0 12px 50px #615a3520;pointer-events:none;animation:toastin .3s ease}.discovery-art{width:66px;flex-shrink:0}.discovery-label{font-size:8px;letter-spacing:1.5px;color:#a2a37f}.discovery-text h3{font-size:17px;color:#7e8d6c;margin:5px 0}.discovery-text p{font-size:10px;color:#a0a58c;line-height:1.5}#drag-ghost{position:fixed;width:78px;height:78px;pointer-events:none;z-index:150;filter:drop-shadow(0 8px 5px #55554444);transform:translate(-50%,-50%)}#drag-ghost svg{width:100%;height:100%}#gamepad-cursor{position:fixed;width:22px;height:22px;border:3px solid white;background:#6e98796b;box-shadow:0 0 0 2px #506d5c,0 2px 8px #0004;border-radius:50%;z-index:300;pointer-events:none;transform:translate(-50%,-50%)}.controller-on #device-hint{color:#73906b}.gamepad-pressed{box-shadow:0 0 0 5px #91bd8160!important}.celebration-star{position:fixed;pointer-events:none;z-index:110;font-size:20px;color:#e3bc66;animation:floatstar 1.6s ease-out forwards}.noscript{padding:30px;text-align:center}.muted{color:#a0a58f}.count-label{font-size:11px;color:#8d9a80}.soft-divider{height:1px;background:#e0e2d1;margin:22px 0}.badge-line{display:flex;gap:8px;align-items:center;margin-bottom:18px}.mobile-pan-hint{display:none}.onboarding{padding:16px 20px;border-radius:15px;background:#ece9d7;font-size:12px;color:#9b8f71;margin-top:20px;line-height:1.6}.inline-notice{padding:13px 16px;background:#ece5d2;color:#948167;font-size:11px;line-height:1.6;border-radius:12px;margin-bottom:16px}.full-width{width:100%}@keyframes wiggle{0%,85%,100%{rotate:0deg;translate:0 0}90%{rotate:-5deg;translate:0 -3px}95%{rotate:5deg;translate:0 -3px}}@keyframes hintglow{50%{filter:drop-shadow(0 0 12px #fff4a0);scale:1.04}}@keyframes toastin{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes floatstar{to{translate:var(--sx) -120px;rotate:120deg;opacity:0}}@media(min-width:1700px){.scene-viewport{margin-left:4%;margin-right:4%}.topbar{height:102px}.scene-heading{padding-top:30px;padding-bottom:28px}.play-dock{margin-top:25px}}@media(max-height:800px) and (min-width:900px){.topbar{height:68px}.brand{font-size:23px}.brand-cove{font-size:20px}.brand-mascot{width:43px}.scene-heading{padding-top:13px;padding-bottom:13px}h1{font-size:26px}.scene-viewport{width:min(95.2%,calc((100dvh - 280px)*2.087));min-width:820px;margin-left:auto;margin-right:auto}.play-dock{padding:8px 20px;margin-top:8px;margin-bottom:8px}.dock-button>.dock-icon{height:36px;width:39px;border-radius:12px}.dock-button{font-size:9px}.game-footer{padding-bottom:10px}.play-hints{margin-top:9px}}@media(max-width:1050px){.topbar{margin:0 3%;gap:17px}.brand-caption{padding-left:18px}.scene-heading{padding-left:3%;padding-right:3%}.scene-tools{gap:7px}.journal-pill{padding:11px 12px}.journal-pill span{display:none}.room-switch{gap:10px}.dock-group{gap:14px}.play-dock{gap:16px;padding:11px 18px}.map-grid{grid-template-columns:repeat(4,1fr);gap:10px}.map-card h3{font-size:14px}.journal-grid{grid-template-columns:repeat(2,1fr)}.creator{grid-template-columns:230px 1fr}.creator-preview{padding:20px 10px}.creator-preview>svg{height:260px}.ingredient-grid{grid-template-columns:repeat(3,1fr)}.recipe-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.topbar{height:75px;margin:0 4%;gap:10px}.brand{font-size:23px}.brand-cove{font-size:21px}.brand-mascot{width:45px}.brand-caption{display:none}.top-actions{gap:7px}.save-status{display:none}.icon-button{min-width:39px;min-height:39px;padding:9px}.collection-count{height:39px;padding-right:10px;font-size:10px;gap:5px}.collection-count strong{font-size:14px}.collection-count>span:first-child{width:26px}.scene-heading{padding:20px 4% 18px;flex-wrap:wrap;gap:12px}.location-title{order:0;flex:1}.location-title h1{font-size:28px}.location-title p{font-size:10px}.eyebrow{font-size:8px;letter-spacing:1.6px}.room-switch{order:2;gap:18px;width:100%;justify-content:center;padding:0}.room-map-button{flex-direction:row;gap:16px;font-size:10px}.round-button{width:35px;height:35px}.scene-tools{order:1}.journal-pill{font-size:0;width:42px;height:42px;padding:10px}.journal-pill svg{width:21px;height:21px}.time-button{width:42px;height:42px}.scene-viewport{margin:0 12px;border-radius:17px;max-height:none}.scene{min-width:880px}.play-hints{margin:13px 5% 10px;font-size:10px;line-height:1.6}.play-hints .device-hint{display:none}.play-dock{width:calc(100% - 24px);max-width:none;padding:11px 10px;gap:8px;justify-content:space-around;margin-top:auto;margin-bottom:12px;border-radius:20px}.dock-group{gap:2px;flex:1;justify-content:space-around}.dock-button{min-width:48px;font-size:9px;padding:0 2px;gap:5px}.dock-button>.dock-icon{width:40px;height:40px;border-radius:13px}.dock-icon svg{width:21px;height:21px}.dock-divider{height:32px}.help-button{display:none}.game-footer{font-size:8px;padding-bottom:max(13px,env(safe-area-inset-bottom));margin:0 5%;gap:10px}.game-footer>span:last-child{font-size:6px;letter-spacing:.6px}.little-flower{font-size:14px}dialog{width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:94dvh;border-radius:21px}.modal-shell{max-height:94dvh}.modal-header{padding:20px 18px 17px}.modal-header h2{font-size:26px}#modal-content{padding:19px 17px 24px}.map-grid{grid-template-columns:repeat(2,1fr);gap:12px}.map-card h3{font-size:15px}.map-card p{font-size:9px}.people-grid{grid-template-columns:repeat(2,1fr);gap:12px}.person-card>.person-preview{height:185px}.creator{grid-template-columns:1fr;gap:20px}.creator-preview{position:relative;flex-direction:row;justify-content:space-around;padding:10px 20px}.creator-preview>svg{height:200px;width:150px;margin:0}.creator-preview .button-row{flex-direction:column;gap:10px}.swatch{width:34px;height:34px}.kitchen-grid{grid-template-columns:1fr;gap:22px}.mix-board{position:relative;padding:18px}.mix-board h3{font-size:20px}.mix-slots{margin:15px 0}.mix-slot{height:95px;width:100px}.cook-preview{width:95px;height:85px}.mix-board .cook-preview{position:absolute;right:22px;top:96px;display:none}.mix-board .button-row{margin-top:10px}.pantry .ingredient-grid{grid-template-columns:repeat(4,1fr);max-height:370px}.ingredient-card{min-height:88px;font-size:9px}.ingredient-card>svg{height:40px;width:40px}.recipe-grid{grid-template-columns:repeat(2,1fr);gap:10px}.recipe-card{padding:10px;min-height:190px}.recipe-card>svg{width:69px;height:69px}.filter-row{gap:8px}.filter-row select{width:150px;font-size:11px}.collection-shelves{grid-template-columns:repeat(4,1fr);padding:15px 8px 8px;gap:16px 0}.shelf-slot{min-height:119px;padding-bottom:15px;border-bottom-width:9px}.shelf-slot svg{width:64px;height:73px}.shelf-slot.empty svg{width:48px}.shelf-slot strong{font-size:8px}.shelf-intro{align-items:start;gap:10px}.shelf-intro .btn{font-size:10px;padding:8px 11px;flex-shrink:0}.shelf-intro .intro{font-size:11px}.journal-grid{grid-template-columns:1fr;gap:10px}.secret-card{min-height:111px}.secret-card .secret-portrait{width:60px}.secret-card h3{font-size:13px}.secret-card p{font-size:11px}.secret-card .text-btn{font-size:10px}.decor-grid{grid-template-columns:repeat(3,1fr);gap:10px}.decor-card{min-height:135px;padding:13px 7px;font-size:10px}.decor-card>svg{width:60px;height:65px}.decor-paint{gap:25px}.instructions-grid{grid-template-columns:1fr;gap:11px}.instruction-card{padding:18px}.instruction-card>svg{float:left;margin-right:15px}.instruction-card p{font-size:11px}.instruction-card h3{font-size:16px}.help-welcome{gap:15px}.help-welcome>svg{width:75px}.help-welcome h3{font-size:22px}.help-welcome p{font-size:11px}.character-panel{flex-direction:column;gap:20px}.character-panel>svg{height:210px;width:155px}.character-panel>div{width:100%}.emotion-buttons{gap:7px}.emotion-buttons button{width:calc((100% - 35px)/6);min-width:42px;font-size:8px}.stats-row{gap:15px}.stat{padding-right:15px;font-size:10px}.stat strong{font-size:22px}#bag-drawer{bottom:112px;width:calc(100vw - 20px);padding:15px 15px;border-radius:20px}.bag-header h2{font-size:22px}.bag-tabs button{font-size:10px;padding:8px 10px}.bag-tools .text-btn{font-size:9px;padding:7px}.bag-item{min-width:86px}.bag-tip{font-size:9px}.bag-items{padding-top:10px}#equipped-bar{bottom:112px;width:max-content;max-width:94vw;font-size:10px}#toasts{bottom:115px}#discovery{top:88px;right:10px;width:265px;padding:13px}.discovery-art{width:53px}.discovery-text h3{font-size:15px}}@media(max-width:390px){.brand-mascot{width:37px}.brand{font-size:21px}.brand-cove{font-size:19px}.top-actions{gap:5px}.topbar{margin:0 3%}#sound-button{display:none}.dock-button{min-width:43px;font-size:8px}.dock-button>.dock-icon{height:36px;width:36px}.game-footer>span:last-child{display:none}.collection-shelves{grid-template-columns:repeat(3,1fr)}.pantry .ingredient-grid{grid-template-columns:repeat(3,1fr)}}@media(max-height:530px) and (min-width:600px){.topbar{height:49px;margin:0 2%}.brand-mascot{width:32px}.brand{font-size:18px}.brand-cove{font-size:16px}.brand-caption{display:none}.top-actions{gap:8px}.collection-count{height:33px}.icon-button{min-height:34px;min-width:34px;padding:8px}.scene-heading{padding:8px 2%;flex-wrap:nowrap;gap:15px}.scene-heading .eyebrow,.location-title p{display:none}h1,.location-title h1{font-size:20px;margin:0}.room-switch{order:0;width:auto;padding:0;gap:8px}.room-map-button{gap:6px;flex-direction:column;font-size:8px}.scene-tools{order:0}.journal-pill{height:34px;padding:8px 12px;font-size:10px;width:auto}.time-button{height:34px;width:34px;min-width:34px}.scene-viewport{width:min(97%,calc((100dvh - 180px)*2.087));min-width:550px;margin:0 auto;border-radius:12px}.scene{min-width:0}.play-hints{display:none}.play-dock{padding:6px 15px;margin:10px auto 6px;border-radius:16px;width:fit-content;gap:15px}.dock-group{gap:15px}.dock-button{flex-direction:row;font-size:9px;gap:5px;min-width:60px}.dock-button>.dock-icon{height:30px;width:31px;border-radius:9px}.dock-icon svg{width:17px;height:17px}.dock-divider{height:20px}.help-button{display:none}.game-footer{padding-bottom:6px;font-size:7px}.game-footer>span:last-child{display:none}#bag-drawer{bottom:66px;max-height:70dvh;overflow:auto}#equipped-bar,#toasts{bottom:69px}.modal-shell,dialog{max-height:94dvh}.modal-header{padding:12px 18px}.modal-header h2{font-size:22px}.modal-header .eyebrow{display:none}#modal-content{padding:15px 20px}.creator{grid-template-columns:180px 1fr}.creator-preview{position:sticky;top:0;flex-direction:column}.creator-preview>svg{height:180px}.creator-preview .button-row{flex-direction:row}.kitchen-grid{grid-template-columns:1fr 1.1fr}.mix-board{padding:15px}.ingredient-grid{max-height:250px}.map-grid{grid-template-columns:repeat(4,1fr)}.collection-shelves{grid-template-columns:repeat(6,1fr)}.shelf-slot{min-height:115px}.people-grid{grid-template-columns:repeat(4,1fr)}.person-card>.person-preview{height:160px}.character-panel{flex-direction:row}.character-panel>svg{height:190px}.help-welcome>svg{width:65px}.instructions-grid{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the controls within short landscape screens and enlarge touch targets. */
@media (max-height:530px) and (min-width:600px) {
  .topbar { height:34px; }
  .topbar .brand-mascot { width:28px; }
  .topbar .brand { font-size:15px; }
  .topbar .brand-cove { font-size:14px; }
  .topbar .collection-count { height:28px; }
  .topbar .icon-button { min-width:28px; min-height:28px; padding:6px; }
  .scene-heading { height:42px; padding:4px 2%; }
  .scene-viewport { min-width:0; width:min(97%,calc((100dvh - 132px)*2.087)); }
  .play-dock { margin-top:6px; margin-bottom:6px; }
  .game-footer { display:none; }
}
@media (pointer:coarse) {
  .secret { min-width:44px; min-height:44px; }
  .round-button { min-width:44px; min-height:44px; }
  .swatch { min-width:40px; min-height:40px; }
}
.controller-on .dock-button { font-size:13px; }
.controller-on button:focus { outline:3px solid #668c68; outline-offset:3px; }
.controller-on .prop:focus,.controller-on .actor:focus { outline-style:dashed; }
.map-caption>svg { float:left; margin:0 10px 2px 0; }
.map-card p strong { display:flex; align-items:center; gap:4px; }
body { min-width:280px; }
