@charset "UTF-8";
:root{--paper:#fbf7f0;--white:#fffdf8;--ink:#4c4940;--muted:#989487;--line:#e9e2d7;--pink:#ecd1cb;--rose:#a9696b;--sage:#75816a;--sage-light:#e9eee2;--yellow:#f2dfab;--shadow:0 7px 25px #57453205;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button{border:0}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}button:focus-visible,a:focus-visible{outline:3px solid #afc0a0;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #b6c4a7;outline-offset:1px}[hidden]{display:none!important}.boot{height:100dvh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#ecd4cd;color:#9d6265;border-radius:14px;font-size:34px;font-family:Georgia,serif;line-height:1}.app-shell{max-width:1600px;margin:0 auto;display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{height:100dvh;position:sticky;top:0;padding:42px 27px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f6f2e9}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:700;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);font-weight:500;margin-top:4px}.sidebar-intro{font-size:12px;line-height:1.9;color:var(--muted);margin:27px 0 35px 5px}.main-nav{display:grid;gap:12px}.nav-item{display:flex;align-items:center;text-align:left;width:100%;background:transparent;border-radius:12px;padding:14px 12px;gap:11px;font-size:13px;position:relative}.nav-icon{font-size:23px;width:25px;line-height:1;color:#999888}.nav-item i{font-size:9px;color:#b5b09f;font-style:normal;margin-left:auto;letter-spacing:1px}.nav-item.active{background:#e8ebdf;color:#5d6b50;font-weight:700}.nav-item.active .nav-icon{color:#6f815d}.nav-item:hover{background:#ebe8de}.sidebar-note{margin-top:auto;padding:45px 10px 30px}.sidebar-note>span{color:#bea87b;font-size:32px}.sidebar-note p{font-family:Georgia,"KaiTi",serif;font-size:15px;line-height:2;margin:8px 0}.sidebar-note small{font-size:10px;color:var(--muted)}.account-button{display:flex;align-items:center;gap:9px;background:transparent;border-top:1px solid var(--line);padding:18px 0 5px;font-size:12px;text-align:left}.account-button>span:last-child{margin-left:auto;color:#9b988c}.account-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:var(--pink);font-size:21px;color:var(--rose)}.sidebar-date{font-size:8px;letter-spacing:1px;color:#b7b0a2;margin-top:16px}.main{padding:0 48px 20px;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.topbar-label{display:flex;align-items:center;gap:8px}.status-dot{width:5px;height:5px;border-radius:50%;background:#99ab81;margin-left:8px}.text-button{padding:5px 0;background:none;font-size:11px;color:var(--sage)}.text-button:hover{text-decoration:underline}.mobile-settings{display:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:31px 0 25px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:#a49b84;font-weight:600}.page-heading h1{font-size:28px;letter-spacing:1px;font-weight:600;margin:9px 0}.page-subtitle{font-size:12px;color:var(--muted)}.date-label{flex-shrink:0;font-size:11px;text-align:right;line-height:1.9;color:var(--muted)}.date-label strong{display:block;font-family:Georgia,serif;font-size:24px;font-weight:400;color:#777867;letter-spacing:2px}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:15px;background:var(--white);padding:17px 0;margin-bottom:25px}.stat{display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;font-size:25px}.coin-symbol{background:#f8edce;color:#bb984a}.heart-symbol{background:#f6e7e2;color:#bc8787}.day-symbol{background:#ebefdf;color:#9caa75}.stat small{display:block;font-size:10px;color:var(--muted);margin-bottom:1px}.stat strong{font-family:Georgia,serif;font-size:23px;line-height:1.1;font-weight:400}.stat em{font-size:10px;font-style:normal;color:var(--muted);margin-left:6px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(230px,1fr);gap:22px}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 16px}.panel-head h2{font-size:15px;font-weight:600;letter-spacing:.7px}.panel-head p{font-size:10px;color:var(--muted);margin-top:3px}.soft-tag{padding:5px 9px;border-radius:6px;background:#f0f1e7;color:#83916e;font-size:9px;white-space:nowrap}.live-dot{width:5px;height:5px;background:#9bb47d;border-radius:50%;display:inline-block;margin-right:5px}.scene-wrap{padding:0 15px 15px}.room{position:relative;height:310px;isolation:isolate;overflow:hidden;border:1px solid #e8dbbe;border-radius:13px;background-color:#f4ead1;background-image:linear-gradient(90deg,#ede0bc80 1px,transparent 1px),linear-gradient(#ede0bc80 1px,transparent 1px);background-size:28px 28px}.room:after{content:"";position:absolute;z-index:0;bottom:0;height:26%;left:0;right:0;background:repeating-linear-gradient(0deg,transparent 0 22px,#c9af7e33 23px 24px),repeating-linear-gradient(90deg,#e5c99a 0 88px,#cbae7e55 89px 90px);border-top:8px solid #d2ba8d;box-shadow:0 -3px 0 #fff4dc}.room-window{position:absolute;top:48px;left:9%;width:96px;height:115px;border:7px solid #fff9e9;background:linear-gradient(#c7dfd7,#e9efca);box-shadow:0 4px 0 #d2c4a0,0 0 0 2px #dcc99e}.room-window:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 46%,#fff9e9 46% 53%,transparent 53%),linear-gradient(transparent 47%,#fff9e9 47% 54%,transparent 54%)}.room-window:after{content:"";position:absolute;right:10px;top:9px;width:23px;height:23px;border-radius:50%;background:#f7e8b5;box-shadow:0 0 15px #ffffef}.curtain{position:absolute;top:39px;left:7%;width:114px;border-top:8px solid #bea67f;height:122px;pointer-events:none}.curtain:before,.curtain:after{content:"";position:absolute;top:0;width:20px;height:114px;background:repeating-linear-gradient(90deg,#e4b9ad 0 5px,#eecbbc 5px 10px);border-radius:0 0 9px 4px;box-shadow:0 2px 0 #bf9183}.curtain:before{left:0}.curtain:after{right:0;transform:scaleX(-1)}.wall-art{position:absolute;right:13%;top:64px;width:52px;height:64px;padding:8px;background:#fcf8e7;border:5px solid #c4a984;box-shadow:3px 4px 0 #d7c49960;display:grid;place-items:center;color:#c19387;font-size:29px}.wall-art:before{content:"";position:absolute;left:20px;top:-20px;height:16px;width:1px;background:#b59b72;transform:rotate(20deg)}.room-lamp{position:absolute;top:0;left:53%;height:37px;width:2px;background:#a6997a}.room-lamp:after{content:"";position:absolute;top:29px;left:-21px;width:44px;height:24px;background:#d0bd87;clip-path:polygon(24% 0,76% 0,100% 100%,0 100%);filter:drop-shadow(0 4px #e6d998)}.room-lamp:before{content:"";position:absolute;top:48px;left:-40px;width:80px;height:70px;background:#fff5cd55;clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}.base-shelf{position:absolute;left:7%;bottom:24%;width:90px;height:10px;border:3px solid #be9a6b;background:#d4b38b;z-index:1}.base-shelf:before,.base-shelf:after{content:"";position:absolute;top:7px;width:7px;height:45px;background:#bd996f}.base-shelf:before{left:7px}.base-shelf:after{right:7px}.base-books{position:absolute;left:10%;bottom:calc(24% + 10px);width:12px;height:25px;background:#9fae95;box-shadow:14px 0 #d5a093,28px 0 #e3c483;z-index:1;border-top:3px solid #ffffff55}.room-sofa{position:absolute;right:5%;bottom:17%;height:58px;width:101px;background:#c4cbb0;border:4px solid #a5ad91;border-radius:13px 13px 2px 2px;z-index:1;box-shadow:0 7px 0 -3px #9e8a6c}.room-sofa:before{content:"";position:absolute;bottom:0;left:-8px;right:-8px;height:28px;background:#d0d5bc;border:4px solid #a5ad91;border-radius:6px}.room-sofa:after{content:"";position:absolute;top:4px;left:45%;height:20px;border-left:2px solid #acb79b}.room-caption{position:absolute;left:13px;bottom:8px;z-index:3;font-size:8px;letter-spacing:1.6px;color:#a28b64}.character{position:absolute;bottom:8%;left:50%;width:172px;height:224px;transform:translateX(-50%);z-index:5;border:0;background:none;padding:0;transform-origin:50% 95%;user-select:none;touch-action:manipulation}.character:before{content:"";position:absolute;bottom:4px;left:21%;width:58%;height:13px;border-radius:50%;background:#8f745633;z-index:-1}.character img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 3px 0 #8a735420);pointer-events:none}.character.bounce{animation:boing .55s ease-in-out}.character:focus-visible{outline:2px dashed #a4b583;outline-offset:-15px;border-radius:30px}.speech{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:6;max-width:75%;background:#fffdf6;border:1px solid #e5d4b7;border-radius:12px;padding:9px 14px;font-size:11px;white-space:normal;text-align:center;box-shadow:2px 3px 0 #d1bfa225;pointer-events:none}.speech:after{content:"";position:absolute;bottom:-6px;left:46%;width:10px;height:10px;transform:rotate(45deg);background:#fffdf6;border-right:1px solid #e5d4b7;border-bottom:1px solid #e5d4b7}.room-hint{display:flex;align-items:center;justify-content:space-between;padding:12px 7px 0;color:#a69b87;font-size:10px}.room-hint span:first-child{display:flex;gap:5px;align-items:center}.postcard{height:100%;background:#f2e7de;position:relative;padding:29px 25px 22px;display:flex;flex-direction:column;border:1px solid #e8d9cc;border-radius:var(--radius);overflow:hidden}.postcard:before{content:"";position:absolute;top:-8px;left:39%;width:66px;height:25px;background:#e8dabc99;transform:rotate(-5deg)}.postcard .eyebrow{font-size:8px;color:#ad9180}.postcard-decoration{font-size:61px;color:#c29488;font-family:Georgia,serif;line-height:1.1;margin:20px 0 13px;transform:rotate(-9deg);width:fit-content}.postcard h2{font-family:Georgia,"KaiTi",serif;font-size:21px;font-weight:500;line-height:1.9;letter-spacing:2px}.postcard p.note-body{font-size:11px;color:#a18d7e;line-height:2.1;margin-top:14px}.postcard .note-from{margin-top:auto;padding-top:17px;color:#ac8b7c;font-size:10px;text-align:right}.section-heading{margin:27px 0 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{font-size:17px;font-weight:600;letter-spacing:.5px}.section-heading h2 small{font-family:Georgia,serif;font-size:11px;font-weight:400;color:#aaa290;margin-left:9px}.section-heading p{font-size:11px;color:var(--muted);margin-top:4px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.task-card{padding:20px;background:var(--white);border:1px solid var(--line);border-radius:15px;transition:background .3s,transform .3s;display:flex;gap:13px;align-items:flex-start;position:relative}.task-card.is-done{background:#f0f3e8;border-color:#dce4cf}.task-icon{width:39px;height:39px;border-radius:11px;background:#f4edde;display:grid;place-items:center;font-size:21px;flex-shrink:0}.task-icon.study{background:#eaf0e8}.task-main{flex:1;min-width:0}.task-meta{display:flex;align-items:center;gap:6px;font-size:9px;color:#a8a292;margin-bottom:7px}.mini-tag{padding:1px 6px;background:#f0ece2;border-radius:4px;color:#9b947f}.task-main h3{font-size:13px;font-weight:600;margin-bottom:5px;overflow-wrap:anywhere}.task-main p{font-size:10px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.task-bottom{margin-top:15px;display:flex;align-items:center;justify-content:space-between;gap:8px}.coin-reward{font-size:11px;color:#ab8c47;white-space:nowrap}.coin-reward b{font-size:14px;font-weight:500}.xp-label{font-size:9px;color:#8e9e75;margin-left:6px}.button{padding:11px 19px;background:var(--sage);border:1px solid var(--sage);color:#fffef9;border-radius:9px;font-size:12px;transition:transform .15s,background .15s;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;line-height:1.45}.button:hover:not(:disabled){background:#65775a;transform:translateY(-1px)}.button.small{padding:7px 12px;font-size:10px;min-height:32px}.button.secondary{background:#f3f0e7;color:#817965;border-color:#e8e2d5}.button.secondary:hover:not(:disabled){background:#e9e6da}.button.rose{background:#bd8e88;border-color:#bd8e88}.button.danger{background:#faf0ec;border-color:#ecd6cc;color:#af7165}.button.ghost{background:transparent;color:var(--sage);border-color:#d6dfcd}.button.full{width:100%}.icon-button{width:29px;height:29px;border-radius:7px;background:#f1eee4;color:#9a947f}.task-tools{display:flex;gap:5px;margin-top:12px}.subject-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.subject-card{padding:17px 15px;border:1px solid var(--line);background:var(--white);border-radius:13px}.subject-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.subject-icon{font-size:19px}.subject-level{font-size:9px;color:#98a483;font-weight:600}.subject-card h3{font-size:11px;font-weight:500;margin:10px 0}.progress-track{height:4px;background:#efeee4;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#acb795;transition:width .5s;width:var(--progress,0%)}.subject-card p{font-size:9px;color:#aaa594;margin-top:6px}.subject-card .text-button{font-size:9px;margin-top:5px}.gentle-banner{margin-top:20px;display:flex;align-items:center;gap:13px;padding:15px 19px;background:#f0eee3;border:1px dashed #dad5bf;border-radius:11px;font-size:11px;color:#97927d}.gentle-banner>span{font-size:21px;color:#b3a56f}.page-footer{margin-top:36px;border-top:1px solid var(--line);padding:19px 0 4px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.4px;color:#b5ac9d}.page-footer span:last-child{font-size:8px;letter-spacing:1px}.secret-door{position:fixed;right:16px;bottom:15px;height:28px;width:28px;background:#f0e8dccc;color:#bdb095;border:1px solid #e7ded0;border-radius:50%;z-index:20;user-select:none;touch-action:none;font-size:16px}.secret-door.holding{background:#e5d4ba;box-shadow:0 0 0 8px #e5d4ba33;transition:all 3s}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:19px}.tabs{display:flex;padding:4px;gap:3px;background:#ece9df;border-radius:10px;width:max-content;max-width:100%}.tab{padding:8px 16px;background:transparent;font-size:11px;color:#9a9485;border-radius:7px;white-space:nowrap}.tab.active{background:var(--white);color:#6f775f;box-shadow:0 2px 5px #4d483608}.tab-count{display:inline-block;margin-left:5px;font-size:9px;opacity:.7}.category-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.category-chip{background:transparent;border:1px solid #e4dfd2;color:#9d9889;padding:5px 11px;border-radius:20px;font-size:10px}.category-chip.active{background:#e5eadc;border-color:#d8e0ca;color:#788764}.task-progress{padding:20px 23px;margin-bottom:20px;border-radius:14px;background:#eeefe2;display:flex;align-items:center;gap:22px}.task-progress-text h2{font-size:14px;font-weight:500}.task-progress-text p{font-size:10px;color:#969984;margin-top:5px}.task-progress-bar{flex:1;min-width:50px}.task-progress .progress-track{background:#dfe3cf;height:6px}.task-progress strong{font-family:Georgia,serif;color:#8d9a77;font-weight:400;font-size:26px}.task-progress strong small{font-size:14px}.empty-state{padding:45px 25px;border:1px dashed var(--line);border-radius:16px;background:#fefcf6;text-align:center;color:var(--muted);grid-column:1/-1}.empty-state>span{font-size:35px;display:block;color:#c4b693;margin-bottom:12px}.empty-state h3{font-size:14px;font-weight:500;margin-bottom:6px;color:#8a8c77}.empty-state p{font-size:11px}.shop-intro{display:flex;align-items:center;gap:16px;padding:22px;background:#f1e6dc;border:1px solid #e7d8c9;border-radius:16px;margin-bottom:22px}.shop-intro>span{font-size:30px;color:#bb9282}.shop-intro h2{font-size:15px;font-weight:500;margin-bottom:5px}.shop-intro p{font-size:11px;color:#a28e80}.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reward-card{padding:19px;background:var(--white);border:1px solid var(--line);border-radius:17px;display:flex;flex-direction:column;min-width:0}.reward-visual{height:112px;background:#f5ecdd;border-radius:11px;display:grid;place-items:center;font-size:51px;position:relative;margin-bottom:16px}.reward-card:nth-child(4n+2) .reward-visual{background:#efe8df}.reward-card:nth-child(4n+3) .reward-visual{background:#edf0e2}.reward-card:nth-child(4n+4) .reward-visual{background:#f4e7e2}.reward-visual .owned-mark{position:absolute;right:8px;top:8px;font-size:9px;border-radius:6px;background:#fff9;padding:3px 6px;color:#7c8f65}.reward-card h3{font-size:14px;font-weight:500;margin-bottom:6px}.reward-card>p{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:18px;flex:1;overflow-wrap:anywhere}.reward-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.reward-card .button{font-size:10px;padding:8px 10px;min-height:34px}.reward-card .button:disabled{background:#efede5;color:#a7a28e;border-color:#e7e3d7;opacity:1}.home-scene{padding:20px}.home-room{height:440px;background-size:35px 35px}.home-room .room-window{width:135px;height:148px;top:75px;left:13%}.home-room .curtain{width:154px;height:155px;top:67px;left:calc(13% - 9px)}.home-room .curtain:before,.home-room .curtain:after{height:149px;width:26px}.home-room .character{bottom:11%;width:174px;height:226px;left:53%}.home-room .speech{top:55px}.home-room .wall-art{right:15%;top:98px}.home-room .room-sofa{width:145px;height:79px;right:9%;bottom:16%}.home-room .room-sofa:before{height:35px}.home-room .base-shelf{left:12%;width:121px;height:13px}.home-room .base-books{left:16%}.home-room .room-lamp{left:51%;height:50px}.home-room .room-lamp:after{top:48px}.home-room .room-lamp:before{top:69px}.home-item{position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;width:65px;height:65px;line-height:1;filter:drop-shadow(2px 3px 0 #88795a19)}.home-item.locked{filter:grayscale(1);opacity:.38}.home-item .lock-badge{position:absolute;right:0;bottom:1px;font-size:15px;color:#958f7b;background:#faf7e9;border-radius:50%;padding:5px;opacity:1;line-height:1}.home-item.slot-plant{left:13%;bottom:calc(24% + 13px);font-size:48px;width:62px;height:72px}.home-item.slot-pillow{right:12%;bottom:calc(16% + 22px);font-size:43px}.home-item.slot-lights{top:24px;left:10%;width:80%;height:35px}.string-lights{display:flex;justify-content:space-around;width:100%;border-top:2px solid #b6a581;border-radius:50%;padding-top:7px;font-size:21px;color:#f9d376;text-shadow:0 0 8px #fff9b1}.home-item.slot-rug{left:32%;bottom:7%;width:41%;height:49px;z-index:2}.woven-rug{width:100%;height:100%;background:repeating-linear-gradient(0deg,#dcb5a6 0 3px,#e8c8b4 3px 6px);border:5px solid #edcfc0;border-radius:50%;box-shadow:0 2px 0 #c8a589}.home-item.slot-shelf{left:9%;top:33%;font-size:40px}.home-item.slot-picture{right:27%;top:23%;font-size:44px}.home-item.slot-table{left:31%;bottom:16%;font-size:47px}.home-item.slot-bear{right:6%;bottom:8%;font-size:47px}.home-caption{text-align:center;margin:18px 0 0;color:#a59982;font-size:11px}.inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.inventory-card{border:1px solid var(--line);border-radius:13px;background:var(--white);padding:18px 13px;text-align:center}.inventory-card .inventory-emoji{display:block;font-size:28px;margin-bottom:8px}.inventory-card h3{font-size:12px;font-weight:500}.inventory-card p{font-size:9px;color:#99a481;margin-top:5px}.inventory-card.locked{background:#f3f0e9}.inventory-card.locked .inventory-emoji{filter:grayscale(1);opacity:.4}.inventory-card.locked p{color:#aca28e}.inventory-card .text-button{font-size:9px;margin-top:7px}.history-list{display:grid;gap:10px}.history-row{padding:14px;background:#f6f3eb;border:1px solid var(--line);border-radius:10px;display:flex;gap:13px;align-items:center}.history-row>span{font-size:24px}.history-row>div{flex:1;min-width:0}.history-row h3{font-size:12px;font-weight:500}.history-row p{font-size:10px;color:var(--muted);margin-top:3px}.history-row .fulfilled{font-size:10px;color:#91a278}.history-row .pending{font-size:10px;color:#b3986c}.modal{width:min(510px,calc(100% - 32px));max-height:86dvh;overflow:auto;border:1px solid #e6dece;border-radius:20px;background:var(--paper);padding:24px;color:var(--ink);box-shadow:0 25px 100px #493e3520}.modal::backdrop{background:#49433366;backdrop-filter:blur(4px)}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.close-button{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ebe7dc;font-size:20px;color:#a09784;line-height:1}.modal h2{font-size:22px;letter-spacing:1px;font-weight:500;margin-bottom:9px}.modal-subtitle{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:21px}.form{display:grid;gap:15px}.field{display:grid;gap:7px;font-size:11px;color:#8d8575}.field input,.field select,.field textarea{width:100%;border:1px solid #e1daca;border-radius:9px;padding:11px 12px;background:var(--white);color:var(--ink);font-size:13px;min-height:43px}.field textarea{resize:vertical;min-height:110px;line-height:1.9}.field small{font-size:10px;color:#aba18d}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:5px}.form-error{color:#b57062;background:#f9eae4;font-size:11px;padding:9px 12px;border-radius:7px}.form-error:empty{display:none}.settings-profile{display:flex;align-items:center;gap:14px;padding:19px;background:#edeedf;border:1px solid #e0e2cb;border-radius:12px;margin:20px 0}.settings-profile .account-avatar{width:48px;height:48px;font-size:28px}.settings-profile strong{font-size:15px;font-weight:500}.settings-profile p{font-size:10px;color:#929780;margin-top:3px}.menu-list{display:grid;gap:8px}.menu-button{width:100%;background:#fffcf5;border:1px solid var(--line);padding:14px;border-radius:10px;text-align:left;font-size:12px;display:flex;justify-content:space-between}.menu-button span{color:#b7ac97}.menu-button:hover{background:#efeee2}.admin-note{padding:13px;background:#f0eadf;border-radius:10px;font-size:11px;line-height:1.9;color:#a08d73;margin:15px 0}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.admin-grid .menu-button{display:block}.admin-grid .menu-button small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.success-dialog{text-align:center;padding:5px 10px 15px}.success-icon{font-size:61px;margin-bottom:14px}.success-dialog p{font-size:12px;color:var(--muted);margin:10px 0 22px;line-height:2}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,20px);background:#555844f2;box-shadow:0 5px 30px #4c494025;color:#fffcf3;border:1px solid #737659;border-radius:11px;padding:12px 20px;font-size:12px;max-width:calc(100% - 40px);width:max-content;text-align:center;z-index:200;opacity:0;pointer-events:none;transition:.25s;white-space:pre-wrap}.toast.visible{opacity:1;transform:translate(-50%,0)}.particles{position:fixed;inset:0;pointer-events:none;z-index:150;overflow:hidden}.particle{position:absolute;animation:particle-pop 1.1s ease-out forwards;font-size:20px;color:#c58587}.coin-float{position:fixed;font-size:21px;font-weight:600;color:#b18c3f;animation:coin-float 1.5s ease-out forwards;z-index:160;pointer-events:none}.rain-heart{position:fixed;top:-50px;animation:heart-rain 3.5s linear forwards;font-size:27px;color:#cb9193}.check-pop{display:inline-block;animation:check-pop .5s ease-out}.auth-page{min-height:100dvh;max-width:1100px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:center;padding:50px}.auth-art .brand{margin-bottom:55px}.auth-art h1{font-size:38px;font-weight:500;line-height:1.7;letter-spacing:3px;margin:17px 0}.auth-art>p{color:var(--muted);font-size:12px;line-height:2}.auth-room{margin-top:28px;border-radius:22px;transform:rotate(-2deg);box-shadow:7px 10px 0 #eae2d2;padding:12px;border:1px solid var(--line);background:var(--white)}.auth-room .room{height:270px}.auth-room .character{height:199px;width:152px}.auth-card{background:#fffdf7;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:var(--shadow)}.auth-card h2{font-size:25px;font-weight:500;margin:11px 0}.auth-card .auth-subtitle{color:var(--muted);font-size:12px;margin-bottom:27px;line-height:1.9}.role-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.role-toggle button{padding:13px 10px;border-radius:10px;border:1px solid var(--line);background:var(--paper);font-size:12px;color:#a29989}.role-toggle button.selected{border-color:#afbb9c;background:#edf0e4;color:#74845e}.auth-footnote{font-size:10px;text-align:center;line-height:1.9;color:#b1a592;margin-top:20px}.noscript{padding:30px;text-align:center}.admin-active-pill{display:inline-block;border:1px solid #d9cdb4;color:#ab9170;font-size:9px;padding:2px 7px;border-radius:4px;margin-left:8px}.load-error{max-width:560px;margin:15vh auto;padding:35px;border:1px solid var(--line);border-radius:20px;background:var(--white)}.load-error h1{font-size:22px;margin-bottom:13px}.load-error p{font-size:13px;color:var(--muted);line-height:2;margin-bottom:20px}.mini-list{display:grid;gap:8px;margin-top:15px}.mini-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f0ecdf;border-radius:9px;padding:10px 12px;font-size:12px}.modal-notice{font-size:10px;color:#a49984;margin-top:15px;line-height:1.8}
@keyframes boing{0%,100%{transform:translateX(-50%) scale(1)}20%{transform:translateX(-50%) scale(1.14,.84)}48%{transform:translateX(-50%) translateY(-21px) scale(.91,1.1)}75%{transform:translateX(-50%) scale(1.08,.92)}}@keyframes particle-pop{0%{opacity:1;transform:translate(0,0) scale(.5)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(1.25)}}@keyframes coin-float{0%{opacity:0;transform:translateY(0) scale(.8)}20%{opacity:1;transform:translateY(-20px) scale(1)}100%{opacity:0;transform:translateY(-100px) scale(1)}}@keyframes heart-rain{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translateY(110vh) rotate(200deg);opacity:0}}@keyframes check-pop{0%{transform:scale(.3)}70%{transform:scale(1.3)}100%{transform:scale(1)}}
@media(min-width:1450px){.main{padding-right:70px;padding-left:70px}.room{height:345px}.character{width:192px;height:250px}.postcard h2{font-size:24px}.task-card{padding:23px}}
@media(max-width:1180px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:20px;padding-right:20px}.main{padding-left:28px;padding-right:28px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(200px,1fr);gap:15px}.postcard{padding:27px 21px}.postcard h2{font-size:18px}.task-card{padding:16px;gap:10px}.subject-grid{gap:8px}.subject-card{padding:14px 12px}.room-window{left:7%;width:83px}.curtain{left:5%;width:101px}.room-sofa{width:83px}.room .wall-art{right:10%}.reward-grid{gap:12px}}
@media(max-width:960px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:32px 15px 15px}.brand{font-size:18px;gap:8px}.brand-symbol{width:37px;height:37px;font-size:29px}.brand small{font-size:7px;letter-spacing:1px}.main{padding:0 22px 20px}.nav-item{padding:12px 9px;font-size:12px;gap:7px}.sidebar-intro{font-size:11px}.dashboard-grid{grid-template-columns:1fr}.postcard{display:none}.task-grid{grid-template-columns:1fr 1fr}.task-icon{display:none}.page-heading h1{font-size:25px}.date-label{display:none}.stat{gap:10px}.stat-symbol{width:32px;height:32px;font-size:22px}.stat strong{font-size:21px}.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room{height:330px}.character{height:241px;width:185px}.room-window{width:110px;height:128px;left:11%}.curtain{width:127px;height:137px;left:9.5%}.curtain:before,.curtain:after{height:128px}.room-sofa{width:117px;right:9%}.wall-art{right:15%}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-page{gap:35px;padding:35px}.auth-card{padding:27px}.auth-art h1{font-size:29px}}
@media(max-width:700px){body{font-size:13px}.app-shell{display:block}.sidebar{height:auto;position:static;padding:0;border:0;background:transparent}.sidebar>.brand,.sidebar-intro,.sidebar-note,.account-button,.sidebar-date{display:none}.main-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;height:calc(67px + env(safe-area-inset-bottom));padding:7px 12px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#fffdf6f5;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.nav-item{flex-direction:column;justify-content:center;gap:3px;font-size:10px;padding:6px 2px;border-radius:9px}.nav-item i{display:none}.nav-icon{width:auto;font-size:22px;height:23px}.nav-item.active{background:#eef0e5}.main{padding:0 20px 97px}.topbar{height:58px}.topbar-label{font-size:9px;gap:4px}.topbar-label .status-dot{margin-left:4px}.desktop-settings{display:none}.mobile-settings{display:block;font-size:10px}.page-heading{margin:23px 0 20px}.eyebrow{font-size:8px;letter-spacing:2px}.page-heading h1{font-size:24px;margin:9px 0 7px;letter-spacing:.5px}.page-subtitle{font-size:11px;line-height:1.9;max-width:95%}.stats-strip{padding:13px 0;border-radius:13px;margin-bottom:18px}.stat{gap:7px}.stat-symbol{width:29px;height:29px;font-size:20px}.stat small{font-size:8px}.stat strong{font-size:22px}.stat em{font-size:8px;margin-left:4px}.panel-head{padding:17px 17px 13px}.panel-head h2{font-size:14px}.panel-head p{font-size:9px}.soft-tag{font-size:8px;padding:4px 7px}.scene-wrap{padding:0 11px 13px}.room{height:303px;border-radius:11px}.room-window{top:65px;left:8%;width:82px;height:105px;border-width:6px}.curtain{top:58px;left:6%;width:96px}.curtain:before,.curtain:after{width:17px;height:107px}.wall-art{top:86px;width:43px;height:51px;font-size:23px;right:9%!important}.room-lamp{left:53%}.character{width:167px;height:217px;bottom:8%}.room-sofa{width:80px;height:50px;right:5%;bottom:18%}.room-sofa:before{height:24px}.base-shelf{width:65px;left:6%;bottom:24%}.base-books{left:9%;width:9px;height:21px;box-shadow:11px 0 #d5a093,22px 0 #e3c483}.speech{font-size:10px;top:24px;padding:8px 11px;max-width:78%;min-width:145px}.room-hint{font-size:9px;padding-top:11px}.room-caption{font-size:7px;bottom:8px}.section-heading{margin:24px 0 13px}.section-heading h2{font-size:16px}.section-heading h2 small{font-size:10px;margin-left:6px}.section-heading .text-button{font-size:10px}.task-grid{grid-template-columns:1fr;gap:11px}.task-card{padding:17px;gap:12px}.task-icon{display:grid;width:35px;height:35px;font-size:19px}.task-main h3{font-size:13px}.task-main p{font-size:10px}.task-bottom{margin-top:12px}.button.small{min-height:35px;font-size:10px;padding:7px 14px}.task-meta{margin-bottom:6px}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.subject-card{padding:13px 11px}.subject-card h3{margin:7px 0;font-size:11px}.subject-level{font-size:8px}.subject-icon{font-size:17px}.gentle-banner{font-size:10px;line-height:1.9;padding:12px 13px;gap:10px}.page-footer{margin-top:27px;padding-top:16px;display:block;text-align:center;font-size:9px}.page-footer span{display:block}.page-footer span:last-child{margin-top:7px;font-size:7px}.secret-door{right:7px;bottom:calc(77px + env(safe-area-inset-bottom));width:25px;height:25px;font-size:13px}.page-toolbar{gap:12px;margin-bottom:17px;align-items:center}.tabs{padding:4px;gap:0}.tab{font-size:10px;padding:8px 11px}.page-toolbar>.button{font-size:10px;padding:8px 11px;min-height:34px}.category-tabs{gap:6px}.category-chip{font-size:9px;padding:5px 10px}.task-progress{padding:16px;gap:13px}.task-progress-text h2{font-size:12px}.task-progress-text p{font-size:9px}.task-progress strong{font-size:24px}.reward-grid{gap:11px}.reward-card{padding:12px;border-radius:14px}.reward-visual{height:99px;font-size:43px;margin-bottom:13px}.reward-card h3{font-size:12px}.reward-card>p{font-size:10px;margin-bottom:15px}.reward-bottom{flex-wrap:wrap;gap:8px}.reward-bottom .button{width:100%;font-size:10px}.reward-bottom .coin-reward{font-size:10px}.reward-bottom .coin-reward b{font-size:15px}.shop-intro{padding:16px;gap:13px;border-radius:13px;margin-bottom:18px}.shop-intro h2{font-size:13px}.shop-intro p{font-size:10px}.shop-intro>span{font-size:26px}.home-scene{padding:11px}.home-room{height:340px;background-size:28px 28px}.home-room .room-window{width:83px;height:111px;left:9%;top:75px}.home-room .curtain{width:99px;left:calc(9% - 8px);top:69px}.home-room .curtain:before,.home-room .curtain:after{height:112px;width:19px}.home-room .wall-art{top:95px;right:10%}.home-room .room-sofa{width:85px;height:55px;right:6%;bottom:17%}.home-room .room-sofa:before{height:26px}.home-room .base-shelf{left:6%;width:69px;height:11px}.home-room .base-books{left:9%}.home-room .character{height:195px;width:150px;left:53%;bottom:12%}.home-room .speech{top:53px;font-size:9px;min-width:135px}.home-room .room-lamp{left:51%}.home-item.slot-plant{left:5%;bottom:calc(24% + 10px);height:54px;width:49px;font-size:37px}.home-item.slot-pillow{right:6%;bottom:calc(17% + 13px);font-size:32px;width:48px;height:48px}.home-item.slot-rug{bottom:7%;height:37px;width:47%;left:29%}.home-item.slot-lights{top:21px;left:6%;width:88%;font-size:17px}.home-item .lock-badge{font-size:12px;padding:4px}.home-item.slot-shelf{font-size:27px;left:1%;top:36%}.home-item.slot-picture{font-size:32px;right:22%;top:27%}.home-item.slot-table{font-size:34px;left:24%;bottom:17%}.home-item.slot-bear{font-size:33px;right:1%;bottom:8%}.home-caption{font-size:10px;margin:15px 0 3px}.inventory-card{padding:15px 10px}.inventory-card h3{font-size:11px}.modal{padding:21px;width:calc(100% - 28px);border-radius:17px;max-height:88dvh}.modal h2{font-size:21px}.modal-subtitle{font-size:11px}.modal .field input,.modal .field select,.modal .field textarea,.auth-card input{font-size:16px}.toast{bottom:calc(89px + env(safe-area-inset-bottom));font-size:11px;padding:11px 16px}.auth-page{display:block;padding:29px 23px;max-width:500px}.auth-art .brand{margin-bottom:30px}.auth-art h1{font-size:28px;margin:12px 0;line-height:1.6}.auth-art>p{font-size:11px}.auth-room{display:none}.auth-card{margin-top:26px;padding:26px;border-radius:19px}.auth-card h2{font-size:22px}.auth-card .auth-subtitle{font-size:11px;margin-bottom:21px}.auth-card .eyebrow{font-size:8px}.auth-footnote{font-size:9px}.admin-grid{gap:8px}.admin-grid .menu-button{font-size:11px;padding:12px}.history-row{padding:12px;gap:10px}.history-row h3{font-size:11px}.history-row p{font-size:9px}.history-row .button{font-size:9px;padding:6px 8px}.load-error{margin:12vh 20px;padding:25px}}
@media(max-width:360px){.main{padding-left:14px;padding-right:14px}.stat-symbol{display:none}.page-heading h1{font-size:22px}.room{height:286px}.character{height:205px;width:158px}.tab{padding:8px 9px}.field-grid{grid-template-columns:1fr}.subject-card{padding:12px 9px}.auth-page{padding:24px 18px}.auth-card{padding:23px}.coin-reward{font-size:10px}}
/* 手机上提高正文可读性，并为手指留出足够的点击区域。 */
.task-progress strong{white-space:nowrap;flex-shrink:0}.reward-card h3,.inventory-card h3,.subject-card h3,.history-row h3,.modal h2,.settings-profile strong{overflow-wrap:anywhere}.stat-long .stat-symbol{display:none}.stat-long strong{font-size:18px;letter-spacing:-.5px}.stat-long em{font-size:8px}
@media(max-width:700px){.page-subtitle{font-size:12px}.stat small,.stat em{font-size:9px}.nav-item{font-size:11px}.task-main p{font-size:11px}.task-meta{font-size:10px}.button.small{min-height:40px}.reward-card>p{font-size:11px}.reward-bottom .button{min-height:40px}.room-hint{font-size:10px}.tab{min-height:39px}.category-chip{min-height:32px}.subject-card p{font-size:10px}.inventory-card p{font-size:10px}.modal-notice{font-size:11px}.shop-intro p{font-size:11px}.home-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;animation-iteration-count:1!important}.particle,.rain-heart,.coin-float{display:none}}
