.fx-flaps{--fx-u:16px;--fx-pre:-180deg;--fx-post:180deg;--fx-tail:4;}.fx-flaps:has(#fx-flaps-front:checked){--fx-pre:0deg;}.fx-flaps:has(#fx-flaps-end:checked){--fx-post:0deg;}.fx-flaps:has(#fx-flaps-happy:checked){--fx-tail:5;}.fx-flaps .fx-flaps-wrap{display:grid;gap:16px;min-width:0;color:var(--fx-ink);font-size:16px;}.fx-flaps .fx-flaps-wrap *{box-sizing:border-box;}.fx-flaps .fx-flaps-steps{display:grid;gap:6px;list-style:none;margin:0;padding:0;}.fx-flaps .fx-flaps-goal{margin:0;line-height:1.5;}.fx-flaps .fx-flaps-ctl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;}.fx-flaps .fx-flaps-field{border:0;padding:0;margin:0;min-width:0;}.fx-flaps .fx-flaps-field legend{padding:0;margin-bottom:10px;font-weight:800;line-height:1.4;}.fx-flaps .fx-row{display:flex;flex-wrap:wrap;gap:8px;}.fx-flaps .fx-btn{min-height:40px;min-width:40px;max-width:100%;white-space:normal;color:var(--fx-ink);}.fx-flaps .fx-btn:has(input:checked){background:var(--fx-mint);color:var(--fx-ink);border-color:var(--fx-ink);}.fx-flaps .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-ink);outline-offset:3px;}.fx-flaps .fx-flaps-scene{position:relative;height:220px;min-width:0;overflow:hidden;perspective:800px;}.fx-flaps .fx-flaps-parts{position:absolute;top:12px;left:8px;right:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;text-align:center;font-size:12px;line-height:1.4;}.fx-flaps .fx-flaps-card{position:absolute;left:50%;top:55%;width:calc(12 * var(--fx-u));height:calc(5 * var(--fx-u));background:var(--fx-sun-pale);outline:1px solid var(--fx-ink);border-radius:3px;font-size:calc(1.5 * var(--fx-u));font-weight:800;line-height:1;transform:translate(-50%,-50%) rotateX(18deg) rotateY(-8deg) rotateZ(-2deg);transform-style:preserve-3d;}.fx-flaps .fx-flaps-stem{position:absolute;left:calc(3 * var(--fx-u));top:0;width:calc(5 * var(--fx-u));height:100%;display:grid;}.fx-flaps .fx-flaps-pre,.fx-flaps .fx-flaps-post{position:absolute;top:0;height:100%;transform-style:preserve-3d;transition:transform .7s;}.fx-flaps .fx-flaps-pre{left:0;width:calc(3 * var(--fx-u));transform-origin:left center;transform:translateZ(2px) rotateY(var(--fx-pre));}.fx-flaps .fx-flaps-post{right:0;width:calc(var(--fx-tail) * var(--fx-u));transform-origin:right center;transform:translateZ(3px) rotateY(var(--fx-post));}.fx-flaps .fx-flaps-face{position:absolute;inset:0;display:grid;backface-visibility:hidden;outline:1px solid var(--fx-ink);border-radius:3px;background:var(--fx-sky-pale);}.fx-flaps .fx-flaps-post .fx-flaps-face{background:var(--fx-coral-pale);}.fx-flaps .fx-flaps-back{transform:rotateY(180deg);}.fx-flaps .fx-flaps-v{grid-area:1 / 1;visibility:hidden;}.fx-flaps .fx-flaps-card .fx-flaps-v{display:grid;grid-auto-flow:column;grid-auto-columns:var(--fx-u);align-items:center;text-align:center;}.fx-flaps .fx-flaps-pre .fx-flaps-v{justify-content:end;}.fx-flaps .fx-flaps-m{font-size:.8em;}.fx-flaps .fx-flaps-i{background:var(--fx-coral);border-radius:2px;}.fx-flaps .fx-flaps-key{position:absolute;bottom:10px;left:8px;right:8px;display:grid;text-align:center;font-size:12px;line-height:1.4;}.fx-flaps .fx-flaps-key p{margin:0;}.fx-flaps:has(#fx-flaps-legal:checked) .fx-flaps-l,.fx-flaps:has(#fx-flaps-agree:checked) .fx-flaps-a,.fx-flaps:has(#fx-flaps-happy:checked) .fx-flaps-h{visibility:visible;}.fx-flaps .fx-flaps-output{display:grid;gap:4px;text-align:center;min-width:0;}.fx-flaps .fx-flaps-stack{display:grid;min-width:0;}.fx-flaps .fx-flaps-state{grid-area:1 / 1;visibility:hidden;margin:0;}.fx-flaps .fx-flaps-results .fx-score{font-size:28px;line-height:1.3;font-weight:800;overflow-wrap:anywhere;}.fx-flaps:has(#fx-flaps-legal:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:not(:checked)) .fx-flaps-s0,.fx-flaps:has(#fx-flaps-legal:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:not(:checked)) .fx-flaps-s1,.fx-flaps:has(#fx-flaps-legal:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:checked) .fx-flaps-s2,.fx-flaps:has(#fx-flaps-legal:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:checked) .fx-flaps-s3,.fx-flaps:has(#fx-flaps-agree:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:not(:checked)) .fx-flaps-s4,.fx-flaps:has(#fx-flaps-agree:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:not(:checked)) .fx-flaps-s5,.fx-flaps:has(#fx-flaps-agree:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:checked) .fx-flaps-s6,.fx-flaps:has(#fx-flaps-agree:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:checked) .fx-flaps-s7,.fx-flaps:has(#fx-flaps-happy:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:not(:checked)) .fx-flaps-s8,.fx-flaps:has(#fx-flaps-happy:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:not(:checked)) .fx-flaps-s9,.fx-flaps:has(#fx-flaps-happy:checked):has(#fx-flaps-front:not(:checked)):has(#fx-flaps-end:checked) .fx-flaps-s10,.fx-flaps:has(#fx-flaps-happy:checked):has(#fx-flaps-front:checked):has(#fx-flaps-end:checked) .fx-flaps-s11{visibility:visible;}@container (max-width:480px){.fx-flaps .fx-flaps-ctl{grid-template-columns:1fr;}.fx-flaps .fx-flaps-scene{--fx-u:clamp(10px,3.8cqw,16px);}}@media (prefers-reduced-motion:reduce){.fx-flaps .fx-flaps-pre,.fx-flaps .fx-flaps-post{transition:none;}}