.wheel-box { position: relative; aspect-ratio: 1; }
.wheel-disc { --s-bg: var(--color-dial); --s-raised: var(--color-dial-hub); aspect-ratio: 1; border-radius: 50%; background: var(--s-bg); box-shadow: var(--shadow-float); }
@media (forced-colors: active) { .wheel-disc { border: 1px solid CanvasText; } }
.wheel { display: block; width: 100%; height: auto; overflow: visible; }
.wheel-threads path { fill: none; stroke: var(--s-thread-line); opacity: 0.5; transition: opacity var(--duration-fast) var(--ease-out); }
.wheel-arc { fill: none; stroke: var(--s-border-control); stroke-width: 1; }
.wheel-area { text-decoration: none; }
.wheel-area text { font: italic 400 15px var(--font-read); fill: var(--s-text); transition: fill var(--duration-fast) var(--ease-out); }
.wheel-area-compact { display: none; }
.wheel-hub { fill: var(--s-bg); stroke: var(--s-border); stroke-width: 1; transition: stroke var(--duration-fast) var(--ease-out); }
.wheel-topic { cursor: pointer; text-decoration: none; outline: none; }
.wheel-topic circle { fill: var(--s-sanskrit); stroke: var(--s-bg); stroke-width: 1.5; transition: opacity var(--duration-fast) var(--ease-out); }
.wheel-topic text { font: 500 12px var(--font-ui); letter-spacing: 0.01em; fill: var(--s-muted); transition: fill var(--duration-fast) var(--ease-out); }
.wheel-topic.is-lit text, .wheel-topic.is-near text { fill: var(--s-text); }
.wheel-topic.is-lit text { font-weight: 700; }
.wheel-topic.is-lit circle { fill: var(--s-text); stroke: var(--s-thread-line); stroke-width: 2.5; }
.wheel-topic.is-pointed text, .wheel-topic:focus-visible text { fill: var(--s-sanskrit); font-weight: 700; text-decoration: underline; }
.wheel-topic.is-pointed circle, .wheel-topic:focus-visible circle { stroke: var(--s-focus); stroke-width: 2.5; }
.wheel.is-picking .wheel-threads path { opacity: 0.1; }
.wheel.is-picking .wheel-threads path.is-on { opacity: 1; }
.wheel.is-picking .wheel-topic:not(.is-lit):not(.is-near):not(.is-pointed):not(:focus-visible) text,
.wheel.is-picking .wheel-area:not(.is-lit) text { fill: var(--s-faint); }
.wheel.is-picking .wheel-topic:not(.is-lit):not(.is-near):not(.is-pointed):not(:focus-visible) circle { opacity: 0.45; }
.dial-rim { fill: none; stroke: color-mix(in oklab, var(--s-text) 24%, var(--s-bg)); stroke-width: 1; }
.dial-ties path, .dial-in { fill: none; stroke: var(--s-thread-line); stroke-width: 1.75; opacity: 0; transition: opacity var(--duration-fast) var(--ease-out); }
.dial-ties path { stroke-dasharray: 4 3.5; stroke-linecap: round; }
.dial-in { stroke-width: 2; }
.dial-ties path.is-on, .wheel.is-tied .dial-in { opacity: 1; }
.wheel.is-tied .wheel-hub { stroke: var(--s-thread-line); stroke-width: 2; }
.dial-knots circle { fill: var(--s-bg); stroke: var(--s-thread-line); stroke-width: 2; }
.wheel-readout {
  position: absolute; left: 50%; top: 50%; width: 17%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 2px; text-align: center; pointer-events: none;
}
.wheel-readout-sa { font-size: var(--text-sa-md); line-height: 1.25; color: var(--s-sanskrit); white-space: nowrap; }
.wheel-readout-sa:empty { display: none; }
.wheel-readout-name { font: 600 var(--text-xs)/1.2 var(--font-ui); color: var(--s-text); text-wrap: balance; }
.wheel-readout-count { font: 400 var(--text-2xs)/1.2 var(--font-ui); color: var(--s-muted); }
@media (hover: hover) {
  a.wheel-area:hover text { text-decoration: underline; }
}
@media (max-width: 43.99rem) {
  .wheel-topic text, .wheel-area-full { display: none; }
  .wheel-area-compact { display: inline; }
  .wheel-area text { font-size: 21px; }
  .wheel-threads, .wheel-topics, .wheel-hub, .dial-ties { transform: scale(1.5); }
  .wheel-topics, .wheel-areas { pointer-events: none; }
  .wheel-readout { width: 27%; }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-threads path, .wheel-topic text, .wheel-topic circle, .wheel-area text, .wheel-hub, .dial-ties path, .dial-in { transition: none; }
}
@media (forced-colors: active) {
  .wheel-box { forced-color-adjust: none; background: var(--s-bg); border-radius: 50%; outline: 1px solid CanvasText; }
}
