:root{font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;color:#475b50;background:#f6f3eb;font-synthesis:none;--cream:#f6f3eb;--green:#668673;--deep:#3f6251;--pink:#e7a2ad;--ink:#475b50;--border:#e5dfd2;--shadow:0 10px 32px #65563b0c}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none;user-select:none;-webkit-user-select:none}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:focus-visible{outline:3px solid #ba9260;outline-offset:4px}button:disabled{opacity:.5;cursor:default}button,svg{flex-shrink:0}button svg{pointer-events:none}button:hover{filter:brightness(1.025)}button:active{transform:translateY(2px)}.hidden{display:none!important}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#8e9b8f;font-weight:650;line-height:1.6}.topbar{height:100px;padding:18px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#faf8f1;border-bottom:1px solid #e7e3d7;position:relative;z-index:10}.brand{display:flex;gap:13px;align-items:center}.brand-mark{width:51px;height:55px;border-radius:19px;background:#e9eee2;display:grid;place-items:center;color:var(--green)}.brand-mark svg{width:31px;height:31px}h1{font-size:27px;line-height:1.4;letter-spacing:3px;margin:0;font-weight:750}.tiny-flower{color:#dca2a7;font-size:23px;display:inline-block;margin-left:10px;vertical-align:middle}.chapter{display:flex;align-items:center;gap:12px;padding-left:25px;border-left:1px solid var(--border);margin-right:auto;margin-left:18px}.chapter-number{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#ececde;color:#879a7e;font-family:Georgia,serif;font-style:italic;font-size:19px}.chapter b{font-size:12px;letter-spacing:1px;font-weight:550}.chapter .eyebrow{font-size:9px;letter-spacing:1px}.top-tools{display:flex;gap:10px;align-items:center}.icon-button{width:42px;height:42px;border:1px solid #e4e2d7;border-radius:50%;background:#fffdf6;display:grid;place-items:center;color:#839080}.icon-button svg{width:20px;height:20px}.stat-pill{display:flex;gap:7px;align-items:center;min-height:42px;padding:0 15px;background:#fffdf6;border:1px solid #e7dfca;border-radius:24px;font-size:12px}.stat-pill svg{width:24px;height:24px}.stat-pill b{font-size:17px;color:#716542}.stat-pill>span{display:flex;align-items:center}.stat-pill #mini-cat svg{width:31px;height:31px}.bottom-bar{height:37px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a4a69b;letter-spacing:1px;border-top:1px solid #e8e3d7;background:#faf8f1;position:relative;z-index:10}.small-heart{font-size:15px;font-style:normal;color:#c39792;margin-right:5px}.story-dots{display:flex;gap:9px}.story-dots i{height:5px;width:5px;border-radius:3px;background:#dddccf}.story-dots .active{background:#809783;width:19px}#game{position:relative;height:calc(100% - 137px);overflow:hidden;background:radial-gradient(ellipse at 58% 38%,#fdfaf0 0,#f1eee4 74%)}#world{position:absolute;top:50px;right:40px;bottom:140px;left:40px;touch-action:none;transition:opacity .3s}#world canvas{display:block;width:100%;height:100%;outline:none}#game.free-roam #world{bottom:65px;top:35px}#game.fixed #world,#game.road #world{display:none}#game.fixed{background:#f3ebe1}.scene-decor{position:absolute;border-radius:50%;background:#e4e8d833;pointer-events:none}.decor-one{height:370px;width:370px;left:-130px;bottom:10px}.decor-two{height:500px;width:500px;right:-240px;top:0}.scene-caption{position:absolute;top:22px;left:38px;display:flex;align-items:center;gap:7px;color:#a1aa99;font-size:9px;letter-spacing:1.6px;pointer-events:none}.location-dot{height:5px;width:5px;border-radius:50%;background:#91a08c}.quest-card{position:absolute;top:57px;left:38px;display:flex;gap:12px;max-width:278px;align-items:flex-start;pointer-events:none}.quest-icon{width:35px;height:35px;border-radius:12px;background:#e5e9dc;display:grid;place-items:center;color:#8e9e7c}.quest-icon svg{width:19px;height:19px}.quest-card .eyebrow{font-size:9px;letter-spacing:1.5px}.quest-card h2{font-size:15px;font-weight:600;margin:3px 0 7px;letter-spacing:.6px}.quest-card p{font-size:10px;line-height:1.8;margin:0;color:#a4a595;max-width:214px}.room-label{position:absolute;right:36px;top:30px;border:1px solid #dddccb;background:#fffaf0b3;border-radius:20px;font-size:11px;padding:9px 17px;color:#8a977e;pointer-events:none}.dialogue{position:absolute;bottom:23px;left:38px;right:38px;min-height:143px;display:flex;align-items:center;gap:22px;border:1.5px solid #d9dfce;border-radius:22px;background:#fffef7f5;box-shadow:var(--shadow);padding:18px 22px 17px 151px;z-index:30}.dialogue:before{position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #eeecdf;border-radius:17px;content:"";pointer-events:none}.portrait-wrap{position:absolute;bottom:0;left:14px;width:130px;height:155px;display:flex;align-items:flex-end}.portrait{width:130px;height:153px;border-radius:18px;overflow:hidden}.portrait svg,.portrait img{width:100%;height:100%;object-fit:contain;object-position:bottom}#portrait-flower{position:absolute;bottom:14px;left:8px;color:#e0a3ad;font-size:24px}.dialogue-copy{flex:1;align-self:stretch;padding-top:2px;min-width:0}.speaker-line{display:flex;align-items:center;gap:10px;margin-bottom:10px}.speaker-line>b{font-size:13px;letter-spacing:1.8px;color:var(--deep)}#emotion-tag{font-size:9px;border-radius:7px;padding:3px 8px;background:#f4eee4;color:#baac93}.replay{display:grid;place-items:center;width:25px;height:25px;padding:4px;background:none;color:#9baa98}.replay svg{width:16px;height:16px}#dialogue-text{font-size:16px;line-height:1.9;letter-spacing:.7px;margin:0;color:#607061}#voice-status{font-size:9px;color:#abae9f;position:absolute;bottom:11px}.next-button{display:flex;align-items:center;justify-content:center;gap:15px;min-width:97px;min-height:41px;padding:12px 16px;border-radius:13px;background:#e6eddf;font-size:12px;align-self:flex-end;z-index:1;white-space:nowrap}.next-button span{font-size:17px}.center-panel{position:absolute;z-index:40;top:47%;left:50%;transform:translate(-50%,-50%);width:min(490px,90%);border:1px solid #fff9e9;border-radius:25px;padding:27px 32px;background:#fffdf6f5;box-shadow:0 20px 90px #6c69512b;text-align:center}.center-panel .panel-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:20px;display:grid;place-items:center;background:#eceddd;color:#97a079}.panel-icon svg{width:29px;height:29px}.center-panel h2{font-size:22px;letter-spacing:2px;margin:0 0 10px}.center-panel p{font-size:12px;line-height:1.9;color:#949e8c;margin:8px 0 19px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;border-radius:14px;background:var(--green);color:#fff;min-height:48px;min-width:155px;padding:13px 23px;box-shadow:0 5px #4a70582b;font-size:14px;letter-spacing:1px}.primary-button svg{width:21px;height:21px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 19px;border:1px solid var(--border);min-height:43px;border-radius:13px;background:#f4f2e9;font-size:12px}.pointing-arrow{position:absolute;left:calc(50% - 13px);bottom:-39px;font-size:37px;color:#d3a264;text-shadow:0 3px 0 white;animation:point 1s ease-in-out infinite;pointer-events:none}.pointing-caption{position:absolute;bottom:-60px;left:0;right:0;color:#a59c83;font-size:11px;letter-spacing:2px}.choice-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:21px}.choice-button{border:1.5px solid #e4e2d2;background:#f7f4e9;border-radius:17px;padding:13px 6px;font-size:15px}.choice-button .choice-face{height:65px;display:block;font-size:39px}.choice-face svg{width:65px;height:65px}.choice-button b{font-weight:500;display:block;margin-top:5px}.choice-button:hover{background:#e7eddf;border-color:#bbcbb3}.joystick-area{position:absolute;left:40px;bottom:30px;z-index:20;text-align:center}#joystick{width:124px;height:124px;border-radius:50%;background:#ffffff6b;border:1px solid #b0bda580;box-shadow:inset 0 0 0 13px #f9fbf733,0 8px 18px #666b4810;display:grid;place-items:center;touch-action:none;cursor:grab}.stick-cross:before,.stick-cross:after{position:absolute;content:"";background:#c6cebb70;top:61px;left:30px;width:64px;height:1px}.stick-cross:after{transform:rotate(90deg)}#stick{width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#fffef8,#e5ead9);border:1px solid #c4cdbb;box-shadow:0 5px 10px #687b5925;position:relative;pointer-events:none}#stick:after{content:"✥";font-size:23px;color:#94a486;line-height:58px}.joystick-area p{font-size:10px;color:#8f9c84;letter-spacing:1px;margin:12px 0 0}.keyboard-hint{position:absolute;bottom:40px;left:208px;font-size:10px;color:#a0aa94}kbd{font-family:inherit;font-size:9px;border:1px solid #d7decc;border-radius:3px;padding:2px 4px;margin-right:2px}.context-action{position:absolute;right:42px;bottom:43px;z-index:25}.context-action .primary-button{min-width:185px;min-height:54px}.context-action p{font-size:10px;text-align:center;color:#9ea28e}.toast{position:absolute;left:50%;top:24px;transform:translate(-50%);padding:12px 22px;border:1px solid #d9e0cb;border-radius:15px;color:#5e7656;background:#fffef3f2;box-shadow:0 8px 24px #50623212;font-size:12px;max-width:75%;text-align:center;z-index:80;pointer-events:none}.outfit-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 24px}.outfit-option{padding:12px 8px;border-radius:14px;border:2px solid transparent;background:#f3eee5;font-size:11px}.outfit-option.selected{border-color:#8da286;background:#edf1e5}.dress-swatch{height:49px;width:43px;display:block;clip-path:polygon(28% 0,72% 0,78% 22%,94% 31%,81% 47%,73% 38%,100% 100%,0 100%,27% 38%,19% 47%,6% 31%,22% 22%);margin:0 auto 10px}.wardrobe-preview{height:155px;margin:-4px auto 0;width:155px}.wardrobe-preview svg{height:100%;width:100%}#driving{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}#driving canvas{width:100%;height:100%;display:block}#snake{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}#snake canvas{width:100%;height:100%;display:block}.drive-hud{position:absolute;left:50%;top:20px;transform:translate(-50%);display:flex;align-items:center;gap:12px;font-size:10px;border-radius:20px;background:#fffef5dd;padding:11px 16px;z-index:9}.drive-hud>div{height:7px;width:180px;border-radius:6px;background:#e8e4d2;overflow:hidden}.drive-hud i{display:block;background:#9cab7e;border-radius:6px;width:0;height:100%;transition:width .2s}#game.road .quest-card{background:#fffef2d9;padding:15px;border-radius:17px;top:75px;left:24px}#game.road .scene-caption{display:none}.gold-flash{position:absolute;top:0;right:0;bottom:0;left:0;z-index:45;pointer-events:none;background:radial-gradient(circle,#fffef8 0%,#ffedab 20%,#f5ca6533 80%,transparent 100%);animation:reveal 1.8s ease-out forwards}.particles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:50;overflow:hidden}.float-heart{position:absolute;left:50%;top:52%;font-size:29px;color:#dc94a5;animation:float-up 1.6s ease-out forwards}.float-heart:nth-child(2n){color:#d1b46c;font-size:21px}#fixed-scene{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}#fixed-scene>.backdrop{position:absolute;width:100%;height:100%;object-fit:cover}#fixed-scene>svg{width:100%;height:100%;object-fit:cover}.pet-character{position:absolute;left:50%;top:57%;transform:translate(-50%,-50%);width:min(31vw,340px);height:min(37vw,370px);padding:0;background:none;touch-action:manipulation;z-index:8;transition:filter .3s,transform .4s;filter:drop-shadow(0 12px 5px #94644213)}.pet-character svg,.pet-character video,.pet-character img{height:100%;width:100%;object-fit:contain}.pet-character.idle{animation:cat-breathe 5s ease-in-out infinite}.pet-character.care-pet{animation:pet-wiggle .6s ease-in-out 2}.pet-character.care-brush{animation:pet-wiggle .85s ease-in-out 2}.pet-character.care-feed{animation:pet-nod .6s ease-in-out 3}.pet-character.care-play{animation:cat-hop .5s ease-in-out 3}.pet-character.care-rest{filter:saturate(.7)}.pet-character .cat-shadow{width:60%;height:12px;background:#ac856722;border-radius:50%;position:absolute;bottom:2%;left:20%;z-index:-1}.pet-stats{position:absolute;right:27px;top:30px;width:162px;padding:17px;background:#fffef3dd;border:1px solid #eeebd5;border-radius:18px;z-index:10}.pet-stats .pet-name{font-size:16px;display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.pet-stats .pet-stage{font-size:9px;color:#b4a285;letter-spacing:1px}.pet-stat{font-size:10px;margin-top:14px;color:#8d927e}.pet-stat label{display:flex;justify-content:space-between;margin-bottom:5px}.pet-stat .bar{height:5px;background:#e9e5d5;overflow:hidden;border-radius:5px}.pet-stat .bar i{height:100%;display:block;border-radius:5px}.pet-actions{position:absolute;bottom:23px;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;padding:12px 15px;gap:12px;border:1px solid #e4e4d2;border-radius:23px;background:#fffef5ee;box-shadow:var(--shadow);z-index:25}.pet-action{min-width:82px;min-height:76px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:#f0f2e7;border:1px solid #e7eadc;border-radius:15px;font-size:11px;white-space:nowrap}.pet-action svg{width:26px;height:26px}.pet-action:nth-child(2){background:#f7eeea}.pet-action:nth-child(3){background:#f6eedb}.pet-action:nth-child(4){background:#efedf6}.pet-action:nth-child(5){background:#e6eff0}.pet-action small{font-size:8px;color:#96a58d}.pet-bubble{position:absolute;left:50%;top:22%;transform:translate(-50%);font-size:12px;color:#9a8978;border-radius:20px;padding:11px 22px;background:#fffdf4e8;border:1px solid #eee5d7;z-index:9;white-space:nowrap}.pet-bubble:after{content:"";position:absolute;bottom:-7px;left:calc(50% - 6px);border-top:7px solid #fffdf4;border-left:7px solid transparent;border-right:7px solid transparent}.cat-name-card{position:absolute;bottom:146px;left:50%;transform:translate(-50%);font-size:10px;letter-spacing:1.5px;color:#a59177;pointer-events:none}.shop-door{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);border:3px solid #fcf7e4;border-radius:25px;background:#fffaf1e8;box-shadow:0 10px 40px #56402314;padding:25px 30px;display:grid;place-items:center;gap:12px;min-width:220px;font-size:16px}.shop-door svg{width:60px;height:60px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#33453655;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;z-index:100;padding:22px}.modal{width:min(600px,100%);max-height:90vh;overflow:auto;background:#fffdf5;border-radius:25px;padding:28px;box-shadow:0 25px 100px #2c3b3922;user-select:text;-webkit-user-select:text}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal h2{font-size:20px;letter-spacing:1px;margin:0}.modal h3{font-size:14px;margin:22px 0 10px}.modal p{font-size:12px;line-height:1.85;color:#88917f}.modal-row{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.modal .secondary-button{background:#f2f1e6}.modal .danger{color:#ab6e64;background:#f9eeea}.parent-note{padding:12px 15px;border:1px solid #e7e5d6;border-radius:13px;background:#f5f3e9;font-size:11px;line-height:1.8;color:#8e9682}.history-list{padding:0;list-style:none}.history-list li{padding:12px 0 12px 21px;border-left:1px solid #dae0cc;margin-left:5px;position:relative;font-size:12px;color:#7c8d76}.history-list li:before{content:"";width:7px;height:7px;border-radius:50%;position:absolute;top:18px;left:-4px;background:#a4b194}.history-list time{display:block;font-size:9px;color:#acb19f;margin-bottom:3px}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shop-item{border:1px solid #e5e6d4;border-radius:15px;padding:14px 8px;text-align:center;background:#f8f6ec}.shop-item>svg{width:45px;height:45px}.shop-item b{display:block;font-size:12px;margin:7px 0}.shop-item p{font-size:10px;margin:5px 0 12px}.shop-item button{font-size:11px;padding:9px;min-width:0;min-height:37px}.task-progress{font-size:30px;color:#809372;margin:15px 0}#rotate-hint{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#f8f5eeef;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:200;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}#rotate-hint>span{font-size:64px;color:#95aa89}#rotate-hint h2{font-size:22px;letter-spacing:2px}#rotate-hint p{font-size:13px;line-height:2;color:#a0a58f}#portrait-continue{padding:12px 22px;background:#e4ebda;border-radius:12px;color:#6d8063;font-size:12px;margin-top:12px}@keyframes point{0%,to{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes reveal{0%{opacity:0}18%{opacity:1}42%{opacity:.95}to{opacity:0}}@keyframes float-up{0%{transform:translateY(0) scale(.5);opacity:0}20%{opacity:1}to{transform:translateY(-160px) rotate(14deg);opacity:0}}@keyframes cat-breathe{0%,to{transform:translate(-50%,-50%) scaleY(1) rotate(0)}18%{transform:translate(-50%,-50.7%) scaleY(1.03) rotate(0)}36%{transform:translate(-50%,-50%) scaleY(1) rotate(0)}52%{transform:translate(-50%,-50.2%) scaleY(1.014) rotate(-1.1deg)}68%{transform:translate(-50%,-50.1%) scaleY(1.008) rotate(.9deg)}84%{transform:translate(-50%,-50%) scaleY(1) rotate(0)}}@keyframes pet-wiggle{0%,to{transform:translate(-50%,-50%) rotate(0)}25%{transform:translate(-50%,-50%) rotate(-4deg)}75%{transform:translate(-50%,-50%) rotate(4deg)}}@keyframes pet-nod{0%,to{transform:translate(-50%,-50%) scaleY(1)}50%{transform:translate(-50%,-47%) scaleY(.94)}}@keyframes cat-hop{0%,to{transform:translate(-50%,-50%)}50%{transform:translate(-50%,-60%) rotate(-3deg)}}@media (min-width:1500px){.topbar{padding-left:60px;padding-right:60px;height:110px}.bottom-bar{padding:0 60px;height:40px}#game{height:calc(100% - 150px)}.dialogue{left:60px;right:60px;bottom:35px;padding:24px 28px 24px 175px;min-height:162px}.portrait-wrap{width:150px;height:180px}.portrait{height:180px;width:150px}#world{bottom:170px}#game.free-roam #world{bottom:60px}.quest-card{left:60px;top:72px}.scene-caption{left:60px;top:31px}#dialogue-text{font-size:19px}}@media (max-width:1100px){.topbar{height:82px;padding:14px 23px;gap:12px}.brand-mark{height:43px;width:42px}.brand{gap:10px}h1{font-size:22px}.brand .eyebrow{font-size:8px;letter-spacing:1.5px}.chapter{margin-left:5px;padding-left:16px;gap:8px}.chapter b{font-size:10px}.top-tools{gap:7px}.stat-pill{min-height:36px;padding:0 10px;font-size:10px}.icon-button{width:36px;height:36px}.stat-pill b{font-size:14px}.bottom-bar{height:31px;padding:0 23px;font-size:9px}#game{height:calc(100% - 113px)}.dialogue{left:24px;right:24px;bottom:18px;min-height:134px;padding-left:132px;gap:12px}.portrait-wrap{width:110px;height:138px;left:10px}.portrait{width:110px;height:138px}#dialogue-text{font-size:14px}.speaker-line{margin-bottom:6px}.scene-caption{left:25px;top:19px}.quest-card{left:25px;top:50px;max-width:230px;gap:8px}.quest-card p{max-width:172px;font-size:9px}.quest-card h2{font-size:13px}#world{top:52px;right:14px;bottom:137px;left:14px}.joystick-area{left:25px;bottom:20px}#joystick{height:110px;width:110px}.stick-cross:before,.stick-cross:after{top:54px;left:24px}.keyboard-hint{left:155px;font-size:8px;bottom:34px}.context-action{right:25px;bottom:35px}.pet-actions{gap:8px;padding:10px}.pet-action{min-width:70px;min-height:67px;font-size:10px}.pet-stats{width:142px;right:20px;padding:13px}.pet-character{width:31vw;height:36vw}.pet-bubble{font-size:11px;top:24%}.center-panel{padding:23px 26px}.center-panel h2{font-size:20px}.cat-name-card{bottom:126px}.next-button{min-width:83px;gap:8px;font-size:11px}.room-label{right:24px;top:21px}.pet-actions.pet-home-actions .pet-action{min-width:65px}}@media (max-height:620px) and (orientation:landscape){.topbar{height:66px;padding:8px 20px}.brand-mark{height:36px;width:36px}h1{font-size:19px}.brand .eyebrow{font-size:7px}.brand-mark svg{width:24px}.chapter .eyebrow{font-size:8px}.chapter-number{height:30px;width:30px}.bottom-bar{height:25px}#game{height:calc(100% - 91px)}.dialogue{min-height:109px;bottom:10px;padding:12px 15px 13px 105px;border-radius:17px;left:20px;right:20px}.portrait-wrap,.portrait{width:85px;height:112px}#dialogue-text{font-size:12px;line-height:1.7}.speaker-line>b{font-size:11px}.speaker-line{margin-bottom:4px}.next-button{min-height:36px;padding:8px 12px}#world{top:25px;bottom:110px}#game.free-roam #world{top:10px;bottom:15px}.scene-caption{top:12px;font-size:8px}.quest-card{top:35px}.quest-card p{display:none}.quest-card h2{font-size:12px}.quest-icon{height:28px;width:28px}.center-panel{padding:16px 22px;max-width:420px;border-radius:20px}.center-panel .panel-icon{width:40px;height:40px;margin-bottom:9px}.center-panel h2{font-size:18px}.center-panel p{margin:7px 0 12px;font-size:10px}.primary-button{min-height:41px;font-size:12px}.choice-list{margin-top:12px}.choice-face{height:50px!important}.choice-face svg{width:50px;height:50px}.choice-button{padding:7px}.joystick-area{bottom:15px;left:23px}#joystick{width:90px;height:90px}#stick{width:44px;height:44px}#stick:after{line-height:44px;font-size:20px}.stick-cross:before,.stick-cross:after{top:44px;left:14px}.joystick-area p{font-size:8px;margin-top:8px}.keyboard-hint{display:none!important}.context-action{bottom:26px}.context-action .primary-button{min-height:43px;min-width:155px}.pet-actions{bottom:12px;padding:8px}.pet-action{min-height:56px;min-width:65px;gap:4px}.pet-action svg{width:22px;height:22px}.pet-character{width:230px;height:240px;top:54%}.pet-stats{width:125px;top:15px}.pet-stat{margin-top:9px;font-size:9px}.pet-bubble{top:17%;font-size:10px;padding:8px 15px}.cat-name-card{bottom:93px;font-size:9px}.wardrobe-preview{height:75px;width:90px}.outfit-options{margin:8px 0 15px}.dress-swatch{height:30px;width:29px}.outfit-option{padding:7px}.modal{padding:22px}.drive-hud{top:12px}.pointing-caption{bottom:-46px}.pointing-arrow{bottom:-32px;font-size:29px}}@media (orientation:portrait){#rotate-hint{display:flex}body.allow-portrait #rotate-hint,.chapter{display:none}.topbar{padding:12px}.tiny-flower{display:none}.top-tools{gap:4px}.stat-pill{padding:0 7px;font-size:8px}h1{font-size:18px}.stat-pill #mini-cat{display:none}.brand-mark{width:33px}.brand{gap:6px}.topbar .eyebrow{font-size:6px}.dialogue{left:12px;right:12px;padding:13px 12px 42px 92px;min-height:180px}.portrait-wrap,.portrait{width:75px;height:112px;bottom:20px}.next-button{position:absolute;bottom:12px;right:13px}#dialogue-text{font-size:13px}.quest-card{left:18px}.quest-card p{display:none}.quest-card h2{font-size:12px}#world{top:100px;bottom:185px;left:0;right:0}#game.free-roam #world{top:70px;bottom:100px}.keyboard-hint{display:none!important}.pet-stats{top:110px;width:119px;right:14px;padding:12px}.pet-character{width:60vw;height:65vw;top:54%}.pet-bubble{top:16%;max-width:90%;white-space:normal}.pet-actions{width:94%;flex-wrap:wrap;gap:6px}.pet-action{min-width:58px;min-height:57px;font-size:9px}.pet-actions.pet-home-actions .pet-action{min-width:57px}.cat-name-card{bottom:166px}.room-label{top:91px}.context-action{right:15px}.context-action .primary-button{min-width:135px;font-size:12px}.bottom-bar{padding:0 15px;font-size:8px}.bottom-bar .story-dots{display:none}}@supports (padding:max(0px)){.topbar{padding-left:max(23px,env(safe-area-inset-left));padding-right:max(23px,env(safe-area-inset-right));padding-top:max(14px,env(safe-area-inset-top))}.bottom-bar{padding-bottom:env(safe-area-inset-bottom)}}@media (prefers-reduced-motion:reduce){.pointing-arrow,.pet-character.idle{animation:none}.gold-flash{animation-duration:2s}}.pet-character:active{transform:translate(-50%,-50%)}#game{overflow:clip}#game.fixed .dialogue{bottom:auto;top:26px}#game.fixed.dialogue-open .quest-card{display:none}#game.fixed .quest-card{padding:14px 15px;background:#fffdf0e6;border:1px solid #eee6d6;border-radius:16px;left:23px;max-width:281px}#game.fixed .quest-card p{color:#929981}#coin-icon{color:#c29d49}@media (orientation:landscape){#game.free-roam #world{top:4px;right:0;bottom:0;left:0}}.camera-toggle{position:absolute;z-index:24;right:25px;top:68px;min-height:44px;padding:10px 17px;border:1px solid #d7ddcd;border-radius:16px;background:#fffdf2eb;color:#65745a;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;box-shadow:0 3px 14px #4f614a09;touch-action:manipulation}.camera-toggle:hover{background:#fffef8}.camera-toggle[aria-pressed=true]{background:#e8eedf;border-color:#b9c9a8}.camera-toggle:focus-visible{outline:3px solid #b2c5a1;outline-offset:3px}@media (max-width:1100px){.camera-toggle{right:24px;top:64px}}@media (orientation:portrait){.camera-toggle{right:15px;top:131px}}#game.fixed .cat-name-card{width:max-content;max-width:85%;padding:5px 12px;background:#fffdf0e8;border:1px solid #f0e5d1;border-radius:16px;color:#7f816b}#game.free-roam .quest-card{padding:12px 14px;background:#fffdf0ed;border:1px solid #e9e7d8;border-radius:16px}#game.free-roam .quest-card p{color:#7e8b72}.wardrobe-ui{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:8;animation:wardrobe-arrive .4s ease-out both}.wardrobe-stage{position:absolute;left:10%;top:7%;bottom:10%;width:52%}#wardrobe-model{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto;touch-action:none}#wardrobe-model canvas{display:block;width:100%;height:100%}.wardrobe-name{position:absolute;bottom:0;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:11px;padding:8px 16px;background:#fffdf0ec;border:1px solid #eee0cb;border-radius:22px;white-space:nowrap;font-size:11px;color:#878673}.wardrobe-name b{color:#657958;letter-spacing:2px;font-size:13px}.wardrobe-panel{position:absolute;right:4%;top:10%;bottom:9%;width:30%;max-width:355px;padding:25px;display:flex;flex-direction:column;justify-content:flex-start;border:1px solid #fff9ed;border-radius:27px;background:#fffdf3ef;box-shadow:0 12px 40px #765c3922;pointer-events:auto}.wardrobe-panel h2{font-size:22px;line-height:1.45;color:#596f55;margin:8px 0 5px}.wardrobe-panel>p{margin:0 0 19px;color:#8b927e;font-size:11px;line-height:1.7}#wardrobe-options{display:grid;gap:11px;flex:1;min-height:0;overflow-y:auto;padding-right:4px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.wardrobe-choice{border:1px solid #e6e6d8;border-radius:17px;padding:11px 12px;background:#fffef9;min-height:78px;display:flex;gap:12px;align-items:center;color:#65735d;text-align:left;cursor:pointer;font-family:inherit;touch-action:manipulation;transition:border-color .2s,background .2s}.wardrobe-choice.selected{border-color:#9daf8a;background:#f0f3e8;box-shadow:0 0 0 1px #b8c6a8}.wardrobe-swatch{width:44px;height:49px;border-radius:13px;background:var(--outfit-color);display:grid;place-items:center;color:#fffdf6;flex-shrink:0;box-shadow:inset 0 -7px 0 var(--outfit-accent)}.wardrobe-swatch svg{width:28px;height:28px}.wardrobe-choice-copy{display:grid;gap:5px;flex:1}.wardrobe-choice-copy b{font-size:13px;font-weight:600}.wardrobe-choice-copy small{font-size:10px;color:#8f937f;line-height:1.5}.wardrobe-check{width:19px;text-align:center;font-size:13px;color:#97a688}.wardrobe-choice:focus-visible{outline:3px solid #a6b793;outline-offset:3px}#finish-outfit{margin-top:21px;width:100%;min-width:0;min-height:51px;font-size:13px;flex-shrink:0}#game.wardrobe-room .quest-card{max-width:285px}@keyframes wardrobe-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (max-width:1100px){.wardrobe-panel{width:32%;right:3%;padding:21px;border-radius:23px;top:17%;bottom:9%}.wardrobe-panel h2{font-size:19px}.wardrobe-choice{gap:9px;padding:9px 10px;min-height:74px}.wardrobe-choice-copy b{font-size:12px}.wardrobe-swatch{width:39px;height:45px}#finish-outfit{margin-top:18px}}@media (max-height:620px) and (orientation:landscape){.wardrobe-panel{top:8%;bottom:5%;padding:17px;width:34%}.wardrobe-panel h2{margin:4px 0;font-size:17px}.wardrobe-panel>p{margin:0 0 9px;font-size:10px}#wardrobe-options{gap:7px}.wardrobe-choice{min-height:53px;padding:6px 8px}.wardrobe-swatch{width:30px;height:34px}.wardrobe-swatch svg{width:23px;height:23px}.wardrobe-choice-copy{gap:3px}.wardrobe-choice-copy small{font-size:9px}#finish-outfit{min-height:44px;margin-top:11px}}@media (orientation:portrait){.wardrobe-stage{left:0;top:6%;width:63%;bottom:23%}.wardrobe-panel{right:2%;top:24%;bottom:12%;width:39%;padding:12px}.wardrobe-panel h2{font-size:16px}.wardrobe-panel .eyebrow{font-size:8px}.wardrobe-choice{padding:8px;gap:6px}.wardrobe-swatch{width:29px;height:38px}.wardrobe-choice-copy b{font-size:10px}.wardrobe-choice-copy small{display:none}.wardrobe-check{width:12px;font-size:11px}.wardrobe-name{gap:6px;font-size:9px;padding:7px 10px}}@media (prefers-reduced-motion:reduce){.wardrobe-ui{animation:none}}.wardrobe-turn-hint{position:absolute;left:50%;bottom:-25px;transform:translate(-50%);color:#7c7965;background:#fffaf0d9;border-radius:14px;padding:4px 10px;white-space:nowrap;font-size:10px}.portrait-atlas{position:relative;display:block;width:auto;height:100%;max-width:100%;aspect-ratio:2 / 3;margin:auto;overflow:hidden}.portrait-atlas>img{position:absolute;top:0;height:100%;max-width:none;object-fit:fill}.portrait-atlas>svg{width:100%;height:100%}#mini-cat{overflow:hidden}#game.fixed .devon-character{animation:none;height:min(49vw,490px);width:min(40vw,410px);top:auto;bottom:21%;transform:translate(-50%)}#game.fixed .devon-character:active{transform:translate(-50%)}@media (max-width:1100px){#game.fixed .devon-character{height:430px;max-height:68%;width:370px;max-width:43%;bottom:20%}}@media (max-height:620px) and (orientation:landscape){#game.fixed .devon-character{height:310px;bottom:23%}}@media (orientation:portrait){#game.fixed .devon-character{max-height:56%;max-width:65%;height:500px;width:440px;bottom:26%}}#game.fixed{--pet-board-size:min(40vw,410px);--pet-bottom:21%}#game.fixed #pet-bubble{top:auto;bottom:calc(var(--pet-bottom) + var(--pet-board-size) * (var(--pet-scale,.64) + .06) + 12px)}@media (max-width:1100px){#game.fixed{--pet-board-size:min(43vw,370px);--pet-bottom:20%}}@media (max-height:620px) and (orientation:landscape){#game.fixed{--pet-bottom:23%}}@media (orientation:portrait){#game.fixed{--pet-board-size:min(65vw,440px);--pet-bottom:26%}}.wardrobe-choice:disabled,#finish-outfit:disabled{opacity:.55;cursor:wait}#fixed-scene[data-scene-video]:not([data-scene-video=""])>.pet-character{filter:none}#fixed-scene[data-scene-video]:not([data-scene-video=""])~.pet-bubble,#fixed-scene[data-scene-video]:not([data-scene-video=""]) .pet-bubble{left:24%;top:7%;max-width:40%;white-space:normal}#fixed-scene[data-scene-video]:not([data-scene-video=""])>.pet-character .pet-art{opacity:0}#fixed-scene>video.backdrop{background:#f3ebe1}.coin-fly{position:fixed;left:50%;top:50%;z-index:90;display:flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;background:linear-gradient(135deg,#fff7df,#ffe9ad);box-shadow:0 10px 32px #d6a43473,0 0 0 3px #fff inset;pointer-events:none;animation:coin-fly-path 1.45s cubic-bezier(.5,.08,.55,1) forwards}.coin-fly b{font-size:30px;color:#9a6b17;font-weight:800;letter-spacing:.02em}.coin-fly-disc{display:flex;width:44px;height:44px}.coin-fly-disc svg{width:100%;height:100%}.coin-fly:after{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:inherit;background:radial-gradient(closest-side,rgba(255,228,140,.65),transparent 72%);z-index:-1;animation:coin-fly-glow 1.45s linear forwards}@keyframes coin-fly-path{0%{transform:translate(-50%,-50%) scale(.2);opacity:0}12%{transform:translate(-50%,-50%) scale(1.22);opacity:1}24%{transform:translate(-50%,-50%) scale(1)}55%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(calc(-50% + var(--fly-x,38vw)),calc(-50% + var(--fly-y,-38vh))) scale(.22);opacity:.15}}@keyframes coin-fly-glow{0%,55%{opacity:1}to{opacity:0}}.wallet-pop{animation:wallet-pop .55s ease}@keyframes wallet-pop{0%{transform:scale(1)}35%{transform:scale(1.28)}70%{transform:scale(.94)}to{transform:scale(1)}}.choice-emoji{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:34px}.brother-photo-wrap{margin:10px auto 4px;width:min(46vw,260px);aspect-ratio:1;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px #966e3c4d,0 0 0 6px #fff}.brother-photo{width:100%;height:100%;object-fit:cover;display:block}.brother-emoji{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:96px;background:#fdf3e1}#birthday-opening{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#1b1620;transition:opacity .6s ease}#birthday-opening.opening-fade{opacity:0;pointer-events:none}#opening-canvas{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:manipulation}#opening-skip{position:absolute;right:18px;top:16px;z-index:5;padding:10px 20px;border:none;border-radius:999px;background:#fffdf629;color:#f5edda;font-size:15px;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer}#opening-hint{position:absolute;left:50%;bottom:7%;transform:translate(-50%);z-index:4;pointer-events:none}#opening-hint span{display:inline-block;padding:13px 30px;border-radius:999px;background:#ffe096f0;color:#6d4d13;font-size:21px;font-weight:800;letter-spacing:.06em;box-shadow:0 10px 36px #ffc85a73;animation:opening-hint-bounce 1.5s ease-in-out infinite}@keyframes opening-hint-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}#opening-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:#000;z-index:3}.back-home{position:absolute;left:14px;top:14px;z-index:40;padding:10px 18px;border:none;border-radius:999px;background:#fffdf6;color:#8a6a3f;font-size:15px;font-weight:700;box-shadow:0 6px 18px #8c693c40,0 0 0 2px #f1e3c8 inset;cursor:pointer;animation:back-home-pulse 2.2s ease-in-out infinite}@keyframes back-home-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.choice-face img{height:100%;aspect-ratio:1/1;object-fit:contain;display:block;margin:0 auto}.study-video-wrap{position:relative;margin:14px auto;width:min(230px,55vw)}.study-video-wrap video{width:100%;max-height:44vh;border-radius:18px;background:#000;display:block;object-fit:cover;aspect-ratio:9/16;box-shadow:0 10px 30px #0000004d}#study-video-play{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:160px;height:56px;border-radius:28px;border:0;background:#fffffff0;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px #00000059}#opening-gift{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}#opening-gift-btn{width:150px;height:150px;border:none;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9b8,#ffb86b);font-size:72px;cursor:pointer;box-shadow:0 0 #ffc85a8c;animation:opening-gift-pulse 1.6s ease-out infinite}#opening-gift p{color:#f5edda;font-size:20px;font-weight:700;letter-spacing:.05em;margin:0}@keyframes opening-gift-pulse{0%{box-shadow:0 0 #ffc85a8c}70%{box-shadow:0 0 0 34px #ffc85a00}to{box-shadow:0 0 #ffc85a00}}.pet-art{display:block;position:relative;width:100%;height:100%;pointer-events:none;isolation:isolate}.pet-art-board{position:absolute;width:100%;aspect-ratio:1/1;left:0;bottom:0;display:block;pointer-events:none}.pet-art-media{display:block;position:absolute;max-width:none!important;max-height:none!important;object-fit:fill!important;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.pet-art--thumbnail{width:36px;height:36px;border-radius:50%;overflow:hidden;background:#f3e6df}.pet-art--thumbnail .pet-art-board{top:0;right:0;bottom:0;left:0;width:100%;height:100%;aspect-ratio:1}.pet-art--growth{height:100%;width:auto;aspect-ratio:1/1;max-width:100%;margin:auto}.pet-art-accessory{position:absolute;transform:translate(-50%,-25%);height:auto;pointer-events:none;z-index:2;filter:drop-shadow(0 2px 1px #64504e24)}.pet-art-accessory svg{display:block!important;width:100%!important;height:auto!important;overflow:visible}.pet-art-accessory--scarf{transform:translate(-50%,-8%) rotate(-6deg)}.pet-art-effect{position:absolute;top:23%;right:8%;width:12%;height:12%;animation:pet-art-float 1.1s ease-in-out infinite;z-index:3}.pet-art-effect svg{width:100%!important;height:100%!important;display:block}.pet-art-effect--brush{top:48%;right:23%;animation:pet-art-brush .75s ease-in-out infinite}.pet-art-effect--feed{top:auto;bottom:1%;right:26%;width:21%;height:21%}.pet-art-effect--sleep{top:10%;right:15%}.pet-art-fallback-holder{position:absolute;display:block}.pet-art-fallback-holder svg{display:block;width:100%!important;height:100%!important}#mini-cat{width:36px;height:36px;flex:none}#mini-cat .pet-art--thumbnail{width:36px;height:36px}@keyframes pet-art-float{0%,to{transform:translateY(0) rotate(-9deg)}50%{transform:translateY(-9px) rotate(9deg)}}@keyframes pet-art-brush{0%,to{transform:translate(0) rotate(-20deg)}50%{transform:translate(-9px,12px) rotate(-5deg)}}@media (prefers-reduced-motion:reduce){.pet-art-effect{animation:none}}
