@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:400;src:url(./fredoka-latin-400-normal-17JuUzdy.woff2) format("woff2"),url(./fredoka-latin-400-normal-DbXSrOeS.woff) format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:500;src:url(./fredoka-latin-500-normal-B0JifZgm.woff2) format("woff2"),url(./fredoka-latin-500-normal-BL692wg7.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(./dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(./dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(./dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./dm-sans-latin-700-normal-DvUfVpUG.woff2) format("woff2"),url(./dm-sans-latin-700-normal-CUSSCpQX.woff) format("woff")}:root{font-family:DM Sans,sans-serif;color:#624d55;background:#ecdde3;font-synthesis:none;font-weight:400;--pink:#d97099;--ink:#624d55;--cream:#fffaf1;--muted:#a38e93}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #a879b7;outline-offset:4px}button{transition:background .16s,transform .16s,box-shadow .16s}button:hover{transform:translateY(-2px)}button:active{transform:translateY(0)}#game,#world{position:absolute;inset:0}#world canvas{display:block;width:100%;height:100%;touch-action:none}.topbar{position:absolute;top:0;left:0;right:0;height:99px;background:#fffbf3f7;display:flex;align-items:center;gap:30px;padding:0 32px;border-bottom:1px solid #e7d6cf;box-shadow:0 3px 30px #a36b7b08;z-index:2}.brand{text-decoration:none;color:#7b575d;display:flex;align-items:center;gap:11px;flex-shrink:0;font-family:Fredoka,sans-serif;font-size:28px;font-weight:500;letter-spacing:-.8px}.brand-bear{font-size:43px;filter:drop-shadow(0 3px 0 #dab69d40)}.brand small{font-family:DM Sans,sans-serif;display:block;font-size:8px;letter-spacing:2.1px;font-weight:700;color:#b08c91;margin-top:6px}.stats{display:flex;align-items:center;justify-content:center;flex:1;height:48px}.stat{display:flex;align-items:center;gap:10px;padding:0 26px;border-right:1px solid #e9dfd6;white-space:nowrap}.stat:last-child{border:0}.stat-icon{font-size:26px;display:grid;place-items:center;width:39px;height:39px;border-radius:50%}.cookie{background:#f8e9d1}.bear{background:#f2e7dc}.happiness{color:#d5809f;background:#f9e4eb;font-size:29px}.energy{color:#af94c2;background:#eee5f4;font-size:39px}.stat strong{display:block;font-size:20px;line-height:1.3;letter-spacing:-.5px;font-weight:700}.stat strong small{font-size:12px;font-weight:500;color:#ac969c;letter-spacing:0}.stat div>span{font-size:10px;color:#a58e8f;letter-spacing:.3px}.round-button{border:1px solid #e9ddd4;border-radius:50%;background:#fffcf8;width:40px;height:40px;font-size:18px;color:#9a7b83;flex-shrink:0}.glass{background:#fffbf3f2;border:1px solid #fffcf4;box-shadow:0 6px 30px #8556680d;border-radius:18px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.town-panel{position:absolute;top:125px;left:29px;padding:23px 24px 19px;width:259px}.eyebrow{font-size:8px;letter-spacing:1.55px;font-weight:700;color:#ae8792;display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;background:#a4bc8f;border-radius:50%;display:inline-block}h1{font-family:Fredoka,sans-serif;font-weight:500;font-size:31px;line-height:1.12;letter-spacing:-.3px;margin:15px 0 11px;color:#705762}h1 span{color:var(--pink)}.town-panel p{font-size:11px;line-height:1.8;color:#a48c92;margin:0 0 21px}.town-name{border-top:1px dashed #e5d5cf;display:flex;gap:10px;align-items:center;padding-top:15px}.town-name>span{font-size:27px}.town-name strong{font-size:12px;font-weight:600;display:block}.town-name small{font-size:10px;color:#b3999c;display:block;margin-top:4px}.goal-card{position:absolute;top:421px;left:29px;width:259px;padding:19px 21px}.goal-heading{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:700;letter-spacing:1.2px;color:#b19986;margin-bottom:11px}.goal-star{font-size:20px;color:#daa660;line-height:1}.goal-card>strong{font-family:Fredoka,sans-serif;font-size:18px;font-weight:400}.goal-card p{font-size:10px;line-height:1.65;color:#a99194;margin:7px 0 14px}.progress-track{height:7px;background:#f0e3df;border-radius:8px;overflow:hidden}#goal-progress{height:100%;background:#d78aa3;border-radius:8px;transition:width .6s}.goal-foot{display:flex;justify-content:space-between;font-size:9px;color:#ac8b96;margin-top:8px}.goal-foot span:last-child{font-weight:700}#town-advice{font-size:10px;color:#a78c80;line-height:1.6;border-top:1px dashed #e6d8ce;margin-top:14px;padding-top:12px}.view-tools{position:absolute;right:26px;top:calc(50% - 90px);display:flex;flex-direction:column;padding:7px;border-radius:30px;gap:2px}.view-tools button{background:transparent;width:35px;height:35px;font-size:23px;border-radius:50%;color:#997c87}.view-tools button:hover,.view-tools button.active{background:#f6e4e8;color:#bd7894}.view-tools>span{height:1px;background:#e9dcd6;margin:6px}.build-area{position:absolute;bottom:0;left:0;right:0;padding:0 29px 17px;pointer-events:none}.build-area>*{pointer-events:auto}.build-caption{display:flex;justify-content:space-between;align-items:center;padding:0 8px 12px;font-size:11px;color:#946f7e;text-shadow:0 1px #fff8}.sparkle{font-size:22px;vertical-align:middle;padding-right:5px;color:#bd8597}#save-status{font-size:9px;color:#a0818b}.save-dot{font-size:8px;color:#9bae8c;margin-left:6px}.build-tray{display:flex;align-items:center;padding:14px 18px;border-radius:21px;gap:17px;background:#fffbf4fa;box-shadow:0 8px 40px #80505a12}.tray-label{min-width:105px;padding-left:4px}.tray-label>span:first-child{font-size:8px;letter-spacing:1.8px;font-weight:700;color:#ba9b9e}.tray-label strong{font-family:Fredoka,sans-serif;font-size:23px;font-weight:400;line-height:1.05;display:block;margin-top:6px;color:#97727e}.tray-squiggle{font-size:23px;color:#d7a6b7;display:block;line-height:1;margin-top:4px}.build-options{display:flex;gap:8px;flex:1}.build-card{position:relative;flex:1;min-width:0;border:1px solid #eae1d9;background:#fffaf3;border-radius:13px;height:119px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px;box-shadow:0 2px #ede3da66}.build-card.selected{border:2px solid #d996b0;background:#fbedf1;box-shadow:0 3px #d996b029}.build-card:hover{background:#f8eff0}.build-card.unaffordable .price{color:#c67b7b}.shortcut{position:absolute;top:6px;left:8px;font-size:8px;color:#c1acaa}.building-icon{font-size:35px;line-height:1.2;display:block;margin-bottom:9px;filter:drop-shadow(0 3px 1px #956f7920)}.building-icon.house{font-size:37px}.build-card strong{font-size:10px;font-weight:600;white-space:nowrap}.price{font-size:10px;color:#aa9090;margin-top:6px}.time-controls{border-left:1px solid #e8dcd3;padding-left:19px;min-width:104px;text-align:center}.time-controls>span:first-child{font-size:8px;letter-spacing:1.5px;color:#ae9096;font-weight:600}.time-controls>div{display:flex;gap:5px;margin:11px 0}.time-controls button{width:35px;height:32px;background:#f1e6de;border:1px solid #e9d9ce;border-radius:8px;font-size:14px;font-weight:600}.time-controls button.paused{background:#f1cbd9;color:#aa5479}.weather{font-size:9px;color:#b29987}.bottom-hints{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#9f7c88;font-size:9px;padding:13px 6px 0}.bottom-hints kbd{font-family:inherit;font-size:7px;font-weight:600;letter-spacing:.5px;color:#a1808d}.hint-divider{padding:0 9px;color:#bea0aa}#selected-description{font-size:10px;color:#987785;text-align:center}.bottom-hints button{font-size:9px;background:none;color:#947380;padding:0;white-space:nowrap}.bottom-hints button span{border:1px solid #b99aa6;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;width:15px;height:15px;font-size:9px;margin-left:4px}.tile-tip{position:absolute;bottom:223px;left:50%;transform:translate(-50%);padding:9px 16px;background:#fff9eccf;border:1px solid #fff9ec;border-radius:20px;font-size:10px;color:#8d7378;pointer-events:none;white-space:nowrap}.tile-tip.invalid{background:#fff0f1d9;color:#b36c85}.toast{position:absolute;top:116px;left:50%;transform:translate(-50%,-12px);padding:14px 24px;border-radius:16px;background:#fffaf3;box-shadow:0 7px 25px #7e526122;color:#95667c;font-size:12px;max-width:500px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center;z-index:3}.toast.show{opacity:1;transform:translate(-50%)}.negative{color:#c16b77!important}dialog{background:#fffaf2;color:var(--ink);border:1px solid #fffdf7;border-radius:26px;padding:32px 38px;width:470px;max-width:calc(100vw - 30px);box-shadow:0 24px 120px #62465340;max-height:90vh}dialog::backdrop{background:#73556555;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.modal-emoji{display:block;font-size:48px;margin-bottom:19px;text-align:center}dialog .eyebrow{justify-content:center}dialog h2{font-family:Fredoka,sans-serif;font-size:30px;font-weight:500;letter-spacing:-.5px;text-align:center;margin:12px 0}dialog p{font-size:12px;line-height:1.75;text-align:center;color:#a28b90}dialog .primary{background:#d98caa;color:#fff;padding:13px 18px;border-radius:11px;font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:20px}.help-steps{display:flex;flex-direction:column;gap:18px;margin:25px 0}.help-steps>div{display:flex;gap:13px;font-size:11px;line-height:1.7;color:#a18c90}.help-steps b{font-family:Fredoka,sans-serif;font-size:23px;color:#d3a2b2;font-weight:400}.help-steps strong{display:block;color:#7f6271;font-size:12px}dialog .help-note{font-size:10px;background:#f4ece4;padding:12px;border-radius:10px;text-align:left}.key-help{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:9px;color:#ab909a;margin-top:20px}.key-help kbd{font-family:inherit;background:#f0e4e2;padding:3px 6px;border-radius:4px;font-size:8px}.menu-actions{display:flex;flex-direction:column;gap:7px;margin:20px 0}.menu-actions button{display:flex;justify-content:space-between;background:#f5ece5;padding:13px 16px;border-radius:10px;font-size:12px}.menu-actions button:hover{background:#f2dee5}.menu-actions span{color:#b899a4}.menu-actions .danger{color:#b67986}.modal-buttons{display:flex;gap:10px;margin-top:25px;align-items:stretch}.modal-buttons button{width:50%;border-radius:10px;font-size:12px;background:#efe5dc;padding:12px}.modal-buttons .primary{margin:0;justify-content:center}.graphics-error{position:absolute;top:40%;left:35%;text-align:center;color:#8b5d72}@media(min-width:1500px){.topbar{padding:0 43px;gap:55px}.stat{padding:0 38px}.build-area{left:50%;right:auto;width:1400px;transform:translate(-50%)}.town-panel,.goal-card{left:40px}.town-panel{top:137px}.goal-card{top:433px}}@media(max-width:1150px){.topbar{padding:0 20px;gap:12px;height:86px}.brand{font-size:24px}.brand-bear{font-size:34px}.brand small{font-size:6px}.stat{padding:0 15px;gap:7px}.stat strong{font-size:16px}.stat-icon{width:30px;height:30px;font-size:23px}.town-panel{top:107px;left:20px;width:220px;padding:19px}.town-panel h1{font-size:27px}.goal-card{left:20px;top:377px;width:220px;padding:17px}.goal-card>strong{font-size:16px}.build-area{padding:0 18px 12px}.build-tray{padding:11px;gap:10px}.tray-label{min-width:82px}.tray-label strong{font-size:20px}.build-options{gap:5px}.build-card{height:108px;padding:4px}.build-card strong{font-size:9px}.building-icon{font-size:30px}.time-controls{padding-left:11px;min-width:89px}.bottom-hints{font-size:8px}#selected-description{max-width:270px;font-size:9px}.tile-tip{bottom:200px}}@media(max-height:780px){.town-panel{padding:17px}.town-panel h1{font-size:26px;margin:10px 0}.town-panel p{margin-bottom:12px}.town-name{padding-top:11px}.goal-card{top:350px;padding:15px 18px}#town-advice{margin-top:8px;padding-top:7px}.goal-card p{margin:6px 0 10px}.build-card{height:97px}.building-icon{font-size:29px;margin-bottom:5px}.build-tray{padding-top:10px;padding-bottom:10px}.tile-tip{bottom:182px}}@media(max-width:800px){.topbar{height:119px;align-items:flex-start;padding-top:13px;justify-content:space-between}.brand{font-size:22px}.brand-bear{font-size:31px}.brand small{font-size:6px;margin-top:3px}.round-button{width:32px;height:32px}.stats{position:absolute;top:65px;left:8px;right:8px;height:39px}.stat{padding:0 12px;flex:1;justify-content:center}.stat-icon{font-size:19px;width:24px;height:24px}.stat strong{font-size:13px}.stat strong small{font-size:9px}.stat div>span{font-size:8px}.town-panel{top:137px;width:190px;padding:15px}.town-panel h1{font-size:23px}.town-panel p,.town-name,.town-panel .eyebrow{display:none}.town-panel h1{margin:0}.goal-card{top:137px;left:auto;right:17px;width:183px;padding:12px}.goal-heading{font-size:6px;margin-bottom:7px}.goal-card>strong{font-size:14px}.goal-card p,#town-advice{display:none}.progress-track{margin-top:12px}.goal-foot{font-size:8px}.build-area{padding:0 10px 10px}.tray-label,.time-controls .weather,.build-caption>span:first-child{display:none}.build-caption{justify-content:flex-end;padding-bottom:6px}.build-tray{padding:9px;gap:8px}.build-options{overflow-x:auto;gap:5px;padding-bottom:3px}.build-card{min-width:85px;height:98px}.time-controls{min-width:47px;padding-left:8px}.time-controls>div{flex-direction:column;margin:7px 0}.time-controls>span:first-child{font-size:6px;letter-spacing:.3px}.time-controls button{width:31px;height:28px}.bottom-hints{padding-top:8px}.bottom-hints>span:first-child{display:none}#selected-description{max-width:none;text-align:left}.view-tools{right:16px;top:310px}.view-tools button{width:29px;height:29px;font-size:20px}.tile-tip{bottom:178px;max-width:90vw;white-space:normal;text-align:center}.toast{top:235px;min-width:250px;font-size:11px}.goal-heading .goal-star{font-size:16px}}
