/* static/css/radar.css: the one radar (v2.4.0). Every radar on the site is built from these rules
   and static/js/radar.js; templates link both, and the generated dashboards inline them (read from
   these files at generation time, never a hand-made copy). The rules every mode follows:
   - motion is transform/rotate/translate and opacity only, and every radar's box is fixed from the
     first frame, so nothing here is a layout shift;
   - every moving radar pauses off-screen and while the tab is hidden (radar.js adds .cr-paused);
   - prefers-reduced-motion shows the resting or final state at once: no sweep, no pulse;
   - colours are the app's tokens. Public pages don't load ds.css, so the engine colours fall back to
     the palette's own values (CLAUDE.md's table, ds.css's dark and light), and "you" to --acc,
     which is the same orange there.
   Modes: .cr-field (ambient: content-page headers, the sign-in panels, the small form pages),
   .cr-hero (the homepage demo run), .cr-mini (the free check), .cr-disc (404), .cr-gauge (the Free
   dashboard's score card), .cr-bg / .cr-watermark (rings only: the app and the dashboards), and the
   shared lock-on (.cr-locked, .cr-burst). */

.cr, .cr-bg, .cr-watermark {
  --cr-you: var(--you, var(--acc));
  --cr-scan: var(--acc2, var(--grid));
  --cr-line: var(--border2, var(--bd));
  --cr-faint: var(--border, var(--bd));
  --cr-mu: var(--mu);
  --cr-card: var(--surface, var(--card));
  --cr-ground: var(--bg);
  --cr-gpt: var(--eng-chatgpt, #D68595);
  --cr-gem: var(--eng-gemini, #4FA8BC);
  --cr-ppl: var(--eng-perplexity, #7088E4);
}
[data-theme=light] .cr, [data-theme=light] .cr-bg {
  --cr-gpt: var(--eng-chatgpt, #B94687);
  --cr-gem: var(--eng-gemini, #1A8BA5);
  --cr-ppl: var(--eng-perplexity, #3557C4);
}

/* each engine's colour: a ring's line and its name (currentColor), the answer card's dot */
.cr-gpt { color: var(--cr-gpt); } .cr-gem { color: var(--cr-gem); } .cr-ppl { color: var(--cr-ppl); }
.cr-bg-gpt { background: var(--cr-gpt); } .cr-bg-gem { background: var(--cr-gem); } .cr-bg-ppl { background: var(--cr-ppl); }

/* ── the beam: a sharp leading edge and a trail fading out behind it (clockwise) ─────────────── */
.cr-beam {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 288deg,
    color-mix(in srgb, var(--cr-scan) 5%, transparent) 318deg,
    color-mix(in srgb, var(--cr-scan) 30%, transparent) 359deg,
    color-mix(in srgb, var(--cr-scan) 62%, transparent) 359.6deg, transparent 360deg);
  animation: cr-turn var(--cr-period, 7s) linear infinite;
}
@keyframes cr-turn { from { rotate: 0deg } to { rotate: 360deg } }
/* the 2 px line on the leading edge, on radars whose box never changes size (a stage) */
.cr-beam.cr-edge::after {
  content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(to top, transparent 8%, color-mix(in srgb, var(--cr-scan) 95%, transparent));
}

/* ── ambient field: rings centred at its top, the beam turning about that point ─────────────────
   The beam's box is (field width + 2R) × 2R, placed by fixed insets, so its start point never moves
   when the field's width changes (a scrollbar appearing, the page arriving in pieces): a box placed
   at left: 50% moved with every change of its parent's size (v2.2.1's 0.124). Its centre is the
   field's top centre; --cr-dx (radar.js, from the eyebrow dot) moves rings and beam by translate. */
.cr-field {
  position: absolute; left: 0; right: 0; top: 0; height: var(--cr-h, 460px);
  overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(60% 100% at 50% 0%, #000 35%, transparent 100%);
          mask-image: radial-gradient(60% 100% at 50% 0%, #000 35%, transparent 100%);
}
.cr-field.cr-fill { height: auto; bottom: 0; }
.cr-field .cr-rings {
  position: absolute; inset: 0;
  background-image: repeating-radial-gradient(circle at calc(50% + var(--cr-dx, 0px)) 0, transparent 0,
    transparent calc(var(--cr-gap, 60px) - 2px), color-mix(in srgb, var(--cr-line) 88%, transparent) calc(var(--cr-gap, 60px) - 1px),
    color-mix(in srgb, var(--cr-line) 88%, transparent) var(--cr-gap, 60px));
  opacity: var(--cr-ring-op, 1);
}
.cr-field .cr-beam {
  --cr-r: 700px;
  left: calc(-1 * var(--cr-r)); right: calc(-1 * var(--cr-r)); top: calc(-1 * var(--cr-r)); height: calc(2 * var(--cr-r));
  border-radius: 0; translate: var(--cr-dx, 0px) 0;
  -webkit-mask-image: radial-gradient(circle var(--cr-r) at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(circle var(--cr-r) at 50% 50%, #000 55%, transparent 100%);
  opacity: var(--cr-beam-op, 1);
}
/* the small form pages: today's quieter strength */
.cr-field.cr-subtle { --cr-ring-op: .3; --cr-beam-op: .5; }

/* ── the eyebrow dot under a content page's beam: lit each time the beam points straight down at it
   (half a turn after the beam points up, so its animation starts half a period early) ──────────── */
.cr-eyedot {
  position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cr-mu, var(--mu));
}
.cr-eyedot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--you, var(--acc)); opacity: 0;
  animation: cr-eye-burst var(--cr-period, 7s) linear infinite; animation-delay: calc(var(--cr-period, 7s) / -2);
}
/* lit = an orange disc with its glow over the grey dot, faded by opacity (never an animated colour or shadow) */
.cr-eyedot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--you, var(--acc)); opacity: 0;
  box-shadow: 0 0 10px color-mix(in srgb, var(--you, var(--acc)) 50%, transparent);
  animation: cr-eye var(--cr-period, 7s) linear infinite; animation-delay: calc(var(--cr-period, 7s) / -2);
}
@keyframes cr-eye { 0%, 35% { opacity: 1 } 55%, 100% { opacity: 0 } }
@keyframes cr-eye-burst { 0% { opacity: .9; scale: .4 } 12% { opacity: 0; scale: 2.2 } 100% { opacity: 0; scale: 2.2 } }
/* an eyebrow that carries the dot: its own ::before dot stands down */
.cr-eyebrow::before, .cr-eyebrow::after { display: none !important; }
.cr-eyebrow { gap: 8px; }

/* ── a square stage (hero, mini scope, 404, gauge): every position is a % of the stage ───────── */
.cr-stage { position: relative; aspect-ratio: 1 / 1; }
.cr-stage .cr-beam { inset: 6%; }
.cr-ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; box-sizing: border-box; translate: -50% -50%;
  /* width/height: calc(2R% + 1.5px), so the line's centre is exactly R% from the stage's centre */
  border: 1.5px solid currentColor; opacity: .55;
  transition: opacity .6s;
}
/* the lock-on glow is drawn once, on its own layer, and faded in (opacity only) */
.cr-ring::after {
  content: ''; position: absolute; inset: -1.5px; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cr-you) 10%, transparent), 0 0 24px -4px color-mix(in srgb, var(--cr-you) 35%, transparent);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1);
}
.cr-locked .cr-ring::after { opacity: 1; }
.cr-pill {
  position: absolute; left: 50%; translate: -50% -50%; white-space: nowrap; pointer-events: none;
  font: 600 11px/1.3 var(--font-b, Inter, ui-sans-serif, system-ui, sans-serif);
  padding: 2px 8px; border-radius: 999px; background: var(--cr-ground); border: 1px solid var(--cr-faint);
}
.cr-dot { position: absolute; width: 14px; height: 14px; translate: -50% -50%; pointer-events: none; }
/* every dot's box is 14 px in every state; the 9 px ones are the same disc scaled (a transform), so a
   dot lighting up never changes a box, and never moves the page */
.cr-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; box-sizing: border-box; scale: .643;
  border: 2.33px solid var(--cr-line); background: var(--cr-ground);
}
.cr-dot.answered::before { border-color: var(--cr-mu); background: var(--cr-mu); animation: cr-pop-s .35s cubic-bezier(.34, 1.4, .64, 1); }
.cr-dot.named::before {
  scale: 1; border-color: var(--cr-you); background: var(--cr-you);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cr-you) 16%, transparent), 0 0 16px color-mix(in srgb, var(--cr-you) 60%, transparent);
  animation: cr-pop .45s cubic-bezier(.34, 1.5, .64, 1);
}
@keyframes cr-pop { from { scale: .2; opacity: 0 } to { scale: 1; opacity: 1 } }
@keyframes cr-pop-s { from { scale: .13; opacity: 0 } to { scale: .643; opacity: 1 } }
/* resting after a lock-on: the named dots breathe three times (7.8 s) — a glow layer's opacity and
   scale only, paused off-screen like everything else — then hold a static glow: the last breath eases
   into the resting value, so nothing jumps, and once it ends nothing runs and the layer is released */
.cr-dot.named::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--cr-you) 45%, transparent) 0, transparent 70%);
}
.cr-locked .cr-dot.named::after { opacity: .45; animation: cr-breathe 7.8s ease-in-out 1; }
@keyframes cr-breathe {
  0%, 33.333%, 66.667% { opacity: .15; scale: .8 }
  16.667%, 50%, 83.333% { opacity: .85; scale: 1.25 }
  100% { opacity: .45; scale: 1 }
}

/* ── the shared lock-on: the beam eases out and fades (radar.js), the rings glow, one ring burst ─ */
.cr-burst {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  translate: -50% -50%; border: 2px solid var(--cr-lock, var(--cr-you)); opacity: 0;
  animation: cr-burst 1.1s cubic-bezier(.2, .8, .2, 1) 1 both;
}
@keyframes cr-burst { 0% { opacity: .9; scale: .4 } 100% { opacity: 0; scale: 1.6 } }

/* ── paused: off-screen, or the tab hidden (radar.js) ──────────────────────────────────────────── */
/* the paused element's own ::before/::after too: the eyebrow dot is paused itself, and its burst is its ::after */
.cr-paused, .cr-paused::before, .cr-paused::after, .cr-paused *, .cr-paused *::before, .cr-paused *::after,
html.cr-hidden .cr, html.cr-hidden .cr *, html.cr-hidden .cr *::before, html.cr-hidden .cr *::after,
html.cr-hidden .cr-eyedot::before, html.cr-hidden .cr-eyedot::after { animation-play-state: paused !important; }

/* ── the homepage demo run (prototype A) ───────────────────────────────────────────────────────── */
.cr-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.cr-hero[hidden] { display: none; }
.cr-hero .cr-stage { width: 100%; max-width: 540px; }
.cr-hero .cr-grid {
  position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 1px solid var(--cr-faint);
  background: radial-gradient(circle, var(--cr-card) 0%, transparent 72%),
              repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--cr-scan) 7%, transparent) 23px 24px);
}
.cr-hero .cr-cross-v, .cr-hero .cr-cross-h { position: absolute; pointer-events: none; }
.cr-hero .cr-cross-v { left: 50%; top: 4%; bottom: 4%; width: 1px; translate: -50% 0;
  background: linear-gradient(var(--cr-faint), transparent 40%, transparent 60%, var(--cr-faint)); }
.cr-hero .cr-cross-h { top: 50%; left: 4%; right: 4%; height: 1px; translate: 0 -50%;
  background: linear-gradient(90deg, var(--cr-faint), transparent 40%, transparent 60%, var(--cr-faint)); }
.cr-hero .cr-beam { animation: none; inset: 6%; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 288deg, rgba(var(--acc2-rgb, 79, 168, 188), .05) 318deg,
    rgba(var(--acc2-rgb, 79, 168, 188), .30) 359deg, transparent 360deg); }
.cr-hero .cr-beam.cr-edge::after { background: linear-gradient(to top, transparent 8%, rgba(var(--acc2-rgb, 79, 168, 188), .95)); }
/* resting (and before the first run) the beam isn't drawn at all: no layer left behind (radar.js) */
.cr-hero .cr-beam.cr-gone { display: none; }
.cr-hero .cr-centre {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: var(--cr-card); border: 1px solid var(--cr-line); box-shadow: var(--shadow, 0 14px 36px -10px rgba(20, 25, 30, .16));
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cr-hero .cr-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px; transition: opacity .35s, scale .5s cubic-bezier(.2, .8, .2, 1); }
.cr-hero .cr-face > * { width: 100%; }
/* each line of the centre has its own fixed height (the name up to two lines, the rest one), so a longer
   name or count never moves the lines beside it */
.cr-hero .cr-biz { height: 2.4em; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cr-hero .cr-meta, .cr-hero .cr-count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-hero .cr-biz { font-family: var(--font-d, Sora, sans-serif); font-weight: 600; font-size: clamp(12px, 1.5vw, 15px); color: var(--txp); line-height: 1.2; }
.cr-hero .cr-meta { font-size: 11px; color: var(--cr-mu); }
.cr-hero .cr-count { font-family: var(--font-m, 'JetBrains Mono', monospace); font-size: clamp(9px, 2.6vw, 11px); color: var(--cr-scan); margin-top: 4px; }
.cr-hero .cr-score { font-family: var(--font-d, Sora, sans-serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px); color: var(--cr-you); line-height: 1; }
.cr-hero .cr-score small { font-size: .45em; }
.cr-hero .cr-result-text { font-size: 11px; line-height: 1.3; color: var(--tx); max-width: 120px; }
.cr-hero .cr-score { display: flex; justify-content: center; align-items: baseline; }
.cr-hero .cr-face.cr-off { opacity: 0; scale: .92; }
.cr-hero .cr-tag { position: absolute; right: 0; top: 0; font-family: var(--font-m, 'JetBrains Mono', monospace);
  font-size: 10.5px; letter-spacing: .1em; color: var(--cr-mu); }
.cr-hero .cr-card {
  position: absolute; left: 0; bottom: 2%; width: min(270px, 62%); background: var(--cr-card); border: 1px solid var(--cr-faint);
  border-radius: 14px; box-shadow: var(--shadow, 0 14px 36px -10px rgba(20, 25, 30, .16)); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px; text-align: start; height: 112px; box-sizing: border-box; overflow: hidden;
  transition: opacity .35s, translate .35s cubic-bezier(.2, .8, .2, 1);
}
.cr-hero .cr-card.cr-off, .cr-hero .cr-line.cr-off { opacity: 0; }
.cr-hero .cr-card.cr-off { translate: 0 8px; }
.cr-hero .cr-card-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cr-mu); }
.cr-hero .cr-card-top b { font-weight: 600; color: var(--txp); }
.cr-hero .cr-q { font-size: 13px; color: var(--tx); }
.cr-hero .cr-named-chip { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--cr-you);
  background: color-mix(in srgb, var(--cr-you) 10%, transparent); padding: 3px 9px; border-radius: 999px; }
.cr-hero .cr-eng-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
/* the phone's answer line under the radar, two rows: "{Engine} named {business}", then the question in
   quotes; each row one line (an ellipsis if it must), the box two lines tall from the first frame, so it
   never moves the page */
.cr-hero .cr-line { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px;
  line-height: 18px; text-align: center; height: 38px; overflow: hidden; transition: opacity .3s; }
.cr-hero .cr-line > * { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-hero .cr-l1 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cr-hero .cr-l1 > * { flex: none; }
.cr-hero .cr-l1 > .cr-you { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cr-hero .cr-line b { font-weight: 600; color: var(--txp); }
.cr-hero .cr-line .cr-you { color: var(--cr-you); font-weight: 600; }
.cr-hero .cr-line .cr-lq { color: var(--cr-mu); }
.cr-hero .cr-under { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.cr-hero .cr-under > * { width: 100%; box-sizing: border-box; }
/* the counter's box is fixed (full width, two lines tall), whatever it says */
.cr-hero .cr-counter { font-family: var(--font-m, 'JetBrains Mono', monospace); font-size: 12.5px; line-height: 1.3; color: var(--tx); text-align: center;
  height: 2.7em; overflow: hidden; display: flex; align-items: center; justify-content: center; text-wrap: balance; }
/* the buttons: one 44 px row under the legend, the same height at every width and in every state, never
   empty — "Skip to result" during the run, Replay after it, and after the third run the call to action with
   a small "Replay" link beside it (the link only from 360 px up). Each is centred in the row on its own
   (absolutely placed), and shown or hidden by visibility, never display, so one appearing never moves
   another or the page */
.cr-hero .cr-actions { position: relative; height: 44px; width: 100%; }
.cr-hero .cr-actions > *, .cr-hero .cr-end { position: absolute; left: 50%; top: 0; translate: -50% 0; white-space: nowrap; }
.cr-hero .cr-end { display: flex; align-items: center; gap: 8px; height: 44px; }
.cr-hero .cr-end > * { position: static; }
/* the group is only a box for its two buttons: it never takes a click meant for Replay under it */
.cr-hero .cr-end { pointer-events: none; }
.cr-hero .cr-end > :not([hidden]) { pointer-events: auto; }
.cr-hero .cr-actions [hidden] { display: inline-flex !important; visibility: hidden; }
.cr-hero .cr-replay-link { min-height: 44px; }
.cr-hero .cr-replay, .cr-hero .cr-cta, .cr-hero .cr-skip { min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 500 13px var(--font-b, Inter, sans-serif); display: inline-flex; align-items: center; justify-content: center; }
.cr-hero .cr-replay, .cr-hero .cr-skip { border: 1px solid var(--cr-line); background: var(--cr-card); color: var(--txp); }
.cr-hero .cr-replay-link { border: 0; background: none; padding: 0 6px; color: var(--cr-mu); text-decoration: underline; text-underline-offset: 3px;
  font: 500 13px var(--font-b, Inter, sans-serif); cursor: pointer; display: inline-flex; align-items: center; }
.cr-hero .cr-replay-link:focus-visible { outline: 2px solid var(--cr-you); outline-offset: 2px; }
.cr-hero .cr-cta { border: 0; background: var(--cr-you); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.cr-hero .cr-cta:hover { filter: brightness(1.08); }
.cr-hero .cr-cta.cr-in { animation: cr-cta-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes cr-cta-in { from { opacity: 0; translate: 0 6px } to { opacity: 1; translate: 0 0 } }
.cr-hero .cr-replay:focus-visible, .cr-hero .cr-cta:focus-visible, .cr-hero .cr-skip:focus-visible { outline: 2px solid var(--cr-you); outline-offset: 2px; }
.cr-hero .cr-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: var(--cr-mu); }
.cr-hero .cr-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cr-hero .cr-legend i { display: inline-block; border-radius: 50%; }
.cr-hero .cr-legend .cr-l-named { width: 10px; height: 10px; background: var(--cr-you); }
.cr-hero .cr-legend .cr-l-answered { width: 8px; height: 8px; background: var(--cr-mu); }
.cr-hero .cr-legend .cr-l-waiting { width: 8px; height: 8px; border: 1.5px solid var(--cr-line); box-sizing: border-box; }
[dir=rtl] .cr-hero .cr-card { left: auto; right: 0; }
[dir=rtl] .cr-hero .cr-tag { right: auto; left: 0; }
@media (max-width: 600px) {
  .cr-hero .cr-card { display: none; }
  .cr-hero .cr-line { display: flex; }
  /* "DEMO RUN · DEMO DATA" gets its own line above the stage (at the stage's corner it ran into the
     outer ring and the Perplexity pill) */
  .cr-hero .cr-stage { margin-top: 22px; }
  .cr-hero .cr-tag, [dir=rtl] .cr-hero .cr-tag { top: -22px; left: 0; right: 0; text-align: center; line-height: 16px; }
  .cr-hero .cr-cta { padding: 0 14px; }
}
/* under 360 px the call to action and its link don't fit one row: the call to action alone */
@media (max-width: 359.98px) {
  .cr-hero .cr-actions .cr-replay-link { display: none !important; }
}

/* ── the free check's mini scope: one Gemini ring, a dot per question, the beam ───────────────── */
.cr-mini { width: 132px; }
.cr-mini .cr-beam { --cr-period: 3.2s; inset: 4%; }
.cr-mini .cr-ring { width: calc(76% + 1.5px); height: calc(76% + 1.5px); color: var(--cr-gem); }
.cr-mini .cr-pill { top: 12%; color: var(--cr-gem); font-size: 10px; padding: 1px 7px; }
.cr-mini .cr-grid { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cr-line);
  background: repeating-radial-gradient(circle, transparent 0 20px, color-mix(in srgb, var(--cr-line) 60%, transparent) 21px 22px); }
.cr-mini.cr-locked .cr-ring { opacity: .9; }

/* ── 404: empty rings, the beam searching, the code in the middle ─────────────────────────────── */
.cr-disc { width: 200px; margin: 0 auto 28px; border-radius: 50%; overflow: hidden; border: 1px solid var(--cr-faint);
  background: radial-gradient(circle at 50% 50%, var(--cr-card) 0%, var(--cr-ground) 100%);
  display: flex; align-items: center; justify-content: center; }
.cr-disc::before { content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: .6;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 32px, var(--cr-line) 33px, var(--cr-line) 34px); }
.cr-disc .cr-beam { --cr-period: 6s; inset: 0; }
.cr-disc .cr-code { position: relative; z-index: 1; font-family: var(--font-mono, var(--font-m)); font-size: 26px; font-weight: 700;
  color: var(--txp); letter-spacing: .02em; }

/* ── the Free dashboard's score card: rings and the beam behind the gauge ─────────────────────── */
.cr-gauge { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.cr-gauge::before { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 26px, var(--cr-line) 27px, var(--cr-line) 28px); }
[data-theme=light] .cr-gauge::before { opacity: .65; }
.cr-gauge .cr-beam { --cr-period: 5s; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; }

/* ── rings only, no beam: the app's background and the dashboards' ───────────────────────────── */
.cr-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 80%);
}
.cr-bg::before {
  content: ''; position: absolute; inset: 0; opacity: .4;
  background-image: repeating-radial-gradient(circle at 50% 0%, transparent 0, transparent 68px, var(--cr-line) 69px, var(--cr-line) 70px);
}
[data-theme=light] .cr-bg::before { opacity: .55; }
.cr-watermark {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; opacity: .11;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 26px, var(--cr-line) 27px, var(--cr-line) 28px);
}
[data-theme=light] .cr-watermark { opacity: .16; }

/* ── reduced motion: the resting state at once ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cr-beam { animation: none !important; opacity: 0 !important; }
  .cr-eyedot { background: var(--you, var(--acc)); }
  .cr-eyedot::before { animation: none !important; opacity: 1; }
  .cr-eyedot::after, .cr-burst { animation: none !important; opacity: 0 !important; }
  .cr-dot.answered::before, .cr-dot.named::before, .cr-locked .cr-dot.named::after, .cr-hero .cr-cta.cr-in { animation: none !important; }
  .cr-hero .cr-face, .cr-hero .cr-card, .cr-ring, .cr-ring::after { transition: none !important; }
}
