
.pop-it-host{padding:10px}.pop-it-host *{box-sizing:border-box}.pop-it-host .ice-shell{max-width:620px;margin:auto;padding:20px 12px;background:light-dark(#fff8ef,#302a37);color:light-dark(#654671,#f0e1f7);border-radius:28px;font-family:ui-rounded,system-ui,sans-serif}.pop-it-host header{padding:0 10px;font-size:21px;font-weight:800}.pop-it-host .ice-stage{padding:14px 0 20px;perspective:1000px;display:grid;place-items:center}.pop-it-host .ice-toy{width:min(100%,310px);aspect-ratio:760/1260;position:relative;touch-action:none;user-select:none;filter:drop-shadow(0 9px 8px #49372624)}.pop-it-host img{position:absolute;width:145.6579%;height:112.7778%;max-width:none;left:-25.6579%;top:-6.3492%;pointer-events:none}.pop-it-host .ice-bubble{position:absolute;width:16.3%;height:9.84%;padding:0;border:0;background:transparent;border-radius:50%;touch-action:none;transform:translate(-50%,-50%)}.pop-it-host .ice-bubble:before{content:'';position:absolute;inset:8%;border-radius:50%;opacity:0;background:radial-gradient(ellipse at 65% 78%,color-mix(in srgb,var(--silicone),#fff 12%),var(--silicone) 48%,color-mix(in srgb,var(--silicone),#524332 33%) 100%);box-shadow:inset 2px 4px 6px #44362d55,inset -1px -2px 3px #fff5;transition:opacity 70ms,transform 90ms}.pop-it-host .ice-bubble[aria-pressed=true]:before{opacity:1}.pop-it-host .ice-bubble.pressing:before{opacity:.65;transform:scale(.95)}.pop-it-host footer{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.pop-it-host footer button{border:2px solid #fff9;border-radius:24px;min-height:46px;padding:10px 20px;font:700 14px ui-rounded,system-ui;color:#574269;background:#ebddf6;box-shadow:0 3px 0 #c4afd4}.pop-it-host footer button:first-child{background:#ade3d3;color:#265f55;box-shadow:0 3px 0 #83bfae}.pop-it-host p{text-align:center;font-size:13px;margin:16px 0 0} @media(prefers-reduced-motion:reduce){.pop-it-host .ice-bubble:before{transition:none}}

.toy.pop-it-art{background:url('./assets/pop-it/popsicle.webp') center/contain no-repeat!important;display:inline-block}
html body.ui2 dialog#modal .viewer #squish.pop-it-host{width:100%!important;height:100%!important;display:flex;flex-direction:column;align-items:center;gap:6px;touch-action:none}
html body.ui2 dialog#modal .viewer #squish.pop-it-host::after{display:none}
.pop-it-host .ice-toy{position:relative;flex:none;width:min(88cqw,calc((100cqh - 60px)*.60317));height:auto;aspect-ratio:760/1260;touch-action:none;user-select:none;filter:drop-shadow(0 7px 6px #49372624)}
.pop-it-host .ice-controls{display:flex;align-items:center;justify-content:center;gap:12px;height:48px;flex:none}
.pop-it-host .ice-controls button{min-height:44px;border:2px solid #fff;border-radius:24px;padding:8px 18px;background:#ade3d3;color:#265f55;font-family:inherit;font-weight:700;font-size:16px;box-shadow:0 3px 0 #83bfae;cursor:pointer}
.pop-it-host [data-status]{font-size:12px;color:#654671;margin:0}
.pop-it-host .ice-bubble{min-width:0;min-height:0;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pop-it-host .ice-bubble:focus-visible{outline:3px solid #7044aa;outline-offset:1px}
html body.ui2 dialog#modal .viewer #squish.pop-it-host{padding:0!important}
/* Three rows follow the three ledges in the Workshop illustration. */
@media(min-width:761px){html body.ui2[data-place=shop] .shop-scene.shop-color-7 .shelves{inset:16% 12% 38%!important;row-gap:0!important;grid-template-rows:repeat(3,minmax(0,1fr))!important}}

/* Calm uses the full available rectangular stage, not the ordinary square toy box. */
html body.ui2.sq-calm dialog#modal .viewer #squish.pop-it-host{width:100%!important;height:100%!important;justify-content:center;animation:none!important;transform:none!important;min-height:0}
html body.ui2.sq-calm dialog#modal .viewer #squish.pop-it-host .ice-toy{width:min(88cqw,calc((100cqh - 80px)*.60317));}
html body.ui2.sq-calm dialog#modal .viewer #squish.pop-it-host [data-status]{color:#f1e5fa}
/* Toy artwork uses zero line-height; real controls must establish readable text metrics. */
html body.ui2 dialog#modal .viewer #squish.pop-it-host .ice-controls{line-height:1.25;width:100%;min-width:0;flex-shrink:0}
html body.ui2 dialog#modal .viewer #squish.pop-it-host .ice-controls button,
html body.ui2 dialog#modal .viewer #squish.pop-it-host [data-status]{line-height:1.25;white-space:nowrap;flex-shrink:0}
html body.ui2 dialog#modal .viewer.viewer-details #squish.pop-it-host{width:100%!important;height:100%!important}
