.voice-open{color:#355e48;white-space:nowrap;background:#fff;border:1px solid #d8e4da;border-radius:20px;padding:8px 13px;font-size:13px}.voice-dialog{box-sizing:border-box;color:#2c4637;border:0;border-radius:24px;width:min(700px,100vw - 28px);max-height:85dvh;padding:24px;overflow:auto;box-shadow:0 24px 90px #20332940}.voice-dialog::backdrop{background:#192e265c}.voice-dialog header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.voice-dialog h2{margin:0;font-size:23px}.voice-dialog header p{color:#637668;font-size:14px}.voice-dialog header>button{background:#eef3ec;border:0;border-radius:50%;flex-shrink:0;width:36px;height:36px}.voice-auto{text-align:left;width:100%;color:inherit;background:#f8faf6;border:1px solid #dbe4db;border-radius:14px;padding:15px}.voice-auto small{color:#667769;margin-top:5px;display:block}.voice-auto.selected{background:#edf6e9;border-color:#6c916f}.voice-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.voice-list article{border:1px solid #e0e6da;border-radius:18px;min-width:0;padding:16px}.voice-list article.selected{background:#f7fbf3;border-color:#5b8767;box-shadow:inset 0 0 0 1px #5b8767}.voice-list article>span{font-size:30px}.voice-list h3{margin:10px 0;font-size:16px}.voice-list p{color:#627067;min-height:44px;font-size:13px;line-height:1.7}.voice-list article>div{flex-wrap:wrap;gap:8px;display:flex}.voice-list button{color:#355e48;background:#fff;border:1px solid #cad8c9;border-radius:10px;padding:8px 10px;font-size:12px}.voice-list button.primary{color:#fff;background:#355e48}.voice-scope{color:#788279;font-size:12px;line-height:1.7}@media (width<=480px){.voice-dialog{padding:20px 16px}.voice-list{grid-template-columns:1fr}.voice-list article{grid-template-columns:38px 1fr;gap:0 10px;padding:13px;display:grid}.voice-list article>span{grid-row:1/3}.voice-list h3{margin:2px 0}.voice-list p{min-height:0;margin:4px 0 10px}.voice-list article>div{grid-column:2}.header-stats{flex-wrap:wrap;gap:7px}.voice-open{padding:7px 10px}}.voice-availability{color:#806632;margin-top:5px;font-size:11px;display:block}.voice-pending{color:#765b25;background:#fff6df;border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.7}.pet-atlas{aspect-ratio:1;background:url(/pet-assets/shinchan-actions-v1.855c7b371f97.webp) 0 0/400% 400% no-repeat;width:100%}.companion-caption small{margin-top:4px;font-size:11px;display:block}.pet-work-apron{color:#f7e7ad;pointer-events:none;background:#688b4b;border:2px solid #395438;border-radius:15% 15% 30% 30%;justify-content:center;align-items:center;width:40%;height:28%;display:flex;position:absolute;top:61%;left:30%}.action-water{transform-origin:50% 85%;animation:1.5s ease-in-out watering}.action-plant{animation:1.4s ease-in-out planting}.action-cook{animation:1s ease-in-out infinite mixing}.action-serve{animation:1.2s ease-out serving}.action-jump{animation:1.5s companion-hop}.action-nod{animation:1s planting}.action-shy{animation:1.5s watering}.action-sleep{animation:6s infinite companion-breathe}@keyframes watering{50%{transform:rotate(-7deg)}}@keyframes planting{50%{transform:translateY(5px)rotate(3deg)}}@keyframes mixing{50%{transform:rotate(2deg)}}@keyframes serving{0%{transform:scale(.96)}60%{transform:scale(1.04)}}@media (prefers-reduced-motion:reduce){.companion-motion{animation:none!important}}.pet-atlas{clip-path:inset(3% 2% 1%)}.team-clock{color:#3c6148;background:#edf4e6;border-radius:12px;padding:10px 12px;font-size:13px}.team-friends{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.team-friends article{border:1px solid #dce4d5;border-radius:16px;align-items:center;gap:8px;padding:12px;display:flex}.team-friends .customer-figure{flex-shrink:0;width:72px}.team-friends h3{margin:0;font-size:15px}.team-friends button{margin-top:8px}.team-invitation{background:#eef4e8;border-radius:16px;padding:16px}.team-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.team-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.team-form label{gap:4px;min-width:0;font-size:13px;display:grid}.team-form input{width:100%;min-width:0;font:inherit;color:#526748;box-sizing:border-box;border:1px solid #d5d9bf;border-radius:12px;padding:11px}.team-form select{min-width:0}.team-agenda{margin:20px 0}.team-agenda article{border-bottom:1px solid #dfe5d5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;display:flex}.team-agenda p{margin:4px 0}.team-agenda span{background:#edf4e6;border-radius:7px;padding:3px 7px;font-size:12px}.team-agenda [data-shift-status=值班中] span{color:#fff;background:#355e48}.team-notice{color:#355e48}.customer-sprite.cast-sprite{box-shadow:none;background-image:url(/town-art/shinchan-friends-v1.png);background-size:300% 200%;border-radius:0}.cast-sprite{filter:drop-shadow(0 4px 3px #50351d1c)}.team-entry{border-radius:14px;padding:7px 12px;color:#3f6146!important;background:#f1f6e7!important;border:1px solid #b3c6a5!important}.shop-team-strip{background:#eef4e7;border:1px solid #d3dfc9;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:9px 12px;font-size:13px;display:flex}.shop-team-strip button{min-height:36px}.team-staff-button{color:#3c593a;z-index:4;background:0 0;border:0;width:65%;padding:0;position:absolute;bottom:10%;left:78%}.team-staff-button .customer-figure{width:100%;max-width:125px}.team-staff-button small{background:#fff6dc;border-radius:8px;padding:3px;font-size:10px;display:block}.shop-companion.with-staff{transform:translate(-18%)}.shop-staff-chat{background:#f5f8ef;border:1px solid #dbe4cf;border-radius:14px;flex-shrink:0;margin:10px 0;padding:12px 14px}.shop-staff-chat p{margin:0 0 9px}.shop-staff-chat small{color:#65765c;display:block}.shop-staff-chat .team-buttons button{color:#3b5b42;background:#fff;border:1px solid #c7d4b8;border-radius:10px;min-height:38px;padding:7px 10px;font-size:12px}.farm-avatar.farm-friend{z-index:7;width:10%;min-width:44px;max-width:74px;transition:left .22s linear,top .22s linear}.farm-friend .companion-growth{transform:scale(1)!important}@media (width<=600px){.team-friends{grid-template-columns:1fr}.team-friends .customer-figure{width:76px}.team-form{grid-template-columns:1fr}.team-staff-button{width:62%;bottom:0}.shop-team-strip{padding:7px 10px;font-size:12px}.shop-staff-chat{font-size:12px}.shop-team-panel .primary{width:auto}.farm-avatar.farm-friend{width:13%;min-width:42px}.shop-team-strip small{display:block}}@media (prefers-reduced-motion:reduce){.farm-avatar.farm-friend{transition:none}}.reduce-motion .farm-avatar.farm-friend{transition:none}.shop-team-strip small{display:block}@media (width<=700px),(width<=950px) and (height<=500px){.app-shell.town-view:has(.town-scene-mode .scene-shop){height:auto;min-height:100dvh}.app-shell.town-view:has(.scene-shop) main{height:auto;min-height:100dvh;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px));display:block}.town-page:has(.town-scene-mode .scene-shop){flex:none;display:block}.town-scene-mode .scene-shop .scene-stage{flex:none;height:520px;min-height:520px}.town-scene-mode .town-shop-pet:has(.with-staff){justify-items:center}.town-scene-mode .shop-companion.with-staff{width:150px;transform:translate(-25px)}.town-scene-mode .shop-companion.with-staff .pet-speech{width:210px;bottom:calc(100% + 5px);left:50%;right:auto;transform:translate(-50%)}.town-scene-mode .shop-companion.with-staff .pet-speech:after{bottom:-7px;left:calc(50% - 6px);right:auto}}.immersive-town .farm-avatar{z-index:8;bottom:auto;right:auto;top:calc(var(--pet-y)*1%);left:calc(var(--pet-x)*1%);pointer-events:none;will-change:left,top;width:16%;min-width:60px;max-width:125px;position:absolute;transform:translate(-50%,-86%)}.farm-avatar .companion-touch{pointer-events:auto}.farm-avatar .companion-art{width:100%;min-width:0;margin:0}.farm-avatar .companion-caption{display:none}.farm-avatar .farm-actor-body{transform-origin:bottom;width:100%}.farm-avatar[data-facing=left] .farm-actor-body{transform:scaleX(-1)}.farm-avatar .pet-speech{pointer-events:auto;width:clamp(150px,30vw,230px);bottom:85%;right:94%;transform:none}.farm-avatar[data-speech-side=right] .pet-speech{left:94%;right:auto}.farm-avatar .pet-speech:after{bottom:12px;right:-6px}.farm-avatar[data-speech-side=right] .pet-speech:after{left:-6px;right:auto}.farm-avatar .pet-speech-text{max-height:65px}.farm-avatar.is-walking .pet-speech{visibility:hidden}.farm-avatar.is-walking .companion-motion{animation:.32s ease-in-out infinite farm-walk-step!important}.farm-avatar.is-walking .companion-zzz{display:none}.farm-journey-status{color:#5a6941;z-index:8;background:#fff8dfef;border-radius:12px;max-width:50%;padding:6px 10px;font-size:12px;position:absolute;top:31%;left:28%}@keyframes farm-walk-step{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-4px)rotate(2deg)}}@media (width<=700px),(width<=950px) and (height<=500px){.town-scene-mode .scene-farm .scene-stage{min-height:520px}.town-scene-mode .farm-avatar{width:18%;min-width:58px;max-width:90px}.town-scene-mode .farm-avatar .pet-speech{width:clamp(140px,43cqw,185px);padding:6px 8px;bottom:88%}.town-scene-mode .farm-avatar .pet-speech-text{max-height:54px}.farm-journey-status{font-size:10px;top:30%;left:10%}}@media (width<=700px) and (height<=750px){.app-shell.town-view:has(.scene-farm){height:auto;min-height:100dvh}.town-view:has(.scene-farm) main{height:auto}.town-page:has(.scene-farm){flex:none}.town-scene-mode .scene-farm .scene-stage{flex:none;height:520px}}@media (prefers-reduced-motion:reduce){.farm-avatar.is-walking .companion-motion{animation:none!important}}.reduce-motion .farm-avatar.is-walking .companion-motion{animation:none!important}.farm-avatar .companion-island{display:none}.farm-avatar .pet-speech{margin-bottom:var(--bubble-lift,0px)}.farm-avatar[data-speech-side=center] .pet-speech{bottom:105%;left:50%;right:auto;transform:translate(-50%)}.farm-avatar[data-speech-side=center] .pet-speech:after{bottom:-7px;left:calc(50% - 6px);right:auto}.farm-avatar[data-speech-side=center] .pet-speech{bottom:75%}.farm-avatar[data-speech-side=center] .pet-speech-text{max-height:46px}@media (width<=360px){.town-scene-mode .farm-task-entry,.town-scene-mode .farm-task-entry small{line-height:1.2}.farm-avatar[data-speech-side=center] .pet-speech-text{max-height:34px}}.scene-preferences .scene-gift-entry{color:#715333;background:#fff2cc;border-color:#cbb27b;margin-right:auto;font-weight:650}.gift-panel{text-align:center}.gift-panel>h3{margin:5px 0;font-size:23px}.gift-eyebrow{letter-spacing:2px;color:#9c7a47;font-size:10px}.gift-allowance{background:#f0ecd8;border-radius:14px;justify-content:center;gap:30px;padding:10px;display:flex}.gift-allowance b{color:#6e824b;font-size:21px}.gift-stage{place-items:center;max-width:300px;height:150px;margin:12px auto;display:grid;position:relative}.gift-illustration{filter:drop-shadow(0 9px 5px #73551b22);width:120px;height:110px;position:relative}.gift-body{background:linear-gradient(105deg,#aab973,#768b50);border:2px solid #72844d;border-radius:0 0 12px 12px;height:76px;position:absolute;top:34px;left:8px;right:8px}.gift-body>i{background:#f4d795;width:20%;height:100%;position:absolute;top:0;left:40%}.gift-body>span{color:#7d6332;font-size:24px;position:absolute;top:24px;left:40%}.gift-lid{z-index:2;transform-origin:15% 100%;background:#bed18f;border:2px solid #7d9055;border-radius:6px;width:120px;height:25px;position:absolute;top:22px;left:0}.gift-lid>i{background:#f4d795;width:20%;height:25px;position:absolute;top:-2px;left:40%}.gift-lid:before,.gift-lid:after{content:"";border:5px solid #ddbc77;border-radius:60% 60% 15%;width:34px;height:21px;position:absolute;top:-24px;left:23px;transform:rotate(20deg)}.gift-lid:after{left:54px;transform:rotate(75deg)}.gift-spark{color:#cba14d;font-size:29px;position:absolute}.spark-one{top:15%;left:12%}.spark-two{bottom:20%;right:12%}.is-opening .gift-illustration{animation:.4s ease-in-out infinite gift-shake}.is-revealed .gift-lid{transition:transform .6s;transform:translateY(-22px)rotate(-13deg)}.is-revealed .gift-spark{animation:.8s ease-out gift-sparkle}.gift-reveal{background:#fff4d7;border:1px solid #e2cc9a;border-radius:20px;padding:16px;animation:.65s ease-out gift-reveal}.gift-reveal h3{margin:0;font-size:24px}.gift-prize-icon{font-size:36px}.gift-reveal p{margin:8px 0;font-family:Georgia,serif;font-size:19px}.gift-reveal button{margin-top:12px}.gift-task-progress{border-bottom:1px dashed #dbd3b8;padding-bottom:12px}.gift-record{text-align:left;border-bottom:1px solid #e5dfcb;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.gift-pool,.gift-history,.gift-pending{text-align:left;margin-top:18px}.gift-panel summary{cursor:pointer;padding:10px 0;font-weight:650}.gift-pending{background:#eef2df;border-radius:15px;padding:14px}.gift-pending h4{margin:0}.gift-pending p{font-size:12px}@keyframes gift-shake{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}@keyframes gift-sparkle{50%{opacity:.5;transform:scale(1.5)}}@keyframes gift-reveal{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.gift-panel *{transition:none!important;animation:none!important}}.reduce-motion .gift-panel *{transition:none!important;animation:none!important}.gift-nine-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.gift-nine-grid .gift-cell{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:126px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 4px #c7b98e;background:linear-gradient(145deg,#fff9e7,#f1e8c9)!important;border:2px solid #d5c69b!important;border-radius:16px!important;padding:12px 4px!important}.gift-nine-grid .gift-cell:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 7px #c7b98e}.gift-nine-grid .gift-cell.is-selected{background:#eaf2d7!important;border-color:#7b984f!important}.gift-nine-grid .gift-cell:disabled{opacity:.55}.gift-nine-grid .gift-cell.is-selected:disabled{opacity:1}.gift-cell b{font-size:14px}.gift-cell small{font-size:10px}.gift-mini{width:58px;height:51px;margin-top:6px;display:block;position:relative}.gift-mini-body{background:#92ab68;border:1px solid #6e8849;border-radius:0 0 6px 6px;position:absolute;inset:15px 4px 0}.gift-mini-lid{z-index:2;background:#b7ca87;border:1px solid #769254;border-radius:4px;height:13px;position:absolute;top:9px;left:0;right:0}.gift-mini-ribbon{z-index:3;background:#edcd88;width:10px;position:absolute;top:10px;bottom:0;left:24px}.gift-mini-lid:before,.gift-mini-lid:after{content:"";border:3px solid #d8b56b;border-radius:70% 70% 10%;width:15px;height:10px;position:absolute;top:-11px;left:13px;transform:rotate(15deg)}.gift-mini-lid:after{left:28px;transform:rotate(70deg)}.is-opening .gift-mini{animation:.4s infinite gift-shake}.is-revealed .gift-mini-lid{transition:transform .6s;transform:translateY(-8px)rotate(-10deg)}.gift-pick-hint{color:#6d7f4c;font-size:13px}@media (width<=700px){.gift-nine-grid{gap:8px}.gift-nine-grid .gift-cell{min-height:104px;padding:8px 2px!important}.gift-cell b{font-size:12px}}.scene-panel:has(.gift-panel){max-height:92dvh}.gift-panel .gift-grid-intro{margin:0 0 12px;font-size:14px}.gift-nine-grid{margin:14px 0}.gift-nine-grid .gift-cell{gap:2px;min-height:98px;line-height:1.2;padding:6px 4px!important}.gift-nine-grid .gift-cell b{font-size:12px;line-height:1.2}.gift-nine-grid .gift-cell small{font-size:10px;line-height:1.2}@media (height<=650px){.gift-nine-grid{gap:6px;margin:10px 0}.gift-nine-grid .gift-cell{min-height:80px;padding:4px!important}.gift-nine-grid .gift-mini{height:38px;margin-top:0;transform:scale(.72)}.gift-panel .gift-grid-intro{margin-bottom:8px;font-size:12px}.gift-panel .gift-allowance{padding:5px}.scene-panel:has(.gift-panel) .scene-panel-body{padding:12px}}.immersive-town .town-farm-world,.immersive-town .town-shop-scene{background-image:none}.scene-background{object-fit:fill;pointer-events:none;z-index:-1;width:100%;max-width:none;height:100%;position:absolute;inset:0}.scene-background-retry{z-index:10;color:#705b3c;white-space:nowrap;background:#fff9eaf5;border:1px solid #c9b58a;border-radius:14px;padding:10px 14px;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (width<=700px),(width<=950px) and (height<=500px){.scene-background{object-fit:cover}}.town-farm-world>.scene-background{transform-origin:100% 55%;transform:scale(1.28)}.town-layout{display:block}.immersive-town{width:min(100%,720px);margin:auto}.immersive-town button,.scene-panel button{min-height:44px}.scene-preferences{color:#7c805f;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.scene-preferences span{margin-right:auto}.scene-preferences button{color:#6c704e;background:#fffced;border:1px solid #dddac4;border-radius:20px;padding:5px 10px}.scene-tools{z-index:6;gap:10px;display:grid;position:absolute;top:24%;right:3%}.scene-tools button{color:#6f492b;background:linear-gradient(#fff4cb,#e6c48a);border:3px solid #b78a4f;border-radius:19px;place-items:center;min-width:54px;padding:8px 5px;font-size:23px;display:grid;box-shadow:0 4px #866039}.scene-tools span{font-size:11px;font-weight:650}.immersive-town .town-shop-sign{width:48%;left:26%}.immersive-town .town-shelf{gap:8px;width:65%;height:auto;display:flex;top:26%;left:16%}.town-shelf>button{color:#765633;background:#fff0d5;border:2px solid #bb8b50;border-radius:12px;flex:1;min-width:0;padding:5px 2px;box-shadow:0 3px #805331}.town-shelf>button span{font-size:32px;display:block}.town-shelf>button strong,.town-shelf>button small{font-size:11px;display:block}.immersive-town .town-shop-pet{z-index:2;width:38%;height:23%;top:40%;left:25%}.immersive-town .shop-speech{z-index:5;width:58%;font-size:13px;line-height:1.35;top:36%;left:17%}.immersive-town .shop-speech small{font-size:11px}.scene-counter-edge{z-index:3;pointer-events:none;background:linear-gradient(#f5cf91,#bf864f);border:2px solid #ab7745;border-radius:16px;width:94%;height:4%;position:absolute;top:61%;left:3%;box-shadow:0 8px 9px #66412b40}.immersive-town .town-counter{z-index:4;width:56%;top:67%;left:22%}.immersive-town .town-counter button{padding:9px;font-size:17px}.scene-guests{z-index:5;justify-content:center;gap:16px;display:flex;position:absolute;bottom:9%;left:9%;right:9%}.scene-guests .guest{color:#61472f;background:0 0;border:0;flex:1;justify-items:center;min-width:0;padding:0;animation:.7s ease-out guest-arrive;display:grid}.guest>span{border:3px solid #d6b97e;border-radius:50%;place-items:center;width:70px;height:70px;font-size:44px;display:grid;box-shadow:0 6px 5px #50351d33}.guest b{background:#fff5da;border-radius:9px;margin-top:5px;padding:4px 9px;font-size:12px}.guest small{background:#fff5da;border-radius:5px;padding:2px 5px;font-size:10px}.guest.served>span{filter:saturate(.6)}.scene-open{color:#7b542f;z-index:5;background:#fff1bf;border:2px solid #b7884d;border-radius:14px;width:70%;position:absolute;bottom:2%;left:15%}.scene-conversation{background:#fff8e7;border:1px solid #e6d6b3;border-radius:18px;align-items:center;gap:14px;margin-top:15px;padding:17px;display:flex}.scene-conversation>span{color:#d6a548;font-size:26px}.scene-conversation b{color:#705b3c;font:18px Georgia,serif}.scene-conversation small{margin-top:7px;display:block}.scene-panel{color:#455746;overscroll-behavior:contain;background:#fffdf5;border:2px solid #decca8;border-radius:25px;width:min(620px,100vw - 32px);max-height:80dvh;padding:0;position:fixed;box-shadow:0 18px 90px #30251e70}.scene-panel::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#2b382e69}.scene-panel-head{z-index:2;background:#f7efd9;border-bottom:1px solid #e4d8bf;justify-content:space-between;align-items:center;gap:10px;padding:16px 21px;display:flex;position:sticky;top:0}.scene-panel-head h2{margin:0;font-size:20px}.scene-panel-head button{color:#6b7453;background:#fffaf0;border:1px solid #ddceaf;border-radius:50%;width:44px}.scene-panel-body{padding:22px;line-height:1.7}.scene-panel-body>svg{width:160px;margin:auto;display:block}.scene-panel small{color:#7d826f;font-size:12px;line-height:1.7;display:block}.scene-panel p{line-height:1.8}.scene-panel button:not(.primary):not(.secondary):not(.text-link){color:#526748;background:#f5f6e8;border:1px solid #d7d9bd;border-radius:12px;padding:8px 12px}.scene-panel button:disabled{opacity:.45}.scene-panel .primary,.scene-panel .secondary{width:100%;margin:10px 0;padding:12px;font-size:14px}.scene-option{border-bottom:1px dashed #ddd8c5;align-items:center;gap:10px;padding:13px 0;display:flex}.scene-option>div,.scene-option>button:first-child{flex:1;min-width:0}.scene-option>span:first-child{font-size:23px}.scene-option button{flex-shrink:0}.scene-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.scene-tabs button[aria-pressed=true]{background:#dfebcd!important;border-color:#91ac6a!important}.scene-panel select{color:#526748;width:100%;font:inherit;background:#fff;border:1px solid #d5d9bf;border-radius:12px;padding:12px}.scene-customer-title{align-items:center;gap:12px;display:flex}.scene-customer-title>span{font-size:40px}.scene-order{background:#f1ecd7;border-radius:18px;padding:16px}.scene-order button{margin-top:10px}.dialogue-turn{background:#e9f0df;border-radius:22px;margin:20px 0;padding:18px}.dialogue-turn p{font-family:Georgia,serif;font-size:20px}.dialogue-choices{gap:10px;margin-top:14px;display:grid}.dialogue-choices button{text-align:left}.conversation-history{border-left:3px solid #dae3c8;margin-top:14px;padding-left:14px;font-size:13px}.letter-entry{text-align:left;width:100%;margin:10px 0;display:block}.letter-entry b{font:19px Georgia,serif}.letter-paragraph{border:1px solid #ede7d4;border-radius:16px;margin:15px 0;padding:16px}.letter-paragraph p:first-child{font:19px/1.9 Georgia,serif}.translation{color:#83836f;font-size:14px}.playing{background:#fff1b6!important;border-color:#d7ac45!important}.reduce-motion *{transition:none!important;animation:none!important}@keyframes guest-arrive{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:none}}@media (width<=650px){.scene-panel{border-bottom:0;border-radius:25px 25px 0 0;width:100%;max-width:none;max-height:74dvh;margin:auto 0 0}.scene-panel-body{padding:18px 18px calc(25px + env(safe-area-inset-bottom))}.scene-tools{gap:7px;top:23%;right:2%}.scene-tools button{border-width:2px;min-width:46px;padding:5px 3px;font-size:20px}.scene-tools span{font-size:10px}.immersive-town .shop-speech{padding:7px;font-size:11px}.immersive-town .shop-speech small{font-size:9px}.guest>span{border-width:2px;width:45px;height:45px;font-size:29px}.scene-guests{gap:8px;bottom:11%}.guest b{margin-top:3px;font-size:10px}.guest small{font-size:9px}.town-shelf>button span{font-size:24px}.town-shelf>button strong,.town-shelf>button small{font-size:9px}.immersive-town .town-counter button{padding:4px;font-size:13px}.scene-open{font-size:12px;min-height:35px!important}.scene-panel .scene-option{flex-wrap:wrap}.scene-option button{font-size:12px}.scene-preferences{font-size:11px}}@media (prefers-reduced-motion:reduce){.immersive-town *{transition:none!important;animation:none!important}}@media (width<=650px){.town-heading h1{margin:5px 0;font-size:20px}.town-heading .eyebrow,.town-heading p{display:none}.town-heading{margin-bottom:10px}.town-nav{margin-bottom:10px;padding-bottom:7px}.scene-preferences{margin-bottom:8px}.town-wallet>span{padding:7px;font-size:12px}.scene-panel{box-sizing:border-box}}.scene-guests{align-items:start;height:16%;top:77%;bottom:auto}.guest>span{width:54px;height:54px;font-size:34px}.guest b{padding:2px 8px;font-size:11px}.guest small{padding:1px 5px;font-size:9px}.scene-open{padding:3px;bottom:1%;min-height:32px!important}@media (width<=650px){.guest>span{width:32px;height:32px;font-size:23px}.guest b{padding:1px 5px;font-size:9px}.guest small{padding:1px 3px;font-size:8px}.scene-guests .guest{min-height:44px}.scene-open{min-height:28px!important}}.audio-diagnostics{color:#52634a;background:#fafbef;border:1px solid #d9dec9;border-radius:16px;margin:20px 0;padding:14px 18px;font-size:13px;line-height:1.6}.audio-diagnostics summary{cursor:pointer;font-weight:600}.audio-diagnostics p{margin:10px 0}.audio-diagnostics>div{flex-wrap:wrap;gap:8px;display:flex}.audio-diagnostics button{color:inherit;cursor:pointer;background:#fffdf5;border:1px solid #d9dec9;border-radius:10px;padding:8px 12px}.town{--town-ink:#354e3f;--town-muted:#77836d;color:var(--town-ink)}.town-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.town-heading h1{margin:10px 0;font-size:clamp(24px,2.7vw,36px)}.town-heading p,.town p{line-height:1.8}.town-heading p{color:var(--town-muted);margin:0}.town-wallet{flex-wrap:wrap;flex-shrink:0;gap:12px;display:flex}.town-wallet>span{background:#fff7dc;border:1px solid #edd698;border-radius:16px;padding:12px}.town-wallet>span+span{background:#eaf0e2;border-color:#d7e1ca}.town-nav{border-bottom:1px solid #e1e6d9;gap:10px;margin-bottom:25px;padding-bottom:16px;display:flex}.town-nav button{color:#75806d;font:inherit;background:0 0;border:0;border-radius:16px;padding:12px 18px}.town-nav button span{margin-right:9px}.town-nav .selected{color:#3d6144;background:#e3ecd8;font-weight:650}.town-layout{grid-template-columns:minmax(0,1fr) 265px;gap:22px;display:grid}.town-main{min-width:0}.town-aside{flex-direction:column;gap:18px;display:flex}.town-panel{background:#fffefa;border:1px solid #e8e8db;border-radius:23px;margin-bottom:22px;padding:24px}.town-aside .town-panel{margin-bottom:0;padding:21px}.town h3{margin:0 0 18px;font-size:19px}.town h3 small{margin-left:5px;font-size:12px;font-weight:400}.town small,.town-muted{color:#7a826f;font-size:12px;line-height:1.7}.town-farm-banner{background:linear-gradient(120deg,#e6edcf,#f3f1db);border-radius:26px;align-items:center;min-height:285px;margin-bottom:20px;padding:30px;display:flex;position:relative;overflow:hidden}.town-farm-banner h2{letter-spacing:-1px;margin:20px 0 12px;font-family:Georgia,serif;font-size:39px;font-weight:400;line-height:1.1}.town-farm-banner p{color:#718064;font-size:13px}.town-farm-banner button{color:#4b6949;font:inherit;background:#fff9e9;border:1px solid #cbd6b8;border-radius:12px;padding:10px 15px;font-size:13px}.town-pill{color:#5a734a;background:#ffffff70;border:1px solid #cdd8b8;border-radius:30px;padding:6px 10px;font-size:11px;display:inline-block}.town-farm-pet{align-self:end;width:45%;min-width:180px}.town-farm-pet .companion-art{width:100%;max-width:260px}.town-farm-pet .companion-caption{font-size:11px}.town-plot-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.town-plot{background:#fcf8ed;border:1px solid #e6dfcc;border-radius:24px;padding:23px 20px;overflow:hidden}.town-plot-head{justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.town-plot-head>span{color:#93836f}.town-plot-head>b{font-size:15px}.town-plot svg{width:100%;max-height:185px;margin:8px 0}.town-plot p{color:#7c846b;font-size:12px}.town-stage{justify-content:space-between;font-size:12px;display:flex}.town-growth{background:#e3e6d3;border-radius:10px;height:6px;margin:12px 0;overflow:hidden}.town-growth>i{background:#86a76c;border-radius:10px;height:100%;display:block}.town-plot>small{margin-top:12px;display:block}.town-seeds{gap:7px;display:grid}.town-seeds button{color:#496048;background:#fffdf6;border:1px solid #dedfc8;border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px;padding:8px 10px;font-size:12px;display:flex}.town-seeds small{margin-left:auto;font-size:10px}.town button:disabled{opacity:.45;cursor:not-allowed}.town button{cursor:pointer}.town-callout{padding:24px 8px}.town-callout b{font-size:14px}.town-callout p{color:#7d856e;font-size:12px}.town-stock>div{border-bottom:1px dashed #e4e7db;justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.town-stock{margin-bottom:16px}.town-event{color:#6c7965;border-left:2px solid #cfdbbb;padding-left:12px;font-size:12px}.town-ledger{border-bottom:1px solid #f0eee3;justify-content:space-between;gap:8px;padding:9px 0;font-size:12px;display:flex}.town-ledger b{white-space:nowrap;color:#57794f}.town-feedback{z-index:15;color:#8b621d;background:#fff4cd;border:1px solid #e8c46d;border-radius:14px;margin-bottom:18px;padding:12px 18px;font-size:14px;position:sticky;top:12px;box-shadow:0 5px 18px #a9995720}.town-shop-scene{background:#f4ead5;border:1px solid #e3d7b9;border-radius:27px;margin-bottom:22px;position:relative;overflow:hidden}.town-awning{background:repeating-linear-gradient(90deg,#8eab7c 0 37px,#f6efda 37px 74px);border-bottom:6px solid #d5d8b7;border-radius:0 0 16px 16px;height:30px}.town-shop-sign{text-align:center;padding:24px 15px 15px}.town-shop-sign small{letter-spacing:2px;font-size:9px}.town-shop-sign h2{color:#755436;margin:9px 0;font-size:28px}.town-shelf{background:#fff8e940;border-bottom:9px solid #cbae86;border-radius:10px;justify-content:center;gap:22px;margin:0 32px;padding:12px 6px;display:flex}.town-shelf>div{text-align:center;flex:1;max-width:100px}.town-shelf span{filter:drop-shadow(0 5px 3px #b5a27b40);font-size:43px;display:block}.town-shelf strong,.town-shelf small{margin:7px 0;font-size:12px;display:block}.town-shop-pet{width:220px;height:195px;margin:auto;position:relative}.town-shop-pet .companion-art{width:220px;margin:-7px auto 0}.town-shop-pet .companion-caption{display:none}.town-counter{text-align:center;background:linear-gradient(#b6c299 0 14px,#a3b084 14px);border-top:10px solid #dec7a4;padding:22px 15px;position:relative}.town-counter span{letter-spacing:4px;color:#fdf9e5;margin-bottom:8px;font-size:9px;display:block}.town-counter b{color:#fef9e7;font-size:13px}.town-section-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.town-section-head>b,.town-section-head>span{white-space:nowrap;font-size:13px}.town-recipes{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.town-recipes article{background:#f7f8ef;border-radius:15px;min-width:0;padding:15px 10px}.town-product{margin:5px 0 12px;font-size:40px;display:block}.town h4{margin:6px 0;font-size:15px}.town-recipes p{color:#758268;font-size:11px}.town-recipes .primary{width:100%;margin:12px 0;padding:10px 8px;font-size:11px}.town details{margin:14px 0;font-size:12px}.town summary{cursor:pointer;color:#67845a}.town-batch{background:#f2edda;border-radius:12px;margin-bottom:15px;padding:14px;font-size:12px}.town-order{border-bottom:1px solid #eeeadd;gap:15px;padding:20px 0;display:flex}.town-order>div{flex:1;min-width:0}.town-order p{margin:8px 0;font-family:Georgia,serif;font-size:17px}.town-order strong{font-size:13px}.town-order.served{opacity:.55}.town-customer{background:#f1eddb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:28px;display:flex}.town .text-link{color:#608253;font:inherit;background:0 0;border:0;padding:6px 0;font-size:12px;text-decoration:underline}.town-order-controls{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.town-order-controls select{color:#536647;background:#fafbf4;border:1px solid #dce2cc;border-radius:10px;min-width:0;max-width:100%;padding:9px;font-size:12px}.town-order-controls .primary{padding:9px 13px;font-size:12px}.town-market-intro,.town-language-intro{background:#f2eddc;border-radius:24px;margin-bottom:20px;padding:29px}.town-market-intro h2,.town-language-intro h2{margin:12px 0;font-size:25px}.town-market-intro p,.town-language-intro p{color:#7c806b;font-size:13px}.town-currency{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.town-currency button{color:#7d755b;background:#fffaf0;border:1px solid #ddd6b9;border-radius:12px;padding:10px 13px}.town-currency .selected{color:#76510a;background:#f6d879;border-color:#ddad35}.town-market-grid{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.town-market-grid article{background:#fffefa;border:1px solid #e6e7d9;border-radius:19px;min-width:0;padding:20px}.town-market-grid h3{margin:8px 0;font-size:16px}.town-market-grid p{color:#8a8c78;font-size:11px}.town-market-grid button{color:#8a631b;background:#fff4cf;border:1px solid #e5c578;border-radius:10px;width:100%;margin-top:8px;padding:10px 8px;font-size:11px}.town-market-grid button.secondary{color:#58764b;background:#edf3e3;border-color:#d4dfc4}.town-task-list{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px;display:grid}.town-task-list>button{text-align:left;color:#4c6448;background:#fffefa;border:1px solid #e0e5d3;border-radius:17px;align-items:center;gap:12px;padding:19px;display:flex}.town-task-list>button.selected{background:#e8efdc;border-color:#a6bd8b}.town-task-list>button>span{font-size:23px}.town-task-list b,.town-task-list small{display:block}.town-task-list b{margin-bottom:7px;font-size:14px}.town-task-list small{font-size:11px}.town-answers{gap:10px;margin:20px 0;display:grid}.town-answers button{color:#4e6844;text-align:left;background:#f6f9ef;border:1px solid #dce5cd;border-radius:12px;padding:12px 18px}.town-read{border-top:1px dashed #d7e1c7;margin-top:22px;padding-top:10px}.town-read p{font-family:Georgia,serif;font-size:22px}.town-read audio{max-width:100%;margin:16px 0;display:block}.town-read small{margin:12px 0;display:block}.town-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#263d3855;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.town-celebration{text-align:center;background:#fff9e8;border:2px solid #e5c573;border-radius:28px;max-width:460px;padding:38px;box-shadow:0 20px 80px #223d3820}.town-celebration>span{font-size:65px}.town-celebration h2{font-size:25px}.town-celebration p{color:#7b775d;font-size:14px}.town-loading{text-align:center;padding:70px}.breathing{animation:2s infinite alternate town-breathe}@keyframes town-breathe{to{opacity:.45}}@media (width<=1200px){.town-layout{grid-template-columns:minmax(0,1fr)}.town-aside{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.town-heading{flex-direction:column;align-items:start}}@media (width<=650px){.town-heading h1{font-size:25px}.town-nav{justify-content:space-between;gap:3px}.town-nav button{padding:10px 8px;font-size:12px}.town-nav button span{margin:0 0 7px;font-size:19px;display:block}.town-wallet>span{padding:9px;font-size:12px}.town-farm-banner{min-height:245px;padding:22px 18px}.town-farm-banner h2{font-size:30px}.town-farm-banner p{font-size:11px}.town-farm-pet{width:40%;min-width:130px;margin-right:-15px}.town-farm-banner .town-pill{font-size:9px}.town-plot-grid{gap:10px}.town-plot{padding:16px 12px}.town-plot-head{display:block}.town-plot-head b{margin-top:8px;display:block}.town-plot svg{max-height:130px;margin:0}.town-seeds button{padding:8px 6px;font-size:11px}.town-seeds small{width:100%;margin-left:0;font-size:9px}.town-stage{flex-wrap:wrap;gap:3px;font-size:10px}.town-aside{grid-template-columns:1fr}.town-panel{padding:18px}.town-recipes{grid-template-columns:1fr}.town-recipes article{padding:18px}.town-recipes .primary{font-size:13px}.town-recipes .town-product{float:right;font-size:40px}.town-market-grid{grid-template-columns:1fr 1fr;gap:10px}.town-market-grid article{padding:15px}.town-task-list{grid-template-columns:1fr}.town-shop-sign h2{font-size:24px}.town-shelf{gap:12px;margin:0 20px}.town-market-intro,.town-language-intro{padding:24px}.town-counter b{font-size:12px}.town-plot .secondary{padding:9px;font-size:11px}.town-order-controls{display:block}.town-order-controls select,.town-order-controls button{width:100%;margin:5px 0}}@media (prefers-reduced-motion:reduce){.breathing{animation:none}}.town-farm-world{isolation:isolate;aspect-ratio:3/4;background:#a7c76b url(/town-art/farm-v2.a40a67d3dd48.webp) 50%/100% 100% no-repeat;border:5px solid #b99360;border-radius:28px;width:100%;margin-bottom:28px;position:relative;overflow:hidden;box-shadow:0 12px 30px #5b68452b,inset 0 0 0 2px #fff5cd}.world-top{justify-content:space-between;align-items:start;gap:10px;display:flex;position:absolute;top:3%;left:4%;right:4%}.wood-sign{color:#fff1cf;background:linear-gradient(#ae7442,#8e592f);border:3px solid #d5aa6f;border-radius:13px;outline:1px solid #73502d;gap:5px;padding:13px 17px;display:grid;box-shadow:0 4px #664a32,0 9px 14px #283c2c40}.wood-sign small{letter-spacing:2px;color:#f6db9c;font-size:8px}.wood-sign strong{text-shadow:0 2px #6e472b;font-size:clamp(14px,2vw,23px)}.wood-sign span{color:#ffdfa9;font-size:10px}.world-round{width:68px;height:68px;font-size:25px;box-shadow:0 5px #916a37;color:#826330!important;background:#fff4d3!important;border:3px solid #d5b16d!important;border-radius:50%!important;padding:5px!important}.world-round small{color:#77542f;font-size:10px;display:block}.world-weather{color:#506835;background:#fffce7e8;border:1px solid #d0df9c;border-radius:12px;padding:10px 13px;font-size:13px;position:absolute;top:28%;left:5%;box-shadow:0 5px 12px #3d69362b}.world-weather small{color:#80905f;margin-top:5px;font-size:10px;display:block}.world-plots{grid-template-columns:1fr 1fr;gap:0;width:72%;display:grid;position:absolute;top:48%;left:9%;transform:rotate(-7deg)}.world-bed{filter:drop-shadow(0 10px 5px #3153293b);background:0 0;border:0;min-width:0;padding:0;transition:filter .2s,transform .2s;position:relative}.world-bed:hover{filter:drop-shadow(0 0 8px #ffeb9c);transform:translateY(-5px)}.world-bed:nth-child(2){margin-top:25%}.world-bed svg{width:100%;height:auto;transform:rotate(7deg)}.bed-sign{color:#fff2cf;text-shadow:0 1px #78522f;background:linear-gradient(#a57844,#886035);border:2px solid #d4ab6f;border-radius:7px;width:max-content;max-width:100%;margin:-18px auto 0;padding:8px 13px;font-size:12px;display:block;position:relative;transform:rotate(7deg);box-shadow:0 3px #664829}.bed-sign small{color:#f8df9d;margin-top:3px;font-size:9px;display:block}.world-companion{pointer-events:auto;width:25%;position:absolute;top:53%;right:5%}.world-companion .companion-art{width:100%;max-width:none;margin:0}.world-companion .companion-caption{display:none}.world-companion .companion-island{opacity:.3}.world-companion .companion-zzz{font-size:17px}.world-bottom{justify-content:center;gap:10px;display:flex;position:absolute;bottom:8%;left:6%;right:6%}.world-bottom button{color:#77542e;background:linear-gradient(#fff4cf,#f6d28a);border:3px solid #a87943;border-radius:14px;flex:1;padding:13px 6px;font-size:clamp(10px,1.3vw,15px);font-weight:650;box-shadow:0 4px #795c35,0 6px 10px #3b5f3433}.world-caption{text-align:center;color:#ffffe8;text-shadow:0 1px 4px #34502a;width:100%;font-size:11px;position:absolute;bottom:3%}.farm-manage{margin-top:25px}.farm-manage small{font-size:10px}.town-plot:target{outline:3px solid #d5b15b}.town-shop-scene{aspect-ratio:3/4;isolation:isolate;background:#ecd4aa url(/town-art/shop-v2.c6f895d48059.webp) 50%/100% 100% no-repeat;border:5px solid #a97f4a;border-radius:27px;box-shadow:0 12px 30px #86623626}.shop-scene-glow{pointer-events:none;background:radial-gradient(at 50% 10%,#ffe6aa18,#0000 65%);position:absolute;inset:0}.town-shop-sign{flex-direction:column;justify-content:center;gap:5px;width:40%;height:11%;padding:0;display:flex;position:absolute;top:9%;left:30%}.town-shop-sign small{color:#e2d3a5;letter-spacing:1px;font-size:clamp(6px,.7vw,9px)}.town-shop-sign h2{color:#fff4d9;text-shadow:0 2px 3px #24382c;margin:0;font-size:clamp(15px,1.8vw,23px);line-height:1.4}.town-shop-sign>span{color:#d8d5b1;letter-spacing:1px;font-size:clamp(6px,.8vw,10px)}.town-shelf{background:0 0;border:0;border-radius:0;align-items:end;gap:5%;width:56%;height:9%;margin:0;padding:0;position:absolute;top:25.5%;left:22%}.town-shelf>div{background:linear-gradient(#fff9e7ee,#f5ddb5e8);border:2px solid #bb8b50;border-radius:12px 12px 6px 6px;flex:1;min-width:0;max-width:none;padding:8px 3px 4px;box-shadow:0 3px 3px #693d2444}.town-shelf span{margin:0;font-size:clamp(25px,3.7vw,45px)}.town-shelf strong{color:#775335;margin:3px 0;font-size:clamp(8px,1vw,12px)}.town-shelf small{color:#89633a;margin:1px 0;font-size:clamp(7px,.9vw,11px)}.town-shop-pet{width:40%;height:23%;margin:0;position:absolute;top:39%;left:30%;overflow:hidden}.town-shop-pet .companion-art{width:100%;max-width:none;margin:0}.town-shop-pet .companion-island,.town-shop-pet .companion-caption{display:none}.shop-speech{text-align:center;color:#6c573b;background:#fff9e9f5;border:1px solid #d9bf8c;border-radius:18px;width:46%;padding:9px 10px;font-family:Georgia,serif;font-size:clamp(10px,1.4vw,16px);position:absolute;top:35.5%;left:27%;box-shadow:0 3px 8px #654b2622}.shop-speech:after{content:"";background:#fff9e9;border-bottom:1px solid #d9bf8c;border-right:1px solid #d9bf8c;width:11px;height:11px;position:absolute;bottom:-6px;left:48%;transform:rotate(45deg)}.shop-speech small{color:#9a835c;margin-top:3px;font-size:9px;display:block}.town-counter{text-align:center;background:0 0;border:0;width:56%;padding:0;position:absolute;top:76%;left:22%}.town-counter span{letter-spacing:3px;color:#f3e6bd;margin:0 0 8px;font-size:9px}.town-counter button{color:#86562e;background:linear-gradient(#ffe7a3,#f5c969);border:4px solid #8e643d;border-radius:14px;width:100%;padding:15px 12px;font-size:clamp(16px,2.3vw,25px);font-weight:700;box-shadow:0 5px #6d4e31,inset 0 0 0 2px #fef3c4}.town-counter button b{color:#86562e;font-size:inherit;margin-left:15px}.town-counter>small{color:#fff1cb;text-shadow:0 1px 2px #4b5939;margin-top:14px;font-size:10px;display:block}.language-controls{margin:15px 0 22px}.language-controls .town-currency{margin:0 0 15px}.language-filters{flex-wrap:wrap;gap:7px;display:flex}.language-filters button{color:#778364;background:#f1f3e8;border:1px solid #dce2cc;border-radius:30px;padding:8px 12px;font-size:11px}.language-filters .selected{color:#456b42;background:#e1ecd3;border-color:#aac88b}.language-date{color:#807a5b!important;font-size:11px!important}.town-task-list b em{color:#8c7857;background:#f0eadb;border-radius:5px;margin-left:6px;padding:3px 5px;font-size:9px;font-style:normal;font-weight:400;display:inline-block}.town-language-intro{background:linear-gradient(110deg,#e8edda,#f6eddb);border:1px solid #e3dfc6}@media (width<=650px){.town-farm-world,.town-shop-scene{border-width:3px;border-radius:20px}.wood-sign{border-width:2px;gap:3px;padding:8px 10px}.wood-sign strong{font-size:13px}.wood-sign small{letter-spacing:1px;font-size:6px}.wood-sign span{font-size:8px}.world-round{width:47px;height:47px;font-size:19px;border-width:2px!important}.world-round small{font-size:8px}.world-weather{padding:8px;font-size:10px;top:27%}.world-weather small{font-size:8px}.world-bottom{gap:6px}.world-bottom button{border-width:2px;border-radius:10px;padding:10px 2px;font-size:10px}.world-caption{font-size:9px}.bed-sign{margin-top:-7px;padding:6px 9px;font-size:10px}.bed-sign small{font-size:8px}.town-shop-sign h2{font-size:14px}.town-shop-sign small{font-size:5px}.town-shop-sign>span{font-size:6px}.town-shelf{gap:5%;margin:0}.town-shelf>div{border-width:1px;border-radius:8px 8px 4px 4px;padding:3px 1px}.town-shelf span{font-size:24px}.town-shelf strong{font-size:8px}.town-shelf small{font-size:7px}.shop-speech{padding:6px;font-size:9px}.shop-speech small{margin-top:1px;font-size:7px}.town-counter button{border-width:3px;border-radius:10px;padding:9px;font-size:17px}.town-counter span{letter-spacing:2px;margin-bottom:5px;font-size:6px}.town-counter>small{margin-top:9px;font-size:8px}.language-controls .town-currency button{padding:9px;font-size:11px}.language-filters button{padding:7px 9px;font-size:10px}.farm-manage{gap:8px}.farm-manage h3{font-size:16px}}.town-daily-phrases{background:#fff8e8;border:1px solid #e6d6b3;border-radius:22px;margin:24px 0;padding:23px}.town-daily-phrases h3{margin:9px 0 15px}.town-daily-phrases>div{border-top:1px dashed #e1d7bd;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.town-daily-phrases p{color:#605439;margin:0;font-family:Georgia,serif;font-size:17px}.town-daily-phrases p small{color:#948263;margin-top:3px;font-family:inherit;font-size:11px;display:block}.town-daily-phrases button{color:#806236;background:#ffefc9;border:1px solid #d6c29a;border-radius:12px;flex-shrink:0;padding:9px 12px}.town-daily-phrases>small{color:#9a8b6e;font-size:10px}@media (width<=650px){.town-daily-phrases{padding:18px}.town-daily-phrases p{font-size:15px}.town-daily-phrases button{padding:8px 10px;font-size:11px}}:root{color:#2e4439;font-synthesis:none;--green:#367d5f;--muted:#8a978c;--line:#e7ebe1;--cream:#f8f9f3;background:#f8f9f3;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;transition:background .2s,transform .2s}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #8bc99d}button:not(:disabled):active{transform:translateY(1px)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.9px;margin-bottom:10px;font-size:29px;font-weight:650;line-height:1.5}h2{letter-spacing:-.3px;font-size:20px;font-weight:650}h3{font-size:16px;font-weight:600}p{line-height:1.8}small{font-size:12px}svg{width:100%;height:100%;display:block}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:10;background:#fcfcf7;flex-direction:column;width:225px;padding:34px 24px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;display:flex}.brand b{letter-spacing:2px;font-size:23px;font-weight:700}.brand small{letter-spacing:2px;color:#8c9a8d;margin-top:4px;font-size:8px;font-weight:700;display:block}.brand-mark{color:#f1f7dd;background:#37795a;border-radius:13px;place-items:center;width:40px;height:40px;font-family:serif;font-size:23px;display:grid}.side-note{color:#939c8e;letter-spacing:1px;margin:21px 0 43px;font-size:11px}.sidebar nav{gap:12px;display:grid}.sidebar nav button{text-align:left;color:#819081;background:0 0;border-radius:12px;align-items:center;gap:15px;padding:14px 17px;font-weight:500;display:flex}.sidebar nav button span{text-align:center;width:24px;font-size:21px;line-height:1}.sidebar nav button.active{color:#3b7656;background:#e7efdf;font-weight:650}.sidebar nav button:hover{background:#eef3e9}.side-bottom{border-bottom:1px solid var(--line);margin-top:auto;padding:45px 15px 26px}.side-bottom p{color:#708567;margin:10px 0;font-size:18px;line-height:1.8}.tiny-leaf{font-size:25px}.side-bottom small{color:#9ba391;font-size:10px}.profile{align-items:center;gap:10px;padding-top:23px;display:flex}.avatar{color:#958b69;background:#eceada;border-radius:50%;place-items:center;width:36px;height:36px;font-size:13px;display:grid}.avatar.small{width:32px;height:32px}.profile strong{font-size:11px}.profile small{color:#9a9f92;margin-top:5px;font-size:10px;display:block}main{width:calc(100% - 225px);margin-left:225px}.topbar{border-bottom:1px solid var(--line);background:#fcfcf9;justify-content:space-between;align-items:center;height:82px;padding:0 44px;display:flex}.breadcrumb{color:#8d988d;font-size:12px}.breadcrumb span{color:#bbc2b3;margin:0 14px}.header-stats{color:#a58c51;align-items:center;gap:26px;font-size:12px;display:flex}.header-stats b{margin:0 5px;font-size:16px}.mobile-brand{display:none}.page{max-width:1250px;margin:0 auto;padding:38px 44px 25px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:2.4px;color:#8c9f82;margin-bottom:10px;font-size:9px;font-weight:650;display:block}.page-heading p{color:#8b9787;margin:0;font-size:13px}.leaf-dot{color:#c1aa66;margin-left:15px;font-size:24px}.date-label{color:#92a08c;white-space:nowrap;padding-top:25px;font-size:11px}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:24px;display:grid}.learning-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:28px 30px;box-shadow:0 5px 15px #43552d03}.card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.tag{letter-spacing:1px;color:#618459;background:#edf3e8;border-radius:5px;padding:5px 9px;font-size:10px}.tag.soft{background:#ffffff75}.subtle{color:#919b8b;font-size:12px;line-height:1.8}.lesson-kicker{color:#6e8b64;letter-spacing:1px;margin-top:28px;font-size:11px}.lesson-kicker span{color:#a6ac9c}.learning-card h2{color:#344d3a;margin:8px 0;font-family:Georgia,serif;font-size:28px;line-height:1.4}.learning-card>p{color:#929c8a;margin-bottom:25px;font-size:12px}.stage-track{justify-content:space-between;margin:24px 0 30px;display:flex;position:relative}.stage-track:before{content:"";background:#e5eadf;height:1px;position:absolute;top:16px;left:20px;right:20px}.stage-track>div{z-index:1;flex-direction:column;align-items:center;gap:8px;width:65px;display:flex}.stage-track span{color:#bbc1b3;background:#fff;border:1px solid #e4e8de;border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;display:grid}.stage-track small{color:#b0b7a8;font-size:10px}.stage-track .current span{color:#fff;background:#528568;border-color:#528568;box-shadow:0 0 0 5px #edf4e9}.stage-track .current small,.stage-track .done small{color:#628261}.stage-track .done span{color:#427759;background:#edf4e9}.next-task{background:#f8f9f3;border-radius:11px;align-items:center;gap:13px;margin-bottom:19px;padding:15px 13px;display:flex}.round-icon{color:#729067;background:#e8eee0;border-radius:50%;place-items:center;width:33px;height:33px;font-size:18px;display:grid}.next-task strong{margin-bottom:6px;font-size:12px;display:block}.next-task small{color:#939e8d;font-size:10px}.primary{color:#fff;background:#3b7b5d;border-radius:10px;padding:13px 21px;font-size:13px;font-weight:550;box-shadow:0 3px #255c4255}.primary:hover:not(:disabled){background:#2e6c50}.wide{justify-content:center;align-items:center;gap:12px;width:100%;display:flex}.wide>span{margin-left:auto}.reward-note{text-align:center;color:#aa9d72;margin-top:14px;font-size:10px}.pet-card{background:#edf2df;border:1px solid #e3e9d5;border-radius:20px;padding:25px 26px;position:relative;overflow:hidden}.pet-card .card-top h3{margin:10px 0 0;font-size:21px}.pet-card h3 small,.pet-card h2 small{color:#869b78;margin-left:8px;font-size:11px;font-weight:400}.status-dot{color:#829571;white-space:nowrap;font-size:10px}.status-dot:before{content:"";background:#88a574;border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.pet-art{aspect-ratio:360/280;width:100%;max-width:350px;margin:-9px auto -4px}.pet-body{animation:4s ease-in-out infinite breathe}.pet-art.sleepy .pet-body{animation-duration:7s}.pet-art.large{max-width:440px}.pet-message{color:#7b9272;text-align:center;margin:0 0 20px;font-size:11px}.energy-row{color:#7b8e70;justify-content:space-between;align-items:center;font-size:11px;display:flex}.energy-row b{color:#637e58;font-size:12px}.energy-row small{color:#9ca78c;font-size:10px;font-weight:400}.meter{background:#dce5c9;border-radius:8px;height:6px;margin:9px 0 22px;overflow:hidden}.meter i{background:#8fad72;border-radius:8px;height:100%;transition:width .6s;display:block}.secondary{color:#66845c;background:#fcfdf7;border:1px solid #dce5d2;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:500}.secondary:hover:not(:disabled){background:#f0f5e7}.section-title{justify-content:space-between;align-items:center;gap:12px;margin:28px 0 16px;display:flex}.section-title h2{margin:0;font-size:16px}.section-title h3{margin:0;font-size:14px}.section-title>span{color:#9da591;font-size:10px}.stat-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:15px;padding:22px 20px;display:flex}.stat-icon{border-radius:13px;place-items:center;width:43px;height:43px;font-size:22px;display:grid}.stat-icon.green{color:#849c6d;background:#edf3e7}.stat-icon.orange{color:#ba9b63;background:#fcf0e0}.stat-icon.purple{color:#a39aba;background:#f0edf6}.stat b{font-size:25px;font-weight:600}.stat b small{color:#8f9986;margin-left:7px;font-size:10px;font-weight:400}.stat p{color:#9ba38f;margin:5px 0 0;font-size:10px}.stat-decoration{color:#bdc6b1;margin-left:auto;font-size:16px}.bottom-grid{grid-template-columns:1.5fr 1fr;gap:22px;margin-top:24px;display:grid}.white-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:23px 25px}.white-card>.section-title{margin-top:0}.white-card>h2{font-size:16px}.empty-inline{color:#96a08e;align-items:center;gap:17px;padding:16px 0;font-size:12px;line-height:1.8;display:flex}.empty-inline>span{font-size:35px}.empty-inline strong{color:#7d8e71;font-size:11px;font-weight:500}.empty-inline p{color:#a6ad9d;margin:6px 0 0;font-size:10px}.quote-card{background:#f1efdf;border:1px solid #eae7d3;border-radius:16px;padding:23px 28px}.quote-card>span{letter-spacing:2px;color:#aa9d79;font-size:9px}.quote-card p{color:#877c5e;margin:13px 0;font-family:Georgia,Songti SC,serif;font-size:17px;line-height:1.9}.quote-card small{color:#b1a788;font-size:9px}footer{color:#aeb5a3;justify-content:space-between;gap:15px;margin-top:32px;font-size:9px;line-height:1.8;display:flex}.mobile-nav{display:none}.error{color:#a4593a;background:#fff0e9;border:1px solid #f1d7c6;border-radius:10px;margin:14px 30px;padding:12px 16px;font-size:12px;line-height:1.7}.error button{color:inherit;background:0 0;border:0;margin-left:15px;text-decoration:underline}.toast{color:#fff;z-index:100;background:#355f49;border-radius:12px;max-width:90vw;padding:14px 26px;font-size:13px;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #294c3425}.loading{text-align:center;color:#95a18a;padding:100px}.notice{color:#8b967f;background:#eff2e6;border-radius:10px;margin-bottom:25px;padding:15px 20px;font-size:12px;line-height:1.8}.book-section{margin:30px 0}.book-section h2{align-items:center;gap:15px;font-size:18px;display:flex}.book-section h2 small{color:#9ca98e;margin-left:auto;font-size:10px;font-weight:400}.book-num{color:#779564;background:#e4eddb;border-radius:9px;padding:8px 11px;font-size:13px}.b1{color:#b39d6c;background:#f3e8cf}.b2{color:#a299b5;background:#e9e6f0}.b3{color:#8ba8b4;background:#e3edf0}.lesson-list{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden}.lesson-row{text-align:left;width:100%;color:inherit;background:0 0;border-bottom:1px solid #eef0e8;align-items:center;gap:18px;padding:20px 22px;display:flex}.lesson-row:last-child{border-bottom:0}.lesson-row:hover{background:#f4f7ee}.lesson-circle{color:#99ac87;border:1px solid #dce5d2;border-radius:50%;place-items:center;width:39px;height:39px;font-size:12px;display:grid}.lesson-circle.complete{background:#e3eed9}.lesson-row strong{font-family:Georgia,serif;font-size:17px;font-weight:500}.lesson-row small{color:#9fa893;margin-top:7px;font-size:10px;display:block}.lesson-status{color:#8aa078;margin-left:auto;font-size:10px}.home-grid{grid-template-columns:330px 1fr;gap:28px;display:grid}.home-pet{align-self:start}.home-pet>.subtle{font-size:11px}.shop-grid{grid-template-columns:repeat(2,1fr);gap:15px;display:grid}.shop-card{border:1px solid var(--line);text-align:center;background:#fff;border-radius:14px;padding:22px}.item-art{background:#f5f5e9;border-radius:15px;width:80px;margin:0 auto 16px;padding:12px;font-size:40px;display:block}.shop-card h3{margin-bottom:7px;font-size:14px}.shop-card p{color:#9da58f;min-height:18px;font-size:10px}.price{color:#aa955f;margin:15px 0;font-size:16px}.price small{font-size:10px}.shop-card button{width:100%;font-size:11px}.feed-button{color:#658153;background:#e6efd9;border-radius:7px;margin-top:10px;padding:9px}.badges{flex-wrap:wrap;gap:15px;display:flex}.badge{text-align:center;background:#fbfaf2;border:1px solid #efebda;border-radius:12px;width:150px;padding:20px 12px}.badge>span{color:#bda86d;margin-bottom:10px;font-size:30px;display:block}.badge strong{font-size:11px;line-height:1.7;display:block}.badge small{color:#b2aa8b;margin-top:7px;font-size:9px;display:block}.history-row{border-bottom:1px solid #eff1e8;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;font-size:11px;display:flex}.history-row strong{font-size:11px;font-weight:500}.history-row small{color:#a0a992;margin-top:6px;font-size:9px;display:block}.history-row b{color:#7b8d69;font-size:14px}.history-row .positive{color:#3e8c65}.welcome{max-width:1000px;margin:0 auto;padding:36px}.welcome-card{text-align:center;max-width:500px;margin:40px auto}.welcome-card h1{font-size:40px;font-weight:600;line-height:1.6}.welcome-card>p{color:#8d9b85;font-size:14px}.welcome-card .pet-art{margin:-30px auto 0}.welcome-card>.primary{padding:16px 50px}.welcome-card>small{color:#a6af9b;margin-top:20px;font-size:10px;display:block}.back{color:#849577;background:0 0;margin-bottom:25px;padding:0;font-size:12px}.learning-layout{grid-template-columns:minmax(0,1fr) 260px;gap:25px;display:grid}.practice-card{padding:24px 27px}.practice-tabs{border-bottom:1px solid var(--line);gap:6px;margin-bottom:24px;padding-bottom:17px;display:flex}.practice-tabs button{color:#9ba88f;background:0 0;border-radius:8px;flex:1;padding:10px 4px;font-size:12px}.practice-tabs button span{margin-bottom:6px;font-size:9px;display:block}.practice-tabs .selected{color:#527a4e;background:#eaf1df}.audio-box{text-align:center;background:#f3f6eb;border:1px solid #e8eddf;border-radius:13px;padding:20px}.audio-label{color:#8c9c7e;justify-content:space-between;font-size:11px;display:flex}.audio-label small{font-size:10px}.waveform{justify-content:center;align-items:center;gap:3px;height:70px;margin:10px 0;display:flex}.waveform i{background:#d0dec0;border-radius:4px;width:4px}.audio-controls{justify-content:center;align-items:center;gap:20px;margin-bottom:18px;display:flex}.circle-button{color:#8b9e7b;background:0 0;border-radius:50%;width:30px;height:30px;font-size:22px}.circle-button.enabled{color:#38764f;background:#dbe8cc}.play-button{color:#fff;background:#438060;border-radius:50%;width:49px;height:49px;box-shadow:0 4px #245d3e30}.audio-controls select{color:#7b906b;background:0 0;border:1px solid #d8e1cb;border-radius:6px;padding:4px;font-size:11px}.audio-box>small{color:#97a68a;font-size:10px}.text-button{color:#749263;text-underline-offset:3px;background:0 0;border:0;padding:10px 0;font-size:11px;text-decoration:underline}.button-row{align-items:center;gap:18px;margin:16px 0;display:flex}.button-row .subtle{margin-left:auto;font-size:10px}.sentence-nav{gap:8px;margin:14px 0;display:flex}.sentence-nav button{color:#98a48c;background:#fff;border:1px solid #e4e9da;border-radius:7px;padding:7px 12px;font-size:10px}.sentence-nav button.selected{color:#5f8455;background:#edf3e4;border-color:#cbdcbc}textarea,input:not([type=checkbox]){color:#43543c;background:#fcfdf8;border:1px solid #e0e6d7;border-radius:9px;width:100%;padding:13px 15px}textarea{resize:vertical;min-height:135px;font-size:14px;line-height:1.8}input:not([type=checkbox]){font-size:11px}textarea::placeholder,input::placeholder{color:#afb7a3}.input-foot{color:#a6b095;margin:7px 0 20px;font-size:9px;line-height:1.8}.reference{background:#f6f7ed;border-left:3px solid #bbcfaa;border-radius:5px;margin:18px 0;padding:16px 19px;font-family:Georgia,serif;font-size:17px;line-height:1.8}.reference p:last-child{margin-bottom:0}.reference small{color:#91a181;font-family:inherit;font-size:11px}.dictation-result{background:#f6f8f0;border-radius:12px;margin-top:20px;padding:18px}.dictation-result strong{font-size:12px}.dictation-result strong>span{float:right;color:#7f985f}.dictation-result p{line-height:2.2}.dictation-result>small{color:#97a584;font-size:10px}.word.equal{color:#4d885d}.word.missing,.word.changed{color:#b78748;border-bottom:1px dashed #d3ae7f}.word.extra{color:#bc8172;text-decoration:line-through}.word small{font-size:9px}.practice-aside .pet-card{text-align:center;padding:10px 20px 22px}.practice-aside .pet-card h3{font-size:14px}.practice-aside .pet-card p{color:#8ea17c;margin:0;font-size:11px}.practice-aside .white-card{margin-top:20px}.journey-step{align-items:center;gap:14px;margin:20px 0;display:flex}.journey-step>span{color:#9cad8c;border:1px solid #dce6d2;border-radius:50%;place-items:center;width:26px;height:26px;font-size:11px;display:grid}.journey-step>span.complete{color:#59854b;background:#e4efda}.journey-step p{color:#829573;margin:0;font-size:12px}.meaning{border-bottom:1px solid var(--line);padding:17px 0;line-height:1.7}.meaning summary{cursor:pointer;font-family:Georgia,serif;font-size:15px}.meaning p{color:#789066;margin:15px 0 7px;font-size:12px}.meaning small{color:#9aa98d;font-size:11px}.meaning:last-of-type{margin-bottom:20px}.checkbox{color:#819473;align-items:flex-start;gap:9px;margin:18px 0;font-size:11px;line-height:1.9;display:flex}.checkbox input{accent-color:#4f885f;margin-top:4px}.recitation-hidden{text-align:center;color:#91a37e;background:#f6f8f0;border:1px dashed #d9e3cd;border-radius:12px;margin:16px 0;padding:40px}.recitation-hidden>span{font-size:30px}.recitation-hidden p{margin:12px 0 0}.recitation-hidden small{font-size:11px}.recording{background:#b2785f}.record-player{width:100%;margin:20px 0 10px}.record-meta{color:#9ba98f;font-size:10px;line-height:1.8}.record-meta button{margin-left:15px}.review-card{padding:15px 0}.review-card>p{color:#9ba98e;font-size:11px}.review-card .primary,.review-card .secondary{padding:10px 13px;font-size:11px}@keyframes breathe{0%,to{translate:0}50%{translate:0 -3px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width>=1500px){.page{padding-top:48px}.dashboard-grid{grid-template-columns:1.4fr 1fr}.learning-card{padding:35px 38px}.pet-art{max-width:340px}}@media (width<=1150px){.sidebar{width:195px;padding:28px 18px}.sidebar nav button{padding:13px 12px}main{width:calc(100% - 195px);margin-left:195px}.page{padding:30px 28px}.topbar{padding:0 28px}.date-label{display:none}h1{font-size:25px}.dashboard-grid{grid-template-columns:1.25fr 1fr;gap:18px}.learning-card{padding:24px}.pet-card{padding:23px 20px}.stat{gap:10px;padding:18px 15px}.stat-icon{width:35px;height:35px}.stat-decoration{display:none}.home-grid{grid-template-columns:280px 1fr;gap:18px}.learning-layout{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.practice-card{padding:20px}}@media (width<=900px){.sidebar{width:175px;padding:25px 15px}.sidebar nav button{gap:10px;font-size:12px}.brand b{font-size:20px}.brand-mark{width:34px;height:34px}main{width:calc(100% - 175px);margin-left:175px}.page{padding:28px 22px}.dashboard-grid{grid-template-columns:1fr}.pet-card:not(.home-pet){padding:22px}.dashboard-grid .pet-card{display:block}.home-grid{grid-template-columns:1fr}.home-pet .pet-art{max-width:280px}.stat-grid{gap:12px}.stat{display:block}.stat-icon{margin-bottom:12px}.stat b{font-size:23px}.bottom-grid,.learning-layout{grid-template-columns:1fr}.practice-aside{display:none}footer{display:block}footer span{margin-top:5px;display:block}.learning-card h2{font-size:27px}.welcome-card h1{font-size:35px}}@media (width<=620px){.sidebar{display:none}main{width:100%;margin:0;padding-bottom:80px}.topbar{height:66px;padding:0 22px}.breadcrumb{display:none}.mobile-brand{font-size:18px;font-weight:650;display:inline}.header-stats{gap:15px}.page{padding:28px 20px}.eyebrow{letter-spacing:1.5px;font-size:8px}h1{font-size:24px}.page-heading p{font-size:11px}.page-heading{margin-bottom:25px}.leaf-dot{margin-left:8px;font-size:20px}.learning-card{padding:23px 20px}.learning-card h2{font-size:25px}.stat-grid{gap:9px}.stat{border-radius:12px;padding:15px 12px}.stat b{font-size:25px}.stat p{font-size:9px}.stat-icon{width:30px;height:30px;font-size:18px}.stat b small{font-size:9px}.bottom-grid{gap:15px}.white-card{padding:20px}.quote-card{padding:20px 24px}.mobile-nav{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:20;padding:9px 10px max(13px,env(safe-area-inset-bottom));background:#fdfef9f5;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#9ba78d;background:0 0;place-items:center;gap:5px;width:20%;padding:0;font-size:10px;display:grid}.mobile-nav button span{font-size:23px}.mobile-nav .active{color:#417d55}.lesson-row{gap:12px;padding:18px 14px}.lesson-row strong{font-size:15px}.lesson-status{text-align:right;min-width:40px;font-size:9px}.lesson-row small,.book-section h2 small{font-size:9px}.book-section h2{gap:10px;font-size:16px}.shop-card{padding:20px 15px}.shop-card p{min-height:34px;font-size:10px}.home-grid{gap:10px}.pet-art.large{max-width:300px}.practice-card{padding:18px}.audio-controls{gap:14px}.sentence-nav{gap:6px}.sentence-nav button{padding:8px 9px;font-size:10px}.practice-tabs button{font-size:11px}.button-row{gap:12px}.button-row .subtle{font-size:9px}.back{margin-bottom:20px}.waveform{gap:2px}.waveform i{width:3px}.notice{padding:12px 15px;font-size:10px}.error{margin:12px 20px}.toast{min-width:200px;padding:13px 20px;font-size:12px;top:14px}.welcome{padding:25px}.welcome-card{margin:45px auto}.welcome-card h1{font-size:32px}.welcome-card .pet-art{margin:0 auto}.welcome-card>.primary{padding:15px 30px}}.gold-coin{color:#905604;background:linear-gradient(135deg,#ffe996,#f7bc28 58%,#db8c0c);border:2px solid #e6a51e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-style:normal;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 2px #ffe28b,0 2px #bd790b}.gold-coin.large{width:58px;height:58px;font-size:30px}.gold-wallet{color:#9a600c;background:#fff5d5;border-radius:24px;align-items:center;gap:9px;padding:9px 16px;font-size:24px;font-weight:800;display:flex}.gold-wallet small{font-size:12px}.lab-page{max-width:1050px;padding-bottom:220px}.lab-heading{justify-content:space-between;align-items:center;display:flex}.lab-tabs{background:#fff;border-radius:20px;grid-template-columns:repeat(4,1fr);gap:5px;margin:24px 0 16px;padding:6px;display:grid}.lab-tabs button{color:#6d7d6e;background:0 0;border:0;border-radius:14px;padding:15px 6px;font-weight:700}.lab-tabs small{margin-bottom:6px;font-size:11px;display:block}.lab-tabs .selected{color:#355f3f;background:#e3eedb}.lab-reward-info{color:#8d5910;background:#fff7df;border:1px solid #eed9a0;border-radius:16px;align-items:center;gap:12px;padding:14px 18px;display:flex}.lab-reward-info small{margin-top:4px;font-size:11px;display:block}.lab-reward-info b{margin-left:auto;font-size:12px}.lab-options{flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0;display:flex}.segmented{background:#e9eee6;border-radius:12px;padding:4px;display:flex}.segmented button{color:#5b705b;background:0 0;border:0;border-radius:9px;padding:9px 14px}.segmented .active{background:#fff;box-shadow:0 2px 5px #203c1420}.lab-sentences{gap:14px;display:grid}.sentence-card{background:#fff;border:2px solid #0000;border-radius:20px;padding:22px;transition:background .2s,border-color .2s}.sentence-card.active{background:#edf7f1;border-color:#80b7a4;box-shadow:0 4px 18px #477d6010}.sentence-card-top{justify-content:space-between;gap:8px;display:flex}.sentence-card-top button{color:#788875;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.sentence-card time{color:#4c6551;background:#dfe9df;border-radius:7px;padding:4px 8px;font:600 12px monospace}.sentence-badges{color:#46805d;font-size:11px}.sentence-en{color:#203f31;overflow-wrap:anywhere;margin:18px 0 10px;font-size:23px;font-weight:650;line-height:1.55}.sentence-zh{color:#6c7d6f;margin:0 0 12px;font-size:16px;line-height:1.65}.sentence-actions{gap:10px;display:flex}.sentence-actions button{color:#457455;background:#f8fbf7;border:1px solid #c9dbca;border-radius:9px;padding:7px 12px;font-size:12px}.hidden-english{color:#81947e;letter-spacing:1px;font-size:18px}.recite-banner{background:#e7efdf;border-radius:16px;gap:8px;margin-bottom:16px;padding:20px;display:grid}.recite-banner span{color:#677760;font-size:13px}.recite-banner button{justify-self:start;padding:0}.folded .sentence-en,.folded .sentence-zh,.folded .sentence-actions{display:none}.recording-panel,.optional-dictation{margin-top:20px}.recording-panel p,.source-note{color:#76816f;font-size:12px;line-height:1.7}.source-note{margin-top:25px}.gold-action{color:#fff;background:#bb811d}.lab-dock{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;background:#fffffff2;border:1px solid #dde4d4;border-radius:24px;width:min(680px,100vw - 280px);padding:14px 24px;position:fixed;bottom:18px;left:calc(50vw + 120px);transform:translate(-50%);box-shadow:0 8px 40px #24442a20}.dock-options,.dock-main{justify-content:space-between;align-items:center;gap:14px;display:flex}.dock-options{color:#7a8a72;margin-bottom:10px;font-size:12px}.dock-options button,.dock-main>button:not(.dock-play){color:#4e775c;background:0 0;border:0}.dock-options select{background:#edf2e6;border:0;border-radius:7px;padding:5px}.dock-play{color:#fff;background:#438768;border:0;border-radius:50%;width:56px;height:56px;font-size:22px;box-shadow:0 4px #c8ddcd}.coin-reward{z-index:100;text-align:center;color:#996110;pointer-events:none;background:#fff8de;border:2px solid #ebc467;border-radius:24px;min-width:250px;max-width:90vw;padding:22px 28px;animation:.35s ease-out reward-pop;position:fixed;top:95px;left:50%;transform:translate(-50%);box-shadow:0 12px 45px #885c1929}.coin-reward strong{vertical-align:middle;margin-left:14px;font-size:42px;display:inline-block}.coin-reward strong small{margin-left:5px;font-size:14px}.coin-reward p{margin:12px 0 5px;font-size:14px}.coin-reward>small{font-size:11px}.flying-coin{animation:1.2s ease-in .5s forwards coin-fly;position:absolute;top:20px;left:40%}.coin-reward:not(.earned){color:#57714c;background:#f5f8ef;border-color:#cbd9be}.header-stats>span:first-child{color:#8e5a0e;background:#fff3cf;border-color:#edd08e;align-items:center;gap:7px;display:flex}@keyframes reward-pop{0%{transform:translate(-50%,15px)scale(.9)}to{transform:translate(-50%)scale(1)}}@keyframes coin-fly{to{opacity:0;transform:translate(170px,-110px)scale(.4)}}@media (width<=900px){.lab-dock{width:calc(100% - 32px);bottom:84px;left:50%}.lab-page{padding-bottom:245px}.sentence-card{padding:17px}.sentence-en{font-size:20px}.lab-reward-info{padding:12px}.lab-reward-info b{max-width:95px}.lab-tabs button{font-size:13px}.coin-reward{top:80px}.lab-options{gap:5px}}@media (prefers-reduced-motion:reduce){.coin-reward,.flying-coin{animation:none}.flying-coin{display:none}}@media (width<=400px){.lab-tabs button{white-space:nowrap;padding:12px 3px;font-size:12px}.lab-reward-info{gap:8px;font-size:12px}.lab-reward-info b{font-size:11px}}.gold-wallet{position:relative}.wallet-increment{color:#ad720d;pointer-events:none;white-space:nowrap;font-size:19px;font-style:normal;animation:2.8s forwards wallet-increment;position:absolute;top:100%;right:8px}@keyframes wallet-increment{0%,65%{opacity:1;transform:translateY(3px)}to{opacity:0;transform:translateY(-12px)}}@media (prefers-reduced-motion:reduce){.wallet-increment{animation:2.8s forwards wallet-increment}}.lab-heading{z-index:19;background:#f8faf4;padding:10px 0 20px;position:sticky;top:0}.panda-art{aspect-ratio:auto;margin:0 auto 16px}.panda-touch{background:0 0;border-radius:30px;width:100%;padding:0;display:block}.panda-touch svg{width:100%;height:auto}.panda-growth{transition:transform 1.2s 1.2s}.panda-character{transform-origin:180px 270px;animation:4s ease-in-out infinite panda-breathe}.sleepy .panda-character{animation-duration:7s}.panda-eyes{transform-origin:180px 151px;animation:6s infinite panda-blink}.panda-caption{text-align:center;color:#758469;min-height:36px;padding:4px 8px;font-size:12px;line-height:1.7}.panda-caption.fed{color:#3e785b;font-weight:600}.panda-growth-note{color:#7e8d71;background:#ffffff80;border-radius:9px;gap:5px;margin:0 0 18px;padding:12px;font-size:11px;display:flex}.panda-growth-note span{margin-left:auto}.panda-feeding{animation:3.4s ease-in-out panda-meal}.panda-feeding .panda-mouth{transform-origin:180px 190px;animation:.28s 1s 5 panda-chew}.panda-feeding .panda-belly{transform-origin:180px 235px;animation:1.1s 1.8s panda-full}.panda-feeding .panda-arm.right{transform-origin:228px 205px;animation:.5s 2.3s 2 panda-wave}.panda-food{animation:3.4s both panda-food}.panda-hearts{pointer-events:none;animation:1.6s ease-out both panda-love}.panda-hearts.feeding-hearts{animation-delay:1.7s}.panda-greeting .panda-head{transform-origin:180px 205px;animation:1.4s panda-nod}.outfit-preview{text-align:center;color:#927b65;margin-bottom:12px;font-size:11px}.outfit-preview button{margin-left:10px}.panda-shop>.section-title{margin-top:0}.shop-tabs{background:#edf0e4;border-radius:12px;gap:8px;margin:18px 0 12px;padding:6px;display:flex}.shop-tabs button{color:#7c8a70;background:0 0;border-radius:8px;flex:1;padding:12px}.shop-tabs button.selected{color:#3e7357;background:#fff;box-shadow:0 2px 8px #4b674510}.shop-tabs small{opacity:.65;margin-left:6px}.shop-wallet{white-space:nowrap;color:#ac761e!important;font-size:13px!important}.try-outfit{color:#729064;background:0 0;padding:6px 0 12px;text-decoration:underline}.home-pet{position:sticky;top:24px}.home-pet .card-top h2{margin-bottom:0}@keyframes panda-breathe{50%{transform:translateY(-3px)}}@keyframes panda-blink{0%,43%,47%,to{transform:scaleY(1)}45%{transform:scaleY(.08)}}@keyframes panda-meal{0%,to{transform:translateY(0)}20%{transform:translateY(-4px)rotate(-2deg)}35%,45%{transform:rotate(2deg)}40%,50%{transform:rotate(-2deg)}70%{transform:scale(1.05,.97)}85%{transform:translateY(-9px)}}@keyframes panda-food{0%{opacity:0;transform:translate(-90px,20px)scale(.7)}20%,50%{opacity:1;transform:translateY(-12px)scale(1)}70%,to{opacity:0;transform:translateY(-20px)scale(.3)}}@keyframes panda-chew{50%{transform:scaleY(.65)}}@keyframes panda-full{50%{transform:scale(1.12,1.05)}}@keyframes panda-wave{50%{transform:rotate(-55deg)}}@keyframes panda-love{0%{opacity:0;translate:0 12px}30%,75%{opacity:1}to{opacity:0;translate:0 -25px}}@keyframes panda-nod{30%{transform:rotate(-8deg)}65%{transform:rotate(6deg)}to{transform:rotate(0)}}@media (width<=900px){.home-pet{position:relative;top:auto}.home-pet .panda-art{max-width:290px}}@media (prefers-reduced-motion:reduce){.panda-food,.panda-hearts{opacity:1}}.companion-art{width:100%;max-width:330px;margin:0 auto 18px}.companion-art.large{max-width:420px}.companion-touch{aspect-ratio:1;background:0 0;border-radius:30px;width:100%;padding:0;display:block;position:relative}.companion-island{background:#d7e4bf;border-radius:50%;width:90%;height:12%;position:absolute;bottom:4%;left:5%;box-shadow:0 8px #cdddb3}.companion-growth{transform-origin:50% 90%;transition:transform 1.2s 1.1s;position:absolute;inset:0}.companion-motion{transform-origin:50% 90%;width:100%;height:100%;animation:4s ease-in-out infinite companion-breathe;position:relative}.companion-portrait{aspect-ratio:1;width:100%;position:relative;overflow:hidden}.companion-portrait>img{-webkit-user-select:none;user-select:none;pointer-events:none;width:300%;max-width:none;height:100%;position:absolute;top:0}.portrait-error{color:#8b796a;background:#fbf6ed;place-content:center;font-size:12px;display:grid;position:absolute;inset:0}.companion-outfit{pointer-events:none;object-fit:fill;transform-origin:50%;max-width:none;position:absolute}.companion-caption{text-align:center;color:#7e8c75;min-height:40px;padding:10px 2px 0;font-size:12px;line-height:1.7}.companion-caption.fed{color:#3e785b;font-weight:600}.companion-love{color:#dc8b9b;pointer-events:none;font-size:35px;animation:1.6s both companion-love;position:absolute;top:18%;right:7%}.companion-love small{font-size:20px;position:absolute;top:70px;right:220px}.companion-love.after-meal{animation-delay:1.7s}.companion-zzz{color:#98a08f;font-size:23px;position:absolute;top:20%;right:7%}.companion-food{margin-left:-18px;font-size:35px;animation:3.4s both companion-food;position:absolute;top:64%;left:50%}.companion-motion.is-feeding{animation:3.4s ease-in-out companion-meal}.companion-motion.is-touched{animation:1.5s companion-touch}.companion-motion.is-sleeping{animation-duration:7s}.companion-kuromi.is-touched{animation-name:companion-hop}.companion-shinchan.is-touched{animation-name:companion-wiggle}.companion-cinnamoroll.is-touched{animation-name:companion-float}.companion-onboarding{max-width:1140px;margin:auto;padding:45px 30px 60px}.choice-heading{text-align:center;margin:0 auto 28px}.choice-heading h1{color:#503e35;font-size:30px}.choice-heading p{color:#9a8d7d;font-size:13px}.choice-promise{color:#8e7f68;background:#f3eedf;border-radius:20px;padding:9px 16px;font-size:11px;display:inline-block}.choice-keep{text-align:center;color:#6a805a;background:#eaf0df;border-radius:12px;max-width:700px;margin:0 auto 25px;padding:12px;font-size:12px}.companion-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.companion-option{text-align:center;background:linear-gradient(150deg,#fff 5%,var(--card-color));color:#5a4b40;border:2px solid #0000;border-radius:24px;padding:17px 20px;position:relative;box-shadow:0 3px 15px #654a3005}.companion-option:hover{translate:0 -3px}.companion-option.selected{border-color:#73996d;box-shadow:0 0 0 4px #dce8d460}.companion-option .companion-portrait{max-width:210px;margin:0 auto}.choice-number{color:#a5937f;z-index:1;font-size:12px;position:absolute;top:16px;left:16px}.companion-option h2{margin:0 0 8px;font-size:20px}.companion-option strong{color:#8c7d70;font-size:11px;font-weight:500}.companion-option p{color:#978e80;min-height:38px;margin:10px 0;font-size:11px;line-height:1.7}.choice-check{color:#879478;font-size:10px}.companion-option.selected .choice-check{color:#4d7d4a;font-weight:600}.choice-preview{background:#fffdf7;border:1px solid #eee7d8;border-radius:24px;justify-content:center;align-items:center;gap:32px;margin-top:28px;padding:16px 30px;display:flex}.preview-character{flex-shrink:0;width:210px}.choice-preview h2{font-size:20px}.choice-preview p{color:#8f8f7f;font-size:12px}.choice-preview small{color:#9b9c8e;margin:14px 0;font-size:11px;display:block}.choose-hint{text-align:center;color:#9c9b87;margin-top:26px;font-size:12px}.companion-confirm{text-align:center;color:#5a4b40;background:#fffdf8;border:1px solid #e9e2d4;border-radius:25px;width:min(440px,90vw);padding:30px;box-shadow:0 20px 90px #3c342133}.companion-confirm::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#3b403a66}.companion-confirm>.companion-portrait{width:170px;margin:-10px auto 0}.companion-confirm p{color:#8b8574;font-size:13px}.companion-confirm button{width:100%;margin-top:12px;display:block}.companion-confirm h2{font-size:20px}.companion-confirm .error{margin:12px 0;font-size:12px}@keyframes companion-breathe{50%{transform:translateY(-3px)}}@keyframes companion-meal{0%,to{transform:translateY(0)}20%{transform:rotate(-2deg)}35%,45%{transform:rotate(2deg)}40%,50%{transform:rotate(-2deg)}70%{transform:scale(1.055,.97)}85%{transform:translateY(-9px)}}@keyframes companion-food{0%{opacity:0;transform:translate(-65px,25px)scale(.6)}20%,50%{opacity:1;transform:translateY(-5px)}75%,to{opacity:0;transform:translateY(-25px)scale(.3)}}@keyframes companion-love{0%{opacity:0;translate:0 12px}30%,75%{opacity:1}to{opacity:0;translate:0 -25px}}@keyframes companion-touch{30%{transform:rotate(-6deg)}60%{transform:rotate(5deg)}}@keyframes companion-hop{30%,65%{transform:translateY(-12px)}45%,85%{transform:translateY(0)}}@keyframes companion-wiggle{20%,60%{transform:rotate(-6deg)}40%,80%{transform:rotate(6deg)}}@keyframes companion-float{50%{transform:translateY(-16px)rotate(-3deg)}}@media (width<=700px){.companion-onboarding{padding:28px 16px}.companion-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.companion-option{border-radius:18px;padding:14px 10px}.companion-option h2{font-size:17px}.companion-option p{min-height:50px;font-size:10px}.choice-heading h1{font-size:23px}.choice-heading p{font-size:12px}.choice-preview{text-align:center;padding:16px;display:block}.preview-character{width:180px;margin:auto}.companion-confirm{padding:24px}.companion-art.large{max-width:300px}}@media (prefers-reduced-motion:reduce){.companion-food,.companion-love{opacity:1}}.explore-resume{background:#eaf1e3;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;padding:20px;display:flex}.explore-resume p{color:#5e7059;margin:6px 0}.book-fold{background:#fffef8;border:1px solid #dce5d4;border-radius:18px;overflow:hidden}.book-fold summary{cursor:pointer;align-items:center;gap:16px;padding:20px;list-style:none;display:flex}.book-fold summary::-webkit-details-marker{display:none}.book-fold summary strong{font-size:22px}.book-fold summary small{color:#718169;margin-top:6px;font-size:12px;display:block}.fold-hint{color:#58734d;white-space:nowrap;margin-left:auto;font-size:12px}.book-fold[open] summary{border-bottom:1px solid #dce5d4}.book-fold .lesson-list{padding:8px 16px}.lesson-done{background:#f0f7e9!important}.lesson-started{border-left:4px solid #d5a350!important}.lesson-new .lesson-status{color:#82907a}.lesson-done .lesson-status{color:#3b7749}@media (width<=600px){.book-fold summary{gap:8px;padding:16px 12px}.book-fold summary strong{font-size:18px}.book-fold .lesson-row{flex-wrap:wrap;gap:8px}.book-fold .lesson-status{text-align:left;width:100%;padding-left:42px}.explore-resume{padding:14px}.explore-resume .primary{flex-shrink:0;padding:10px;font-size:12px}}.welcome-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.install-entry{color:#527557;white-space:nowrap;background:#edf3e7;border:1px solid #dce5d2;border-radius:20px;padding:8px 12px;font-size:11px}.account-switch{color:#648258;background:0 0;margin:18px auto;font-size:12px;line-height:1.6;text-decoration:underline;display:block}.account-form{border:1px solid var(--line);text-align:left;background:#fff;border-radius:20px;max-width:400px;margin:28px auto 0;padding:28px}.account-form h2{margin:0 0 8px;font-size:20px}.account-form>p{color:#819176;font-size:12px;line-height:1.8}.account-form label{color:#59714e;margin:18px 0;font-size:12px;display:block}.account-form input{color:#344830;box-sizing:border-box;background:#fcfdf9;border:1px solid #dce5d2;border-radius:10px;width:100%;margin-top:8px;padding:13px 14px;font-size:16px;display:block}.account-form input:focus{outline-offset:2px;outline:2px solid #8fad72}.account-form small{color:#8b957f;text-align:center;font-size:11px;line-height:1.7;display:block}.account-error{color:#a4593a;background:#fff0e9;border-radius:8px;margin-bottom:14px;padding:10px;font-size:13px}.logout-button{color:#78876b;white-space:nowrap;background:0 0;font-size:11px}.onboarding-tools{justify-content:flex-end;gap:16px;padding:18px;display:flex}.connection-banner{top:env(safe-area-inset-top,0px);color:#fff;text-align:center;z-index:200;background:#355f49;padding:10px 20px;font-size:12px;line-height:1.6;position:fixed;left:0;right:0}.install-dialog{box-sizing:border-box;color:#344830;background:#fafbf4;border:1px solid #e1e6d8;border-radius:24px;width:min(520px,100vw - 28px);max-height:calc(100dvh - 40px);padding:28px;overflow:auto;box-shadow:0 20px 80px #24452d30}.install-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1e332a66}.install-heading{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.install-close{color:#5a7650;background:#eaf0e3;border:0;border-radius:50%;width:34px;height:34px;font-size:24px}.install-dialog h2{margin:12px 0;font-size:26px}.install-intro,.install-footnote{color:#819176;font-size:12px;line-height:1.8}.install-platform{background:#fff;border:1px solid #e4e9dc;border-radius:16px;margin:16px 0;padding:18px}.install-platform.preferred{border-left:4px solid #7e9d66}.install-platform h3{margin:0 0 10px;font-size:16px}.install-platform h3 small{color:#87967a;margin-left:10px;font-size:11px;font-weight:400}.install-platform ol{margin:0;padding-left:24px}.install-platform li{margin:10px 0;padding-left:3px;font-size:13px;line-height:1.9}.install-platform .primary{margin-top:18px}.install-notice,.install-success,.install-feedback{background:#eef3e6;border-radius:12px;margin:15px 0;padding:13px;font-size:12px;line-height:1.8}.install-notice{color:#8e713a;background:#fbefdb}.install-link{flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;display:flex}.install-link code{word-break:break-all;-webkit-user-select:all;user-select:all;font-size:12px}.install-local-note{color:#a17443;margin-top:10px;font-size:11px;line-height:1.8;display:block}.install-footnote{margin:18px 0 0}body{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.mobile-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}.lab-dock{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}@media (width<=700px){.welcome-top .brand small{display:none}.welcome-top{gap:8px}.welcome{padding:22px}.welcome-top .install-entry{padding:8px 10px;font-size:10px}.account-form{padding:22px 18px}.topbar,.header-stats{gap:8px}.header-stats .install-entry{padding:7px 8px;font-size:10px}.header-stats>span:first-child{white-space:nowrap}.page{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.install-dialog{padding:23px}.loading{padding:70px 20px}.connection-banner{font-size:11px}}.scene-stage{min-width:0}.pet-speech{color:#6c573b;z-index:7;text-align:left;background:#fff9eaf5;border:1px solid #d9bf8c;border-radius:18px;width:clamp(170px,30vw,270px);padding:11px 14px;position:absolute;bottom:calc(100% + 12px);right:0;box-shadow:0 5px 16px #654b2626}.pet-speech:after{content:"";background:#fff9ea;border-bottom:1px solid #d9bf8c;border-right:1px solid #d9bf8c;width:12px;height:12px;position:absolute;bottom:-7px;right:22%;transform:rotate(45deg)}.pet-speech-text{overscroll-behavior:contain;overflow-wrap:anywhere;max-height:100px;overflow:auto}.pet-speech b{font:16px/1.35 Georgia,serif;display:block}.pet-speech small{color:#8c7b59;margin-top:4px;font-size:12px;line-height:1.45;display:block}.immersive-town .world-plots{gap:8px;width:62%;top:auto;bottom:9%;left:5%;transform:none}.immersive-town .world-bed:nth-child(2){margin-top:0}.immersive-town .world-bed svg,.immersive-town .bed-sign{transform:none}.immersive-town .bed-sign{min-width:76px;margin:0 auto;line-height:1.4}.immersive-town .world-companion{z-index:5;width:26%;top:auto;bottom:25%;right:5%}.immersive-town .town-farm-world .scene-tools{gap:6px;display:flex;top:4%;right:3%}.immersive-town .world-top{max-width:49%;right:auto}.immersive-town .town-shop-pet{width:25%;height:auto;top:49%;left:34%;overflow:visible}.immersive-town .town-counter{top:70%}.shop-companion{width:100%;position:relative}.shop-companion .pet-speech{right:50%;transform:translate(50%)}.shop-companion .pet-speech:after{right:calc(50% - 6px)}.shop-companion .pet-speech-text{max-height:60px}@media (width<=700px),(width<=950px) and (height<=500px){.sidebar{display:none}.app-shell main{width:100%;padding-bottom:calc(62px + env(safe-area-inset-bottom,0px));margin-left:0}.app-shell .page{padding-bottom:24px;padding-left:14px;padding-right:14px}.breadcrumb{display:none}.mobile-brand{white-space:nowrap;font-size:16px;font-weight:650;display:inline}.topbar{flex-shrink:0;height:54px;padding:0 12px}.header-stats{gap:8px}.header-stats b{margin:0 2px;font-size:14px}.mobile-nav{height:calc(62px + env(safe-area-inset-bottom,0px));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20;background:#fdfef9f5;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#9ba78d;background:0 0;align-content:center;justify-items:center;gap:3px;width:20%;min-width:0;min-height:44px;padding:0;font-size:10px;display:grid}.mobile-nav button span{font-size:22px;line-height:1}.mobile-nav .active{color:#417d55}.app-shell.town-view:has(.town-scene-mode){height:calc(100vh - env(safe-area-inset-top,0px));height:calc(100dvh - env(safe-area-inset-top,0px));min-height:0}.town-view:has(.town-scene-mode) main{height:100%;min-height:0;padding-bottom:calc(62px + env(safe-area-inset-bottom,0px));flex-direction:column;display:flex}.town-page:has(.town-scene-mode){flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;padding:6px 10px 8px;display:flex}.town-page:has(.town-scene-mode)>footer{display:none}.town-scene-mode{flex-direction:column;flex:1;gap:5px;min-height:0;display:flex;position:relative}.town-scene-mode .town-heading{flex-direction:row;flex:none;justify-content:flex-end;align-items:center;min-height:24px;margin:0}.town-scene-mode .town-heading>div:first-child{min-width:0;margin-right:auto;display:block}.town-scene-mode .town-heading h1{white-space:nowrap;margin:0;font-size:12px;line-height:24px}.town-scene-mode .town-heading .eyebrow,.town-scene-mode .town-heading p,.town-scene-mode .town-wallet>span:first-child{display:none}.town-scene-mode .town-wallet{gap:6px}.town-scene-mode .town-wallet>span{white-space:nowrap;border-radius:12px;padding:3px 8px;font-size:11px;line-height:18px}.town-scene-mode .town-wallet .gold-coin{width:16px;height:16px;font-size:10px}.town-scene-mode .town-nav{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:0 0 5px;display:grid}.town-scene-mode .town-nav button{white-space:nowrap;border-radius:13px;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:44px;padding:5px 2px;font-size:11px;display:flex}.town-scene-mode .town-nav button span{margin:0;font-size:17px;display:inline}.town-scene-mode .town-layout,.town-scene-mode .town-main{flex-direction:column;flex:1;min-height:0;display:flex}.town-scene-mode .immersive-town{flex-direction:column;flex:1;gap:5px;width:100%;min-height:0;margin:0;display:flex}.town-scene-mode .scene-preferences{flex-wrap:nowrap;flex:none;gap:5px;min-height:30px;margin:0;font-size:10px}.town-scene-mode .scene-preferences>span{white-space:nowrap;margin-right:auto;font-size:10px}.town-scene-mode .scene-preferences button{white-space:nowrap;min-height:30px;padding:4px 9px;font-size:10px}.town-scene-mode .scene-stage{flex:1;min-height:0;position:relative;container:town-stage/size}.town-scene-mode .town-farm-world,.town-scene-mode .town-shop-scene{aspect-ratio:auto;background-position:50%;background-size:cover;border-width:3px;border-radius:20px;width:100%;height:100%;min-height:0;margin:0;position:relative;box-shadow:0 3px 10px #5b68451a}.town-scene-mode .town-feedback,.town-scene-mode>.error{z-index:12;margin:0;padding:10px 12px;font-size:12px;position:absolute;top:80px;left:4px;right:4px;box-shadow:0 5px 20px #34483025}.town-scene-mode .scene-tools{gap:6px;top:23%;right:2%}.town-scene-mode .scene-tools button{border-width:2px;border-radius:13px;min-width:44px;min-height:44px;padding:3px;font-size:19px}.town-scene-mode .scene-tools span{font-size:10px}.town-scene-mode .world-top{top:3%;left:3%;right:3%}.town-scene-mode .wood-sign{padding:8px 10px}.town-scene-mode .world-weather{padding:6px 8px;top:29%}.town-scene-mode .world-plots{gap:5px;width:63%;top:auto;bottom:8%;left:4%}.town-scene-mode .world-companion{width:25%;top:auto;bottom:27%;right:4%}.town-scene-mode .town-farm-world .scene-tools{gap:4px;top:8px;right:6px}.town-scene-mode .world-top{max-width:43%;top:8px;left:7px;right:auto}.town-scene-mode .pet-speech{border-radius:14px;width:clamp(145px,48cqw,220px);padding:8px 10px;bottom:calc(100% + 10px)}.town-scene-mode .pet-speech b{font-size:13px}.town-scene-mode .pet-speech small{margin-top:3px;font-size:10px}.town-scene-mode .pet-speech-text{max-height:76px}.town-scene-mode .world-caption{font-size:9px;bottom:2%}.town-scene-mode .town-shop-scene{grid-template-rows:32px 55px 42px minmax(20px,1fr) 44px 58px;grid-template-columns:minmax(0,1fr) 49px;gap:3px;padding:8px 7px;display:grid}.town-scene-mode .town-shop-sign{grid-area:1/1/auto/-1;justify-content:center;align-items:center;gap:0;width:auto;height:auto;margin:0;position:static}.town-scene-mode .town-shop-sign h2{font-size:14px;line-height:1.4}.town-scene-mode .town-shop-sign small,.town-scene-mode .town-shop-sign>span{display:none}.town-scene-mode .town-shelf{grid-area:2/1;align-items:stretch;gap:5px;width:100%;height:auto;margin:0;position:static}.town-scene-mode .town-shelf>button{border-width:1px;border-radius:9px;min-height:44px;padding:2px}.town-scene-mode .town-shelf>button span{font-size:20px;line-height:22px}.town-scene-mode .town-shelf>button strong,.town-scene-mode .town-shelf>button small{margin:0;font-size:9px;line-height:12px}.town-scene-mode .town-shop-scene .scene-tools{grid-area:2/2/5;align-content:start;gap:5px;position:static}.town-scene-mode .town-shop-pet{grid-area:3/1/5;place-items:center;width:100%;height:100%;min-height:0;padding-top:82px;display:grid;position:relative;top:auto;left:auto;overflow:visible;container-type:size}.town-scene-mode .shop-companion{width:min(100cqh,80cqw,220px)}.town-scene-mode .town-shop-pet .companion-art{width:100%;min-width:0;max-height:none;margin:0}.town-scene-mode .shop-companion .pet-speech{width:clamp(145px,80cqw,240px)}.town-scene-mode .scene-counter-edge{display:none}.town-scene-mode .town-counter{grid-area:5/1/auto/-1;justify-self:center;width:78%;margin:0;position:static;top:auto;left:auto}.town-scene-mode .town-counter button{border-width:2px;height:44px;min-height:44px;padding:4px;font-size:13px}.town-scene-mode .scene-guests{grid-area:6/1/auto/-1;justify-content:center;align-items:center;gap:5px;width:100%;height:auto;position:static}.town-scene-mode .scene-guests .guest{max-width:100px;min-height:54px;animation:.35s ease-out mobile-guest-arrive}.town-scene-mode .guest>span{width:29px;height:29px;font-size:22px}.town-scene-mode .guest b{margin-top:1px;padding:0 4px;font-size:9px;line-height:12px}.town-scene-mode .guest small{padding:0 3px;font-size:8px;line-height:11px}.town-scene-mode .scene-open{grid-area:5/1/auto/-1;justify-self:end;width:49%;height:44px;margin:0;padding:3px;font-size:11px;position:static;min-height:44px!important}.town-scene-mode .town-counter:has(~.scene-open){justify-self:start;width:49%}.town-scene-mode .town-counter:has(~.scene-open) button{font-size:11px}.town-scene-mode .town-shop-scene:has(.scene-guests:empty){grid-template-rows:32px 55px 42px minmax(20px,1fr) 44px 0}.scene-panel{width:100%;max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px);border-radius:22px 22px 0 0;margin:auto 0 0;overflow:auto}.scene-panel-head{padding:10px 16px}.scene-panel-head h2{font-size:18px}.scene-panel-body{padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px))}}@media (width<=360px){.topbar{padding:0 8px}.header-stats{gap:6px;font-size:10px}.header-stats .install-entry{padding:6px;font-size:9px}.mobile-brand{font-size:15px}.town-scene-mode .scene-preferences>span{letter-spacing:-.3px;font-size:9px}.town-scene-mode .scene-preferences button{padding:4px 6px;font-size:9px}.town-scene-mode .town-nav button{gap:2px;font-size:10px}.town-scene-mode .town-nav button span{font-size:15px}}@media (width<=950px) and (height<=480px){.app-shell.town-view:has(.town-scene-mode){height:auto;min-height:100dvh}.town-view:has(.town-scene-mode) main{height:auto}.town-page:has(.town-scene-mode){flex:none}.town-scene-mode .scene-stage{flex:none;height:360px}}@media (width<=700px),(width<=950px) and (height<=500px){@container town-stage (height<=360px){.town-scene-mode .town-shop-scene{grid-template-rows:24px 46px 30px minmax(20px,1fr) 44px 48px;gap:2px;padding:6px}.town-scene-mode .town-shop-scene:has(.scene-guests:empty){grid-template-rows:24px 46px 30px minmax(20px,1fr) 44px 0}.town-scene-mode .town-shop-sign h2{font-size:12px}.town-scene-mode .town-shelf>button span{font-size:17px;line-height:18px}.town-scene-mode .town-shelf>button strong,.town-scene-mode .town-shelf>button small{font-size:8px;line-height:10px}.town-scene-mode .town-shop-pet{padding-top:64px}.town-scene-mode .shop-companion{width:min(100cqh,80cqw,170px)}.town-scene-mode .pet-speech{padding:6px 8px}.town-scene-mode .pet-speech b{font-size:11px}.town-scene-mode .pet-speech small{font-size:9px}.town-scene-mode .pet-speech-text{max-height:56px}.town-scene-mode .world-top{max-width:42%;top:8px;left:7px;right:auto}.town-scene-mode .wood-sign{border-width:2px;padding:6px}.town-scene-mode .wood-sign strong{font-size:10px;line-height:1.4}.town-scene-mode .wood-sign small,.town-scene-mode .wood-sign span{display:none}.town-scene-mode .town-farm-world .scene-tools{gap:4px;display:flex;top:6px;right:6px}.town-scene-mode .town-farm-world .scene-tools button{width:44px;min-height:44px;padding:2px;font-size:17px}.town-scene-mode .world-weather{padding:4px 6px;font-size:9px;top:25%}.town-scene-mode .world-weather small{display:none}.town-scene-mode .world-plots{width:63%;top:auto;bottom:8%;left:4%}.town-scene-mode .world-bed:nth-child(2){margin-top:0}.town-scene-mode .world-bed svg{width:100%;height:22cqh;min-height:45px}.town-scene-mode .bed-sign{min-width:66px;margin-top:0;padding:5px 6px;font-size:10px}.town-scene-mode .bed-sign small{margin-top:1px;font-size:8px}.town-scene-mode .world-companion{width:23%;top:auto;bottom:30%}.town-scene-mode .world-caption{font-size:8px;bottom:1%}}}@keyframes mobile-guest-arrive{0%{opacity:0}to{opacity:1}}.immersive-town .world-plots{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;width:72%;height:auto;display:grid;top:49%;bottom:28%;left:14%;transform:none}.immersive-town .world-bed{filter:none;flex-direction:column;justify-content:end;justify-self:center;align-items:center;width:90%;min-width:0;min-height:44px;max-height:100%;padding:0;display:flex;margin:0!important;transform:none!important}.immersive-town .world-bed svg{flex-shrink:0;width:100%;height:clamp(52px,9vw,90px);min-height:0;overflow:visible}.immersive-town .bed-sign{box-sizing:border-box;width:52%;min-width:0;max-width:76px;min-height:32px;text-shadow:none;background:linear-gradient(#a47e50,#947047);border:1px solid #c6a578;border-radius:6px;flex-shrink:0;margin:-6px auto 0;padding:3px 5px;font-size:11px;line-height:1.25;transform:none;box-shadow:0 1px 2px #503a2526}.immersive-town .bed-sign small{color:#f1dfb8;margin-top:1px;font-size:9px}.immersive-town .world-companion{width:23%;top:auto;bottom:51%;right:9%}.immersive-town .world-companion .pet-speech{width:clamp(155px,30vw,260px);bottom:25%;right:100%;transform:none}.immersive-town .world-companion .pet-speech:after{bottom:20px;right:-6px}.immersive-town .world-weather{display:none}.farm-task-entry{z-index:6;color:#5e5939;text-align:left;background:#fff3ce;border:2px solid #bd9b61;border-radius:15px;max-width:58%;padding:12px 18px;font-size:17px;font-weight:700;position:absolute;top:21%;left:5%;box-shadow:0 4px #8b693a}.farm-task-entry small{margin-top:5px;font-size:11px;font-weight:400;display:block}.farm-mission-progress{color:#476337;background:#e7efd8;border-radius:12px;padding:9px 12px;font-weight:650}.farm-task-list{gap:8px;margin:16px 0;display:grid}.farm-task-list>button{align-items:center;gap:12px;display:flex;text-align:left!important}.farm-task-list>button>span{font-size:27px}.farm-task-list>button[aria-pressed=true]{background:#e4edcf!important;border-color:#729455!important}.farm-challenge{background:#fff5d9;border-radius:16px;padding:18px}.farm-challenge>svg{width:100%;height:90px}.farm-challenge h3{font:21px/1.5 Georgia,serif}.farm-answers{gap:8px;margin-top:14px;display:grid}.farm-answers button{text-align:left}.farm-task-list button:disabled{opacity:.7}.customer-figure{aspect-ratio:1;transform-origin:50% 95%;width:clamp(70px,13vw,140px);animation:4s ease-in-out infinite customer-breathe;display:block;position:relative}.customer-sprite{background-image:url(/town-art/customers-v1.png);background-repeat:no-repeat;background-size:600% 400%;border-radius:24% 24% 16% 16%;width:100%;height:100%;box-shadow:0 6px 10px #56351b25}.customer-bag{font-size:27px;position:absolute;bottom:6%;right:0}.customer-thanks{animation:1s ease-in-out 2 customer-thanks}.guest:hover .customer-figure,.guest:focus-visible .customer-figure{animation:.8s ease-in-out 2 customer-greet}.scene-customer-title .customer-figure{flex-shrink:0;width:100px}.scene-guests{gap:8px;height:22%;top:76%}.scene-guests .guest{min-height:44px}.scene-guests .guest b{margin-top:0}.scene-guests .guest small{font-size:10px}.pet-action-tool{filter:drop-shadow(0 4px 2px #5e451b40);pointer-events:none;font-size:clamp(24px,5vw,54px);animation:1s ease-in-out 3 tool-work;position:absolute;top:50%;left:58%}.action-harvest{animation:1.4s ease-in-out 2 harvest-lift}.tool-water:after{content:"💧";font-size:.55em;animation:.8s infinite water-drops;position:absolute;top:55%;left:-20%}@keyframes customer-breathe{50%{transform:translateY(-2px)}}@keyframes customer-greet{30%{transform:rotate(-4deg)}70%{transform:rotate(4deg)}}@keyframes customer-thanks{50%{transform:translateY(-6px)rotate(-3deg)}}@keyframes tool-work{50%{transform:rotate(-25deg)translateY(5px)}}@keyframes water-drops{to{opacity:0;transform:translateY(15px)}}@keyframes harvest-lift{50%{transform:translateY(-7px)rotate(-4deg)}}@media (width<=700px),(width<=950px) and (height<=500px){.town-scene-mode .world-plots{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:76%;top:50%;bottom:24%;left:12%}.town-scene-mode .world-bed svg{width:100%;height:9cqh;min-height:0;max-height:58px}.town-scene-mode .bed-sign{border-width:1px;width:64%;min-width:0;max-width:76px;min-height:29px;margin:-3px auto 0;padding:3px 2px;font-size:10px}.town-scene-mode .bed-sign small{font-size:8px}.town-scene-mode .world-companion{width:24%;bottom:51%;right:7%}.town-scene-mode .world-companion .pet-speech{width:clamp(145px,49cqw,230px);padding:7px 9px;bottom:10%;right:102%}.town-scene-mode .farm-task-entry{max-width:65%;min-height:44px;padding:6px 10px;font-size:12px;top:21%;left:4%}.town-scene-mode .farm-task-entry small{margin-top:2px;font-size:9px}.town-scene-mode .town-shop-scene{grid-template-rows:28px 52px 35px minmax(45px,1fr) 44px 105px}.town-scene-mode .scene-guests{grid-row:6;align-items:end}.town-scene-mode .scene-guests .guest{max-width:100px;min-height:100px}.town-scene-mode .customer-figure{width:72px}.town-scene-mode .guest small{font-size:9px}.town-scene-mode .town-shop-pet{padding-top:62px}.town-scene-mode .shop-companion .pet-speech-text{max-height:54px}.town-scene-mode .pet-speech b{font-size:12px}.town-scene-mode .pet-speech small{font-size:10px}@container town-stage (height<=410px){.town-scene-mode .town-shop-scene{grid-template-rows:24px 46px 30px minmax(35px,1fr) 44px 80px}.town-scene-mode .customer-figure{width:54px}.town-scene-mode .scene-guests .guest{min-height:78px}.town-scene-mode .world-top{max-width:42%}.town-scene-mode .wood-sign span,.town-scene-mode .wood-sign small{display:none}.town-scene-mode .wood-sign strong{font-size:12px}.town-scene-mode .farm-task-entry{padding:5px 8px;font-size:11px;top:22%}.town-scene-mode .pet-speech-text{max-height:50px}}}@media (prefers-reduced-motion:reduce){.customer-figure,.pet-action-tool,.tool-water:after{animation:none!important}}@media (width<=700px),(width<=950px) and (height<=500px){@container town-stage (height<=410px){.town-scene-mode .town-shop-pet{justify-items:end;padding-top:0}.town-scene-mode .shop-companion{width:min(100cqh,35cqw,90px)}.town-scene-mode .shop-companion .pet-speech{width:clamp(120px,60cqw,180px);bottom:5%;right:102%;transform:none}.town-scene-mode .shop-companion .pet-speech:after{bottom:15px;right:-6px}}}@media (width<=700px) and (height<=650px){.app-shell.town-view:has(.scene-farm){height:auto;min-height:100dvh}.town-view:has(.scene-farm) main{height:auto}.town-page:has(.scene-farm){flex:none}.town-scene-mode .scene-farm .scene-stage{flex:none;height:460px}}.immersive-town .world-plots{grid-template-rows:repeat(2,auto);align-items:end;row-gap:38px;height:auto;top:59%;bottom:auto}.immersive-town .world-bed{justify-content:start;gap:4px;max-height:none}.immersive-town .world-bed svg{aspect-ratio:3;height:auto;min-height:0;max-height:none;transform:none}.immersive-town .bed-sign{white-space:nowrap;width:76px;max-width:100%;height:34px;min-height:34px;margin:0 auto}.immersive-town .bed-sign small{white-space:nowrap}.farm-dialogue{z-index:9;pointer-events:none;justify-content:center;width:76%;display:flex;position:absolute;top:30%;left:12%}.immersive-town .farm-dialogue .pet-speech{box-sizing:border-box;pointer-events:auto;width:min(230px,100%);margin:0;position:relative;inset:auto;transform:none}.immersive-town .farm-dialogue .pet-speech-text{max-height:68px}.farm-dialogue.is-walking{visibility:hidden}@media (width<=700px),(width<=950px) and (height<=500px){.app-shell.town-view:has(.scene-farm){height:auto;min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.town-view:has(.scene-farm) main{height:auto}.town-page:has(.scene-farm){flex:none}.town-scene-mode .scene-farm .scene-stage{flex:none;height:640px;min-height:640px}.town-scene-mode .world-plots{row-gap:34px;top:59%;bottom:auto}.town-scene-mode .world-bed svg{height:auto;min-height:0;max-height:none}.town-scene-mode .bed-sign{width:64px;min-width:52px;max-width:none;height:32px;min-height:32px;margin:0;padding:3px 2px;font-size:10px;line-height:1.25}.town-scene-mode .farm-task-entry{max-width:86%;top:18%}.town-scene-mode .farm-dialogue{width:84%;top:29%;left:8%}.town-scene-mode .farm-dialogue .pet-speech{width:min(210px,100%);padding:7px 10px}.town-scene-mode .farm-dialogue .pet-speech-text{max-height:64px}}
