/* Aurora chat (draft) */
.chat-fab{position:fixed;right:16px;bottom:16px;z-index:60;background:var(--q);color:#fff;border:0;border-radius:999px;padding:12px 18px;font:600 1rem Inter,system-ui,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.45);cursor:pointer}
.chat-fab:hover{background:var(--qd)}
.chat-on .chat-fab{display:none}
.chat{position:fixed;right:16px;bottom:16px;z-index:70;width:380px;max-width:calc(100vw - 32px);height:min(620px,calc(100dvh - 32px));display:flex;flex-direction:column;background:#F6F2EA;color:#1D212A;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.chat[hidden]{display:none}
.chat-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bg);color:var(--text)}
.chat-who{display:flex;flex-direction:column;line-height:1.25}.chat-who strong{font-family:Cinzel,serif;letter-spacing:.08em}.chat-who span{font-size:.78rem;color:var(--muted)}
.chat-x{background:none;border:0;color:var(--text);font-size:1.8rem;line-height:1;cursor:pointer;padding:0 4px}
.chat-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}
.msg{max-width:85%;padding:10px 14px;border-radius:16px;font-size:1rem;line-height:1.45;white-space:pre-wrap}
.msg.bot{background:#fff;align-self:flex-start;border-bottom-left-radius:4px}
.msg.me{background:var(--q);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.typing{display:flex;gap:4px;padding:14px}.typing i{width:7px;height:7px;border-radius:50%;background:#b9b1a5;animation:cdot 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes cdot{0%,80%,100%{opacity:.3}40%{opacity:1}}
.chat-foot{padding:10px 12px;border-top:1px solid #e2dbcf;display:flex;flex-direction:column;gap:8px;background:#F6F2EA}
.chat-foot:empty{display:none}
.chips-row{display:flex;flex-wrap:wrap;gap:8px}
.cchip{border:1px solid var(--q);background:#fff;color:#7a3b2e;border-radius:999px;padding:8px 14px;font:500 .95rem Inter,system-ui,sans-serif;cursor:pointer}
.cchip[aria-pressed=true]{background:var(--q);color:#fff}
.chat-in{display:flex;gap:8px;align-items:flex-end}
.chat-in input,.chat-in textarea{flex:1;min-width:0;border:1px solid #d6cdbf;border-radius:12px;padding:10px 12px;font:16px Inter,system-ui,sans-serif;resize:none;background:#fff;color:#1D212A}
.csend{background:var(--q);color:#fff;border:0;border-radius:12px;padding:10px 16px;font:600 .95rem Inter,system-ui,sans-serif;cursor:pointer;align-self:flex-start}
.chat-in .csend{align-self:auto}
.csend:disabled{opacity:.45;cursor:default}
.cskip{background:none;border:0;color:#6b665f;font:.9rem Inter,system-ui,sans-serif;cursor:pointer;padding:10px 4px}
.chat-alt{margin:0;padding:6px 12px 10px;font-size:.78rem;color:#6b665f;text-align:center;background:#F6F2EA}.chat-alt a{color:#8F4F42}
@media(max-width:560px){.chat{right:0;bottom:0;width:100vw;max-width:100vw;height:100dvh;border-radius:0}.chat-on body{overflow:hidden}}
