/* Keep the shop artwork visible between its three navigation controls. */
html body.ui2[data-place=shop] .shop-header{
 display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important;gap:12px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;
 padding:2px 0!important;
}
html body.ui2[data-place=shop] .shop-header h1{
 grid-column:2;grid-row:1;justify-self:center;text-align:center;margin:0!important;padding:7px 16px!important;
 width:auto!important;max-width:100%;box-sizing:border-box;border-radius:18px;background:#fff9eef2;box-shadow:0 2px 6px #70534018;
}
html body.ui2[data-place=shop] .shop-header>[data-view=town]{grid-column:1;grid-row:1;justify-self:start}
html body.ui2[data-place=shop] .shop-header>.shop-sound{grid-column:3;grid-row:1;justify-self:end}
html body.ui2[data-place=shop] .shop-header>.v2q-cheer{display:none!important}
/* Anchor the earned-coin badge to the name, at every shelf layout size. */
html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name{overflow:visible!important}
html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag{
 position:absolute!important;top:-13px!important;right:-7px!important;bottom:auto!important;left:auto!important;transform:none!important;z-index:5!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;
 width:auto!important;min-width:30px!important;min-height:23px!important;height:auto!important;margin:0!important;padding:2px 5px!important;
 border:2px solid #fffdf6!important;border-radius:99px!important;background:#fff3cc!important;box-shadow:0 2px 4px #70534020!important;
 color:#705340!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;pointer-events:none;
}
html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag .game-coin,
html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag .pz-coin{width:17px!important;height:17px!important;flex:none!important}
html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag .shop-price-unit{display:none!important}
@media(min-width:700px){
 html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag{font-size:15px!important;min-height:27px!important;top:-16px!important;right:-8px!important}
 html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag .game-coin{width:20px!important;height:20px!important}
}
@media(max-width:450px){
 html body.ui2[data-place=shop] .shop-header{gap:5px!important;grid-template-columns:44px minmax(0,1fr) 44px!important}
 html body.ui2[data-place=shop] .shop-header h1{font-size:clamp(14px,4.2vw,19px)!important;padding:7px 9px!important}
}
@media(max-width:699px){
 html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag{top:-20px!important;min-height:21px!important;padding:1px 4px!important;font-size:11px!important}
 html body.ui2[data-place=shop] .shop-scene .toy-card .toy-name .price-tag .game-coin{width:15px!important;height:15px!important}
}
/* Phones (10/23): the back and sound buttons sat flush against the screen edge, where the rounded corners clipped them,
   and the old flip meant for the back arrow also mirrored the speaker into a skip-looking icon. */
@media(max-width:699px){
 html body.ui2[data-place=shop] .shop-header{padding:2px max(10px,env(safe-area-inset-right)) 2px max(10px,env(safe-area-inset-left))!important}
}
html body.ui2[data-place=shop] .shop-header>.shop-sound svg{transform:none!important}
/* New toys today (Mac, 10/24): a shop restocked this morning twinkles on the street until it's visited */
.hunter-shop.fresh-stock::after{content:'';position:absolute;z-index:6;right:14%;top:8%;width:clamp(36px,12%,60px);aspect-ratio:1;pointer-events:none;
 background:conic-gradient(from 45deg,#fff0 0 11%,#fffbe6 11% 14%,#fff0 14% 36%,#fffbe6 36% 39%,#fff0 39% 61%,#fffbe6 61% 64%,#fff0 64% 86%,#fffbe6 86% 89%,#fff0 89%),radial-gradient(circle,#fff 0 14%,#ffe27a 26%,#ffd04a00 62%);
 border-radius:50%;filter:drop-shadow(0 0 6px #ffe7a0);animation:fresh-twinkle 2.2s ease-in-out infinite}
@keyframes fresh-twinkle{0%,100%{scale:.75;rotate:0deg;opacity:.75}50%{scale:1.15;rotate:45deg;opacity:1}}
@media(prefers-reduced-motion:reduce){.hunter-shop.fresh-stock::after{animation:none}}
