.fx-trays { display: grid; gap: 14px; --fx-trays-q: visible; --fx-trays-f: hidden; --fx-trays-x: 50%; --fx-trays-y: 90px; --fx-trays-ball: hidden; }
.fx-trays .fx-trays-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fx-trays .fx-trays-goal, .fx-trays .fx-trays-scope { margin: 0; color: var(--fx-ink); }
.fx-trays .fx-trays-scope { font-size: 12px; line-height: 1.5; }
.fx-trays .fx-trays-shell { min-width: 0; padding: 12px; border: 2px solid var(--fx-ink); border-radius: 18px; background: var(--fx-paper); color: var(--fx-ink); }
.fx-trays .fx-trays-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fx-trays .fx-trays-group { min-width: 0; border: 0; padding: 0; margin: 0; }
.fx-trays .fx-trays-group legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 14px; }
.fx-trays .fx-trays-buttons { gap: 6px; }
.fx-trays .fx-btn { box-sizing: border-box; min-height: 36px; color: var(--fx-ink); background: var(--fx-paper); }
.fx-trays .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-sun); }
.fx-trays .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-trays .fx-trays-round { display: grid; place-items: center; width: 36px; min-width: 36px; height: 36px; padding: 0; border: 2px solid var(--fx-ink); border-radius: 50%; font-size: 16px; }
.fx-trays .fx-trays-reset { margin-top: 10px; font-size: 12px; }
.fx-trays .fx-trays-watch { font-size: 14px; margin: 18px 0 10px; }
.fx-trays .fx-trays-stage { box-sizing: border-box; height: 384px; padding: 12px; }
.fx-trays .fx-trays-chamber { position: relative; width: 100%; height: 100%; color: var(--fx-ink); }
.fx-trays .fx-trays-q { --fx-trays-show: var(--fx-trays-q); }
.fx-trays .fx-trays-f { --fx-trays-show: var(--fx-trays-f); }
.fx-trays .fx-trays-mode, .fx-trays .fx-trays-sign { position: absolute; left: 0; width: 100%; display: grid; text-align: center; }
.fx-trays .fx-trays-mode { top: 0; font-size: 16px; }
.fx-trays .fx-trays-mode strong { grid-area: 1 / 1; visibility: var(--fx-trays-show); }
.fx-trays .fx-trays-sign { top: 30px; font-size: 12px; }
.fx-trays .fx-trays-sign span { grid-area: 1 / 1; visibility: hidden; }
.fx-trays .fx-trays-ball-label, .fx-trays .fx-trays-tray-label { position: absolute; left: 0; width: 100%; text-align: center; font-size: 12px; }
.fx-trays .fx-trays-ball-label { top: 61px; }
.fx-trays .fx-trays-tray-label { top: 165px; }
.fx-trays .fx-trays-chute { box-sizing: border-box; position: absolute; top: 85px; left: 35%; width: 30%; height: 66px; display: grid; place-items: center; border: 3px solid var(--fx-ink); border-top: 0; border-radius: 0 0 18px 18px; background: var(--fx-sky-pale); font-size: 12px; }
.fx-trays .fx-trays-panel { position: absolute; top: 200px; left: 0; width: 86%; height: 110px; display: grid; visibility: var(--fx-trays-show); }
.fx-trays .fx-trays-quinn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-trays .fx-trays-fixed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fx-trays .fx-trays-tray { position: relative; min-width: 0; text-align: center; font-size: 12px; line-height: 1.2; }
.fx-trays .fx-trays-tray::before { content: ""; box-sizing: border-box; position: absolute; top: 0; left: 0; width: 100%; height: 64px; border: 2px solid var(--fx-ink); border-top-width: 4px; border-radius: 0 0 8px 8px; background: var(--fx-trays-tint, var(--fx-paper)); }
.fx-trays .fx-trays-tray span { box-sizing: border-box; position: absolute; top: 72px; left: 0; width: 100%; padding: 0 1px; }
.fx-trays .fx-trays-floor { box-sizing: border-box; position: absolute; top: 322px; left: 0; width: 100%; height: 34px; padding: 5px 14% 0 0; border-bottom: 6px solid var(--fx-muted); background: var(--fx-paper); font-size: 12px; text-align: center; }
.fx-trays .fx-trays-ball { box-sizing: border-box; position: absolute; top: var(--fx-trays-y); left: var(--fx-trays-x); width: 24px; height: 24px; transform: translateX(-50%); border: 2px solid var(--fx-ink); border-radius: 50%; background: var(--fx-sun); display: grid; place-items: center; visibility: var(--fx-trays-ball); transition: top 0.65s, left 0.65s; font-size: 12px; font-weight: 800; }
.fx-trays .fx-trays-ball span { grid-area: 1 / 1; visibility: hidden; }
.fx-trays .fx-trays-says { display: grid; min-width: 0; }
.fx-trays .fx-trays-m { grid-area: 1 / 1; visibility: hidden; margin: 0; color: var(--fx-ink); }
.fx-trays:has(#fx-trays-idle:checked) .fx-trays-s0, .fx-trays:has(#fx-trays-a5:checked) .fx-trays-s5, .fx-trays:has(#fx-trays-a10:checked) .fx-trays-s10, .fx-trays:has(#fx-trays-a20:checked) .fx-trays-s20, .fx-trays:has(#fx-trays-a40:checked) .fx-trays-s40, .fx-trays:has(#fx-trays-a75:checked) .fx-trays-s75 { visibility: var(--fx-trays-show, visible); }
.fx-trays:has(#fx-trays-a5:checked) { --fx-trays-x: 10.75%; --fx-trays-y: 238px; --fx-trays-ball: visible; }
.fx-trays:has(#fx-trays-a10:checked) { --fx-trays-x: 21.5%; --fx-trays-y: 181px; --fx-trays-ball: visible; }
.fx-trays:has(#fx-trays-a20:checked) { --fx-trays-x: 43%; --fx-trays-y: 181px; --fx-trays-ball: visible; }
.fx-trays:has(#fx-trays-a40:checked) { --fx-trays-x: 64.5%; --fx-trays-y: 181px; --fx-trays-ball: visible; }
.fx-trays:has(#fx-trays-a75:checked) { --fx-trays-x: 94%; --fx-trays-y: 326px; --fx-trays-ball: visible; }
.fx-trays:has(#fx-trays-fixed:checked) { --fx-trays-q: hidden; --fx-trays-f: visible; --fx-trays-y: 238px; }
.fx-trays:has(#fx-trays-fixed:checked):has(#fx-trays-a5:checked) { --fx-trays-x: 8.6%; }
.fx-trays:has(#fx-trays-fixed:checked):has(#fx-trays-a10:checked) { --fx-trays-x: 25.8%; }
.fx-trays:has(#fx-trays-fixed:checked):has(#fx-trays-a20:checked) { --fx-trays-x: 43%; }
.fx-trays:has(#fx-trays-fixed:checked):has(#fx-trays-a40:checked) { --fx-trays-x: 60.2%; }
.fx-trays:has(#fx-trays-fixed:checked):has(#fx-trays-a75:checked) { --fx-trays-x: 77.4%; }
.fx-trays:has(#fx-trays-a10:checked) .fx-trays-q1::before, .fx-trays:has(#fx-trays-a10:checked) .fx-trays-q2::before, .fx-trays:has(#fx-trays-a20:checked) .fx-trays-q2::before, .fx-trays:has(#fx-trays-a20:checked) .fx-trays-q3::before, .fx-trays:has(#fx-trays-a40:checked) .fx-trays-q3::before, .fx-trays:has(#fx-trays-a40:checked) .fx-trays-q4::before { --fx-trays-tint: var(--fx-coral-pale); animation: fx-trays-flash 0.35s 2; }
.fx-trays:has(#fx-trays-a5:checked) .fx-trays-f1, .fx-trays:has(#fx-trays-a10:checked) .fx-trays-f2, .fx-trays:has(#fx-trays-a20:checked) .fx-trays-f3, .fx-trays:has(#fx-trays-a40:checked) .fx-trays-f4, .fx-trays:has(#fx-trays-a75:checked) .fx-trays-f5 { --fx-trays-tint: var(--fx-mint); }
@keyframes fx-trays-flash { 0%, 100% { background: var(--fx-coral-pale); } 50% { background: var(--fx-coral); } }
@container (max-width: 480px) { .fx-trays .fx-trays-controls { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fx-trays .fx-trays-ball { transition: none; } .fx-trays .fx-trays-tray::before { animation-duration: 0s !important; } }