* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #fff;
    color: #0d0d0d;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.chat-container {
    max-width: 480px;
    width: 92%;
    padding: 48px 32px;
    border-radius: 24px;
    box-shadow: 0 0 0 1px #e5e5e5, 0 8px 40px rgba(0,0,0,.06);
    text-align: center;
    animation: slideUp .5s cubic-bezier(.16,1,.3,1);
}

.voice-orb {
    width: 120px; height: 120px;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 32px auto;
    transition: all .3s;
    background: #f7f7f8;
}

.voice-orb svg { width: 54px; height: 54px; }

.voice-orb.listening, .voice-orb.speaking {
    border-color: #0d0d0d;
    box-shadow: 0 0 0 8px rgba(0,0,0,.05);
    animation: pulse 2s ease-in-out infinite;
}

.voice-orb.processing { border-color: #6e6e80; }

.status-text { font-size: .9rem; color: #6e6e80; margin: 24px 0; min-height: 24px; }

.btn {
    background: #fff; color: #0d0d0d; border: 1px solid #e5e5e5;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer;
    font-family: inherit; transition: all .2s;
}

.btn:hover:not(:disabled) { background: #f9f9f9; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.listening { background: #f5f5f5; border-color: #d4d4d4; color: #0d0d0d; }

.interrupt-btn {
    display: none;
    background: #f0f0f0; color: #6e6e80; border: 1px solid #e5e5e5;
    padding: 8px 22px; border-radius: 50px;
    font-size: .82rem; font-weight: 500; cursor: pointer;
    font-family: inherit; transition: all .2s; margin-bottom: 4px;
}

.interrupt-btn:hover { background: #e8e8e8; color: #0d0d0d; }
.interrupt-btn.visible { display: inline-block; }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 8px rgba(0,0,0,.05); } 50% { box-shadow: 0 0 0 16px rgba(0,0,0,.02); } }

@media (max-width: 576px) {
    .chat-container { padding: 36px 20px; width: 95%; border-radius: 20px; }
    .voice-orb { width: 100px; height: 100px; margin: 24px auto; }
    .voice-orb svg { width: 44px; height: 44px; }
    .btn { padding: 12px 24px; font-size: .95rem; }
}