/* Styles fuer das Chat-Widget. Lagen auf Onepage im selben Feld wie das
   Skript, aber als eigener <style>-Block. Beim ersten Anlauf war nur das
   Skript uebernommen worden, deshalb sass der Knopf unformatiert im
   Textfluss statt unten rechts. */
#tsb-launch{position:fixed;right:22px;bottom:22px;z-index:2147483000;width:60px;height:60px;padding:0;border-radius:50%;background:#0E141D;border:1px solid #22D3EE66;box-shadow:0 10px 26px -10px #000,0 0 22px -6px #22D3EE66;cursor:pointer;display:flex;align-items:center;justify-content:center;animation:tsbHop 3.4s ease-in-out infinite;transition:transform .18s ease,box-shadow .18s ease,opacity .2s ease}
#tsb-launch:hover{transform:translateY(-3px);box-shadow:0 12px 30px -10px #000,0 0 30px -4px #22D3EE}
#tsb-launch svg{width:36px;height:29px;display:block}
#tsb-launch.tsb-hidden{opacity:0;pointer-events:none;transform:scale(.6)}
.tsb-badge{position:absolute;top:-1px;right:-1px;width:16px;height:16px;border-radius:50%;background:#22D3EE;border:2px solid #0B0F16;box-shadow:0 0 8px #22D3EE;animation:tsbPulse 1.8s ease-in-out infinite}
#tsb-launch.tsb-hidden .tsb-badge{display:none}
@keyframes tsbHop{0%,72%,100%{transform:translateY(0)}80%{transform:translateY(-7px)}90%{transform:translateY(-2px)}}
.tsb-eyes{animation:tsbBlink 4.6s infinite;transform-box:fill-box;transform-origin:center}
@keyframes tsbBlink{0%,92%,97%,100%{transform:scaleY(1)}94.5%{transform:scaleY(.12)}}
.tsb-pulse{animation:tsbPulse 2s ease-in-out infinite}
@keyframes tsbPulse{0%,100%{opacity:1}50%{opacity:.4}}
#tsb-teaser{position:fixed;right:22px;bottom:94px;z-index:2147482999;width:250px;max-width:calc(100vw - 44px);background:#0E141D;border:1px solid #22D3EE55;border-radius:16px;border-bottom-right-radius:5px;box-shadow:0 18px 44px -18px #000,0 0 28px -12px #22D3EE66;padding:12px 30px 12px 14px;display:none;cursor:pointer;font-family:'Inter',system-ui,-apple-system,sans-serif}
#tsb-teaser.tsb-show{display:block;animation:tsbTeaserIn .4s cubic-bezier(.2,.9,.3,1.25)}
@keyframes tsbTeaserIn{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:none}}
.tsb-teaser-t{font-size:.86rem;line-height:1.5;color:#F4F7FBe6}
.tsb-teaser-x{position:absolute;top:7px;right:9px;background:none;border:none;color:#F4F7FB66;cursor:pointer;font-size:15px;line-height:1;padding:2px}
.tsb-teaser-x:hover{color:#22D3EE}
#tsb-panel{position:fixed;right:22px;bottom:94px;z-index:2147483000;width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100dvh - 128px);background:#0B0F16;border:1px solid #ffffff1f;border-radius:20px;box-shadow:0 30px 70px -30px #000,0 0 40px -18px #22D3EE55;display:none;flex-direction:column;overflow:hidden;font-family:'Inter',system-ui,-apple-system,sans-serif;opacity:0;transform:translateY(12px) scale(.98);transition:opacity .2s ease,transform .2s ease}
#tsb-panel.tsb-open{display:flex;opacity:1;transform:none}
.tsb-head{display:flex;align-items:center;gap:11px;padding:14px 16px;background:linear-gradient(160deg,#101722,#0B0F17);border-bottom:1px solid #ffffff14;flex-shrink:0}
.tsb-avatar{width:38px;height:38px;border-radius:11px;background:#0E141D;border:1px solid #22D3EE55;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tsb-avatar svg{width:26px;height:21px;display:block}
.tsb-htext{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.tsb-hname{font-family:'Space Grotesk','Inter',sans-serif;font-weight:700;font-size:.95rem;color:#F4F7FB}
.tsb-hsub{font-size:.72rem;color:#F4F7FB99;display:flex;align-items:center;gap:6px}
.tsb-dot{width:7px;height:7px;border-radius:50%;background:#22D3EE;box-shadow:0 0 8px #22D3EE}
.tsb-close{margin-left:auto;background:#ffffff0d;border:1px solid #ffffff1f;color:#F4F7FBcc;width:30px;height:30px;border-radius:9px;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tsb-close:hover{color:#22D3EE;border-color:#22D3EE66}
.tsb-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}
.tsb-msgs::-webkit-scrollbar{width:8px}.tsb-msgs::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:8px}
.tsb-row{display:flex;max-width:88%}
.tsb-row.tsb-u{align-self:flex-end;justify-content:flex-end}
.tsb-row.tsb-b{align-self:flex-start}
.tsb-bub{padding:10px 13px;border-radius:14px;font-size:.92rem;line-height:1.55;white-space:pre-wrap;word-wrap:break-word}
.tsb-b .tsb-bub{background:#121a25;border:1px solid #ffffff12;color:#F4F7FBe6;border-top-left-radius:5px}
.tsb-u .tsb-bub{background:#22D3EE1f;border:1px solid #22D3EE45;color:#F4F7FB;border-top-right-radius:5px}
.tsb-note{align-self:stretch;font-size:.72rem;color:#F4F7FB80;line-height:1.5;background:#ffffff08;border:1px solid #ffffff12;border-radius:10px;padding:9px 11px}
.tsb-note a{color:#22D3EE;text-decoration:underline}
.tsb-typing{display:flex;gap:4px;align-items:center;padding:12px 13px;background:#121a25;border:1px solid #ffffff12;border-radius:14px;border-top-left-radius:5px}
.tsb-typing span{width:6px;height:6px;border-radius:50%;background:#22D3EEaa;animation:tsbBounce 1.2s infinite}
.tsb-typing span:nth-child(2){animation-delay:.15s}.tsb-typing span:nth-child(3){animation-delay:.3s}
@keyframes tsbBounce{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}
.tsb-foot{border-top:1px solid #ffffff14;padding:10px 12px;background:#0B0F17;flex-shrink:0}
.tsb-inrow{display:flex;gap:8px;align-items:flex-end;background:#0E141D;border:1px solid #ffffff1f;border-radius:13px;padding:6px 6px 6px 12px}
.tsb-inrow:focus-within{border-color:#22D3EE66}
.tsb-input{flex:1;background:none;border:none;outline:none;color:#F4F7FB;font-family:inherit;font-size:16px;line-height:1.4;resize:none;max-height:96px;padding:6px 0}
.tsb-input::placeholder{color:#F4F7FB66}
.tsb-send{flex-shrink:0;width:36px;height:36px;border-radius:10px;border:none;background:#22D3EE;color:#06121a;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tsb-send:hover{filter:brightness(1.08)}.tsb-send:disabled{opacity:.45;cursor:default}
.tsb-cta{display:block;text-align:center;margin-top:8px;font-size:.76rem;color:#22D3EE;text-decoration:none}
.tsb-cta:hover{text-decoration:underline}
@media (max-width:520px){#tsb-panel{right:8px;left:8px;width:auto;top:auto;bottom:calc(14px + env(safe-area-inset-bottom,0px));height:78vh;height:78dvh;max-height:600px;border-radius:18px}#tsb-launch{right:16px;bottom:16px}#tsb-teaser{right:16px;left:auto;bottom:88px}}
