/* Orion armillary mark (29 Oct 2026) - see armillary.js. Gold rings on any background; tint with `color`
   (rings/frame) and --oarm-star (belt). Strokes don't scale, so the mark stays crisp from 16 px up. */
.oarm { display: inline-block; flex: none; vertical-align: middle; overflow: visible; color: #A8842F; --oarm-star: #C9A24D; }   /* deeper gold reads on the light app */
[data-theme="dark"] .oarm { color: #C9A24D; --oarm-star: #E4C878; }
.oarm * { vector-effect: non-scaling-stroke; }
.oarm__frame, .oarm__inner, .oarm__axis, .oarm__ring ellipse, .oarm__belt { fill: none; stroke: currentColor; }
.oarm__frame { stroke-width: 1; opacity: .5; }
.oarm__inner { stroke-width: .8; stroke-dasharray: 1 3; opacity: .35; }
.oarm__axis { stroke-width: .8; opacity: .35; }
.oarm__ring ellipse { stroke-width: 1.3; }
.oarm__ring--b ellipse { opacity: .75; }
.oarm__ring--c ellipse { opacity: .5; }
.oarm__belt { stroke: var(--oarm-star); stroke-width: 1; opacity: .7; }
.oarm__star { fill: var(--oarm-star); transform-box: fill-box; transform-origin: center; }
.oarm[width="16"] .oarm__inner, .oarm[width="18"] .oarm__inner, .oarm[width="20"] .oarm__inner { display: none; }   /* too fine to read that small */

/* idle: the rings drift (Ori's mark at rest); loaders always carry --spin */
.oarm__ring { transform-origin: 0 0; animation: oarmTurn 30s linear infinite; }
.oarm__ring--b { animation-duration: 42s; animation-direction: reverse; }
.oarm__ring--c { animation-duration: 54s; }
/* in flight: rings whirl at three speeds, the belt stars twinkle left -> right like the website's cold-open stars */
.oarm--spin .oarm__ring--a { animation-duration: 1.6s; }
.oarm--spin .oarm__ring--b { animation-duration: 2.3s; }
.oarm--spin .oarm__ring--c { animation-duration: 3.1s; }
.oarm--spin .oarm__star { animation: oarmTwinkle 1.2s ease-in-out infinite; }
.oarm--spin .oarm__star--2 { animation-delay: .2s; }
.oarm--spin .oarm__star--3 { animation-delay: .4s; }
@keyframes oarmTurn { to { transform: rotate(360deg); } }
@keyframes oarmTwinkle { 0%, 100% { opacity: .55; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.35); } }

/* inline "Loading..." (placeholders) */
.oarm-loading { display: inline-flex; align-items: center; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .oarm__ring { animation: none; }
  .oarm--spin .oarm__star { animation-name: oarmGlow; }   /* no movement, just a soft pulse so "busy" still reads */
  @keyframes oarmGlow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
}
