.fx-peel { display: grid; gap: 14px; }
.fx-peel .fx-peel-steps { margin: 0; padding-left: 22px; }
.fx-peel .fx-peel-steps li { margin: 4px 0; }
.fx-peel .fx-peel-goal { margin: 0; }
.fx-peel .fx-peel-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.fx-peel .fx-peel-control { min-width: 0; padding: 0; margin: 0; border: 0; }
.fx-peel .fx-peel-control legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.fx-peel .fx-btn { box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; min-height: 44px; width: 100%; padding: 10px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; white-space: normal; text-align: left; cursor: pointer; }
.fx-peel .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); }
.fx-peel .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-peel .fx-peel-scene { box-sizing: border-box; height: 380px; padding: 12px 8px; display: grid; place-items: center; }
.fx-peel .fx-peel-picture { width: 100%; max-width: 520px; min-width: 0; color: var(--fx-ink); }
.fx-peel .fx-peel-answer-label { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 20px; text-align: center; }
.fx-peel .fx-peel-bus { display: grid; grid-template-columns: 32px repeat(3, minmax(0, 1fr)); grid-template-rows: 104px 26px 58px 40px 72px; }
.fx-peel .fx-peel-answer { position: relative; grid-row: 1; display: grid; place-items: center; overflow: hidden; }
.fx-peel .fx-peel-answer1 { grid-column: 2; }
.fx-peel .fx-peel-answer2 { grid-column: 3; }
.fx-peel .fx-peel-answer3 { grid-column: 4; }
.fx-peel .fx-peel-value { margin: 0; font-size: 40px; line-height: 1; color: var(--fx-ink); }
.fx-peel .fx-peel-sticker { box-sizing: border-box; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 7px 3px; border: 2px solid var(--fx-ink); background: var(--fx-sun); color: var(--fx-ink); text-align: center; cursor: pointer; transform-origin: 100% 0; transition: transform 0.4s, opacity 0.4s, visibility 0s; }
.fx-peel .fx-peel-sticker b { font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.fx-peel .fx-peel-corner { position: relative; z-index: 1; display: block; padding-top: 8px; font-size: 12px; line-height: 16px; }
.fx-peel .fx-peel-corner::before { content: ""; position: absolute; z-index: -1; right: -3px; bottom: -7px; width: 100%; height: 34px; background: var(--fx-sun-pale); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.fx-peel .fx-peel-remainder-line { grid-column: 2 / 5; grid-row: 2; display: flex; justify-content: flex-end; align-items: center; }
.fx-peel .fx-peel-remainder { padding: 1px 6px; border-radius: 4px; background: var(--fx-mint); color: var(--fx-ink); font-size: 18px; line-height: 22px; }
.fx-peel .fx-peel-divisor { grid-column: 1; grid-row: 3; display: grid; place-items: center; font-size: 40px; font-weight: 800; line-height: 1; }
.fx-peel .fx-peel-dividend { grid-column: 2 / 5; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--fx-ink); border-left: 3px solid var(--fx-ink); font-size: 40px; font-weight: 800; line-height: 1; }
.fx-peel .fx-peel-dividend > span { display: grid; place-items: center; min-width: 0; }
.fx-peel .fx-peel-last-digit { position: relative; }
.fx-peel .fx-peel-inline-carry { position: absolute; top: 5px; right: calc(50% + 11px); padding: 1px 2px; border-bottom: 2px solid var(--fx-coral); border-radius: 3px; background: var(--fx-coral-pale); color: var(--fx-ink); font-size: 18px; line-height: 20px; }
.fx-peel .fx-peel-divisor-label { grid-column: 1; grid-row: 4; padding-top: 4px; font-size: 12px; line-height: 16px; text-align: center; }
.fx-peel .fx-peel-place-tags { grid-column: 2 / 5; grid-row: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 4px; font-size: 12px; line-height: 16px; text-align: center; overflow-wrap: anywhere; }
.fx-peel .fx-peel-dividend-label { grid-column: 2 / 4; grid-row: 5; padding: 8px 4px; font-size: 14px; line-height: 20px; }
.fx-peel .fx-peel-carry-box { grid-column: 4; grid-row: 5; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; text-align: center; }
.fx-peel .fx-peel-carry-slot { box-sizing: border-box; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--fx-muted); border-radius: 4px; background: var(--fx-paper); }
.fx-peel .fx-peel-carry-value { padding: 1px 4px; border-radius: 3px; background: var(--fx-coral-pale); color: var(--fx-ink); font-size: 18px; line-height: 20px; }
.fx-peel .fx-peel-value, .fx-peel .fx-peel-inline-carry, .fx-peel .fx-peel-carry-value, .fx-peel .fx-peel-remainder { visibility: hidden; }
.fx-peel:has(#fx-peel-note1:checked) .fx-peel-value1, .fx-peel:has(#fx-peel-note2:checked) .fx-peel-value2, .fx-peel:has(#fx-peel-note2:checked) .fx-peel-inline-carry, .fx-peel:has(#fx-peel-note2:checked) .fx-peel-carry-value, .fx-peel:has(#fx-peel-note3:checked) .fx-peel-value3, .fx-peel:has(#fx-peel-note3:checked) .fx-peel-remainder { visibility: visible; }
.fx-peel:has(#fx-peel-note1:checked) .fx-peel-sticker1, .fx-peel:has(#fx-peel-note2:checked) .fx-peel-sticker2, .fx-peel:has(#fx-peel-note3:checked) .fx-peel-sticker3 { transform: translateY(-115%) rotate(-12deg); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.4s, opacity 0.4s, visibility 0s 0.4s; }
.fx-peel .fx-peel-readout, .fx-peel .fx-peel-says { display: grid; min-width: 0; }
.fx-peel .fx-peel-readout p, .fx-peel .fx-peel-says p { grid-area: 1 / 1; visibility: hidden; margin: 0; }
.fx-peel .fx-peel-readout p { font-size: 14px; line-height: 1.5; }
.fx-peel:has(#fx-peel-note1:not(:checked)):has(#fx-peel-note2:not(:checked)):has(#fx-peel-note3:not(:checked)) .fx-peel-state000, .fx-peel:has(#fx-peel-note1:checked):has(#fx-peel-note2:not(:checked)):has(#fx-peel-note3:not(:checked)) .fx-peel-state100, .fx-peel:has(#fx-peel-note1:checked):has(#fx-peel-note2:checked):has(#fx-peel-note3:not(:checked)) .fx-peel-state110, .fx-peel:has(#fx-peel-note1:checked):has(#fx-peel-note2:checked):has(#fx-peel-note3:checked) .fx-peel-state111, .fx-peel:has(#fx-peel-note1:not(:checked)):has(#fx-peel-note2:checked):has(#fx-peel-note3:not(:checked)) .fx-peel-state010, .fx-peel:has(#fx-peel-note1:not(:checked)):has(#fx-peel-note2:not(:checked)):has(#fx-peel-note3:checked) .fx-peel-state001, .fx-peel:has(#fx-peel-note1:checked):has(#fx-peel-note2:not(:checked)):has(#fx-peel-note3:checked) .fx-peel-state101, .fx-peel:has(#fx-peel-note1:not(:checked)):has(#fx-peel-note2:checked):has(#fx-peel-note3:checked) .fx-peel-state011 { visibility: visible; }
@container (max-width: 480px) { .fx-peel .fx-peel-controls { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fx-peel .fx-peel-sticker { transition: none; } .fx-peel:has(#fx-peel-note1:checked) .fx-peel-sticker1, .fx-peel:has(#fx-peel-note2:checked) .fx-peel-sticker2, .fx-peel:has(#fx-peel-note3:checked) .fx-peel-sticker3 { transition: none; } }