.fx-stamp { display: grid; gap: 16px; }
.fx-stamp .fx-stamp-how { margin: 0; padding-left: 22px; }
.fx-stamp .fx-stamp-how li + li { margin-top: 6px; }
.fx-stamp .fx-stamp-goal { margin: 0; }
.fx-stamp .fx-stamp-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-stamp .fx-stamp-choices legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-stamp .fx-stamp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-stamp .fx-stamp-tool { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 114px; padding: 10px; border: 2px solid var(--fx-ink); border-radius: 12px; background: var(--fx-paper); color: var(--fx-ink); text-align: left; white-space: normal; cursor: pointer; }
.fx-stamp .fx-stamp-tool:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-stamp .fx-stamp-tool:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-stamp .fx-stamp-disc { display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px; border: 3px solid var(--fx-ink); border-radius: 50%; background: var(--fx-sun); color: var(--fx-ink); font-size: 36px; font-weight: 900; line-height: 1; transition: transform 0.2s; }
.fx-stamp .fx-stamp-tool:has(input:checked) .fx-stamp-disc { transform: translateY(5px); background: var(--fx-mint); }
.fx-stamp .fx-stamp-tip { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; line-height: 1.4; }
.fx-stamp .fx-stamp-tip svg { width: 28px; height: 16px; flex-shrink: 0; stroke-width: 1.5; stroke-dasharray: 3 3; }
.fx-stamp .fx-stamp-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 8px; box-sizing: border-box; height: 600px; padding: 12px; color: var(--fx-ink); }
.fx-stamp .fx-stamp-scenes { display: grid; min-width: 0; padding: 12px; border: 1px solid var(--fx-muted); border-radius: 12px; background: var(--fx-paper); }
.fx-stamp .fx-stamp-state { grid-area: 1 / 1; visibility: hidden; margin: 0; }
.fx-stamp .fx-stamp-view { display: grid; align-content: start; align-self: start; min-width: 0; gap: 12px; }
.fx-stamp .fx-stamp-view > small { font-size: 12px; font-weight: 800; }
.fx-stamp .fx-stamp-piece { font-size: 16px; line-height: 1.5; overflow-wrap: break-word; }
.fx-stamp .fx-stamp-piece > b { color: var(--fx-ink); font-size: 24px; line-height: 0; font-weight: 900; }
.fx-stamp .fx-stamp-bar { position: relative; height: 54px; margin-top: 4px; font-size: 12px; line-height: 18px; }
.fx-stamp .fx-stamp-bar > span { display: block; color: var(--fx-ink); }
.fx-stamp .fx-stamp-bar::before, .fx-stamp .fx-stamp-long::after { content: ""; position: absolute; top: 33px; height: 9px; }
.fx-stamp .fx-stamp-bar::before { left: 0; width: 58%; background: var(--fx-mint); }
.fx-stamp .fx-stamp-long::after { left: 58%; width: 36%; background: var(--fx-coral); }
.fx-stamp .fx-stamp-grey::before { height: 12px; background: var(--fx-muted); clip-path: polygon(0 35%, 12% 0, 25% 35%, 37% 0, 50% 35%, 62% 0, 75% 35%, 87% 0, 100% 35%, 100% 100%, 87% 65%, 75% 100%, 62% 65%, 50% 100%, 37% 65%, 25% 100%, 12% 65%, 0 100%); }
.fx-stamp .fx-stamp-bar i { position: absolute; left: 73%; top: 26px; width: 30px; height: 24px; font-style: normal; z-index: 1; }
.fx-stamp .fx-stamp-bar i::before, .fx-stamp .fx-stamp-bar i::after { content: ""; position: absolute; top: 0; box-sizing: border-box; width: 14px; height: 24px; border: 2px solid var(--fx-ink); background: var(--fx-paper); }
.fx-stamp .fx-stamp-bar i::before { left: 0; border-radius: 80% 20% 25% 35%; }
.fx-stamp .fx-stamp-bar i::after { right: 0; border-radius: 20% 80% 35% 25%; }
.fx-stamp .fx-stamp-bar i b { position: relative; z-index: 1; display: block; color: var(--fx-ink); font-size: 18px; line-height: 24px; text-align: center; }
.fx-stamp .fx-stamp-says { display: grid; }
.fx-stamp .fx-stamp-says p { font-size: 16px; line-height: 1.5; }
.fx-stamp:not(:has(input:checked)) .fx-stamp-s0, .fx-stamp:has(#fx-stamp-one:checked):not(:has(#fx-stamp-two:checked)):not(:has(#fx-stamp-three:checked)) .fx-stamp-s1, .fx-stamp:has(#fx-stamp-two:checked):not(:has(#fx-stamp-one:checked)):not(:has(#fx-stamp-three:checked)) .fx-stamp-s2, .fx-stamp:has(#fx-stamp-three:checked):not(:has(#fx-stamp-one:checked)):not(:has(#fx-stamp-two:checked)) .fx-stamp-s3, .fx-stamp:has(#fx-stamp-one:checked):has(#fx-stamp-two:checked):not(:has(#fx-stamp-three:checked)) .fx-stamp-s12, .fx-stamp:has(#fx-stamp-one:checked):has(#fx-stamp-three:checked):not(:has(#fx-stamp-two:checked)) .fx-stamp-s13, .fx-stamp:has(#fx-stamp-two:checked):has(#fx-stamp-three:checked):not(:has(#fx-stamp-one:checked)) .fx-stamp-s23, .fx-stamp:has(#fx-stamp-one:checked):has(#fx-stamp-two:checked):has(#fx-stamp-three:checked) .fx-stamp-s123 { visibility: visible; }
@container (max-width: 480px) { .fx-stamp .fx-stamp-tools { grid-template-columns: 1fr; } .fx-stamp .fx-stamp-tool { min-height: 80px; } .fx-stamp .fx-stamp-stage { height: 840px; } }