.fx-tins { --fx-v0: visible; --fx-v1: hidden; --fx-v2: hidden; --fx-v3: hidden; }
.fx-tins:has(.fx-tins-main:checked) { --fx-v0: hidden; --fx-v1: visible; }
.fx-tins:has(.fx-tins-pick:has(input:checked) ~ .fx-tins-pick:has(input:checked)) { --fx-v1: hidden; --fx-v2: visible; }
.fx-tins:has(#fx-tins-r1:checked):has(#fx-tins-r2:checked):has(#fx-tins-r3:checked) { --fx-v2: hidden; --fx-v3: visible; }
.fx-tins .fx-tins-wrap { display: grid; gap: 14px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.45; }
.fx-tins .fx-tins-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fx-tins .fx-tins-goal { margin: 0; }
.fx-tins .fx-tins-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-tins .fx-tins-controls legend { padding: 0; font-weight: 800; }
.fx-tins .fx-tins-help { margin: 8px 0 12px; font-size: 14px; }
.fx-tins .fx-tins-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-tins .fx-btn { box-sizing: border-box; min-height: 44px; min-width: 0; padding: 10px; color: var(--fx-ink); background: var(--fx-paper); font-size: 16px; }
.fx-tins .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-mint-pale); border-color: var(--fx-ink); }
.fx-tins .fx-btn:focus-within { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-tins .fx-tins-swap { display: grid; min-width: 0; }
.fx-tins .fx-tins-swap > p { grid-area: 1 / 1; visibility: hidden; margin: 0; }
.fx-tins .fx-tins-counter > p { box-sizing: border-box; padding: 10px 12px; border: 2px solid var(--fx-ink); border-radius: 12px; background: var(--fx-sun-pale); font-size: 24px; line-height: 1.3; }
.fx-tins .fx-tins-counter > .fx-tins-s52 { background: var(--fx-mint); box-shadow: 0 0 0 3px var(--fx-mint-pale); }
.fx-tins:not(:has(#fx-tins-r4:checked)) .fx-tins-s0 { visibility: var(--fx-v0); }
.fx-tins:not(:has(#fx-tins-r4:checked)) .fx-tins-s14 { visibility: var(--fx-v1); }
.fx-tins:not(:has(#fx-tins-r4:checked)) .fx-tins-s28 { visibility: var(--fx-v2); }
.fx-tins:not(:has(#fx-tins-r4:checked)) .fx-tins-s42 { visibility: var(--fx-v3); }
.fx-tins:has(#fx-tins-r4:checked) .fx-tins-s10 { visibility: var(--fx-v0); }
.fx-tins:has(#fx-tins-r4:checked) .fx-tins-s24 { visibility: var(--fx-v1); }
.fx-tins:has(#fx-tins-r4:checked) .fx-tins-s38 { visibility: var(--fx-v2); }
.fx-tins:has(#fx-tins-r4:checked) .fx-tins-s52 { visibility: var(--fx-v3); }
.fx-tins .fx-tins-stage { position: relative; box-sizing: border-box; height: 568px; padding: 0; }
.fx-tins .fx-tins-scene { position: relative; height: 560px; max-width: 360px; margin: 0 auto; perspective: 900px; perspective-origin: 50% 50%; }
.fx-tins .fx-tins-shelf-title { position: absolute; top: 10px; left: 10px; font-size: 16px; }
.fx-tins .fx-tins-shelf { position: absolute; box-sizing: border-box; left: 6px; right: 6px; top: calc(50px + var(--fx-i) * 54px); height: 51px; border-left: 3px solid var(--fx-ink); border-right: 3px solid var(--fx-ink); border-bottom: 4px solid var(--fx-ink); background: var(--fx-sky-pale); transform: rotateX(12deg) translateZ(-4px); }
.fx-tins .fx-tins-floor { position: absolute; top: 334px; bottom: 0; left: 0; right: 0; border-top: 2px solid var(--fx-ink); background: var(--fx-sun-pale); }
.fx-tins .fx-tins-floor-title { position: absolute; top: 278px; left: 10px; font-size: 16px; }
.fx-tins .fx-tins-start { position: absolute; top: 309px; left: 12px; font-size: 14px; font-weight: 800; }
.fx-tins:has(#fx-tins-r1:checked) .fx-tins-start { visibility: hidden; }
.fx-tins .fx-tins-load { --fx-can: var(--fx-coral); --fx-face: var(--fx-coral-pale); --fx-tick: hidden; position: absolute; left: 12px; right: 12px; top: calc(340px + var(--fx-i) * 54px); height: 50px; transform-style: preserve-3d; transform: translate3d(0, 0, 0) rotateX(12deg); transition: transform 0.65s; }
.fx-tins .fx-tins-load::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--fx-ink); background: var(--fx-can); transform: translate3d(3px, 3px, -6px); }
.fx-tins .fx-tins-front { position: relative; box-sizing: border-box; height: 50px; padding: 2px 5px; border: 1px solid var(--fx-ink); border-radius: 3px; background: var(--fx-face); transform: translateZ(2px); display: grid; justify-items: center; align-content: center; }
.fx-tins .fx-tins-row-name { display: block; font-size: 14px; font-weight: 800; line-height: 18px; }
.fx-tins .fx-tins-tick { visibility: var(--fx-tick); }
.fx-tins .fx-tins-front svg { display: block; width: 100%; max-width: 224px; height: 24px; }
.fx-tins .fx-tins-front path { fill: var(--fx-can); stroke: var(--fx-ink); stroke-width: 1.1; stroke-linejoin: round; }
.fx-tins:has(#fx-tins-r1:checked) .fx-tins-load1, .fx-tins:has(#fx-tins-r2:checked) .fx-tins-load2, .fx-tins:has(#fx-tins-r3:checked) .fx-tins-load3, .fx-tins:has(#fx-tins-r4:checked) .fx-tins-load4 { --fx-can: var(--fx-mint); --fx-face: var(--fx-mint-pale); --fx-tick: visible; transform: translate3d(0, -290px, 12px) rotateX(0deg); }
@container (max-width: 480px) { .fx-tins .fx-tins-choices { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fx-tins .fx-tins-load { transition: none; } }