.fx-cards{display:block;}
.fx-cards .fx-cards-wrap{display:grid;gap:14px;min-width:0;color:var(--fx-ink);font-size:16px;line-height:1.45;}
.fx-cards .fx-cards-steps{list-style:none;margin:0;padding:0;}
.fx-cards .fx-cards-steps li+li{margin-top:6px;}
.fx-cards .fx-cards-goal{margin:0;}
.fx-cards .fx-cards-controls{min-width:0;margin:0;padding:0;border:0;}
.fx-cards .fx-cards-controls legend{padding:0;margin-bottom:10px;font-weight:800;}
.fx-cards .fx-row{display:flex;flex-wrap:wrap;gap:8px;}
.fx-cards .fx-btn{box-sizing:border-box;flex:1 1 190px;min-height:44px;padding:10px 12px;border:2px solid var(--fx-muted);background:var(--fx-paper);color:var(--fx-ink);font-size:14px;line-height:1.4;text-align:left;cursor:pointer;}
.fx-cards .fx-btn:has(input:checked){background:var(--fx-sun-pale);color:var(--fx-ink);border-color:var(--fx-ink);}
.fx-cards .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-ink);outline-offset:3px;}
.fx-cards .fx-cards-help{font-size:14px;margin:10px 0 0;}
.fx-cards .fx-cards-stage{--fx-cards-unit:36px;--fx-cards-origin:22%;--fx-cards-target:73%;--fx-cards-shift:51%;--fx-cards-drop:0px;position:relative;box-sizing:border-box;height:330px;padding:0;overflow:hidden;}
.fx-cards .fx-cards-stack-title,.fx-cards .fx-cards-tray-title{position:absolute;top:14px;font-size:14px;text-align:center;}
.fx-cards .fx-cards-stack-title{left:2%;width:40%;}
.fx-cards .fx-cards-tray-title{left:46%;width:52%;}
.fx-cards .fx-cards-stack-bay,.fx-cards .fx-cards-tray-bay{position:absolute;box-sizing:border-box;top:80px;height:184px;border:2px dashed var(--fx-muted);border-radius:12px;}
.fx-cards .fx-cards-stack-bay{left:2%;width:40%;}
.fx-cards .fx-cards-tray-bay{left:46%;width:52%;background:var(--fx-paper);}
.fx-cards .fx-cards-hint{position:absolute;top:41px;left:2%;width:40%;font-size:12px;text-align:center;}
.fx-cards .fx-cards-arrow{position:absolute;top:59px;left:calc(var(--fx-cards-origin) + var(--fx-cards-unit) - 10px);width:20px;text-align:center;font-size:22px;line-height:1;}
.fx-cards .fx-cards-tray-empty,.fx-cards .fx-cards-stack-empty{position:absolute;top:164px;font-size:14px;text-align:center;}
.fx-cards .fx-cards-tray-empty{left:46%;width:52%;}
.fx-cards .fx-cards-stack-empty{left:2%;width:40%;}
.fx-cards .fx-cards-world{position:absolute;inset:0;perspective:1000px;}
.fx-cards .fx-cards-plane{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(12deg) rotateZ(-1deg);}
.fx-cards .fx-cards-carrier{position:absolute;top:0;left:var(--fx-cards-origin);width:0;height:100%;transform-style:preserve-3d;transition:left 0.65s,transform 0.65s;}
.fx-cards .fx-cards-t{transform:translateZ(3px);}
.fx-cards .fx-cards-o{transform:translateZ(6px);}
.fx-cards .fx-cards-card{position:absolute;top:94px;box-sizing:border-box;border:2px solid var(--fx-ink);border-radius:5px;transform-origin:center top;transition:transform 0.65s;}
.fx-cards .fx-cards-h .fx-cards-card{left:calc(-1.5 * var(--fx-cards-unit));width:calc(3 * var(--fx-cards-unit));height:144px;}
.fx-cards .fx-cards-t .fx-cards-card{left:calc(-0.5 * var(--fx-cards-unit));width:calc(2 * var(--fx-cards-unit));height:112px;}
.fx-cards .fx-cards-o .fx-cards-card{left:calc(0.5 * var(--fx-cards-unit));width:var(--fx-cards-unit);height:80px;}
.fx-cards .fx-cards-value{position:absolute;top:8px;left:0;right:0;height:44px;display:flex;align-items:center;}
.fx-cards .fx-cards-value span{flex:1;min-width:0;text-align:center;font-size:28px;font-weight:800;line-height:1.2;}
.fx-cards .fx-cards-tab{position:absolute;bottom:8px;left:4px;right:4px;box-sizing:border-box;padding:4px 2px;font-size:12px;line-height:1.2;text-align:center;border:1px solid var(--fx-ink);border-radius:3px;}
.fx-cards .fx-cards-o .fx-cards-tab{left:calc(50% - 24px);right:auto;width:48px;}
.fx-cards .fx-cards-h .fx-cards-value,.fx-cards .fx-cards-h .fx-cards-tab{background:var(--fx-sky);}
.fx-cards .fx-cards-t .fx-cards-value,.fx-cards .fx-cards-t .fx-cards-tab{background:var(--fx-mint);}
.fx-cards .fx-cards-o .fx-cards-value,.fx-cards .fx-cards-o .fx-cards-tab{background:var(--fx-coral);}
.fx-cards:has(#fx-cards-hundreds:checked) .fx-cards-h{left:calc(var(--fx-cards-origin) + var(--fx-cards-shift));transform:translateX(calc(-1.5 * var(--fx-cards-unit) - 18px)) translateY(var(--fx-cards-drop)) translateZ(30px);}
.fx-cards:has(#fx-cards-tens:checked) .fx-cards-t{left:calc(var(--fx-cards-origin) + var(--fx-cards-shift));transform:translateX(calc(0.5 * var(--fx-cards-unit))) translateY(var(--fx-cards-drop)) translateZ(30px);}
.fx-cards:has(#fx-cards-ones:checked) .fx-cards-o{left:calc(var(--fx-cards-origin) + var(--fx-cards-shift));transform:translateX(calc(1.5 * var(--fx-cards-unit) + 18px)) translateY(var(--fx-cards-drop)) translateZ(30px);}
.fx-cards:has(#fx-cards-hundreds:checked) .fx-cards-h .fx-cards-card,.fx-cards:has(#fx-cards-tens:checked) .fx-cards-t .fx-cards-card,.fx-cards:has(#fx-cards-ones:checked) .fx-cards-o .fx-cards-card{transform:rotateX(-12deg);}
.fx-cards .fx-cards-plus{position:absolute;top:110px;width:18px;text-align:center;font-size:24px;line-height:32px;transform:translateY(var(--fx-cards-drop)) translateZ(30px);}
.fx-cards .fx-cards-plus-a{left:calc(var(--fx-cards-target) - 18px);}
.fx-cards .fx-cards-plus-b{left:calc(var(--fx-cards-target) + 2 * var(--fx-cards-unit));}
.fx-cards .fx-cards-total{position:absolute;top:280px;left:46%;width:52%;font-size:16px;text-align:center;}
.fx-cards .fx-cards-finish{visibility:hidden;}
.fx-cards:has(input:checked) .fx-cards-hint,.fx-cards:has(input:checked) .fx-cards-arrow,.fx-cards:has(input:checked) .fx-cards-tray-empty{visibility:hidden;}
.fx-cards .fx-cards-messages{display:grid;min-width:0;}
.fx-cards .fx-cards-messages p{grid-area:1 / 1;visibility:hidden;margin:0;}
.fx-cards:not(:has(input:checked)) .fx-cards-s0{visibility:visible;}
.fx-cards:has(#fx-cards-ones:checked):not(:has(#fx-cards-tens:checked)):not(:has(#fx-cards-hundreds:checked)) .fx-cards-s1{visibility:visible;}
.fx-cards:has(#fx-cards-tens:checked):not(:has(#fx-cards-ones:checked)):not(:has(#fx-cards-hundreds:checked)) .fx-cards-s2{visibility:visible;}
.fx-cards:has(#fx-cards-ones:checked):has(#fx-cards-tens:checked):not(:has(#fx-cards-hundreds:checked)) .fx-cards-s3{visibility:visible;}
.fx-cards:has(#fx-cards-hundreds:checked):not(:has(#fx-cards-ones:checked)):not(:has(#fx-cards-tens:checked)) .fx-cards-s4{visibility:visible;}
.fx-cards:has(#fx-cards-ones:checked):has(#fx-cards-hundreds:checked):not(:has(#fx-cards-tens:checked)) .fx-cards-s5{visibility:visible;}
.fx-cards:has(#fx-cards-tens:checked):has(#fx-cards-hundreds:checked):not(:has(#fx-cards-ones:checked)) .fx-cards-s6{visibility:visible;}
.fx-cards:has(input:checked) .fx-cards-progress{visibility:visible;}
.fx-cards:has(#fx-cards-ones:checked):has(#fx-cards-tens:checked):has(#fx-cards-hundreds:checked) .fx-cards-s7,.fx-cards:has(#fx-cards-ones:checked):has(#fx-cards-tens:checked):has(#fx-cards-hundreds:checked) .fx-cards-finish{visibility:visible;}
.fx-cards:has(#fx-cards-ones:checked):has(#fx-cards-tens:checked):has(#fx-cards-hundreds:checked) .fx-cards-progress{visibility:hidden;}
@container (max-width:480px){.fx-cards .fx-row{display:grid;grid-template-columns:minmax(0,1fr);}.fx-cards .fx-cards-stage{--fx-cards-unit:26px;--fx-cards-origin:50%;--fx-cards-target:50%;--fx-cards-shift:0%;--fx-cards-drop:250px;height:570px;}.fx-cards .fx-cards-stack-title,.fx-cards .fx-cards-stack-bay,.fx-cards .fx-cards-hint,.fx-cards .fx-cards-stack-empty{left:4%;width:92%;}.fx-cards .fx-cards-tray-title{top:290px;left:4%;width:92%;}.fx-cards .fx-cards-tray-bay{top:324px;left:4%;width:92%;height:204px;}.fx-cards .fx-cards-tray-empty{top:410px;left:4%;width:92%;}.fx-cards .fx-cards-total{top:536px;left:4%;width:92%;}.fx-cards .fx-cards-value span{font-size:22px;}}
@media (prefers-reduced-motion:reduce){.fx-cards .fx-cards-carrier,.fx-cards .fx-cards-card{transition:none;}}