.progress{position:relative;overflow:visible;padding-right:88px}.progress .bar{position:relative;height:12px!important}.progress .bar-fill,.mini-line i{position:relative;overflow:hidden;background:linear-gradient(90deg,var(--progress-a,var(--theme-main)),var(--progress-b,var(--theme-warm)))!important}.progress .bar-fill::after,.mini-line i::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 14px,rgba(255,255,255,.42) 14px 23px,transparent 23px 36px);animation:progress-flow 1.5s linear infinite}.progress-buddy{--pet-x:0px;--pet-y:0px;position:absolute;z-index:8;right:12px;top:50%;width:72px;height:82px;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;transform:translate3d(var(--pet-x),calc(-50% + var(--pet-y)),0);filter:drop-shadow(0 11px 12px rgba(42,55,93,.2));animation:pet-breathe 3.4s ease-in-out infinite;transition:filter .2s}.progress-buddy img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;background:transparent}.progress-buddy:hover{filter:drop-shadow(0 13px 15px rgba(42,55,93,.28))}.progress-buddy:focus-visible{outline:3px solid var(--theme-main);outline-offset:4px;border-radius:50%}.progress-buddy.is-dragging{cursor:grabbing;animation:none;filter:drop-shadow(0 16px 18px rgba(42,55,93,.3))}.fc-progress .progress-buddy{right:-90px;top:58%;width:78px;height:90px}.pet-speech{position:absolute;right:50%;bottom:92%;width:max-content;max-width:180px;padding:7px 10px;border:1px solid rgba(73,87,133,.16);border-radius:13px 13px 3px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(39,52,91,.15);color:#4e5872;font:700 10px/1.4 SimSun,"Songti SC",serif;opacity:0;transform:translateY(6px) scale(.94);pointer-events:none;transition:.2s}.progress-buddy.is-speaking .pet-speech{opacity:1;transform:translateY(0) scale(1)}.progress-buddy[data-action="wave"] img{animation:pet-wave .7s ease-in-out 2}.progress-buddy[data-action="bounce"] img{animation:pet-bounce .55s ease 2}.progress-buddy[data-action="nod"] img{animation:pet-nod .5s ease-in-out 2}.progress-buddy[data-action="celebrate"] img{animation:pet-celebrate .8s ease-in-out 2}
@keyframes progress-flow{to{background-position:72px 0}}
@keyframes pet-breathe{0%,100%{scale:1;rotate:-1deg}50%{scale:1.035;rotate:1deg}}@keyframes pet-wave{0%,100%{transform:rotate(0)}40%{transform:rotate(-9deg)}70%{transform:rotate(7deg)}}@keyframes pet-bounce{0%,100%{transform:translateY(0)}45%{transform:translateY(-13px) scale(1.04,.96)}}@keyframes pet-nod{0%,100%{transform:rotate(0)}50%{transform:rotate(6deg) translateY(3px)}}@keyframes pet-celebrate{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-12px) rotate(-8deg)}70%{transform:translateY(-5px) rotate(8deg)}}
.analytics{display:grid;grid-template-columns:1fr 1.15fr 1.15fr;gap:10px;margin:12px 0 16px}.chart-card{min-height:170px;padding:15px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.82)}.chart-card h4{font-size:13px;color:var(--ink);margin-bottom:12px}.donut-wrap{display:flex;align-items:center;gap:14px}.donut{width:98px;height:98px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#3f5dc1 0 var(--c1,0%),#ef846c var(--c1,0%) var(--c2,0%),#39a17b var(--c2,0%) var(--c3,0%),#e8ae55 var(--c3,0%) var(--c4,0%),#b8bfd1 var(--c4,0%));position:relative}.donut::after{content:"";width:58px;height:58px;border-radius:50%;background:#fff}.donut strong{position:absolute;z-index:1;font-size:19px}.chart-legend{font-size:10px;line-height:1.8;color:#727b90}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.bar-row{display:grid;grid-template-columns:42px 1fr 22px;gap:6px;align-items:center;margin:7px 0;font-size:10px;color:#6f7890}.bar-track{height:7px;border-radius:9px;background:#edf0f5;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--theme-main),var(--theme-warm))}.trend{display:flex;align-items:end;gap:5px;height:92px;padding-top:8px}.trend-col{flex:1;text-align:center;font-size:9px;color:#8b93a5}.trend-col i{display:block;min-height:3px;border-radius:7px 7px 2px 2px;background:linear-gradient(#ef9a7f,#496bd2);margin-bottom:5px}.trash-open{border:1px solid #d8dce6;background:#fff;color:#687188!important}.trash-panel{display:none;margin:12px 0;padding:14px;border:1px dashed #d5d9e4;border-radius:16px;background:#f8f9fc}.trash-panel.open{display:block}.trash-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.trash-head h4{font-size:14px}.trash-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#fff;border:1px solid #e7e9ef;margin-top:7px}.trash-info{flex:1;min-width:0}.trash-info strong{display:block;font-size:12px}.trash-info small{color:#8e96a8}.trash-item button{border:0;border-radius:8px;padding:6px 8px;font-size:10px;cursor:pointer}.restore-btn{background:#e6f5ee;color:#23785a}.forever-btn{background:#fdeaea;color:#b84747}.undo-toast{display:flex!important;align-items:center;gap:14px;white-space:nowrap}.undo-toast button{border:0;border-radius:8px;padding:5px 9px;background:#fff;color:#3158c6;font-weight:800;cursor:pointer}
.pet-setting{margin-top:22px}.pet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.pet-choice{position:relative;border:2px solid transparent;border-radius:15px;padding:9px;background:#fff;cursor:pointer;text-align:left}.pet-choice.active{border-color:var(--theme-main);box-shadow:0 7px 18px color-mix(in srgb,var(--theme-main) 15%,transparent)}.pet-choice.locked{filter:grayscale(.65);opacity:.62;cursor:not-allowed}.pet-choice img{width:48px;height:48px;object-fit:contain;float:left;margin-right:9px;background:transparent}.pet-choice strong{display:block;font-size:12px;margin-top:3px}.pet-choice small{display:block;font-size:9px;color:#8c94a6;line-height:1.4}.pet-reset{margin-top:9px;border:1px solid #dce1ec;border-radius:10px;padding:7px 10px;background:#fff;color:#667189;font-size:10px;font-weight:700;cursor:pointer}.pet-reset:hover{border-color:var(--theme-main);color:var(--theme-main)}.checkin-card{margin-top:12px;padding:13px;border-radius:14px;background:linear-gradient(135deg,#edf3ff,#fff3ee);border:1px solid #e1e6f0}.checkin-card strong{font-size:13px}.checkin-card p{font-size:10px;color:#778096;margin-top:4px}.checkin-stats{display:flex;gap:14px;margin-top:9px;font-size:11px}.checkin-stats b{color:var(--theme-main)}
@media(max-width:820px){.analytics{grid-template-columns:1fr 1fr}.chart-card:last-child{grid-column:1/-1}.fc-progress .progress-buddy{right:-70px}}@media(max-width:560px){.analytics{grid-template-columns:1fr}.chart-card:last-child{grid-column:auto}.progress{padding-right:66px}.progress-buddy{width:56px;height:66px;right:7px}.fc-progress .progress-buddy{right:-52px;width:58px;height:68px}.pet-speech{max-width:135px;font-size:9px}.wrong-actions{flex-wrap:wrap}.wrong-actions .btn{flex:1}.pet-grid{grid-template-columns:1fr}}
@media(max-width:480px){.hero-copy h1{max-width:340px!important;font-size:40px!important;line-height:1.02!important}.hero-copy h1 span{display:block}.dream-hero{overflow:hidden}}
html[data-motion="off"] .progress .bar-fill::after,html[data-motion="off"] .mini-line i::after,html[data-motion="off"] .progress-buddy{animation:none}@media(prefers-reduced-motion:reduce){.progress .bar-fill::after,.mini-line i::after,.progress-buddy,.progress-buddy img{animation:none!important;transition:none!important}}

/* 宠物独立占位：明确缩短进度轨道，避免盒模型让宠物压住进度。 */
.progress{padding-right:0}.progress .txt,.progress .bar{width:calc(100% - 96px)}
@media(max-width:560px){.progress{padding-right:0}.progress .txt,.progress .bar{width:calc(100% - 72px)}}
