.fx-tiles { display: grid; gap: 16px; }
.fx-tiles .fx-tiles-steps { margin: 0; padding-left: 24px; }
.fx-tiles .fx-tiles-steps li + li { margin-top: 6px; }
.fx-tiles .fx-tiles-goal { margin: 0; }
.fx-tiles .fx-tiles-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-tiles .fx-tiles-controls legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.fx-tiles .fx-tiles-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-tiles .fx-btn { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; min-height: 48px; box-sizing: border-box; padding: 8px; background: var(--fx-sun-pale); color: var(--fx-ink); border: 2px solid var(--fx-ink); font-size: 16px; line-height: 1.3; }
.fx-tiles .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-tiles .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-tiles .fx-tiles-letter { display: grid; place-items: center; flex: 0 0 30px; height: 32px; border: 1px solid var(--fx-ink); border-radius: 3px; background: var(--fx-sun); color: var(--fx-ink); font-size: 22px; font-weight: 700; }
.fx-tiles .fx-tiles-hint { margin: 10px 0 0; font-size: 14px; }
.fx-tiles .fx-tiles-picture { height: 440px; padding: 0; overflow: hidden; box-sizing: content-box; }
.fx-tiles .fx-tiles-picture svg { display: block; width: 100%; max-width: 320px; height: 440px; margin: 0 auto; }
.fx-tiles .fx-tiles-picture text { fill: var(--fx-ink); font-size: 18px; }
.fx-tiles .fx-tiles-picture .fx-tiles-title { font-size: 20px; font-weight: 700; }
.fx-tiles .fx-tiles-picture .fx-tiles-caption { font-size: 16px; }
.fx-tiles .fx-tiles-tray-title, .fx-tiles .fx-tiles-glyph { font-weight: 700; }
.fx-tiles .fx-tiles-board { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tiles .fx-tiles-cork { fill: none; stroke: var(--fx-ink); stroke-width: 2; opacity: 0.3; }
.fx-tiles .fx-tiles-paper { fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 1; }
.fx-tiles .fx-tiles-pin { fill: var(--fx-coral); stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-tiles .fx-tiles-gap { fill: none; stroke: var(--fx-coral); stroke-width: 2; stroke-dasharray: 3 2; }
.fx-tiles .fx-tiles-underline { fill: none; stroke: var(--fx-coral); stroke-width: 2; }
.fx-tiles .fx-tiles-tick { visibility: hidden; fill: none; stroke: var(--fx-mint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fx-tiles .fx-tiles-star { visibility: hidden; fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-tiles .fx-tiles-tray { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tiles .fx-tiles-place { fill: none; stroke: var(--fx-muted); stroke-width: 1; stroke-dasharray: 3 2; }
.fx-tiles .fx-tiles-wood { fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-tiles .fx-tiles-moving { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.fx-tiles:has(#fx-tiles-r:checked) .fx-tiles-moving-r { transform: translate(34px, -257px); }
.fx-tiles:has(#fx-tiles-b:checked) .fx-tiles-moving-b { transform: translate(-55px, -229px); }
.fx-tiles:has(#fx-tiles-t:checked) .fx-tiles-moving-t { transform: translate(-160px, -176px); }
.fx-tiles:has(#fx-tiles-r:checked) .fx-tiles-gap-r, .fx-tiles:has(#fx-tiles-r:checked) .fx-tiles-underline-r, .fx-tiles:has(#fx-tiles-b:checked) .fx-tiles-gap-b, .fx-tiles:has(#fx-tiles-b:checked) .fx-tiles-underline-b, .fx-tiles:has(#fx-tiles-t:checked) .fx-tiles-gap-t, .fx-tiles:has(#fx-tiles-t:checked) .fx-tiles-underline-t { visibility: hidden; }
.fx-tiles:has(#fx-tiles-r:checked) .fx-tiles-tick-r, .fx-tiles:has(#fx-tiles-b:checked) .fx-tiles-tick-b, .fx-tiles:has(#fx-tiles-t:checked) .fx-tiles-tick-t, .fx-tiles:has(#fx-tiles-r:checked):has(#fx-tiles-b:checked):has(#fx-tiles-t:checked) .fx-tiles-star { visibility: visible; }
.fx-tiles .fx-tiles-feedback-label { margin: 0 0 10px; }
.fx-tiles .fx-tiles-messages { display: grid; }
.fx-tiles .fx-tiles-message { grid-area: 1 / 1; visibility: hidden; margin: 0; font-size: 16px; line-height: 1.5; }
.fx-tiles:has(#fx-tiles-r:not(:checked)):has(#fx-tiles-b:not(:checked)):has(#fx-tiles-t:not(:checked)) .fx-tiles-message-none, .fx-tiles:has(#fx-tiles-r:checked):has(#fx-tiles-b:not(:checked)):has(#fx-tiles-t:not(:checked)) .fx-tiles-message-r, .fx-tiles:has(#fx-tiles-r:not(:checked)):has(#fx-tiles-b:checked):has(#fx-tiles-t:not(:checked)) .fx-tiles-message-b, .fx-tiles:has(#fx-tiles-r:not(:checked)):has(#fx-tiles-b:not(:checked)):has(#fx-tiles-t:checked) .fx-tiles-message-t, .fx-tiles:has(#fx-tiles-r:checked):has(#fx-tiles-b:checked):has(#fx-tiles-t:not(:checked)) .fx-tiles-message-rb, .fx-tiles:has(#fx-tiles-r:checked):has(#fx-tiles-b:not(:checked)):has(#fx-tiles-t:checked) .fx-tiles-message-rt, .fx-tiles:has(#fx-tiles-r:not(:checked)):has(#fx-tiles-b:checked):has(#fx-tiles-t:checked) .fx-tiles-message-bt, .fx-tiles:has(#fx-tiles-r:checked):has(#fx-tiles-b:checked):has(#fx-tiles-t:checked) .fx-tiles-message-all { visibility: visible; }
@container (max-width: 480px) { .fx-tiles .fx-tiles-choices { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fx-tiles .fx-tiles-moving { transition: none; } }