.doll{width:auto;aspect-ratio:2/3;left:50%;transform:translateX(-50%)}
.layer-dress{top:32%;height:38%;left:24%;width:52%}
.layer-head{top:2%;height:12%;left:31%;width:38%}
.layer-back{top:30%;height:38%;left:5%;width:90%}
.layer-hand{top:39%;height:31%;left:65%;width:30%}
.daily-gift{display:block}
.home-task-panel{margin-top:42px}
.portrait{padding:0;cursor:pointer}
.home-greeting{max-width:48%}.home-greeting h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.mobile-profile b{max-width:clamp(80px,28vw,130px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}
.layer-face{top:19%;height:10%;left:32%;width:36%;z-index:5}
.layer-neck{top:31%;height:9%;left:37%;width:26%;z-index:4}
.dress-room .stage-pet{right:2%;width:35%;height:27%}
@media(max-width:600px){.game-task b,.full-task-list .game-task b{font-size:calc(15px * var(--text-scale,1.18));line-height:1.5}.game-task p{font-size:calc(11px * var(--text-scale,1.18))}.task-status{font-size:calc(13px * var(--text-scale,1.18))}.task-status.finished{min-height:44px;width:44px}.inventory-card b{font-size:calc(12px * var(--text-scale,1.18))}.mobile-side-shortcuts button{font-size:calc(12px * var(--text-scale,1.18))}}
@media(max-width:600px){.game-home>.doll-stage>.stage-pet{right:6%;width:37%;height:27%}}
.streak-banner{position:relative;isolation:isolate}
.streak-banner:after{content:'';position:absolute;right:-22px;top:-15px;width:35%;height:140%;background:url('assets/game/castle.webp') 75% center/cover;opacity:.18;z-index:-1;mask-image:linear-gradient(90deg,transparent,black)}
.streak-art{position:relative;width:44%;height:170px;flex-shrink:0}
.streak-art img{position:absolute;object-fit:contain}
.streak-chest{width:82%;height:90%;right:-5%;bottom:0}
.streak-hero{width:72%;height:105%;left:-15%;bottom:0}
.streak-pet{width:40%;height:45%;left:-12%;bottom:-5%}
@media(max-width:600px){.streak-art{height:135px;width:42%}}
.mobile-side-shortcuts,.mobile-claim{display:none}
@media(max-width:600px){.game-home{display:block;min-height:calc(100dvh - 218px);padding:0 16px 15px}.game-home>.doll-stage{height:calc(100dvh - 420px);min-height:300px;max-height:550px;width:90%;margin:0 auto}.game-home .home-task-panel,.game-home .home-shortcuts{display:none}.mobile-side-shortcuts{display:flex;flex-direction:column;gap:15px;position:absolute;right:15px;top:34%;z-index:5}.mobile-side-shortcuts button{background:#685795b0;color:white;border-radius:18px;display:flex;align-items:center;flex-direction:column;font-size:calc(11px * var(--text-scale,1.18));min-width:52px;min-height:57px;text-shadow:0 2px #5e4b80}.mobile-side-shortcuts img{width:45px;height:45px;object-fit:contain}.mobile-claim{display:block;position:absolute;bottom:20px;left:12%;width:76%;font-size:calc(25px * var(--text-scale,1.18));min-height:61px;border-radius:35px;border:4px solid #ffe9b8;box-shadow:0 5px #a0718955,inset 0 -4px #efad4a}}
.legacy-content:has(.parent-workspace){position:relative}
.parent-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border-radius:50%;background:#8e6ac2;color:white;font-size:calc(28px * var(--text-scale,1.18));z-index:5;border:2px solid #d0b8e9}
@media(max-width:600px){.game-main:not(.is-home)>.game-topbar{display:none}.game-main:has(.inventory-layout) .game-page-title>small{display:block;position:absolute;right:15px;font-size:calc(11px * var(--text-scale,1.18))}.game-main:not(.is-home) .page-parchment{min-height:calc(100dvh - 145px)}}
.layer-dress.garment-long{height:64%;top:32%}
.recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.recommend-grid .inventory-card>img{height:160px}
@media(max-width:600px){.recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recommend-grid .inventory-card>img{height:80px}.recommend-grid .inventory-card b{font-size:calc(10px * var(--text-scale,1.18))}}
.reward-stars{animation:reward-sparkle 2s ease-in-out infinite alternate}
.reward-girl{animation:reward-arrive .55s ease-out both}
@keyframes reward-sparkle{from{opacity:.65;transform:scale(.9)}to{opacity:1;transform:scale(1.05)}}
@keyframes reward-arrive{from{opacity:0;transform:translateY(18px) scale(.9)}to{opacity:1;transform:none}}
.doll[data-stars="2"]{filter:drop-shadow(0 0 15px #d6a4ff99)}
.doll[data-stars="3"]{filter:drop-shadow(0 0 20px #ffe49bcc)}
.dressing-items{overflow:visible;max-height:none;display:flex;flex-direction:column;align-self:center}
.dress-grid{max-height:430px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.dressing-items .gold{flex-shrink:0}
[hidden]{display:none!important}
.game-modal-close{position:absolute;top:9px;right:9px;z-index:20;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#9273bc;border:2px solid #cfb6e7;color:white;font-size:calc(27px * var(--text-scale,1.18));box-shadow:0 2px #60457877}
.fairy-game dialog>h2{padding:0 25px}
.task-status{min-height:44px}
.game-tools button{width:44px;height:44px;display:grid;place-items:center}
.reward-ribbon{background:url('assets/game/ui-14.webp') center/100% 100% no-repeat;border:0;box-shadow:none;padding:24px 10px}
.parent-workspace{display:grid;grid-template-columns:135px minmax(0,1fr);gap:22px}
.parent-workspace>aside{background:linear-gradient(#7962ac,#585080);border-radius:20px;padding:15px 10px;align-self:stretch}
.parent-workspace .admin-tabs{flex-direction:column;gap:8px}
.parent-workspace .tab{color:#fff0e3;background:#ffffff17;min-height:40px}
.parent-workspace .tab.active{background:#fff0da;color:#916749}
.parent-guide{width:100%;height:200px;object-fit:contain;object-position:bottom;margin-top:30px}
.legacy-content:has(.parent-workspace){border:7px solid #9781be;box-shadow:0 0 0 3px #c2b0dd}
.legacy-content:has(.parent-workspace)>.pagehead{background:linear-gradient(#af85e2,#825ac9);margin:-25px -25px 24px;padding:18px 25px;border-radius:20px 20px 0 0;color:white}
.legacy-content:has(.parent-workspace)>.pagehead h1{color:white}
.legacy-content:has(.parent-workspace)>.pagehead .eyebrow{color:#ebd4ff}
.game-home .doll-stage{max-width:100%}
@media(max-width:600px){.game-main.is-home{background-image:linear-gradient(#6684c900,#4a38732b),url('assets/game/castle.webp');background-position:center top;background-size:auto 100vh;background-repeat:no-repeat;background-color:#c0afda}.game-main.is-home .game-home>.doll-stage{margin-top:8px}.game-task p{max-width:100%}}
@media(max-width:820px){.home-task-panel{margin-top:0}}
@media(max-width:600px){.task-status{min-height:44px}.game-tools button{width:40px;height:40px}.dress-room .doll{height:auto;width:100%;aspect-ratio:2/3;bottom:20px}}
@media(max-width:600px){.dress-grid{max-height:260px}.dressing-items{max-height:none;overflow:visible;align-self:start}}
@media(max-width:600px){.parent-workspace{grid-template-columns:1fr;gap:15px}.parent-workspace>aside{padding:8px;border-radius:14px}.parent-workspace .admin-tabs{flex-direction:row;margin:0;gap:5px}.parent-workspace .tab{flex:1;font-size:calc(10px * var(--text-scale,1.18));padding:7px;white-space:nowrap}.parent-guide{display:none}.legacy-content:has(.parent-workspace){border-width:0}.legacy-content:has(.parent-workspace)>.pagehead{margin:-20px -15px 20px;padding:15px}.parent-workspace section{min-width:0}}
