.fx-daywheel { --fx-hour: 240deg; --fx-minute: 0deg; --fx-window: var(--fx-sky-pale); --fx-shade: 0; --fx-sun-x: 54px; --fx-sun-y: 145px; --fx-day: visible; --fx-night: hidden; --fx-dawn: hidden; display: grid; }
.fx-daywheel:has(#fx-daywheel-t00:checked) { --fx-hour: 0deg; --fx-minute: 0deg; --fx-window: var(--fx-ink); --fx-day: hidden; --fx-night: visible; }
.fx-daywheel:has(#fx-daywheel-t05:checked) { --fx-hour: 165deg; --fx-minute: 180deg; --fx-window: var(--fx-sky); --fx-shade: 0.65; --fx-day: hidden; --fx-dawn: visible; }
.fx-daywheel:has(#fx-daywheel-t12:checked) { --fx-hour: 0deg; --fx-minute: 0deg; --fx-sun-x: 110px; --fx-sun-y: 40px; }
.fx-daywheel:has(#fx-daywheel-t13:checked) { --fx-hour: 34.5deg; --fx-minute: 54deg; --fx-sun-x: 148px; --fx-sun-y: 70px; }
.fx-daywheel:has(#fx-daywheel-t18:checked) { --fx-hour: 186.5deg; --fx-minute: 78deg; --fx-window: var(--fx-coral); --fx-sun-x: 156px; --fx-sun-y: 165px; }
.fx-daywheel:has(#fx-daywheel-t20:checked) { --fx-hour: 240deg; --fx-minute: 0deg; --fx-window: var(--fx-ink); --fx-day: hidden; --fx-night: visible; }
.fx-daywheel:has(#fx-daywheel-t23:checked) { --fx-hour: 347.5deg; --fx-minute: 210deg; --fx-window: var(--fx-ink); --fx-day: hidden; --fx-night: visible; }
.fx-daywheel .fx-daywheel-content { display: grid; gap: 14px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.5; }
.fx-daywheel .fx-daywheel-steps { list-style: none; padding: 0; margin: 0; }
.fx-daywheel .fx-daywheel-steps li + li { margin-top: 6px; }
.fx-daywheel .fx-daywheel-goal, .fx-daywheel .fx-daywheel-caption, .fx-daywheel .fx-daywheel-hint, .fx-daywheel .fx-daywheel-footnote { margin: 0; }
.fx-daywheel .fx-daywheel-controls { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-daywheel .fx-daywheel-controls legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.fx-daywheel .fx-daywheel-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.fx-daywheel .fx-btn { display: flex; justify-content: center; align-items: center; box-sizing: border-box; min-width: 0; min-height: 44px; padding: 8px 4px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.fx-daywheel .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); }
.fx-daywheel .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-daywheel .fx-daywheel-hint { font-size: 14px; }
.fx-daywheel .fx-daywheel-scene { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; box-sizing: border-box; height: 250px; padding: 12px; gap: 12px; }
.fx-daywheel .fx-daywheel-picture { display: grid; justify-items: center; align-content: center; gap: 8px; min-width: 0; margin: 0; }
.fx-daywheel .fx-daywheel-picture svg { display: block; width: min(100%, 190px); height: 190px; }
.fx-daywheel .fx-daywheel-rim { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 3; }
.fx-daywheel .fx-daywheel-numbers { fill: var(--fx-ink); font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.fx-daywheel .fx-daywheel-hour, .fx-daywheel .fx-daywheel-minute { transform-origin: 100px 100px; transition: transform 0.5s; }
.fx-daywheel .fx-daywheel-hour { transform: rotate(var(--fx-hour)); stroke: var(--fx-coral); stroke-width: 7; stroke-linecap: round; }
.fx-daywheel .fx-daywheel-minute { transform: rotate(var(--fx-minute)); stroke: var(--fx-ink); stroke-width: 4; stroke-linecap: round; }
.fx-daywheel .fx-daywheel-pin { fill: var(--fx-ink); }
.fx-daywheel .fx-daywheel-sky { fill: var(--fx-window); }
.fx-daywheel .fx-daywheel-shade { fill: var(--fx-ink); opacity: var(--fx-shade); }
.fx-daywheel .fx-daywheel-dawn { fill: var(--fx-sun-pale); visibility: var(--fx-dawn); }
.fx-daywheel .fx-daywheel-sun { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 1.5; visibility: var(--fx-day); transform: translate(var(--fx-sun-x), var(--fx-sun-y)); transition: transform 0.5s; }
.fx-daywheel .fx-daywheel-night { visibility: var(--fx-night); }
.fx-daywheel .fx-daywheel-moon { fill: var(--fx-sun-pale); }
.fx-daywheel .fx-daywheel-stars { fill: var(--fx-sun); }
.fx-daywheel .fx-daywheel-frame { fill: none; stroke: var(--fx-ink); stroke-width: 4; }
.fx-daywheel .fx-daywheel-times { display: grid; gap: 4px; text-align: center; }
.fx-daywheel .fx-daywheel-swap { display: grid; min-width: 0; }
.fx-daywheel .fx-daywheel-state { grid-area: 1 / 1; visibility: hidden; margin: 0; }
.fx-daywheel .fx-daywheel-digital .fx-daywheel-state { font-size: 30px; line-height: 1.3; font-weight: 800; }
.fx-daywheel .fx-daywheel-description { font-size: 14px; }
.fx-daywheel .fx-daywheel-footnote { font-size: 12px; }
.fx-daywheel:has(#fx-daywheel-t00:checked) .fx-daywheel-s00, .fx-daywheel:has(#fx-daywheel-t05:checked) .fx-daywheel-s05, .fx-daywheel:has(#fx-daywheel-t08:checked) .fx-daywheel-s08, .fx-daywheel:has(#fx-daywheel-t12:checked) .fx-daywheel-s12, .fx-daywheel:has(#fx-daywheel-t13:checked) .fx-daywheel-s13, .fx-daywheel:has(#fx-daywheel-t18:checked) .fx-daywheel-s18, .fx-daywheel:has(#fx-daywheel-t20:checked) .fx-daywheel-s20, .fx-daywheel:has(#fx-daywheel-t23:checked) .fx-daywheel-s23 { visibility: visible; }
@container (max-width: 480px) { .fx-daywheel .fx-daywheel-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fx-daywheel .fx-daywheel-scene { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: 480px; } }
@media (prefers-reduced-motion: reduce) { .fx-daywheel .fx-daywheel-hour, .fx-daywheel .fx-daywheel-minute, .fx-daywheel .fx-daywheel-sun { transition: none; } }