:root {
  color-scheme: light dark;
  --abie-font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.abie-identity-img.theme-dark,
.identity-asset.theme-dark,
.theme-dark {
  display: none;
}

.abie-identity-img.theme-light,
.identity-asset.theme-light,
.theme-light {
  display: block;
}

@media (prefers-color-scheme: dark) {
  .abie-identity-img.theme-dark,
  .identity-asset.theme-dark,
  .theme-dark {
    display: block;
  }

  .abie-identity-img.theme-light,
  .identity-asset.theme-light,
  .theme-light {
    display: none;
  }
}

body.light-mode-qa .abie-identity-img.theme-dark,
body.light-mode-qa .identity-asset.theme-dark,
body.light-mode-qa .theme-dark {
  display: none !important;
}

body.light-mode-qa .abie-identity-img.theme-light,
body.light-mode-qa .identity-asset.theme-light,
body.light-mode-qa .theme-light {
  display: block !important;
}

.abie-identity-frame,
.identity-stack {
  --identity-size: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--identity-size);
  height: var(--identity-size);
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.abie-identity,
.abie-identity-img,
.identity-asset {
  display: block;
  width: 100%;
  height: 100%;
}

.abie-identity-img,
.identity-asset {
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.abie-identity-img.theme-light,
.identity-asset.theme-light {
  mix-blend-mode: multiply;
}

.abie-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  font-family: var(--abie-font);
  line-height: 1;
  color: var(--label, #111723);
}

.abie-wordmark-main {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.abie-wordmark-sub {
  font-size: 0.34em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label3, rgba(17, 23, 35, 0.42));
}

.presence-state,
.focus-state {
  border-radius: 999px;
}

.presence-listening,
.focus-listening {
  animation: abieIdentityListening 1.9s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(111, 168, 255, 0.42));
}

.presence-thinking,
.focus-thinking {
  animation: abieIdentityThinking 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(157, 140, 255, 0.42));
}

.presence-speaking,
.focus-speaking,
.focus-active {
  filter: drop-shadow(0 0 16px rgba(111, 168, 255, 0.48));
}

.presence-speaking,
.focus-speaking {
  animation: abieIdentitySpeaking 1.35s ease-in-out infinite;
}

@keyframes abieIdentityListening {
  0%, 100% { opacity: 0.78; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes abieIdentityThinking {
  0%, 100% { opacity: 0.74; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.055); }
}

@keyframes abieIdentitySpeaking {
  0%, 100% { opacity: 0.86; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}
