.bubble.npc.ai{border-color:color-mix(in srgb,var(--info) 28%,var(--line))}.ai-badge{display:inline-flex;align-items:center;margin:0 0 4px;padding:1px 7px;border-radius:var(--radius-pill,999px);background:var(--info-soft);color:var(--info);font-size:.72rem;font-weight:800;letter-spacing:.04em;line-height:1.5;cursor:help}.bubble.pending{opacity:.72}.bubble.typing{padding:12px 16px}.bubble.typing .dots{display:inline-flex;gap:5px;align-items:center;height:12px}.bubble.typing .dots i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.45}@media(prefers-reduced-motion:no-preference){html:not(.reduce-motion) .bubble.typing .dots i{animation:ai-dot 1.1s ease-in-out infinite}html:not(.reduce-motion) .bubble.typing .dots i:nth-child(2){animation-delay:.16s}html:not(.reduce-motion) .bubble.typing .dots i:nth-child(3){animation-delay:.32s}html:not(.reduce-motion) .ai-notice{animation:ai-rise .28s ease-out}}@keyframes ai-dot{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-4px);opacity:.9}}@keyframes ai-rise{from{transform:translate(-50%,-8px);opacity:0}to{transform:translate(-50%,0);opacity:1}}.chat-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:18px}.chat-meta .chat-mode{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:.8rem;line-height:1.35}.chat-count{margin-left:auto;color:var(--muted);font-size:.78rem;font-variant-numeric:tabular-nums}.chat-form .btn[disabled]{opacity:.55}.ai-notice{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 86px);transform:translateX(-50%);z-index:190;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:start;width:min(440px,calc(100vw - 24px));box-sizing:border-box;padding:12px 14px;border-radius:16px;background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);box-shadow:var(--shadow)}.ai-notice p{margin:0;font-size:.9rem;line-height:1.45}.ai-notice p a{white-space:nowrap}.ai-notice-icon{display:inline-flex;color:var(--info);padding-top:1px}.ai-notice-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.ai-notice-actions .btn{min-height:36px}body>.ai-notice{bottom:auto;top:calc(env(safe-area-inset-top,0px) + 66px)}dialog .ai-notice{bottom:calc(env(safe-area-inset-bottom,0px) + 16px)}html[data-layout=desktop] .ai-notice:not(.inline){left:auto;right:24px;top:auto;transform:none;bottom:24px}@media(prefers-reduced-motion:no-preference){html[data-layout=desktop]:not(.reduce-motion) .ai-notice{animation:none}}.ai-notice[hidden]{display:none}.ai-notice.inline{position:static;transform:none;width:auto;margin:0 0 12px;box-shadow:none;background:var(--info-soft);border-color:color-mix(in srgb,var(--info) 30%,transparent);animation:none!important}
