.dc { --dc-bg: #0a1824; --dc-bg2: #0f2233; --dc-line: rgba(150, 235, 255, .18); --dc-acc: #9fe8f7; --dc-lime: #c4f28a; --dc-text: #e6f6fa; --dc-mute: #8fb3bf;
position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-size: 15px; line-height: 1.45; font-family: inherit; color: var(--dc-text); }
.dc *, .dc *::before { box-sizing: border-box; }
.dc [hidden] { display: none !important; }
.dc-launch { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--dc-line); border-radius: 999px;
background: linear-gradient(135deg, #10283a, #0a1824); color: var(--dc-text); font: 600 15px/1 inherit; font-family: inherit; cursor: pointer;
box-shadow: 0 10px 34px rgba(0, 0, 0, .45), 0 0 0 0 rgba(159, 232, 247, .4); animation: dc-pulse 3.2s ease-out infinite; }
.dc-launch:hover { border-color: var(--dc-acc); }
.dc-open .dc-launch { animation: none; }
.dc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dc-lime); box-shadow: 0 0 10px var(--dc-lime); display: inline-block; flex: none; }
.dc-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ffb03a; color: #1a1000; font-size: 12px; line-height: 20px; text-align: center; }
@keyframes dc-pulse { 0% { box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 0 0 rgba(159,232,247,.45); } 70% { box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 0 16px rgba(159,232,247,0); } 100% { box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 0 0 rgba(159,232,247,0); } }
.dc-teaser { position: absolute; right: 0; bottom: 64px; width: 270px; padding: 14px 34px 14px 16px; border-radius: 16px; background: var(--dc-bg2);
border: 1px solid var(--dc-line); box-shadow: 0 14px 40px rgba(0,0,0,.45); cursor: pointer; animation: dc-in .35s ease; }
.dc-teaser b { display: block; margin-bottom: 4px; color: var(--dc-acc); }
.dc-teaser span { color: var(--dc-mute); font-size: 14px; }
.dc-teaser-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--dc-mute); font-size: 20px; cursor: pointer; }
.dc-panel { position: absolute; right: 0; bottom: 66px; width: 380px; height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column;
border-radius: 20px; background: var(--dc-bg); border: 1px solid var(--dc-line); box-shadow: 0 24px 70px rgba(0,0,0,.55); overflow: hidden; animation: dc-in .25s ease; }
@keyframes dc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dc-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--dc-line); background: var(--dc-bg2); }
.dc-ava { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #06101a;
background: radial-gradient(circle at 30% 30%, #e3fbff, var(--dc-acc) 55%, #4fb6cc); flex: none; }
.dc-title { flex: 1; min-width: 0; }
.dc-title b { display: block; font-size: 15px; }
.dc-title small { display: flex; align-items: center; gap: 6px; color: var(--dc-mute); font-size: 12px; }
.dc-title small .dc-dot { width: 7px; height: 7px; }
.dc-call, .dc-close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--dc-line);
background: none; color: var(--dc-text); text-decoration: none; font-size: 17px; cursor: pointer; }
.dc-call:hover, .dc-close:hover { border-color: var(--dc-acc); color: var(--dc-acc); }
.dc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.dc-msg { display: flex; flex-direction: column; max-width: 86%; }
.dc-who { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--dc-mute); margin: 0 0 4px 4px; }
.dc-bubble { padding: 10px 13px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; }
.dc-msg time { font-size: 11px; color: var(--dc-mute); margin: 3px 6px 0; }
.dc-user { align-self: flex-end; align-items: flex-end; }
.dc-user .dc-bubble { background: var(--dc-acc); color: #06101a; border-bottom-right-radius: 4px; }
.dc-ai .dc-bubble { background: var(--dc-bg2); border: 1px solid var(--dc-line); border-bottom-left-radius: 4px; }
.dc-human .dc-bubble { background: #1b2e18; border: 1px solid rgba(196, 242, 138, .35); border-bottom-left-radius: 4px; }
.dc-human .dc-who { color: var(--dc-lime); }
.dc-typing .dc-bubble { display: flex; gap: 4px; padding: 14px; }
.dc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dc-acc); animation: dc-blink 1.2s infinite; }
.dc-typing i:nth-child(2) { animation-delay: .2s; } .dc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dc-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.dc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.dc-chips button { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--dc-line); background: none; color: var(--dc-acc); font: 500 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
.dc-chips button:hover { background: rgba(159, 232, 247, .1); }
.dc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--dc-line); }
.dc-input { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--dc-line);
background: #06101a; color: var(--dc-text); font: inherit; outline: none; }
.dc-input:focus { border-color: var(--dc-acc); }
.dc-send { width: 44px; border-radius: 12px; border: 0; background: var(--dc-acc); color: #06101a; font-size: 17px; cursor: pointer; }
.dc-legal { margin: 0; padding: 0 14px 12px; font-size: 11px; color: var(--dc-mute); }
.dc-legal a { color: var(--dc-mute); }
@media (max-width: 700px) {
.dc { right: 12px; bottom: 12px; }
.dc-launch-t { display: none; }
.dc-launch { width: 52px; height: 52px; gap: 0; border-radius: 50%; padding: 0; justify-content: center; }
.dc-launch .dc-dot { display: none; }
.dc-launch::after { content: ""; width: 24px; height: 24px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-6 4v-4H2V5a2 2 0 0 1 2-2zm1 4v2h14V7zm0 5v2h10v-2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.dc-launch .dc-badge { position: absolute; top: -4px; right: -4px; }
.dc-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; bottom: 0; }
.dc-open .dc-launch { display: none; }
.dc-teaser { width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) { .dc-launch, .dc-panel, .dc-teaser, .dc-typing i { animation: none; } }