/* Original supplied asset is sampled as frame and bead textures, not flattened. */
.abacus-stage.interactive-stage{width:600px;height:309px;flex-shrink:0;transform:translate3d(var(--hero-x,0px),var(--hero-y,0px),0) rotate(calc(3deg + var(--hero-turn,0deg)));filter:drop-shadow(10px 24px 18px #15283f22)}
.interactive-stage .abacus{width:100%;height:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;transform:none}
.interactive-stage .abacus:before,.interactive-stage .crossbar,.interactive-stage .frame-bottom{display:none}
.frame-skin{position:absolute;inset:0;background:url('images/abacus-front-reference.png') center/100% 100% no-repeat;pointer-events:none;z-index:3}
.frame-top{clip-path:inset(0 0 86.7% 0)}.frame-left{clip-path:inset(12% 92% 12% 0)}.frame-right{clip-path:inset(12% 0 12% 92%)}.frame-bottom-skin{clip-path:inset(85.8% 0 0 0)}.frame-divider{clip-path:inset(29% 6.8% 63.1% 6.8%)}
.interactive-stage .rods{position:absolute;inset:0;display:block}
.interactive-stage .rod{position:absolute;top:0;width:7.5%;height:100%;display:block}
.interactive-stage .rod:nth-child(1){left:8%}.interactive-stage .rod:nth-child(2){left:15.5%}.interactive-stage .rod:nth-child(3){left:23%}.interactive-stage .rod:nth-child(4){left:30.5%}.interactive-stage .rod:nth-child(5){left:38%}.interactive-stage .rod:nth-child(6){left:45.5%}.interactive-stage .rod:nth-child(7){left:53%}.interactive-stage .rod:nth-child(8){left:60.5%}.interactive-stage .rod:nth-child(9){left:68%}.interactive-stage .rod:nth-child(10){left:75.5%}.interactive-stage .rod:nth-child(11){left:83%}
.interactive-stage .rod:before{top:12.5%;bottom:13%;left:46%;width:9%;border-radius:2px;background:linear-gradient(90deg,#56616f,#dbe1f1 23%,#fff 43%,#a8b7d2 64%,#53627b);box-shadow:1px 0 2px #23304444}.interactive-stage .rod:after{display:none}
.interactive-stage .bead,.interactive-stage .rod:nth-child(2n) .bead{left:0;width:100%;height:9.5%;padding:0;border:0;border-radius:0;box-shadow:none;background-image:url('images/abacus-front-reference.png');background-repeat:no-repeat;background-size:1389% 1053%;background-position:8.73% 21.55%;clip-path:polygon(36% 0,64% 0,73% 24%,100% 54%,100% 65%,73% 94%,64% 100%,36% 100%,26% 94%,0 65%,0 54%,27% 24%);filter:drop-shadow(0 2px 1px #ad79004d)}
.interactive-stage .bead:after{display:none}.interactive-stage .bead:hover{filter:brightness(1.12) drop-shadow(0 0 3px #f9c628)}.interactive-stage .bead:focus-visible{outline:none;filter:brightness(1.2) drop-shadow(0 0 4px #154aa1)}
.hero-art .top-label{top:36px;left:4px}.hero-art .number-card{bottom:62px;right:0;max-width:100%;flex-wrap:wrap}.hero-art .number-card output{font-size:23px;max-width:none;letter-spacing:.5px}.hero-art .art-caption{bottom:24px}
@media(min-width:1101px){.hero{grid-template-columns:1fr 1.05fr;gap:25px}.hero-art{margin-left:12px}}
@media(max-width:1100px) and (min-width:801px){.abacus-stage.interactive-stage{width:520px;height:267.5px}}
@media(max-width:800px){.hero-art{width:100%;transform:none;height:460px;margin:0}.abacus-stage.interactive-stage{width:100%;height:auto;aspect-ratio:2372/1219}.hero-art .top-label{top:20px}.hero-art .number-card{bottom:20px}.hero-art .art-caption{bottom:-7px}.hero-art .orbit{max-width:105%}}
@media(max-width:480px){.hero-art{width:100%;height:340px;max-width:100%;margin:0}.hero-art .top-label{top:12px;font-size:9px;padding:9px 13px}.hero-art .number-card{bottom:10px;right:0;gap:7px;padding:10px 12px}.hero-art .number-card output{font-size:20px;padding-left:8px}.hero-art .number-card small{font-size:8px}.hero-art .art-caption{font-size:6px;bottom:-13px}.hero-art .s1{top:65px}.hero-art:before{inset:60px 10px 50px}.abacus-stage.interactive-stage{width:100%;height:auto;aspect-ratio:2372/1219}}
@media(prefers-reduced-motion:reduce),(hover:none){.abacus-stage.interactive-stage{transform:rotate(3deg)}}
