.growth-entry{display:flex;align-items:center;gap:15px;border:1px solid #596b4b;border-radius:14px;padding:12px 18px;background:#1c291ee8;margin-bottom:22px;font-size:14px}.growth-entry small{display:block;color:var(--muted);margin-top:4px}.growth-entry .text-button{margin-left:auto}.growth-emblem{position:relative;display:block;width:60px;height:65px;flex:none}.rank-sprite{display:block;width:100%;height:100%;background-size:400% 200%;background-repeat:no-repeat}.growth-emblem>span:last-child:not(.rank-sprite){position:absolute;left:0;right:0;bottom:-6px;text-align:center;color:#effacb;font-size:12px;letter-spacing:2px;text-shadow:0 2px 4px #000}.growth-emblem.big{width:120px;height:120px;margin-bottom:10px}.rank-stars{display:flex;justify-content:center;gap:6px}.rank-stars i{font-style:normal;color:#627058}.rank-stars i.lit{color:var(--lime)}.growth-progress{padding:24px;display:flex;gap:30px;align-items:center;margin:28px 0}.growth-progress h2{font-size:28px;margin:8px 0}.growth-progress p{margin:8px 0}.growth-progress small{font-size:12px;color:var(--muted)}.growth-progress progress{display:block;width:min(500px,100%);height:8px;margin:14px 0;accent-color:var(--lime)}.wardrobe-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.5fr);gap:30px;align-items:start}.wardrobe-studio{padding:24px;text-align:center;position:sticky;top:90px;background:#242424}.studio-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.wardrobe-studio h2{font-size:26px;margin-top:8px}.studio-wearing{font-size:15px;margin:8px 0;min-height:24px}.character-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:20px}.character-tabs .text-button{padding:8px 12px}.character-tabs [aria-pressed=true]{border-color:var(--lime);color:var(--lime)}.wardrobe-studio .bottom-actions{display:block;margin:16px 0}.wardrobe-studio .bottom-actions button{width:100%;margin-bottom:10px}.rank-motion-stage{position:relative;isolation:isolate;width:100%;height:320px;display:grid;place-items:center;margin-top:10px;overflow:hidden}.rank-composite.avatar-frame{position:relative;width:270px;height:300px;max-width:100%;margin:0 auto;overflow:visible;cursor:ew-resize}.rank-portrait-inner{position:relative;width:270px;height:300px;transform:perspective(850px) rotateY(var(--portrait-yaw,0deg)) rotateX(var(--portrait-pitch,0deg));transition:transform .22s ease;transform-origin:center}.rank-body{position:absolute;left:30px;top:99px;width:270px;height:220px;transform:scale(.78);transform-origin:top left}.rank-body .avatar.portrait{margin:0!important;transform:none!important}.rank-body .portrait-volume{transform:none}.rank-sheen{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--portrait-light-x,35%) 15%,#fff4d30c,transparent 60%)}.rank-worn{position:absolute;pointer-events:none;z-index:3}.rank-hat-views,.rank-hat-view{position:absolute;inset:0;background-size:300% 100%;background-repeat:no-repeat}.rank-hat-view{opacity:0;transition:opacity .2s}.rank-hat-front{opacity:1}.avatar-frame[data-portrait-view=left] .rank-hat-left,.avatar-frame[data-portrait-view=right] .rank-hat-right{opacity:1}.avatar-frame[data-portrait-view=left] .rank-hat-front,.avatar-frame[data-portrait-view=right] .rank-hat-front{opacity:0}.rank-motion-caption{min-height:50px;font-size:13px;color:#c2d3ab;margin:18px 0 10px}.rank-animation-review{text-align:left;border-top:1px solid var(--line);padding-top:12px}.rank-animation-review summary{padding:10px 0;min-height:44px;cursor:pointer;font-size:14px}.animation-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.animation-buttons .text-button{font-size:13px}.wardrobe-catalogue>h2{font-size:22px;margin:10px 0}.wardrobe-catalogue>h2 small{font-size:14px;color:var(--muted);margin-left:10px}.rank-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 32px}.material-card{display:flex;align-items:center;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:12px;background:#202821;color:var(--text);padding:12px 8px;cursor:pointer}.material-card>.rank-sprite,.legacy-material{width:76px;height:76px;margin-bottom:9px}.material-card strong{font-size:14px}.material-card small{font-size:11px;color:var(--muted);margin-top:5px}.material-card.chosen{border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime)}.material-card.locked>.rank-sprite{filter:saturate(.65);opacity:.8}.material-card.unlocked small{color:var(--lime)}.legacy-material{display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#536343,#273226);color:#d5dfc5;font-size:32px;border:1px dashed #718364}.wardrobe-items{display:grid;gap:12px}.wardrobe-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:15px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:15px;background:#1d261fe8}.wardrobe-item.owned{border-color:#789051}.wardrobe-item h3{font-size:17px;margin:5px 0}.wardrobe-item p{font-size:12px;color:var(--muted);line-height:1.7}.item-status{font-size:11px;color:#b1c998}.item-thumb{position:relative;display:block;width:90px;height:90px}.item-thumb .rank-hat-view{opacity:0}.item-thumb .rank-hat-front{opacity:1}.rank-rules{padding:22px;margin-top:30px;font-size:14px;line-height:1.9}.rank-rules summary{cursor:pointer;min-height:44px}.rank-rules p{color:var(--muted);margin:12px 0}.rank-motion-halo{position:absolute;inset:25px 10%;border:1px solid #d5fa7477;border-radius:50%;opacity:0;z-index:-1;pointer-events:none}.rank-motion-stars{position:absolute;top:25px;left:0;right:0;font-size:29px;color:var(--lime);opacity:0;pointer-events:none}.rank-motion-flash{position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,#f1faca45 50%,transparent 70%);opacity:0;pointer-events:none}.rank-compact.avatar-frame{width:64px;height:70px;flex:none}.growth-entry [data-rank-motion-host]{position:relative;width:64px;height:70px;flex:none;overflow:hidden}.growth-entry .rank-motion-halo{inset:10px 0}.growth-entry .rank-motion-stars{font-size:14px;top:0}.rank-motion-stage[data-rank-motion=obtain] .rank-portrait-inner{animation:rank-acquire 1.7s ease both}.rank-motion-stage[data-rank-motion=obtain] .rank-motion-halo,.rank-motion-stage[data-rank-motion=promote] .rank-motion-halo{animation:rank-ring 1.7s ease both}.rank-motion-stage[data-rank-motion=equip] .rank-worn[data-rank-animate]{animation:rank-equip .9s cubic-bezier(.2,.8,.2,1) both}.rank-motion-stage[data-rank-motion=remove] .rank-worn[data-rank-animate]{animation:rank-remove .7s ease both}.rank-motion-stage[data-rank-motion=level] .rank-motion-stars{animation:rank-star 1.3s ease both}.rank-motion-stage[data-rank-motion=promote] .rank-motion-flash{animation:rank-material-light 2.4s ease both}.rank-motion-stage[data-rank-motion=promote] .rank-worn{animation:rank-promote 2.4s ease both}.rank-motion-stage[data-rank-motion=promote] .rank-motion-stars{animation:rank-star 2.4s ease both}.growth-entry[data-rank-motion=level],.growth-entry[data-rank-motion=obtain],.growth-entry[data-rank-motion=promote]{animation:rank-entry-glow 1.7s ease both}@keyframes rank-acquire{0%{opacity:.1;filter:brightness(1.6);translate:0 15px;scale:.87}50%{opacity:1;translate:0 -5px;scale:1.03}100%{opacity:1;translate:0;scale:1}}@keyframes rank-equip{0%{opacity:0;translate:0 -45px;rotate:-8deg}70%{opacity:1;translate:0 4px;rotate:2deg}100%{opacity:1;translate:0;rotate:0deg}}@keyframes rank-remove{0%{opacity:1;translate:0}65%{opacity:0;translate:0 -35px}100%{opacity:0;translate:0 -35px}}@keyframes rank-ring{0%{opacity:0;scale:.65}35%{opacity:.65}100%{opacity:0;scale:1.25}}@keyframes rank-star{0%{opacity:0;translate:0 14px;scale:.5}40%{opacity:1;translate:0;scale:1.1}70%{opacity:1;scale:1}100%{opacity:0;translate:0 -6px}}@keyframes rank-material-light{0%,15%,100%{opacity:0;translate:-80% 0}40%{opacity:1}70%{opacity:0;translate:80% 0}}@keyframes rank-promote{0%,100%{filter:brightness(1);scale:1}40%{filter:brightness(1.35);scale:1.04}}@keyframes rank-entry-glow{0%,100%{box-shadow:0 0 0 #d5fa7400}35%{box-shadow:0 0 25px #d5fa7466}}
html[data-reduced=true] .rank-composite *,html[data-ambient-paused=true] .rank-composite *{transition:none!important;animation:none!important}html[data-reduced=true] [data-rank-motion],html[data-reduced=true] [data-rank-motion] *,html[data-ambient-paused=true] [data-rank-motion],html[data-ambient-paused=true] [data-rank-motion] *{animation:none!important}
@media(max-width:1050px){.wardrobe-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}.wardrobe-studio{padding:15px}.wardrobe-item{grid-template-columns:65px minmax(0,1fr);gap:12px}.item-thumb{width:65px;height:65px}.wardrobe-item>.text-button{grid-column:2;justify-self:start}.rank-material-grid{gap:8px}.material-card strong{font-size:12px}}
@media(max-width:700px){.wardrobe-layout{grid-template-columns:1fr}.wardrobe-studio{position:static;padding:20px 12px}.growth-progress{padding:18px;gap:15px}.growth-emblem.big{width:78px;height:90px}.growth-progress h2{font-size:22px}.growth-progress p{font-size:13px}.growth-entry{padding:10px;gap:10px;font-size:12px;flex-wrap:wrap}.growth-entry .text-button{font-size:12px}.growth-entry small{font-size:11px}.growth-entry .growth-emblem{width:42px;height:48px}.rank-material-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.material-card>.rank-sprite,.legacy-material{width:62px;height:62px}.wardrobe-item{padding:12px}.wardrobe-item h3{font-size:16px}.wallet-strip{column-gap:8px;row-gap:0}.wallet-strip .text-button{padding-inline:8px}}
@media(max-width:360px){.rank-motion-stage{height:290px}.rank-composite:not(.rank-compact){width:240px;height:267px}.rank-composite:not(.rank-compact) .rank-portrait-inner{scale:.89;transform-origin:top left}.material-card strong{font-size:11px}.material-card small{font-size:10px}}

.portrait-card .rank-composite.avatar-frame{width:270px;height:300px;max-width:100%}.rank-reward-feedback{margin-top:12px}
.rank-body .avatar.portrait{background-color:transparent}.rank-animation-review{scroll-margin-top:75px}.wardrobe-studio .studio-top{scroll-margin-top:85px}
.wardrobe-studio{position:static}.rank-sheen{border-radius:50%}.growth-entry [data-rank-motion-caption]{scroll-margin-top:80px}

/* Canonical fitted composition. Responsive scale, viewing tilt and event
   animation live on separate nodes; no clothing offset belongs to the viewport. */
.rank-scale{width:270px;height:300px;transform:scale(var(--rank-scale,1));transform-origin:top left}
.rank-composite.avatar-frame{height:calc(300px * var(--rank-scale,1));overflow:visible}
.rank-composite .rank-body{z-index:1}
.rank-composite.avatar-frame .rank-body .avatar.portrait{transform:none!important;margin:0!important}
.rank-composite.avatar-frame[data-character] .rank-worn{inset:0;left:0;top:0;width:270px;height:300px;transform:none;clip-path:none;z-index:3}
.rank-composite.avatar-frame[data-character] .rank-worn.rank-behind{z-index:0}
.rank-composite.avatar-frame[data-character] .rank-slot-tool,.rank-composite.avatar-frame[data-character] .rank-slot-medal{z-index:4}
.rank-fit-pose{position:absolute;display:block;opacity:0;transition:opacity .18s ease;pointer-events:none}
.rank-fit-front{opacity:1}
.rank-composite[data-portrait-view=left] .rank-fit-left,.rank-composite[data-portrait-view=right] .rank-fit-right{opacity:1}
.rank-composite[data-portrait-view=left] .rank-fit-front,.rank-composite[data-portrait-view=right] .rank-fit-front{opacity:0}
.rank-fitted-art{display:block;position:absolute;inset:0;filter:drop-shadow(0 1.2px 1px #0005)}
.rank-hat-art{background-size:300% 100%;background-repeat:no-repeat;filter:drop-shadow(0 1px .6px #0004)}
.rank-behind .rank-fitted-art{filter:none;clip-path:none}
.rank-crown{position:absolute;display:block;inset:0;pointer-events:none}
.rank-crown .portrait-left{clip-path:polygon(34% 15%,65% 15%,65% 22%,58% 26%,52% 31%,43% 31%,40% 24%,34% 22%)}
.rank-crown .portrait-front{clip-path:polygon(36% 15%,64% 15%,64% 22%,60% 24%,58% 31%,42% 31%,40% 24%,36% 22%)}
.rank-crown .portrait-right{clip-path:polygon(32% 15%,65% 15%,65% 23%,61% 25%,59% 31%,48% 31%,41% 26%,32% 22%)}
.rank-crown .portrait-left,.rank-crown .portrait-right{translate:0 -5px}
.rank-composite[data-character=frog] .rank-hat-art{filter:none}
.rank-composite[data-character=frog] .rank-item-hat:not(.rank-behind) .rank-hat-art{filter:drop-shadow(0 1px .6px #0003)}
.rank-headphone-pose{inset:0;width:270px;height:300px}
.rank-ear-band{position:absolute;display:block;clip-path:inset(0 0 55% 0)}
.rank-ear-cup{position:absolute;display:block;overflow:hidden;border-radius:32%;filter:drop-shadow(0 1px 1px #0005)}
.rank-cup-art{position:absolute;display:block}
.rank-composite[data-character=pangolin] .rank-item-glasses .rank-fitted-art{clip-path:inset(0 48% 0 0)}
.rank-legacy-sprite{background-size:300% 100%}
.rank-compact.avatar-frame{--rank-scale:.237;width:64px;height:71px}
.rank-compact .rank-portrait-inner{transform:perspective(850px) rotateY(var(--portrait-yaw,0deg)) rotateX(var(--portrait-pitch,0deg))}
.avatar-frame.rank-standard.mini{--rank-scale:.174;width:47px;height:52px;flex:none}
.avatar-frame.rank-standard.medium{--rank-scale:.4;width:108px;height:120px}
.pick>.avatar-frame.rank-standard:not(.medium){width:216px;height:240px;--rank-scale:.8}
@media(min-width:1440px){.pick>.avatar-frame.rank-standard:not(.medium){width:270px;height:300px;--rank-scale:1}}
@media(max-width:1250px) and (min-width:951px){.pick>.avatar-frame.rank-standard:not(.medium){width:176px;height:196px;--rank-scale:.652}}
@media(max-width:700px){.pick>.avatar-frame.rank-standard:not(.medium){width:128px;height:142px;--rank-scale:.474}}
@media(max-width:360px){.rank-composite:not(.rank-compact) .rank-portrait-inner{scale:1}.rank-composite:not(.rank-compact){width:240px;--rank-scale:.889}}
html[data-reduced=true] .rank-fit-pose,html[data-ambient-paused=true] .rank-fit-pose{transition:none}
/* Worn, not pasted: contact shadows sit between the fur and the item; every item also casts a small shadow onto the body. */
.rank-contact{position:absolute;left:0;top:0;width:270px;height:300px;z-index:2;pointer-events:none;mix-blend-mode:multiply}
.rank-composite .rank-item-glasses .rank-fitted-art{filter:drop-shadow(0 4px 2.5px #0007)}
.rank-composite .rank-item-bow .rank-fitted-art{filter:drop-shadow(0 3px 2px #0006)}
.rank-composite .rank-slot-tool .rank-fitted-art,.rank-composite .rank-slot-medal .rank-fitted-art{filter:drop-shadow(1px 3px 2px #0007)}
.rank-composite .rank-item-hat:not(.rank-behind) .rank-hat-art{filter:drop-shadow(0 2px 1.5px #0005)}
