/* Less chrome, more shop. All overrides are confined to shop screens. */
html body.ui2[data-place=shop] .ui2-bar .ui2-goal,
html body.ui2[data-place=shop] .ui2-bar [data-ui2=daily],
html body.ui2[data-place=shop] .ui2-bar .v2q-today{display:none!important}
html body.ui2[data-place=shop] .ui2-bar{justify-content:flex-start!important;gap:clamp(8px,2vw,16px)!important;padding-inline:10px!important}
html body.ui2[data-place=shop] .ui2-bar .ui2-coins{margin-right:auto!important;min-width:68px!important}
html body.ui2[data-place=shop] .ui2-bar .ui2-me b{display:none!important}
/* Keep the collection book reachable; it holds progress while shopping. */
html body.ui2[data-place=shop] .ui2-bar .sq-top-collection{display:flex!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sp-free .toy-name,
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sp-free .price-tag{display:none!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card .toy-name{font-size:0!important;line-height:1!important;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;max-height:none!important;max-width:none!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card .price-tag{position:static!important;transform:none!important;display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:23px!important;width:auto!important;min-width:34px!important;padding:3px 8px!important;font-size:14px!important;line-height:1!important;color:#76572f!important;background:linear-gradient(#fff8e4,#f7e4bd)!important;border:1px solid #fffbed!important;border-radius:9px!important;box-shadow:0 2px 0 #b58e614d,0 3px 5px #553c2a20!important;animation:none!important;filter:none!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sf-cant .price-tag{color:#796e80!important;background:#eee7ef!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card .shop-price-unit{display:none!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card .price-tag :is(.game-coin,.pz-coin){width:16px!important;height:16px!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sold .price-tag{background:#d9eee2!important;color:#3e775e!important}
/* Shadows stay on the shelf when a toy is lifted; the art keeps its original shelf anchor. */
.sp-contact{position:absolute;left:22%;right:22%;bottom:-2px;height:9%;min-height:5px;background:radial-gradient(ellipse,#58412e40,transparent 70%);pointer-events:none;border-radius:50%;z-index:0;transition:opacity .18s}
html body.ui2[data-place=shop] #main .toy-card.sqb-lifting .sp-contact,
html body.ui2[data-place=shop] #main .toy-card.sqb-in-basket .sp-contact,
html body.ui2[data-place=shop] #main .toy-card.sold .sp-contact{opacity:.15}
html body.ui2[data-place=shop] #main .shop-scene .toy-card>:is(.toy,.dumpling-box-art){z-index:1;scale:var(--sp-size,1);transform-origin:50% 100%;filter:drop-shadow(0 3px 2px #61433228)!important}
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sf-pick::before{display:none!important}
/* Cream molded controls match the shop trim. */
html body.ui2[data-place=shop] #main .shop-header .icon-button{min-width:46px!important;min-height:46px!important;border:2px solid #fff9ec!important;border-radius:18px!important;background:linear-gradient(145deg,#fffbed,#eee1ee)!important;color:#76578d!important;box-shadow:inset 0 2px 1px #fff,0 3px 0 #b8a0bd,0 5px 8px #5b3c5426!important;transition:scale .12s}
html body.ui2[data-place=shop] #main .shop-header .icon-button:active{scale:.94}
html body.ui2[data-place=shop] #main .shop-header .icon-button:focus-visible{outline:3px solid #9365be;outline-offset:4px}
/* The shopkeeper shares the basket's floor, clear of stock and navigation. */
html body.ui2[data-place=shop] #main .shopkeeper.in-scene{position:fixed!important;left:var(--sp-keeper-x,12px)!important;right:auto!important;top:auto!important;bottom:var(--sp-keeper-bottom,150px)!important;width:var(--sp-keeper-size,90px)!important;height:calc(var(--sp-keeper-size,90px) * 1.12)!important;min-height:0!important;margin:0!important;padding:0!important;z-index:5;pointer-events:none;transform:none!important;transform-origin:50% 100%}
html body.ui2[data-place=shop] #main .shopkeeper .shopkeeper-art{width:100%!important;height:100%!important;filter:drop-shadow(0 5px 3px #684b4130)}
html body.ui2[data-place=shop] #main .shopkeeper.sp-attentive .shopkeeper-art{background-image:url('./assets/expansion-web/07-shopkeeper/offer.webp')!important}
html body.ui2[data-place=shop] #main .shopkeeper.sp-cheer .shopkeeper-art{background-image:url('./assets/expansion-web/07-shopkeeper/celebrate.webp')!important}
/* A grounded, quiet destination; motion begins only when the child picks something up. */
body[data-place=shop] #sq-basket[data-state=empty] .sqb-basket{animation:none!important}
body[data-place=shop] #sq-basket .sqb-basket::after{left:3%;right:3%;bottom:-6%;height:18%;background:radial-gradient(ellipse,#5a40594d,transparent 72%);filter:blur(2px)}
body[data-place=shop] #sq-basket.sqb-dragging .sqb-basket{filter:drop-shadow(0 0 6px #ffe9ae);scale:1.04}
body[data-place=shop] #sq-basket.sqb-over .sqb-basket{scale:1.12;filter:drop-shadow(0 0 10px #fff3be)}
body[data-place=shop] #sq-basket.sqb-over .sqb-front{translate:0 3px}
body[data-place=shop] #sq-basket .sqb-front{transition:translate .16s}
@media(prefers-reduced-motion:reduce){body[data-place=shop] #sq-basket .sqb-basket,body[data-place=shop] #sq-basket .sqb-front{transition:none!important;scale:1!important}.sp-contact{transition:none}}

/* Bought stock leaves a real gap. Visibility preserves its shelf cell and neighbors. */
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sold,
html body.ui2[data-place=shop] #main .shop-scene .toy-card.sold *{visibility:hidden!important;pointer-events:none!important}

/* One per-shop character serves both the floor and the spoken greeting. */
html body.ui2[data-place=shop] #main .shopkeeper .sp-keeper-art{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 5px 3px #684b4130)}
