:root{--color-bg: #0b1230;--color-bgAlt: #141d47;--color-surface: #1a2456;--color-accent: #f5b942;--color-accentSoft: #fbe3ad;--color-text: #f4f1e8;--color-textMuted: #b7bfe6}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Avenir Next,Segoe UI,system-ui,sans-serif;background:radial-gradient(circle at top,var(--color-bgAlt),var(--color-bg));color:var(--color-text);-webkit-font-smoothing:antialiased}.screen{min-height:100vh;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}h1{font-size:1.9rem;margin:0}.muted{color:var(--color-textMuted)}.error{color:#ff8a8a;font-size:.9rem}.stack{display:flex;flex-direction:column;gap:12px;width:100%;max-width:320px}.stack.wide{max-width:380px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.top-row{max-width:480px;position:absolute;top:16px;left:0;right:0;margin:0 auto;padding:0 16px}.input{padding:12px 16px;border-radius:12px;border:1px solid var(--color-surface);background:var(--color-surface);color:var(--color-text);font-size:1rem}.input:focus{outline:2px solid var(--color-accent)}.btn-primary{padding:12px 20px;border-radius:12px;border:none;background:var(--color-accent);color:#1a1200;font-weight:600;font-size:1rem;cursor:pointer}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-ghost{padding:12px 20px;border-radius:12px;border:none;background:transparent;color:var(--color-textMuted);cursor:pointer}.icon-btn{background:var(--color-surface);border:none;border-radius:999px;width:40px;height:40px;font-size:1.1rem;cursor:pointer;color:var(--color-text)}.firefly-mark{font-size:2.5rem}.profile-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;max-width:480px}.profile-card{display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--color-surface);border:none;border-radius:16px;padding:20px;color:var(--color-text);cursor:pointer;min-width:100px}.profile-avatar{font-size:2.4rem}.btn-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:var(--color-surface);border:none;border-radius:16px;padding:18px 20px;color:var(--color-text);cursor:pointer;text-align:left}.btn-card-title{font-size:1.1rem;font-weight:600}.btn-card-sub{color:var(--color-textMuted);font-size:.9rem}.theme-switch{display:flex;gap:10px;margin-top:16px}.theme-btn{padding:8px 18px;border-radius:999px;border:1px solid var(--color-textMuted);background:transparent;color:var(--color-textMuted);font-size:.95rem;cursor:pointer}.theme-btn-active{border-color:var(--color-accent);background:var(--color-accent);color:#1a1200;font-weight:600}.app-footer{position:fixed;bottom:16px;left:0;right:0;display:flex;justify-content:center}.btn-link{background:none;border:none;color:var(--color-textMuted);text-decoration:underline;font-size:.9rem;cursor:pointer}.onboarding-card{background:var(--color-surface);border-radius:20px;padding:32px 24px;max-width:400px;display:flex;flex-direction:column;gap:16px;align-items:center}.onboarding-dots{display:flex;gap:8px}.dot{width:8px;height:8px;border-radius:999px;background:var(--color-bgAlt)}.dot-active{background:var(--color-accent)}.chat-screen{justify-content:flex-start;padding-top:72px;height:100vh}.chat-log{flex:1;width:100%;max-width:480px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:8px 0}.bubble{padding:12px 16px;border-radius:16px;max-width:80%;text-align:left;line-height:1.4}.bubble-user{align-self:flex-end;background:var(--color-accent);color:#1a1200}.bubble-assistant{align-self:flex-start;background:var(--color-surface)}.bubble-typing{opacity:.6}.chat-input-row{max-width:480px;padding:12px 0 24px}.chat-input-row .input{flex:1}.breathing-orb{width:140px;height:140px;border-radius:999px;background:radial-gradient(circle,var(--color-accentSoft),var(--color-accent));box-shadow:0 0 60px var(--color-accent);transition:transform 4s ease-in-out}.breathing-orb.phase-inhale,.breathing-orb.phase-hold1{transform:scale(1.3)}.breathing-orb.phase-exhale,.breathing-orb.phase-hold2{transform:scale(.85)}.breathing-cat{font-size:6rem;transition:transform 4s ease-in-out}.breathing-cat.phase-inhale,.breathing-cat.phase-hold1{transform:scale(1.15)}.breathing-cat.phase-exhale,.breathing-cat.phase-hold2{transform:scale(.95)}.breath-cue{font-size:1.3rem;margin-top:24px}.breath-line{color:var(--color-textMuted);max-width:320px}.quiet-actions{display:flex;gap:12px;margin-top:16px}
