/* ⓘ-Knopf in der Zeile und aufklappende Erklärung (backend/functions/info_tip.php, js/info-tip.js).
   Der Knopf nimmt die Textfarbe der Zeile an – passt auf hellen Karten und im dunklen Glas-Look. */
/* Beschriftung und ⓘ zusammen in einer Zeile (in gestapelten Feldbeschriftungen) */
.info-line { display: inline; }
.info-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; margin: 0 0 0 6px; padding: 0; vertical-align: middle;
  border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; opacity: .75;
  font: italic 700 13px/1 Georgia, "Times New Roman", serif; cursor: pointer;
  position: relative;
}
/* größere Tippfläche (44 px), ohne die Zeile zu verschieben */
.info-btn::after { content: ""; position: absolute; inset: -11px; }
.info-btn:hover, .info-btn:focus-visible { opacity: 1; }
.info-btn[aria-expanded="true"] { background: #2563eb; border-color: #2563eb; color: #fff; opacity: 1; }
.info-pop {
  display: block; margin: 8px 0 10px; padding: 12px 14px; max-width: 640px; box-sizing: border-box;
  background: #fff; color: #334155; border: 1px solid #dbe3ef; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22);
  font: 400 13px/1.55 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; white-space: normal;
}
.info-pop[hidden] { display: none; }
.info-p { display: block; margin: 0 0 8px; }
.info-p:last-child { margin-bottom: 0; }
.info-code {
  display: block; margin: 4px 0 10px; padding: 8px 10px; overflow-x: auto;
  background: #f1f5f9; color: #0f172a; border-radius: 8px;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre;
}
.info-code:last-child { margin-bottom: 0; }
/* Ältere Boxen mit <p>-Absätzen (Turnier einstellen, Scheibenplan) */
.info-pop p { margin: 0 0 8px; }
.info-pop p:last-child { margin-bottom: 0; }
/* In Überschriften, die ihre Teile verteilen (flex + space-between): ⓘ bleibt am Text, der Rest rückt nach rechts */
h1 > .info-btn, h2 > .info-btn, h3 > .info-btn { margin-right: auto; }
