.fx-basket { --fx-tv: 0; --fx-mw: 0; --fx-hd: 0; display: grid; gap: 16px; }
.fx-basket:has(#fx-basket-tv:checked) { --fx-tv: 180; }
.fx-basket:has(#fx-basket-mw:checked) { --fx-mw: 30; }
.fx-basket:has(#fx-basket-hd:checked) { --fx-hd: 30; }
.fx-basket .fx-note, .fx-basket .fx-right { margin: 0; color: var(--fx-ink); }
.fx-basket .fx-steps { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.fx-basket .fx-goal { margin: 0; line-height: 1.5; color: var(--fx-ink); }
.fx-basket .fx-controls { border: 0; margin: 0; padding: 0; min-width: 0; }
.fx-basket .fx-controls legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--fx-ink); }
.fx-basket .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-basket .fx-btn { box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 10px 12px; border: 2px solid var(--fx-ink); border-radius: 10px; font-size: 14px; line-height: 1.3; background: var(--fx-paper); color: var(--fx-ink); }
.fx-basket .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-basket .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-basket .fx-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.fx-basket .fx-stage { position: relative; box-sizing: border-box; height: 410px; min-width: 0; color: var(--fx-ink); }
@container (max-width: 480px) { .fx-basket .fx-layout { grid-template-columns: minmax(0, 1fr); } }
.fx-basket .fx-shelf-title { position: absolute; top: 12px; left: 0; width: 100%; text-align: center; font-size: 14px; }
.fx-basket .fx-shelf { position: absolute; top: 190px; left: 4%; right: 4%; border-bottom: 4px solid var(--fx-ink); }
.fx-basket .fx-bin { position: absolute; top: 244px; left: 4%; width: 92%; height: 138px; fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-basket .fx-bin path { fill: none; }
.fx-basket .fx-items { position: absolute; top: 62px; left: 4%; right: 4%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.fx-basket .fx-product { --fx-drop: 0; display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; transform: translateY(calc(var(--fx-drop) * 190px)); transition: transform 0.6s; }
.fx-basket .fx-name { font-size: 12px; line-height: 1.2; }
.fx-basket .fx-product svg { display: block; width: 100%; max-width: 88px; height: 60px; fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.fx-basket .fx-product .fx-body { fill: var(--fx-sky); }
.fx-basket .fx-mw .fx-body { fill: var(--fx-sun); }
.fx-basket .fx-hd .fx-body { fill: var(--fx-coral); }
.fx-basket .fx-product .fx-screen { fill: var(--fx-sky-pale); }
.fx-basket .fx-product .fx-wire { fill: none; }
.fx-basket .fx-tag { display: grid; padding: 4px 3px; border: 1px solid var(--fx-ink); border-radius: 3px; background: var(--fx-paper); font-size: 14px; line-height: 1.3; text-align: center; }
.fx-basket .fx-tag span { grid-area: 1 / 1; transition: transform 0.3s; }
.fx-basket .fx-tag-exact { transform: scaleX(calc(1 - var(--fx-drop))); }
.fx-basket .fx-tag-round { visibility: hidden; transform: scaleX(var(--fx-drop)); font-weight: 800; }
.fx-basket:has(#fx-basket-tv:checked) .fx-tv, .fx-basket:has(#fx-basket-mw:checked) .fx-mw, .fx-basket:has(#fx-basket-hd:checked) .fx-hd { --fx-drop: 1; }
.fx-basket:has(#fx-basket-tv:checked) .fx-tv .fx-tag-exact, .fx-basket:has(#fx-basket-mw:checked) .fx-mw .fx-tag-exact, .fx-basket:has(#fx-basket-hd:checked) .fx-hd .fx-tag-exact { visibility: hidden; }
.fx-basket:has(#fx-basket-tv:checked) .fx-tv .fx-tag-round, .fx-basket:has(#fx-basket-mw:checked) .fx-mw .fx-tag-round, .fx-basket:has(#fx-basket-hd:checked) .fx-hd .fx-tag-round { visibility: visible; }
.fx-basket .fx-hint { position: absolute; top: 204px; left: 0; width: 100%; margin: 0; text-align: center; font-size: 12px; line-height: 18px; }
.fx-basket .fx-basket-label { position: absolute; bottom: 6px; left: 0; width: 100%; text-align: center; font-size: 14px; line-height: 20px; }
.fx-basket .fx-chart-label { position: absolute; top: 12px; left: 0; width: 100%; text-align: center; font-size: 14px; }
.fx-basket .fx-plot { position: absolute; top: 45px; left: 12px; right: 12px; height: 300px; font-size: 12px; line-height: 1.2; }
.fx-basket .fx-axis-top { position: absolute; top: 0; left: 0; }
.fx-basket .fx-axis-bottom { position: absolute; bottom: 5px; left: 6px; }
.fx-basket .fx-rail { position: absolute; left: 34px; bottom: 28px; width: 40px; height: 252px; background: var(--fx-sky-pale); outline: 1px solid var(--fx-ink); }
.fx-basket .fx-fill { position: absolute; bottom: 0; left: 0; width: 100%; height: calc(var(--fx-tv) * 0.7px + var(--fx-mw) * 0.7px + var(--fx-hd) * 0.7px); background: var(--fx-mint); transition: height 0.6s; }
.fx-basket .fx-ali { position: absolute; left: 25px; right: 4px; bottom: 266px; border-top: 2px dashed var(--fx-coral); }
.fx-basket .fx-ali span { position: absolute; left: 52px; bottom: 4px; width: 80px; font-weight: 800; }
.fx-basket .fx-gap { position: absolute; left: 84px; bottom: 196px; height: 70px; border-left: 2px solid var(--fx-ink); }
.fx-basket .fx-gap::before, .fx-basket .fx-gap::after { content: ""; position: absolute; left: -4px; width: 6px; height: 6px; border-top: 2px solid var(--fx-ink); border-left: 2px solid var(--fx-ink); }
.fx-basket .fx-gap::before { top: 0; transform: rotate(45deg); }
.fx-basket .fx-gap::after { bottom: 0; transform: rotate(225deg); }
.fx-basket .fx-gap span { position: absolute; left: 8px; top: 20px; width: 62px; }
.fx-basket .fx-totals { position: absolute; left: 8px; right: 8px; bottom: 10px; display: grid; text-align: center; }
.fx-basket .fx-totals p { grid-area: 1 / 1; margin: 0; font-size: 14px; line-height: 1.4; }
.fx-basket .fx-totals b { font-size: 16px; }
.fx-basket .fx-says { display: grid; }
.fx-basket .fx-says p { grid-area: 1 / 1; line-height: 1.5; }
.fx-basket .fx-state { visibility: hidden; }
.fx-basket:has(#fx-basket-tv:not(:checked)):has(#fx-basket-mw:not(:checked)):has(#fx-basket-hd:not(:checked)) .fx-s0 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:checked):has(#fx-basket-mw:not(:checked)):has(#fx-basket-hd:not(:checked)) .fx-s1 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:not(:checked)):has(#fx-basket-mw:checked):has(#fx-basket-hd:not(:checked)) .fx-s2 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:not(:checked)):has(#fx-basket-mw:not(:checked)):has(#fx-basket-hd:checked) .fx-s3 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:checked):has(#fx-basket-mw:checked):has(#fx-basket-hd:not(:checked)) .fx-s4 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:checked):has(#fx-basket-mw:not(:checked)):has(#fx-basket-hd:checked) .fx-s5 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:not(:checked)):has(#fx-basket-mw:checked):has(#fx-basket-hd:checked) .fx-s6 { visibility: visible; }
.fx-basket:has(#fx-basket-tv:checked):has(#fx-basket-mw:checked):has(#fx-basket-hd:checked) .fx-s7 { visibility: visible; }