@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--ink:#3d332d;--muted:#9a8c80;--cream:#fffaf0;--line:#eee5d8;--orange:#f28e62;--orange-soft:#fff0e6;--yellow:#f6c957;--green:#8ec49a;--blue:#8dbbd1;--pink:#ee9c9a;--shadow:0 14px 40px #62493014}*{box-sizing:border-box}body{margin:0;background:#f7f1e7;color:var(--ink);font-family:'Noto Sans SC',sans-serif}button,select{font:inherit;border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}.app-shell{max-width:1180px;margin:auto;padding:28px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--orange);color:#fff;font-size:22px;font-weight:800;box-shadow:0 6px 14px #f28e6240}.brand strong{font-size:20px;letter-spacing:1px;display:block}.brand small{color:var(--muted);font-size:11px}.top-actions{display:flex;align-items:center;gap:8px}.name-btn,.checkin-btn,.day-pill{background:#fff;border:1px solid var(--line);color:var(--orange);font-size:11px;border-radius:15px;padding:8px 10px}.day-pill{color:var(--muted);font-size:12px}.day-pill b{color:var(--orange)}.icon-btn{background:#fff;border:1px solid var(--line);width:36px;height:36px;border-radius:50%;color:var(--muted);font-size:20px}.status-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:16px}.stat-card,.play-panel,.side-panel,.log-panel,.feature-panel{background:var(--cream);border:1px solid #f0e8dc;border-radius:18px;box-shadow:var(--shadow)}.stat-card{padding:14px 15px}.stat-head{display:flex;justify-content:space-between;font-size:12px;font-weight:600}.stat-head b{font-size:12px}.progress,.progress-task,.mini-progress,.milestone-bar{height:6px;background:#f0e6d9;border-radius:10px;overflow:hidden}.progress{margin:11px 0 7px}.progress i,.progress-task i,.mini-progress i,.milestone-bar i{display:block;height:100%;width:50%;background:var(--orange);border-radius:inherit;transition:width .35s}.progress.green i{background:var(--green)}.progress.blue i{background:var(--blue)}.progress.yellow i{background:var(--yellow)}.progress.pink i{background:var(--pink)}.stat-card small{font-size:10px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:16px}.play-panel{padding:24px}.scene-header,.section-title{display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#c0a994;font-weight:800}.scene-header h1{font-size:27px;margin:5px 0 1px}.stage-line{margin:0;color:var(--muted);font-size:11px}.scene-header select{background:#fff8e5;color:#a3794f;border:1px solid #efdfc1;border-radius:15px;padding:7px 9px;font-size:11px}.scene{height:345px;margin-top:18px;border-radius:14px;overflow:hidden;position:relative;background:#fcefdc;border-bottom:9px solid #dcb98d;transition:.35s}.scene:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#fbe6c9,#fff4dd 70%)}.scene.garden{background:#dff0d7;border-bottom-color:#9bb783}.scene.garden:before{background:linear-gradient(#cde9df,#edf5d9)}.scene.beach{background:#b8e5ee;border-bottom-color:#d2a978}.scene.beach:before{background:linear-gradient(#a6dcf0,#fff0bf)}.window{position:absolute;left:10%;top:12%;width:125px;height:100px;border:8px solid #eabf85;border-radius:12px;background:#d5eef1;box-shadow:inset 0 0 0 5px #fff8e9}.window span{position:absolute;background:#fff8e9}.window span:first-child{width:5px;height:100%;left:50%}.window span:last-child{height:5px;width:100%;top:50%}.scene.garden .window{display:none}.scene-object{position:absolute;right:13%;bottom:19%;font-size:51px;filter:drop-shadow(0 5px 3px #76562a22)}.rug{position:absolute;bottom:8%;left:17%;width:67%;height:54px;border-radius:50%;background:#f2c6a0}.garden .rug{background:#abd49b}.beach .rug{background:#f5d783}.character-wrap{position:absolute;left:50%;bottom:12%;transform:translateX(-50%);z-index:2}.bubble{position:absolute;white-space:nowrap;top:-54px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid #f0e3d6;border-radius:17px;padding:9px 14px;font-size:12px;box-shadow:0 5px 14px #8e735020}.bubble:after{content:'';position:absolute;bottom:-6px;left:50%;width:10px;height:10px;background:#fff;border-right:1px solid #f0e3d6;border-bottom:1px solid #f0e3d6;transform:rotate(45deg)}.character{position:relative;width:145px;height:190px;animation:breathe 2.8s ease-in-out infinite;filter:drop-shadow(0 8px 5px #8f624530)}.character.sick{animation:wobble 1s infinite}.head{position:absolute;z-index:3;top:8px;left:13px;width:119px;height:112px;border-radius:48% 48% 43% 43%;background:#f6d16c;border:4px solid #d79952}.ear{position:absolute;z-index:1;top:4px;width:40px;height:56px;border-radius:100% 0 100% 0;background:#f4cc66;border:4px solid #d79952}.ear.left{left:5px;transform:rotate(-25deg)}.ear.right{right:5px;transform:scaleX(-1) rotate(-25deg)}.eye{position:absolute;top:46px;width:9px;height:13px;background:#503b33;border-radius:50%}.e1{left:35px}.e2{right:35px}.blush{position:absolute;top:69px;width:20px;height:9px;border-radius:50%;background:#eb9a84aa}.b1{left:17px}.b2{right:17px}.mouth{position:absolute;left:54px;top:69px;width:13px;height:9px;border-bottom:3px solid #503b33;border-radius:0 0 50% 50%}.body{position:absolute;z-index:2;bottom:0;left:28px;width:90px;height:101px;border-radius:45% 45% 31% 31%;background:#f3c65e;border:4px solid #d79952}.belly{position:absolute;width:55px;height:58px;left:14px;top:24px;border-radius:50%;background:#ffe8a7}.foot{position:absolute;bottom:-7px;width:40px;height:24px;background:#f3c65e;border:4px solid #d79952;border-radius:50%}.f1{left:-13px}.f2{right:-13px}.outfit{position:absolute;z-index:4;bottom:17px;left:31px;width:83px;height:46px;border-radius:15px 15px 24px 24px}.outfit.cape{background:#ed8f7d;border:3px solid #bd685d}.outfit.cape:after{content:'★';position:absolute;left:32px;top:10px;color:#fff;font-size:16px}.outfit.sailor{background:#8bb9cf;border:3px solid #5f8ca4}.outfit.sailor:after{content:'⚓';position:absolute;left:32px;top:9px;color:#fff;font-size:16px}.outfit.suit{background:#6b839d;border:3px solid #4e6379}.outfit.suit:after{content:'✦';position:absolute;left:34px;top:10px;color:#f6d16c}.hat.cap{position:absolute;z-index:5;top:4px;left:48px;width:48px;height:18px;border-radius:20px 20px 5px 5px;background:#ed8f7d;border:3px solid #bd685d}.hat.crown:before{content:'♛';position:absolute;left:51px;top:-13px;color:#efb13f;font-size:28px}.status-effect{position:absolute;right:22%;top:43%;font-size:24px}.character.stage-成长{transform:scale(1.08);transform-origin:bottom center}.character.stage-成熟{transform:scale(1.17);transform-origin:bottom center}.character.stage-成长 .body{height:108px}.character.stage-成熟 .body{height:118px;width:104px;left:21px}.quick-stats{display:flex;align-items:center;gap:20px;padding-top:17px}.quick-stats>div:first-child{display:flex;align-items:baseline;gap:3px;color:var(--muted)}.quick-stats>div:first-child b{font-size:25px;color:var(--ink)}.xp{flex:1;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;color:var(--muted);font-size:11px}.mini-progress i{background:var(--yellow)}.coin{color:var(--orange);font-size:14px}.coin b{color:var(--ink);margin-left:4px}.side-panel{padding:18px;min-height:430px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding-bottom:10px;overflow:auto}.tabs button{flex:1;white-space:nowrap;background:transparent;color:var(--muted);font-size:11px;padding:8px 5px;border-radius:8px}.tabs button.active{background:var(--orange-soft);color:var(--orange);font-weight:700}.panel-title{display:flex;justify-content:space-between;align-items:center;margin:17px 0 12px}.panel-title h2{font-size:16px;margin:0}.panel-note{font-size:10px;color:var(--muted);line-height:1.7}.cool{font-size:10px;color:#bcae9f}.action-list,.food-list,.game-list{display:grid;gap:8px}.action-btn,.food-btn{display:flex;align-items:center;text-align:left;width:100%;padding:10px;border:1px solid var(--line);background:#fffdf9;border-radius:11px;color:var(--ink);transition:.2s}.action-btn:hover,.food-btn:hover{transform:translateY(-2px);border-color:#f0c6a6}.action-icon{font-size:21px;width:38px;text-align:center}.action-btn b,.action-btn small,.food-btn b,.food-btn small{display:block}.action-btn b,.food-btn b{font-size:12px}.action-btn small,.food-btn small{font-size:10px;color:var(--muted);margin-top:3px}.action-btn em,.food-btn em{font-style:normal;font-size:10px;color:var(--orange);margin-left:auto}.divider{height:1px;background:var(--line);margin:15px 0}.food-btn[disabled]{opacity:.5}.food-icon{font-size:21px;margin-right:9px}.task{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fffdf9;margin-bottom:8px}.task-line{display:flex;justify-content:space-between;font-size:11px}.task small{color:var(--muted);font-size:10px}.reward{color:var(--orange);font-size:10px}.progress-task{margin-top:7px}.progress-task i{background:var(--orange)}.wardrobe,.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.wardrobe-item,.collect-card{border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center;padding:8px 3px;position:relative;cursor:pointer}.wardrobe-item.active{border:2px solid var(--orange);padding:7px 2px}.wardrobe-item span,.wardrobe-item small{display:block;font-size:10px;color:var(--muted)}.mini-avatar{height:43px;position:relative;margin:auto;width:40px}.mini-avatar:before{content:'';position:absolute;top:3px;left:5px;width:30px;height:28px;border-radius:50%;background:#f6d16c;border:2px solid #d79952}.mini-avatar:after{content:'';position:absolute;bottom:4px;left:10px;width:22px;height:20px;border-radius:8px;background:#f3c65e;border:2px solid #d79952}.mini-avatar.cape:after{background:#ed8f7d}.mini-avatar.sailor:after{background:#8bb9cf}.mini-avatar.suit:after{background:#6b839d}.collect-card strong{display:block;font-size:24px;margin-bottom:4px}.collect-card small{font-size:9px;color:var(--muted)}.furniture-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.furniture{background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 7px;text-align:center}.furniture strong,.furniture b,.furniture small{display:block}.furniture strong{font-size:25px}.furniture b{font-size:11px;margin-top:4px}.furniture small{font-size:9px;color:var(--muted);margin-top:3px}.furniture.placed{border-color:var(--orange);background:var(--orange-soft)}.story-card{background:#fff6df;padding:16px;border-radius:12px}.story-card strong{font-size:15px}.story-card p{font-size:11px;color:var(--muted);line-height:1.7}.choice-list{display:flex;flex-wrap:wrap;justify-content:center}.choice-list button,.primary-btn{background:var(--orange);color:#fff;border-radius:10px;padding:10px 14px;margin:4px;font-size:11px}.text-btn{background:none;color:var(--orange);font-size:11px;margin-top:7px}.bottom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-top:16px}.log-panel,.feature-panel{padding:20px}.section-title h2{margin:5px 0;font-size:17px}.today{font-size:11px;color:var(--muted)}.log-list{margin-top:16px;display:grid;gap:12px}.log-item{display:flex;gap:10px;align-items:center;font-size:11px}.log-time{color:#bcae9f;width:38px}.log-dot{width:7px;height:7px;border-radius:50%;background:var(--orange)}.log-item p{margin:0;color:#76675b}.feature-panel{display:flex;justify-content:space-between;align-items:center;background:#fff3df}.feature-copy h2{font-size:19px;margin:7px 0}.feature-copy p{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 14px}.milestone-bar{width:240px}.milestone-bar i{background:var(--orange)}.feature-copy small{display:block;color:var(--orange);font-size:10px;margin-top:7px}.badge{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;border:2px solid #efbd74;color:#e3a052;font-size:27px}.modal{display:none;position:fixed;inset:0;background:#40362c66;place-items:center;z-index:20}.modal.show{display:grid}
.game-msg{min-height:20px;color:var(--ink)!important;font-weight:600}
.ball-area{position:relative;height:200px;margin:10px 0;background:var(--orange-soft);border-radius:14px;overflow:hidden}
.ball{position:absolute;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f3fb8c,#c6df3c 70%);overflow:hidden;box-shadow:0 5px 10px #62493033;transition:left .25s,top .25s}
.ball:before,.ball:after{content:'';position:absolute;top:-4px;width:60px;height:60px;border:3px solid #fff;border-radius:50%}
.ball:before{left:-38px}
.ball:after{right:-38px}
.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.mem{height:56px;border-radius:12px;background:var(--orange);color:#fff;font-size:24px}
.mem.on,.mem:disabled{background:#fff;border:1px solid var(--line);opacity:1}.modal-card{width:min(390px,calc(100% - 32px));background:var(--cream);padding:26px;border-radius:18px;text-align:center}.modal-card h2{margin:0 0 8px}.modal-card p{font-size:12px;color:var(--muted);line-height:1.7}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#493a31;color:#fff;padding:11px 18px;border-radius:22px;font-size:12px;opacity:0;pointer-events:none;transition:.3s;z-index:30}.toast.show{opacity:1;transform:translate(-50%,0)}footer{display:flex;justify-content:space-between;padding:18px 4px 0;color:#b6a89a;font-size:10px}footer button{background:none;color:var(--orange);padding:0}.furniture-layer{position:absolute;inset:0;z-index:1;pointer-events:none}.placed-furniture{position:absolute;display:grid;place-items:center;width:58px;height:52px;font-size:38px;filter:drop-shadow(0 5px 3px #76562a30);animation:furniture-in .25s ease-out}.furniture-bed{left:7%;bottom:14%;font-size:46px}.furniture-sofa{left:8%;bottom:25%;font-size:42px}.furniture-bookshelf{right:5%;bottom:17%;font-size:43px}.furniture-tank{right:7%;top:22%;font-size:40px}.furniture-toybox{left:27%;bottom:14%;font-size:35px}.furniture-plant{right:14%;bottom:20%;font-size:39px}.furniture-bath{left:8%;top:37%;font-size:42px}.garden .furniture-layer .furniture-bed,.garden .furniture-layer .furniture-sofa,.garden .furniture-layer .furniture-bookshelf,.garden .furniture-layer .furniture-bath{display:none}.beach .furniture-layer .furniture-bookshelf,.beach .furniture-layer .furniture-bath{display:none}.arm{position:absolute;z-index:1;top:28px;width:27px;height:52px;background:#f3c65e;border:4px solid #d79952;border-radius:50%;transform-origin:top center}.left-arm{left:-17px;transform:rotate(28deg)}.right-arm{right:-17px;transform:rotate(-28deg)}.arm:after{content:'•';position:absolute;bottom:-8px;left:7px;color:#d79952;font-size:17px}.tail{position:absolute;z-index:-1;width:42px;height:27px;right:-30px;bottom:27px;border:7px solid #d79952;border-left:0;border-radius:0 50% 50% 0;transform:rotate(-18deg)}.stage-mark{position:absolute;z-index:2;top:39px;left:39px;color:#fff8d0;font-size:18px}.character.stage-幼 .stage-mark:after{content:'·'}.character.stage-成长 .stage-mark:after{content:'✦'}.character.stage-成熟 .stage-mark:after{content:'★'}.character.stage-成长 .head{width:115px;height:106px;left:15px;top:5px}.character.stage-成长 .body{height:108px;width:96px;left:25px;border-radius:42% 42% 29% 29%}.character.stage-成长 .arm{height:57px;top:25px}.character.stage-成熟 .head{width:110px;height:101px;left:17px;top:2px;border-radius:45% 45% 38% 38%}.character.stage-成熟 .body{height:118px;width:104px;left:21px;border-radius:40% 40% 25% 25%}.character.stage-成熟 .arm{height:66px;width:30px;top:21px}.character.stage-成熟 .tail{width:55px;height:34px;right:-41px;border-width:8px}.character.stage-成熟 .ear{height:70px;width:33px;top:0}
{.status-grid{grid-template-columns:repeat(3,1fr)}.game-grid,.bottom-grid{grid-template-columns:1fr}}@media(max-width:560px){.app-shell{padding:18px 12px}.top-actions{gap:4px}.name-btn,.checkin-btn{font-size:10px;padding:7px}.status-grid{grid-template-columns:repeat(2,1fr)}.scene{height:300px}.quick-stats{gap:10px}.xp{grid-template-columns:auto 1fr}.xp b{display:none}.tabs button{font-size:10px}.bottom-grid{gap:10px}footer{display:block;line-height:2}}.achievement{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;background:#fff;border:1px solid var(--line);border-radius:9px;margin:6px 0;font-size:11px}.achievement small{font-size:9px;color:var(--muted)}.achievement.done{border-color:#a9d7af;background:#f1fbf0;color:#5a9b68}.achievement.done small{color:#6ca878}

