/* PART OF ATLAS — scoped footer component, no dependencies. */
.atlas-badge {
  --atlas-ink: #14282b;
  --atlas-muted: #586b69;
  --atlas-accent: #c6f36b;
  --atlas-tooltip-bg: #14282b;
  --atlas-tooltip-ink: #f5f8f7;
  --atlas-star-color: #6b8d46;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 188px;
  min-height: 48px;
  max-width: 100%;
  padding: 2px;
  color: var(--atlas-ink);
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.atlas-badge *, .atlas-badge *::before, .atlas-badge *::after { box-sizing: border-box; }
.atlas-badge[data-theme="dark"],
.atlas-badge[data-theme="auto"][data-atlas-theme="dark"] {
  --atlas-ink: #f5f8f7;
  --atlas-muted: #a7bbb7;
  --atlas-tooltip-bg: #c6f36b;
  --atlas-tooltip-ink: #14282b;
  --atlas-star-color: #c6f36b;
}
@media (prefers-color-scheme: dark) {
  .atlas-badge[data-theme="auto"]:not([data-atlas-theme]) {
    --atlas-ink: #f5f8f7;
    --atlas-muted: #a7bbb7;
    --atlas-tooltip-bg: #c6f36b;
    --atlas-tooltip-ink: #14282b;
    --atlas-star-color: #c6f36b;
  }
}
@supports (color: light-dark(white, black)) {
  .atlas-badge[data-theme="auto"]:not([data-atlas-theme]) {
    --atlas-ink: light-dark(#14282b, #f5f8f7);
    --atlas-muted: light-dark(#586b69, #a7bbb7);
    --atlas-tooltip-bg: light-dark(#14282b, #c6f36b);
    --atlas-tooltip-ink: light-dark(#f5f8f7, #14282b);
    --atlas-star-color: light-dark(#6b8d46, #c6f36b);
  }
}
.atlas-badge .atlas-icon-wrap { position: relative; display: block; flex: 0 0 42px; width: 42px; height: 42px; }
.atlas-badge .atlas-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 12px;
  background: var(--atlas-accent);
  filter: blur(11px);
  opacity: 0;
  transition: opacity 250ms ease;
}
.atlas-badge .atlas-icon { display: block; width: 42px; height: 42px; overflow: visible; }
.atlas-badge .atlas-needle { transform-box: fill-box; transform-origin: center; animation: atlas-idle-turn 12s linear infinite; }
.atlas-badge[data-atlas-steered] .atlas-needle { animation: none; }
.atlas-badge .atlas-orbit { transform-box: view-box; transform-origin: 32px 32px; animation: atlas-orbit-turn 8s linear infinite; }
.atlas-badge .atlas-ring { stroke-dasharray: 132; stroke-dashoffset: 0; }
.atlas-badge.is-ready:not(.is-visible) .atlas-ring { stroke-dashoffset: 132; opacity: 0; }
.atlas-badge.is-ready:not(.is-visible) .atlas-orbit { opacity: 0; }
.atlas-badge.is-visible .atlas-ring { animation: atlas-ring-draw 1100ms cubic-bezier(.2,.7,.2,1) both; }
.atlas-badge .atlas-constellation { opacity: 0; pointer-events: none; color: var(--atlas-star-color); transform-box: view-box; transform-origin: 32px 32px; }
.atlas-badge .atlas-constellation-lines { stroke-dasharray: 340; stroke-dashoffset: 340; }
.atlas-badge.is-visible .atlas-constellation { animation: atlas-constellation-reveal 2600ms ease-out both; }
.atlas-badge.is-visible .atlas-constellation-lines { animation: atlas-star-links 2400ms cubic-bezier(.2,.65,.2,1) both; }
.atlas-badge.is-paused .atlas-needle,
.atlas-badge.is-paused .atlas-orbit,
.atlas-badge.is-paused .atlas-ring,
.atlas-badge.is-paused .atlas-constellation,
.atlas-badge.is-paused .atlas-constellation-lines { animation-play-state: paused; }
.atlas-badge .atlas-type { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.atlas-badge .atlas-overline { color: var(--atlas-muted); font-size: 8px; font-weight: 700; letter-spacing: 1.8px; white-space: nowrap; }
.atlas-badge .atlas-wordmark { color: var(--atlas-ink); font-size: 23px; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.atlas-badge .atlas-link-arrow { display: block; flex: 0 0 14px; width: 14px; height: 14px; margin-left: auto; margin-right: 8px; color: var(--atlas-muted); transition: transform 220ms ease, color 220ms ease; }
.atlas-badge .atlas-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 11px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--atlas-tooltip-bg);
  color: var(--atlas-tooltip-ink);
  box-shadow: 0 6px 24px #14282b18;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  pointer-events: none;
}
.atlas-badge:focus-visible { outline: 2px solid #6c9630; outline-offset: 5px; }
.atlas-badge:focus-visible .atlas-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.atlas-badge:focus-visible .atlas-icon-wrap::before { opacity: .65; }
.atlas-badge:focus-visible .atlas-link-arrow { transform: translate(2px,-2px); color: var(--atlas-ink); }
@media (hover: hover) and (pointer: fine) {
  .atlas-badge:hover .atlas-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
  .atlas-badge:hover .atlas-icon-wrap::before { opacity: .65; }
  .atlas-badge:hover .atlas-link-arrow { transform: translate(2px,-2px); color: var(--atlas-ink); }
}
@keyframes atlas-idle-turn { to { transform: rotate(360deg); } }
@keyframes atlas-orbit-turn { to { transform: rotate(-360deg); } }
@keyframes atlas-ring-draw { from { stroke-dashoffset: 132; opacity: 0; } 10% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes atlas-constellation-reveal { 0% { opacity: 0; transform: scale(.82); } 16% { opacity: 1; transform: scale(1); } 62% { opacity: .9; } 100% { opacity: 0; transform: scale(1.07); } }
@keyframes atlas-star-links { 0% { stroke-dashoffset: 340; } 52%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .atlas-badge .atlas-needle, .atlas-badge .atlas-orbit, .atlas-badge .atlas-ring,
  .atlas-badge .atlas-constellation, .atlas-badge .atlas-constellation-lines { animation: none !important; }
  .atlas-badge .atlas-constellation { opacity: 0 !important; }
  .atlas-badge .atlas-needle { transform: none !important; }
  .atlas-badge .atlas-ring { opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .atlas-badge .atlas-orbit { opacity: 1 !important; }
  .atlas-badge .atlas-tooltip, .atlas-badge .atlas-icon-wrap::before, .atlas-badge .atlas-link-arrow { transition: none; }
}
