.fx-recipe { display: grid; gap: 16px; }
.fx-recipe * { box-sizing: border-box; }
.fx-recipe .fx-recipe-how { margin: 0; padding-left: 24px; color: var(--fx-ink); line-height: 1.5; }
.fx-recipe .fx-recipe-how li + li { margin-top: 6px; }
.fx-recipe .fx-recipe-goal { margin: 0; color: var(--fx-ink); line-height: 1.5; }
.fx-recipe .fx-recipe-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-recipe .fx-recipe-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; color: var(--fx-ink); }
.fx-recipe .fx-recipe-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-recipe .fx-recipe-choices .fx-btn { display: flex; align-items: center; min-width: 0; min-height: 44px; padding: 10px 12px; color: var(--fx-ink); background: var(--fx-paper); line-height: 1.4; }
.fx-recipe .fx-recipe-choices .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-mint-pale); }
.fx-recipe .fx-recipe-choices .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-recipe .fx-recipe-tallies, .fx-recipe .fx-recipe-messages { display: grid; min-width: 0; }
.fx-recipe .fx-recipe-tallies > p, .fx-recipe .fx-recipe-messages > p { grid-area: 1 / 1; margin: 0; color: var(--fx-ink); }
.fx-recipe .fx-recipe-tallies > p { font-size: 20px; line-height: 1.4; }
.fx-recipe .fx-recipe-messages > p { font-size: 16px; line-height: 1.5; }
.fx-recipe .fx-recipe-state { visibility: hidden; }
.fx-recipe .fx-recipe-stage { position: relative; height: 566px; padding: 0; overflow: hidden; color: var(--fx-ink); font-size: 15px; }
.fx-recipe .fx-recipe-depth { position: absolute; inset: 0; perspective: 1200px; }
.fx-recipe .fx-recipe-source { position: absolute; left: calc(50% + 26px); right: 18px; top: 88px; font-size: 14px; }
.fx-recipe .fx-recipe-card { position: absolute; left: 18px; top: 50px; width: calc(50% - 34px); height: 456px; transform-style: preserve-3d; transform: rotateX(3deg) rotateY(-4deg); transition: transform 0.6s; }
.fx-recipe .fx-recipe-face { position: absolute; inset: 0; padding: 12px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-sun-pale); transform: translateZ(0px); }
.fx-recipe .fx-recipe-card-label { font-size: 14px; font-weight: 700; }
.fx-recipe .fx-recipe-title { margin: 6px 0 0; font-size: 26px; line-height: 1.2; }
.fx-recipe .fx-recipe-slot { position: absolute; left: 10px; right: 10px; height: 96px; padding: 8px; border: 2px dashed var(--fx-muted); border-radius: 6px; background: var(--fx-paper); transform: translateZ(1px); }
.fx-recipe .fx-recipe-slot span { display: block; font-size: 13px; }
.fx-recipe .fx-recipe-slot > b { display: block; margin-top: 8px; text-align: center; font-size: 26px; }
.fx-recipe .fx-recipe-slot1, .fx-recipe .fx-recipe-block1 { top: 88px; }
.fx-recipe .fx-recipe-slot2, .fx-recipe .fx-recipe-block2 { top: 196px; }
.fx-recipe .fx-recipe-slot3, .fx-recipe .fx-recipe-block3 { top: 304px; }
.fx-recipe .fx-recipe-block { position: absolute; left: 10px; right: 10px; height: 96px; padding: 8px; border: 2px solid var(--fx-ink); border-radius: 6px; transform-style: preserve-3d; transform: translate3d(calc(100% + 52px), -14px, 22px) rotateZ(-2deg) scale(0.96); transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }
.fx-recipe .fx-recipe-block1 { background: var(--fx-sun-pale); }
.fx-recipe .fx-recipe-block2 { background: var(--fx-sky-pale); }
.fx-recipe .fx-recipe-block3 { background: var(--fx-mint-pale); }
.fx-recipe .fx-recipe-block-labels { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 13px; line-height: 1.25; }
.fx-recipe .fx-recipe-tag { padding: 2px 3px; border-radius: 3px; background: var(--fx-coral-pale); white-space: nowrap; }
.fx-recipe .fx-recipe-block > p { margin: 6px 0 0; font-size: 15px; line-height: 1.3; }
.fx-recipe .fx-recipe-block strong { padding: 0 2px; color: var(--fx-ink); background: var(--fx-coral-pale); border-radius: 3px; font-weight: 800; }
.fx-recipe:has(#fx-recipe-one:checked) .fx-recipe-block1, .fx-recipe:has(#fx-recipe-two:checked) .fx-recipe-block2, .fx-recipe:has(#fx-recipe-three:checked) .fx-recipe-block3 { transform: translate3d(0px, 0px, 12px) rotateZ(0deg) scale(1); }
.fx-recipe:has(#fx-recipe-one:checked) .fx-recipe-block1 strong, .fx-recipe:has(#fx-recipe-two:checked) .fx-recipe-block2 strong, .fx-recipe:has(#fx-recipe-three:checked) .fx-recipe-block3 strong { background: var(--fx-coral); box-shadow: 0 0 0 2px var(--fx-sun-pale); }
.fx-recipe .fx-recipe-stamp { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 28px; display: grid; place-items: center; border: 2px solid var(--fx-ink); border-radius: 4px; color: var(--fx-ink); background: var(--fx-mint); font-size: 15px; transform: translate3d(0px, -24px, 24px) scale(0.9); transition: transform 0.5s; }
.fx-recipe:has(#fx-recipe-one:checked):has(#fx-recipe-two:checked):has(#fx-recipe-three:checked) .fx-recipe-stamp { transform: translate3d(0px, 0px, 14px) scale(1); }
.fx-recipe .fx-recipe-hint { position: absolute; left: 12px; right: 12px; bottom: 18px; margin: 0; text-align: center; font-size: 15px; font-weight: 700; }
.fx-recipe:not(:has(#fx-recipe-one:checked)):not(:has(#fx-recipe-two:checked)):not(:has(#fx-recipe-three:checked)) .fx-recipe-s000, .fx-recipe:has(#fx-recipe-one:checked):not(:has(#fx-recipe-two:checked)):not(:has(#fx-recipe-three:checked)) .fx-recipe-s100, .fx-recipe:not(:has(#fx-recipe-one:checked)):has(#fx-recipe-two:checked):not(:has(#fx-recipe-three:checked)) .fx-recipe-s010, .fx-recipe:not(:has(#fx-recipe-one:checked)):not(:has(#fx-recipe-two:checked)):has(#fx-recipe-three:checked) .fx-recipe-s001, .fx-recipe:has(#fx-recipe-one:checked):has(#fx-recipe-two:checked):not(:has(#fx-recipe-three:checked)) .fx-recipe-s110, .fx-recipe:has(#fx-recipe-one:checked):not(:has(#fx-recipe-two:checked)):has(#fx-recipe-three:checked) .fx-recipe-s101, .fx-recipe:not(:has(#fx-recipe-one:checked)):has(#fx-recipe-two:checked):has(#fx-recipe-three:checked) .fx-recipe-s011, .fx-recipe:has(#fx-recipe-one:checked):has(#fx-recipe-two:checked):has(#fx-recipe-three:checked) .fx-recipe-s111 { visibility: visible; }
@container (max-width: 480px) { .fx-recipe .fx-recipe-choices { grid-template-columns: 1fr; } .fx-recipe .fx-recipe-stage { height: 940px; } .fx-recipe .fx-recipe-source { top: 12px; left: 20px; right: 20px; text-align: center; } .fx-recipe .fx-recipe-card { top: 420px; width: calc(100% - 36px); transform: rotateX(3deg) rotateY(-2deg); } .fx-recipe .fx-recipe-block { transform: translate3d(0px, -458px, 22px) rotateZ(-1deg) scale(0.96); } .fx-recipe:has(#fx-recipe-one:checked) .fx-recipe-block1, .fx-recipe:has(#fx-recipe-two:checked) .fx-recipe-block2, .fx-recipe:has(#fx-recipe-three:checked) .fx-recipe-block3 { transform: translate3d(0px, 0px, 12px) rotateZ(0deg) scale(1); } }