#spark-launcher,#spark-chat,#spark-chat *{box-sizing:border-box}
#spark-launcher,#spark-chat{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#spark-launcher{position:fixed;right:22px;bottom:22px;width:72px;height:72px;padding:4px;border:1px solid #59616a;border-radius:22px;background:linear-gradient(145deg,#252b32,#101318);box-shadow:0 14px 42px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.1);cursor:pointer;z-index:2147483001;transition:transform .24s ease,border-color .24s ease,opacity .2s ease}
#spark-launcher:hover{transform:translateY(-3px);border-color:#f4a825}
#spark-launcher img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 11px rgba(244,168,37,.22))}
#spark-launcher .spark-badge{position:absolute;right:-3px;top:-3px;width:17px;height:17px;border-radius:50%;background:#f4a825;border:3px solid #0b0d10}
#spark-chat{--spark-amber:#f4a825;--spark-amber-2:#ffca69;position:fixed;right:22px;bottom:108px;width:min(390px,calc(100vw - 32px));height:min(660px,calc(100vh - 136px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #343b44;border-radius:27px;background:rgba(14,17,22,.98);color:#eef1f4;box-shadow:0 28px 90px rgba(0,0,0,.55);z-index:2147483000;opacity:0;transform:translateY(18px) scale(.97);transform-origin:bottom right;pointer-events:none;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
#spark-chat.spark-open{opacity:1;transform:none;pointer-events:auto}
.spark-head{position:relative;min-height:150px;padding:18px 20px 17px;display:flex;align-items:flex-end;gap:14px;border-bottom:1px solid #2c333d;background:radial-gradient(circle at 25% -8%,rgba(244,168,37,.23),transparent 46%),linear-gradient(145deg,#1d2229,#101318)}
.spark-avatar{width:88px;height:88px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 18px rgba(0,0,0,.42))}
.spark-identity{padding-bottom:5px}.spark-identity strong{display:block;color:#f3f4f5;font-size:1.2rem;letter-spacing:-.02em}.spark-status{display:flex;align-items:center;gap:7px;margin-top:7px;color:#adb4bc;font-size:.82rem}.spark-status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--spark-amber);box-shadow:0 0 12px var(--spark-amber)}
.spark-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:0;border-radius:12px;color:#bac0c7;background:rgba(255,255,255,.06);cursor:pointer;font-size:1.2rem}.spark-close:hover{background:rgba(255,255,255,.11);color:white}
.spark-messages{flex:1;overflow:auto;padding:19px;scroll-behavior:smooth}.spark-bubble{max-width:86%;margin:0 0 12px;padding:13px 15px;border-radius:17px;font-size:.95rem;line-height:1.5;white-space:pre-line;animation:spark-arrive .25s ease}.spark-bot{border:1px solid #2b323b;border-top-left-radius:6px;background:#1a1f26;color:#eef1f4}.spark-user{margin-left:auto;border-top-right-radius:6px;background:var(--spark-amber);color:#17130b;font-weight:650}@keyframes spark-arrive{from{opacity:0;transform:translateY(5px)}}
.spark-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 18px}.spark-suggestion{border:1px solid #3a424d;border-radius:999px;background:#12161b;color:#d5d9de;padding:9px 12px;cursor:pointer;font-size:.82rem}.spark-suggestion:hover{border-color:var(--spark-amber);color:var(--spark-amber-2)}
.spark-typing{display:flex;gap:4px;align-items:center;width:max-content}.spark-typing span{width:6px;height:6px;border-radius:50%;background:#838b95;animation:spark-pulse 1s infinite}.spark-typing span:nth-child(2){animation-delay:.12s}.spark-typing span:nth-child(3){animation-delay:.24s}@keyframes spark-pulse{50%{opacity:.25;transform:translateY(-2px)}}
.spark-composer{display:flex;gap:9px;padding:13px;border-top:1px solid #2c333d;background:#0b0e12}.spark-composer input{min-width:0;flex:1;border:1px solid #313944;border-radius:14px;background:#151920;color:white;padding:13px 14px;font:inherit;font-size:.95rem}.spark-composer input::placeholder{color:#747d87}.spark-composer input:focus{border-color:#a66d12;outline:none}.spark-send{width:46px;height:46px;border:0;border-radius:14px;background:var(--spark-amber);color:#17130b;font:inherit;font-weight:900;cursor:pointer}.spark-send:hover{background:var(--spark-amber-2)}
.spark-note{padding:0 15px 12px;background:#0b0e12;color:#9ba3ad;text-align:center;font-size:.7rem}.spark-note a,.spark-contact-copy a{color:#ffd287;text-underline-offset:3px}
.spark-contact-card{margin:5px 0 14px;padding:16px;border:1px solid #66502b;border-radius:17px;background:#171a1e;color:#eef1f4;font-size:.82rem;line-height:1.45}.spark-contact-copy strong{display:block;color:#ffcb69;font-size:.96rem}.spark-contact-copy p{margin:7px 0 8px;color:#c5cbd1}.spark-contact-form{display:grid;gap:9px;margin-top:14px}.spark-contact-form label{display:grid;gap:4px;color:#d9dee2}.spark-contact-form input,.spark-contact-form textarea{width:100%;border:1px solid #414952;border-radius:9px;background:#0d1116;color:#fff;padding:9px 10px;font:inherit}.spark-contact-form textarea{resize:vertical}.spark-contact-form input::placeholder,.spark-contact-form textarea::placeholder{color:#79838d}.spark-contact-form details{padding:2px 0}.spark-contact-form summary{color:#ffcb69;cursor:pointer}.spark-contact-form details label{margin-top:8px}.spark-contact-submit{border:0;border-radius:10px;background:var(--spark-amber);color:#17130b;padding:11px 12px;font:inherit;font-weight:800;cursor:pointer}.spark-contact-submit:disabled{opacity:.6;cursor:wait}.spark-contact-skip{display:block;margin:8px auto 0;border:0;background:none;color:#b7bec6;text-decoration:underline;cursor:pointer;font:inherit}
#spark-launcher:focus-visible,.spark-close:focus-visible,.spark-suggestion:focus-visible,.spark-send:focus-visible,.spark-composer input:focus-visible,.spark-contact-card button:focus-visible,.spark-contact-card input:focus-visible,.spark-contact-card textarea:focus-visible,.spark-contact-card a:focus-visible,.spark-note a:focus-visible{outline:3px solid rgba(244,168,37,.45);outline-offset:3px}
@media(max-width:560px){#spark-chat{inset:12px;width:auto;height:auto;border-radius:23px}.spark-head{min-height:142px}.spark-avatar{width:82px;height:82px}#spark-launcher.spark-hidden{opacity:0;pointer-events:none;transform:scale(.8)}}
@media(prefers-reduced-motion:reduce){#spark-launcher,#spark-chat,.spark-bubble,.spark-typing span{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
