#bot { position: fixed; right: 16px; bottom: 16px; z-index: 50; font: inherit; }
#bot .bot-an { display: flex; align-items: center; gap: 10px; background: #e0b44c; color: #2a2411; border: 0; border-radius: 28px; padding: 14px 22px; cursor: pointer; font: inherit; font-size: 1em; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
#bot .bot-hinweis { position: absolute; right: 0; bottom: 70px; width: max-content; max-width: 260px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #1d2430; color: #e8ecf3; border: 1px solid #2a3140; border-radius: 14px; font-size: 13px; animation: bot-ein .3s ease-out; }
#bot .bot-hinweis[hidden] { display: none; }
#bot .bot-hx { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0 2px; }
#bot .bot-fenster { position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 32px)); height: min(620px, 80vh); display: flex; flex-direction: column; background: #171c26; color: #e8ecf3; border: 1px solid #2a3140; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); overflow: hidden; font-size: 14px; }
#bot .bot-fenster[hidden] { display: none; }
#bot .bot-kopf { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(#1d2430, #171c26); border-bottom: 1px solid #2a3140; }
#bot .bot-logo { flex: none; width: 44px; height: 44px; background: url(/static/logo-l5-2.webp) left center / auto 44px no-repeat; }
#bot .bot-name { flex: 1; min-width: 0; }
#bot .bot-zeile { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
#bot .bot-ki { border: 1px solid #e0b44c; color: #e0b44c; border-radius: 6px; padding: 0 5px; font-size: 10px; font-weight: 600; line-height: 16px; }
#bot .bot-online { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: #8a93a5; }
#bot .bot-online i { width: 8px; height: 8px; border-radius: 50%; background: #3fb96a; }
#bot .bot-zu { background: none; border: 0; color: #8a93a5; cursor: pointer; font: inherit; font-size: 22px; line-height: 1; padding: 4px; }
#bot .bot-ki-hinweis { margin: 10px auto 0; padding: 4px 12px; background: #1d2430; color: #8a93a5; border-radius: 20px; font-size: 12px; text-align: center; }
#bot .bot-liste { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
#bot .bot-m { max-width: 85%; padding: 10px 14px; background: #232a38; color: #e8ecf3; border-radius: 16px 16px 16px 4px; overflow-wrap: anywhere; line-height: 1.4; }
#bot .bot-m.ich { align-self: flex-end; background: #e0b44c; color: #2a2411; border-radius: 16px 16px 4px 16px; }
#bot .bot-m.karte { max-width: 100%; background: #2a2411; border: 1px solid #5a4a1c; color: #f3d98a; border-radius: 12px; }
#bot .bot-m.karte strong { display: block; margin-bottom: 4px; }
#bot .bot-kf { display: flex; gap: 6px; margin-top: 10px; }
#bot .bot-kf input { flex: 1; min-width: 0; padding: 8px 12px; background: #0f1218; color: #e8ecf3; border: 1px solid #2a3140; border-radius: 20px; font: inherit; }
#bot .bot-kf button { border: 0; border-radius: 20px; background: #e0b44c; color: #2a2411; padding: 0 14px; cursor: pointer; font: inherit; font-weight: 600; }
#bot .bot-cap { margin: -2px 0 4px 4px; font-size: 11px; color: #8a93a5; }
#bot .bot-info { display: block; margin-top: 4px; font-size: 11px; color: #8a93a5; }
#bot .bot-m a { color: inherit; text-decoration: underline; }
#bot .bot-vs { display: flex; flex-wrap: wrap; gap: 6px; }
#bot .bot-vs button { border: 1px solid #3a4558; background: #171c26; color: #e8ecf3; border-radius: 20px; padding: 6px 12px; font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
#bot .bot-form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #2a3140; }
#bot .bot-form input { flex: 1; min-width: 0; padding: 10px 16px; background: #0f1218; color: #e8ecf3; border: 1px solid #2a3140; border-radius: 24px; font: inherit; }
#bot .bot-form input::placeholder, #bot .bot-kf input::placeholder { color: #8a93a5; }
#bot .bot-form button { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #e0b44c; color: #2a2411; cursor: pointer; }
#bot .bot-form button:disabled { opacity: .5; }
#bot :focus-visible { outline: 2px solid #e0b44c; outline-offset: 2px; }
@keyframes bot-ein { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { #bot .bot-hinweis { animation: none; } }
@media (max-width: 480px) {
  #bot { right: 8px; bottom: 8px; }
  #bot .bot-hinweis { display: none; }
  #bot .bot-fenster { position: fixed; left: 0; right: 0; bottom: 0; width: auto; height: 85vh; height: 85dvh; border-radius: 20px 20px 0 0; }
  #bot .bot-form input, #bot .bot-kf input { font-size: 16px; }
}
#bot .bot-fb { margin-top: 4px; font-size: 11px; color: #8a93a5; } #bot .bot-fb button { margin-left: 4px; padding: 0 8px; background: transparent; color: #e8ecf3; border: 1px solid #3a4558; border-radius: 12px; font: inherit; cursor: pointer; }
