:root {
    color-scheme: dark;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    background: #0b1425;
    color: #f5f8ff;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 20%, #1e3b62 0, #101d35 34%, #0b1425 72%); }
.page { width: min(100%, 680px); min-height: 100svh; margin: auto; padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: .02em; }
.brand-logo { display: block; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; background: #e4e4e4; object-fit: cover; filter: drop-shadow(0 7px 16px #00000026); }
.privacy-badge { padding: 7px 11px; border: 1px solid #ffffff24; border-radius: 99px; color: #c2d2e9; font-size: 12px; }
.call-card { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 34px 0 12px; text-align: center; }
.orb-wrap { position: relative; width: 148px; height: 148px; display: grid; place-items: center; margin-bottom: 22px; }
.orb-ring { position: absolute; inset: 0; border: 1px solid #82ddd43d; border-radius: 50%; }
.orb { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #c0fff4, #68d6d0 25%, #527cda 65%, #354585); box-shadow: 0 20px 70px #4ca4c944; transition: transform .25s ease, box-shadow .25s ease; }
.orb span { width: 30px; height: 30px; border: 5px solid #ffffffd9; border-radius: 50%; }
.orb.listening { animation: breathe 2.4s ease-in-out infinite; }
.orb.speaking { animation: speak .85s ease-in-out infinite alternate; box-shadow: 0 20px 85px #66e9d966; }
@keyframes breathe { 50% { transform: scale(1.055); } }
@keyframes speak { to { transform: scale(1.11); } }
.eyebrow { margin: 0 0 8px; color: #7ee7df; font-size: 11px; letter-spacing: .24em; }
h1 { margin: 0; font-size: clamp(28px, 7vw, 38px); font-weight: 650; letter-spacing: -.02em; }
.status { min-height: 24px; margin: 12px 0 0; color: #c1cee1; font-size: 15px; }
.scope { max-width: 100%; margin: 10px 0 0; padding: 7px 12px; border-radius: 8px; background: #ffffff0b; color: #8fa5c2; font-size: 11px; overflow-wrap: anywhere; }
.conversation { width: 100%; height: min(30svh, 240px); margin: 24px 0; padding: 16px; overflow-y: auto; border: 1px solid #ffffff12; border-radius: 18px; background: #07101d55; text-align: left; }
.empty { margin: 0; color: #71839c; font-size: 13px; text-align: center; line-height: 150px; }
.message { margin: 0 0 13px; font-size: 14px; line-height: 1.65; }
.message strong { display: block; margin-bottom: 3px; color: #7ee7df; font-size: 11px; font-weight: 600; }
.message.user strong { color: #9db6ff; }
.controls { width: 100%; display: grid; place-items: center; }
button { min-width: 190px; min-height: 54px; padding: 14px 28px; border: 0; border-radius: 99px; font: inherit; font-weight: 650; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
button:active { transform: scale(.97); }
button:disabled { cursor: wait; opacity: .55; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #f2fbff; color: #10213b; box-shadow: 0 10px 35px #00000026; }
.end { background: #ff5c6c; color: white; }
.mic-icon { width: 12px; height: 18px; border: 2px solid currentColor; border-radius: 8px; position: relative; }
.mic-icon::after { content: ""; position: absolute; width: 16px; height: 8px; left: -4px; bottom: -6px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 10px 10px; }
.hint { max-width: 380px; margin: 17px auto 0; color: #7f91aa; font-size: 12px; line-height: 1.7; }
footer { padding-top: 22px; color: #5e718b; font-size: 11px; text-align: center; }
[hidden] { display: none !important; }
@media (min-width: 600px) { .page { padding-left: 34px; padding-right: 34px; } .call-card { padding-top: 42px; } }
@media (max-height: 700px) { .orb-wrap { width: 100px; height: 100px; margin-bottom: 12px; } .orb { width: 78px; height: 78px; } .conversation { margin: 15px 0; height: 150px; } .call-card { padding-top: 20px; } }
