.fx-wipe { display: grid; gap: 16px; }
.fx-wipe .fx-overview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.fx-wipe .fx-overview .fx-note { margin: 0; }
.fx-wipe .fx-how { margin: 0; padding-left: 22px; }
.fx-wipe .fx-how li { margin: 0 0 6px; }
.fx-wipe .fx-how li:last-child { margin-bottom: 0; }
.fx-wipe .fx-goal { margin: 0; padding: 12px; border-left: 4px solid var(--fx-mint); background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-wipe .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-wipe .fx-controls legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.fx-wipe .fx-slide-label { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.fx-wipe .fx-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.fx-wipe .fx-try { grid-column: 2 / 6; grid-row: 1; display: grid; grid-template-columns: minmax(24px, 1fr) minmax(0, 3fr); gap: 6px; align-items: center; margin: 0; min-height: 32px; font-size: 12px; color: var(--fx-ink); }
.fx-wipe .fx-arrow { text-align: center; font-size: 22px; line-height: 28px; }
.fx-wipe .fx-stop { grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; box-sizing: border-box; min-width: 24px; height: 104px; padding: 6px 0; border: 0; border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); box-shadow: none; text-align: center; cursor: pointer; }
.fx-wipe .fx-dot { display: grid; place-items: center; flex-shrink: 0; box-sizing: border-box; width: 32px; height: 32px; border: 2px solid var(--fx-ink); border-radius: 50%; background: var(--fx-paper); font-size: 14px; font-weight: 800; }
.fx-wipe .fx-choice { display: block; max-width: 100%; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.fx-wipe .fx-stop:has(input:checked) { background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-wipe .fx-stop:has(input:checked) .fx-dot { border-width: 3px; background: var(--fx-sky); }
.fx-wipe .fx-stop:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 2px; }
.fx-wipe .fx-scene { --fx-cut: 100%; position: relative; box-sizing: border-box; height: 520px; padding: 0; overflow: hidden; border: 2px solid var(--fx-ink); border-radius: 12px; background: var(--fx-paper); color: var(--fx-ink); }
.fx-wipe:has(#fx-wipe-quarter:checked) .fx-scene { --fx-cut: 75%; }
.fx-wipe:has(#fx-wipe-half:checked) .fx-scene { --fx-cut: 50%; }
.fx-wipe:has(#fx-wipe-three:checked) .fx-scene { --fx-cut: 25%; }
.fx-wipe:has(#fx-wipe-steps:checked) .fx-scene { --fx-cut: 0%; }
.fx-wipe .fx-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-wipe .fx-fact-paper { fill: var(--fx-paper); }
.fx-wipe .fx-step-paper { fill: var(--fx-sun-pale); clip-path: inset(0 0 0 var(--fx-cut)); transition: clip-path 0.45s; }
.fx-wipe .fx-facts-layer, .fx-wipe .fx-steps-layer { position: absolute; inset: 0; overflow: hidden; transition: clip-path 0.45s; }
.fx-wipe .fx-facts-layer { clip-path: inset(0 calc(100% - var(--fx-cut)) 0 0); }
.fx-wipe .fx-steps-layer { clip-path: inset(0 0 0 var(--fx-cut)); }
.fx-wipe .fx-facts, .fx-wipe .fx-method { position: absolute; top: 54px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; transition: left 0.45s, width 0.45s; }
.fx-wipe .fx-facts { left: 12px; width: max(0px, calc(var(--fx-cut) - 24px)); }
.fx-wipe .fx-method { left: calc(var(--fx-cut) + 12px); width: max(0px, calc(100% - var(--fx-cut) - 24px)); visibility: hidden; }
.fx-wipe .fx-part { display: block; margin-bottom: 10px; font-size: 12px; line-height: 1.4; }
.fx-wipe .fx-chef { display: block; margin-bottom: 10px; font-size: 22px; line-height: 1.2; }
.fx-wipe .fx-facts p { margin: 0; }
.fx-wipe .fx-recipe-title { margin: 0 0 12px; font-size: 16px; line-height: 1.35; }
.fx-wipe .fx-command-label { margin: 0 0 8px; font-size: 12px; font-weight: 800; }
.fx-wipe .fx-method-list { margin: 0; padding-left: 20px; }
.fx-wipe .fx-method-list li { margin-bottom: 8px; }
.fx-wipe .fx-command { background: var(--fx-coral); color: var(--fx-ink); font-weight: 800; }
.fx-wipe .fx-peek { position: absolute; top: 54px; left: calc(var(--fx-cut) + 6px); right: 6px; visibility: hidden; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.fx-wipe .fx-peek p { margin: 18px 0 0; }
.fx-wipe .fx-peek-number { display: block; margin-bottom: 4px; }
.fx-wipe:has(#fx-wipe-quarter:checked) .fx-peek { visibility: visible; }
.fx-wipe:has(#fx-wipe-half:checked) .fx-method, .fx-wipe:has(#fx-wipe-three:checked) .fx-method, .fx-wipe:has(#fx-wipe-steps:checked) .fx-method { visibility: visible; }
.fx-wipe:has(#fx-wipe-three:checked) .fx-facts { width: calc(50% - 24px); }
.fx-wipe:has(#fx-wipe-three:checked) .fx-command { box-shadow: 0 0 0 3px var(--fx-coral-pale); }
.fx-wipe:has(#fx-wipe-steps:checked) .fx-facts { visibility: hidden; }
.fx-wipe .fx-divider { position: absolute; top: 42px; bottom: 0; left: clamp(0px, calc(var(--fx-cut) - 4px), calc(100% - 8px)); width: 8px; background: var(--fx-sky); transition: left 0.45s; }
.fx-wipe .fx-grip { position: absolute; top: 45%; left: 0; width: 8px; height: 42px; }
.fx-wipe .fx-grip line { stroke: var(--fx-ink); stroke-width: 2; }
.fx-wipe .fx-divider-label { position: absolute; top: 10px; left: clamp(38px, var(--fx-cut), calc(100% - 38px)); transform: translateX(-50%); box-sizing: border-box; width: 72px; padding: 4px 0; border: 1px solid var(--fx-ink); border-radius: 4px; background: var(--fx-sky); color: var(--fx-ink); font-size: 12px; font-weight: 800; text-align: center; transition: left 0.45s; }
.fx-wipe .fx-says { display: grid; }
.fx-wipe .fx-message { grid-area: 1 / 1; visibility: hidden; margin: 0; }
.fx-wipe:has(#fx-wipe-facts:checked) .fx-message-facts, .fx-wipe:has(#fx-wipe-quarter:checked) .fx-message-quarter, .fx-wipe:has(#fx-wipe-half:checked) .fx-message-half, .fx-wipe:has(#fx-wipe-three:checked) .fx-message-three, .fx-wipe:has(#fx-wipe-steps:checked) .fx-message-steps { visibility: visible; }
@container (max-width: 480px) { .fx-wipe .fx-overview { grid-template-columns: 1fr; } .fx-wipe .fx-stops { gap: 4px; } .fx-wipe .fx-scene { height: 720px; } .fx-wipe .fx-facts, .fx-wipe .fx-method { font-size: 13px; line-height: 1.4; } .fx-wipe .fx-chef { font-size: 16px; line-height: 1.25; } .fx-wipe .fx-recipe-title { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .fx-wipe .fx-step-paper, .fx-wipe .fx-facts-layer, .fx-wipe .fx-steps-layer, .fx-wipe .fx-facts, .fx-wipe .fx-method, .fx-wipe .fx-divider, .fx-wipe .fx-divider-label { transition: none; } }