.fx-spotlight { --fx-index: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fx-spotlight:has(#fx-spotlight-neighbour:checked) { --fx-index: 1; }
.fx-spotlight:has(#fx-spotlight-tipper:checked) { --fx-index: 2; }
.fx-spotlight:has(#fx-spotlight-friend:checked) { --fx-index: 3; }
.fx-spotlight:has(#fx-spotlight-council:checked) { --fx-index: 4; }
.fx-spotlight .fx-steps { margin: 0; padding-left: 24px; }
.fx-spotlight .fx-steps li { padding-left: 2px; margin: 4px 0; }
.fx-spotlight .fx-goal { margin: 0; color: var(--fx-ink); }
.fx-spotlight .fx-controls { border: 0; padding: 0; margin: 0; min-width: 0; color: var(--fx-ink); }
.fx-spotlight .fx-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-spotlight .fx-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-spotlight .fx-choices .fx-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 44px; padding: 10px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); white-space: normal; text-align: center; line-height: 1.3; cursor: pointer; }
.fx-spotlight .fx-choices .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); }
.fx-spotlight .fx-choices .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-spotlight .fx-task { color: var(--fx-ink); }
.fx-spotlight .fx-task p { margin: 6px 0 0; }
.fx-spotlight .fx-addressee { font-weight: 700; }
.fx-spotlight:has(#fx-spotlight-council:checked) .fx-addressee { background: var(--fx-sun); }
.fx-spotlight .fx-scene { position: relative; box-sizing: border-box; height: 360px; min-width: 0; padding: 0; overflow: hidden; background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-spotlight .fx-pavement { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: var(--fx-paper); border-top: 2px solid var(--fx-muted); }
.fx-spotlight .fx-backdrop { position: absolute; left: 0; top: 25px; width: 100%; height: 195px; opacity: 0.6; stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-spotlight .fx-building { fill: var(--fx-muted); }
.fx-spotlight .fx-roof { fill: var(--fx-grape); }
.fx-spotlight .fx-window { fill: var(--fx-paper); }
.fx-spotlight .fx-door { fill: var(--fx-sky); }
.fx-spotlight .fx-van { fill: var(--fx-sky); }
.fx-spotlight .fx-wheel { fill: var(--fx-ink); }
.fx-spotlight .fx-mattress { fill: var(--fx-sun-pale); }
.fx-spotlight .fx-bag { fill: var(--fx-muted); }
.fx-spotlight .fx-line { fill: none; }
.fx-spotlight .fx-beam { position: absolute; top: 14px; bottom: 112px; left: -5%; width: 30%; background: var(--fx-sun-pale); clip-path: polygon(50% 0, 0 100%, 100% 100%); opacity: 0.9; transform: translateX(calc(var(--fx-index) * 66.6667%)); transition: transform 0.6s, opacity 0.25s; }
.fx-spotlight:has(#fx-spotlight-start:checked) .fx-beam { opacity: 0; }
.fx-spotlight .fx-pile-label { position: absolute; z-index: 2; top: 87px; left: 25%; width: 35%; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.2; background: var(--fx-paper); }
.fx-spotlight .fx-building-label { position: absolute; z-index: 2; top: 56px; right: 3%; padding: 2px 4px; font-size: 12px; font-weight: 800; background: var(--fx-paper); }
.fx-spotlight .fx-actor { position: absolute; z-index: 3; left: calc(var(--fx-i) * 20%); bottom: 120px; width: 20%; height: 150px; cursor: pointer; }
.fx-spotlight .fx-actor svg { display: block; width: 100%; height: 100%; fill: var(--fx-muted); stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.4; transition: opacity 0.3s; }
.fx-spotlight .fx-actor .fx-detail { fill: var(--fx-paper); }
.fx-spotlight .fx-pen { stroke: var(--fx-ink); stroke-width: 4; }
.fx-spotlight:has(#fx-spotlight-start:checked) .fx-actor svg { opacity: 0.7; }
.fx-spotlight:has(#fx-spotlight-writer:checked) .fx-a-writer svg, .fx-spotlight:has(#fx-spotlight-neighbour:checked) .fx-a-neighbour svg, .fx-spotlight:has(#fx-spotlight-tipper:checked) .fx-a-tipper svg, .fx-spotlight:has(#fx-spotlight-friend:checked) .fx-a-friend svg, .fx-spotlight:has(#fx-spotlight-council:checked) .fx-a-council svg { opacity: 1; fill: var(--fx-mint); }
.fx-spotlight:has(#fx-spotlight-writer:checked) .fx-pen { stroke: var(--fx-sun); stroke-width: 6; }
.fx-spotlight .fx-tag { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 48px; bottom: 66px; font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--fx-ink); }
.fx-spotlight .fx-tag-writer { left: 0; width: 25%; }
.fx-spotlight .fx-tag-neighbour { left: 10%; width: 40%; bottom: 26px; height: 36px; }
.fx-spotlight .fx-tag-tipper { left: 36%; width: 28%; }
.fx-spotlight .fx-tag-friend { left: 50%; width: 32%; bottom: 26px; height: 36px; }
.fx-spotlight .fx-tag-council { right: 0; width: 25%; }
.fx-spotlight .fx-envelope { position: absolute; z-index: 5; left: 34%; top: 140px; box-sizing: border-box; width: 138px; min-height: 46px; padding: 7px 10px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 12px; font-weight: 800; line-height: 1.2; visibility: hidden; opacity: 0; transition: left 0.7s, top 0.7s, opacity 0.25s; }
.fx-spotlight .fx-envelope::before { content: ""; position: absolute; inset: 0; background: var(--fx-sun-pale); clip-path: polygon(0 0, 100% 0, 50% 70%); }
.fx-spotlight .fx-envelope span { position: relative; }
.fx-spotlight:has(#fx-spotlight-council:checked) .fx-envelope { visibility: visible; opacity: 1; left: calc(100% - 144px); top: 184px; }
.fx-spotlight .fx-hint { position: absolute; left: 0; bottom: 4px; width: 100%; margin: 0; text-align: center; font-size: 12px; line-height: 18px; visibility: hidden; }
.fx-spotlight:has(#fx-spotlight-start:checked) .fx-hint { visibility: visible; animation: fx-spotlight-nudge 0.7s ease-in-out 4 alternate; }
.fx-spotlight .fx-says { display: grid; min-width: 0; }
.fx-spotlight .fx-says p { grid-area: 1 / 1; visibility: hidden; margin: 0; color: var(--fx-ink); }
.fx-spotlight:has(#fx-spotlight-start:checked) .fx-say-start, .fx-spotlight:has(#fx-spotlight-writer:checked) .fx-say-writer, .fx-spotlight:has(#fx-spotlight-neighbour:checked) .fx-say-neighbour, .fx-spotlight:has(#fx-spotlight-tipper:checked) .fx-say-tipper, .fx-spotlight:has(#fx-spotlight-friend:checked) .fx-say-friend, .fx-spotlight:has(#fx-spotlight-council:checked) .fx-say-council { visibility: visible; }
@container (max-width: 480px) { .fx-spotlight .fx-choices { grid-template-columns: 1fr; } }
@keyframes fx-spotlight-nudge { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .fx-spotlight .fx-beam, .fx-spotlight .fx-envelope, .fx-spotlight .fx-actor svg { transition: none; } .fx-spotlight:has(#fx-spotlight-start:checked) .fx-hint { animation: none; } }