.shake-lab,.shake-quiz{max-width:1080px;margin:0 auto;padding:clamp(28px,5vw,68px) 5%}
.shake-lab h2,.shake-quiz h2{font-size:clamp(28px,3.2vw,42px);line-height:1.18;margin:.4em 0}
.shake-lab p,.shake-quiz p{max-width:66ch;line-height:1.65}
.shake-demo{display:grid;grid-template-columns:minmax(175px,1fr) 2fr;align-items:center;gap:clamp(20px,5vw,65px);background:#eaf0e3;color:#214f42;border-radius:24px;padding:32px}
.shake-demo button,.shake-quiz button{cursor:pointer;border:1px solid #38604c;border-radius:24px;padding:11px 19px;font:inherit;line-height:1.4;background:white;color:#204a3a}
.shake-demo button,.shake-quiz button[aria-pressed=true]{color:white;background:#224f40}
.shake-bottle{position:relative;width:126px;height:172px;margin:25px auto 0;border:4px solid #467260;border-radius:28px 28px 20px 20px;background:linear-gradient(to bottom,#ecf4ea 0 24%,#b8dac8 25% 100%)}
.shake-bottle:before{content:"";position:absolute;top:-26px;left:27px;width:64px;height:23px;border-radius:5px;background:repeating-linear-gradient(90deg,#284d3c 0 5px,#446b54 5px 8px)}
.shake-bottle i{position:absolute;width:6px;height:6px;border-radius:50%;background:#235746;transition:top .95s ease,left .95s ease;top:var(--low);left:var(--x)}
.shake-bottle.mixed i{top:var(--high);left:var(--mx)}
.shake-bottle.mixed{animation:mix-bottle .65s ease-out}
@keyframes mix-bottle{20%,60%{transform:rotate(7deg)}40%,80%{transform:rotate(-6deg)}}
.shake-quiz fieldset{border:0;border-top:1px solid #bbcbbd;margin:24px 0 0;padding:16px 0}.shake-quiz legend{padding:0 12px 0 0;font-weight:bold}.shake-quiz button{margin:5px 6px 5px 0}.shake-quiz [role=status]{margin:.5em 0}
@media(max-width:600px){.shake-demo{grid-template-columns:1fr;padding:22px}.shake-demo .shake-bottle{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.shake-bottle.mixed{animation:none}.shake-bottle i{transition:none}}
