.fx-stack{--fx-stack-a:0;--fx-stack-b:0;--fx-stack-c:0;display:grid;gap:16px}.fx-stack:has(#fx-stack-time:checked){--fx-stack-a:1}.fx-stack:has(#fx-stack-reason:checked){--fx-stack-b:1}.fx-stack:has(#fx-stack-car:checked){--fx-stack-c:1}.fx-stack .fx-stack-goal,.fx-stack .fx-stack-question{margin:0}.fx-stack .fx-stack-controls{border:0;margin:0;padding:0;min-width:0}.fx-stack .fx-stack-controls legend{padding:0;margin-bottom:10px;font-weight:800}.fx-stack .fx-stack-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;counter-reset:fx-stack-added}.fx-stack .fx-stack-opts input:checked{counter-increment:fx-stack-added}.fx-stack .fx-stack-choice{display:flex;align-items:center;box-sizing:border-box;min-height:44px;min-width:0;padding:10px;border:2px solid var(--fx-ink);border-radius:8px;background:var(--fx-sun-pale);color:var(--fx-ink);white-space:normal;overflow-wrap:anywhere}.fx-stack .fx-stack-offtopic{background:var(--fx-coral-pale)}.fx-stack .fx-stack-opts label:has(input:checked){background:var(--fx-mint);color:var(--fx-ink);border-width:4px;padding:8px}.fx-stack .fx-stack-opts .fx-stack-offtopic:has(input:checked){background:var(--fx-coral-pale);border-color:var(--fx-muted)}.fx-stack .fx-stack-opts label:has(input:focus-visible){outline:3px solid var(--fx-ink);outline-offset:3px}.fx-stack .fx-stack-help{display:block;margin-top:10px;font-size:12px}.fx-stack .fx-stack-scene{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;color:var(--fx-ink)}.fx-stack .fx-stack-building{display:flex;flex-direction:column;align-items:center;gap:6px;box-sizing:border-box;height:460px;padding:12px;min-width:0}.fx-stack .fx-stack-total{display:grid;font-size:16px;line-height:1.4}.fx-stack .fx-stack-total span{grid-area:1 / 1}.fx-stack .fx-stack-n0{visibility:var(--fx-stack-v0,visible)}.fx-stack .fx-stack-n1{visibility:var(--fx-stack-v1,hidden)}.fx-stack .fx-stack-n2{visibility:var(--fx-stack-v2,hidden)}.fx-stack .fx-stack-n3{visibility:var(--fx-stack-v3,hidden)}.fx-stack .fx-stack-n4{visibility:var(--fx-stack-v4,hidden)}.fx-stack:has(.fx-stack-opts input:checked){--fx-stack-v0:hidden;--fx-stack-v1:visible}.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked,#fx-stack-car:checked,#fx-stack-plane:checked),.fx-stack:has(#fx-stack-reason:checked):has(#fx-stack-car:checked,#fx-stack-plane:checked),.fx-stack:has(#fx-stack-car:checked):has(#fx-stack-plane:checked){--fx-stack-v1:hidden;--fx-stack-v2:visible}.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):has(#fx-stack-car:checked,#fx-stack-plane:checked),.fx-stack:has(#fx-stack-car:checked):has(#fx-stack-plane:checked):has(#fx-stack-time:checked,#fx-stack-reason:checked){--fx-stack-v2:hidden;--fx-stack-v3:visible}.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):has(#fx-stack-car:checked):has(#fx-stack-plane:checked){--fx-stack-v3:hidden;--fx-stack-v4:visible}.fx-stack .fx-stack-space{position:relative;width:100%;height:330px;flex-shrink:0;perspective:850px}.fx-stack .fx-stack-tower{position:absolute;bottom:18px;left:50%;width:min(210px,calc(100% - 30px));height:60px;transform-style:preserve-3d;transform:translateX(-50%) rotateX(-7deg) rotateY(-10deg);transition:transform 0.45s}.fx-stack .fx-stack-block{--fx-stack-paint:var(--fx-sun-pale);--fx-stack-edge:var(--fx-sun);position:absolute;bottom:0;left:0;width:100%;height:60px;transform-style:preserve-3d;transition:transform 0.45s,bottom 0.45s}.fx-stack .fx-stack-front,.fx-stack .fx-stack-top,.fx-stack .fx-stack-side{position:absolute;box-sizing:border-box;border:2px solid var(--fx-ink);background:var(--fx-stack-paint)}.fx-stack .fx-stack-front{inset:0;display:grid;place-items:center;padding:3px;font-size:12px;line-height:1.1;text-align:center;transform:translateZ(10px)}.fx-stack .fx-stack-top{left:0;top:0;width:100%;height:20px;background:var(--fx-stack-edge);transform-origin:top;transform:translateZ(-10px) rotateX(90deg)}.fx-stack .fx-stack-side{left:100%;top:0;width:20px;height:60px;background:var(--fx-stack-edge);transform-origin:left;transform:translateZ(10px) rotateY(90deg)}.fx-stack .fx-stack-base{--fx-stack-paint:var(--fx-sky-pale);--fx-stack-edge:var(--fx-sky)}.fx-stack .fx-stack-basewords span{grid-area:1 / 1}.fx-stack .fx-stack-base-join{visibility:hidden}.fx-stack:has(#fx-stack-time:checked) .fx-stack-base-stop{visibility:hidden}.fx-stack:has(#fx-stack-time:checked) .fx-stack-base-join{visibility:visible}.fx-stack .fx-stack-add{visibility:hidden;transform:translate3d(0,-35px,-10px) scale(0)}.fx-stack .fx-stack-time-block{bottom:60px}.fx-stack .fx-stack-reason-block{--fx-stack-paint:var(--fx-mint-pale);--fx-stack-edge:var(--fx-mint);bottom:calc(60px + var(--fx-stack-a) * 60px)}.fx-stack .fx-stack-bad{--fx-stack-paint:var(--fx-coral-pale);--fx-stack-edge:var(--fx-muted)}.fx-stack .fx-stack-car-block{bottom:calc(60px + var(--fx-stack-a) * 60px + var(--fx-stack-b) * 60px)}.fx-stack .fx-stack-plane-block{bottom:calc(60px + var(--fx-stack-a) * 60px + var(--fx-stack-b) * 60px + var(--fx-stack-c) * 60px)}.fx-stack:has(#fx-stack-time:checked) .fx-stack-time-block,.fx-stack:has(#fx-stack-reason:checked) .fx-stack-reason-block{visibility:visible;transform:translate3d(0,0,0) scale(1)}.fx-stack:has(#fx-stack-car:checked) .fx-stack-car-block{visibility:visible;transform:translate3d(0,0,3px) rotateZ(-5deg) scale(1)}.fx-stack:has(#fx-stack-plane:checked) .fx-stack-plane-block{visibility:visible;transform:translate3d(0,0,3px) rotateZ(5deg) scale(1)}.fx-stack .fx-stack-caption{margin:0;font-size:12px;text-align:center}.fx-stack .fx-stack-listener{display:grid;gap:10px;min-width:0}.fx-stack .fx-stack-person-row{display:flex;align-items:center;gap:16px;height:72px}.fx-stack .fx-stack-person{width:56px;height:72px;fill:none;stroke:var(--fx-ink);stroke-width:3;stroke-linecap:round}.fx-stack .fx-stack-person circle{fill:var(--fx-sun-pale)}.fx-stack .fx-stack-tick{visibility:hidden;font-size:36px}.fx-stack .fx-stack-bubble{border:2px solid var(--fx-ink);border-radius:14px;padding:8px;background:var(--fx-paper);display:grid;gap:8px}.fx-stack .fx-stack-speech{display:grid}.fx-stack .fx-stack-speech p{grid-area:1 / 1;visibility:hidden;margin:0;padding:8px;font-size:14px;line-height:1.4}.fx-stack:not(:has(.fx-stack-opts input:checked)) .fx-stack-start,.fx-stack:has(#fx-stack-time:checked):not(:has(#fx-stack-reason:checked)) .fx-stack-time-say,.fx-stack:has(#fx-stack-reason:checked):not(:has(#fx-stack-time:checked)) .fx-stack-reason-say,.fx-stack:has(#fx-stack-car:checked) .fx-stack-car-say,.fx-stack:has(#fx-stack-plane:checked) .fx-stack-plane-say,.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):has(#fx-stack-car:checked,#fx-stack-plane:checked) .fx-stack-mixed{visibility:visible}.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):not(:has(#fx-stack-car:checked,#fx-stack-plane:checked)) .fx-stack-complete,.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):not(:has(#fx-stack-car:checked,#fx-stack-plane:checked)) .fx-stack-tick{visibility:visible}.fx-stack:has(#fx-stack-time:checked):has(#fx-stack-reason:checked):not(:has(#fx-stack-car:checked,#fx-stack-plane:checked)) .fx-stack-front{box-shadow:0 0 12px var(--fx-mint)}.fx-stack:has(#fx-stack-car:checked,#fx-stack-plane:checked) .fx-stack-tower{animation:fx-stack-wobble 0.6s ease-out}@keyframes fx-stack-wobble{0%,100%{transform:translateX(-50%) rotateX(-7deg) rotateY(-10deg) rotateZ(0deg)}35%{transform:translateX(-50%) rotateX(-7deg) rotateY(-10deg) rotateZ(2deg)}70%{transform:translateX(-50%) rotateX(-7deg) rotateY(-10deg) rotateZ(-2deg)}}@container (max-width:480px){.fx-stack .fx-stack-opts,.fx-stack .fx-stack-scene{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.fx-stack .fx-stack-tower,.fx-stack .fx-stack-block{animation:none;transition:none}}