.aora-chat-layout { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: stretch; }
.aora-companion { position: relative; min-width: 0; min-height: 570px; display: flex; flex-direction: column; align-items: center; justify-content: center; isolation: isolate; }
.aora-companion::before { content: ''; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse, rgba(175, 183, 231, .065), transparent 68%); z-index: -1; pointer-events: none; }
.aora-stage { width: min(100%, 360px); aspect-ratio: 1; }
.aora-stage svg { display: block; width: 100%; height: 100%; overflow: visible; }
.aora-chat-panel { min-width: 0; padding: 32px; border: 1px solid #27272a80; border-radius: 16px; background: #18181b1a; backdrop-filter: blur(12px); }
.aora-chat-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #d4d4d8; }
.aora-chat-heading h3 { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.aora-chat-spark { color: #818cf8; font-size: 28px; line-height: 1; }
.aora-messages { height: 400px; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; margin-bottom: 24px; }
.aora-chat-hint { color: #71717a; font-size: 14px; font-style: italic; text-align: center; margin: 40px 0 16px; }
.aora-message { display: flex; margin-bottom: 16px; }
.aora-message.is-user { justify-content: flex-end; }
.aora-message-bubble { max-width: 88%; padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7; font-weight: 300; white-space: pre-wrap; overflow-wrap: anywhere; background: #27272acc; color: #d4d4d8; }
.aora-message.is-user .aora-message-bubble { background: white; color: black; font-weight: 500; }
.aora-thinking { display: inline-flex; gap: 5px; padding: 15px 18px; border-radius: 12px; background: #27272a; }
.aora-thinking span { width: 6px; height: 6px; border-radius: 50%; background: #a1a1aa; animation: aora-dot 1s infinite ease-in-out; }
.aora-chat-form { position: relative; }
.aora-chat-form input { width: 100%; height: 54px; padding: 0 60px 0 24px; border: 1px solid #3f3f4680; border-radius: 999px; background: #27272a4d; color: white; font: inherit; font-size: 14px; outline: none; }
.aora-chat-form input::placeholder { color: #71717a; }
.aora-chat-form input:focus { border-color: #a1a1aa; }
.aora-chat-form button { position: absolute; right: 8px; top: 7px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: white; color: #09090b; cursor: pointer; }
.aora-chat-form button:disabled { opacity: .4; cursor: default; }
.aora-chat-form button:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 4px; }
.aora-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes aora-dot { 50% { transform: translateY(-4px); opacity: .4; } }
@media (max-width: 1023px) { .aora-chat-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .aora-companion { min-height: 280px; } .aora-stage { width: min(70vw, 260px); } }
@media (max-width: 540px) { .aora-chat-panel { padding: 22px 18px; } .aora-messages { height: 340px; } .aora-message-bubble { max-width: 94%; } }
@media (prefers-reduced-motion: reduce) { .aora-thinking span { animation: none; } }
