.fx-wall { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fx-wall > * { color: var(--fx-ink); }
.fx-wall .fx-wall-steps { margin: 0; padding-left: 24px; }
.fx-wall .fx-wall-steps li { padding: 3px 0; }
.fx-wall .fx-wall-goal { margin: 0; }
.fx-wall .fx-wall-controls { min-width: 0; border: 0; padding: 0; margin: 0; }
.fx-wall .fx-wall-controls legend { padding: 0; font-weight: 800; }
.fx-wall .fx-wall-help { font-size: 14px; line-height: 1.5; margin: 10px 0 14px; }
.fx-wall .fx-wall-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.fx-wall .fx-wall-slot { display: grid; min-width: 0; }
.fx-wall .fx-wall-slot > * { grid-area: 1 / 1; margin: 0; }
.fx-wall .fx-wall-slot .fx-btn { visibility: hidden; display: flex; align-items: center; min-height: 44px; padding: 10px; box-sizing: border-box; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; line-height: 1.4; cursor: pointer; }
.fx-wall .fx-wall-slot .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-wall .fx-wall-slot .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-wall .fx-wall-done { visibility: hidden; display: flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 10px; border: 2px solid var(--fx-mint); border-radius: 8px; background: var(--fx-mint-pale); font-size: 14px; line-height: 1.4; }
.fx-wall .fx-wall-slot1 .fx-btn { visibility: visible; animation: fx-wall-pulse 0.9s ease-in-out 3; }
.fx-wall:has(#fx-wall-b1:checked) .fx-wall-slot2 .fx-btn, .fx-wall:has(#fx-wall-b2:checked) .fx-wall-slot3 .fx-btn, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-slot4 .fx-btn, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-slot5 .fx-btn { visibility: visible; }
.fx-wall:has(#fx-wall-b2:checked) .fx-wall-slot1 .fx-btn, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-slot2 .fx-btn, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-slot3 .fx-btn, .fx-wall:has(#fx-wall-b5:checked) .fx-wall-slot4 .fx-btn { visibility: hidden; }
.fx-wall:has(#fx-wall-b2:checked) .fx-wall-slot1 .fx-wall-done, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-slot2 .fx-wall-done, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-slot3 .fx-wall-done, .fx-wall:has(#fx-wall-b5:checked) .fx-wall-slot4 .fx-wall-done { visibility: visible; }
.fx-wall .fx-wall-scene { position: relative; height: 444px; min-width: 0; padding: 0; border: 0; box-sizing: border-box; overflow: hidden; }
.fx-wall .fx-wall-post-name { position: absolute; top: 8px; left: 6px; width: 94px; font-size: 12px; line-height: 16px; }
.fx-wall .fx-wall-name { position: absolute; top: 8px; left: 104px; right: 8px; text-align: center; font-size: 14px; line-height: 18px; }
.fx-wall .fx-wall-post { position: absolute; left: 59px; bottom: 104px; width: 3px; height: 300px; background: var(--fx-ink); }
.fx-wall .fx-wall-mark { position: absolute; left: 4px; bottom: calc(104px + var(--fx-y)); width: 46px; transform: translateY(50%); text-align: right; font-size: 12px; line-height: 18px; }
.fx-wall .fx-wall-mark::after { content: ""; position: absolute; left: 48px; top: 50%; width: 12px; border-top: 1px solid var(--fx-ink); }
.fx-wall .fx-wall-view { position: absolute; inset: 0; perspective: 900px; perspective-origin: 100% 0%; }
.fx-wall .fx-wall-stack { position: absolute; left: calc(50% - 12px); bottom: 104px; width: 72px; height: 300px; transform-style: preserve-3d; }
.fx-wall .fx-wall-layer { position: absolute; left: 0; bottom: var(--fx-y); width: 72px; height: 60px; display: flex; flex-direction: column; transform-style: preserve-3d; transform: translate3d(0, -24px, -8px) scale(0); transform-origin: center bottom; opacity: 0; visibility: hidden; transition: transform 0.45s, opacity 0.45s; }
.fx-wall .fx-wall-brick { position: relative; width: 72px; height: 12px; flex: 0 0 12px; box-sizing: border-box; border: 1px solid var(--fx-ink); background: var(--fx-sun); transform-style: preserve-3d; }
.fx-wall .fx-wall-brick::before { content: ""; position: absolute; left: 70px; top: -1px; width: 8px; height: 12px; box-sizing: border-box; border: 1px solid var(--fx-ink); background: var(--fx-sun); transform-origin: left top; transform: rotateY(90deg); }
.fx-wall .fx-wall-brick::after { content: ""; position: absolute; left: -1px; top: -1px; width: 72px; height: 8px; box-sizing: border-box; border: 1px solid var(--fx-ink); background: var(--fx-sun-pale); transform-origin: left top; transform: rotateX(-90deg); }
.fx-wall:has(#fx-wall-b1:checked) .fx-wall-layer1, .fx-wall:has(#fx-wall-b2:checked) .fx-wall-layer2, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-layer3, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-layer4, .fx-wall:has(#fx-wall-b5:checked) .fx-wall-layer5 { transform: translate3d(0, 0, 0) scale(1); opacity: 1; visibility: visible; }
.fx-wall .fx-wall-layer5 .fx-wall-brick, .fx-wall .fx-wall-layer5 .fx-wall-brick::before, .fx-wall .fx-wall-layer5 .fx-wall-brick::after { background: var(--fx-coral); }
.fx-wall .fx-wall-target { position: absolute; left: 60px; right: 8px; bottom: 344px; height: 3px; transform: translateY(50%); background: var(--fx-coral); }
.fx-wall .fx-wall-target-name { position: absolute; left: 68px; right: 6px; bottom: 350px; font-size: 12px; line-height: 16px; }
.fx-wall:has(#fx-wall-b4:checked) .fx-wall-target { background: var(--fx-mint); }
.fx-wall:has(#fx-wall-b5:checked) .fx-wall-target { background: var(--fx-coral); }
.fx-wall .fx-wall-ground { position: absolute; left: 8px; right: 8px; bottom: 104px; height: 2px; transform: translateY(50%); background: var(--fx-ink); }
.fx-wall .fx-wall-base { position: absolute; left: calc(50% - 16px); bottom: 99px; width: 80px; height: 5px; background: var(--fx-ink); }
.fx-wall .fx-wall-ground-name { position: absolute; right: 12px; bottom: 78px; font-size: 12px; }
.fx-wall .fx-wall-sample { position: absolute; left: 16px; bottom: 32px; }
.fx-wall .fx-wall-sample-name { position: absolute; left: 100px; right: 8px; bottom: 26px; font-size: 12px; line-height: 16px; }
.fx-wall .fx-wall-says { display: grid; min-width: 0; }
.fx-wall .fx-wall-says p { grid-area: 1 / 1; visibility: hidden; margin: 0; align-self: stretch; }
.fx-wall .fx-wall-says .fx-wall-s0 { visibility: visible; }
.fx-wall:has(#fx-wall-b1:checked) .fx-wall-s1, .fx-wall:has(#fx-wall-b2:checked) .fx-wall-s2, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-s3, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-s4, .fx-wall:has(#fx-wall-b5:checked) .fx-wall-s5 { visibility: visible; }
.fx-wall:has(#fx-wall-b1:checked) .fx-wall-s0, .fx-wall:has(#fx-wall-b2:checked) .fx-wall-s1, .fx-wall:has(#fx-wall-b3:checked) .fx-wall-s2, .fx-wall:has(#fx-wall-b4:checked) .fx-wall-s3, .fx-wall:has(#fx-wall-b5:checked) .fx-wall-s4 { visibility: hidden; }
@container (max-width: 480px) { .fx-wall .fx-wall-choices { grid-template-columns: minmax(0, 1fr); } }
@keyframes fx-wall-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--fx-sun); } 50% { box-shadow: 0 0 0 3px var(--fx-sun); } }
@media (prefers-reduced-motion: reduce) { .fx-wall .fx-wall-layer { transition: none; } .fx-wall .fx-wall-slot1 .fx-btn { animation: none; } }