/* A compact preview and a separate catalogue scroller: never a floating hero. */
body{--shop-surface:#e5f7f1}body[data-hero=girl]{--shop-surface:#fff0f5}body[data-hero=boy]{--shop-surface:#eaf4ff}
header{position:sticky;top:0;z-index:60;background:var(--shop-surface);box-shadow:0 3px 14px #28495918;width:100%;box-sizing:border-box}
body[data-shop=true]{overflow:hidden}body[data-shop=true] .wrap{height:calc(100dvh - var(--hud-height,170px));box-sizing:border-box;display:flex;flex-direction:column;padding:8px 16px;overflow:hidden}body[data-shop=true] .footer{flex:none;padding:6px 0;margin:0;min-height:36px}.shop-title{display:flex;align-items:center;gap:20px;flex:none;height:40px}.shop-title h1{font-size:24px;margin:0}.shop-layout{flex:1;min-height:0;grid-template-columns:220px minmax(0,1fr);gap:14px;padding-bottom:4px}.shop-layout .shop-avatar{position:static!important;align-self:stretch;margin:0;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;overflow:hidden}.shop-layout .shop-avatar .avatar{width:140px!important;height:210px!important;margin:0!important;flex:none}.shop-avatar h2{font-size:18px;margin:6px 0}.shop-avatar .secondary{font-size:15px;min-height:44px;padding:8px}.shop-layout .shop-items{min-height:0;min-width:0;display:flex;flex-direction:column;padding:10px;overflow:hidden}.shop-layout .categories{display:flex;flex:none;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 2px 8px;scrollbar-width:thin}.shop-layout .category{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:9px 13px;font-size:16px;overflow-wrap:normal}.shop-layout .outfit-grid{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 5px 20px;scrollbar-gutter:stable}.shop-layout .outfit{min-width:0;padding:9px}.shop-layout .outfit h3{font-size:17px;min-height:40px;line-height:1.25;margin:8px 0}.shop-layout .outfit button{font-size:16px;min-height:44px;width:100%;padding:8px 4px}.shop-layout .price{font-size:20px;margin:5px 0}.shop-layout .new-item-thumb,.shop-layout .shop-thumb,.shop-layout .accessory-thumb{height:136px;padding:5px;overflow:hidden}.shop-layout .new-item-thumb .wear-art{height:100%;width:100%;max-height:none}.shop-layout .base-item{grid-column:1/-1;display:flex;align-items:center;gap:10px}.shop-layout .base-item h3{flex:1;min-height:0;margin:0}.shop-layout .base-item button{width:auto;min-width:92px}.shop-wear{z-index:7}.wear-cap.item-0{left:28%;top:0;width:46%;height:19%;transform:none}.wear-cap.item-1{left:30%;top:2%;width:42%;height:14%;transform:none}.wear-cap.item-2{left:28%;top:3%;width:47%;height:28%;transform:none}.boy .wear-cap.item-2{left:26%;top:1%;width:47%;height:27%}.wear-bag{left:67%;top:48%;width:24%;height:28%;z-index:3}.wear-bag.item-4{left:67%;top:39%;width:24%;height:29%}.wear-earrings{top:24%;width:4.5%;height:7%}.wear-earrings.side-0{left:33%}.wear-earrings.side-1{left:65%}.wear-bracelet{left:21%;top:58%;width:11%;height:5%;transform:rotate(-22deg)}.wear-necklace{left:43%;top:32%;width:17%;height:10%}.wear-boots-pair{left:35%;top:86%;width:32%;height:13%;z-index:3}.boy .wear-boots-pair{left:21%;top:85%;width:58%;height:14%}
.reward-heart-flight,.reward-arrival{position:fixed;z-index:1200;pointer-events:none;user-select:none;color:#eb326d;font-size:64px;line-height:1;text-shadow:0 3px 0 white,0 5px 14px #8c234c55;transform:translate(-50%,-50%)}.reward-arrival{font-size:26px;background:white;border-radius:18px;padding:5px 9px}
@media(max-width:640px){body[data-shop=true] .wrap{padding:5px 8px}.shop-layout{display:flex;flex-direction:column;gap:7px}.shop-layout .shop-avatar{height:112px;min-height:112px;flex:none;padding:4px 12px;flex-direction:row;justify-content:center;gap:18px}.shop-layout .shop-avatar .avatar{width:72px!important;height:108px!important}.shop-avatar h2{font-size:17px}.shop-layout .shop-items{flex:1;padding:6px}.shop-title{height:34px}.shop-title h1{font-size:22px}.shop-layout .outfit-grid{gap:7px;padding:3px 3px 16px}.shop-layout .new-item-thumb,.shop-layout .shop-thumb,.shop-layout .accessory-thumb{height:112px}.shop-layout .outfit h3{font-size:16px}.shop-layout .category{font-size:15px;padding:8px 10px}header{padding:8px 10px}.brand{font-size:20px}.brand small{display:none}.stats{gap:6px}.stats .pill{padding:8px 9px;min-height:48px}.music-button{min-height:48px;min-width:130px;font-size:16px}.music-button>span:last-child{max-width:110px}}
@media(max-height:650px) and (max-width:640px){.shop-layout .shop-avatar{height:80px;min-height:80px}.shop-layout .shop-avatar .avatar{width:51px!important;height:77px!important}.shop-avatar h2{font-size:16px;margin:2px 0}.shop-avatar .secondary{min-height:36px;padding:5px;font-size:14px}.shop-title{height:30px}.shop-layout .new-item-thumb,.shop-layout .shop-thumb,.shop-layout .accessory-thumb{height:86px}body[data-shop=true] .footer{min-height:30px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.reward-heart-flight{display:none}}
