/* Info pill and popover. */

.info-pill {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 0;
  margin: 0 0 0 0.35rem;
  padding: 0;
  vertical-align: -0.15em;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: italic 600 0.68rem/1 Georgia, "Times New Roman", serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: help;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.info-pill:hover, .info-pill[aria-expanded="true"] { color: var(--text); border-color: var(--text); background: var(--surface-3); }
.info-pill:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.info-pill[hidden] { display: none; }
.set-panels section .info-pill, .set-panels .set-heading .info-pill { margin-top: 0; margin-bottom: 0; width: 1.15rem; min-height: 0; border-radius: 50%; background: transparent; }
.set-heading .info-pill { vertical-align: 0.15em; }
label.sync-check .info-pill { align-self: center; margin-left: 0.1rem; }
#info-pop {
  position: fixed;
  inset: auto;
  margin: 0;
  max-width: min(18rem, calc(100vw - 1rem));
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.8rem;
  background: var(--surface-3);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  overflow: visible;
}
#info-pop[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  #info-pop:not([hidden]) { animation: info-in 0.14s ease-out; }
  @keyframes info-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
}
