[data-atlas-monocle][aria-label] {
  --monocle-violet: var(--accent-lens,#7C3AED);
  --monocle-gold: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .65rem;
  inline-size: fit-content;
  max-inline-size: 100%;
  min-block-size: 2.75rem;
  margin-block: .5rem;
  padding: .36rem .82rem .36rem .58rem;
  border: 1px solid color-mix(in srgb, var(--monocle-gold) 46%, transparent);
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--monocle-violet) 8%, transparent);
  font-size: 0 !important;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
[data-atlas-monocle] > *, [data-atlas-monocle]::-webkit-details-marker { display: none; }
[data-atlas-monocle]::before {
  content: "";
  display: inline-block;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  flex: none;
  border-radius: 50%;
  background: url("/assets/atlas-monocle.svg") center / contain no-repeat;
}
[data-atlas-monocle]::after {
  content: attr(data-atlas-monocle);
  color: var(--monocle-violet);
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
}
[data-atlas-monocle][aria-label]:focus-visible { outline: 2px solid #8B5CF6; outline-offset: 3px; }
details[open] > [data-atlas-monocle][aria-label],
[data-atlas-monocle][aria-expanded="true"] {
  border-color: color-mix(in srgb,var(--monocle-violet) 58%,var(--monocle-gold));
  background-color: color-mix(in srgb,var(--monocle-violet) 12%,var(--bg-paper));
}
details[open] > [data-atlas-monocle]::before,
[data-atlas-monocle-pulse]::before {
  animation: atlas-monocle-halo 220ms cubic-bezier(.23,1,.32,1) both;
}
details[open]:has(> summary[data-atlas-monocle]) > :not(summary) {
  animation: atlas-monocle-content 220ms cubic-bezier(.23,1,.32,1) both;
}
@keyframes atlas-monocle-halo {
  from {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--lens-halo,#8B5CF6) 28%, transparent),
                0 0 0 .1rem color-mix(in srgb, var(--monocle-gold) 26%, transparent);
  }
  to { box-shadow: 0 0 0 .65rem transparent, 0 0 0 .9rem transparent; }
}
@keyframes atlas-monocle-content {
  from { opacity: .84; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  details[open] > [data-atlas-monocle]::before,
  [data-atlas-monocle-pulse]::before,
  details[open]:has(> summary[data-atlas-monocle]) > :not(summary) { animation: none; }
}
