/* Aurexis Over / Under tool (v2.0; v2.1 adds the grey NO SIGNAL state). Uses the theme tokens (aurexis-tokens.css): dark by default, light via [data-theme="light"]. */
.ou-card {
  --ou-on: var(--text-sub);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 16px 14px; color: var(--text); min-width: 0;
}
.ou-card.is-over { --ou-on: var(--pos); }
.ou-card.is-under { --ou-on: var(--neg); }
.ou-title { margin: 0; font-family: Montserrat, Inter, system-ui, sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; text-align: center; }
.ou-select { width: 100%; max-width: 260px; }
.ou-market {
  width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: 500 0.836rem Inter, system-ui, sans-serif; text-align: center; text-align-last: center;
}
.ou-market:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ou-ring-box { width: 100%; max-width: 300px; aspect-ratio: 1 / 1; }
.ou-ring { width: 100%; height: 100%; display: block; }
.ou-track { fill: none; stroke: var(--border); stroke-width: 8; }
.ou-progress { fill: none; stroke: transparent; stroke-width: 8; stroke-linecap: round; transition: stroke .2s ease; }
.ou-card.is-over .ou-progress, .ou-card.is-under .ou-progress { stroke: var(--ou-on); }
/* v2.1 NO SIGNAL: grey label, neutral ring; the countdown keeps running to the next calculation */
.ou-card.is-none .ou-progress { stroke: var(--text-sub); opacity: .55; }
.ou-card.is-none .ou-label { color: var(--text-sub); }
.ou-inner { fill: var(--bg); stroke: var(--border); stroke-width: 1.5; }
.ou-spoke { stroke: var(--border); stroke-width: 2; stroke-linecap: round; }
.ou-spoke.is-on { stroke: var(--ou-on); stroke-width: 3.5; }
.ou-digit { fill: var(--bg); stroke: var(--text-sub); stroke-width: 2; }
.ou-digit.is-on { fill: var(--ou-on); stroke: var(--ou-on); }
.ou-num { fill: var(--text); font: 700 16.5px Inter, system-ui, sans-serif; pointer-events: none; }
.ou-num.is-on { fill: #FFFFFF; }
[data-theme="light"] .ou-num.is-on { fill: #111111; }
.ou-center { fill: var(--surface); stroke: var(--text-sub); stroke-width: 2; }
.ou-card.is-over .ou-center, .ou-card.is-under .ou-center { stroke: var(--ou-on); }
.ou-count { fill: var(--text); font: 700 17.5px Inter, system-ui, sans-serif; }
.ou-label {
  margin: 0; min-height: 1.6em; font-family: Montserrat, Inter, system-ui, sans-serif; font-weight: 800;
  font-size: 1.408rem; letter-spacing: .08em; color: var(--ou-on); text-align: center;
}
.ou-status { margin: 0; font-size: 0.704rem; color: var(--text-sub); text-align: center; }
.ou-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: 100%; }
.ou-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.ou-fine { margin: 2px 0 0; font-size: 0.66rem; color: var(--text-sub); text-align: center; line-height: 1.4; }
.ou-card.is-compact { padding: 14px 12px 12px; gap: 8px; }
.ou-card.is-compact .ou-ring-box { max-width: 260px; }
@media (prefers-reduced-motion: reduce) { .ou-progress { transition: none; } }
