.gt-info-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; /* 44px -- real touch target, not just a small hover dot */
  height: 2.75rem;
  margin-left: 0.2rem;
  vertical-align: middle;
  border: 1px solid var(--border-color, #4b5563);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary, #9ca3af);
  font-size: 1rem;
  line-height: 1;
  cursor: help;
}

.gt-info-btn:hover,
.gt-info-btn:focus-visible,
.gt-info-btn.is-open {
  color: var(--text-primary, #f9fafb);
  border-color: var(--primary, #6366f1);
}

/* The source copy stays inside the button, permanently hidden -- JS
   (info-tooltip.js) clones its content into a `.gt-info-tooltip--portal`
   appended to <body> instead, since position:absolute here would get
   silently clipped by ancestor wb-cards' own overflow:hidden. */
.gt-info-tooltip {
  display: none;
  width: 320px;
  max-width: min(80vw, 320px);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color, #374151);
  border-radius: var(--radius-md, 8px);
  background: var(--bg-secondary, #1f2937);
  color: var(--text-primary, #f9fafb);
  font-size: 0.85rem;
  font-weight: 400;
  text-align: left;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.gt-info-tooltip--portal {
  display: block;
  position: fixed;
  z-index: 1000;
  overflow-y: auto;
}
