.fx-tag { --fx-zero: 0; --fx-tenzero: 0; display: grid; gap: 14px; }
.fx-tag .fx-tag-steps { margin: 0; padding-left: 22px; }
.fx-tag .fx-tag-steps li { padding: 3px 0; }
.fx-tag .fx-tag-goal { margin: 0; color: var(--fx-ink); }
.fx-tag .fx-tag-q { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-tag .fx-tag-q legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.fx-tag .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tag .fx-btn { box-sizing: border-box; min-height: 44px; padding: 10px 12px; color: var(--fx-ink); background: var(--fx-paper); }
.fx-tag .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-sun-pale); }
.fx-tag .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-tag .fx-tag-stage { position: relative; box-sizing: border-box; height: 390px; padding: 8px; color: var(--fx-ink); }
.fx-tag .fx-tag-scene { position: relative; height: 284px; }
.fx-tag .fx-tag-rail { position: absolute; top: 14px; left: 0; right: 0; height: 5px; background: var(--fx-ink); }
.fx-tag .fx-tag-string { position: absolute; top: 19px; left: calc((100% - 68px) / 2); height: 38px; border-left: 2px solid var(--fx-muted); }
.fx-tag .fx-tag-card { position: absolute; box-sizing: border-box; top: 56px; left: 0; right: 68px; height: 180px; border: 2px solid var(--fx-ink); border-radius: 12px; background: var(--fx-paper); }
.fx-tag .fx-tag-title { position: absolute; top: 70px; left: 0; width: calc(100% - 68px); text-align: center; font-size: 16px; }
.fx-tag .fx-tag-bin { position: absolute; box-sizing: border-box; top: 174px; right: 0; width: 56px; height: 64px; border: 3px solid var(--fx-ink); border-top-width: 6px; background: var(--fx-mint-pale); }
.fx-tag .fx-tag-bin b { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 12px; }
.fx-tag .fx-tag-currency, .fx-tag .fx-tag-dot { position: absolute; z-index: 2; top: 112px; width: 30px; font-size: 36px; line-height: 48px; font-weight: 800; text-align: center; color: var(--fx-coral); transition: top .55s, left .55s, transform .55s; }
.fx-tag .fx-tag-currency { left: calc((100% - 68px) / 2 - 61px); }
.fx-tag .fx-tag-dot { left: calc((100% - 68px) / 2 - 5px); width: 14px; font-size: 48px; }
.fx-tag .fx-tag-prices { position: absolute; top: 112px; left: 0; width: calc(100% - 68px); display: grid; }
.fx-tag .fx-tag-price { grid-area: 1 / 1; display: flex; justify-content: center; height: 90px; visibility: hidden; }
.fx-tag .fx-tag-number { display: flex; align-items: flex-start; height: 48px; margin: 0; font-size: 36px; font-weight: 800; line-height: 48px; color: var(--fx-ink); }
.fx-tag .fx-tag-gap, .fx-tag .fx-tag-whole, .fx-tag .fx-tag-pair, .fx-tag .fx-tag-tens, .fx-tag .fx-tag-unit, .fx-tag .fx-tag-suffix { display: block; flex-shrink: 0; text-align: center; transition: width .5s, opacity .4s, transform .5s; }
.fx-tag .fx-tag-poundgap { width: 30px; }
.fx-tag .fx-tag-dotgap { width: 14px; }
.fx-tag .fx-tag-whole, .fx-tag .fx-tag-tens, .fx-tag .fx-tag-unit { width: 26px; }
.fx-tag .fx-tag-whole, .fx-tag .fx-tag-pair { position: relative; }
.fx-tag .fx-tag-pair { display: flex; width: 52px; }
.fx-tag .fx-tag-under { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; line-height: 20px; white-space: nowrap; transition: opacity .3s; }
.fx-tag .fx-tag-suffix { width: 0; opacity: 0; transform: translateY(-24px); }
.fx-tag .fx-tag-low { --fx-zero: 1; }
.fx-tag .fx-tag-tiny { --fx-tenzero: 1; }
.fx-tag .fx-tag-resultlabel { position: absolute; top: 180px; left: 0; width: calc(100% - 68px); text-align: center; font-size: 12px; visibility: hidden; }
.fx-tag .fx-tag-key { position: absolute; top: 252px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; }
.fx-tag .fx-tag-mark { color: var(--fx-coral); font-size: 20px; }
.fx-tag .fx-tag-hints { position: absolute; top: 306px; left: 12px; right: 12px; display: grid; font-size: 14px; line-height: 20px; }
.fx-tag .fx-tag-messages { display: grid; }
.fx-tag .fx-tag-hints p, .fx-tag .fx-tag-messages p { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.fx-tag .fx-tag-hints .fx-tag-hint-before { visibility: visible; }
.fx-tag:has(#fx-tag-077:checked) .fx-tag-p077, .fx-tag:has(#fx-tag-090:checked) .fx-tag-p090, .fx-tag:has(#fx-tag-009:checked) .fx-tag-p009, .fx-tag:has(#fx-tag-008:checked) .fx-tag-p008, .fx-tag:has(#fx-tag-177:checked) .fx-tag-p177, .fx-tag:has(#fx-tag-408:checked) .fx-tag-p408, .fx-tag:has(#fx-tag-950:checked) .fx-tag-p950 { visibility: visible; }
.fx-tag:has(#fx-tag-take:not(:checked)) .fx-tag-messages .fx-tag-after, .fx-tag:has(#fx-tag-take:checked) .fx-tag-messages .fx-tag-before, .fx-tag:has(#fx-tag-take:checked) .fx-tag-hints .fx-tag-hint-before { visibility: hidden; }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-hints .fx-tag-hint-after, .fx-tag:has(#fx-tag-take:checked) .fx-tag-resultlabel { visibility: visible; }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-currency { top: 174px; left: calc(100% - 51px); transform: rotate(22deg); }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-dot { top: 168px; left: calc(100% - 24px); transform: rotate(-25deg); }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-gap { width: 0; }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-whole { width: calc(26px * (1 - var(--fx-zero))); opacity: calc(1 - var(--fx-zero)); }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-pair { width: calc(52px - 26px * var(--fx-tenzero)); }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-tens { width: calc(26px * (1 - var(--fx-tenzero))); opacity: calc(1 - var(--fx-tenzero)); }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-under { opacity: 0; }
.fx-tag:has(#fx-tag-take:checked) .fx-tag-suffix { width: 26px; opacity: 1; transform: translateY(0); }
@container (max-width: 480px) { .fx-tag .fx-tag-q { display: grid; grid-template-columns: minmax(0, 1fr); } .fx-tag .fx-tag-key { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .fx-tag .fx-tag-scene * { transition: none; } }