/* Hilfe-Chat – eigenständig (Startseite und App) */
.tmc-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 6px;
  border: 0; border-radius: 999px; background: #12201A; color: #fff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer;
  box-shadow: 0 0 0 2px rgba(19,212,127,.55), 0 12px 30px rgba(6, 23, 15, .28); transition: transform .15s ease; }
/* Monster sitzt auf einer hellen Plakette statt auf Grün – sonst verschwimmt es */
.tmc-fab img { width: 42px; height: 42px; object-fit: contain; padding: 4px; border-radius: 50%; background: #FFF6DC; box-shadow: inset 0 0 0 2px #FFC23D; }
.tmc-fab span { position: relative; padding-left: 14px; }
.tmc-fab span::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #13D47F; box-shadow: 0 0 0 3px rgba(19,212,127,.25); }
.tmc-fab:hover { transform: translateY(-2px); }
.tmc-fab:focus-visible { outline: 3px solid #13D47F; outline-offset: 3px; }
.tmc-open .tmc-fab { display: none; }
.tmc { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: min(380px, calc(100vw - 24px)); }
.tmc[hidden] { display: none; }
.tmc-panel { display: flex; flex-direction: column; height: min(560px, calc(100vh - 110px)); background: #fff; color: #13221B; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 23, 15, .28), 0 0 0 1px rgba(6, 23, 15, .06); overflow: hidden; font-size: 15px; line-height: 1.45; }
.tmc-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: #12201A; color: #fff; border-bottom: 3px solid #13D47F; }
.tmc-head b { flex: 1; font-size: 15px; }
.tmc-ava { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FFF6DC; box-shadow: inset 0 0 0 2px #FFC23D; }
.tmc-ava img { width: 28px; height: 28px; object-fit: contain; }
.tmc-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 22px; line-height: 1; cursor: pointer; color: inherit; }
.tmc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #F5F8F6; }
.tmc-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; }
.tmc-assistant { align-self: flex-start; background: #fff; box-shadow: 0 0 0 1px rgba(6,23,15,.08); border-bottom-left-radius: 6px; }
.tmc-user { align-self: flex-end; background: #13221B; color: #fff; border-bottom-right-radius: 6px; }
.tmc-wait { color: #5A6B62; font-style: italic; }
.tmc-cta { display: inline-block; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: #13D47F; color: #06170F; font-weight: 700; text-decoration: none; }
.tmc-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; background: #F5F8F6; }
.tmc-sugg:empty { display: none; }
.tmc-chip { border: 0; border-radius: 999px; padding: 6px 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(6,23,15,.14); font: inherit; font-size: 13px; cursor: pointer; color: inherit; }
.tmc-chip:hover { box-shadow: inset 0 0 0 1.5px #13D47F; }
.tmc-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(6,23,15,.08); background: #fff; }
.tmc-in { flex: 1; resize: none; min-height: 40px; max-height: 110px; padding: 9px 12px; border: 1px solid rgba(6,23,15,.18); border-radius: 14px; font: inherit; color: inherit; background: #fff; }
.tmc-in:focus { outline: none; border-color: #13D47F; box-shadow: 0 0 0 3px rgba(19,212,127,.2); }
.tmc-send { width: 42px; border: 0; border-radius: 14px; background: #13D47F; color: #06170F; font-size: 17px; cursor: pointer; }
.tmc-send:disabled { opacity: .5; cursor: default; }
.tmc-note { margin: 0; padding: 0 12px 10px; background: #fff; font-size: 11.5px; color: #5A6B62; }
.tmc-note a { color: inherit; }
@media (max-width: 560px) {
  .tmc { right: 8px; left: 8px; bottom: 8px; width: auto; }
  .tmc-panel { height: min(78vh, calc(100vh - 20px)); }
  .tmc-fab { right: 12px; bottom: 12px; }
  .tmc-fab span { display: none; }
  .tmc-fab { padding: 0 6px; width: 54px; justify-content: center; }
}
[data-theme="dark"] .tmc-panel, html.dark .tmc-panel { background: #0F1A15; color: #E8F1EC; }
/* v1.20: nach dem Scrollen nur noch das Monster, damit der Knopf keinen Text verdeckt */
.tmc-fab.tmc-mini { padding: 0 6px; width: 54px; justify-content: center; }
.tmc-fab.tmc-mini span { display: none; }
