.fx-tenbox{--fx-open:0;display:grid;gap:12px;}
.fx-tenbox:has(#fx-tenbox-open:checked){--fx-open:1;}
.fx-tenbox .fx-tenbox-how{margin:0;padding-left:24px;}
.fx-tenbox .fx-tenbox-how li+li{margin-top:6px;}
.fx-tenbox .fx-tenbox-goal{margin:0;color:var(--fx-ink);}
.fx-tenbox .fx-tenbox-ct{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;}
.fx-tenbox .fx-tenbox-ct fieldset{min-width:0;margin:0;padding:0;border:0;}
.fx-tenbox .fx-tenbox-ct legend{max-width:100%;padding:0;margin-bottom:8px;font-size:15px;font-weight:800;white-space:normal;}
.fx-tenbox .fx-btn{box-sizing:border-box;display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:15px;color:var(--fx-ink);background:var(--fx-paper);}
.fx-tenbox .fx-btn:has(input:checked){color:var(--fx-ink);background:var(--fx-mint-pale);border-color:var(--fx-ink);}
.fx-tenbox .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-grape);outline-offset:3px;}
.fx-tenbox .fx-tenbox-sc{position:relative;box-sizing:border-box;height:470px;padding:12px 10px;display:grid;grid-template-rows:180px minmax(0,1fr);gap:12px;overflow:hidden;color:var(--fx-ink);font-size:16px;line-height:1.3;}
.fx-tenbox .fx-tenbox-sm p{margin:0;text-align:center;}
.fx-tenbox .fx-tenbox-sm table{width:156px;margin:4px auto 0;border-collapse:collapse;table-layout:fixed;font-size:22px;line-height:1;}
.fx-tenbox .fx-tenbox-sm th{height:18px;padding:0;font-size:12px;text-align:center;}
.fx-tenbox .fx-tenbox-sm td{height:25px;padding:0;text-align:center;}
.fx-tenbox .fx-tenbox-regroup td{height:20px;font-size:16px;}
.fx-tenbox .fx-tenbox-answer td{border-top:2px solid var(--fx-ink);}
.fx-tenbox .fx-tenbox-sm .fx-tenbox-take-label{margin-top:6px;font-size:14px;}
.fx-tenbox .fx-tenbox-n,.fx-tenbox .fx-tenbox-a1,.fx-tenbox .fx-tenbox-a10{visibility:hidden;}
.fx-tenbox:has(#fx-tenbox-open:checked) .fx-tenbox-n{visibility:visible;}
.fx-tenbox:has(#fx-tenbox-open:checked) .fx-tenbox-old{text-decoration:line-through;}
.fx-tenbox:has(#fx-tenbox-open:checked):has(#fx-tenbox-eggs:checked) .fx-tenbox-a1{visibility:visible;}
.fx-tenbox:has(#fx-tenbox-open:checked):has(#fx-tenbox-box:checked) .fx-tenbox-a10{visibility:visible;}
.fx-tenbox .fx-tenbox-tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;}
.fx-tenbox .fx-tenbox-cap{display:block;min-height:40px;margin-bottom:10px;text-align:center;font-size:14px;}
.fx-tenbox .fx-tenbox-stack{display:grid;justify-items:center;gap:16px;}
.fx-tenbox .fx-tenbox-cart{box-sizing:border-box;width:104px;height:40px;display:grid;place-items:center;border:2px solid var(--fx-ink);background:var(--fx-sun);font-weight:800;transition:transform .45s,opacity .3s;}
.fx-tenbox:has(#fx-tenbox-box:checked) .fx-tenbox-away{opacity:0;transform:translateY(-28px);}
.fx-tenbox .fx-tenbox-hinge{position:relative;width:104px;height:40px;perspective:400px;}
.fx-tenbox .fx-tenbox-in{position:absolute;inset:0;display:grid;place-items:center;box-sizing:border-box;border:2px solid var(--fx-ink);background:var(--fx-sun-pale);font-size:12px;opacity:0;transition:opacity .2s;}
.fx-tenbox:has(#fx-tenbox-open:checked) .fx-tenbox-in{opacity:1;transition-delay:.3s;}
.fx-tenbox .fx-tenbox-lid{position:absolute;inset:0;transform-origin:50% 0;transform-style:preserve-3d;transform:rotateX(calc(var(--fx-open) * -110deg));transition:transform .6s;}
.fx-tenbox .fx-tenbox-face{position:absolute;inset:0;box-sizing:border-box;display:grid;place-items:center;border:2px solid var(--fx-ink);background:var(--fx-sun);font-weight:800;backface-visibility:hidden;transform:translateZ(1px);}
.fx-tenbox .fx-tenbox-back{background:var(--fx-sun-pale);font-size:12px;transform:rotateX(180deg);}
.fx-tenbox .fx-tenbox-eggs{display:flex;flex-wrap:wrap;max-width:176px;margin:0 auto;gap:8px 6px;justify-content:center;}
.fx-tenbox .fx-tenbox-egg{box-sizing:border-box;flex-shrink:0;width:20px;height:28px;border:2px solid var(--fx-ink);border-radius:50% 50% 45% 45%;background:var(--fx-sun);transition:transform .45s,opacity .3s;}
.fx-tenbox .fx-tenbox-x{opacity:0;transform:translateX(-110px);}
.fx-tenbox:has(#fx-tenbox-open:checked) .fx-tenbox-x{opacity:1;transform:translateX(0);transition-delay:.35s;}
.fx-tenbox:has(#fx-tenbox-open:checked):has(#fx-tenbox-eggs:checked) .fx-tenbox-six{animation:fx-tenbox-lift .4s .85s forwards;}
.fx-tenbox:has(#fx-tenbox-eggs:checked):not(:has(#fx-tenbox-open:checked)) .fx-tenbox-egg:not(.fx-tenbox-x){background:var(--fx-coral);animation:fx-tenbox-shake .28s 2;}
.fx-tenbox:has(#fx-tenbox-eggs:checked):not(:has(#fx-tenbox-open:checked)) .fx-tenbox-gap{opacity:1;transform:translateX(0);background:var(--fx-paper);border-style:dashed;border-color:var(--fx-coral);}
.fx-tenbox .fx-tenbox-key{margin:12px 0 0;text-align:center;font-size:12px;}
@keyframes fx-tenbox-shake{0%,100%{transform:translateX(0);}25%{transform:translateX(-2px);}75%{transform:translateX(2px);}}
@keyframes fx-tenbox-lift{0%{opacity:1;transform:translateY(0);}100%{opacity:0;transform:translateY(-28px);}}
.fx-tenbox .fx-tenbox-msg{display:grid;min-width:0;}
.fx-tenbox .fx-tenbox-s{grid-area:1 / 1;visibility:hidden;margin:0;align-self:stretch;}
.fx-tenbox .fx-tenbox-count{display:block;margin-top:8px;font-size:14px;}
.fx-tenbox:not(:has(input:checked)) .fx-tenbox-s0,.fx-tenbox:has(#fx-tenbox-eggs:checked):not(:has(#fx-tenbox-open:checked)):not(:has(#fx-tenbox-box:checked)) .fx-tenbox-s1,.fx-tenbox:has(#fx-tenbox-open:checked):not(:has(#fx-tenbox-eggs:checked)):not(:has(#fx-tenbox-box:checked)) .fx-tenbox-s2,.fx-tenbox:has(#fx-tenbox-box:checked):not(:has(#fx-tenbox-eggs:checked)):not(:has(#fx-tenbox-open:checked)) .fx-tenbox-s3,.fx-tenbox:has(#fx-tenbox-eggs:checked):has(#fx-tenbox-open:checked):not(:has(#fx-tenbox-box:checked)) .fx-tenbox-s4,.fx-tenbox:has(#fx-tenbox-eggs:checked):has(#fx-tenbox-box:checked):not(:has(#fx-tenbox-open:checked)) .fx-tenbox-s5,.fx-tenbox:has(#fx-tenbox-open:checked):has(#fx-tenbox-box:checked):not(:has(#fx-tenbox-eggs:checked)) .fx-tenbox-s6,.fx-tenbox:has(#fx-tenbox-eggs:checked):has(#fx-tenbox-open:checked):has(#fx-tenbox-box:checked) .fx-tenbox-s7{visibility:visible;}
@container (max-width:480px){.fx-tenbox .fx-tenbox-ct{grid-template-columns:1fr;}.fx-tenbox .fx-tenbox-sc{height:660px;}.fx-tenbox .fx-tenbox-tr{grid-template-columns:1fr;grid-template-rows:240px 180px;}.fx-tenbox .fx-tenbox-x{transform:translateX(-20px);}}
@media (prefers-reduced-motion:reduce){.fx-tenbox .fx-tenbox-sc *{animation-duration:0s!important;animation-delay:0s!important;transition:none!important;}.fx-tenbox:has(#fx-tenbox-open:checked):has(#fx-tenbox-eggs:checked) .fx-tenbox-six{opacity:0;transform:translateY(-28px);}}