/* Gemeinsamer, bewusst unaufdringlicher Feedback-Knopf für Portal und
   Spiele: kein Pop-up beim Laden, nur ein kleiner, gedämpfter Knopf unten
   rechts, der sich erst auf Klick öffnet. Eigene, feste Farben statt der
   CSS-Variablen der einzelnen Seiten, damit der Knopf überall gleich und
   unabhängig vom jeweiligen Farbschema aussieht. */
.feedback-knopf {
  position: fixed; bottom: 14px; right: 14px; z-index: 9997;
  background: #eaf6fa; color: #003a4d; border: 1px solid #7cc9e0;
  border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 1px 5px #00000025; font-family: system-ui, sans-serif;
  transition: transform .12s, box-shadow .12s;
}
.feedback-knopf:hover { transform: translateY(-1px); box-shadow: 0 3px 8px #00000030; }

.feedback-panel {
  position: fixed; bottom: 58px; right: 14px; z-index: 9998;
  width: min(320px, calc(100vw - 28px));
  background: #ffffff; color: #2a231c; border: 1px solid #ddd4c2;
  border-radius: 14px; padding: 14px; box-shadow: 0 4px 18px #00000030;
  font-family: system-ui, sans-serif;
}
.feedback-panel .fb-hinweis { font-size: 16px; color: #4f473d; margin-bottom: 6px; }
/* Datenschutz-Hinweis (Auftrag 17.11.2026): etwas kleiner als der Hinweis,
   aber noch gut lesbar (Lesetext mindestens 15 px). */
.feedback-panel .fb-datenhinweis { font-size: 15px; line-height: 1.35; color: #4f473d; margin-bottom: 2px; }
.feedback-panel .fb-datenschutz {
  display: inline-block; font-size: 15px; color: #0d2b52; text-decoration: underline;
  padding: 6px 0; margin-bottom: 4px;
}
/* Niedrige Bildschirme (Handy quer): Kasten darf nicht oben herausragen. */
.feedback-panel { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; box-sizing: border-box; }
@media (max-height: 460px) {
  .feedback-panel textarea { min-height: 64px; }
  .feedback-panel .fb-datenschutz { padding: 2px 0; }
  .feedback-panel .fb-knopfzeile { margin-top: 8px; }
  .feedback-panel { padding: 10px 14px; }
  .feedback-panel .fb-hinweis { margin-bottom: 2px; }
}
/* Nutzer-Feedback: "Der Kursor springt blöd wenn ich das schreibe." -
   font-size unter 16px lässt iOS Safari beim Fokussieren eines Feldes
   automatisch hineinzoomen (bekannte, gut dokumentierte Eigenart); in
   Kombination mit user-scalable=no (siehe index.html) und dem fixed
   positionierten Panel wirkt das wie ein ruckartiges "Springen" während
   des Tippens. 16px ist die Schwelle, ab der kein Auto-Zoom ausgelöst wird. */
.feedback-panel textarea {
  width: 100%; min-height: 90px; box-sizing: border-box;
  border: 1px solid #ddd4c2; border-radius: 8px; padding: 8px; font-size: 16px;
  font-family: inherit; resize: vertical;
}
.feedback-panel .fb-knopfzeile { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.feedback-panel button {
  border: 1px solid #ddd4c2; border-radius: 8px; padding: 6px 12px;
  font-size: 13px; cursor: pointer; background: #fff; font-family: inherit;
}
.feedback-panel .fb-senden { background: #0d2b52; color: #fff; border-color: #0d2b52; }
.feedback-panel .fb-meldung { font-size: 12px; margin-top: 6px; color: #a5342a; }
.feedback-panel .fb-danke { font-size: 14px; }

/* Kleines Feedback-Symbol auf jeder Portal-Kachel, zusammen mit dem
   MEMO-Mini-Knopf in .kachel-mini-knoepfe (siehe gemeinsam.css) oben
   rechts angepinnt - öffnet denselben Feedback-Kasten, aber schon mit dem
   jeweiligen Spiel als Seite markiert. */
.feedback-mini-knopf {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: #eaf6fa; color: #003a4d; border: 1px solid #7cc9e0;
  font-size: 15px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 5px #00000025;
  transition: transform .12s, box-shadow .12s;
}
.feedback-mini-knopf:hover { transform: scale(1.1); box-shadow: 0 3px 8px #00000030; }

/* Heller Knopf im selben hellblauen Feedback-Farbton, aber als normale
   Schaltfläche statt kleinem Kreis - z. B. am Rundenende neben "Nochmal"
   und "Andere Auswahl": dort steht "MEMO" (führt zur Merktechnik-Seite)
   direkt links neben "💬 Feedback", beide in derselben, gut sichtbaren
   Optik statt des früheren dunkelblauen Kreis-Knopfs (der laut Rückmeldung
   nicht selbsterklärend genug war). */
.hell-knopf {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eaf6fa; color: #003a4d; border: 1px solid #7cc9e0;
  border-radius: 10px; padding: 9px 18px; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: inherit;
  box-shadow: 0 1px 4px #00000015;
  transition: transform .12s, box-shadow .12s;
}
.hell-knopf:hover { transform: translateY(-1px); box-shadow: 0 3px 9px #00000025; }
