@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
:root{--cream:#f9f1e3;--paper:#fffdf7;--teal:#286c63;--ink:#3b382f;--muted:#82796d;--line:#ded5c5;--gold:#efc76c;--coral:#cc7f67}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid var(--coral);outline-offset:3px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 3.5%;border-bottom:1px solid var(--line);background:#fffaf0}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--teal);font:500 28px 'Fredoka',sans-serif}.brand small{display:block;font:600 9px 'DM Sans',sans-serif;letter-spacing:2.4px;margin-top:3px}.brand-icon{width:45px;height:45px;display:grid;place-items:center;border:2px solid var(--teal);border-radius:15px;font:35px Georgia;background:#e0ead8;box-shadow:0 3px 0 #c6d5bf}.daychip{display:flex;gap:12px;align-items:center;font-size:12px}.daychip span{background:#ece4d3;border-radius:8px;padding:7px;color:#756a59;font-weight:700}.daychip b{font-weight:500}.head-actions{display:flex;gap:8px}.round{border:1px solid var(--line);border-radius:50%;background:#fffcf5;width:36px;height:36px;font-weight:700}main{max-width:1600px;margin:auto;padding:18px 3.5% 0}.statusbar{display:flex;gap:25px;align-items:center;margin-bottom:18px}.clock{display:flex;gap:12px;min-width:215px;align-items:center}.clock>span{font-size:31px;color:#ba9855}.clock strong{font:500 26px 'Fredoka',sans-serif}.clock small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.needs{display:flex;flex:1;gap:24px}.needs label{font-size:10px;color:var(--muted);width:105px}.needs meter{display:block;width:100%;height:13px;appearance:none}.needs meter::-webkit-meter-bar{background:#e7dfd0;border:0;height:6px}.needs meter::-webkit-meter-optimum-value{background:#7c9a7f}.wallet{margin-left:auto;display:flex;gap:24px;background:transparent;border:0;text-align:left}.wallet span{font-size:8px;letter-spacing:1.1px;color:var(--muted)}.wallet b{display:block;font:500 21px 'Fredoka',sans-serif;letter-spacing:0;color:var(--teal);margin-top:3px}.speeds{display:flex;gap:4px;background:#eae4d6;padding:4px;border-radius:12px}.speeds button{border:0;background:#fffcf7;border-radius:8px;min-width:34px;height:30px;font-size:12px}.game-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.agenda{padding-top:10px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--teal);font-weight:700}h2{font:500 23px 'Fredoka',sans-serif;margin:10px 0}p{line-height:1.6}.agenda>p{font-size:12px;color:var(--muted);margin:0 0 25px;line-height:1.7}.agendahead{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px}.agendahead span{font-size:10px;color:var(--muted)}.goal{display:flex;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #e7dfd2;font-size:11px}.goal>span{border:1.5px solid #b5b1a0;border-radius:50%;width:15px;height:15px;flex-shrink:0;display:grid;place-items:center;font-size:9px}.goal.done{color:#8a9180}.goal.done>span{background:#729180;color:white;border-color:#729180}.goal small{display:block;font-size:9px;color:#9c8d77;margin-top:3px}.phone-button{border:1px solid #c8d8c6;background:#e8eee0;border-radius:13px;display:flex;align-items:center;width:100%;gap:9px;text-align:left;padding:13px 10px;margin-top:23px;font-weight:600;font-size:12px}.phone-symbol{color:var(--teal);font-size:23px}.phone-button small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:3px}.phone-button i{background:var(--teal);color:#fff;margin-left:auto;border-radius:50%;font:10px sans-serif;padding:4px 6px}.message-preview{font-size:10px;color:var(--muted);line-height:1.6;padding:10px 4px;min-height:45px}.tip{font:500 14px 'Fredoka',sans-serif;color:var(--teal);border-left:2px solid #d9ba77;padding-left:12px;margin:18px 0}.tip span{display:block;color:var(--muted);font:10px/1.7 'DM Sans',sans-serif;margin-top:5px}.playarea{min-width:0;border:1px solid #d6cdbb;border-radius:19px;background:var(--paper);overflow:hidden;box-shadow:0 6px 25px #68512b09}.scene-top{height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:8px;letter-spacing:1.6px;color:var(--teal)}.scene-top>span:nth-child(2){letter-spacing:.2px;font-size:10px;color:var(--muted)}.scene-top button{border:0;background:none;font-size:20px}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#85a17a;margin-right:5px}.canvas-wrap{position:relative;overflow:hidden;background:#dfebdd;aspect-ratio:1200/700}canvas{width:100%;height:100%;display:block;touch-action:manipulation;cursor:pointer}.scene-note{position:absolute;bottom:15px;left:20px;background:#fffcf0e8;border:1px solid #e3d5b9;border-radius:20px;padding:7px 13px;font-size:10px;color:#6f624e}.room-tabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 15px;gap:8px}.room-tabs button{flex:1;border:0;background:transparent;padding:9px 6px;border-radius:9px;font-size:11px;color:#82796d}.room-tabs .selected{background:#e3ecdf;color:var(--teal);font-weight:700}.action-header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 8px}.action-header small{font-size:8px;letter-spacing:1.8px;color:var(--teal);font-weight:700}.action-header h2{font-size:19px;margin:5px 0}.action-header>span{font-size:9px;color:var(--muted)}.actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px 20px 20px}.action{background:#fffaf1;border:1px solid #e1d5c0;border-radius:12px;padding:12px;text-align:left;box-shadow:0 3px #eee4d3;transition:transform .15s}.action:hover:not(:disabled){background:#f3ead9;transform:translateY(-2px)}.action b{display:block;font-size:11px;font-weight:600}.action small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.action .tag{float:right;font:14px 'Fredoka',sans-serif;color:var(--teal)}footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;color:var(--muted);font-size:9px}footer>span:first-child{font-size:8px;letter-spacing:1.2px}footer i{color:#c3a15d;margin:0 8px}footer button{border:0;background:none;font-size:10px;color:var(--teal);text-decoration:underline;text-underline-offset:4px}.bubble{position:absolute;max-width:230px;background:#fffdf5;border:2px solid #746247;border-radius:17px;padding:10px 14px;font-size:12px;box-shadow:0 4px #6d512321;pointer-events:none;transform:translate(-50%,-100%);z-index:3}.bubble:after{content:'';position:absolute;bottom:-8px;left:45%;width:12px;height:12px;background:#fffdf5;border-right:2px solid #746247;border-bottom:2px solid #746247;transform:rotate(45deg)}.active-task{position:absolute;left:50%;bottom:52px;transform:translateX(-50%);background:#fffcf4ee;border:1px solid #d6c9b2;border-radius:12px;padding:10px 15px;width:230px;text-align:center;font-size:11px}.progress{height:5px;background:#e6dfd0;border-radius:10px;margin-top:8px;overflow:hidden}.progress i{display:block;height:100%;background:#7b9f81;width:0}.hidden{display:none!important}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#286c63;color:#fffdf3;padding:13px 20px;border-radius:14px;font-size:12px;box-shadow:0 4px 20px #0002;z-index:30;max-width:90vw;text-align:center}.modal{position:fixed;inset:0;z-index:20;background:#243c3590;backdrop-filter:blur(5px);display:grid;place-items:center;padding:22px}.dialog{background:var(--paper);border:2px solid #c5baa4;border-radius:25px;padding:32px;width:min(560px,100%);max-height:90dvh;overflow:auto;box-shadow:0 15px 80px #173e3c40;position:relative}.close{position:absolute;right:17px;top:13px;border:0;background:#eee7d9;border-radius:50%;width:30px;height:30px;font-size:24px}.dialog h1{font:500 34px 'Fredoka',sans-serif;color:var(--teal);margin:10px 0}.dialog h2{color:var(--teal)}.dialog p{font-size:13px;color:var(--muted)}.dialog .eyebrow{margin-top:10px}.primary,.secondary{border:1px solid #2b6057;background:var(--teal);color:white;border-radius:12px;min-height:42px;padding:10px 17px;font-size:12px;box-shadow:0 3px #17463f}.secondary{background:#eee7d9;color:var(--ink);border-color:#d2c5af;box-shadow:0 3px #d5c7af}.dialog-buttons{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.choice{display:block;width:100%;padding:15px;margin:10px 0;text-align:left;border:1px solid #d9cbb4;background:#fff8eb;border-radius:12px}.choice b{font-size:13px}.choice small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.statgrid>div{padding:15px;background:#f0eadc;border-radius:13px;font-size:10px;color:var(--muted)}.statgrid b{display:block;font:500 24px 'Fredoka',sans-serif;color:var(--teal)}.chat{background:#eee9dc;border-radius:13px;padding:13px;margin:13px 0;font-size:12px;line-height:1.6}.chat b{display:block;color:var(--teal);font-size:11px;margin-bottom:4px}.chat.reply{background:#deeadb;margin-left:40px}.shoprow{display:flex;gap:8px;align-items:center;padding:13px 0;border-bottom:1px solid #e7dfd1}.shoprow>div{flex:1;font-size:12px}.shoprow small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.shoprow button{border:1px solid var(--line);border-radius:8px;width:30px;height:30px;background:#f0e8d9}.shoprow b{font-size:12px;min-width:20px;text-align:center}.tap-area{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.tap-area button{min-width:80px;min-height:60px;background:#e6eddf;border:2px solid #91a58a;border-radius:15px;font-size:15px}.big-icon{font:70px 'Fredoka',sans-serif;color:#c4955e;display:block;text-align:center}.intro-scene{height:130px;display:flex;align-items:center;justify-content:center;gap:18px;background:linear-gradient(#d9e9df,#f3e4c9);border-radius:17px;margin:20px 0}.intro-scene svg{height:125px;width:85px} @media(min-width:1500px){.canvas-wrap{max-height:650px}}@media(max-width:1000px){.game-layout{grid-template-columns:175px 1fr;gap:15px}main{padding:15px 2% 0}.needs{gap:10px}.needs label{width:70px}.statusbar{gap:12px}.wallet{gap:10px}.clock{min-width:170px}.clock strong{font-size:23px}.agenda{font-size:10px}.actions{padding:4px 12px 15px}.action-header{padding:13px 12px 6px}}@media(max-width:700px){header{padding:13px 4%}.brand{font-size:24px}.brand small{font-size:7px}.brand-icon{width:37px;height:37px;font-size:28px}.daychip{display:none}.round{width:31px;height:31px}main{padding:12px 10px 0}.statusbar{gap:10px;flex-wrap:wrap;margin-bottom:12px}.clock{min-width:140px}.clock strong{font-size:23px}.clock small{font-size:9px}.clock>span{font-size:25px}.wallet{gap:12px}.wallet b{font-size:19px}.wallet span{font-size:7px}.needs{order:4;flex:1 0 100%;gap:20px;justify-content:space-between}.needs label{width:30%;display:flex;align-items:center;gap:7px}.needs meter{width:70%}.speeds{margin-left:auto}.speeds button{min-width:25px;height:27px}.game-layout{display:flex;flex-direction:column;gap:12px}.agenda{order:2;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:4px 15px;background:#f1e9db;border-radius:14px}.agenda .eyebrow,.agenda>h2,.agenda>p,.tip{display:none}.agendahead,#goals{grid-column:1}#goals{grid-row:2 / span 3}.goal{padding:7px 0;font-size:10px}.phone-button{margin-top:0;align-self:start;grid-column:2;grid-row:1 / span 2}.message-preview{grid-column:2;font-size:10px;grid-row:3}.scene-top{height:32px;padding:0 10px}.scene-top>span:nth-child(2){display:none}.canvas-wrap{aspect-ratio:1.32}canvas{object-fit:cover;object-position:50%;width:100%;height:100%}.scene-note{left:8px;bottom:8px;font-size:8px;padding:6px 9px}.room-tabs{gap:2px;padding:7px 5px}.room-tabs button{padding:9px 3px;font-size:10px}.action-header h2{font-size:17px}.action-header>span{display:none}.actions{grid-template-columns:repeat(2,1fr);gap:7px}.action b{font-size:11px}.action small{font-size:9px}.bubble{max-width:170px;font-size:10px;padding:8px 10px}.active-task{bottom:38px;width:190px;font-size:10px}footer{font-size:8px;flex-wrap:wrap;padding:15px 3px}footer>span:first-child{font-size:7px}footer #saved{display:none}.dialog{padding:27px 22px}.dialog h1{font-size:29px}}

/* Overhead edition: stable click targets and object-first interaction. */
.canvas-wrap{aspect-ratio:1200/700}canvas{object-fit:fill}.goal{width:100%;background:transparent;border:0;border-bottom:1px solid #e7dfd2;text-align:left;font-family:inherit;transition:opacity .3s,background .3s}.goal:hover:not(:disabled){background:#e8eadb;border-radius:8px}.goal:disabled{opacity:1}.goal.done{background:#deead5;border-radius:8px;animation:task-done .45s ease}.goal.done>span{background:#73937b;border-color:#73937b}.all-done{color:var(--teal);font-size:12px;padding:15px 0}.message-preview:empty{display:none}.whatsapp-popup{position:fixed;z-index:25;top:110px;left:30px;width:340px;max-width:calc(100vw - 30px);border:2px solid #719380;border-radius:20px;background:#f9fcf2;box-shadow:0 15px 65px #29483640;overflow:hidden;animation:wa-in .25s ease}.wa-top{background:#2d6b5d;color:#f6faec;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600}.wa-top small{font-size:9px;font-weight:400;opacity:.8}.wa-body{padding:18px}.wa-body>b{font-family:Fredoka,sans-serif;color:#316454;font-size:20px}.wa-body p{font-size:13px;line-height:1.7;margin:10px 0 16px}.wa-body button{display:block;width:100%;border:1px solid #bad0b9;background:#e8f0df;border-radius:11px;padding:12px;margin:8px 0;text-align:left;font-size:12px;color:#315b49;box-shadow:0 2px #c8d8be}.wa-body button:hover{background:#d7e8cc}.wa-foot{display:block;font-size:9px;color:#89957e;text-align:center;margin-top:15px}.actions{grid-template-columns:repeat(3,1fr)}.action-header h2{font-size:18px}.playarea:fullscreen{background:var(--paper);overflow:auto;padding:15px;display:flex;flex-direction:column;align-items:center}.playarea:fullscreen .canvas-wrap{width:min(100%,1200px);max-height:none}.playarea:fullscreen .scene-top,.playarea:fullscreen .room-tabs,.playarea:fullscreen .actions,.playarea:fullscreen .action-header{width:min(100%,1200px)}.playarea:fullscreen .actions{display:none}.scene-top{letter-spacing:.8px}@keyframes task-done{from{transform:translateX(-6px);opacity:.3}to{transform:translateX(0);opacity:1}}@keyframes wa-in{from{transform:translateY(-14px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:700px){.whatsapp-popup{left:15px;top:90px;width:calc(100vw - 30px);max-height:80dvh;overflow:auto}.canvas-wrap{aspect-ratio:1200/700}.actions{grid-template-columns:repeat(2,1fr)}.game-layout .agenda{grid-template-columns:1fr 1fr}.canvas-wrap .bubble{max-width:150px}.scene-note{max-width:90%;font-size:8px}.action-header h2{font-size:15px}.tip{display:block;grid-column:2;grid-row:3;font-size:12px}.tip span{font-size:9px}}

/* Family edition */
.needs{gap:12px}.needs label{width:90px}.mood-word{font:500 12px Fredoka,sans-serif;background:#e4ebd9;color:#617a60;padding:7px 10px;border-radius:20px;white-space:nowrap}#stress::-webkit-meter-optimum-value{background:#c28c75}.welcome-art{float:right;width:120px;margin:0 -8px 8px 12px}.welcome-art svg{width:100%;height:170px}.welcome-copy{color:var(--teal)!important}.wide{width:100%;margin-top:12px}.custom-layout{display:grid;grid-template-columns:140px 1fr;gap:20px;align-items:center;background:#f1e9da;padding:15px;border-radius:17px}.character-preview svg{width:125px;height:175px}.character-preview small{display:block;text-align:center;color:#8d7e68;font-size:10px}.dialog h3{font:500 16px Fredoka,sans-serif;color:var(--teal);margin:16px 0 9px}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:30px;height:30px;border:2px solid #fff6e4;border-radius:50%;box-shadow:0 1px 4px #5a4d3025}.swatch.picked{outline:2px solid #366c58;outline-offset:2px}.family-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.family-choice{padding:13px 10px;background:#fff8eb;border:1px solid #d7cbb4;border-radius:12px;text-align:left}.family-choice b{display:block;font-size:12px;color:var(--teal)}.family-choice small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin:6px 0}.family-choice span{font-size:9px;color:#a28c64}.family-choice.picked{border:2px solid #78957c;background:#e7eedc;padding:12px 9px}.custom-note{font-size:10px!important;line-height:1.6!important}.family-status{font-size:9px;color:#927f5e}.return-home{background:#e5ecdc;border:1px solid #bdcdb4;border-radius:9px;font-size:10px!important;padding:5px 9px!important;color:#55785d}.fight-alert{position:absolute;right:12px;top:14px;width:210px;padding:13px;background:#fff1d9f5;border:1px solid #d0a57b;box-shadow:0 4px 18px #69502e20;border-radius:14px}.fight-alert b,.fight-alert span{display:block;font-size:12px;color:#a36c4e}.fight-alert span{font-size:10px;margin:5px 0}.fight-alert button{background:#bc8868;border:0;border-radius:8px;color:white;padding:9px;width:100%;font-size:10px}.travel-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:#ecedddf5;backdrop-filter:blur(8px);padding:25px}.travel-card{width:min(440px,90vw);text-align:center}.travel-card small{font-size:9px;color:#899078;letter-spacing:1.5px}.travel-card h2{font-size:28px;color:var(--teal)}.travel-card p{font-size:12px;color:var(--muted)}.travel-card .progress{margin-top:22px;height:7px}.travel-road{height:100px;margin:0 0 25px;border-bottom:3px dashed #c1b9a1;position:relative;overflow:hidden}.travel-road span{position:absolute;bottom:8px;font-size:50px;animation:driving 1.5s infinite linear}@keyframes driving{0%{left:0;transform:translateY(0)}50%{transform:translateY(-3px)}100%{left:85%;transform:translateY(0)}}@media(max-width:1100px){.statusbar{flex-wrap:wrap}.needs{min-width:250px}.needs label{width:65px;font-size:9px}.wallet{gap:12px}.mood-word{font-size:10px}}@media(max-width:700px){.needs{gap:9px;flex-wrap:wrap;min-width:0}.needs label{width:46%;justify-content:space-between}.mood-word{font-size:10px;margin-left:0}.family-status{font-size:8px}.scene-top>span:nth-child(2){display:inline}.scene-top #scene-caption{display:none}.custom-layout{grid-template-columns:95px 1fr;gap:12px;padding:12px}.character-preview svg{width:90px;height:150px}.swatch{width:26px;height:26px}.swatches{gap:7px}.family-options{grid-template-columns:1fr}.family-choice{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}.family-choice small{margin:0}.family-choice span{grid-column:1/-1}.fight-alert{width:160px;right:7px;top:7px;padding:9px}.fight-alert b{font-size:10px}.fight-alert span{display:none}.fight-alert button{margin-top:7px;font-size:9px;padding:7px}.welcome-art{width:100px}.welcome-art svg{height:145px}}

.routine-status{font-size:10px;line-height:1.7;color:#6f836a;background:#e8ecdd;border:1px solid #d6dec7;padding:9px 10px;border-radius:10px;margin:5px 0 10px}.trip-note{font-size:11px;color:#8c7b64}@media(max-width:700px){.routine-status{grid-column:2;grid-row:3;align-self:start;font-size:9px;padding:8px}.tip{grid-row:4}.agenda .phone-button{grid-row:1 / span 2}}
/* A portrait game frame on phones and computers, like a mobile game screen. */
html{height:100%;background:#eee5d2}body{width:100%;max-width:480px;height:100dvh;min-height:0;overflow:hidden;margin:0 auto;display:flex;flex-direction:column;box-shadow:0 0 70px #6d5d3f20;position:relative}header{height:58px;flex:0 0 auto;padding:9px 13px;border-bottom:1px solid #ded4bf}.brand{font-size:23px;gap:9px}.brand small{font-size:7px;letter-spacing:1.7px}.brand-icon{width:35px;height:35px;font-size:29px;border-radius:11px}.daychip{display:none}.head-actions{gap:5px}.head-actions .round{width:32px;height:32px}main{width:100%;max-width:none;min-height:0;flex:1;padding:9px 9px 0;display:flex;flex-direction:column}.statusbar{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px;align-items:center}.clock{min-width:115px;gap:7px}.clock strong{font-size:22px}.clock>span{font-size:25px}.clock small{font-size:8px}.wallet{gap:10px;padding:0;margin-left:auto}.wallet span{font-size:6px}.wallet b{font-size:17px}.speeds{padding:3px;gap:4px;margin-left:0}.speeds button{height:29px;min-width:27px}.mood-word{display:none}.needs{order:4;min-width:0;flex:1 0 100%;width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.needs label{width:auto!important;display:block;font-size:8px;color:#807662}.needs meter{width:100%;height:11px;display:block}.game-layout{flex:1;min-height:0;display:block;position:relative}.playarea{height:100%;display:flex;flex-direction:column;border-radius:15px;min-height:0}.scene-top{height:30px;flex:0 0 auto;padding:0 9px;gap:6px;letter-spacing:.6px;font-size:7px}.scene-top .family-status{display:inline!important;font-size:8px}.scene-top #scene-caption{display:none}.scene-top>button{padding:2px;font-size:16px}.scene-top .return-home{font-size:9px!important;margin-left:auto}.canvas-wrap{flex:1;min-height:0;width:100%;aspect-ratio:auto;max-height:none}canvas{width:100%;height:100%;object-fit:fill;touch-action:none}.scene-note{bottom:9px;left:10px;max-width:94%;font-size:8px;padding:6px 10px}.room-tabs{flex:0 0 auto;height:43px;padding:5px 4px;gap:1px}.room-tabs button{font-size:9px;min-height:32px;padding:5px 3px}.action-header,.actions{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:8px 0 max(9px,env(safe-area-inset-bottom));flex:0 0 auto}.mobile-nav button{border:1px solid #d6cbb5;background:#fff9ec;box-shadow:0 2px #dfd2bc;border-radius:12px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#567562;font-size:9px}.mobile-nav button span{font-size:17px;line-height:1}.mobile-nav button:hover{background:#e8eedc}footer{display:none}.agenda{display:none;position:absolute;z-index:12;left:5px;right:5px;bottom:5px;max-height:min(68dvh,500px);overflow:auto;padding:22px 18px 16px;background:#fff9edfa;border:1px solid #d2c4a8;border-radius:20px;box-shadow:0 -8px 40px #46563b30}.tasks-open .agenda{display:block}.agenda .eyebrow,.agenda>h2,.agenda>p,.tip{display:block}.agenda h2{font-size:25px}.agenda>p{font-size:11px;margin-bottom:14px}.agendahead{font-size:12px}.agenda .goal{font-size:12px;min-height:53px;padding:11px 0}.agenda .goal small{font-size:10px}.agenda .goal>span{width:19px;height:19px}.agenda .phone-button,.agenda .message-preview,.agenda .tip{display:none}.routine-status{font-size:11px;line-height:1.6;margin:8px 0}.tasks-close{display:block;position:absolute;right:12px;top:10px;border:0;border-radius:50%;background:#e9e2d0;color:#6b745d;width:30px;height:30px;font-size:25px}.modal,.travel-overlay{inset:0 auto 0 50%;transform:translateX(-50%);width:min(100%,480px);padding:15px}.dialog{width:100%;max-height:calc(100dvh - 30px);border-radius:23px;padding:30px 22px}.dialog h1{font-size:31px}.dialog p{font-size:12px}.choice{min-height:58px;padding:14px}.choice b{font-size:13px}.choice small{font-size:11px;line-height:1.5}.primary,.secondary{min-height:46px}.dialog h3{font-size:16px}.custom-layout{grid-template-columns:105px 1fr;padding:12px;gap:15px}.character-preview svg{width:100px;height:160px}.family-options{grid-template-columns:1fr}.family-choice{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;min-height:65px;padding:13px}.family-choice.picked{padding:12px}.family-choice b{font-size:13px}.family-choice small{font-size:10px;margin:0}.family-choice span{grid-column:1/-1;font-size:9px}.welcome-art{width:105px}.welcome-art svg{height:150px}.whatsapp-popup{top:auto;bottom:78px;left:50%;transform:translateX(-50%);width:min(calc(100vw - 30px),450px);max-height:75dvh;overflow:auto;animation:none}.toast{bottom:78px;width:max-content;max-width:min(calc(100vw - 32px),440px);font-size:11px;z-index:35}.bubble{font-size:11px;padding:9px 11px;max-width:180px}.fight-alert{width:165px;right:9px;top:9px;padding:10px}.fight-alert b{font-size:11px}.fight-alert span{display:none}.fight-alert button{font-size:10px;margin-top:7px;min-height:35px}.active-task{width:220px;bottom:43px;font-size:11px}.playarea:fullscreen{padding:0;max-width:480px;max-height:100dvh;margin:auto}.playarea:fullscreen .canvas-wrap{width:100%;max-height:none}.playarea:fullscreen .room-tabs{width:100%}@media(max-height:720px){header{height:49px}.brand{font-size:20px}main{padding-top:6px}.clock strong{font-size:19px}.statusbar{gap:4px;margin-bottom:5px}.clock small{display:none}.needs{gap:9px}.needs meter{height:9px}.mobile-nav{padding-top:5px;padding-bottom:6px}.mobile-nav button{min-height:42px}.scene-top{height:26px}.room-tabs{height:38px}.dialog{max-height:calc(100dvh - 18px);padding:25px 18px}.dialog h1{font-size:27px}.custom-layout{padding:8px}.character-preview svg{height:120px}.family-choice{min-height:58px}.family-choice small{font-size:9px}} 

/* Original generated launch illustration with live, server-backed presence. */
.playing-pill{font-size:7px;display:flex;gap:4px;align-items:center;justify-content:center;background:#e6eddd;border:1px solid #cbd8bf;border-radius:14px;padding:6px 8px;max-width:115px;white-space:nowrap}.playing-pill i,.presence-dot{display:inline-block;width:6px;height:6px;background:#b96b5c;border-radius:50%}.playing-pill b{font-size:12px;color:#396f59}.cover-screen{padding:0;background:#f5ecd8}.cover-screen .dialog{background:#f4ead4 url('/cover-pixel.webp') center center/cover no-repeat;border:0;border-radius:0;min-height:100dvh;height:100dvh;max-height:100dvh;padding:0;overflow:hidden;box-shadow:none;position:relative}.cover-live{position:absolute;top:max(23px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:90%;background:#fffdf2e8;border:1.5px solid #d4c3a5;box-shadow:0 4px #c9b79a66;padding:9px 15px 8px;border-radius:17px;display:flex;gap:6px;align-items:center;justify-content:center;font-size:11px;color:#67715b;flex-wrap:wrap}.cover-live>b{font-size:9px;border-radius:5px;background:#be7564;color:white;padding:3px 5px}.cover-live strong{font:600 20px Fredoka,sans-serif;color:#2f715c}.cover-live small{flex:0 0 100%;text-align:center;font-size:9px;color:#977d55;margin-top:-2px}.presence-dot{width:7px;height:7px;animation:presencePulse 2s ease-in-out infinite}.cover-title{position:absolute;top:13%;left:0;right:0;text-align:center}.cover-title>small{font-size:8px;letter-spacing:2.5px;color:#7b866c}.cover-title h1{font:600 clamp(58px,14vw,75px)/.87 Fredoka,sans-serif;margin:12px 0 18px;color:#2c7967;letter-spacing:-1px;-webkit-text-stroke:1px #fff2d8;text-shadow:0 3px 0 #1f5b4c,0 5px 0 #fff0d2,0 8px 14px #76552c26}.cover-title>span{display:inline-block;background:#fff6e0e8;padding:7px 17px;border:1px solid #e4d2b1;border-radius:20px;font:500 13px Fredoka,sans-serif;color:#5b765b}.cover-greeting{position:absolute;bottom:max(26px,env(safe-area-inset-bottom));left:22px;right:22px;text-align:center;background:linear-gradient(transparent,#f9efda80);padding-top:13px}.cover-greeting h2{font:500 24px/1.15 Fredoka,sans-serif;color:#416b53;margin:5px 0}.cover-greeting p{font-size:11px;color:#7b765f;line-height:1.55;margin:8px 0}.cover-greeting .primary{border:2px solid #286450;background:#337a64;box-shadow:0 5px #245a48,0 7px 0 #f1e1bc;color:#fff7e6;border-radius:18px;font:500 18px Fredoka,sans-serif;min-height:56px;margin:7px 0 13px}.cover-greeting>small{font-size:8px;letter-spacing:.2px;color:#8c816a}@keyframes presencePulse{50%{opacity:.35}}@media(max-height:740px){.cover-title{top:14%}.cover-title h1{font-size:59px;margin-bottom:12px}.cover-live{top:15px;padding:6px 12px;gap:4px}.cover-live strong{font-size:17px}.cover-greeting{bottom:17px;left:18px;right:18px}.cover-greeting h2{font-size:21px}.cover-greeting p{font-size:10px}.cover-greeting .primary{min-height:48px;font-size:16px}}@media(max-width:390px){.playing-pill{padding:5px;gap:3px;font-size:6px;max-width:93px}.brand{font-size:20px}.brand small{letter-spacing:1px;font-size:6px}.head-actions .round{width:29px;height:29px}.head-actions{gap:4px}}

.cover-screen .dialog{background-image:url('/cover-title.webp');background-color:#fbf0d9;background-size:100% auto;background-position:center 78px;background-repeat:no-repeat}.cover-screen .cover-title{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cover-greeting{background:linear-gradient(transparent,#fbf0d9e8 32%,#fbf0d9);padding-top:26px}.cover-live{top:15px}.cover-greeting h2{font-size:23px}@media(max-height:740px){.cover-screen .dialog{background-position:center 65px}.cover-live{top:9px}.cover-greeting{padding-top:20px}.cover-greeting h2{font-size:20px}}

.audio-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;font-size:13px;color:var(--teal);font-weight:600}.audio-toggle input{accent-color:#789a79;width:22px;height:22px}.audio-range{font-size:11px;color:#8c7c64;display:block;padding:0 0 17px;border-bottom:1px solid #e3d8c3}.audio-range input{display:block;accent-color:#789a79;width:100%;min-height:35px;margin:8px 0 0}
#wa-thread .wa-sent,#wa-thread .wa-received{padding:10px 12px;border-radius:12px;margin:8px 0;font-size:12px;line-height:1.6}#wa-thread .wa-sent{background:#dcebd3;margin-left:24px}#wa-thread .wa-received{background:#fff8e9;margin-right:24px;border:1px solid #e3dbc9}#wa-thread small{display:block;font-size:9px;color:#72826c;margin-bottom:4px}.wa-body{overflow-wrap:anywhere}
.choice:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.7);background:#e4e2d8;border-color:#cbc8bd;box-shadow:none}.stock-alert{border:0;border-bottom:1px solid #dfc795;background:#f7e8c7;color:#816b43;font:10px/1.5 inherit;padding:7px 12px;text-align:left;width:100%;flex:0 0 auto;cursor:pointer}.stock-alert.hidden{display:none}
.family-label{display:block;font-size:12px;color:#6b7964;margin:12px 0}.family-label input,.family-label select{display:block;width:100%;margin-top:5px;min-height:40px;border:1px solid #c5cbb7;border-radius:9px;background:#fff9ed;padding:8px;color:#53664f;font:14px inherit}.activity-controls,.hall-status{position:fixed;left:50%;transform:translateX(-50%);width:min(calc(100vw - 32px),445px);bottom:144px;background:#fff7e7ed;border:1px solid #d5c5a6;border-radius:12px;z-index:18;padding:9px;display:flex;gap:7px;align-items:center;box-shadow:0 4px 16px #52634822}.activity-controls small{flex:1;font-size:10px}.activity-controls button,.hall-status button{border:1px solid #acbca4;background:#dce8d2;border-radius:8px;padding:8px;color:#486b54;font-size:10px}.activity-controls.hidden,.hall-status.hidden{display:none}.hall-status{bottom:82px;justify-content:space-between;font-size:11px}.hall-status button:disabled{opacity:.45}
.calendar-banner{display:block;width:calc(100% - 24px);max-width:456px;margin:6px auto;padding:9px 13px;background:#e5ead8;color:#496c57;border:1px solid #cbd4b9;border-radius:12px;font:inherit;font-size:11px;font-weight:600;text-align:left;cursor:pointer}.calendar-entry{padding:12px 14px;border:1px solid #ded7be;border-radius:12px;margin:9px 0;background:#fffaf0}.calendar-entry.today{border-color:#829e81;background:#edf1e2}.calendar-entry small,.calendar-entry b{display:block}.calendar-entry small{font-size:10px;color:#7c8a6b;margin-bottom:4px}.calendar-entry p{font-size:12px;margin:5px 0}.phone-device{background:#edf1e5;border:5px solid #536b5d;border-radius:28px;padding:12px 14px 18px;box-shadow:0 12px 30px #445c4420}.phone-notch{width:70px;height:5px;background:#536b5d;margin:0 auto 10px;border-radius:8px}.phone-status{display:flex;justify-content:space-between;font-size:10px;color:#6b7b61}.phone-heading{display:flex;gap:10px;align-items:center;border-bottom:1px solid #cbd6bf;padding:12px 0;margin-bottom:14px}.phone-heading>div{flex:1}.phone-heading small{font-size:9px;letter-spacing:1.4px;color:#809075}.phone-heading h1{font-size:22px!important;margin:2px 0!important}.phone-heading button{width:31px;height:31px;border:1px solid #bccbb0;border-radius:50%;background:#fffaf0;color:#4a6d56;font-size:22px}.phone-intro,.phone-disclaimer{font-size:11px!important;color:#74826b}.phone-disclaimer{text-align:center;margin-top:14px!important}.phone-apps{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.phone-apps button{padding:13px 9px;background:#fcf8eb;border:1px solid #c5d1b8;border-radius:13px;text-align:left;color:#50735c}.phone-apps span{font-size:25px;display:block;margin-bottom:7px}.phone-apps b{font-size:12px;display:block}.phone-apps small{display:block;font-size:10px;line-height:1.4;color:#7d8870;margin-top:5px}.phone-thread{max-height:270px;overflow:auto;padding:2px 0 6px;scrollbar-width:thin}.phone-message{padding:9px 12px;border-radius:11px;max-width:92%;margin:7px 0;background:#fffbed;border:1px solid #d7ddc6}.phone-message.sent{margin-left:auto;background:#dce9d0}.phone-message small{font-size:9px;color:#7a8b6d}.phone-message p{font-size:12px!important;margin:5px 0!important;line-height:1.5}.phone-empty{font-size:12px;color:#849177}.call-avatar{width:75px;height:75px;margin:20px auto;border-radius:50%;display:grid;place-items:center;background:#cfdfc2;color:#52725c;font-size:35px}.call-status{text-align:center;font-size:12px!important}.call-line{padding:16px;border-radius:12px;background:#fffbed;font-size:14px!important}
/* Compact controls occupy their own row, never overlaying another panel. */
.scene-note,#bubble{display:none!important}.activity-controls{position:static;left:auto;bottom:auto;transform:none;width:auto;flex:0 0 auto;min-height:38px;padding:4px 10px;margin:0;border:0;border-top:1px solid #ddd4c1;border-radius:0;box-shadow:none;background:#f5f0e2;z-index:auto;gap:7px}.activity-controls small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.activity-controls button{height:30px;min-width:44px;padding:4px 9px;font-size:10px;border-radius:7px}.activity-controls #active-task{position:static;left:auto;bottom:auto;transform:none;flex:1;min-width:0;width:auto;text-align:left;background:transparent;padding:0;border:0;border-radius:0;font-size:10px}.activity-controls #task-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}.activity-controls .progress{height:4px;margin-top:4px}.activity-controls #cancel-activity{flex:0 0 auto;min-width:49px}.activity-controls #resume-activity{min-width:32px}
.cover-greeting .cover-install{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1px solid #afbea1;background:#f8f3e5f2;color:#4e7156;min-height:39px;border-radius:12px;font-size:11px;margin:0 0 10px;padding:5px 9px}.cover-install img{width:27px;height:27px;border-radius:7px}.cover-install span{font-size:15px;margin-left:3px}.install-heading{display:flex;align-items:center;gap:14px;margin:5px 0 13px}.install-heading>img{width:79px;height:79px;border-radius:21px;box-shadow:0 4px 0 #ccdbbc}.install-heading h1{font-size:28px!important;line-height:1.05!important;margin:7px 0!important;color:#426e55}.install-heading .eyebrow{font-size:7px;letter-spacing:1px}.install-welcome{font-size:12px!important;color:#7b8068}.install-tabs{display:flex;gap:7px;margin:16px 0 12px}.install-tabs button{flex:1;border:1px solid #c4d0b6;background:#f3eedf;border-radius:10px;padding:10px 7px;font-size:12px;color:#718466}.install-tabs button[aria-selected=true]{background:#dce9d1;border-color:#7c9d79;color:#39634a;font-weight:700}.install-steps{background:#fffaf0;border:1px solid #ded8c2;border-radius:13px;padding:5px 13px 5px 5px}.install-steps ol{padding-left:29px;margin:10px 0}.install-steps li{padding:4px 0 7px 5px;font-size:12px;line-height:1.5;color:#64715b}.install-steps li::marker{font-weight:700;color:#71906a}.install-note{border-left:3px solid #d5bb7d;padding:2px 11px;margin:17px 0;color:#7f8064;font-size:11px}.install-note p{font-size:11px!important;margin:4px 0!important}.install-offline{font-size:11px!important;color:#5e7d59}.install-small{font-size:10px!important;color:#8a8a75;line-height:1.55}.install-sources{display:flex;justify-content:center;gap:8px;font-size:9px;margin-top:11px;color:#8d927d}.install-sources a{color:inherit}.install-menu{display:flex!important;align-items:center;gap:12px}.install-menu img{width:45px;height:45px;border-radius:12px}.install-menu small{display:block}@media(max-height:740px){.cover-greeting{bottom:12px}.cover-greeting .cover-install{min-height:33px;margin-bottom:5px}.cover-install img{width:23px;height:23px}.install-heading>img{width:64px;height:64px;border-radius:17px}.install-heading h1{font-size:24px!important}.install-steps li{font-size:11px;padding:3px 0 5px 3px}.install-tabs{margin:10px 0}.install-note{margin:12px 0}}@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.cover-install{display:none!important}}
/* Character portraits and the year calendar stay readable on small phones. */
.contact-avatar{width:46px;height:46px;flex-shrink:0;vertical-align:middle;border-radius:50%;border:2px solid #fff8e8;box-shadow:0 2px 6px #455c4522}.phone-contact-card{display:flex;align-items:center;gap:11px;margin:12px 0;color:#557c65;font-weight:600;font-size:13px}.contact-choice{display:flex;align-items:center;gap:12px}.phone-device [data-life-friend]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.phone-device [data-life-friend] small{width:100%;margin-left:58px}#wa-avatar{float:left;margin-right:11px;margin-bottom:6px}#wa-avatar .contact-avatar{width:42px;height:42px}.calendar-months{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:15px 0}.calendar-months button{background:#f5efdf;border:1px solid #d7d5be;border-radius:8px;padding:8px 3px;font-size:11px}.calendar-months button.selected{background:#d7e5d0;color:#42654f}.fee-receipt{padding:20px;background:#fbf6e7;border:1px solid #d5d6be;border-radius:14px}.fee-receipt small{font-size:10px;letter-spacing:1px}.fee-receipt h2{font-size:32px;color:#42765b}.fee-receipt p{font-size:12px}.phone-apps{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:390px){.calendar-months{grid-template-columns:repeat(4,1fr)}}

.game-date-bar{max-width:1600px;margin:0 auto;padding:7px 3.5%;background:#e5ebdc;border-bottom:1px solid #d1dcc7;font-size:10px;color:#52725b;letter-spacing:.3px}@media(max-width:700px){.game-date-bar{text-align:center;padding:6px 8px;font-size:9px}}
#phone,#mobile-phone{position:relative}.has-unread::after{content:'';position:absolute;right:8px;top:5px;width:10px;height:10px;background:#df5050;border:2px solid #fff6e6;border-radius:50%;box-shadow:0 0 0 2px #df505025}
.ui-en{display:block!important;font-size:.76em!important;font-weight:400!important;line-height:1.4!important;opacity:.72;margin-top:3px;letter-spacing:0!important;text-transform:none!important}.ui-bn{display:block}.ui-pair{display:inline-block;max-width:100%}.restock-note{background:#f0ecd6;border:1px solid #c7ceb3;border-radius:13px;padding:12px;margin:10px 0}.restock-note>div{display:inline-block;margin:6px 12px 2px 0;font-size:13px}.restock-note strong{color:#a36c54;margin-left:5px}.cover-greeting .secondary{margin-top:10px}.game-date-bar .ui-en{font-size:9px!important}.playing-pill .ui-en{font-size:8px!important}.playing-pill .ui-bn{max-width:100px}.statusbar .ui-en{font-size:8px!important}button .ui-en{pointer-events:none}label .ui-en{margin-bottom:4px}

/* Remove the former stacked English translations from task and study content. */
.ui-en{display:none!important}

.needs label:has(#stress){display:none!important}.cook-touch{display:block;width:100%;border:2px solid #b9c7ad;border-radius:20px;background:linear-gradient(#dce8d8,#f6ead3);padding:5px;touch-action:manipulation}.cook-touch svg{display:block;width:100%}.cook-hand,.cook-food{transform-origin:240px 170px;animation:cook-stir 1.4s ease-in-out infinite alternate}.cook-steam{animation:cook-steam 1.8s ease-in-out infinite alternate}.cook-knife{animation:cook-chop .7s ease-in-out infinite alternate}.cook-dots{text-align:center;color:#5c8b73;letter-spacing:10px;margin-top:15px}@keyframes cook-stir{to{transform:translate(6px,-4px) rotate(3deg)}}@keyframes cook-steam{to{opacity:.25;transform:translateY(-12px)}}@keyframes cook-chop{to{transform:translateY(-8px)}}
