/* Phones look like the iPad shop (Mac, 2026-10-17): the tall shop art fills the whole screen behind the bars at its own 2:3 shape,
   with three toys standing on each shelf and the price on the shelf edge. The box is the art's shape (covering the screen),
   so the shelf heights below are read straight off each picture. */
@media(max-width:699px){
 html body.ui2[data-place=shop] #main .shop-scene{--r1:32%;--r2:49%;--r3:65.5%;--c1:23%;--c3:77%;--th:11.5%;
  position:fixed!important;z-index:0!important;width:max(100vw,66.667dvh)!important;max-width:none!important;height:max(100dvh,150vw)!important;max-height:none!important;min-height:0!important;left:calc(50vw - max(50vw,33.333dvh))!important;top:calc(50dvh - max(50dvh,75vw))!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-size:100% 100%!important;aspect-ratio:auto!important;overflow:visible!important}
 html body.ui2[data-place=shop] #main .shop-scene:is(.shop-color-1,.shop-color-6){--r1:32%;--r2:49%;--r3:67%;--c1:28%;--c3:72%}
 html body.ui2[data-place=shop] #main .shop-scene:is(.shop-color-2,.shop-color-4){--r1:29%;--r2:46%;--r3:65%;--c1:28%;--c3:72%}
 html body.ui2[data-place=shop] #main .shop-scene.shop-color-7{--r1:29.5%;--r2:43.5%;--r3:58.5%;--c1:27%;--c3:73%;--th:10.5%}
 html body.ui2[data-place=shop] #main .shop-scene::before,html body.ui2[data-place=shop] #main .shop-scene::after{display:none!important}
 html body.ui2[data-place=shop] #main .shop-scene .shelves{position:absolute!important;inset:0!important;display:block!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card,html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(n){position:absolute!important;display:block!important;width:25%!important;height:var(--th)!important;min-height:0!important;transform:translate(-50%,-100%)!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;container-type:normal!important;overflow:visible!important}
 /* tall phones crop the art's sides, so the outer columns also stay at least 18vw inside the visible screen (they hung off the edges, 10/18) */
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(3n+1){left:max(var(--c1),calc((max(100vw,66.667dvh) - 100vw)/2 + 18vw))!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(3n+2){left:50%!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(3n){left:min(var(--c3),calc(100% - (max(100vw,66.667dvh) - 100vw)/2 - 18vw))!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(-n+3){top:var(--r1)!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(n+4):nth-child(-n+6){top:var(--r2)!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card:nth-child(n+7){top:var(--r3)!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card>:is(.toy,.world-art,.dumpling-box-art){position:absolute!important;inset:auto!important;left:50%!important;bottom:0!important;top:auto!important;transform:translateX(-50%)!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:none!important;min-height:0!important;aspect-ratio:1!important;margin:0!important}
 html body.ui2[data-place=shop] #main .shop-scene .toy-card .toy-name{position:absolute!important;left:50%!important;right:auto!important;top:calc(100% + 1px)!important;bottom:auto!important;transform:translateX(-50%) scale(.82)!important;transform-origin:50% 0!important;width:auto!important;max-width:none!important;min-height:0!important;margin:0!important}
 /* the treasure shelf stands on the floor left of the basket, level with it, and the basket gets a little smaller to make room */
 html body.ui2[data-place=shop]:has(#sq-basket) #main .shop-scene .tr-case{left:calc(10px + (max(100vw,66.667dvh) - 100vw)/2)!important;right:auto!important;bottom:calc(var(--sqb-bottom,96px) + (max(100dvh,150vw) - 100dvh)/2)!important;transform:none!important;width:27vw!important;max-width:none!important;height:clamp(70px,20vw,90px)!important;min-height:0!important;max-height:none!important;padding:10px 4% 12px!important;gap:6%!important}
 html body.ui2[data-place=shop]:has(.tr-case) #sq-basket .sqb-basket{width:clamp(118px,33vw,150px)}
}
/* A toy you already got reads as "collected", not as art that didn't load (10/18): softer fade, and the green check stays bright */
html body.ui2[data-place=shop] .shop-scene .toy-card.sold{opacity:1!important}
html body.ui2[data-place=shop] .shop-scene .toy-card.sold>:is(.toy,.world-art){opacity:.6!important;filter:grayscale(.45) saturate(.8)!important}
html body.ui2[data-place=shop] .shop-scene .toy-card.sold .price-tag{opacity:1!important;background:#5fc796!important;border-color:#fff!important;color:#fff!important;box-shadow:0 2px 0 #3e9c70!important}
html body.ui2[data-place=shop] .shop-scene .toy-card.sold .price-tag svg{color:#fff!important;stroke:#fff!important;fill:none}
