.fx-hands { --fx-angle: 150deg; display: grid; }
.fx-hands:has(#fx-hands-h1:checked) { --fx-angle: 30deg; }
.fx-hands:has(#fx-hands-h2:checked) { --fx-angle: 60deg; }
.fx-hands:has(#fx-hands-h3:checked) { --fx-angle: 90deg; }
.fx-hands:has(#fx-hands-h4:checked) { --fx-angle: 120deg; }
.fx-hands:has(#fx-hands-h6:checked) { --fx-angle: 180deg; }
.fx-hands:has(#fx-hands-h7:checked) { --fx-angle: 210deg; }
.fx-hands:has(#fx-hands-h8:checked) { --fx-angle: 240deg; }
.fx-hands:has(#fx-hands-h9:checked) { --fx-angle: 270deg; }
.fx-hands:has(#fx-hands-h10:checked) { --fx-angle: 300deg; }
.fx-hands:has(#fx-hands-h11:checked) { --fx-angle: 330deg; }
.fx-hands:has(#fx-hands-h12:checked) { --fx-angle: 360deg; }
.fx-hands .fx-hands-body { display: grid; gap: 14px; min-width: 0; font-size: 16px; line-height: 1.4; color: var(--fx-ink); }
.fx-hands .fx-hands-instructions { margin: 0; }
.fx-hands .fx-hands-instructions ol { margin: 0; padding-left: 24px; }
.fx-hands .fx-hands-goal { margin: 0; }
.fx-hands .fx-hands-controls { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-hands .fx-hands-controls legend { padding: 0; margin-bottom: 10px; max-width: 100%; font-weight: 800; }
.fx-hands .fx-hands-scene { box-sizing: border-box; height: 460px; padding: 12px; font-size: 16px; line-height: 1.3; }
.fx-hands .fx-hands-caption { margin: 0; text-align: center; font-weight: 800; }
.fx-hands .fx-hands-dial { position: relative; box-sizing: border-box; width: min(100%, 232px); aspect-ratio: 1; margin: 8px auto 12px; border: 6px solid var(--fx-ink); border-radius: 50%; background: var(--fx-paper); }
.fx-hands .fx-hands-number { position: absolute; z-index: 4; left: var(--fx-x); top: var(--fx-y); transform: translate(-50%, -50%); box-sizing: border-box; display: grid; place-items: center; width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; border: 1px solid var(--fx-ink); border-radius: 50%; background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; line-height: 1; font-weight: 800; cursor: pointer; }
.fx-hands .fx-hands-number:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); }
.fx-hands .fx-hands-number:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 2px; }
.fx-hands .fx-hands-short { position: absolute; z-index: 1; left: calc(50% - 5px); top: 26%; width: 10px; height: 24%; border-radius: 5px; background: var(--fx-coral); transform-origin: 50% 100%; transform: rotate(var(--fx-angle)); transition: transform 0.45s; pointer-events: none; }
.fx-hands .fx-hands-long { position: absolute; z-index: 2; left: calc(50% - 2px); top: 16%; width: 4px; height: 34%; border-radius: 2px; background: var(--fx-sky); box-shadow: 0 0 0 4px var(--fx-paper); pointer-events: none; }
.fx-hands .fx-hands-hub { position: absolute; z-index: 3; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--fx-ink); transform: translate(-50%, -50%); pointer-events: none; }
.fx-hands .fx-hands-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-size: 14px; }
.fx-hands .fx-hands-key span { display: inline-flex; align-items: center; gap: 6px; }
.fx-hands .fx-hands-short-key { display: inline-block; width: 16px; height: 6px; border-radius: 3px; background: var(--fx-coral); }
.fx-hands .fx-hands-long-key { display: inline-block; width: 22px; height: 3px; background: var(--fx-sky); }
.fx-hands .fx-hands-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 16px; }
.fx-hands .fx-hands-digits { display: grid; box-sizing: border-box; margin: 6px 0 0; padding: 8px; border: 6px solid var(--fx-ink); border-radius: 6px; background: var(--fx-mint-pale); color: var(--fx-ink); font-size: 32px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.fx-hands .fx-hands-sticky { margin: 0; padding: 10px; border: 1px solid var(--fx-ink); border-radius: 4px; background: var(--fx-sun-pale); color: var(--fx-ink); text-align: center; }
.fx-hands .fx-hands-tick { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: 6px; border-radius: 50%; background: var(--fx-mint); color: var(--fx-ink); font-size: 22px; line-height: 1; font-weight: 800; visibility: hidden; }
.fx-hands .fx-hands-stack { display: grid; }
.fx-hands .fx-hands-state { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.fx-hands:has(#fx-hands-h1:checked) .fx-hands-s1, .fx-hands:has(#fx-hands-h2:checked) .fx-hands-s2, .fx-hands:has(#fx-hands-h3:checked) .fx-hands-s3, .fx-hands:has(#fx-hands-h4:checked) .fx-hands-s4, .fx-hands:has(#fx-hands-h5:checked) .fx-hands-s5, .fx-hands:has(#fx-hands-h6:checked) .fx-hands-s6, .fx-hands:has(#fx-hands-h7:checked) .fx-hands-s7, .fx-hands:has(#fx-hands-h8:checked) .fx-hands-s8, .fx-hands:has(#fx-hands-h9:checked) .fx-hands-s9, .fx-hands:has(#fx-hands-h10:checked) .fx-hands-s10, .fx-hands:has(#fx-hands-h11:checked) .fx-hands-s11, .fx-hands:has(#fx-hands-h12:checked) .fx-hands-s12 { visibility: visible; }
.fx-hands:has(#fx-hands-h8:checked) .fx-hands-tick { visibility: visible; }
@container (max-width: 480px) { .fx-hands .fx-hands-bottom { grid-template-columns: 1fr; } .fx-hands .fx-hands-scene { height: 580px; } }
@media (prefers-reduced-motion: reduce) { .fx-hands .fx-hands-short { transition: none; } }