.fx-plurals{--fx-angle:0deg;display:grid;gap:14px;}
.fx-plurals:has(#fx-plurals-es:checked){--fx-angle:-90deg;}
.fx-plurals:has(#fx-plurals-f:checked){--fx-angle:-180deg;}
.fx-plurals:has(#fx-plurals-oo:checked){--fx-angle:-270deg;}
.fx-plurals .fx-plurals-steps{margin:0;padding-left:24px;}
.fx-plurals .fx-plurals-steps li{padding:3px 0;}
.fx-plurals .fx-plurals-goal{margin:0;color:var(--fx-ink);}
.fx-plurals .fx-plurals-controls{border:0;padding:0;margin:0;min-width:0;}
.fx-plurals .fx-plurals-controls legend{font-weight:800;padding:0;margin-bottom:8px;}
.fx-plurals .fx-row{display:flex;flex-wrap:wrap;gap:8px;}
.fx-plurals .fx-btn{box-sizing:border-box;min-height:44px;padding:10px 14px;background:var(--fx-paper);color:var(--fx-ink);}
.fx-plurals .fx-btn:has(input:checked){background:var(--fx-sun);color:var(--fx-ink);border-color:var(--fx-ink);}
.fx-plurals .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-grape);outline-offset:3px;}
.fx-plurals .fx-plurals-scene{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:150px 24px 104px;gap:12px;align-items:center;align-content:center;height:350px;padding:16px;border-width:2px;color:var(--fx-ink);}
.fx-plurals .fx-plurals-card{box-sizing:border-box;min-width:0;display:grid;gap:6px;padding:10px;border:2px solid var(--fx-ink);border-radius:12px;background:var(--fx-paper);text-align:center;}
.fx-plurals .fx-plurals-words{display:grid;font-size:32px;font-weight:800;line-height:1.2;}
.fx-plurals .fx-plurals-words>span{grid-area:1 / 1;visibility:hidden;}
.fx-plurals .fx-plurals-wheel{min-width:0;display:grid;gap:6px;text-align:center;}
.fx-plurals .fx-plurals-perspective{height:110px;display:grid;place-items:center;perspective:600px;}
.fx-plurals .fx-plurals-drum{position:relative;width:140px;max-width:80%;height:72px;transform-style:preserve-3d;transform:rotateX(var(--fx-angle));transition:transform .7s;}
.fx-plurals .fx-plurals-face{position:absolute;inset:0;box-sizing:border-box;display:grid;place-items:center;border:2px solid var(--fx-ink);background:var(--fx-sun-pale);color:var(--fx-ink);font-size:24px;font-weight:800;backface-visibility:hidden;}
.fx-plurals .fx-plurals-face-s{transform:translateZ(36px);}
.fx-plurals .fx-plurals-face-es{transform:rotateX(90deg) translateZ(36px);}
.fx-plurals .fx-plurals-face-f{transform:rotateX(180deg) translateZ(36px);}
.fx-plurals .fx-plurals-face-oo{transform:rotateX(270deg) translateZ(36px);}
.fx-plurals .fx-plurals-arrow{grid-column:1 / -1;text-align:center;font-size:28px;line-height:24px;}
.fx-plurals .fx-plurals-output{grid-column:1 / -1;}
.fx-plurals .fx-plurals-results{display:grid;font-size:32px;font-weight:800;line-height:1.25;}
.fx-plurals .fx-plurals-state{grid-area:1 / 1;visibility:hidden;}
.fx-plurals .fx-plurals-mark{display:inline-grid;place-items:center;box-sizing:border-box;width:30px;height:30px;border-radius:50%;vertical-align:3px;font-size:24px;line-height:1;color:var(--fx-ink);}
.fx-plurals .fx-plurals-yes{background:var(--fx-mint);}
.fx-plurals .fx-plurals-no{background:var(--fx-coral);}
.fx-plurals .fx-plurals-query{border:2px solid var(--fx-muted);color:var(--fx-muted);background:var(--fx-paper);}
.fx-plurals .fx-plurals-response{display:grid;gap:8px;color:var(--fx-ink);}
.fx-plurals .fx-plurals-messages{display:grid;}
.fx-plurals .fx-plurals-messages>p{box-sizing:border-box;margin:0;color:var(--fx-ink);}
.fx-plurals .fx-plurals-change{position:relative;display:inline-block;}
.fx-plurals .fx-plurals-old{position:absolute;left:0;top:0;opacity:1;transform:translate(0,0);transition:transform .6s,opacity .6s;}
.fx-plurals .fx-plurals-new{display:inline-block;opacity:0;transform:translateY(-.65em);transition:transform .6s,opacity .6s;}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-f:checked) .fx-plurals-old{opacity:0;transform:translate(.7em,.3em) rotate(18deg);}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-f:checked) .fx-plurals-new{opacity:1;transform:translateY(0);}
.fx-plurals .fx-plurals-vowels{display:inline-block;perspective:250px;}
.fx-plurals .fx-plurals-flip{display:inline-grid;transform-style:preserve-3d;transform:rotateX(0deg);transition:transform .65s;}
.fx-plurals .fx-plurals-flip>span{grid-area:1 / 1;backface-visibility:hidden;}
.fx-plurals .fx-plurals-back{transform:rotateX(180deg);}
.fx-plurals:has(#fx-plurals-g:checked):has(#fx-plurals-oo:checked) .fx-plurals-flip{transform:rotateX(180deg);}
.fx-plurals:has(#fx-plurals-c:checked) .fx-plurals-wc,.fx-plurals:has(#fx-plurals-b:checked) .fx-plurals-wb,.fx-plurals:has(#fx-plurals-l:checked) .fx-plurals-wl,.fx-plurals:has(#fx-plurals-g:checked) .fx-plurals-wg{visibility:visible;}
.fx-plurals:has(#fx-plurals-c:checked):has(#fx-plurals-s:checked) .fx-plurals-cs{visibility:visible;}
.fx-plurals:has(#fx-plurals-c:checked):has(#fx-plurals-es:checked) .fx-plurals-ce{visibility:visible;}
.fx-plurals:has(#fx-plurals-c:checked):has(#fx-plurals-f:checked) .fx-plurals-cf{visibility:visible;}
.fx-plurals:has(#fx-plurals-c:checked):has(#fx-plurals-oo:checked) .fx-plurals-co{visibility:visible;}
.fx-plurals:has(#fx-plurals-b:checked):has(#fx-plurals-s:checked) .fx-plurals-bs{visibility:visible;}
.fx-plurals:has(#fx-plurals-b:checked):has(#fx-plurals-es:checked) .fx-plurals-be{visibility:visible;}
.fx-plurals:has(#fx-plurals-b:checked):has(#fx-plurals-f:checked) .fx-plurals-bf{visibility:visible;}
.fx-plurals:has(#fx-plurals-b:checked):has(#fx-plurals-oo:checked) .fx-plurals-bo{visibility:visible;}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-s:checked) .fx-plurals-ls{visibility:visible;}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-es:checked) .fx-plurals-le{visibility:visible;}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-f:checked) .fx-plurals-lf{visibility:visible;}
.fx-plurals:has(#fx-plurals-l:checked):has(#fx-plurals-oo:checked) .fx-plurals-lo{visibility:visible;}
.fx-plurals:has(#fx-plurals-g:checked):has(#fx-plurals-s:checked) .fx-plurals-gs{visibility:visible;}
.fx-plurals:has(#fx-plurals-g:checked):has(#fx-plurals-es:checked) .fx-plurals-ge{visibility:visible;}
.fx-plurals:has(#fx-plurals-g:checked):has(#fx-plurals-f:checked) .fx-plurals-gf{visibility:visible;}
.fx-plurals:has(#fx-plurals-g:checked):has(#fx-plurals-oo:checked) .fx-plurals-go{visibility:visible;}
@container (max-width:480px){.fx-plurals .fx-plurals-scene{grid-template-columns:minmax(0,1fr);grid-template-rows:88px 142px 24px 104px;height:434px;padding:12px;}}
@media (prefers-reduced-motion:reduce){.fx-plurals .fx-plurals-drum,.fx-plurals .fx-plurals-old,.fx-plurals .fx-plurals-new,.fx-plurals .fx-plurals-flip{transition:none;}}