.fx-plate { display: grid; gap: 16px; }
.fx-plate .fx-plate-steps { margin: 0; padding-left: 24px; }
.fx-plate .fx-plate-steps li { padding: 3px 0; }
.fx-plate .fx-plate-goal { margin: 0; }
.fx-plate .fx-plate-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-plate .fx-plate-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-plate .fx-plate-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-plate .fx-plate-choices .fx-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 48px; padding: 12px; border: 2px solid var(--fx-ink); color: var(--fx-ink); background: var(--fx-paper); white-space: normal; text-align: center; font-size: 16px; }
.fx-plate .fx-plate-geography-card:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-plate .fx-plate-history-card:has(input:checked) { background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-plate .fx-plate-religion-card:has(input:checked) { background: var(--fx-coral-pale); color: var(--fx-ink); }
.fx-plate .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-plate .fx-plate-reset { margin: 10px 0 0; font-size: 14px; }
.fx-plate .fx-plate-scene { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 16px; height: 400px; box-sizing: border-box; padding: 12px; color: var(--fx-ink); }
.fx-plate .fx-plate-figure { display: grid; justify-items: center; gap: 4px; min-width: 0; margin: 0; }
.fx-plate .fx-plate-figure figcaption { font-size: 16px; text-align: center; }
.fx-plate .fx-plate-picture { display: block; width: 100%; max-width: 320px; height: auto; }
.fx-plate .fx-plate-rim { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-plate .fx-plate-outlines path { fill: none; stroke-width: 3; stroke-dasharray: 5 5; opacity: 0.65; }
.fx-plate .fx-plate-geography-outline { stroke: var(--fx-mint); }
.fx-plate .fx-plate-history-outline { stroke: var(--fx-sky); }
.fx-plate .fx-plate-religion-outline { stroke: var(--fx-coral); }
.fx-plate .fx-plate-piece { opacity: 0; transform: translateY(-12px); transition: transform 0.35s, opacity 0.35s; }
.fx-plate .fx-plate-piece path { stroke: var(--fx-ink); stroke-width: 1; stroke-linejoin: round; }
.fx-plate .fx-plate-geography-fill { fill: var(--fx-mint); }
.fx-plate .fx-plate-history-fill { fill: var(--fx-sky); }
.fx-plate .fx-plate-religion-fill { fill: var(--fx-coral); }
.fx-plate .fx-plate-picture text { fill: var(--fx-ink); font-size: 20px; text-anchor: middle; }
.fx-plate .fx-plate-picture .fx-plate-angle { font-weight: 800; }
.fx-plate .fx-plate-start { stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-plate .fx-plate-tick { opacity: 0; transition: opacity 0.35s; }
.fx-plate .fx-plate-tick circle { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-plate .fx-plate-tick path { fill: none; stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fx-plate:has(#fx-plate-geography:checked) .fx-plate-geography-piece, .fx-plate:has(#fx-plate-history:checked) .fx-plate-history-piece, .fx-plate:has(#fx-plate-religion:checked) .fx-plate-religion-piece { opacity: 1; transform: translateY(0); }
.fx-plate:has(#fx-plate-geography:checked):has(#fx-plate-history:checked):has(#fx-plate-religion:checked) .fx-plate-tick { opacity: 1; }
.fx-plate .fx-plate-info { min-width: 0; font-size: 14px; line-height: 1.45; }
.fx-plate .fx-plate-info p { margin: 0 0 12px; }
.fx-plate .fx-plate-info .fx-plate-unit { font-size: 18px; }
.fx-plate .fx-plate-key { list-style: none; margin: 0; padding: 0; }
.fx-plate .fx-plate-key li { margin: 6px 0; padding: 5px 0 5px 10px; border-left: 6px solid var(--fx-ink); }
.fx-plate .fx-plate-key .fx-plate-geography-key { border-color: var(--fx-mint); }
.fx-plate .fx-plate-key .fx-plate-history-key { border-color: var(--fx-sky); }
.fx-plate .fx-plate-key .fx-plate-religion-key { border-color: var(--fx-coral); }
.fx-plate .fx-plate-messages { display: grid; }
.fx-plate .fx-plate-messages p { grid-area: 1 / 1; align-self: start; margin: 0; visibility: hidden; }
.fx-plate:not(:has(input:checked)) .fx-plate-empty, .fx-plate:has(#fx-plate-geography:checked):not(:has(#fx-plate-history:checked)):not(:has(#fx-plate-religion:checked)) .fx-plate-only-geography, .fx-plate:has(#fx-plate-history:checked):not(:has(#fx-plate-geography:checked)):not(:has(#fx-plate-religion:checked)) .fx-plate-only-history, .fx-plate:has(#fx-plate-religion:checked):not(:has(#fx-plate-geography:checked)):not(:has(#fx-plate-history:checked)) .fx-plate-only-religion, .fx-plate:has(#fx-plate-geography:checked):has(#fx-plate-history:checked):not(:has(#fx-plate-religion:checked)) .fx-plate-geography-history, .fx-plate:has(#fx-plate-geography:checked):has(#fx-plate-religion:checked):not(:has(#fx-plate-history:checked)) .fx-plate-geography-religion, .fx-plate:has(#fx-plate-history:checked):has(#fx-plate-religion:checked):not(:has(#fx-plate-geography:checked)) .fx-plate-history-religion, .fx-plate:has(#fx-plate-geography:checked):has(#fx-plate-history:checked):has(#fx-plate-religion:checked) .fx-plate-full { visibility: visible; }
@container (max-width: 480px) { .fx-plate .fx-plate-choices { grid-template-columns: 1fr; } .fx-plate .fx-plate-scene { grid-template-columns: minmax(0, 1fr); height: 560px; align-content: center; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .fx-plate .fx-plate-piece, .fx-plate .fx-plate-tick { transition: none; } }