.chat-page{width:100%;height:100vh;font-family:var(--font-geist-sans), system-ui, -apple-system, sans-serif;background:#f5f0fa;display:flex;overflow:hidden}.chat-sidebar{background:#fff;border-right:1px solid #e8e5ec;flex-direction:column;width:260px;min-width:260px;height:100vh;padding:0;display:flex;overflow:hidden}.sidebar-header{justify-content:space-between;align-items:center;padding:20px 18px 12px;display:flex}.sidebar-logo{color:#1a1a2e;letter-spacing:-.3px;align-items:center;gap:8px;font-size:18px;font-weight:700;display:flex}.sidebar-logo-img{object-fit:contain;width:auto;height:52px}.sidebar-logo-img-dark,.dark .sidebar-logo-img-light{display:none}.dark .sidebar-logo-img-dark{display:block}.sidebar-collapse-btn{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:background .15s;display:flex}.sidebar-collapse-btn:hover{background:#f3f4f6}.new-chat-btn{color:#fff;cursor:pointer;background:#1a1a2e;border:none;border-radius:10px;justify-content:center;align-items:center;gap:6px;height:40px;margin:4px 18px 12px;font-size:14px;font-weight:600;transition:background .2s;display:flex}.new-chat-btn:hover{background:#2d2d4e}.sidebar-search{margin:0 18px 14px;position:relative}.sidebar-search input{color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:8px;outline:none;width:100%;height:36px;padding:0 36px 0 34px;font-size:13px;transition:border-color .2s}.sidebar-search input:focus{border-color:#a855f7}.sidebar-search .search-icon{color:#9ca3af;width:16px;height:16px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.sidebar-search .sparkle-icon{color:#a855f7;cursor:pointer;width:16px;height:16px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.sidebar-nav{margin-bottom:8px;padding:0 18px}.sidebar-nav-item{color:#1a1a2e;cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s;display:flex}.sidebar-nav-item:hover{background:#f5f3ff}.sidebar-nav-item svg{color:#6b7280;width:18px;height:18px}.sidebar-history{scrollbar-width:thin;scrollbar-color:#e5e7eb transparent;flex:1;padding:0 18px;overflow-y:auto}.sidebar-history::-webkit-scrollbar{width:4px}.sidebar-history::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:2px}.history-label{color:#9ca3af;text-transform:capitalize;letter-spacing:.02em;padding:12px 0 4px;font-size:11px;font-weight:600}.history-item{color:#374151;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:8px;padding:7px 10px;font-size:13px;line-height:1.4;transition:background .15s;overflow:hidden}.history-item:hover{background:#f5f3ff}.sidebar-footer{border-top:1px solid #e8e5ec;align-items:center;gap:10px;padding:14px 18px;display:flex}.sidebar-avatar{color:#fff;background:linear-gradient(135deg,#c084fc,#a855f7);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:700;display:flex}.sidebar-user-info{flex:1;min-width:0}.sidebar-user-name{color:#1a1a2e;font-size:13px;font-weight:600;line-height:1.3}.sidebar-user-email{color:#9ca3af;font-size:11px;line-height:1.3}.sidebar-logout-btn{cursor:pointer;color:#9ca3af;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.sidebar-logout-btn:hover{color:#374151;background:#f3f4f6}.chat-main{background:linear-gradient(#ede4f7 0%,#f5f0fa 30%,#faf8fc 60%,#fff 100%);flex-direction:column;flex:1;height:100vh;display:flex;position:relative;overflow:hidden}.chat-topbar{flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 24px;display:flex}.topbar-left{align-items:center;gap:6px;display:flex}.topbar-model-selector{cursor:pointer;color:#1a1a2e;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:14px;font-weight:600;display:flex}.topbar-model-selector .model-icon{color:#fff;background:linear-gradient(135deg,#c084fc,#a855f7);border-radius:6px;justify-content:center;align-items:center;width:20px;height:20px;font-size:10px;font-weight:700;display:flex}.topbar-model-selector .chevron{color:#9ca3af;width:14px;height:14px}.topbar-right{align-items:center;gap:8px;display:flex}.topbar-icon-btn{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .15s;display:flex}.topbar-icon-btn:hover{color:#374151;background:#f3f4f6}.export-chat-btn{cursor:pointer;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:6px;padding:7px 16px;font-size:13px;font-weight:500;transition:all .15s;display:flex}.export-chat-btn:hover{background:#f9fafb;border-color:#d1d5db}.upgrade-btn{color:#fff;cursor:pointer;background:#1a1a2e;border:none;border-radius:8px;padding:7px 18px;font-size:13px;font-weight:600;transition:background .2s}.upgrade-btn:hover{background:#2d2d4e}.chat-center{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:0 24px 20px;display:flex;overflow:hidden}.chat-center-active{justify-content:flex-start;padding-top:72px}.chat-center-podcast-scroll{scrollbar-width:thin;scrollbar-color:#94a3b8a6 transparent;justify-content:flex-start;padding-top:60px;padding-bottom:28px;overflow:hidden auto}.chat-center-podcast-scroll::-webkit-scrollbar{width:7px}.chat-center-podcast-scroll::-webkit-scrollbar-thumb{background:#94a3b8a6;border-radius:999px}.chat-center-podcast-scroll .chat-greeting{width:100%;max-width:920px;margin-bottom:0}.chat-greeting{flex-direction:column;align-items:center;margin-bottom:28px;display:flex}.chat-orb{width:200px;height:200px;margin-bottom:16px}.chat-orb canvas{width:100%;height:100%}.chat-plan-selector{margin-bottom:14px}.greeting-hello{color:#c084fc;margin-top:10px;font-size:32px;font-weight:500;line-height:1.2}.greeting-question{color:#1a1a2e;font-size:32px;font-weight:700;line-height:1.2}.chat-thread-shell{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:radial-gradient(circle at 100% 0,#7c3aed0f,#0000 35%),radial-gradient(circle at 0 100%,#ff943814,#0000 45%),#ffffffc2;border:1px solid #e6e2ef;border-radius:22px;flex-direction:column;flex:1;width:100%;max-width:920px;min-height:0;display:flex;box-shadow:0 16px 30px #120f1e14}.chat-thread-header{border-bottom:1px solid #ece7f4;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 12px;display:flex}.chat-thread-title-wrap{flex-direction:column;gap:2px;display:flex}.chat-thread-title{color:#1d2335;letter-spacing:.01em;font-size:14px;font-weight:700}.chat-thread-subtitle{color:#67708a;letter-spacing:.02em;font-size:11px}.podcast-stage-shell{background:radial-gradient(circle at 8% 8%,#f59e0b2e,#0000 36%),radial-gradient(circle at 92% 92%,#38bdf829,#0000 40%),linear-gradient(145deg,#0f172af0 0%,#112242f5 48%,#134a56f0 100%);border:1px solid #d8e0ef;border-radius:18px;padding:12px;position:relative;overflow:hidden;box-shadow:0 14px 30px #0b122133}.podcast-stage-shell:before{content:"";pointer-events:none;background:radial-gradient(circle,#38bdf838 0%,#38bdf800 72%);height:120px;position:absolute;inset:auto -20% -45%}.podcast-stage-shell-hero{width:min(920px,100%);margin-top:4px}.podcast-stage-shell-thread{margin:12px 16px 0}.podcast-stage-meta{z-index:1;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex;position:relative}.podcast-stage-live-pill,.podcast-stage-tone-pill{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:10px;font-weight:700;display:inline-flex}.podcast-stage-live-pill{color:#ffe4e6;background:#e11d483d;border:1px solid #fecaca61}.podcast-stage-tone-pill{color:#ecfeff;background:#0891b23d;border:1px solid #67e8f961}.podcast-stage-live-dot{background:#fb7185;border-radius:50%;width:7px;height:7px;animation:1.5s ease-in-out infinite podcastLivePulse;box-shadow:0 0 #fb718585}.podcast-stage-grid{z-index:1;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:10px;display:grid;position:relative}.podcast-stage-divider{justify-content:center;align-items:center;width:22px;display:flex}.podcast-stage-divider span{background:linear-gradient(#f8fafc00 0%,#f8fafcb8 50%,#f8fafc00 100%);border-radius:999px;width:2px;height:100%}.podcast-stage-card{text-align:center;border:1px solid #fff3;border-radius:28px;flex-direction:column;justify-content:flex-start;align-items:center;gap:10px;min-height:286px;padding:12px 12px 14px;display:flex;box-shadow:inset 0 1px #ffffff1f}.podcast-stage-card-host{background:linear-gradient(165deg,#fbbf2433 0%,#fb923c1a 45%,#0f172a33 100%)}.podcast-stage-card-guest{background:linear-gradient(165deg,#2dd4bf33 0%,#38bdf824 45%,#0f172a33 100%)}.podcast-stage-side-label{color:#f8fafc;letter-spacing:.08em;text-transform:uppercase;background:#94a3b829;border:1px solid #ffffff57;border-radius:999px;justify-content:center;align-items:center;padding:4px 9px;font-size:10px;font-weight:700;display:inline-flex}.podcast-stage-avatar-shell{aspect-ratio:1;background:linear-gradient(145deg,#f59e0b 0%,#fb7185 45%,#22d3ee 100%);border-radius:32% 32% 30% 30%/26% 26% 30% 30%;width:min(100%,208px);padding:4px;box-shadow:0 10px 22px #0206175c}.podcast-stage-avatar{object-fit:cover;object-position:center;background:#0f172a;border:2px solid #0f172ac7;border-radius:30% 30% 28% 28%/24% 24% 28% 28%;width:100%;height:100%}.podcast-stage-role{color:#f8fafc;letter-spacing:.01em;margin:0;font-size:18px;font-weight:700}.podcast-stage-copy{color:#d6e4fb;max-width:260px;margin:0;font-size:11.5px;line-height:1.4}.chat-thread-list{flex-direction:column;flex:1;gap:12px;padding:18px 18px 16px;display:flex;overflow-y:auto}.chat-thread-list::-webkit-scrollbar{width:6px}.chat-thread-list::-webkit-scrollbar-thumb{background:#d6d0e5;border-radius:999px}.chat-turn{gap:10px;width:100%;animation:.22s ease-out chatMessageRise;display:flex}.chat-turn-user{justify-content:flex-end}.chat-turn-assistant{justify-content:flex-start}.chat-turn-avatar{color:#fff;letter-spacing:.05em;background:linear-gradient(135deg,#334155,#1e293b);border-radius:50%;flex-shrink:0;justify-content:center;align-self:flex-end;align-items:center;width:30px;height:30px;margin-bottom:2px;font-size:11px;font-weight:700;display:flex}.chat-bubble{border:1px solid;border-radius:18px;flex-direction:column;gap:7px;max-width:min(76%,700px);padding:10px 12px;display:flex}.chat-bubble-user{color:#fff;background:linear-gradient(135deg,#fb923c 0%,#f59e0b 100%);border-color:#f3a24f;border-bottom-right-radius:7px}.chat-bubble-assistant{background:#f2f6ff;border-color:#d7dff0;border-bottom-left-radius:7px}.chat-bubble-content{white-space:pre-wrap;word-break:break-word;color:inherit;margin:0;font-size:14px;line-height:1.5}.chat-story-audio-wrapper{flex-direction:column;gap:8px;display:flex}.chat-story-generated-wrap{grid-template-columns:auto 1fr;align-items:center;gap:10px;display:grid}.chat-podcast-generated-wrap{width:100%;display:block}.chat-bubble-podcast-audio{max-width:min(54%,360px);padding:10px 10px 8px}.chat-story-3d-character,.chat-podcast-3d-character{transform-origin:50%}.chat-story-3d-character-compact,.chat-podcast-3d-character-compact{transform:scale(.9)}.chat-story-generated-badge{color:#e6f1ff;letter-spacing:.08em;text-transform:uppercase;background:#3b82f62e;border:1px solid #93c5fd8c;border-radius:999px;align-self:flex-start;padding:4px 9px;font-size:10px;font-weight:700;display:inline-flex}.chat-podcast-generated-badge{color:#d7fffa;letter-spacing:.08em;text-transform:uppercase;background:#0d94883d;border:1px solid #2dd4bf99;border-radius:999px;align-self:flex-start;padding:4px 9px;font-size:10px;font-weight:700;display:inline-flex}.chat-podcast-audio-note{color:#d6e4fb;margin:0;font-size:12px;line-height:1.35}.chat-podcast-audio-controls{align-items:center;gap:8px;margin-top:2px;padding:2px;display:inline-flex}.chat-podcast-audio-element{display:none}.chat-podcast-icon-btn,.chat-podcast-icon-link{color:#e2e8f0;cursor:pointer;background:#0f172a38;border:1px solid #94a3b873;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;transition:transform .15s,background .15s,border-color .15s;display:inline-flex}.chat-podcast-icon-btn:hover,.chat-podcast-icon-link:hover{background:#0d948852;border-color:#2dd4bf9e;transform:translateY(-1px)}.chat-podcast-icon-btn svg,.chat-podcast-icon-link svg{width:13px;height:13px}.chat-podcast-icon-link{text-decoration:none}.chat-story-generating-bubble{grid-template-columns:auto 1fr;align-items:center;gap:10px;min-width:338px;max-width:min(86%,760px);display:grid}.chat-podcast-generating-bubble{background:linear-gradient(145deg,#0c3a3a 0%,#123742 100%);border-color:#2e7f78;grid-template-columns:auto 1fr;align-items:center;gap:10px;min-width:338px;max-width:min(86%,760px);display:grid}.chat-story-generating-content{flex-direction:column;gap:7px;display:flex}.chat-story-generating-title{color:#d9e8ff;margin:0;font-size:13px;font-weight:700}.chat-story-generating-copy{color:#a8b8d7;margin:0;font-size:12px;line-height:1.35}.chat-story-generating-loader{margin-top:1px}.chat-story-audio-player{border-radius:999px;width:min(320px,100%);height:34px}.chat-story-audio-download{letter-spacing:.02em;color:inherit;opacity:.9;text-underline-offset:3px;align-self:flex-start;font-size:11px;font-weight:700;text-decoration:underline}.chat-story-audio-download:hover{opacity:1}.chat-bubble-time{letter-spacing:.02em;opacity:.75;align-self:flex-end;font-size:10px}.chat-bubble-thinking{flex-direction:row;align-items:center;gap:5px;min-width:58px;min-height:36px}.chat-typing-dot{background:#6e7ea3;border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite chatTypingBlink}.chat-typing-dot:nth-child(2){animation-delay:.12s}.chat-typing-dot:nth-child(3){animation-delay:.24s}.chat-inline-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;width:100%;max-width:920px;padding:8px 10px;font-size:12px;font-weight:600}.chat-input-wrapper{width:100%;max-width:620px;margin-bottom:12px;transition:max-width .22s,margin .22s}.chat-input-wrapper-active{max-width:920px;margin-bottom:0}.chat-input-wrapper-active .chat-input-box{border-color:#ddd8ea;box-shadow:0 10px 28px #120f1e1a}.chat-input-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:0;box-shadow:0 1px 4px #0000000a}.chat-input-field{color:#374151;resize:none;background:0 0;border:none;outline:none;width:100%;padding:16px 20px 8px;font-family:inherit;font-size:15px}.chat-input-field::placeholder{color:#9ca3af}.chat-input-field-shell{border-top-left-radius:16px;border-top-right-radius:16px;position:relative}.chat-input-field-shell-locked{cursor:not-allowed;background:#f3f4f6}.chat-input-field-locked{color:#9ca3af;cursor:not-allowed}.chat-input-field-locked::placeholder{color:#9ca3af}.input-lock-tooltip,.upload-lock-tooltip{color:#fff;opacity:0;pointer-events:none;z-index:30;background:#1f1f2f;border-radius:9px;max-width:240px;padding:8px 10px;font-size:11px;line-height:1.35;transition:opacity .15s,transform .15s;position:absolute;transform:translateY(4px);box-shadow:0 10px 20px #1f1f2f38}.input-lock-tooltip{top:-42px;left:12px}.chat-input-field-shell-locked:hover .input-lock-tooltip,.attach-file-trigger-wrap-locked:hover .upload-lock-tooltip{opacity:1;transform:translateY(0)}.chat-input-actions{justify-content:space-between;align-items:center;padding:6px 12px 12px;display:flex}.input-actions-left{align-items:center;gap:4px;display:flex}.mode-dropdown{min-width:240px;position:relative}.mode-dropdown-trigger{color:#6d28d9;cursor:pointer;background:linear-gradient(#fff 0%,#faf5ff 100%);border:1.5px solid #a855f7;border-radius:14px;outline:none;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:40px;padding:7px 12px;transition:all .2s;display:flex;box-shadow:0 4px 12px #a855f724}.mode-dropdown-trigger:hover{border-color:#9333ea;box-shadow:0 7px 18px #a855f733}.mode-dropdown-trigger-open{border-color:#7c3aed;box-shadow:0 0 0 3px #a855f724}.mode-dropdown-trigger-content{flex-direction:column;align-items:flex-start;gap:3px;line-height:1.05;display:flex}.mode-dropdown-context{letter-spacing:.08em;text-transform:uppercase;color:#8b5cf6;font-size:10px;font-weight:700}.mode-dropdown-value{color:#6d28d9;font-size:13px;font-weight:700}.mode-dropdown-caret{border-bottom:2px solid #8b5cf6;border-right:2px solid #8b5cf6;flex-shrink:0;width:9px;height:9px;transition:transform .2s;transform:rotate(45deg)translateY(-2px)}.mode-dropdown-caret-open{transform:rotate(-135deg)translateY(-1px)}.mode-dropdown-menu{z-index:25;overscroll-behavior:contain;background:#fff;border:1px solid #e9d5ff;border-radius:14px;width:100%;max-height:min(360px,46vh);padding:8px;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 16px 30px #6d28d933}.mode-dropdown-menu::-webkit-scrollbar{width:6px}.mode-dropdown-menu::-webkit-scrollbar-thumb{background:#d4c5f2;border-radius:999px}.mode-dropdown-item{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-direction:column;gap:3px;width:100%;padding:8px 10px;transition:all .15s;display:flex}.mode-dropdown-item:hover{background:#f8f1ff}.mode-dropdown-item-active{background:linear-gradient(135deg,#f2e8ff 0%,#ede9fe 100%)}.mode-dropdown-item-title{color:#6d28d9;font-size:13px;font-weight:700}.mode-dropdown-item-description{color:#7c7c90;font-size:11px;line-height:1.3}.mode-dropdown-preview{color:#5b4b7a;border-top:1px solid #efe7ff;min-height:32px;margin-top:6px;padding:8px 10px 4px;font-size:11px;line-height:1.35}.input-action-icon{cursor:pointer;color:#9ca3af;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding-right:6px;transition:all .15s;display:flex}.input-action-icon:hover{color:#6b7280;background:#f3f4f6}.input-actions-right{align-items:center;gap:4px;display:flex}.chat-send-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#f97316);border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;transition:transform .18s,filter .18s,opacity .18s;display:flex}.chat-send-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}.chat-send-btn-disabled,.chat-send-btn-disabled:hover{opacity:.5;cursor:not-allowed;filter:none;transform:none}.chat-send-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite chatSpin}.mic-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#c084fc,#a855f7);border:none;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.mic-btn:hover{background:linear-gradient(135deg,#a855f7,#9333ea);transform:scale(1.05)}.hidden-upload-input{display:none}.attach-file-trigger{position:relative}.attach-file-trigger-wrap{align-items:center;display:flex;position:relative}.attach-file-trigger-wrap-locked{cursor:not-allowed}.attach-file-trigger-active{color:#7c3aed}.attach-file-trigger-disabled,.attach-file-trigger-disabled:hover{color:#a4a4b2;cursor:not-allowed;background:#f3f4f6}.attach-file-count{color:#fff;background:#7c3aed;border:1px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;display:flex;position:absolute;top:-6px;right:-7px}.upload-dialog-backdrop{z-index:120;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0e101885;justify-content:center;align-items:center;padding:18px;animation:.18s ease-out uploadDialogFadeIn;display:flex;position:fixed;inset:0}.upload-dialog-card{background:radial-gradient(circle at 100% 0,#7c3aed1a,#0000 36%),radial-gradient(circle at 0 100%,#fb923c14,#0000 44%),#fff;border:1px solid #e9e1f6;border-radius:24px;width:min(520px,100%);padding:22px;animation:.22s ease-out uploadDialogSlideIn;position:relative;box-shadow:0 24px 48px #0d0a1638}.upload-dialog-close{color:#4a4f60;cursor:pointer;background:#f5f3fb;border:none;border-radius:50%;width:30px;height:30px;font-size:21px;line-height:1;transition:all .16s;position:absolute;top:12px;right:12px}.upload-dialog-close:hover{color:#202437;background:#ebe7f5}.upload-dialog-badge{color:#fff;letter-spacing:.05em;background:linear-gradient(135deg,#7c3aed,#5b21b6);border-radius:17px;justify-content:center;align-items:center;width:60px;height:60px;font-size:18px;font-weight:800;display:flex}.upload-dialog-title{color:#1a2031;margin:14px 0 4px;font-size:24px;font-weight:700;line-height:1.15}.upload-dialog-description{color:#646f87;margin:0;font-size:14px;line-height:1.5}.upload-drop-zone{text-align:center;background:linear-gradient(#f7f3ff 0%,#f0ecfa 100%);border:2px dashed #b7a3e2;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:206px;margin-top:18px;padding:30px 16px;transition:transform .2s,border-color .2s,box-shadow .2s,background .2s;display:flex}.upload-drop-zone-active{background:linear-gradient(#efe6ff 0%,#e9defd 100%);border-color:#7c3aed;transform:translateY(-1px);box-shadow:inset 0 0 0 2px #7c3aed2e}.upload-drop-title{color:#2c3250;margin:0;font-size:17px;font-weight:700}.upload-drop-note{color:#707b96;margin:0;font-size:12px}.upload-dialog-browse-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#f97316);border:none;border-radius:999px;margin-top:8px;padding:10px 20px;font-size:13px;font-weight:700;transition:transform .16s,filter .16s}.upload-dialog-browse-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}.upload-dialog-error{color:#be123c;background:#fff1f2;border:1px solid #fecaca;border-radius:11px;margin-top:12px;padding:9px 10px;font-size:12px;font-weight:600}.upload-lock-tooltip{top:-44px;right:-2px}.upload-workflow-panel{border-top:1px solid #f0e7fb;padding:10px 12px 12px;animation:.22s ease-out uploadPanelEnter}.upload-workflow-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.upload-workflow-title{color:#54308a;align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex}.upload-title-dot{background:radial-gradient(circle,#bf8bff 0%,#7c3aed 100%);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #7c3aed1f}.upload-clear-all-btn{color:#7c3aed;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:12px;font-weight:600}.upload-clear-all-btn:hover{color:#6d28d9;text-decoration:underline}.upload-workflow-list{flex-direction:column;gap:8px;max-height:185px;padding-right:2px;display:flex;overflow-y:auto}.upload-workflow-list::-webkit-scrollbar{width:4px}.upload-workflow-list::-webkit-scrollbar-thumb{background:#e8d6ff;border-radius:6px}.upload-file-card{background:linear-gradient(#fff 0%,#fcf9ff 100%);border:1px solid #f0e8fd;border-radius:12px;padding:9px 10px;animation:.24s ease-out uploadCardEnter}.upload-file-row{align-items:center;gap:8px;display:flex}.upload-file-chip{color:#6d28d9;letter-spacing:.05em;background:#f3e8ff;border-radius:999px;justify-content:center;align-items:center;min-width:42px;height:24px;font-size:10px;font-weight:700;display:flex}.upload-file-info{flex:1;min-width:0}.upload-file-name{color:#2f2a3c;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:600;overflow:hidden}.upload-file-meta{color:#8c7ea7;margin-top:1px;font-size:11px}.upload-file-status{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex-shrink:0;padding:4px 7px;font-size:10px;font-weight:700}.upload-file-status-uploading{color:#6d28d9;background:#ede9fe}.upload-file-status-processing{color:#b45309;background:#fef3c7}.upload-file-status-ready{color:#15803d;background:#dcfce7}.upload-file-status-error{color:#b91c1c;background:#fee2e2}.upload-progress-track{background:#eee6fb;border-radius:999px;width:100%;height:6px;margin-top:7px;overflow:hidden}.upload-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#a855f7,#7c3aed,#b084ff);height:100%;transition:width .18s linear}.upload-file-processing .upload-progress-fill{background-size:180% 100%;animation:1.2s linear infinite processingSweep}.upload-file-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.upload-include-btn,.upload-retry-btn,.upload-remove-btn{color:#6d28d9;cursor:pointer;background:#fff;border:1px solid #e3d4f9;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:600;transition:all .15s}.upload-include-btn:hover,.upload-retry-btn:hover,.upload-remove-btn:hover{background:#f9f2ff;border-color:#cfb2f6}.upload-include-btn-on{color:#5b21b6;background:#ede9fe;border-color:#c4b5fd}.upload-remove-btn{color:#7a6f93}.upload-error-copy{color:#b91c1c;margin-right:2px;font-size:11px;font-weight:600}.chat-response-panel{background:#fff;border:1px solid #e9e2f5;border-radius:14px;margin-top:10px;padding:10px 12px;box-shadow:0 8px 20px #16131e0f}.chat-response-header{color:#2d3345;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;display:flex}.chat-endpoint-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}.chat-endpoint-badge-on{color:#166534;background:#dcfce7}.chat-endpoint-badge-off{color:#b91c1c;background:#fee2e2}.chat-response-list{flex-direction:column;gap:8px;max-height:260px;margin-top:8px;padding-right:4px;display:flex;overflow-y:auto}.chat-response-list::-webkit-scrollbar{width:5px}.chat-response-list::-webkit-scrollbar-thumb{background:#dfd5ef;border-radius:999px}.chat-message-row{background:#f8f5fc;border:1px solid #ece7f5;border-radius:11px;padding:8px 10px}.chat-message-user{background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border-color:#fed7aa}.chat-message-assistant{background:linear-gradient(135deg,#f6f0ff 0%,#efe4ff 100%);border-color:#e3d4ff}.chat-message-role{letter-spacing:.08em;text-transform:uppercase;color:#6b7280;margin-bottom:3px;font-size:10px;font-weight:700;display:inline-block}.chat-message-content{color:#2f3343;white-space:pre-wrap;word-break:break-word;margin:0;font-size:13px;line-height:1.45}.chat-message-thinking .chat-message-content{color:#646b80;font-style:italic}.chat-response-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-top:8px;padding:8px 10px;font-size:12px;font-weight:600}@keyframes uploadCardEnter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes uploadPanelEnter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes processingSweep{0%{background-position:0%}to{background-position:100%}}@keyframes chatSpin{to{transform:rotate(360deg)}}@keyframes uploadDialogFadeIn{0%{opacity:0}to{opacity:1}}@keyframes uploadDialogSlideIn{0%{opacity:0;transform:translateY(16px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes chatMessageRise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes chatTypingBlink{0%,80%,to{opacity:.45;transform:scale(.82)}40%{opacity:1;transform:scale(1)}}.saved-prompts-row{justify-content:space-between;align-items:center;width:100%;max-width:620px;margin-bottom:16px;padding:0 2px;display:flex}.saved-prompts-label{color:#1a1a2e;align-items:center;gap:6px;font-size:14px;font-weight:600;display:flex}.saved-prompts-label svg{color:#a855f7;width:16px;height:16px}.attach-file-btn{cursor:pointer;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:5px;padding:5px 12px;font-size:13px;transition:all .15s;display:flex}.attach-file-btn:hover{background:#f9fafb;border-color:#d1d5db}.attach-file-btn svg{width:14px;height:14px}.suggestion-cards{grid-template-columns:repeat(3,1fr);gap:12px;width:100%;max-width:620px;display:grid}.suggestion-card{cursor:pointer;background:#faf5ff;border:1px solid #ede5f5;border-radius:14px;padding:18px 16px;transition:all .2s}.suggestion-card:hover{background:#f3e8ff;border-color:#d8b4fe;transform:translateY(-1px);box-shadow:0 2px 8px #a855f714}.suggestion-card-icon{color:#a855f7;width:24px;height:24px;margin-bottom:10px}.suggestion-card-title{color:#1a1a2e;margin-bottom:4px;font-size:14px;font-weight:600}.suggestion-card-desc{color:#6b7280;font-size:12px;line-height:1.4}.chat-bottombar{flex-shrink:0;justify-content:center;align-items:center;padding:12px 24px;display:flex;position:relative}.chat-bottombar-text{color:#9ca3af;font-size:12px}.chat-bottombar-text a{color:#a855f7;font-weight:600;text-decoration:none}.chat-bottombar-text a:hover{text-decoration:underline}.bottombar-right-icons{align-items:center;gap:4px;display:flex;position:absolute;right:24px}.bottombar-icon-btn{cursor:pointer;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;transition:all .15s;display:flex}.bottombar-icon-btn:hover{background:#f9fafb;border-color:#d1d5db}.chat-sidebar-collapsed{width:60px;min-width:60px;transition:width .25s cubic-bezier(.4,0,.2,1),min-width .25s cubic-bezier(.4,0,.2,1)}.chat-sidebar{transition:width .25s cubic-bezier(.4,0,.2,1),min-width .25s cubic-bezier(.4,0,.2,1)}.sidebar-collapsed-content{flex-direction:column;align-items:center;height:100%;padding-top:20px;display:flex}.sidebar-expand-btn{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .15s;display:flex}.sidebar-expand-btn:hover{color:#a855f7;background:#f5f3ff}.sidebar-collapsed-icon-btn{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-top:12px;transition:all .15s;display:flex}.sidebar-collapsed-icon-btn:hover{color:#a855f7;background:#f5f3ff}.chat-theme-toggle-wrap{z-index:60;position:absolute;top:18px;right:20px}.chat-theme-toggle-btn{color:#6d28d9;cursor:pointer;background:#ffffffe0;border:1px solid #ddd9e8;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;box-shadow:0 8px 18px #1f1f2f1a}.chat-theme-toggle-btn:hover{border-color:#c4b5fd;transform:translateY(-1px);box-shadow:0 12px 24px #6d28d933}.chat-theme-toggle-btn svg{width:18px;height:18px}@keyframes podcastLivePulse{0%{box-shadow:0 0 #fb718585}70%{box-shadow:0 0 0 9px #fb718500}to{box-shadow:0 0 #fb718500}}.dark .chat-page{color:#e8ecf6;background:#090b10}.dark .chat-sidebar{background:#0f121a;border-right-color:#212638}.dark .sidebar-logo{color:#f3f4f6}.dark .sidebar-collapse-btn,.dark .sidebar-logout-btn,.dark .sidebar-expand-btn,.dark .sidebar-collapsed-icon-btn{color:#98a1b7}.dark .sidebar-collapse-btn:hover,.dark .sidebar-logout-btn:hover,.dark .sidebar-expand-btn:hover,.dark .sidebar-collapsed-icon-btn:hover{color:#d9deea;background:#1c2233}.dark .new-chat-btn{color:#1b1f2a;background:#f59e0b}.dark .new-chat-btn:hover{background:#fbbf24}.dark .sidebar-search input{color:#d6dceb;background:#151a27;border-color:#2b3146}.dark .sidebar-search input::placeholder{color:#8791aa}.dark .sidebar-search input:focus{border-color:#8b5cf6}.dark .sidebar-search .search-icon{color:#8a93a9}.dark .sidebar-search .sparkle-icon{color:#bf8bff}.dark .history-label,.dark .sidebar-user-email{color:#8893ab}.dark .history-item,.dark .sidebar-user-name{color:#d8dde9}.dark .history-item:hover{background:#1a2130}.dark .sidebar-footer{border-top-color:#212638}.dark .sidebar-avatar{background:linear-gradient(135deg,#7c3aed,#5b21b6)}.dark .chat-main{background:radial-gradient(circle at 25% -10%,#7c3aed38,#0000 38%),radial-gradient(circle at 88% 3%,#fbbf2414,#0000 34%),linear-gradient(#121624 0%,#0f131d 45%,#0b0e15 100%)}.dark .chat-theme-toggle-btn{color:#e9e3ff;background:#111622d1;border-color:#313a53;box-shadow:0 10px 24px #01030873}.dark .chat-theme-toggle-btn:hover{border-color:#4c5a81;box-shadow:0 14px 26px #4c5a8159}.dark .greeting-hello{text-shadow:0 0 20px #ffa6004d;color:#ffb347!important}.dark .greeting-question{color:#edf1ff}.dark .chat-thread-shell{background:radial-gradient(circle at 100% 0,#8b5cf629,#0000 35%),radial-gradient(circle at 0 100%,#fb923c1a,#0000 40%),#0d121cb8;border-color:#313a53;box-shadow:0 18px 34px #02050c73}.dark .chat-thread-header{border-bottom-color:#2c3651}.dark .chat-thread-title{color:#eff3fc}.dark .chat-thread-subtitle{color:#9aa7c5}.dark .chat-center-podcast-scroll{scrollbar-color:#64748bb3 transparent}.dark .chat-center-podcast-scroll::-webkit-scrollbar-thumb{background:#64748bb3}.dark .podcast-stage-shell{background:radial-gradient(circle at 8% 8%,#fbbf2438,#0000 35%),radial-gradient(circle at 92% 92%,#2dd4bf33,#0000 38%),linear-gradient(145deg,#050a18f5 0%,#071b32f7 48%,#07373bf5 100%);border-color:#2f4860;box-shadow:0 16px 30px #01040c85}.dark .podcast-stage-live-pill{color:#ffe2e8;background:#be185d59;border-color:#fb71857a}.dark .podcast-stage-tone-pill{color:#d6f7ff;background:#0891b257;border-color:#22d3ee70}.dark .podcast-stage-divider span{background:linear-gradient(#bae6fd00 0%,#bae6fdc7 50%,#bae6fd00 100%)}.dark .podcast-stage-card{border-color:#7dd3fc47;box-shadow:inset 0 1px #bae6fd33}.dark .podcast-stage-card-host{background:linear-gradient(165deg,#b4530957 0%,#c2410c33 42%,#0a0f1e52 100%)}.dark .podcast-stage-card-guest{background:linear-gradient(165deg,#0f766e5c 0%,#0891b23d 42%,#0a0f1e52 100%)}.dark .podcast-stage-side-label{color:#e2e8f0;background:#1e293b99;border-color:#bae6fd59}.dark .podcast-stage-avatar{border-color:#020617cc}.dark .podcast-stage-role{color:#f1f5f9}.dark .podcast-stage-copy{color:#c6dbf6}.dark .chat-thread-list::-webkit-scrollbar-thumb{background:#3a435f}.dark .chat-turn-avatar{background:linear-gradient(135deg,#64748b,#334155)}.dark .chat-bubble-user{color:#fff;background:linear-gradient(135deg,#f97316 0%,#d97706 100%);border-color:#c27115}.dark .chat-bubble-assistant{color:#eaf0fe;background:#1a2338;border-color:#34405f}.dark .chat-story-generated-badge{color:#dcf3ff;background:#0ea5e933;border-color:#7dd3fc6b}.dark .chat-podcast-generated-badge{color:#ccfff7;background:#0d948847;border-color:#2dd4bf8c}.dark .chat-podcast-audio-note{color:#c6dbf6}.dark .chat-podcast-icon-btn,.dark .chat-podcast-icon-link{color:#dbeafe;background:#0f172a80;border-color:#475569bf}.dark .chat-podcast-icon-btn:hover,.dark .chat-podcast-icon-link:hover{background:#0f766e61;border-color:#2dd4bfb8}.dark .chat-bubble-podcast-audio{background:linear-gradient(160deg,#0b213ff2 0%,#0e2b36f0 100%);border-color:#36597c}.dark .chat-story-generating-bubble{background:linear-gradient(145deg,#1b2640 0%,#171f32 100%);border-color:#3b4b71}.dark .chat-podcast-generating-bubble{background:linear-gradient(145deg,#103341 0%,#132f36 100%);border-color:#2e6f77}.dark .chat-story-generating-title{color:#ecf4ff}.dark .chat-story-generating-copy{color:#b2c2e2}.dark .chat-bubble-time{color:#c7d0e7}.dark .chat-story-audio-player{filter:saturate(.9)brightness(.95)}.dark .chat-story-audio-download{color:#f5f8ff}.dark .chat-typing-dot{background:#9fb2de}.dark .chat-inline-error{color:#ffc4d0;background:#3b1f28;border-color:#6f3342}.dark .chat-input-box{background:#121826;border-color:#2b3145;box-shadow:0 12px 34px #02050c80}.dark .chat-input-field{color:#e6ecfb}.dark .chat-input-field::placeholder{color:#8e9ab3}.dark .chat-input-field-shell-locked{background:#191e2c}.dark .chat-input-field-locked,.dark .chat-input-field-locked::placeholder{color:#7f879e}.dark .input-lock-tooltip,.dark .upload-lock-tooltip{color:#e8edfa;background:#0c1019;border:1px solid #2f3650;box-shadow:0 12px 24px #03070f80}.dark .mode-dropdown-trigger{color:#d7ccff;background:linear-gradient(#1a2031 0%,#151b2a 100%);border-color:#44417a;box-shadow:0 6px 16px #080c1673}.dark .mode-dropdown-trigger:hover{border-color:#6f6ab5;box-shadow:0 8px 18px #23274873}.dark .mode-dropdown-trigger-open{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf640}.dark .mode-dropdown-context{color:#a5acf7}.dark .mode-dropdown-value,.dark .mode-dropdown-item-title{color:#e7dcff}.dark .mode-dropdown-caret{border-bottom-color:#a7afff;border-right-color:#a7afff}.dark .mode-dropdown-menu{background:#111827;border-color:#313a53;box-shadow:0 18px 35px #0307108c}.dark .mode-dropdown-menu::-webkit-scrollbar-thumb{background:#404a69}.dark .mode-dropdown-item:hover{background:#1c2438}.dark .mode-dropdown-item-active{background:linear-gradient(135deg,#2b2744 0%,#232b40 100%)}.dark .mode-dropdown-item-description,.dark .mode-dropdown-preview{color:#9aa4c0}.dark .mode-dropdown-preview{border-top-color:#2b3145}.dark .input-action-icon{color:#9ca8bf}.dark .input-action-icon:hover{color:#e2e7f2;background:#1f2638}.dark .chat-send-btn{background:linear-gradient(135deg,#f59e0b,#fb923c)}.dark .chat-send-btn:hover{filter:brightness(1.1)}.dark .chat-send-btn-disabled,.dark .chat-send-btn-disabled:hover{opacity:.46}.dark .chat-input-wrapper-active .chat-input-box{border-color:#3a4565;box-shadow:0 18px 30px #01030a6b}.dark .attach-file-trigger-active{color:#c4b5fd}.dark .attach-file-trigger-disabled,.dark .attach-file-trigger-disabled:hover{color:#6f7890;background:#1c2232}.dark .attach-file-count{border-color:#121826}.dark .upload-dialog-backdrop{background:#02050cad}.dark .upload-dialog-card{background:radial-gradient(circle at 100% 0,#8b5cf633,#0000 36%),radial-gradient(circle at 0 100%,#fb923c24,#0000 42%),#101726;border-color:#364161;box-shadow:0 30px 50px #0000008c}.dark .upload-dialog-close{color:#c8d1e7;background:#1b2234}.dark .upload-dialog-close:hover{color:#eff3fb;background:#27304a}.dark .upload-dialog-badge{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.dark .upload-dialog-title{color:#eef2fb}.dark .upload-dialog-description{color:#aab5cc}.dark .upload-drop-zone{background:linear-gradient(#141d2f 0%,#11192a 100%);border-color:#4b567a}.dark .upload-drop-zone-active{background:linear-gradient(#1a2338 0%,#172033 100%);border-color:#8b5cf6;box-shadow:inset 0 0 0 2px #8b5cf647}.dark .upload-drop-title{color:#e9eefc}.dark .upload-drop-note{color:#9aa6c5}.dark .upload-dialog-browse-btn{background:linear-gradient(135deg,#fb923c,#f97316)}.dark .upload-dialog-error{color:#ffc6d4;background:#3d202b;border-color:#7f3748}.dark .upload-workflow-panel{border-top-color:#2b3145}.dark .upload-workflow-title{color:#d7c7ff}.dark .upload-clear-all-btn{color:#c6b2ff}.dark .upload-clear-all-btn:hover{color:#dfd2ff}.dark .upload-workflow-list::-webkit-scrollbar-thumb{background:#394059}.dark .upload-file-card{background:linear-gradient(#161d2c 0%,#131a27 100%);border-color:#2d3550}.dark .upload-file-chip{color:#c4b5fd;background:#2a3249}.dark .upload-file-name{color:#eef2fb}.dark .upload-file-meta{color:#92a0bc}.dark .upload-file-status-uploading{color:#ccb7ff;background:#2e2847}.dark .upload-file-status-processing{color:#ffd889;background:#453718}.dark .upload-file-status-ready{color:#8af0b5;background:#1f3c30}.dark .upload-file-status-error{color:#ffb7b7;background:#4a2428}.dark .upload-progress-track{background:#2b3145}.dark .upload-include-btn,.dark .upload-retry-btn,.dark .upload-remove-btn{color:#c9d1e5;background:#171f30;border-color:#2f3650}.dark .upload-include-btn:hover,.dark .upload-retry-btn:hover,.dark .upload-remove-btn:hover{background:#232c41;border-color:#4b5779}.dark .upload-include-btn-on{color:#ece6ff;background:#2a2842;border-color:#5b57a1}.dark .upload-remove-btn{color:#adb6cb}.dark .upload-error-copy{color:#ffb6be}.dark .chat-response-panel{background:#111827;border-color:#313a53;box-shadow:0 12px 28px #02050c73}.dark .chat-response-header{color:#e6ecfb}.dark .chat-endpoint-badge-on{color:#8af0b5;background:#1f3c30}.dark .chat-endpoint-badge-off{color:#ffb7c7;background:#472634}.dark .chat-response-list::-webkit-scrollbar-thumb{background:#3a435f}.dark .chat-message-row{background:#182033;border-color:#2f3650}.dark .chat-message-user{background:linear-gradient(135deg,#3b3020 0%,#2f271f 100%);border-color:#5d4f3e}.dark .chat-message-assistant{background:linear-gradient(135deg,#23293d 0%,#1f2436 100%);border-color:#3b4664}.dark .chat-message-role{color:#95a0bc}.dark .chat-message-content{color:#eef2fb}.dark .chat-message-thinking .chat-message-content{color:#a8b3cc}.dark .chat-response-error{color:#ffc4d0;background:#3b1f28;border-color:#6f3342}@media (max-width:960px){.chat-center{padding-left:14px;padding-right:14px}.podcast-stage-shell-thread{margin-left:12px;margin-right:12px}.podcast-stage-avatar-shell{width:min(100%,164px)}.podcast-stage-role{font-size:16px}.chat-thread-shell,.chat-input-wrapper-active,.chat-inline-error{max-width:100%}.chat-bubble{max-width:86%}}@media (max-width:720px){.chat-center{gap:10px;padding-left:10px;padding-right:10px}.chat-center-podcast-scroll{padding-top:48px;padding-bottom:18px}.chat-center-active{padding-top:62px}.chat-orb{width:168px;height:168px}.greeting-hello,.greeting-question{text-align:center;font-size:26px}.chat-thread-header{padding:12px 12px 10px}.podcast-stage-shell-thread{margin-top:10px}.podcast-stage-meta{flex-wrap:wrap;justify-content:center}.podcast-stage-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.podcast-stage-divider{display:none}.podcast-stage-card{min-height:222px;padding:9px}.podcast-stage-avatar-shell{width:min(100%,134px)}.podcast-stage-role{font-size:14px}.podcast-stage-copy{font-size:10px;line-height:1.32}.chat-thread-list{padding:12px}.chat-bubble{max-width:92%;padding:9px 10px}.chat-story-generated-wrap,.chat-story-generating-bubble,.chat-podcast-generating-bubble{grid-template-columns:1fr}.chat-bubble-podcast-audio{max-width:78%}.chat-story-3d-character,.chat-story-3d-character-compact,.chat-podcast-3d-character,.chat-podcast-3d-character-compact{justify-self:start;transform:scale(.92)}.chat-story-generating-bubble,.chat-podcast-generating-bubble{min-width:0}.upload-dialog-card{border-radius:18px;padding:18px}.upload-dialog-badge{border-radius:14px;width:52px;height:52px;font-size:16px}.upload-dialog-title{font-size:22px}.upload-drop-zone{min-height:178px;padding:24px 14px}}
.GlassPlanSelector-module__ghbUxa__glassRadioGroup{--bg:#ffffff0f;--text:#000;background:var(--bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:1rem;width:fit-content;display:flex;position:relative;overflow:hidden;box-shadow:inset 1px 1px 4px #fff3,inset -1px -1px 6px #0000004d,0 4px 12px #00000026}.GlassPlanSelector-module__ghbUxa__glassRadioGroup input{display:none}.GlassPlanSelector-module__ghbUxa__glassRadioGroup label{cursor:pointer;letter-spacing:.3px;min-width:80px;color:var(--text);z-index:2;flex:1;justify-content:center;align-items:center;padding:.8rem 1.6rem;font-size:14px;font-weight:600;transition:color .3s ease-in-out;display:flex;position:relative}.GlassPlanSelector-module__ghbUxa__glassRadioGroup label:hover,.GlassPlanSelector-module__ghbUxa__glassRadioGroup input:checked+label{color:#000}.GlassPlanSelector-module__ghbUxa__glassGlider{z-index:1;border-radius:1rem;width:33.3333%;transition:transform .5s cubic-bezier(.37,1.95,.66,.56),background .4s ease-in-out,box-shadow .4s ease-in-out;position:absolute;top:0;bottom:0}.GlassPlanSelector-module__ghbUxa__silver .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#c0c0c055,#e0e0e0);transform:translate(0%);box-shadow:0 0 18px #c0c0c080,inset 0 0 10px #fff6}.GlassPlanSelector-module__ghbUxa__gold .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#ffd70055,#fc0);transform:translate(100%);box-shadow:0 0 18px #ffd70080,inset 0 0 10px #ffeb9666}.GlassPlanSelector-module__ghbUxa__platinum .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#d0e7ff55,#a0d8ff);transform:translate(200%);box-shadow:0 0 18px #a0d8ff80,inset 0 0 10px #c8f0ff66}.dark .GlassPlanSelector-module__ghbUxa__glassRadioGroup{--bg:#181e2cd1;--text:#d9dff0;border:1px solid #2e3550;box-shadow:inset 1px 1px 4px #ffffff14,inset -1px -1px 6px #00000073,0 8px 20px #01040a73}.dark .GlassPlanSelector-module__ghbUxa__glassRadioGroup label:hover{color:#fff}.dark .GlassPlanSelector-module__ghbUxa__glassRadioGroup input:checked+label{color:#fff}.dark .GlassPlanSelector-module__ghbUxa__silver .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#a2b3ca57,#8ea0b8);box-shadow:0 0 18px #8ea0b859,inset 0 0 10px #c2cfe129}.dark .GlassPlanSelector-module__ghbUxa__gold .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#ffd70052,#ffc857);box-shadow:0 0 18px #ffc85759,inset 0 0 10px #ffe18f33}.dark .GlassPlanSelector-module__ghbUxa__platinum .GlassPlanSelector-module__ghbUxa__glassGlider{background:linear-gradient(135deg,#7989ff59,#7796ff);box-shadow:0 0 18px #7796ff5c,inset 0 0 10px #b7c5ff33}
.GeneratingLoader-module__CU7WRG__loader{align-items:center;display:flex}.GeneratingLoader-module__CU7WRG__bar{background-color:#ffffff80;border-radius:10px;width:3px;height:20px;animation:1s linear infinite GeneratingLoader-module__CU7WRG__scale-up4;display:inline-block}.GeneratingLoader-module__CU7WRG__bar:nth-child(2){height:35px;margin:0 5px;animation-delay:.25s}.GeneratingLoader-module__CU7WRG__bar:nth-child(3){animation-delay:.5s}@keyframes GeneratingLoader-module__CU7WRG__scale-up4{20%{background-color:#fff;transform:scaleY(1.5)}40%{transform:scaleY(1)}}
.StoryModeCharacter-module__8jEe1W__characterCard{color:#e5edff;background:radial-gradient(circle at 20% 0,#fb923c2e,#0000 54%),radial-gradient(circle at 85% 100%,#60a5fa33,#0000 56%),linear-gradient(165deg,#12182cf5 0%,#0f1424fa 100%);border:1px solid #7b96e857;border-radius:18px;width:128px;min-width:128px;padding:10px 10px 8px;box-shadow:inset 0 0 0 1px #ffffff0a,0 14px 20px #04071252}.StoryModeCharacter-module__8jEe1W__scene{perspective:500px;height:94px;transform-style:preserve-3d;background:radial-gradient(circle at 50% -18%,#ffffff38,#0000 46%),linear-gradient(#10182e 0%,#0e1325 100%);border-radius:14px;position:relative;overflow:hidden}.StoryModeCharacter-module__8jEe1W__groundShadow{filter:blur(2px);background:#00000059;border-radius:50%;width:56px;height:14px;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.StoryModeCharacter-module__8jEe1W__bot{transform-style:preserve-3d;animation:2.9s ease-in-out infinite StoryModeCharacter-module__8jEe1W__floatBot;position:absolute;bottom:18px;left:50%;transform:translate(-50%)rotateX(8deg)}.StoryModeCharacter-module__8jEe1W__head{background:linear-gradient(145deg,#f8fbff,#c7d7ff);border-radius:12px;justify-content:center;align-items:center;gap:7px;width:34px;height:28px;display:flex;transform:translateZ(24px);box-shadow:0 8px 14px #23418a59}.StoryModeCharacter-module__8jEe1W__eye{background:#334155;border-radius:50%;width:5px;height:5px}.StoryModeCharacter-module__8jEe1W__body{background:linear-gradient(145deg,#8ab4ff,#5b77d9);border-radius:14px;width:42px;height:32px;margin:-2px auto 0;position:relative;transform:translateZ(10px);box-shadow:inset 0 0 0 1px #ffffff3d,0 7px 12px #08102a70}.StoryModeCharacter-module__8jEe1W__core{background:radial-gradient(circle,#fff 0%,#dcf2ff 42%,#80d5ff 100%);border-radius:50%;width:12px;height:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 14px #b3e9ffd6}.StoryModeCharacter-module__8jEe1W__orb{background:radial-gradient(circle at 34% 34%,#fff,#ffd08d 62%,#fb923c 100%);border-radius:50%;width:10px;height:10px;animation:1.8s ease-in-out infinite StoryModeCharacter-module__8jEe1W__pulseOrb;position:absolute;top:14px;right:12px;box-shadow:0 0 12px #fb923cc7}.StoryModeCharacter-module__8jEe1W__meta{margin-top:7px}.StoryModeCharacter-module__8jEe1W__title{color:#dce7ff;letter-spacing:.03em;margin:0;font-size:11px;font-weight:700}.StoryModeCharacter-module__8jEe1W__subtitle{color:#8fa4d3;margin:1px 0 0;font-size:10px}@keyframes StoryModeCharacter-module__8jEe1W__floatBot{0%,to{transform:translate(-50%)translateY(0)rotateX(8deg)}50%{transform:translate(-50%)translateY(-5px)rotateX(8deg)}}@keyframes StoryModeCharacter-module__8jEe1W__pulseOrb{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.24)}}
.PodcastModeCharacter-module__uKR6mW__card{color:#d7fbff;background:radial-gradient(circle at 16% 0,#22d3ee29,#0000 54%),radial-gradient(circle at 84% 100%,#14b8a638,#0000 56%),linear-gradient(165deg,#091d22f5 0%,#0a1721fa 100%);border:1px solid #54bab059;border-radius:18px;width:132px;min-width:132px;padding:10px 10px 8px;box-shadow:inset 0 0 0 1px #ffffff0a,0 14px 22px #020e1257}.PodcastModeCharacter-module__uKR6mW__scene{background:radial-gradient(circle at 50% -22%,#ffffff42,#0000 46%),linear-gradient(#06252f 0%,#08202e 100%);border-radius:14px;height:92px;position:relative;overflow:hidden}.PodcastModeCharacter-module__uKR6mW__speaker{background:linear-gradient(145deg,#d7e6ff,#9ab3e8);border-radius:999px;width:24px;height:34px;position:absolute;bottom:20px;box-shadow:0 6px 10px #05182159}.PodcastModeCharacter-module__uKR6mW__speakerLeft{animation:2.5s ease-in-out infinite PodcastModeCharacter-module__uKR6mW__bobLeft;left:22px}.PodcastModeCharacter-module__uKR6mW__speakerRight{animation:2.5s ease-in-out infinite PodcastModeCharacter-module__uKR6mW__bobRight;right:22px}.PodcastModeCharacter-module__uKR6mW__mic{background:linear-gradient(#22d3ee 0%,#0ea5a3 100%);border-radius:6px;width:10px;height:26px;position:absolute;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 0 12px #22d3ee8c}.PodcastModeCharacter-module__uKR6mW__wave{border:1px solid #7df4ec59;border-radius:50%;width:58px;height:58px;animation:1.8s ease-out infinite PodcastModeCharacter-module__uKR6mW__waveRing;position:absolute;bottom:26px;left:50%;transform:translate(-50%)scale(.75)}.PodcastModeCharacter-module__uKR6mW__meta{margin-top:7px}.PodcastModeCharacter-module__uKR6mW__title{color:#dcffff;letter-spacing:.03em;margin:0;font-size:11px;font-weight:700}.PodcastModeCharacter-module__uKR6mW__subtitle{color:#8ecfd6;margin:1px 0 0;font-size:10px}@keyframes PodcastModeCharacter-module__uKR6mW__bobLeft{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes PodcastModeCharacter-module__uKR6mW__bobRight{0%,to{transform:translateY(-3px)}50%{transform:translateY(1px)}}@keyframes PodcastModeCharacter-module__uKR6mW__waveRing{0%{opacity:.7;transform:translate(-50%)scale(.72)}to{opacity:0;transform:translate(-50%)scale(1.18)}}
