.prod-surface {position:absolute;inset:0;pointer-events:none;container-type:size}
.prod-deck {
  position:absolute;left:4%;right:4%;top:34%;height:32.5%;
  --prod-ball:min(8.4cqw,9cqh,60px);
}
.prod-place {
  position:absolute;top:0;bottom:0;width:48%;isolation:isolate;
  appearance:none;margin:0;padding:0;border:0;background:transparent;
  color:#151515;touch-action:manipulation;
}
.prod-place::before {
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 50% 50%,rgb(var(--prod-wash) / .74),rgb(var(--prod-wash) / .49) 46%,rgb(var(--prod-wash) / .12) 81%,transparent);
}
.prod-supply {left:0;--prod-wash:255 187 227}
.prod-build {right:0;--prod-wash:255 234 132}
/* A modeled touch lights the same colored area the learner will press. */
.prod-place[data-modeled]::before,
.prod-place:enabled:active::before {
  background:radial-gradient(ellipse 52% 51%,rgb(var(--prod-wash)) 20%,rgb(var(--prod-wash) / .86) 53%,rgb(var(--prod-wash) / .25) 81%,transparent);
}
.prod-ball {
  position:absolute;z-index:2;translate:-50% -50%;display:block;
  pointer-events:none;user-select:none;-webkit-user-drag:none;
  width:var(--prod-ball);height:var(--prod-ball);object-fit:contain;
}
.prod-ball[data-moving] {z-index:3}
.prod-ball[data-count-glow] {filter:drop-shadow(0 0 4px #ffc92f) drop-shadow(0 0 2px #ffd535)}
#prod-submit {
  position:absolute;left:50%;top:80%;translate:-50% -50%;display:grid;place-items:center;
  width:clamp(46px,7.7cqw,64px);height:clamp(46px,7.7cqw,60px);margin:0;padding:7px;
  color:#141110;border:2px solid #141110;border-radius:2px;background:#ffe539;box-shadow:3px 3px #141110;
  touch-action:manipulation;
}
#prod-submit svg {width:75%;height:75%;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#prod-submit[data-modeled] {outline:3px solid #141110;outline-offset:4px}
#prod-submit[data-modeled],#prod-submit:enabled:active {transform:translate(2px,2px);box-shadow:1px 1px #141110}
.prod-surface button:focus-visible {outline:3px solid #141110;outline-offset:3px}
.prod-surface .prod-place:focus-visible {border-radius:18%}
.prod-surface button:enabled {cursor:pointer}
.prod-surface button:disabled {opacity:1}
@media(max-height:440px) and (orientation:landscape) {
  .prod-deck {top:33%;height:32.5%;--prod-ball:min(7cqw,8.7cqh,43px)}
}
