.fx-wash { --fx-load: 0; --fx-on: hidden; --fx-off: visible; --fx-empty: visible; --fx-some: hidden; --fx-bad: hidden; --fx-done: hidden; --fx-open: visible; --fx-closed: hidden; --fx-door-scale: 0.06; --fx-sign: var(--fx-paper); display: grid; gap: 16px; }
.fx-wash .fx-steps { margin: 0; padding-left: 24px; }
.fx-wash .fx-steps li + li { margin-top: 8px; }
.fx-wash .fx-goal { margin: 0; }
.fx-wash .fx-controls { min-width: 0; padding: 0; margin: 0; border: 0; }
.fx-wash .fx-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-wash .fx-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-wash .fx-choices .fx-btn { box-sizing: border-box; min-height: 44px; padding: 10px; color: var(--fx-ink); background: var(--fx-paper); border: 2px solid var(--fx-ink); border-radius: 10px; cursor: pointer; }
.fx-wash .fx-choices .fx-btn:has(input:checked) { background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-wash .fx-choices .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-wash .fx-picture { width: 100%; max-width: 640px; min-width: 0; justify-self: center; }
.fx-wash .fx-scene { position: relative; box-sizing: border-box; height: 420px; padding: 0; overflow: hidden; color: var(--fx-ink); }
.fx-wash .fx-basket, .fx-wash .fx-machine { position: absolute; box-sizing: border-box; top: 12px; width: 48%; height: 380px; border: 3px solid var(--fx-ink); }
.fx-wash .fx-basket { left: 1%; border-radius: 16px 16px 35% 35%; background: var(--fx-sun-pale); }
.fx-wash .fx-basket > b { display: block; padding: 14px 6px; text-align: center; }
.fx-wash .fx-machine { left: 51%; border-radius: 16px; background: var(--fx-paper); }
.fx-wash .fx-machine-label { display: block; padding: 12px 4px; text-align: center; }
.fx-wash .fx-sign { display: inline-block; margin-top: 4px; padding: 5px 8px; border: 2px solid var(--fx-ink); border-radius: 6px; background: var(--fx-sign); }
.fx-wash .fx-drum, .fx-wash .fx-door { position: absolute; box-sizing: border-box; left: 53%; top: 102px; width: 44%; aspect-ratio: 1; border: 3px solid var(--fx-ink); border-radius: 50%; }
.fx-wash .fx-drum { background: var(--fx-sky-pale); }
.fx-wash .fx-door { border: 6px double var(--fx-ink); transform-origin: left center; transform: scaleX(var(--fx-door-scale)); transition: transform 0.45s; pointer-events: none; }
.fx-wash .fx-door::after { content: ""; position: absolute; right: 4%; top: 44%; width: 6px; height: 24px; border-radius: 4px; background: var(--fx-ink); }
.fx-wash .fx-cloth { position: absolute; box-sizing: border-box; width: 14%; height: 84px; left: calc(var(--fx-x) + var(--fx-load) * 50%); top: var(--fx-y); text-align: center; transition: left 0.45s, top 0.45s; }
.fx-wash .fx-art { display: block; width: 52px; max-width: 85%; height: 50px; margin: 0 auto 3px; overflow: visible; }
.fx-wash .fx-art path, .fx-wash .fx-art rect { fill: var(--fx-ink); stroke: var(--fx-edge, var(--fx-ink)); stroke-width: 3; stroke-linejoin: round; }
.fx-wash .fx-yellow path { fill: var(--fx-sun-pale); }
.fx-wash .fx-grey path { fill: var(--fx-muted); fill-opacity: 0.18; }
.fx-wash .fx-white rect { fill: var(--fx-paper); }
.fx-wash .fx-white .fx-towel-line { fill: none; }
.fx-wash .fx-cloth-name { display: block; font-size: 12px; line-height: 15px; font-weight: 800; }
.fx-wash .fx-tick { position: absolute; right: 0; top: 0; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--fx-mint); color: var(--fx-ink); font-size: 16px; font-weight: 800; visibility: var(--fx-on); }
.fx-wash .fx-swap { display: grid; min-width: 0; }
.fx-wash .fx-swap > * { grid-area: 1 / 1; margin: 0; }
.fx-wash .fx-on { visibility: var(--fx-on); }
.fx-wash .fx-off { visibility: var(--fx-off); }
.fx-wash .fx-door-state { position: absolute; bottom: 9px; left: 52%; width: 46%; text-align: center; font-size: 12px; font-weight: 800; }
.fx-wash .fx-open { visibility: var(--fx-open); }
.fx-wash .fx-closed { visibility: var(--fx-closed); }
.fx-wash .fx-report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.fx-wash .fx-item-lines { grid-column: 2; display: grid; gap: 8px; min-width: 0; }
.fx-wash .fx-status { grid-column: 1 / -1; }
.fx-wash .fx-empty { visibility: var(--fx-empty); }
.fx-wash .fx-some { visibility: var(--fx-some); }
.fx-wash .fx-bad { visibility: var(--fx-bad); }
.fx-wash .fx-done { visibility: var(--fx-done); }
.fx-wash:has(#fx-wash-dt:checked) .fx-item-dt { --fx-load: 1; --fx-on: visible; --fx-off: hidden; }
.fx-wash:has(#fx-wash-dp:checked) .fx-item-dp { --fx-load: 1; --fx-on: visible; --fx-off: hidden; }
.fx-wash:has(#fx-wash-ds:checked) .fx-item-ds { --fx-load: 1; --fx-on: visible; --fx-off: hidden; }
.fx-wash:has(#fx-wash-lt:checked) .fx-item-lt { --fx-load: 1; --fx-on: visible; --fx-off: hidden; --fx-edge: var(--fx-coral); }
.fx-wash:has(#fx-wash-lp:checked) .fx-item-lp { --fx-load: 1; --fx-on: visible; --fx-off: hidden; --fx-edge: var(--fx-coral); }
.fx-wash:has(#fx-wash-wt:checked) .fx-item-wt { --fx-load: 1; --fx-on: visible; --fx-off: hidden; --fx-edge: var(--fx-coral); }
.fx-wash:has(input:checked) { --fx-empty: hidden; --fx-some: visible; }
.fx-wash:has(.fx-light-choice:checked) { --fx-some: hidden; --fx-bad: visible; --fx-sign: var(--fx-coral); }
.fx-wash:has(#fx-wash-dt:checked):has(#fx-wash-dp:checked):has(#fx-wash-ds:checked):not(:has(.fx-light-choice:checked)) { --fx-some: hidden; --fx-done: visible; --fx-sign: var(--fx-mint); --fx-door-scale: 1; --fx-open: hidden; --fx-closed: visible; }
@container (max-width: 480px) { .fx-wash .fx-choices { grid-template-columns: 1fr; } .fx-wash .fx-scene { height: 760px; } .fx-wash .fx-basket { left: 2%; width: 96%; height: 324px; } .fx-wash .fx-machine { left: 2%; top: 368px; width: 96%; height: 372px; } .fx-wash .fx-drum, .fx-wash .fx-door { left: calc(50% - 130px); top: 440px; width: 260px; } .fx-wash .fx-cloth { width: 22%; left: calc(var(--fx-x) * 2 * (1 - var(--fx-load)) + var(--fx-load) * (var(--fx-x) * 1.3 + 30%)); top: calc(var(--fx-y) - 25px + var(--fx-load) * 345px); } .fx-wash .fx-door-state { left: 6%; width: 88%; bottom: 18px; } .fx-wash .fx-report { grid-template-columns: minmax(0, 1fr); } .fx-wash .fx-item-lines { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-wash .fx-cloth, .fx-wash .fx-door { transition: none; } }