.fx-deposit { display: grid; gap: 16px; }
.fx-deposit .fx-deposit-wrap { display: grid; gap: 16px; min-width: 0; color: var(--fx-ink); line-height: 1.45; }
.fx-deposit .fx-deposit-wrap p { margin: 0; }
.fx-deposit .fx-deposit-how ol { margin: 0; padding: 0; list-style: none; }
.fx-deposit .fx-deposit-how li { margin: 4px 0; }
.fx-deposit .fx-deposit-goal { font-size: 18px; font-weight: 800; }
.fx-deposit .fx-deposit-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-deposit .fx-deposit-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-deposit .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-deposit .fx-row .fx-btn { display: flex; align-items: center; flex: 1 1 140px; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; }
.fx-deposit .fx-row .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-deposit .fx-row .fx-btn:focus-within { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-deposit .fx-deposit-scene { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.fx-deposit .fx-deposit-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fx-deposit .fx-deposit-caption { min-height: 46px; font-weight: 800; }
.fx-deposit .fx-deposit-stage { position: relative; height: 230px; min-width: 0; box-sizing: border-box; padding: 10px; overflow: hidden; }
.fx-deposit .fx-deposit-coat { display: block; width: 100%; height: 185px; }
.fx-deposit .fx-deposit-fabric { fill: var(--fx-sky); stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-deposit .fx-deposit-seam { fill: none; stroke: var(--fx-ink); stroke-width: 2; }
.fx-deposit .fx-deposit-tag { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-deposit .fx-deposit-tagtext { fill: var(--fx-ink); font-size: 14px; font-weight: 800; }
.fx-deposit .fx-deposit-stamp { position: absolute; left: 10px; right: 10px; bottom: 8px; padding: 3px; border: 2px solid var(--fx-ink); background: var(--fx-mint); text-align: center; font-size: 14px; font-weight: 800; visibility: hidden; }
.fx-deposit .fx-deposit-piles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; height: 100%; align-items: end; }
.fx-deposit .fx-deposit-pile { min-width: 0; }
.fx-deposit .fx-deposit-source { display: flex; flex-direction: column; align-items: center; justify-content: end; height: 110px; padding-bottom: 8px; transition: transform 0.35s, opacity 0.35s; }
.fx-deposit .fx-deposit-coin { display: block; flex: 0 0 12px; width: 32px; max-width: 90%; height: 12px; box-sizing: border-box; margin-top: -3px; border: 2px solid var(--fx-ink); border-radius: 50%; background: var(--fx-sun); }
.fx-deposit .fx-deposit-pilelabel { min-height: 68px; padding-top: 8px; border-top: 3px solid var(--fx-ink); font-size: 12px; text-align: center; }
.fx-deposit .fx-deposit-wallet { position: absolute; left: 6%; right: 6%; bottom: 20px; height: 140px; border: 3px solid var(--fx-ink); border-radius: 18px 18px 30px 30px; background: var(--fx-paper); }
.fx-deposit .fx-deposit-wallet::before { content: ""; position: absolute; left: -3px; right: -3px; top: -17px; height: 28px; box-sizing: border-box; border: 3px solid var(--fx-ink); border-radius: 50%; background: var(--fx-paper); }
.fx-deposit .fx-deposit-stash { position: absolute; left: 8px; right: 8px; bottom: 16px; height: 115px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-items: end; }
.fx-deposit .fx-deposit-inpile { display: flex; flex-direction: column; align-items: center; justify-content: end; min-width: 0; opacity: 0; transform: translateY(-28px); transition: transform 0.35s, opacity 0.35s; }
.fx-deposit .fx-deposit-inpile b { margin-top: 4px; font-size: 12px; }
.fx-deposit:has(#fx-deposit-p50:checked) .fx-deposit-source50, .fx-deposit:has(#fx-deposit-p10:checked) .fx-deposit-source10, .fx-deposit:has(#fx-deposit-p5:checked) .fx-deposit-source5 { opacity: 0; transform: translateY(26px); }
.fx-deposit:has(#fx-deposit-p50:checked) .fx-deposit-in50, .fx-deposit:has(#fx-deposit-p10:checked) .fx-deposit-in10, .fx-deposit:has(#fx-deposit-p5:checked) .fx-deposit-in5 { opacity: 1; transform: translateY(0); }
.fx-deposit .fx-deposit-read { font-weight: 800; font-size: 14px; }
.fx-deposit .fx-deposit-barlabel { font-size: 12px; }
.fx-deposit .fx-deposit-bar { display: flex; flex-wrap: wrap; gap: 2px; }
.fx-deposit .fx-deposit-bar span { display: block; flex: 0 0 calc((100% - 38px) / 20); min-width: 0; aspect-ratio: 1; box-sizing: border-box; border: 1px solid var(--fx-ink); background: var(--fx-paper); }
.fx-deposit .fx-deposit-totals, .fx-deposit .fx-deposit-feedback { display: grid; min-width: 0; }
.fx-deposit .fx-deposit-state { grid-area: 1 / 1; visibility: hidden; color: var(--fx-ink); }
.fx-deposit .fx-deposit-totals .fx-score { font-size: 20px; line-height: 1.3; }
.fx-deposit:not(:has(#fx-deposit-p50:checked)):not(:has(#fx-deposit-p10:checked)):not(:has(#fx-deposit-p5:checked)) .fx-deposit-s0 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p50:checked):not(:has(#fx-deposit-p10:checked)):not(:has(#fx-deposit-p5:checked)) .fx-deposit-s50 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p10:checked):not(:has(#fx-deposit-p50:checked)):not(:has(#fx-deposit-p5:checked)) .fx-deposit-s10 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p5:checked):not(:has(#fx-deposit-p50:checked)):not(:has(#fx-deposit-p10:checked)) .fx-deposit-s5 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p10:checked):not(:has(#fx-deposit-p5:checked)) .fx-deposit-s60 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p5:checked):not(:has(#fx-deposit-p10:checked)) .fx-deposit-s55 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked):not(:has(#fx-deposit-p50:checked)) .fx-deposit-s15, .fx-deposit:has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked):not(:has(#fx-deposit-p50:checked)) .fx-deposit-stamp { visibility: visible; }
.fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked) .fx-deposit-s65 { visibility: visible; }
.fx-deposit:has(#fx-deposit-p50:checked) .fx-deposit-bar span:nth-child(-n + 50), .fx-deposit:has(#fx-deposit-p10:checked) .fx-deposit-bar span:nth-child(-n + 10), .fx-deposit:has(#fx-deposit-p5:checked) .fx-deposit-bar span:nth-child(-n + 5), .fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p10:checked) .fx-deposit-bar span:nth-child(-n + 60), .fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p5:checked) .fx-deposit-bar span:nth-child(-n + 55), .fx-deposit:has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked) .fx-deposit-bar span:nth-child(-n + 15), .fx-deposit:has(#fx-deposit-p50:checked):has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked) .fx-deposit-bar span:nth-child(-n + 65) { background: var(--fx-sun); }
.fx-deposit:has(#fx-deposit-p10:checked):has(#fx-deposit-p5:checked):not(:has(#fx-deposit-p50:checked)) .fx-deposit-bar span:nth-child(-n + 15) { background: var(--fx-mint); }
@container (max-width: 480px) { .fx-deposit .fx-deposit-scene { grid-template-columns: 1fr; } .fx-deposit .fx-deposit-caption { min-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .fx-deposit .fx-deposit-source, .fx-deposit .fx-deposit-inpile { transition: none; } }