.fx-peel { --fx-p1: 0%; --fx-p2: 0%; --fx-p3: 0%; --fx-p4: 0%; display: grid; gap: 16px; }
.fx-peel:has(#fx-peel-thousands:checked) { --fx-p1: -115%; }
.fx-peel:has(#fx-peel-hundreds:checked) { --fx-p1: -115%; --fx-p2: -115%; }
.fx-peel:has(#fx-peel-tens:checked) { --fx-p1: -115%; --fx-p2: -115%; --fx-p3: -115%; }
.fx-peel:has(#fx-peel-ones:checked) { --fx-p1: -115%; --fx-p2: -115%; --fx-p3: -115%; --fx-p4: -115%; }
.fx-peel .fx-guide ol { margin: 0; padding-left: 24px; font-size: 14px; line-height: 1.5; }
.fx-peel .fx-goal { margin: 0; color: var(--fx-ink); }
.fx-peel .fx-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-peel .fx-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; color: var(--fx-ink); }
.fx-peel .fx-controls .fx-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 3px; align-items: stretch; }
.fx-peel .fx-controls .fx-btn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 44px; max-width: 100%; padding: 9px 12px; border: 2px solid var(--fx-ink); border-radius: 6px; background: var(--fx-sun-pale); color: var(--fx-ink); font-size: 14px; line-height: 1.3; cursor: pointer; text-align: center; }
.fx-peel .fx-controls .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); box-shadow: inset 0 -4px 0 var(--fx-ink); }
.fx-peel .fx-controls .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-peel .fx-start { display: block; font-size: 12px; font-weight: 700; }
.fx-peel:has(#fx-peel-none:checked) .fx-first { animation: fx-peel-pulse 1.4s ease-in-out 3; }
.fx-peel .fx-warehouse { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; height: 242px; padding: 12px; }
.fx-peel .fx-bay { position: relative; display: flex; align-items: flex-end; min-width: 0; padding-bottom: 22px; box-sizing: border-box; }
.fx-peel .fx-bay::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 6px; background: var(--fx-muted); border-radius: 2px; }
.fx-peel .fx-box { box-sizing: border-box; width: 100%; height: 180px; padding: 10px; border: 2px solid var(--fx-ink); border-bottom-width: 6px; border-radius: 5px; background: var(--fx-sun-pale); color: var(--fx-ink); transition: transform 0.45s; }
.fx-peel .fx-box-title { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 24px; margin-bottom: 8px; font-size: 16px; }
.fx-peel .fx-winner { visibility: hidden; font-size: 12px; font-weight: 800; padding: 3px 5px; border-radius: 4px; background: var(--fx-mint); }
.fx-peel .fx-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3px; }
.fx-peel .fx-col { display: grid; grid-template-rows: 36px 78px; gap: 4px; min-width: 0; }
.fx-peel .fx-head { display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow-wrap: anywhere; font-size: 12px; font-weight: 700; line-height: 1.2; }
.fx-peel .fx-cell { position: relative; display: grid; place-items: center; overflow: hidden; box-sizing: border-box; border: 2px solid var(--fx-ink); border-radius: 4px; background: var(--fx-paper); }
.fx-peel .fx-c1 .fx-cell, .fx-peel .fx-c2 .fx-cell { border-color: var(--fx-muted); box-shadow: inset 0 0 0 2px var(--fx-muted); }
.fx-peel .fx-a .fx-c3 .fx-cell { background: var(--fx-sky); }
.fx-peel .fx-b .fx-c3 .fx-cell { background: var(--fx-mint); }
.fx-peel .fx-digit { padding-bottom: 14px; font-size: 34px; line-height: 1; font-weight: 800; }
.fx-peel .fx-tape { position: absolute; inset: 0; display: grid; place-items: center; box-sizing: border-box; border-bottom: 6px solid var(--fx-sun-pale); border-radius: 0 0 12px 2px; background: var(--fx-sun); color: var(--fx-ink); font-size: 12px; font-weight: 700; transition: transform 0.55s; }
.fx-peel .fx-c1 .fx-tape { transform: translateY(var(--fx-p1)); }
.fx-peel .fx-c2 .fx-tape { transform: translateY(var(--fx-p2)); }
.fx-peel .fx-c3 .fx-tape { transform: translateY(var(--fx-p3)); }
.fx-peel .fx-c4 .fx-tape { transform: translateY(var(--fx-p4)); }
.fx-peel .fx-ignore { position: absolute; inset: 0; visibility: hidden; }
.fx-peel .fx-ignore svg { position: absolute; width: 36px; height: 40px; top: 10px; left: calc(50% - 18px); }
.fx-peel .fx-ignore path { fill: none; stroke: var(--fx-muted); stroke-width: 4; }
.fx-peel .fx-ignore small { position: absolute; bottom: 2px; left: 0; right: 0; font-size: 12px; text-align: center; color: var(--fx-ink); }
.fx-peel:has(#fx-peel-tens:checked) .fx-b, .fx-peel:has(#fx-peel-ones:checked) .fx-b { transform: translateY(-6px); }
.fx-peel:has(#fx-peel-tens:checked) .fx-winner, .fx-peel:has(#fx-peel-ones:checked) .fx-winner, .fx-peel:has(#fx-peel-ones:checked) .fx-ignore { visibility: visible; }
.fx-peel .fx-says { display: grid; }
.fx-peel .fx-says > p { grid-area: 1 / 1; visibility: hidden; margin: 0; color: var(--fx-ink); }
.fx-peel:has(#fx-peel-none:checked) .fx-s0, .fx-peel:has(#fx-peel-thousands:checked) .fx-s1, .fx-peel:has(#fx-peel-hundreds:checked) .fx-s2, .fx-peel:has(#fx-peel-tens:checked) .fx-s3, .fx-peel:has(#fx-peel-ones:checked) .fx-s4 { visibility: visible; }
@container (max-width: 480px) { .fx-peel .fx-warehouse { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 460px; } }
@keyframes fx-peel-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .fx-peel .fx-first { animation: none; } .fx-peel .fx-box, .fx-peel .fx-tape { transition: none; } }