#shop-dialog{border:0;border-radius:24px;background:#fffdfb;color:#382f40;padding:24px;width:min(720px,92vw);max-height:88vh;max-height:88dvh;overflow:auto;box-sizing:border-box;box-shadow:0 15px 80px #29153b40}
#shop-dialog::backdrop{background:#24132e80;backdrop-filter:blur(5px)}
.shop-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-top h2{font-size:21px;margin:0}.shop-hero{display:flex;align-items:center;gap:24px;margin:16px 0;background:#f5efff;border-radius:20px;padding:16px}.shop-hero strong{font-size:26px;color:#754699}.shop-hero p{font-size:13px;margin:8px 0}.shop-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.shop-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-item{border:1px solid #e6dbee;border-radius:18px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.shop-item b{font-size:16px}.shop-item span{font-size:14px}.shop-swatch{height:64px;width:64px;border-radius:18px;display:grid;place-items:center;font-size:36px}.shop-entry{margin-top:14px;min-height:44px;white-space:normal}.shop-note{font-size:13px;color:#746b7a}.shop-growth{display:flex;gap:8px;align-items:center;font-size:14px;margin-top:16px}.shop-growth input{width:20px}#shop-dialog details{margin-top:18px;font-size:13px}#shop-dialog textarea{width:100%;box-sizing:border-box;word-break:break-all;font-size:12px}#shop-dialog .btn{min-height:44px}#shop-dialog button:disabled{opacity:.45}
@media(max-width:480px){#shop-dialog{padding:16px;width:96vw}.shop-hero{gap:8px;padding:10px}.shop-hero svg{width:92px;flex-shrink:0}.shop-top h2{font-size:17px}.shop-item{padding:12px 8px}.shop-item .btn{padding:8px;font-size:13px}.shop-tabs .btn{padding:8px 10px}}

/* v179: visible landing Shop and scrollable star instructions. */
#landing .lp-how{box-sizing:border-box;max-height:70vh;max-height:70dvh;overflow-y:auto}
#shop-student-id{display:block;width:100%;box-sizing:border-box;margin:8px 0;padding:12px;border:1px solid #d7c6e5;border-radius:12px;font:inherit}
@media(max-width:640px){#landing .lp-bar{flex-wrap:wrap;justify-content:center;gap:2px;padding:12px 0}#landing .lp-links{justify-content:center;gap:22px;width:100%}#landing .lp-links a{min-height:44px;box-sizing:border-box}#landing .lp-how{width:100%;right:0;padding:16px}}
.shop-reward-status{padding:12px 16px;background:#f4ecff;color:#663991;border:1px solid #dbc7ef;border-radius:14px;font-size:15px;line-height:1.6}
.shop-coin-fx{position:fixed;z-index:10000;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:6px;transform:translate(-50%,-50%);animation:shop-coin-rise 2.2s ease-out forwards;font-family:inherit}
.shop-coin{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:3px solid #fff0a8;background:linear-gradient(140deg,#ffe58a,#e9a21a);box-shadow:0 0 22px #ffcc4d99,inset 0 0 0 3px #e7a529;color:#fff9d5;font-size:32px;text-shadow:0 2px 2px #bb7600}
.shop-coin-label{white-space:nowrap;background:#fff8e8;color:#704515;padding:4px 10px;border-radius:12px;font-size:13px;box-shadow:0 3px 12px #39251222}
@keyframes shop-coin-rise{0%{opacity:0;transform:translate(-50%,0) scale(.4)}15%{opacity:1;transform:translate(-50%,-25px) scale(1.15)}35%{transform:translate(-50%,-40px) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-110px) scale(.9)}}
@media(prefers-reduced-motion:reduce){.shop-coin-fx{animation:shop-coin-fade 2.2s linear forwards}@keyframes shop-coin-fade{0%,80%{opacity:1}100%{opacity:0}}}
/* v181 — collectible studio */
#shop-dialog{width:min(820px,94vw);background:#fffcf7;border:1px solid #e9dfef}
.shop-collection-label{font-size:10px;letter-spacing:2px;color:#98849f;margin-top:18px}
.shop-hero{background:radial-gradient(ellipse at 20% 40%,#fffaf0 0%,#f2eaf8 50%,#e8e4f3 100%);border:1px solid #e1d7e9;gap:28px;padding:18px 26px;position:relative;overflow:hidden}
.shop-hero>div:first-child{flex-shrink:0;display:grid;place-items:center;background:radial-gradient(ellipse,#fff9 20%,#fff0 70%)}
.shop-items{gap:16px}.shop-item{background:linear-gradient(155deg,#fff,#faf5ef);border:1px solid #e5d9dd;border-radius:22px;padding:16px 12px;gap:9px;box-shadow:0 5px 15px #6d537908}
.shop-swatch{height:162px;width:100%;border-radius:16px;background:radial-gradient(ellipse at 50% 45%,#fff 0%,#f0e7f1 65%,#ede4ee 100%);overflow:hidden;position:relative}
.shop-swatch:after{content:'';position:absolute;inset:7px;border:1px solid #ffffffa0;border-radius:11px;pointer-events:none}.shop-swatch svg{max-width:100%;max-height:100%}
.shop-item b{font-size:15px;min-height:24px}.shop-item span{color:#7b6592}.shop-item .btn{border-radius:12px;min-width:125px;background:#eee4f3;color:#63437a}.shop-item .btn.primary{background:#806093;color:#fff}
@media(max-width:480px){#shop-dialog{width:96vw;padding:14px}.shop-hero{gap:8px;padding:12px 8px}.shop-hero svg{width:132px;height:146px}.shop-hero strong{font-size:24px}.shop-hero p{font-size:12px}.shop-hero .btn{font-size:12px;padding:8px}.shop-items{gap:9px}.shop-item{padding:8px;gap:7px}.shop-swatch{height:138px}.shop-item b{font-size:13px;min-height:42px}.shop-item .btn{min-width:0;width:100%;font-size:12px}.shop-tabs{gap:5px}.shop-tabs .btn{font-size:12px;padding:7px 9px}}
.pet-companion{pointer-events:none}.pet-companion svg{overflow:visible}
.pet-fly .pet-motion{animation:pet-hover 2.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.pet-run .pet-motion{animation:pet-breathe 2.8s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}
.climber.pet-travelling .pet-run .pet-motion{animation:pet-run .3s ease-in-out infinite}
.climber.pet-travelling .pet-fly .pet-motion{animation:pet-hover 1s ease-in-out infinite}
@keyframes pet-hover{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(3deg)}}
@keyframes pet-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.035)}}
@keyframes pet-run{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-3px) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.pet-companion .pet-motion,.climber.pet-travelling .pet-companion .pet-motion{animation:none}}

/* v184: compact shop controls and free starter appearance. */
.shop-host{position:relative;padding-top:76px!important}
.shop-host>.shop-icon{position:absolute;top:16px;right:16px;margin:0;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;font-size:27px;line-height:1;background:#fffaf3;border:1px solid #e3d6e9;border-radius:13px;z-index:2}
#landing .shop-landing-icon{font-size:27px;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.shop-gender{display:flex;gap:10px;margin:10px 0}.shop-gender .btn{min-width:80px;min-height:44px}
.classic-avatars{margin:14px 0}.classic-avatars summary{cursor:pointer;padding:10px 0;color:#75617c}.classic-avatars .avatar-grid{margin-top:10px}

/* v185: labelled landing shop and luminous gold balance. */
#landing .shop-landing-icon{gap:7px;font-size:16px}#landing .shop-landing-icon>span:first-child{font-size:27px}
.shop-gold-star{display:inline-block;color:#f4bd2c;text-shadow:0 0 5px #fff5ab,0 0 12px #ffd451,0 0 23px #f6bd4380;filter:drop-shadow(0 0 3px #ffd777);font-size:1.12em}
.shop-account-note{font-size:12px!important;line-height:1.5;color:#685872}
